﻿html, body, form {
    position: absolute;
    height: 100%;
    height: -webkit-fill-available;
    height: fill-available;
    width: 100%;
    width: -moz-available; /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
    width: fill-available;
    margin: 0;
    padding: 0;
}

/*--------------------------------------------------Layer trans sliders--------------------------------------------------*/
.layerSlider {
    padding-bottom: 8px;
    margin-left: 28px;
    margin-right: 10px;
    width: auto;
}
.ui-slider-handle {
    margin-top: -3px;
    min-width: 16px;
    width: auto !important;
    text-align: center;
}
.map-slider-handle {
    margin-top: -4px !important;
    min-width: 12px !important;
    width: auto !important;
    text-align: center !important;
}

/*--------------------------------------------------Map Content--------------------------------------------------*/
.wrapperDIV {
    position: absolute;
    /* place the main wrapper below the header so header links are clickable */
    top: 80px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

.containerDIV {
    width: 100%;
    /*    max-width: 1200px;*/
    display: block;
    clear: both;
    padding-top: 0px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 0px;
    overflow: auto;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    min-height: 100%;
}

#mapDIV {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: rgba(127, 127, 127, 0.2);
    border-top: solid 1px #FFFFFF
}

#CopyrightDIV {
    position: absolute;
    bottom: 2px;
    left: 10px;
    height: auto;
    font-size: x-small;
    font-family: Arial;
    background-color: transparent;
    color: #000000;
}

#custom-basemap-handle {
    width: 3em;
    height: 1.6em;
    top: 50%;
    margin-top: -.8em;
    text-align: center;
    line-height: 1.6em;
}
/*-------------------------------------------------------------------------------------------------------*/

/*--------------------------------------------------Disclaimer-------------------------------------------*/
.disclaimerPanel {
    position: absolute;
    height: -webkit-fill-available;
    border: 1px solid #dddddd;
    background-color: #ffffff;
    display: none;
    font-family: 'Open-Sans', sans-serif;
    font-weight: normal;
    color: #333;
    font-size: 11pt;
    padding: 9px;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 5555;
}

/* Intro/accept content centered in viewport */
#disclaimerOpenDIV {
    /* full screen container (can be used as backdrop) */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 900; /* behind the dialog box */
    background: rgba(0,0,0,0.4);
}

#disclaimerOpenTextDIV {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 901; /* above backdrop and page content */
    width: 800px;
    max-width: calc(100% - 40px);
    background-color: #ffffff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    padding: 18px;
    border-radius: 4px;
    max-height: 85vh;
    overflow-y: auto;
}

#LegendOpenTextDIV {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 901; /* above backdrop and page content */
    width: 800px;
    max-width: calc(100% - 40px);
    background-color: #ffffff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    border-radius: 4px;
    max-height: 85vh;
    overflow-y: auto;
    font-size: 13px;
}

.img-with-text {
    text-align: justify;
}

    .img-with-text img {
        display: block;
        margin: 0 auto;
    }

#legendDIV {
    background-color: #FFFFFF;
    width: 200px;
    position: absolute;
    bottom: 80px;
    right: 10px;
}

#NoNetworkOpenTextDIV {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 901; /* above backdrop and page content */
    width: 800px;
    max-width: calc(100% - 40px);
    background-color: #ffffff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    border-radius: 4px;
    max-height: 85vh;
    overflow-y: auto;
    font-size: 13px;
}


.WCCButtonGreen {
    background: #830d28;
    color: white !important;
    margin-left: 0px;
    background-color: #00532E;
    box-shadow: 0 3px 0 #327557;
    text-shadow: none;
    vertical-align: middle;
    display: inline-block;
    box-sizing: border-box;
    border: 0;
    height: 32px;
    line-height: 32px;
    padding: 0 15px;
    min-width: 80px;
    margin-bottom: 0;
    margin-left: 0;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    border-radius: 0;
    user-select: none;
    filter: none;
    font-family: 'Open-Sans', sans-serif;
}
/*-------------------------------------------------------------------------------------------------------*/

/*-----------------------------------------------------Header--------------------------------------------*/

.wccHeader {
    background-color: #333333;
    width: 100%;
    height: 80px;
    /* use flexbox so contents (logo and disclaimer link) are vertically centered */
    display: flex;
    align-items: center;
    /* make sure header sits above the absolutely positioned content */
    position: relative;
    z-index: 1000;
    font-family: "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
    font-size: 12pt;
    color: white;
}

.site-header {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    padding-left: 12px; /* small gap from left edge */
}

    .site-header a {
        display: block;
        justify-content: center;
        align-items: center;
    }

/* ensure the logo sits to the left and is vertically centred inside the header */
.site-header img {
    display: block;
    max-height: 60px; /* keep image smaller than header height */
    height: 40px;

}

.WCClink {
    padding-top: 7px;
    margin-left: 10px;
    float: left;
}

    .WCClink:hover {
        text-decoration: underline;
    }

.skiptranslate iframe {
    visibility: hidden !important;
}

body {
    top: 0 !important;
}

.goog-te-gadget-simple {
    float: right;
    border: 0 !important;
    font-size: 10pt;
    font-weight: 400;
    display: inline-block;
    margin-top: 5px !important;
    cursor: pointer;
    border-radius: 2px;
    zoom: 1;
}

    .goog-te-gadget-simple span {
        color: #3e3065 !important;
    }

.inbetweenText {
    float: right;
    padding-top: 6px;
    padding-right: 5px;
    font-family: 'Open-Sans', sans-serif;
    font-size: 15px;
    letter-spacing: 1px;
}


.disclaimerText {
    float: right;
    padding-top: 6px;
    padding-right: 5px;
    font-family: 'Open-Sans', sans-serif;
    font-size: 15px;
    letter-spacing: 1px;
}

    .disclaimerText:hover {
        text-decoration: underline;
    }

#SignOperatorDropdownMobile {
    display: none;
    z-index: 900;
}
/*-------------------------------------------------------------------------------------------------------*/
@media screen and (orientation: portrait) and (max-width: 1013px) {
    #mapDIV {
        width: 100%;
    }

    #CopyrightDIV {
        display: none;
    }

    #SignalType {
        display: none;
    }
    #MobileOperator {
        display: none;
    }

    #break1 {
        display: none;
    }

    #break2 {
        display: none;
    }

    #SignOperatorDropdownMobile {
        display: block !important;
        position: absolute;
        left: 15px;
        top: 55px;
    }
}

@media screen and (orientation: landscape) and (max-width: 1013px) {

    #mapDIV {
        width: 100%;
    }

    #CopyrightDIV {
        display: none;
    }
}

@media screen and (max-width: 1013px) {
    #disclaimerOpenTextDIV {
        width: calc(100% - 24px);
        padding: 12px;
    }
}