/* DT STYLE*/

:root {
    --dt-row-selected: transparent !important;
}


table.dataTable tbody tr.selected td,
table.dataTable tbody td.selected {
    border-top-color: white !important;
    box-shadow: inset 0 0 0 9999px #00649c !important;
	color: white;
}


table.dataTable tbody tr:active td {
    background-color: #00649c !important;
}

table.dataTable tbody tr:hover, table.dataTable tbody tr:hover td {
    background-color: #DDDDDD !important;
}



/* jquery.dataTables.min.css | http://127.0.0.1:5530/dt-core-1.13.6/css/jquery.dataTables.min.css */
/*
table.dataTable.hover > tbody > tr.selected:hover > *, table.dataTable.display > tbody > tr.selected:hover > * {
  box-shadow: inset 0 0 0 9999px 9999px #CBDAEC!important; 
  color: black;
}
*/


/*
  
:root {
  --dt-row-selected: 0, 100, 156, 1.0; 
}

table.dataTable tr.selected:hover td {
  background-color: orange !important;  
}

table.dataTable tr.selected:active td {
  background-color: red !important;  
}

*/

/*  
table.dataTable tr.selected td, table.dataTable td.selected {
  background-color: #00649c !important;
  border: 1px solid white;
}
 */
 
 
/* DT STYLE -ENDE- */
 
.leaflet-control-zoomhome-home {
  font-size: 1.2em !important; /* Adjust this value to make the icon smaller */
}

.leaflet-control-zoomhome a {
  width: 26px !important; /* Match the size of standard zoom buttons */
  height: 26px !important;
  line-height: 26px !important;
}
   
#itnrw_logo{
  position: absolute;
  right: 10px;
  top: 2px;
}
  
img {
  width: 160px;
}
  
.fa-solid {
  margin-left: 10px;
}
  
body {
  background-color: #ddd;
  font-family: Arial;
}
  
h3 {
  font-family:Arial;
}

h6 {
	font-style: italic;
}
        
.navbar-default{
  background-color: white;
  font-weight:600;
  font-family:Arial;
  color: #95B8D8;
  border-bottom: 5px solid #00639b;
}
        
.navbar-default .navbar-brand {
  color: #00649C;
}
        
.navbar-default .navbar-brand:hover {
  color:#00649C;
}
        
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
  color: white;
  background-color: #00649C;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
  /* color: #555; */
  /* background-color: #fff; */
  color: white;
  background-color: #00649C;
}

.nav-tabs > li > a {
  /* color: #555; */
  /* background-color: #fff; */
  color: #444;
  background-color: #eee;
}

.nav > li > a:active, .nav > li > a:focus, .nav > li > a:hover {
  color: black;
}

.nav-tabs:first-child{
  margin-left: 15px;
}

.btn-default {
  background-color: white;
}

.btn-default:hover {
  color:#00649C;
  background-color: white;
}

.btn-default.active, .btn-default:active, .open > .dropdown-toggle.btn-default {
  /* background-color: #e6e6e6; */
  background-color: #eee;
}

.btn-default.active.focus, .btn-default.active:focus, .btn-default.active:hover, .btn-default:active.focus, .btn-default:active:focus, .btn-default:active:hover, .open > .dropdown-toggle.btn-default.focus, .open > .dropdown-toggle.btn-default:focus, .open > .dropdown-toggle.btn-default:hover {
  /* background-color: #d4d4d4; */
  background-color: #eee;
}
  
button, input, select, textarea {
  font-family: Arial;
}
        
.box-header {
  color:#00649C;
}
        
#Download1 {
  margin-top: 10px;
  background-color: white;
}
        
#Download2 {
  margin-top: 10px;
  background-color: white;
}
  
/* sidebar-menue */
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary, .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary {
  background: #00649C;
}

.irs--shiny .irs-from, .irs--shiny .irs-to, .irs--shiny .irs-single {
  background-color: #00649C;
}

.irs--shiny .irs-bar {
  border-top: 1px solid #00649C;
  border-bottom: 1px solid #00649C;
  background: #00649C;
}

/* bootstrap-switch.min.css */
.bootstrap-switch.bootstrap-switch-focused {
  /* border-color: #66afe9; */
  /* -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6); */
  /* box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6); */
  border-color: #adadad;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.bootstrap-switch:hover {
  border: 1px solid #adadad;
}

/* bootstrap.min.css */
.checkbox input[type='checkbox'], .checkbox-inline input[type='checkbox'], .radio input[type='radio'], .radio-inline input[type='radio'] {
  accent-color: #00649C;
}

/* sidebar background */
.well {
  /* background-color: #f5f5f5; */
  background-color: white;
}

.js-plotly-plot .plotly [data-title]::after {
  /* background: rgb(105, 115, 138); */
  content: attr(data-title);
  background: #00649C;
  color: rgb(255, 255, 255);
  padding: 8px 10px;
  font-size: 12px;
  line-height: 12px;
  white-space: nowrap;
  margin-right: -18px;
  border-radius: 2px;
  color: rgb(255, 255, 255);
}

