html, body {
   height: 100%;
    width: 100%;
}


body {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
}
.header_text{
font-weight: bold;
font-size: 18px;
}

#map_wrapper{
     float:left;
     color: #9c27b0;
     height: 500px;
      width: 100%;
}

#map {
     width: 100%;
       height: 100%;
}


#header {
  height: 22px;
  background-color: #FFF;
}
.logo{
    height: 20px;
}

a {
    color: #0078A8 !important;
    text-decoration: none;
    background-color: transparent;
}

.bg-primary{
 background-color: #1fc8e3 !important;

}

.btn-primary {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #0f6674;
    border-color: #0f6674;

}

.btn-primary:hover{
    background-color: #1fc8e3;
    border-color: #1fc8e3;

}



/*
warning: #ff1b28
*/


#side_bar{
    background-color: #0000FF;
    background-color: #FFFFFF;

    height:100%;
    float:left;
    width:100%;
}
@media (min-width: 768px) {
    #side_bar{
     width:360px;

    }
}


#nav_wrapper{
    height:30px;
    margin-top:5px;
}
#nav{
    padding:3px;
}
#tabs{
    margin-left:3px;
}
.tabs_line{
    margin-top: -1px;
    width:100%;
    border-top: 3px solid #0f6674;
    content: '';
}

.tab_but{
    margin: 0rem;
    border-radius: 3px     3px      0           0 !important;
}
#side_header{
    padding:3px;
}

#search_but{

    height:38px;
    margin:0px;
}
.search_wrapper{
    margin-bottom:5px;
}


#panels{
    width:360px;
    overflow-x: hidden;
    overflow-y: hidden;
    border-top: 1px solid #999;
    background-color: #ff0000;
     background-color: #fff;
     padding:0px;

 }
 #panel_scroll{
    width:5000px;
    /*height:100%;*/

 }
.scroll_wrapper{
    overflow-y: auto;
}
 .panel{
    width:360px;

    float: left;

     background-color: #00ffff;
     background-color: #fff;
     height:100%;
 }

.card-body {
    padding: 0px;
}

#browse_panel .card-body {
    padding: 1.25rem;
}

.panel .list-group-item{
     font-size: .75rem;
     border: 0;

}
.small{
     font-size: .65rem;
     border: 0;

}
#tab_panels{
      display:none;

      z-index:10;
      height:100%;

 }


#result_wrapper .content_left{
    width:100px;
    float:left;
}

#result_wrapper .content_right{
  width:235px;
  float:left;
}
#result_total .spinner-border{
    display:none;

}
a.disabled {
  pointer-events: none;
  cursor: default;
  color:#333;
}

#map_panel_wrapper,#download_panel_wrapper{

 display:none;
 width:360px;
 height:100%;
 background-color: #fff;

}
#map_panel_wrapper{
    clip-path: polygon(0 0, 600px 0%, 600px 100%, 0% 100%);
    z-index:2000000;
    position:absolute;
}

#map_panel_scroll{
    width:10px;
    float:left;
}
#map_panel_scroll_content{
    width:10px;
}
#map_panel{
    width:350px;
    float:left;
}
.med_pad{
  padding: 5px;
}


 .lil_pad {
   padding: 1px;
}

.mr-3 {
  border: solid #222;
  border-width: 0 1px 1px 0;
  display: inline;
  cursor: pointer;
  padding: 3px;
  position: absolute;
  right: 0;
  margin-top: 10px;
}
.grip{

  position:absolute;

margin-top:30px;
margin-left:-15px;

}

.list-group-item a.btn.collapsed span {
  transform: rotate(40deg);
  -webkit-transform: rotate(40deg);
  transition: .3s transform ease-in-out;
}


.list-group-item a.btn span {
  transform: rotate(-140deg);
  -webkit-transform: rotate(-140deg);
  transition: .3s transform ease-in-out;
}


#result_wrapper .list-group-item{
    border-bottom: 1px solid grey;
    padding: 5px;
}

#result_wrapper .list-group-item:hover {
    background-color: #e4e4e4;
}

#layers_wrapper{
    height:100%
}
#details_panel{
    font-size: .75rem !important;
}


#panels .btn,#map_panel .btn {
  padding: 3px;
  margin-right:3px;
  max-height: 25px;
}

