/** User interface styles for the skytruth Lights app. */

 *,
        *:before,
        *:after {
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
        }

        output {
            display: block;
            font-size: 10px;
            font-weight: bold;
            text-align: center;
            margin: 0;
            width: 100%;
        }

        .u-left {
            float: left;
        }

        .u-cf:before,
        .u-cf:after {
            content: "";
            display: table;
        }

        .u-cf:after {
            clear: both;
        }

        .u-text-left {
            text-align: left;
        }

        .rangeslider {
            height: 12px;
        }

        .rangeslider__handle {
            width: 14px;
            height: 16px;
            margin-top: 8px;
        }


html, body, .container-full {
    height:100vh !important; overflow:hidden;
    padding: 0;
    margin: 0;
}

/*.container-full { height:100vh !important; overflow:hidden;}*/

label {
    font-size:1.1em;
}
 #stLogo {
            height:100px;
        }

#mtrHead {
    margin-top:0px;
    text-align:left; margin-left:8px; font-family: 'verdana', sans-serif; font-weight:500; font-size:1.6em; padding-bottom:12px;
}

#sidebar {
    height:91%;
    width: 100%;
    /*max-width: 25%;*/
    /*width:250px;*/
    /*border-right: 2px solid darkgray;*/
    background-color: white !important; /* lightblue !important; */
    opacity: 1.0;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    font-size: 12px;
    margin-left: 12px;
    overflow: auto;
}

#map {
    /*height: 100%;*/
    /*width: auto;*/
}

.sidebar-wrapper {
    height: 100%;
    position: relative;
    width: 100%;
    align-content: center;
}

.leaflet-label {
	background: rgb(235, 235, 235);
	background: rgba(235, 235, 235, 0.81);
	background-clip: padding-box;
	border-color: #777;
	border-color: rgba(0,0,0,0.25);
	border-radius: 4px;
	border-style: solid;
	border-width: 4px;
	color: #111;
	display: block;
	font: 12px/20px "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-weight: bold;
	padding: 1px 6px;
	position: absolute;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
	pointer-events: none;
	white-space: nowrap;
	z-index: 6;
}

.leaflet-label.leaflet-clickable {
	cursor: pointer;
}

.leaflet-label:before,
.leaflet-label:after {
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	content: none;
	position: absolute;
	top: 5px;
}

.leaflet-label:before {
	border-right: 6px solid black;
	border-right-color: inherit;
	left: -10px;
}

.leaflet-label:after {
	border-left: 6px solid black;
	border-left-color: inherit;
	right: -10px;
}

.leaflet-label-right:before,
.leaflet-label-left:after {
	content: "";
}

.template {
    display: none;
}

h1 {
    text-align: center;
    font-family: Verdana,sans-serif;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    z-index: 1;
    margin: 0px;
    text-shadow: 0px 0px 20px black;
    z-index: 1;
    color: gray;
    /* text-shadow: 0px 0px 20px black; */
}


#infoPanel {
    display: none;
    position: absolute;
    top: 70px;
    left: 70%;
    width: 28%;
    overflow: scroll;
    max-height: 500px;
    z-index: 1;
    background-color: cornsilk;
    box-shadow: 0px 0px 20px black;
    border: 1px 1px 1px 1px;
    border-radius: 2px;
    font-family: sans-serif;
    padding: 10px;
    box-sizing: border-box;
}

#target_table_id {
    border: solid thin;
    border-radius: 2px;
    font-family: sans-serif;
    font-size: 10px;
    padding: 4px;
    margin: 0px 0px 0px 0px;
}

    #target_table_id td {
        border: solid thin;
        border-radius: 2px;
        font-family: sans-serif;
        font-size: 10px;
        padding: 0px;
        margin: 0px 0px 0px 0px;
        border-color: gray;
    }

.panel h2 {
    margin: 0px;
    padding-bottom: 10px;
}

.panel .details {
    overflow: hidden;
    max-height: 500px;
}

.panel .error {
    display: none;
}

.powered-by-ee {
    position: absolute;
    z-index: 1;
    bottom: 10px;
    left: 50%;
    margin-left: -150px;
    width: 300px;
}

.inputLabels
{
    font-size: 12px;
}

.mapType {
   font-size: 12px;
}

