.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 24px;
    margin: 0px 15px 0px 15px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #339999;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .switch-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .switch-slider {
    background-color: #339999;
  }
  
  input:focus + .switch-slider {
    box-shadow: 0 0 1px #339999;
  }
  
  input:checked + .switch-slider:before {
    -webkit-transform: translateX(35px);
    -ms-transform: translateX(35px);
    transform: translateX(35px);
  }
  
  /* Rounded sliders */
  .switch-slider.round {
    border-radius: 24px;
  }
  
  .switch-slider.round:before {
    border-radius: 50%;
  }

.tooltip {
    display: inline-block;
}

.tooltip-wrapper {}

.btn[disabled] {
    background: #aac6c9;
}

.leaflet-tooltip {
    background-color: #333;
    color: #d3d3d3;
}

.tooltip .tooltiptext {
    visibility: hidden;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -75px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

nav.nav-middle {
    background-color: #62babe;
}

.selectize-control.plugin-drag_drop.multi>.selectize-input>div.ui-sortable-placeholder {
    visibility: visible !important;
    background: #f2f2f2 !important;
    background: rgba(0, 0, 0, .06) !important;
    border: 0 none !important;
    box-shadow: inset 0 0 12px 4px #fff
}

.selectize-control.plugin-drag_drop .ui-sortable-placeholder:after {
    content: "!";
    visibility: hidden
}

.selectize-control.plugin-drag_drop .ui-sortable-helper {
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2)
}

.slider-tick {
    width: 2px;
    background: black;
    margin-left: unset !important;
}

.slider-rangeHighlight.pre57 {
    background: #b6bab9;
}

.slider-rangeHighlight.post57 {
    background: #67e351;
}

.slider-rangeHighlight.post70 {
    background: #00b95c;
}

.slider-rangeHighlight.post00 {
    background: #1ab5ff;
}

.slider-inline {
    display: block;
}

.slider-label {
    width: 230px;
}

.slider .bs-tooltip-top .tooltip-inner, .slider .bs-tooltip-bottom .tooltip-inner {
    top: 60px;
}

.slider .tooltip-inner {
    white-space: break-spaces;
    max-width: 100px;
}

.stationId {
    float: right;
    font-style: italic;
    color: #525252
}

.slider-selection {
    background: linear-gradient(to bottom, #aac6c9 0, #028996 100%);
}

.station-grid-filter-control {
    border-radius: 5px;
    background-color: #fff;
    padding: 2px 6px;
    font-size: 1.1em;
}

.grid-point-icon {
    background: #fff;
    border: 1px solid #d3d3d3;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 4px;
}

.silo-slider .silo-slide {
    position: relative;
}

.silo-slider .slick-prev,
.silo-slider .slick-next {
    /* top: 25px;
	translate: none; */
    z-index: 100;
    width: 40px;
    height: 40px;
}

.silo-slider .slick-prev:before,
.silo-slider .slick-next:before {
    font-size: 40px;
}

.silo-slider .slick-prev {
    left: 25px;
}

.silo-slider .slick-prev:before {
    color: #333;
}

.silo-slider .slick-next {
    right: 25px;
}

.silo-slider h1 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: .5em .5em .5em 1em;
    font-size: 4em;
    color: #333;
    background-color: rgba(255, 255, 255, .7);
}

.border-grid {
    margin: 0 0 20px;
    border: #ddd .5px solid;
}

.border-grid>div {
    padding: 0 20px 20px;
    border-right: #ddd .5px solid;
}

.border-grid>div:last-child {
    border-right: 0 none;
}

.border-grid>div>h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: #ddd .5px solid;
    text-align: center;
}

.table-striped>tbody>tr:nth-of-type(even)>th {
    background-color: #f9f9f9;
}

.monospace {
    font-family: 'Courier New';
}

#silo-leaflet-map {
    height: 600px;
}

#silo-viewdata-map {
    height: 800px;
}

