
/* remove tab row background color */
.nav-tabs-custom {
  background-color: transparent !important;
}
/* lessen vertical padding on tabs */
.nav-tabs-custom > ul.nav-tabs > li > a {
  padding-top: 5px !important;
  padding-bottom: 6px !important;
}

.main-header {
  background-color: #3c8dbc !important;
}

/* header logo */
.main-header > .logo {
  text-align: left;
  padding-left: 200px;
  margin: 10px;
  background-image: url(logo.svg);
  background-repeat: no-repeat;
  background-position-y: center;
}

/* make the sidebar toggle button wider to accomodate text */
.sidebar-toggle {
  width: 100px;
}
/* change the sidebar toggle button to "sliders-h" */
.main-header .sidebar-toggle:before {
  content: "\f1de";
}
/* change text in sidebar toggle button */
.sidebar-toggle > .sr-only {
  /* match font */
  font-family: 'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;
  /* un-hide "screen reader only" styles */
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  margin-left: 4px;
  margin-top: 0px;
  visibility: hidden;
}
.sidebar-toggle > .sr-only:after {
  visibility: visible;
  position: absolute;
  top: 0;
  left: 0;
  content: "Filters";
}
/* decrease vertical spacing between sidebar form fields */
.sidebar-menu .form-group.shiny-input-container {
  margin-bottom: 0 !important;
}
/* remove vertical spacing between sidebar labels and form fields */
.sidebar-menu .control-label {
  margin-bottom: 0 !important;
}
/* sidebar help text */
.sidebar-menu .control-label, .sidebar-menu .help-text {
  font-weight: 300;
  opacity: 0.8;
}

/* style Leaflet layer control */
.leaflet-control-layers {
  padding: 6px 8px;
  font: 14px/16px Arial, Helvetica, sans-serif;
  background: white;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 0 15px rgb(0 0 0 / 20%);
  border-radius: 5px;
}


.leafsidebar  {
    top: 15px !important;
}


#controls {
               position: absolute;
               top: 295px;
               right: 30px;
               z-index: 400;
               background-color: #005473;
               padding: 10px;
               width: 280px;
               max-height: 85vh;
               overflow: auto;
             }




.leafsidebar-content {z-index: 6 !important}


.leafsidebar-tabs > li.active, .leafsidebar-tabs > ul > li.active {
	background-color: #3c8dbc !important;
}


.leafsidebar-header {
	background-color: #3c8dbc !important;
}

.sweet-alert {
    background-color: #3c8dbc !important;
    color: white !important;

}

.panel-body {
    background-color: #3c8dbc !important;
    color: white !important;
    font-family: Quicksand !important;
}



#auth-go_auth {
      background-color: blue;
}


.btn#auth-go_auth {
    background-color: #2f65bd;
    color: white;
    border:0px;
}

.btn#auth-go_auth:hover {
    background-color: #8eb0e6;
    color: white;
    border:0px;
}

.panel-body img{
  margin-top: 20px;
}


.control-label {
  margin-top: 10px;
}


.panel-primary h3{
  display: none;
}


.leafsidebar-header h3{
  margin-bottom: 15px;}


#mykrillImage {
  content: url('krill.png');
}

li.active #mykrillImage {
  content: url('krill.png');
}

#myship {
  content: url('ship3.png');
}

li.active #myship {
  content: url('ship3.png');
}

#mymooring {
  content: url('mooring.png');
}

li.active #mymooring {
  content: url('mooring.png');
}





.modal-content {
  background-color:  #3c8dbc !important;
  color: white !important;
  text-align: center!important;
}

.modal-dialog {
  margin-top:10%;
}


.shiny-input-container {
width: 100% !important;
}


p {
text-align: justify !important;}



#map{height: 100vh !important;}
#map{z-index: 5 !important;}
#map_ap{height: 100vh !important;}
#map_ap{z-index: 5 !important;}
#map_ea{height: 100vh !important;}
#map_ea{z-index: 5 !important;}
#map_rs{height: 100vh !important;}
#map_rs{z-index: 5 !important;}


#rotation{text-align: left !important;
          margin-left: 40px;
          width: 45% !important;
          float: left;}


.action_map {text-align: left !important;
          margin-right: 50px;
          width: 30%;
          float: right;}

#load_map {
      background-color: blue;
}


.btn#load_map {
    background-color: #2f65bd;
    color: white;
    border:0px;
}

.btn#load_map:hover {
    background-color: #8eb0e6;
    color: white;
    border:0px;
}

.action_wrapper {display: inline-block;
                 text-align: left;
                  width: 100%;}

.btn#load_map{margin-left: 75px;}


.panel{width: 400px !important;
      margin: auto !important}

.col-sm-offset-4{margin: auto !important}

@media (min-width:768px) {
  .col-sm-4 {
    float:none !important;
  }}


#mysidebarid {
/*  position: fixed; /* Ensure the sidebar stays in place */
/*  width: 250px; /* Adjust based on your sidebar width */
/* height: 480px;
  height: 85vp !important; /* Full height of the viewport */
  overflow-y: auto; /* Enables scrolling if content overflows */
  scrollbar-width: none; /* For Firefox, hides the scrollbar */
	background-color: #fff;
}

#mysidebarid::-webkit-scrollbar {
  display: none; /* Hides scrollbar in Chrome, Safari, Edge */
}


.leafsidebar-tabs {
  background-color: #005473!important;
}

.leafsidebar-content {
  background-color: #f1fbff!important;
}


.well {
  background-color: #f1fbff;
  border: 1px solid #f1fbff;
}

label .checkbox {
  background-color: #0085b7; /* Blue color */
  border-color: #0085b7;
}

.leafsidebar-tabs > ul > li > a:hover {
  background-color: #0085b7; /* Blue color */
  border-color: #0085b7;
}


.leaflet-popup-content-wrapper {
  background-color: #f1fbff;
  border: 1px solid #f1fbff;}



.global-footer { background-color: #0085b7;
                 width: 100vw;
                }

.footer-last {
  display: flex;
  flex-direction: column;
  height: 80px;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 20px;
  background-color: #005473;
  font-size: 12px;
  line-height: 20px;
  font-weight: 400;
  padding: 4px 0;
  color: white;
}



.footer-last a {
    color: white;
    text-decoration: underline;
  }

.footer-last span {
  padding:15px;
}

.justify-content-center {
  display:flex;
  justify-content:center!important;
}

.text-center {
text-align:center!important,
padding: 1rem;
}


.responsive-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: calc(3 * 500px + 2 * 1rem); /* 1232px */
  margin: 0 auto;
  padding: 20px 20px;
  width: 100%;
  color: white;
}

.responsive-sections a {
    color: white;
}

@media (max-width: 1232px) { /* Match max-width */
  .responsive-sections {
    padding: 0 10px;
  }
}

.section {
  min-width: 200px;
  max-width: 600px;
  padding: 20px 0 60px;
  width: 100%;
  background: #0085b7;
}

.section h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.5px;
}

.section ul {
  font-size: 14px;
  line-height: 24px;
}


.myicon {
    fill: #0085b7;
    stroke: #0085b7 !important;
    filter: invert(100%);
    padding-right: 10px;
}




.leaflet-popup-content {
  font-size: 13px
}

.leaflet-popup-content h4 {
  font-size: 18px
}

.leaflet-control-zoom {margin-top: 15px!important}


#controls h4 {
  font-size: 16px;
  margin-top: 8px;
    margin-bottom: 8px;
}


#controls .checkbox {
  font-size: 13px;
  padding-bottom: 0px;
}