.btn {
  box-shadow: none !important;
  outline: 0;
  font-size: .8rem;
  padding: .275rem .55rem;
  margin: .1rem;
}
.btn:active,.btn:focus {
 /*outline: 1px solid e4e4e4;*/
}
.btn-primary:focus {
 /*border-width:2px;
 outline-offset:2px;
  border-color: #01395c50;*/
}
.dropdown-toggle{
/*for map icon dropdown*/
 height:auto !important;
}
.panel .form-control, #map_panel .btn {
    width: auto;
    height:27px;
}



.item_title{
    font-size: .7rem;

}
.total_results{
    font-size: .75rem;
    font-weight: bold;
    float:right;
    margin-right:3px;
}
.total_showing{
    font-size: .68rem;
}

#sort_by_dropdown_label{
    font-size: .7rem;
    font-weight: bold;
}
#sort_by_dropdown{
    font-size: .7rem;
}

.list-group-item{

 width: 100%;

}


#basemaps-wrapper{
    display:none;
}

.item_collection {
    float: right;
    margin-left: 10px;
      margin-right: 10px;
}
.item_title {
    font-size: 100%;
}
.item_title_lg{
    font-size: 130%;
}
#item_thumb {
    position: relative;
    float: right;
    top: 0px;
    display: inline-block;
    margin: 5px;
    width:200px;
    height:auto;
}

#item_thumb img{
 border: solid grey 1px;
}

.item_thumb_small {
    position: relative;
    float: right;
    top: 0px;
    display: inline-block;
    margin: 5px;
    width:50px;
    height:auto;
}
.item_thumb_small img{
     width:100%;
     border: solid grey 1px;
}

 .chip {
      display: inline-block;
      padding: 0 10px;
      height: 30px;
      font-size: .8rem;
      line-height: 30px;
      border-radius: 25px;
      background-color: #f1f1f1;
      margin: 3px;
      /*overflow:hidden;*/
    }

.chip_x {
    padding-left: 10px;
    margin-right: -10px;
}

.popup .leaflet-popup-tip,
.popup .leaflet-popup-content-wrapper {
    background: #f7f7f7;

    overflow: auto;

}
.leaflet-popup-content-wrapper{

 height: 120px;
}

#popup_scroll{
    height: 75px;
     width: 300px;

    overflow: auto;
}
#popup_control_table{
    width:100%;
}
.leaflet-popup-content{
    width: 290px;
}

.leaflet-container{
    background: #cccccc;
}

.leaflet-ruler-clicked{
    border-color: #0290ce !important;
}


.popup  tr:nth-child(even) {background: rgba(51, 181, 229, 0.4);}
.popup  tr:nth-child(odd) {background: #fff}

#sortable_layers {
list-style-type: none;
margin: 0;
padding: 0;
width: 100%; }
#sortable_layers li {
margin: 0 3px 3px 3px;
padding: 0.4em; padding-left: 1.5em;
height: 100px;
}

#sortable_layers li span {
position: absolute;
}
#sortable_layers li:hover {
    background-color: #0490ce5c;
}

#basemap_layer{
    list-style-type: none;
    /* pad bottom to for color pallet*/
    height:240px;
}

.highlight{
    background: #0490ce91 !important;
}

.ui-slider-horizontal {
    height: 4px;
    width: 100px;
    margin-top:5px;
    margin-left:5px;

}
.ui-slider .ui-slider-handle {
    width: 10px;
    height: 10px;
    margin-left: -5px;
}
.ui-slider-range { background: #007bff; }

.slider-range {
    margin-bottom: 15px;
    margin-top: 15px;
   /* width: 100% !important;*/
}
.slider_toggle {
    margin-top: -30px;

    float: right;

}
.slider_box{
    float:right;
    text-align: center;
     margin-top:-20px;

}
.lil label{
    font-size: .9em;
}
.slider_box label{
    margin-bottom: 0px;

}



.webservice{

     margin-bottom: 0px;
      padding-top: 3px;
}

.color_box {
     float:right;
      margin-top:-20px;
}


.thumbnail {
    height: 67px;
    width: 100px;
    border: 1px solid #fff;
    margin: 1px;

 }
.thumbnail_small {
    height: 44px;
    width: 75px;
    border: 1px solid #fff;
    margin: 1px;

 }

 .pub_icon{
    display:inline;
 }
 .pub_icon img{
    height: 16px;

 }
 .pub_icon_med{
    float: right;
 }
 .pub_icon_med img{
     height: 24px;
 }

 #basemap_layer_dropdown li{
    cursor:pointer;
 }

 .drag_li{
    cursor:grab;
    position:relative;
 }
  .drag_li:active{
    cursor:grabbing;
 }
 .fa-table {
  color: white;
}


