html,
body,
#mapDiv {
    padding: 0;
    margin: 0;
    height: 100%;
    font-family: sans-serif;
}

.esriSimpleSlider {
    top: 50px;
    left: 10px;
}

.dijitInputInner,
.dijitSelectLabel {
    padding: 5px;
}

.dijitComboBox .dijitArrowButton {
    height: 28px;
}

.dijitComboBox .dijitArrowButtonInner {
    position: relative;
    top: 3px;
}

#logo {
    padding: 10px;
    width: 330px;
    height: 85px;
    background: url("../images/logos/IDWQWebPageLogo.png") rgba(255, 255, 255, 0.5) 0px 0px no-repeat;
    background-size: 330px auto;
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 500;
    pointer-events: none;
    background-position: center;
}

#scaleText {
    position: absolute;
    bottom: 2px;
    z-index: 20;
    font: bold 0.75em arial, sans-serif;
    background: rgba(255, 255, 255, .4);
}

#scalebarContainer {
    position: absolute;
    bottom: 130px;
    left: 15px;
}

.esriScalebarLabel {
    color: #000000;
    height: 1em;
    width: 2.7em;
    text-align: left;
    padding-left: .2em;
    background: rgba(255, 255, 255, 0.4);
}

h1 {
    font-size: 1.1em;
}

h2 {
    font-size: 1em;
    margin-top: 0.5em;
    margin-bottom: 0;
}

p {
    font-size: 1em;
    margin-bottom: 0;
    margin-top: 0.5em;
}

td.label {
    text-align: right;
}

#FBCommunityPane label {
    margin-right: 10px;
}


/* measure tools */

.drawLineIcon {
    background: url(../images/draw_sprite.png) 0 0 no-repeat;
    width: 20px;
    height: 20px;
    text-align: center;
}

.drawFreehandLineIcon {
    background: url(../images/draw_sprite.png) -20px 0 no-repeat;
    width: 20px;
    height: 20px;
    text-align: center;
}

.drawAreaIcon {
    background: url(../images/draw_sprite.png) -100px 0 no-repeat;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    text-align: center;
}

.drawFreehandAreaIcon {
    background: url(../images/draw_sprite.png) -40px 0 no-repeat;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    text-align: center;
}

.drawEraserIcon {
    background: url(../images/draw_sprite.png) -60px 0 no-repeat;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    text-align: center;
}

#measureTool label {
    display: block;
    margin: 3px;
}

#measureTool .dijitToolbar {
    display: inline-block;
    border: 1px solid #ccc;
    margin: 3px;
}

#measureTool .dijitButtonContents {
    padding: 10px;
}


/* end measure tools */

.esriControlsBR {
    bottom: 130px;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
}

#loadingDiv {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 20000;
    background: #FFFFFF;
    display: table-cell;
    vertical-align: middle;
}

#loadingDiv div {
    text-align: center;
    display: block;
}

#loadingDiv h1 {
    display: block;
    padding: 1em;
    padding-bottom: 1.5em;
    margin: auto;
    text-align: center;
    font-weight: normal;
    font-size: 1.5em;
}

#loadingDiv img {
    display: block;
    padding: 10px;
    margin: auto;
}

#loadingSponsors {
    display: block;
    padding: 10px;
    margin: auto;
}

#loadingSponsors img {
    display: inline-block;
    padding: 10px;
    margin: auto;
}


/********* popup styling *********/


/* Change color of icons to match bar chart and selection symbol */

.esriPopup.light div.titleButton,
.esriPopup.light div.titlePane .title {
    color: #000000;
    font-weight: bold;
}

.esriPopup.light div.titlePane {
    background-color: #F18818;
}

.error {
    color: #FF0000;
}


/** Legend **/

.legendlist {
    padding-left: 10px;
}

.legend {
    background: url(../images/legend_sprite.png) 0 0 no-repeat;
    width: 32px;
    height: 23px;
}

#WQIndexTool .esriLegendServiceLabel {
    font-weight: normal;
}


/* just for credit text */

@media (min-width: 515px) {
    .esriControlsBR {
        bottom: 5px;
    }
}


/*larger screen hide the menu button and always show the menu */

@media (min-width: 900px) {
    #mapDiv {
        animation-name: mapDiv-toggled-in;
        animation-duration: 0.5s;
        margin-left: 350px;
    }
    #mapDiv.toggled {
        animation-name: mapDiv-toggled-out;
        animation-duration: 0.5s;
        margin-left: 0px;
    }
    @keyframes mapDiv-toggled-in {
        from {
            margin-left: 0px
        }
        to {
            margin-left: 350px
        }
    }
    @keyframes mapDiv-toggled-out {
        from {
            margin-left: 350px
        }
        to {
            margin-left: 0px
        }
    }
    #scalebarContainer {
        animation-name: scalebar-toggled-in;
        animation-duration: 0.5s;
        bottom: 30px;
        left: 15px;
        margin-left: inherit;
    }
    #scalebarContainer.toggled {
        animation-name: scalebar-toggled-out;
        animation-duration: 0.5s;
        bottom: 130px;
    }
    @keyframes scalebar-toggled-out {
        from {
            bottom: 30px
        }
        to {
            bottom: 90px
        }
    }
    @keyframes scalebar-toggled-in {
        from {
            bottom: 90px
        }
        to {
            bottom: 30px
        }
    }
}


/** Error Message **/

#errorMessage {
    width: 100%;
}

.dijitToasterContent {
    padding: 1em;
    background: #73c74a;
}

.dijitToasterMessage {
    color: #fff;
}

.dijitToasterWarning,
.dijitToasterError,
.dijitToasterFatal {
    font-weight: bold;
    color: #fff;
}

.dijitToasterWarning .dijitToasterContent {
    background: #d4d943;
}

.dijitToasterError .dijitToasterContent {
    background: #c46600;
}

.dijitToasterClip {
    position: absolute;
    z-index: 5000;
    overflow: hidden;
}

.dijitToasterContainer {
    display: block;
    position: absolute;
    margin: 0px;
    font: 0.75em;
}

#irrGuideline {
    border: none;
    border-collapse: collapse;
    margin-top: 5px;
}

#irrGuideline td {
    padding: 2px;
    border-bottom: 1px solid;
}

#irrGuideline tr:first-child {
    border-top: 1px solid;
}

#downloadTermsDialog {
    z-index: 1999;
}
.dijitDialogUnderlayWrapper{
    z-index: 2000;
}

._underlay {
    background-color: rgb(54, 54, 54);
}


/* business rule - does not want a heading for sampling site entries */

#legendDiv_layer2_0 .esriLegendLayerLabel {
    display: none;
}