/* Colors */
.lv-green{
    color:#26573d !important;
}
.lv-orange{
    color: #F79646;
}
.gray-bg{
    background-color: #F2F2F2;
}
.green-bg{
    background-color: #264D39; 
 }



/* Body and Primary Classes */
html, body{
    height: 100%;
    font-family: 'Source Sans Pro', sans-serif;
}
h2{
    margin-bottom: 0px;
}


/* Navigation Row */
.navbar-text{
    color:#ffffff !important;
    font-size:1.1rem;
}
.btn.disabled, .btn:disabled {
    opacity: 1.0;
}
input[type="search"]::-webkit-search-cancel-button {
    /* Remove default */
    -webkit-appearance: none;
  }


/* Header Row */
.header-row{
    border-bottom: 0.25px solid #dddddd;
}
.nav-pills{
    font-size:1.1rem;
}
.map-link{
    color: #264D39; 
    border-bottom: 3px solid #F2F2F2;
}
.map-link:hover{
    color: #264D39;  
    border-bottom: 3px solid #26573d;
}
.map-toggle{
    font-weight: bold;
    color: black;
    border-bottom: 3px solid black;
}
.map-toggle:hover{
    color: black;
    border-bottom: 3px solid black;
}
#info-icon:hover{
    opacity: 0.5;
    cursor: pointer;
}
.badge:hover{
    cursor: pointer;
}

#cancel-selection-icon:hover{
    opacity: 0.5;
    cursor: pointer;
}

/* Map and Graph Row */
#map {
    position: relative;
    width:100%;
    height:80vh;
}
.card-footer{
    font-size:0.9rem;    
}
.mg-line1-color {
    stroke: #264D39 !important;
}
.mg-area1-color {
    fill: #264D39 !important;
}
.mg-line2-color{
    stroke: #F79646 !important;;
}
.mg-area2-color {
    fill: #F79646 !important;
}
.mg-line3-color{
    stroke: #9A3445 !important;
}
.mg-area3-color {
    fill: #9A3445 !important;
}
.mg-line-legend-color{
    color:#264D39 !important; 
    fill: #264D39 !important;
} 

.mg-line1-legend-color{
    color:#264D39 !important; 
    fill: #264D39 !important;
}

.mg-line2-legend-color{
    color:#F79646 !important; 
    fill:#F79646 !important;
}

.mg-line3-legend-color{
    color:#9A3445 !important; 
    fill: #9A3445 !important;
}


ul {
    width: 100%;
    display: table;
    table-layout: fixed;
  }
  
ul li {
    display: table-cell;
    width: auto;
    text-align: center;
  }

.my-legend {
    text-align: center;
    padding-inline-start: 0;
}

 .my-legend-item {
    font-size: 70%;
}

.my-legend-span {
    display: block;
    width: auto;
    height: 15px;
    opacity: 0.7;
}

.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: #F79646 !important;
    background-color: #F79646 !important;
}

.info {
    padding: 6px 8px;
    background: white;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
}
.info h4 {
    margin: 0 0 5px;
    color: #777;
}

.legend {
    line-height: 18px;
    color: #555;
}
.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 0.7;
}

div.info.legend.leaflet-control br{
    clear: both;
}


/*Typeahead*/
.nav-search{
    width:100%;
}
.input-group > .twitter-typeahead {
    flex: 1 1 auto;
    width: auto;
 }

.nav-search .typeahead,
.nav-search .tt-query,
.nav-search .tt-hint {
  width: 100%;
  height: 40px;
  padding: 10px;
  font-size: 16px;
  line-height: 20px;
}

.nav-search .typeahead {
  background-color: #fff;
  width: 100%;
}
.nav-search .typeahead:focus {
  border: none;
}
.nav-search .tt-query {
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.nav-search .tt-hint {
  color: #999
}
.nav-search .tt-menu {
  width: 100%;
  margin: 0;
  padding: 4px;
  background-color: #fff;
  border: 1px solid #ddd;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
}
.nav-search .tt-suggestion {
  padding: 3px 10px;
  font-size: 16px;
  line-height: 24px;
}
.nav-search .tt-suggestion:hover {
  cursor: pointer;
  color: #fff;
  background-color: #26573d;
}
.nav-search .tt-suggestion.tt-cursor {
  color: #fff;
  background-color: #26573d;
}
.nav-search .tt-suggestion p {
  margin: 0;
}

/* county label tooltip in map */
.county-label {
    position: absolute;
    font-size:12px;
}

/* Media Queries */
@media (max-width: 399.98px) { 
    .navbar-text{
        font-size: 0.8rem;
    }
    .navbar-logo{
        height:30px;
    }
    .nav-search{
        margin-top: 15px;
        padding-left: 0;
        padding-right: 0;
    }
    .nav-pills{
        font-size:0.7rem;
    }
    .header-text{
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .nav {
        float: left;
    }
} 

@media (min-width: 400px) and (max-width: 575.98px) { 
    .navbar-text{
        font-size: 0.9rem;
    }
    .nav-search{
        margin-top: 15px;
        padding-left: 0;
        padding-right: 0;
    }
    .nav-pills{
        font-size:0.8rem;
    }
    .header-text{
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .nav {
        float: left;
    }
}

@media (min-width: 576px) and (max-width: 621.98px) { 
    .nav-pills{
        font-size:0.9rem;
    }
    .header-text{
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) { 
    .nav-search{
        margin-top: 15px;
        padding-left: 0;
        padding-right: 0;
    }
    .header-text{
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .nav {
        float: left;
    }
}

@media (min-width: 768px) and (max-width: 1063.98px){
    .nav-pills{
        font-size: 0.95rem; 
    }
}

@media (min-width: 768px){ 
    .navbar-text{
        font-size: 1.1rem;
    }
    .nav-search{
        margin-top: 0;
        padding-left: 15px;
        padding-right: 15px;
    }
    .header-text{
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .nav {
        float: right;
    }
}
