/*Header and footer overrides*/

.search_bar{
    max-width:2650px;
}

#fa-wrapper {
    padding-right: 500px;
    position:unset;
}


body {
    padding-top: 0px;
    padding-bottom: 0px;
    height: 100%;
     max-height:900px; 
    min-width: 1600px;
    background-color: #00264c;
    max-width:2550px;

}

#footer-social-links {
    float: right;
    padding-right: 300px;
}

#body_row {
    height: 96%;
    /*min-width:1610px;*/
    background-color: gainsboro;
    /* border: 5px solid gainsboro; */
    /* padding-left:5px; */
    width: fit-content;
    margin-left: 2.1%;
}

.toggle_metrics {
    position: relative;
    display: inline-block;
    width: 55px;
    height: 16px;
}

   
    .toggle_metrics input {
        opacity: 0;
        width: 0;
        height: 0;
    }


.slider_metrics {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #8AB8E6;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider_metrics:before {
        position: absolute;
        content: "";
        height: 12px;
        width: 25px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider_metrics {
    background-color: #2196F3;
}

input:focus + .slider_metrics {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider_metrics:before {
    -webkit-transform: translateX(22px);
    -ms-transform: translateX(22px);
    transform: translateX(22px);
}



.flex-container {
    display: flex;
}

.flex-child {
    flex: 1;
    border: 2px solid black;
}

    .flex-child:first-child {
        margin-right: 20px;
    }

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 20px;
    padding-right: 20px;
    height: 85%;
    background-color: #00264c;
    margin-left:3.5%;
    padding-left: 5;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

html, body {
    /* height: 100%; */
}


.title {
    font-size: 1.75em;
    color: white;
    background-color: #194D80;
    margin: 0 5px;
    padding: .25em .5em;
    /* display: flex; */
    align-items: center;
    width:1900px;
}

    .title img {
        width: 1.75em;
        margin-right: .5em;
    }


.label-row {
    background-color: #194D80;
    color: white;
    font-size: 16px;
    height: 2em;
    padding-top: 5px;
    display: block;
    text-align: center;
}

#layersDiv .label-row {
    margin-left: 2px
}

.container-fluid.content {
    padding-top: 50px;
    height: 100%;
}

.container-fluid.content > .row {
    height: 100%;
}

.mainview, .navview, .subview {
    height: 100%;
    overflow: auto;
}

.navview, .subview {
    background-color: #eee;
}    


/*App specific styles*/

.clear_buttons {
    width:111px;

}


label {
    font-size: 1em;
    font-weight: 600;
    font-family: sans-serif;
    font-style: inherit;
}

#etree-main-div {
    /* padding-right: unset; */
    /* padding-left: unset; */
    min-width:1800px;
    height:920px;
}

#body-row{
overflow:scroll;
padding-bottom:5px;
}

#viewDiv {
    height: 81%;
}

#map_div{
    /*max-width:1180px;*/
    min-width:1100px;
    /* width:63%; */
    height:47em;
}

#metric-select {
    height: 7em;
    padding-top: 15px;
}

.input-controls-row {
    /*height: 5em;
    padding-bottom: 20px;
    */
    padding-left: 15px;
    /* background-color: #8AB8E6; */
}
.input-elements {
   /* padding-left: 15px;*/
}
#lidar-elev, #measured-elev {
    font-size: smaller;
}

.main_columns {
    background-color: #8AB8E6;
    padding-right: 15px;
    float: left;
    /*height: 100%;*/
    height: 100%;
    border-style: solid;
    border-color: gainsboro;
}

tr:nth-child(even) {
    background-color: ghostwhite;
}
tr:nth-child(odd) {
    background-color: rgb(219,238,255);
}

tr {
    padding-bottom: 10px;
    padding-top: 10px;
    /* font-size:x-large; */
    /* border: solid 1px black; */
    height: 40px;
}



th {
    font-size: 16px;
    font-weight: 600;
    background-color: #477db3;
    color: white;
    padding-left: 5px;
    height: 40px;
    width: 33.3%;
}
.table-row-label {
    font-size: 15px;
    font-weight:600;
    padding-left:5px;
    
}
.table{
    height:460px;
}
td{
    padding-left:5px;
}

td:not(.table-row-label) {
    font-size: 14px;
    text-align: left;
    padding-left:10px; 
}

#file-options-row {
    background-color: #194d80;
}

#metric_number {
font-size:30px;
padding-top:10px;
margin-bottom:0px;
}

#metric-dimensions {
}

#metric_units-year {

}

#metrics-period-display {
    height: 240px;
    width: 100%;
    border-bottom-style: solid;
    border-bottom-color: lightgray;
}
#regions_table {
    padding-left: 5px;
    font-size: 18px;
    border: solid 1px black;
    /* width:94%; */
    width: 108%;
    height: auto;
    text-align:left;
    border: none;
}

#links-info{
background-color:white;
color:black;
}

 #select-features{
     width:auto;
     height: 58%;
 }

.alert {
    padding: 20px;
    background-color: indianred;
    color: white;
}


.year_input{
    width:70px;
    text-align:center;

}

.support_org_desc {
    padding-bottom: 5px;
}


.save_options_item{
    list-style: none;


}

#metrics-query-select {
    z-index: 1000;
    position: absolute;
    display: inline;
    width: 300px;
    height: 400px;
    background-color: brown;
    top: 400px;
    left: 900px;
}

#about_info{
    display:flex;
    margin-top:10px
}

.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
    margin-right:15px;
}

    .closebtn:hover {
        color: black;
    }
/*.column {
    float: left;*/
/*width: 33.33%;*/
/*}*/
/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}
/*esri widget styles*/

