﻿/* General Styling -- BEGIN */

html, body { height: 100%; width: 100%; margin: 0; padding: 0; overflow:hidden; font-family: Ubuntu; font-size:14px;}     
/* center the image in the popup */
.esriViewPopup .gallery { margin: 0 auto !important; }
.esriPopup .actionsPane {top:-3px; padding:5px 10px 10px 10px !important;}
.esriPopup .titlePane {bottom:-1px;}
.class {
    /* Fallback for web browsers that doesn't support RGBa */
    background: rgb(0, 0, 0);
    /* RGBa with 0.6 opacity */
    background: rgba(0, 0, 0, 0.6);
}

.buttonNav:hover{
    position: fixed;
    bottom: 0;
    width:15%;
    cursor:pointer;
}
.outageSummary{
    font-size:1.25em;
}
input[type="text"][disabled] {
   color: red;
   font-size:1.25em;
   font-weight:bold;
}
button:hover{
    cursor:pointer;
}
#faq {
    font-weight: normal;
    padding: 10px;
}
#tfcc {
    padding: 10px;
}
#outageBtnDiv {
    margin: 1em 18px;
    /*background-color: red;*/
}
/* General Styling -- END */

/*Map Styling -- BEGIN */
#map {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    min-width: 400px; /*520px;*/
}

/*Legend Styling*/
.agsjsTOCContent{
    white-space:initial !important;
}
.agsjsTOCLegendLabel{
    font-size:large;
}
.agsjsTOCRootLayerLabel{
    font-weight:normal !important;
}
td.attrName{
    color:#000000 !important;
}
/*
    #TOCNode_clusters_legend0{
    display:none;
}
    */
/*END*/
/* Change Default ESRI logo to HECO Logo */
.map .logo-med { 
    background-image: url("../images/he-logo-sm.png") !important;  
    border:0;
    bottom: 5px;
    cursor: pointer;
    height: 20px !important; /*59px size of your image */
    position: absolute;
    right: 5px;
    width: 100px !important;/*394px size of your image */
    z-index: 11;
}
.map .logo-sm { 
    background-image: url("../images/he-logo-sm.png") !important;  
    border:0;
    bottom: 5px;
    cursor: pointer;
    height: 20px !important; /* size of your image */
    position: absolute;
    right: 5px;
    width: 100px !important;/* size of your image */
    z-index: 11;
}
/* Hides Map Attribute Details @ bottom of the screen */
.esriAttributionLastItem{
    display:none !important;
}
.ReportOutage_btn{
    width:100%;
    max-width:217px;
    padding:5px 0px 5px 0px;
    display:inline-block;
    font-weight:600;
    text-align:center;
    text-transform:uppercase;
    background: #37246b;
    font-size:1.25em;
    text-decoration:none;
    color: #fff;   
}

/*Shows Zoom To link on popup*/

/*Map Styling -- END */



    /*Menu Buttons &  Menu Styling -- BEGIN*/
    /* Menu & Map Button Housing (Side Strip on the Right) */
    #buttonContainer {
        display: inline-block;
        position:absolute;
        height:100%
    }

    #buttonPlaceHolder {
        z-index: 41;
        background-color: rgba(0, 0, 0, 0.6);
        position: absolute;
        visibility: visible;
        opacity: 0.75;
        border: none;
    }
    /* Menu Buttons -- BEGIN */
    #navOpen {
        position: absolute;
        z-index: 42;
        background: rgba(0,0,0,0.0);
        border: none;
        width: 50px;
        height: 50px;
    }

    #navClose {
        position: absolute;
        z-index: 42;
        visibility: hidden;
        background: rgba(0,0,0,0.0);
        border: none;
        width: 50px;
        height: 50px;
    }
    /* Menu Buttons -- END */
    /* Map Buttons -- BEGIN */
    #Zoom-In {
        position: absolute;
        z-index: 42;
        background: rgba(0,0,0,0);
        border: none;
        width: 35px;
        height: 35px;
    }

    #Zoom-Out {
        position: absolute;
        z-index: 42;
        background: rgba(0,0,0,0);
        border: none;
        width: 35px;
        height: 35px;
        
    }

    #Home {
        position: absolute;
        z-index: 42;
        background: rgba(0,0,0,0);
        border: none;
        width: 35px;
        height: 35px;
        
    }

    #LocateButton {
        position: absolute;
        z-index: 42;
        border-radius: 10px;
        background-color: rgba(0, 0, 0, 0);
    }

    .LocateButton .zoomLocateButton .zoomLocateButton:hover {

    }
    /* Map Buttons -- END */
    /* Menu -- BEGIN */

    #MenuPanel label {
        font-size: 1.75em;
        font-weight: bold;
        text-decoration: underline;
        
    }

    #outageInfo {
        color: rgb(0, 0, 0);
        left: 0px;
    }
    #outageInfo label, input[type="text"] {
         width: 90% !important;
         background-color: transparent;
         border: 0px;
         margin-bottom: 10px;
    }