.dropdown-menu > li > a:hover {
  /* background-color: #e1e3e9; */
  background-color: #eee;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
  /* background-color: #337ab7; */
  background-color: #ddd;
  color: black;
}
        
#expr-container .bs-select-all {
  display: none;
}
  
#expr-container .bs-deselect-all {
  width: 100% !important;
}
  
.dropdown-header .text { 
  font-weight: bold;
  font-size: 14px;
} 
  
.dropdown-header {
  /* white-space: nowrap; */
  white-space: normal;
}

.dropdown-menu > li > a {
  /* white-space: nowrap; */
  white-space: normal;
}
  
.ldBar path.mainline {
  stroke-width: 2;
  /*stroke: #09f;*/
  stroke: #00639b;
  stroke-linecap: round;
}
  
.ldBar path.baseline {
  stroke-width: 10;
  /*stroke: #09f;*/
  stroke: white;
  stroke-linecap: round;
}


#plot_container {
  height: calc(100vh - 250px);
  padding: 0;  /* Remove default padding */
}
  
#plot_container2 {
  height: calc(50vh - 176px);
  padding: 0;  /* Remove default padding */
  display: flex;
  flex-direction: column;
}


/* 
#plot_container3 {
  height: calc(100vh - 280px);
  padding: 0;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  overflow: hidden;  
} */


/* Box container for the map */
#plot_container3 {
  min-height: 695px;  /* Set a base minimum height instead of calc */
  padding: 0;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  overflow: hidden;
}


/* Box header */
#plot_container3 .box-header {
  padding: 7px 10px;
  min-height: 35px;
}
    
#legendA1 {
  color: #00639C;
}

#legendA2 {
  color: #eb4a00;
}
  
#legendA3 {
  color: #73b512;
}
  
#legendA4 {
  color: #faa814;
}
  
#legendA5 {
  color: #882345;
}

/* 
.leaflet-container {
  background: #ffffff;
}
*/

.btn-default {
  border: 2px solid black;
}

.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
  border: 2px solid black;
}
/*
#leafdown {
  height: calc(100vh - 290px) !important;
}

#leafdown {
  flex: 1;
  width: 100%;
  min-height: 600px;  
  height: 100% !important;
}
*/


/* Map container */
#leafdown {
 /* height: calc(100vh - 415px) !important; */
  height: calc(100vh - 257px) !important;
  width: 100%;
  min-height: 695px;
}


/* Ensure the leaflet container takes full height */
.leaflet-container {
  background: #ffffff;
  height: 100% !important;
  width: 100%;
}


/* Map container wrapper */
.map-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: calc(100% - 35px); /* Subtract header height */
}

  
.slider-animate-button { 
  font-size: 15pt !important;
}
  
.leaflet-overlay-pane path.leaflet-interactive {
  stroke: black !important; /* Ändert die Umrandungsfarbe des selektierten Polygons */
}

.slider-animate-button,
.slider-animate-button:active,
.slider-animate-button:focus {
  color: #00649c;
  opacity: 1;
}

.slider-animate-button:hover {
  opacity: 0.5;
}
    
@-moz-document url-prefix() {
  #A111 {
    font-size: 2em;
    line-height: 0;
    padding-bottom: 1rem;
  }
}    
  
/* Element | http://127.0.0.1:7879/ */
path.leaflet-interactive:nth-child(n+6) {
  /*stroke: red !important;*/
}

.pretty input:checked~.state.p-success label:after, .pretty.p-toggle .state.p-success label:after {
  background-color: #00649c !important;
}

.pretty.p-switch input:checked ~ .state.p-success::before {
  /* border-color: #5cb85c; */
  border-color: #00649c !important;
}

#fokus > h3:nth-child(1) {
  font-size: 1em;
  font-weight: bold;
}

#tabset2 {
  margin-left: 0px;
}

.leaflet-control-layers input[type='checkbox'] {
  accent-color: #00649c;
}

/* 
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled,
table.dataTable thead .sorting:after, 
table.dataTable thead .sorting_asc:after, 
table.dataTable thead .sorting_desc:after {
  color : red;
  opacity: 0.6 !important;
}
*/
  
.btn-primary {
    color: #fff;
    background-color: #00649c !important;  /* Your custom red color */
    border-color: #00649c !important;
	padding: 7px 17px !important;
}

/* Hover state */
.btn-primary:hover {
    color: #fff;
    background-color: #007CAF !important;  /* Darker shade for hover */
    border-color: #007CAF !important;
}

/* Active state */
.btn-primary:active {
    color: #fff;
    background-color: #95B8D8 !important;  /* Even darker for active state */
    border-color: #95B8D8 !important;
}
/* jquery.dataTables.min.css | http://127.0.0.1:6511/dt-core-1.13.4/css/jquery.dataTables.min.css */

table.dataTable {
  cursor: pointer;
}

 
 /* Ensure the plots themselves maintain aspect ratio */