/*==========  Non-Mobile First Method  ==========*/


    @media only screen and (max-width : 1800px) {
        /*#sidebar { width:200px;}*/
    }

    /* Medium Devices, Desktops */
    @media only screen and (max-width : 992px) {

    /*}

    /* Small Devices, Tablets 
    @media only screen and (max-width : 768px) {

    }

    /* Extra Small Devices, Phones 
    @media only screen and (max-width : 480px) {*/
        /*#sidebar {
            width:150px;
            font-size:8px;
        }
        .inputLabels {
            font-size:10px;
        }
        .kmlyear {
            font-size:10px;
        }
        #stLogo {
            height:60px;
        }
        #mtrHead { font-size:14px;}*/
        
    }

    /* Custom, iPhone Retina */ 
    @media only screen and (max-width : 320px) {
        
    }

/*@media screen and (orientation:landscape) {*/

  /*#container {*/
    /*-ms-transform: rotate(-90deg); !* IE 9 *!*/
    /*-webkit-transform: rotate(-90deg); !* Chrome, Safari, Opera *!*/
    /*transform: rotate(-90deg);*/
    /*width: !* screen width *! ;*/
    /*height: !* screen height *! ;*/
    /*overflow: scroll;*/
  /*}*/
/*}*/


/*#drawPanel {
    position: absolute;
    top: 10px;
    left: 75%;
    z-index: 1;
    width: 100px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    margin: 10px;
}*/

#color-palette {
    clear: both;
}

/*.color-button {
    width: 14px;
    height: 14px;
    font-size: 0;
    margin: 2px;
    float: left;
    cursor: pointer;
}*/

/*#delete-button {
    font-size: 13px;
    margin-top: 5px;
    padding: 8px 8px 8px 8px;
}*/

.kmlyear {
    padding: 4px;
    margin: 0px 0px 0px 0px;
    font-size: 11px;
    width:175px;
    height:25px;
}


/* gives the tooltip a margin from the pointer */

body > div.cartodb-tooltip {
    margin-top: 10px !important;
    margin-left: 10px !important;
    border-radius: 14px;
}
/* gives to the tooltip different styles */
div.cartodb-tooltip-content-wrapper {
    padding: 10px 10px 10px 10px;
    max-width: none;
    text-align: center;
    background-color: #FFF !important;
    opacity: 0.9;
    border: solid 1px;
    border-radius: 5px !important;
}
    /* set styles to the <p> tag of the tooltip */
    div.cartodb-tooltip-content-wrapper p {
        color: red !important;
    }
/* set infobox styles */
.cartodb-infobox {
    opacity: 0.9;
    background-color: #FFF !important;
    color: #fdb462 !important;
    border-radius: 25px !important;
}
/* set styles to the div element with id= box */
#box {
    position: absolute;
    top: 46px;
    left: 6px;
    opacity: 0.7;
    padding: 5px 10px 5px 10px;    
    background-color:white;
    color: navy;
    font-size: 11px;
    border-color:darkgray;
    z-index: 999;
    /*border-radius: 25px !important;*/
}

#countyName {
    background-color:white;
    opacity: 0.9;
    position: absolute; 
    top: 80px;
    left: 6px;
    /*border-radius: 25px; */
    padding: 5px 10px 5px 10px;
    font-size:large;
    display:none;
    z-index: 999;
}

#zoomDiv {
    width: 75px;
    background: rgba(255,255,255,0.9);
    textAlign: right;
    color: black;
    left: 6px;
    font-size: medium;
}
#zoomGuage {
    text-align: right;
    padding: 2px;
}

/* set styles to the custom infowindow */
.infowindow-custom {
    position: relative;
    width: 170px;
    background-color: #FFF;
    margin-bottom: 2px;
    opacity: 0.9;
    text-align: left;
    font-style: oblique;
    background-color: #FFF;
    color: #fdb462;
    border-radius: 10px;
}

.cartodb-popup-content .content h3 {
    font-style: italic;
}

.cartodb-popup-content .content p {
    text-align: left;
    font-size: 16px;
    color: red;
    margin-left: 20px;
}

/* set styles to the custom infowindow -> close button */
.cartodb-popup-close-button {
    position: absolute;
    top: -12px;
    right: -11px;
    width: 26px;
    height: 26px;
    /* background: url('https://libs.cartodb.com/cartodb.js/v3/themes/img/light.png') no-repeat 0 -23px; */
    background: url('/static/images/light.png') no-repeat 0 -23px;
    text-indent: -9999px;
    font-size: 0;
    line-height: 0;
    opacity: 1;
    text-transform: uppercase;
    z-index: 3;
}
/* set styles to the custom infowindow -> tip container */
.cartodb-popup-tip-container {
    position: absolute;
    bottom: -13px;
    left: 23px;
    width: 16px;
    height: 14px;
    /* background: url('http://libs.cartodb.com/cartodb.js/v3/themes/img/light.png') no-repeat -23px -7px; */
    background: url('/static/images/light.png') no-repeat -23px -7px;
    text-indent: -9999px;
    font-size: 0;
    line-height: 0;
    opacity: 1;
    z-index: 3;
}
/* change legend's position and style */
.cartodb-legend {
    left: 20px;
    bottom: 50px !important;
    width: 90px;
    height: auto;
    background-color: #FFF;
    opacity: 1;
    border-radius: 25px !important;
}

    .cartodb-legend ul li {
        margin-left: 5px !important;
        font-style: italic !important;
        font-size: 10px !important;
    }