.fixed_headers {
  border-collapse: collapse;
  width:100%;

}
.fixed_headers td,
.fixed_headers thead th {
  padding: 5px;
  text-align: left;

}
.fixed_headers thead th span{
 cursor:pointer;
}
.fixed_headers thead, textarea {
  background-color: #333;
  color: #FDFDFD;
}
.fixed_headers thead tr {
  position: relative;
}
.fixed_headers tbody tr:nth-child(even) {
  background-color: #DDD;
}
.fixed_headers tbody tr:hover {
  background-color: #0490ce;
  cursor:pointer;
}



.fixed_headers thead th {
  position: sticky;
  top: 0;  /* REQUIRED: https://stackoverflow.com/a/43707215 */
  background-color: #333;
  z-index: 10;
  resize: horizontal;
  overflow: auto;
  min-width: 70px;
}
#data_table_wrapper{
    background-color:#FFF;
    float:left;
    width:100%;
    display:none;
    position: relative;
}

#data_table{
    height: 300px;
    overflow: auto;
    width:100%;

}
.data_table_close {
    position: absolute;
    top: 0;
    right: 0;
}
.data_table_download0{
    position: absolute;
    top: 0;
    right: 60px;
}
.data_table_download1{
    position: absolute;
    top: 0;
    right: 30px;
}

#table_bounds_checkbox{
    margin-left:10px;
}


.attr_table tbody tr:nth-child(even) {
  background-color: #DDD;
}

#data_table_wrapper .item {white-space: nowrap;display:inline  }

#data_table_export{display:inline}


.date_field {
  width: 90px;
}
.inline{
    display:inline-block;
}
.filter_slider_box{
    width:80%;
}

/* DRAW */
.leaflet-draw-but {
    height: 35px;
    width: 35px;
    background-image: url(../images/icons/pen-outline.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
}
.leaflet-draw-toolbar{
    display:none;
}
.leaflet-draw-but-active {
    background-image: url(../images/icons/pen-solid.png);
}
.leaflet-draw-clicked {
    border-color: #0290ce !important;
}

/*close - icon licence https://fontawesome.com/license*/
.leaflet-close-but {
    height: 30px;
    width: 30px;
    background-image: url(../images/icons/times-solid.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
}

.leaflet-spinner{
    color:black;
}

/*split control*/
.split_table{
    height:24px;
    width:48px;
    display:inline-table;
    margin-right:5px;
    margin-top:3px;
    float:right;
}
.split_left{
    border-top:    1px solid  #999;
    border-right:  1px dashed #0290ce;
    border-bottom: 1px solid #999;
    border-left:   1px solid #999;
    cursor: pointer;

}
.split_right{
    border-top:    1px solid #999;
    border-right:  1px solid #999;
    border-bottom: 1px solid #999;
    border-left:   1px dashed #0290ce;
    cursor: pointer;
}
.split_cell:hover{
    background-color:#ccc;
}
.split_cell_active{
    background-color:#ccc;
}
.split_middle{
    width:5px;
}
.leaflet-sbs{
    display:none;
}

.data_table_spinner_wrapper{
    float:left;
    width:1rem;
    height:1rem;
}

.marker {
   width: 16px;
  height: 16px;
  display: block;
  left: -8px;
  top: -8px;
  position: relative;
  border-radius: 16px 16px 0;
  transform: rotate(45deg);
  border: 2px solid rgba(255, 255, 255, 1);
  background-color:rgba(255, 255, 255, 0.5);
  }

.legend{
    background-color: #fff;
    border: 2px solid #ccc;

    line-height: 26px;
    display: block;
    text-decoration: none;
    color: black;
    border-radius: 4px;
    width:150px;
    cursor: default;
    padding:5px;
    max-height:200px;
    overflow: auto;
}


.legend_title{
   font-size: .8rem;
   font-weight: bold;
}

.legend_label{
    margin-left:10px;
    font-size: .75rem;
    font-weight: bold;
}


.modal-dialog{
    overflow-y: initial !important
}
#disclaimer {
    Z-INDEX: 10000001;
}
#table_query {
    Z-INDEX: 10000002;
}
.modal-backdrop {
    Z-INDEX: 10000000;
}
#disclaimer_text{
    height: 400px;
    overflow-y: auto;
}