.plotly-graph-div {
  height: 100% !important;
}

/* Adjust sidebar panel */
.sidebar-panel {
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

/* Adjust main panel */
.main-panel {
  max-height: calc(100vh - 100px);
  overflow-y: hidden;
}

/* Ensure minimum heights for readability */
@media screen and (min-height: 768px) {
  #plot_container2 {
    min-height: 300px;
  }
}

@media screen and (max-height: 767px) {
  #plot_container2 {
    min-height: 300px;
  }
}





/* Style the box title to take minimal space */
.box-header {
  padding: 7px 10px;
  min-height: 55px;
}

/* Make plotly container fill available space */
.plotly-graph-div {
  height: 100% !important;
  width: 100% !important;
}

/* Style the plot output container */
.plot-output-container {
  flex: 1;
  width: 100%;
  height: calc(100% - 55px); /* Subtract box header height */
  position: relative;
}

.box {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}

/* Ensure the plot wrapper takes full height */
.plot-wrapper {
  flex: 1;
  position: relative;
}




/* Style the map container wrapper */
.map-wrapper {
  height: 100%;
  width: 100%;
  position: relative;
}



/* Daten Download 

      .custom-dropdown {
        position: relative;
        display: inline-block;
        margin: 10px;
      }

      .dropbtn {
        background-color: #337ab7;
        color: white;
        padding: 10px;
        font-size: 14px;
        border: none;
        cursor: pointer;
        border-radius: 4px;
      }

      .dropbtn::after {
        content: '';
        display: inline-block;
        margin-left: 8px;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid white;
        vertical-align: middle;
      }

      .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        width: 100%;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
      }

      .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
      }

      .dropdown-content a:hover {
        background-color: #f1f1f1;
      }

      .custom-dropdown:hover .dropdown-content {
        display: block;
      }

      .custom-dropdown:hover .dropbtn {
        background-color: #286090;
      }
	  
*/
/*
.custom-dropdown {
        position: relative;
        display: inline-block;
        margin: 0px;
      }
      
      .dropbtn {
        background-color: white;
        color: black;
        padding: 6px 12px;
        border: 2px solid black;
        cursor: pointer;
        border-radius: 3px;
        min-width: 140px;
      }
      
      .dropbtn i {
        margin-right: 8px;
      }
      
      .dropbtn::after {
        content: '';
        display: inline-block;
        margin-left: 8px;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid black;
        vertical-align: middle;
      }
      
      .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 140px;
        width: 100%;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1000;
      }
      
      .dropdown-content a {
        color: black;
        padding: 6px 16px;
        text-decoration: none;
        display: block;
        white-space: nowrap;
      }
      
      .dropdown-content a:hover {
        background-color: #eeeeee;
      }

      .dropdown-content a:active {
        background-color: #00649c !important;
        color: white !important;
      }
      
      .custom-dropdown:hover .dropdown-content,
      .custom-dropdown:focus-within .dropdown-content {
        display: block;
      }
      
      .custom-dropdown:hover .dropbtn {
        color: #00649c;
        border-color: #dddddd;
      }

      .custom-dropdown:hover .dropbtn::after {
        border-top-color: #00649c;
      }
      
      @media screen and (max-width: 768px) {
        .custom-dropdown {
          margin: 5px;
          width: 100%;
          max-width: 300px;
        }
        
        .dropbtn {
          width: 100%;
          padding: 15px;
        }
        
        .dropdown-content {
          width: 100%;
        }
        
        .dropdown-content a {
          padding: 15px;
        }

*/


/* styles5.css | http://127.0.0.1:3544/styles5.css */

.dropbtn { 
  padding: 6px 12px;
  background-color: white;
  border-radius: 3px;
  border: 2px solid black;
  width: 160px;
}


.dropbtn:hover { 
  border: 2px solid #dddddd;
  color: #00649c
}


.dropdown-menu > li > a:active {
  background-color: #dddddd;
}

/* When dropdown is shown (open) */
.dropbtn.show {
  color: #00649c;
  border: 2px solid #dddddd;
}


#downloadDropdown {
  width: 160px;
}


.drill_header {
  font-size: 14px;
  font-weight: bold;
}


/* SocialMedia */

#socialMedia {
  display: flex;
  font-size: 2em;
  justify-content: center;
}


#socialMedia > a:nth-child(1) > i:nth-child(1) {
  padding: 5px;
}


#socialMedia > a:nth-child(2) > i:nth-child(1) {
  padding: 5px;
}

#socialMedia > a:nth-child(3) > i:nth-child(1) {
  padding: 5px;
}

#socialMedia > a:nth-child(4) > i:nth-child(1) {
  padding: 5px;
}


.box-footer {
  /* border-top: 1px solid #f4f4f4; */
  /* margin-top: -20px; */
  font-style: italic !important;
  text-align: right !important;
  margin-right: 10px;
  font-size: 12px;
}



#shareButton {
  padding: 6px 20px 6px 20px;
}

