﻿

.metbackground {
    background-color: #aaa69255;
    border-radius: 3px;
    height: 80px;
    margin-top:-2px;
    margin-left:0px;
}

.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #817a56;
}

/*---------------------------------------------------------*/
/* links and focus */
/*---------------------------------------------------------*/
#btnPlot {
    font-size: 16px;
    background-color: #817a56;
    border-color: gray;
}

#btnExport {
    font-size: 16px;
    background-color:  #aaa692;
    border-color: gray;
}

a, a:hover, a:active, a:visited {
    cursor: pointer !important;
}

a {
    color: white;
    text-decoration: none;
}

    a:hover {
        color: black;
        text-decoration: underline;
    }

    a:focus {
        outline: dotted 1px black;
        /* outline: none !important; */
    }

li:focus {
    /* outline: dotted 1px black; */
    outline: none !important;
}


.form-control:focus, select:focus, .btn:focus, #dateEnd:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

p {
    text-align: center;
    line-height: 100px;
}


/*---------------------------------------------------------*/
/* chart
/*---------------------------------------------------------*/
.chartdiv {
    margin-top: 30px;
}

/*
.chartsize {
   position: relative;
   height: 320px;
   width: 100%;
}
*/

.chart-overflow-wrapper {
    overflow-x: auto;
    max-width: 100%;
    padding-right: 15px;
}

.chart-wrapper {
    min-width: 700px;
    min-height: 360px;
    max-height: 360px;
    margin-bottom:20px;
}


/*---------------------------------------------------------*/
/* map
/*---------------------------------------------------------*/
.maptable {
    border-collapse: separate;
    border-spacing: 1px;
    color: black; 
    font-size: 10px;
    background: #97a871AA; /* light green */
    font-family: Gotham, Arial, Helvetica, sans-serif;
    width: 300px;
   z-index:2000;
}

    .maptable td, .maptable th {
        vertical-align: middle;
        text-align:center;
        
    }

    .maptable td {
        background-color: white;
        padding: 2px 2px;
    }

    .maptable .sitename2 {
        font-size: 8px;
        color: gray;
    }

.map-shadow {
    box-shadow: 0 0 3px 3px rgba(0,0,0,0.4);
}

#map {
    height: 800px;
    min-width:100%;
    margin-left: 0px;
    margin-right:0px;
}


.leaflet-popup-tip {
    background: rgba(0, 0, 0, 0) !important;
    box-shadow: none !important;
}

.xleaflet-popup-tip-container {
    width: 0px;
    height: 0px;
}

.xleaflet-popup-content-wrapper {
    background: rgba(0, 0, 0, 0) !important;
    /*border: none !important;*/
    font-size: 20px;
    box-shadow: none !important;
}

/*---------------------------------------------------------*/
/* reports
/*---------------------------------------------------------*/
.report-content {
    margin-top: 10px;
    margin-left: 0px;
    min-height: 500px;
    border: 1px solid black;
    overflow-y:auto;
}

.reports_a {
    color: black;
    text-decoration: none;
}

/*---------------------------------------------------------*/
/* header and footer
/*---------------------------------------------------------*/

.main-content {
    margin-top: 10px;
    margin-left: 0px;
   
}

.site-title-holder {
    display: table;
    text-align: left;
  
 }

.site-title {
    font-family: sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: white;
    margin: 0;
    padding-left:10px;

    display: table-cell;
    vertical-align: middle;
}

.site-header {
    width: 100%;
    height: 105px;
    margin-left: 5px;
    margin-top: 5px;
    background-image: url("../images/stc100.png");
    background-repeat: no-repeat;
}

.site-header-wrapper {
    margin-top: 0px;
    width: 100%;
}

.site-footer-wrapper {
    margin-top: 10px;
    width:100%;
}

.site-footer-title {
    font-family: sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    color: white;
    margin: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
    line-height: 1em;
}

.site-footer-item {
    font-family: sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 15px;
    color: white;
    margin: 0;
    padding-bottom: 10px;
    padding-left: 5px;
    line-height: 1em;
}


.shadow {
    -webkit-box-shadow: 3px 3px 5px 6px #ccc; /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow: 3px 3px 5px 6px #ccc; /* Firefox 3.5 - 3.6 */
    box-shadow: 3px 3px 5px 6px #ccc; /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
}

.title-shadow {
    /*box-shadow: 0 -5px 5px -5px black, 0 5px 5px -5px black;*/
    background-color: #aaa692;
    
}


/*---------------------------------------------------------*/
/* AQI table on map */
/*---------------------------------------------------------*/
.AQI {
    position: absolute;
    top: 620px;
    width: 312px;
    right: 0px;
    margin-right:-8px;
    z-index: 1000;
}

.AQItable {
    border-collapse: collapse;
    background-color: #00000055;
    font-family: Gotham, Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 12px;
    color: white;
    border-radius: 3px;
}

    .AQItable td th {
        text-align: center;
    }

.AQItableCol1 {
    width: 100px;
    margin-top: 2px;
}

.AQItableCol2 {
    margin-top: 2px;
}

.AQIdot {
    display: block;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    margin: auto;
    line-height: 15px;
    text-align: center;
}

.AQIdotGreen {
    margin-top: 2px;
    background-color: #00c757;
}

.AQIdotYellow {
    background-color: #ffd100;
}

.AQIdotOrange {
    background-color: #ff8300;
}

.AQIdotRed {
    background-color: #ff0126;
}

.AQIdotPurple {
    background-color: #a9336d;
}

.AQIdotMagenta {
    background-color: #7e0023;
}

/*---------------------------------------------------------*/
/* INFO table on map */
/*---------------------------------------------------------*/
.INFO {
    position: absolute;
    top: 1px;
    width: 290px;
    left: 1px;
    z-index: 1000;
   
}

.INFOtable {
    border-collapse: collapse;
    background-color: #00000055;
    font-family: Gotham, Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 12px;
    color: white;
    border-radius: 3px;
    width: 100%;
  
}

    .INFOtable td th {
        text-align: center;
    }

INFOtableCol1 {
    margin-top: 2px;
}

.INFOtableCol1 a {
    font-family: sans-serif;
    font-weight: 300;
    font-style: normal;
    color: white !important;
    margin: 0;
    padding-bottom: 10px;
    padding-left: 5px;
    line-height: 1em;
}




/*---------------------------------------------------------*/
/* current weather */
/*---------------------------------------------------------*/
.iconimg {
    vertical-align: top;
}

.controlcol {
    display:normal;
}

.mapcol {
    display: none;
}


@media only screen and (max-width: 1200px) {

    .current {
        font-size: 12px;
    }

   .iconrh {
        margin-left: -10px;
    }

    .controlcol {
        display:none;
    }

    .mapcol {
        display:flex;
        margin-top:-8px;
        margin-bottom:8px;
       
    }

    .AQI {
        top: 620px;
    }

    .INFO {
        top: 1px;
    }
}