body.modal-open {
  height: 100vh;
  overflow-y: hidden;
}

.description p { display: inline }

#disclaimer_heading{
   font-size: large;
   padding: .2rem;
}

#table_query_fields{
    max-height: 200px;
    margin-bottom: 10px;
    overflow:scroll;
    -webkit-overflow-scrolling: touch;
}

#table_query_fields .list-group-item {
    padding: 0.3rem 1.0rem;
}

#table_query_operators{
    max-width: 100%;
    overflow-x:scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

#table_query_operators .list-group-item {
      padding: 0.3rem 1.0rem;
      white-space: nowrap
}
#table_query_operators .list-group-item:first-child {
    border-top-left-radius: 0.0rem;
    border-top-right-radius: 0.0rem;
}
#data_table_wrapper .btn {

    height: 20px;
    padding: 0 .15rem;
    width: 22px;
}

.disabled_link {
  pointer-events: none;
  color:#ccc !important;
}

#mode{
padding:0;width:75%;text-align: center;
display:none;
}
.web_service_input{
    width:100%
}

a[aria-disabled="true"] {
  color: currentColor;
  display: inline-block;  /* For IE11/ MS Edge bug */
  pointer-events: none;
  text-decoration: none;
}

 .form-label{
        display: block;
        padding-top: 10px;
        padding-left: 5px;
        font-weight: 800;
    }
.font-weight-bold{
  font-weight: bold;

}
.form-check-input{
    min-width:13px;

}
.filter_list{
    max-height:150px;
    overflow-y: auto;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 0.25rem;
}

.overlay {
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;

  background-color: #fff;
  z-index: 10006;
  display: flex;
    align-items: center;
}
.progress{
    width:200px;
    margin: auto;

}
.container{
    display:none;
}
.badge {
    max-height: 20px;
}

#props_table td{
vertical-align: top;
  text-align: left;

}

.wrap_word {
   overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.accordion-button:not(.collapsed) {
    color: #212529;
    background-color: #ffffff;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);

}
.accordion{
    border: 1px solid rgba(0,0,0,.125);

}

.leaflet-tooltip.polygon_label {
  background-color: transparent;
  border: transparent;
  box-shadow: none;
  color:#b5ffb4;
  font-style: italic;
  font-weight: lighter;
  -webkit-filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, .7));
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, .7));
    font-size: 14px;
  }

.leaflet-div-icon {
  width:0;
  height:0;
  border: 0;
  padding: 0;
}

.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
    border: none !important;
}
.marker_default path {
    color : black;
}

.shadow {
  -webkit-filter: drop-shadow( 1px 1px 1px rgba(0, 0, 0, .7));
  filter: drop-shadow( 1px 1px 1px rgba(0, 0, 0, .7));
  /* Similar syntax to box-shadow */
}

.marker-cluster-warn {
    background-color: rgba(255, 255, 0, 0.6);
}

.marker-cluster-warn {
    background-clip: padding-box;
    border-radius: 20px;
    width: 40px;
    height: 40px;
}
.marker-cluster-warn div {

    margin-left: 5px;
    margin-top: 5px;
    text-align: center;
    border-radius: 20px;
    font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
    width: 30px;
    background-color: rgba(241, 255, 0, 0.6);
}

.marker-cluster-warn span {
    line-height: 30px;
}
.date_field {position: relative; z-index:10000;}
.plot {
margin-bottom: 45px !important;
max-height: unset !important;
}

.map_label{
width: 115px !important;

}
input.label{
    margin-top:5px;
    font-weight:bold;

}

.hyper{
    color: blue;
    text-decoration: underline;
    cursor:pointer;
}