#island_slider{
margin-left:-5px;
background-color:inherit;


}

.esri-view-height-less-than-medium .esri-popup__main-container, esri-feature__content-node {
    /* background-color: darkkhaki; */
}

.esri-popup__navigation .esri-popup__button {
    /*background-color: darkkhaki;*/
    
}

.esri-popup__footer .esri-popup__button{
font-weight: 800;
}

.esri-feature-table {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}


.esri-feature-table__title {
    content: "Tree Islands" !important;
    font-weight: 600;
    text-align: center;
    width: 183.34px;
}


#sliderDiv-label-0 {
    color: black;
    font-weight: bold;
}

.esri-slider--horizontal .esri-slider__track {
    height: 5px;
    width: 100%;
}

.esri-slider__thumb {
    background-color: darkslategray;
}

#sliderDiv {
    background-color: #00264c;
}


.esri-feature-table__header {
    background-color: #194d80;
    color: white;
}



.esri-button-menu .esri-button-menu__button {
    background-color: unset;
    font-size: 36px !important;
    padding-right:30px !important;
}

.esri-button-menu__item .esri-button-menu__item-label .esri-button-menu__item-label-content {
    padding: 0 7px;
    width: auto;
    font-weight:bold;
}
#legendDiv {
    width: 200px !important;
}

vaadin-grid-cell-content {
    width: 80px !important;
    color: black !important;
    font-size: 15px !important;
    font-weight: bold !important;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.esri-button-menu__button .esri-icon-handle-horizontal {
    background-color: white !important;
    color: #194d80 !important;
}

.esri-legend--card__carousel-title {
    display:none;
}

.esri-slider__max, .esri-slider__min {
margin:0px !important;
}

.esri-legend--card__carousel-indicator-container {
    width: 200px;
}


.chartlabel {
    font-size: 14px;
    font-weight: 6;
    font-family: sans-serif;
}

#line_hydrochart {
    background: darkslategray;
    overflow: scroll;
    overflow-y: hidden;

  }

.x.axis line {
    fill: gray !important;
}

.fa-info-circle {
    color: #175FA6;
    font-size: 18px;
    cursor: pointer;
    padding-left: 3px;
}

#info_text {
    border: double black 3px;
    border-radius:5px;
    z-index: 1000;
    position: absolute;
    display: none;
    padding: 0px;
    margin: 0px;
    background-color: white;
    max-width: 820px;
    max-height: 700px;
    top: 150px;
    left: 23%
}

#about_text {
    border: double black 3px;
    border-radius: 5px;
    z-index: 1000;
    position: absolute;
    display: inline;
    padding: 0px;
    margin: 0px;
    background-color: white;
    top: 75%;
    height: 100px;
    left: 45%;
    width: 700px
}


#save_form {
    border: double black 3px;
    border-radius: 5px;
    z-index: 1000;
    position: absolute;
    display: inline;
    padding: 0px;
    margin: 0px;
    background-color: white;
    top: 25%;
    height: 200px;
    left: 65%;
    width: 400px
}

.save_options_label{
    padding-left:20%;
    font-size: medium;
}

.active_link {
    cursor: pointer;
    color: royalblue;
}

    .active_link:hover {
        cursor: pointer;
        color: blue;
        text-decoration:underline;
        
    }

.info_main_subject {
    font-size: 14px;
    font-weight: bold;
}

#download_metadata {
    
    /* color: black; */
   
    width: 198px;
    
}

.metrics_info_defs {
    padding-bottom: 10px;
    padding-left: 5px;
}

.closebtn{
    color:black;
 
  
}

#about_specifics{
    /* margin-left:10px; */
    width: auto;
    margin-left:10px;
    margin-right:5px;
}


#sliderDiv {
    padding-left: 0px;
    padding-top: 20px;
    height: 35px;
    background-color: #8AB8E6
}

.axis {
    font: 10px sans-serif;
}

    .axis path,
    .axis line {
        fill: none;
        stroke: #000;
        shape-rendering: crispEdges;
        stroke-width: 1px;
    }

.esri-slider__thumb:hover{

    background-color:cornflowerblue;

}
#navbar {
    width: 1650px;
}
.esri-feature-table
.esri-grid__grid
.esri-column__menu-container.esri-button-menu{
    visibility:hidden;

}

.esri-button-menu
.esri-button-menu__button
{
    color:white;
}
/*
        when width is 1600px or greater
        .navbar 
        {
        width:1850px;
        }

        #map_div {
        width:1250px;
        max-width: unset;
        height:650px;

        }
        #viewDiv{
        height:670px;
        }

        #metrics-period-display{
        height:250px;
        }

        #links-info{
        height:325px;
        width:unset;
        }
        #line_hydrochart{
        width:1250px
        }

        when height is greater than 1700 and width is greater than 1600px

        #metrics_table_div{
         height:210px;
         }
        
        #regions_table{
          height:210px;
        }

    */
/*when height is less than 900*/
@media onlyscreen and (max-width: 900px) {
    #map_div {
        height: 480px;
    }

    #select-features {
        height: 85%;
    }
}

    
/*@media (aspect-ratio: 9/14) {
    .main_columns {
            height: 100%;
        }

        .body-content {
            height: 96%;
        }
    }*/
/*end of esri widget overrides*/

/*@media only screen and (min-width: 1200px) {
    #map_div{ width: 1590px; }

    #etree-main-div{
        width:1800px;
    }
}
*/
/*@media screen and (min-width: 1635px) {
    #map_div {
        width: 1190px;
    }

    #body_row {
        width: 1850px;
    }
}*/
/*#body_row {
    width: 1620px;
}
*/
/*@media screen and (max-width: 1520px) {
    #map_div {
        width: 900px;
    }
}*/