/*    #numOutages{
        font-weight: bold;
        color: #FFFFFF;
        background-color: #37246b;
        text-align: center;
        border: 1px solid white;
        font-family: Ubuntu, Helvetica, Arial, Verdana, sans-serif;
        text-align:left;
        text-indent:10px;
    }
    #totalCustOut{
        font-weight: bold;
        color: #FFFFFF;
        background-color: #37246b;
        text-align: center;
        border: 1px solid white;
        font-family: Ubuntu, Helvetica, Arial, Verdana, sans-serif;
        text-align:left;
        text-indent:10px;
    }
*/    #lastModified{
        padding-top:0.3em;
        font-size:1em;
        color: #000000;
        text-align: left;
        z-index:50;
        overflow:hidden;       
    }

    .dijitAccordionContainer{
        border:none;
    }

    .dijitAccordionTitle {
        font-weight: bold;
        color: #FFFFFF;
        background-color: #37246b;
        text-align: center;
        border: 1px solid white;
    }
    .dijitTitlePane {
        color: #FFFFFF;
        background-color: #37246b;
        text-align: center;
        border: 1px solid white;  
        font-size: 1.25em;
        line-height: 2.95em;  
        
    }
    .dijitTitlePaneContentInner .dijitTitlePane {
        font-size:0.75em ;
        line-height:2em;
    }
    .dijitTitlePaneContentInner{
        background-color: #CDCDC1;
        color: black;
        text-align: left;
        /*padding-top:0.75em;*/
    }
    .dijitTitlePaneContentInner .Content {
        font-size:0.8em;
        padding:0.75em 15px 0 15px;
        overflow-y:hidden; overflow-wrap:break-word;
    }
    .helpTitle {
        background-color:#4C6291;
        border:1px solid #ffffff;
        padding:10px 30px 10px 20px;
        text-align:center;
        text-decoration:none;
        color:#ffffff;
        line-height:1.143em;
        display:block;
    }

    .dijitAccordionTitleSelected {
        cursor: pointer;
    }
    .dijitAccordionChildWrapper{
        overflow-y:scroll;
    }
    .dijitAccordionTitleFocus {
        outline: 0;
    }
    .menu-container {
        -ms-overflow-style: none;
        overflow: hidden;
    }
    #MenuPanel::-webkit-scrollbar {
        display: none;
    }
    .esriPopup_table{
        width:100%;
        overflow-y: scroll;
    }
    .esriPopup_table td{
        padding-top:5px;
        vertical-align:text-top;
    }
    .esriPopup .titleButton.maximize{
        visibility:hidden !important;
    }
    .esriPopup .contentPane{
        overflow-y:auto !important;
    }
    

 
/* Menu -- END */

/*Navigation (Side) Menu Styling -- END*/