/*#layer_selector {
    position: absolute;
    top: 200px;
    right: 20px;
    font-size: small;
    padding: 8px;
    background-color: #FFF;
    opacity: 1;
    border-radius: 5px !important;
}*/

#drawcontainer {
    display:none;
    position: absolute;
    top:10px;
    right:200px;
    height: 450px;
    opacity: 1;
    padding: 5px 10px 5px 10px;
    border-radius: 5px;
    border:solid 2px darkgray;
    background-color: #FBFDF2;
    font-family:Verdana, Genev, Tahoma, sans-serif;
    font-size: 14px;
    padding:8px;
    color: navy; 
    
}


-popup-close-button {
    width: 26px;
    height: 26px;
    position:absolute;
    right: 2px;
    padding-bottom:12px;
   
}

#content td {
    padding:4px;
    margin:0px;
    border: 1px solid lightgray;
    width:25%;
}

#content th {
    padding:8px;
    margin:0px;
    border: none;
    font-weight: bold;
    width:25%;
}

.noborder, .noborder td {
    border:none;
}


#miningLayerTable, #miningLayerTable td, #miningLayerTable tr {

    padding:0px 0px 0px 0px;
    margin:0px 0px 0px 0px;
    border:0px;
}

/*#howToModal .modal {position:fixed; top:50px; left:100px;}*/
#howtoModal .modal-content {
   margin-left: -100px;s
            width: 700px;
            height: 600px;
}

#howtoModal .modal-body {
            height: 500px;
            overflow-y: scroll;
        }

#ribbon {
    /*position: absolute;*/
    /*top: 34px;*/
    /*height: 45px;*/
    background: #00a7c4;
    font-color: white;
    width: 100%;
    margin-top:22px;
    max-height: 45px;
}

#title {

    /*position: relative;*/
    /*top: 0px;*/
    /*left: 280px;*/
    /*padding: 2rem;*/
    color: white;
    /*font-family: 'Montserrat Alternates', sans-serif;*/
    font-family: 'Alegreya Sans SC', sans-serif;
    font-weight: 500;
    font-size: 2rem;
    margin-left:50px;
}

.rangeslider__handle
{
    height: 20px;
}

/*! ========================================================================
 * Bootstrap Toggle: bootstrap-toggle.css v2.2.0
 * http://www.bootstraptoggle.com
 * ========================================================================
 * Copyright 2014 Min Hur, The New York Times Company
 * Licensed under MIT
 * ======================================================================== */
.checkbox label .toggle,.checkbox-inline .toggle{margin-left:-20px;margin-right:5px}
.toggle{position:relative;overflow:hidden}
.toggle input[type=checkbox]{display:none}
.toggle-group{position:absolute;width:200%;top:0;bottom:0;left:0;transition:left .35s;-webkit-transition:left .35s;-moz-user-select:none;-webkit-user-select:none}
.toggle.off .toggle-group{left:-100%}
.toggle-on{position:absolute;top:0;bottom:0;left:0;right:50%;margin:0;border:0;border-radius:0}
.toggle-off{position:absolute;top:0;bottom:0;left:50%;right:0;margin:0;border:0;border-radius:0}
.toggle-handle{position:relative;margin:0 auto;padding-top:0;padding-bottom:0;height:100%;width:0;border-width:0 1px}
.toggle.btn{min-width:59px;min-height:24px}
.toggle-on.btn{padding-right:24px}
.toggle-off.btn{padding-left:24px}
.toggle.btn-lg{min-width:79px;min-height:45px}
.toggle-on.btn-lg{padding-right:31px}
.toggle-off.btn-lg{padding-left:31px}
.toggle-handle.btn-lg{width:40px}
.toggle.btn-sm{min-width:50px;min-height:30px}
.toggle-on.btn-sm{padding-right:20px}
.toggle-off.btn-sm{padding-left:20px}
.toggle.btn-xs{min-width:35px;min-height:22px}
.toggle-on.btn-xs{padding-right:12px}
.toggle-off.btn-xs{padding-left:12px}

/* Try search box */
.search-input {
	font-family:Courier
}
.search-input,
.leaflet-control-search {
	max-width:400px;
}