.leaflet-sidebar{
    width: 190px;
    z-index: 801;
}

.leaflet-sidebar-pane{
    min-width: 50px;
    padding: 10px 10px;
}

.bootstrap-datetimepicker-widget {
    z-index: 10000;
}

.silo-popup h4 {
    margin: -14px -5px 10px;
    padding: 20px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    text-align: center;
    color: white;
    background-color: #62BABE;
}

.leaflet-container .silo-popup a.leaflet-popup-close-button {
    color: white;
}


/*blockquote.normal {
	font-size: 14px;
}

img.logo-border {
	border: 1px solid #337ab7;
}*/

/* Leaflet Layers Control */

.leaflet-control-layers {
    border-radius: none;
    box-shadow: none;
}
  
.leaflet-control-layers-expanded {
/* width: 100% !important; */
/* padding: 0px; */
background-color: #FFFFFFAA;
/* border: none !important; */
}

#layercontrol {
    display: inline-block;
    width: 100%;
    padding: 10px;
    background-color: transparent;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

#layercontrol .title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.station-searchbox {
    position: relative;
    z-index: 999;
    left: 50px;
    top: -800px;
}

.jst-select-box label{
    color: white;
}

/*@media (min-width: 768px) and (max-width:991px) {
    .leaflet-sidebar {
        width:700px;
        max-width: 700px
    }
}

@media (min-width: 992px) and (max-width:1199px) {
    .leaflet-sidebar {
        width:800px;
        max-width: 800px
    }
}

@media (min-width: 1200px) {
    .leaflet-sidebar {
        width: 800px !important;
        max-width: 800px !important;
    }
}*/

.leaflet-sidebar.collapsed{
    width: 40px !important;
}

#statioSelectSubmit {
    padding-right: 28px;
}

.remove-single {
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.remove-single:hover {
    font-weight: bold;
    text-decoration: none;
}

.leaflet-control-mouseposition {
    text-shadow: 0 0 1px black, 0 0 1px black, 0 0 1px black, 0 0 1px black; 
    color: white;
}

.leaflet-bottom.leaflet-left {
    padding-bottom: 10px;
}

/* Loader for SILO view*/
.wrapper{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    text-align:center;
    transform: translateX(-50%);
}
  
.spanner{
    position:absolute;
    top: 50%;
    left: 0;
    background: #2a2a2a55;
    width: 100%;
    display:block;
    text-align:center;
    height: 300px;
    color: #FFF;
    transform: translateY(-50%);
    z-index: 1000;
    visibility: hidden;
  }
  
  .overlay{
    position: absolute;
      width: 100%;
      height: 100%;
    background: rgba(0,0,0,0.5);
    visibility: hidden;
  }
  
  .loader,
  .loader:before,
  .loader:after {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation: load7 1.8s infinite ease-in-out;
    animation: load7 1.8s infinite ease-in-out;
  }
  .loader {
    color: #ffffff;
    font-size: 10px;
    margin: 80px auto;
    position: relative;
    text-indent: -9999em;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
  }
  .loader:before,
  .loader:after {
    content: '';
    position: absolute;
    top: 0;
  }
  .loader:before {
    left: -3.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
  }
  .loader:after {
    left: 3.5em;
  }
  @-webkit-keyframes load7 {
    0%,
    80%,
    100% {
      box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
      box-shadow: 0 2.5em 0 0;
    }
  }
  @keyframes load7 {
    0%,
    80%,
    100% {
      box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
      box-shadow: 0 2.5em 0 0;
    }
  }
  
  .spanner, .overlay{
      opacity: 0;
      -webkit-transition: all 0.3s;
      -moz-transition: all 0.3s;
      transition: all 0.3s;
      z-index: 100;
  }
  .show{
    visibility: visible;
  }

  .spanner.show, .overlay.show {
	opacity: 1
}
  /* End Loader for SILO view*/