/* Mobile Adjustments */

 /* Smartphones (portrait and landscape) ----------- TODO - Currently set to Phone & Tablet*/
    @media only screen 
    and (min-device-width : 0px) 
    and (max-device-width : 1024px) {
        html {
	        -webkit-text-size-adjust: none;
	    }
        .esriPopupWrapper, .esriPopupWrapper outerPointer left, .esriPopup .left.outerPointer{
        display:initial;
        }
        #infoPane{
            display:none !important;
        }
        #rightPane{
            display:none;
        }
        /*
        #MobileLegend{
            z-index:11;
            visibility:visible;
            position:fixed;
            left:5px !important;
        }
        #MobileLegend table{
            z-index: 11;
            background-color: rgb(255,255,255);
            position: absolute;
            visibility: visible;
            opacity: 0.75;
            border-collapse:collapse;
            border-spacing:0;
            padding:0;
        }
        #MobileLegend th{
            font-size:0.75em;       
        }
        #MobileLegend table td{
            min-width:40px;
            min-height:5px;
            font-size:0.75em;
        }
        #MobileLegend img{
            width:15px;
            height:15px;
        }
        */
        #tocDiv_mobile{
            padding-top:0;
        }
        #MenuPanel{
        position:absolute; 
        height:calc(100% - 50px);
        width:100% !important;
        top:50px;
        left:-100%;
        z-index:41; /* needs to be above 40 for the esriPopup */
        background-color:#CDCDC1;
        opacity:0.9;
        overflow-y:scroll;
    }
/*    #numOutages{
        font-size: 75%;
        line-height: 200%;
    }
    #totalCustOut{
        font-size: 75%;
        line-height: 200%;
    }
*/    #lastModified{
        font-size: .75em;
        padding-top: 0.2em;
    }

    .dijitTitlePane {
        font-size: 1.25em;
        line-height: 1.7em;
    }
    .helpTitle {
        line-height: 1.7em;
        padding:0;
    }
    #outage-summary{
        height:72px;
    }
    .accordian-container{
        height:calc(100% - 72px);
    }
    #buttonContainer {
        width: 100%;
    }
   
    #buttonPlaceHolder {
        height: 50px;
        width: 100%;
        top: 0;
        left:0px !important;
        overflow:hidden;
        z-index: 39;
    }
    /* Menu Buttons -- BEGIN */
    #navOpen {
        top: 0px;
        /*right: 0px;*/
        left:0px !important;
        z-index: 39;
    }
        
    #navClose {
        top: 0px;
        /*right: 0px;*/
        left: 0px !important;
        z-index: 39;
    }
    /* Menu Buttons -- END */
    /* Map Buttons -- BEGIN */
    #Zoom-In {
        top: 8px;
       /* left: 50px;*/
        left:50px !important;
        z-index: 39;
    }

    #Zoom-Out {
        top: 8px;
      /*  left: 85px;*/
        left:85px !important;
        padding-left:5px;
        z-index: 39;
    }
    #Home {
        top: 8px;
      /*  left: 85px;*/
        left:122px !important;
        padding-left:5px;
        z-index: 39;
    }

    #LocateButton {
        top: 5px;
      /*  left: 130px;*/
        left:165px !important;
        z-index: 39;
    }
    #tocDiv_mobile_title, #tocDiv_mobile{      
        line-height:1.47em;    
    }
    #DesktopTFCCLink{
        display:none;
    }

    }

    /* Smartphones (landscape) ----------- 
    @media only screen 
    and (min-width : 321px) {
    html {
	    -webkit-text-size-adjust: none;
	}
    .esriPopupWrapper, .esriPopupWrapper outerPointer left, .esriPopup .left.outerPointer{
        display:initial;
}
    #infoPane{
        display:none !important;
    }
    }*/

    /* Desktop reduced Size ----------- */

    @media only screen and (max-width : 0px) and (min-device-width : 100000px) {
        html {
            -webkit-text-size-adjust: none;
        }

        .esriPopupWrapper, .esriPopupWrapper outerPointer left, .esriPopup .left.outerPointer {
            display: initial;
        }

        #infoPane {
            display: none !important;
        }

        #MenuPanel {
            position: absolute;
            height: calc(100% - 50px);
            width: 100% !important;
            top: -200%;
            left: 0px !important;
            z-index: 41;
            background-color: #FFFFFF;
            opacity: 0.9;
            overflow: hidden;
        }

        .dijitAccordionTitle {
            line-height: 10%;
        }

        #buttonPlaceHolder {
            height: 50px;
            width: 100%;
            top: 0;
            left: 0px !important;
            overflow: hidden;
        }
        /* Menu Buttons -- BEGIN */
        #navOpen {
            top: 0px;
            /*right: 0px;*/
            left: 0px !important;
        }

        #navClose {
            top: 0px;
            /*right: 0px;*/
            left: 0px !important;
        }
        /* Menu Buttons -- END */
        /* Map Buttons -- BEGIN */
        #Zoom-In {
            top: 8px;
            /* left: 50px;*/
            left: 50px !important;
        }

        #Zoom-Out {
            top: 8px;
            /*  left: 85px;*/
            left: 85px !important;
        }

        #Home {
            top: 8px;
            /*  left: 85px;*/
            left: 122px !important;
        }

        #LocateButton {
            top: 7.5px;
            /*  left: 130px;*/
            left: 165px !important;
        }

        #MobileTFCCLink {
            /*display:inline;*/
        }
    }

    /* Tablet (portrait and landscape) ----------- */
    @media only screen and (min-width : 768px) and (max-width : 1024px) {
        html {
            -webkit-text-size-adjust: none;
        }

        .esriPopupWrapper, .esriPopupWrapper outerPointer left, .esriPopup .left.outerPointer {
            display: initial;
        }

        #infoPane {
            /* display:none !important;*/
        }
    }

    /* Tablet (landscape) ----------- */
    @media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : landscape) {
        html {
            -webkit-text-size-adjust: none;
        }

        .esriPopupWrapper, .esriPopupWrapper outerPointer left, .esriPopup .left.outerPointer {
            display: initial;
        }

        #infoPane {
            /*  display:none !important;*/
        }
    }

    /* Tablet (portrait) ----------- */
    @media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : portrait) {
        html {
            -webkit-text-size-adjust: none;
        }

        .esriPopupWrapper, .esriPopupWrapper outerPointer left, .esriPopup .left.outerPointer {
            display: initial;
        }

        #infoPane {
            /*  display:none !important;*/
        }
    }
    
@media only screen and (max-width : 650px) {
    #rightPane {
        display: none;
    }

    #MobileLegend {
        z-index: 11;
        visibility: visible;
        left: 55px;
        /*position: fixed;
        bottom: calc(12% + 40px);*/
        position: absolute;
        bottom: 35px;
    }

        #MobileLegend table {
            z-index: 11;
            background-color: rgb(255,255,255);
            position: absolute;
            display: initial;
            opacity: 0.75;
            border-collapse: collapse;
            border-spacing: 0;
            padding: 0;
        }

        #MobileLegend th {
            font-size: 0.75em;
        }

        #MobileLegend table td {
            min-width: 40px;
            min-height: 5px;
            font-size: 0.75em;
        }

        #MobileLegend img {
            width: 15px;
            height: 15px;
        }
}
@media only screen and (min-width : 651px) {
    #rightPane {
        margin-left: 0px !important;
        overflow: hidden;
        z-index: 0;
        min-width: 253px;
    }
    
    #MobileLegend {
        display:none;
    }
}
        


    /* Desktops and laptops ----------- */
    @media only screen and (min-device-width : 1025px) {

        /*Popup Outage Info Styling *DISPLAY ONLY FOR DESKTOP* -- BEGIN*/
        #infoPane {
            z-index: 30;
            background-color: white;
            border-radius: 10px;
            position: absolute;
            visibility: visible;
            padding: 0px;
            max-height: 90%;
            opacity: 0.75;
            right: 1%;
            top: 1%;
            border: none;
            overflow-y: auto;
            visibility: visible;
        }

            #infoPane table {
            }

            #infoPane th {
                font-size: large;
                border-bottom: 2px solid black;
                text-align: left;
            }

        #tocDiv_mobile_title, #tocDiv_mobile {
            display: none;
        }
        /*
        #MobileLegend {
            display: none;
        }
        
        #rightPane {
            margin-left: 0px !important;
            width: 25%;
            overflow: hidden;
            z-index: 0;
            min-width:253px;
        }   */   
        #MenuPanel {
            top: -1px !important;
            position: absolute;
            height: 100%;
            width: 20%;
            left: -30%;
            z-index: 41;
            background-color: #CDCDC1;
            opacity: 0.9;
            overflow-y: hidden;
            min-width: 350px;
        }
        .dijitAccordionTitle {
            font-size: 125%;
            line-height: 225%;
        }

        #outage-summary {
            height: 93px;
        }

        .accordian-container {
            height: calc(100% - 93px);
        }

        #twitter-widget-0 {
            height: 99% !important;
            min-height: initial;
        }

        #buttonPlaceHolder {
            height: 100%;
            width: 50px;
            left: 0;
            top: 0;
            overflow: hidden;
        }
        /* Menu Buttons -- BEGIN */
        #navOpen {
            top: 0px;
            left: 0px;
        }

        #navClose {
            top: 0;
            left: 20%;
            visibility: hidden;
        }
        /* Menu Buttons -- END */
        /* Map Buttons -- BEGIN */
        #Zoom-In {
            top: 50px;
            left: 8px;
        }

        #Zoom-Out {
            padding-top: 5px;
            top: 85px;
            left: 8px;
        }

        #Home {
            padding-top: 5px;
            top: 122px;
            left: 8px;
        }

        #LocateButton {
            top: 165px;
            left: 5px;
        }

        #MobileTFCCLink {
            display: none;
        }
        /*Popup Outage Info Styling -- END*/

    }

    /* Large screens ----------- */
    @media only screen and (min-width : 1824px) {
        /* Styles */
    }

    /* iPhone 4 ----------- */
    @media only screen and (-webkit-min-device-pixel-ratio : 1.5), only screen and (min-device-pixel-ratio : 1.5) {
        html {
            -webkit-text-size-adjust: none;
        }

        .esriPopupWrapper, .esriPopupWrapper outerPointer left, .esriPopup .left.outerPointer {
        }

        #infoPane {
            display: none !important;
        }
    }


















    /* POTENTIAL DELETIONS BELOW */

    .dijitCheckBox, .dijitRadio, .dijitCheckBoxInput {
        padding: 0;
        border: 0;
        width: 16px;
        height: 16px;
        background-position: center center;
        background-repeat: no-repeat;
        overflow: hidden;
    }

        .dijitCheckBox input, .dijitRadio input {
            margin: 0;
            padding: 0;
            display: block;
        }

    .dijitCheckBoxInput {
        opacity: 0;
    }

    .dj_ie .dijitCheckBoxInput {
        filter: alpha(opacity=0);
    }

    .dj_a11y .dijitCheckBox, .dj_a11y .dijitRadio {
        width: auto !important;
        height: auto !important;
    }

    .dj_a11y .dijitCheckBoxInput {
        opacity: 1;
        filter: none;
        width: auto;
        height: auto;
    }

    .nihilo .dijitToggleButton .dijitCheckBox, .nihilo .dijitToggleButton .dijitCheckBoxIcon {
        background-image: url("../images/spriteCheckbox.gif");
    }

    .nihilo .dijitCheckBox, .nihilo .dijitCheckBoxIcon {
        background-image: url("../images/spriteCheckbox.gif");
        background-repeat: no-repeat;
        width: 16px;
        height: 16px;
        margin: 0;
        padding: 0;
    }

    .nihilo .dijitCheckBox, .nihilo .dijitToggleButton .dijitCheckBoxIcon {
        background-position: -16px;
    }

    .nihilo .dijitCheckBoxChecked, .nihilo .dijitToggleButtonChecked .dijitCheckBoxIcon {
        background-position: 0;
    }

    .nihilo .dijitCheckBoxDisabled {
        background-position: -48px;
    }

    .nihilo .dijitCheckBoxCheckedDisabled {
        background-position: -32px;
    }

    .nihilo .dijitCheckBoxHover {
        background-position: -80px;
    }

    .nihilo .dijitCheckBoxCheckedHover {
        background-position: -64px;
    }

    /*TFCC Iframe POTENTIAL DELETE*/
    iframe {
        height: 99%;
        width: 99%;
        overflow: hidden;
    }
    /*
#heco_nav div{  
    background-color: #FFFFFF;
}
#heco_nav div input[type="button"]{
  
   width:90%;
   margin-bottom:.5em;
   
}
#banner{
    color:rgb(0, 0, 0);
}
#outageInfo{
    color:rgb(0, 0, 0);
    left:0px;
}
#outageInfo label, input[type="text"]{
    width:90% !important;
    background-color: transparent; 
    border:0px;
    margin-bottom: 10px;
    
}

#outageInfo label{
    font-weight:bold;
    font-size:medium;
    text-decoration: underline;
}
#summary{
    color:rgb(0, 0, 0);
}
    */

 