/*
 *  Liquid Slider v2
 *  Copyright 2012 Kevin Batdorf
 *  http://liquidslider.com
 *  MIT license
 */

.no-js .liquid-slider {
  height:350px;
  overflow:scroll;
}
.ls-preloader {  
  background: url(../images/loading.gif) #f2f2f2 no-repeat center 50%;
  opacity:1;
  width:100%;
  height:100%;
  position:absolute;
  top:0;
  left:0;
  z-index:2;
}

/*** Containers ***/
.ls-wrapper {
  clear: both;
  overflow: auto;
  position: relative;
}
.liquid-slider {
  /*background: #f2f2f2;*/
  width: 100%;
  margin: 0 auto;
  float: left;
  overflow: hidden;
  position: relative;
}
.arrows .liquid-slider {
  /* Margin between slider and arrows */
  margin: 0 10px;
}
.ls-responsive .liquid-slider {
  width: 100%;
  margin: 0;
}
.panel-container {
  position: relative;
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
  /* from http://davidwalsh.name/translate3d */
}
.liquid-slider .panel-container .fade {
  width:100%;
  opacity: 0;
  position: absolute;
  top: 0; 
  left: 0;
  display: block;
}

/*** Panels ***/
.liquid-slider .ls-panel {  
  width: 100%;
  display: block;
  float: left;
}
.panel-wrapper {  
  /*padding: 15px 40px;*/
  position:relative;
  z-index: 1;
}

/*** Tabbed Navigation ***/
.ls-nav {
  overflow:hidden;
  clear:both;
  position: relative;
  z-index: 1000;
}
.ls-nav a {
  background: #d8d8d8;
  color: #333333;
  margin-right: 1px;
  padding: 10px 15px;  
  outline:0;
}
.ls-nav a:hover {
  background: #f2f2f2;
  color: #333333;
  text-shadow: none;
}
.ls-nav .current a {
  background: #f2f2f2;
}
.currentCrossLink {
  font-weight: bold;
}
.ls-nav ul {  
  padding:0;
  clear: both;
  display: block;
  margin: auto;
  overflow: hidden;
}
.ls-nav ul li {
  display: inline;
}
.ls-nav ul li a {
  display: block;
  float: left;
  text-decoration: none;
}

/*** Mobile Navigation ***/
.ls-select-box { 
  width: 100%;
  height: 35px;
  overflow: hidden;
  background: url(../images/menu.png) no-repeat right #ddd;
}
.ls-select-box select {  
  width: 150%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance:none;
  background: transparent;
  padding: 5px;
  font-size: 110%;
  border: none;
  height: 35px;
  cursor:pointer;
  outline: 0;
}

/*** Arrow Navigation (non-graphical) ***/
.ls-nav-left, .ls-nav-right {
  top:0;
  float: left;
  clear:both;
}
.ls-nav-left a, .ls-nav-right a {
  background: #000;
  color: #fff;
  padding: 5px;
  width: 100px;
  display: block;
  text-align: center;
  text-decoration: none;
}
.ls-responsive .ls-nav-left {
  position: absolute;
  left: 0;
  z-index: 2;
}
.ls-responsive .ls-nav-left a {
  background: #9A9A9A;
  width: 80px;
}
.ls-responsive .ls-nav-left a:hover {
  background: #747474;
}
.ls-responsive .ls-nav-right {
  position: absolute;
  right: 0;
  z-index: 2;
}
.ls-responsive .ls-nav-right a {
  background: #9A9A9A;
  width: 80px;
}
.ls-responsive .ls-nav-right a:hover {
  background: #747474;
}

/*** Arrow Navigation (graphical) ***/
.ls-nav-left-arrow, .ls-nav-right-arrow {
  cursor: pointer;
  float: left;
  clear: both;
}
.ls-nav-left-arrow a, .ls-nav-right-arrow a {
  display: block;
}
[class$="-arrow"] {
  width: 25px;
  height: 25px;
  background-image: url(../images/arrow.png);
  background-repeat: no-repeat;
  margin-top: 50px;
  position:relative;
}
.ls-nav-right-arrow {
  background-position: top right;  
  margin-right: 5px;
}
.ls-nav-left-arrow {
  background-position: top left;  
  margin-left: 5px;
}
.ls-nav-left-arrow:hover {
  background-position: bottom left;
}
.ls-nav-right-arrow:hover {
  background-position: bottom right;
}
.ls-responsive .ls-nav-left-arrow {
  position: absolute;
  left: 0;
  z-index: 2;
}
.ls-responsive .ls-nav-right-arrow {
  position: absolute;
  right: 0;
  z-index: 2;
}

/* MY STYLES */
#featured { /*background: linear-gradient(0deg, #f0f0f0, #e6e6e6);*/ width: auto; }
.darkmode #featured { background: linear-gradient(0deg, #0a0a0a, #141414); width: auto; }
#featured-content-slider { width: auto; float: none; }
.slide-content { width: auto; height: auto; }
.slide-content li { padding: 0 0 .2em 0; }
.slide-text-wrap { width: 44%; padding: 2%; }
.slide-photo { margin: 0; width: 48%; float: right; padding: 2% 2% 2% 0;}
.slide-photo img { margin: 0; width: 100%; height: 100%; object-fit: cover; }
.slider-nav-button { text-decoration: none; width: 24%; margin-right: 1%; float: left; cursor: pointer; }
.slide-button-thumb { width: 47.5%; height: auto; float: left; margin: 0 2.5% 0 0; padding: 0; }
.slide-button-thumb img { margin: 0; padding: 0; height: 100%; width: 100%; object-fit: cover; }
#slider-nav { float: none; width: 96%; line-height: 1.15em; margin: 0; padding: 0 2% 2% 2%; display: flex; flex-wrap: wrap; }
.slide-nav-button a { padding: 0; margin: 0; display: block; }
a.ls-current { background-color: #151e3b !important; color: #fff; display: block; }
a.pure-button { background-color: white; display: block; padding: 9px; border-radius: 6px; }
a.pure-button:hover { background-color: #151e3b !important; color: #fff; }
.title { font-size: 200%; }

.darkmode a.pure-button { background-color: #222; }

@media (max-width: 1200px) {
/*#featured { padding: 10px 0; }
#featured-content-slider { width: 700px; float: left; }
.slide-content h2 { font-size: 1.4em; margin: 0 0 .3em 0; padding: 0; line-height: 1em; }
.slide-content p { margin: 0 0 .6em 0; line-height: 1.25em; font-size: .85em; padding: 0; }
.slide-content strong { font-weight: bold; font-size: 110%; }
.slide-content em { font-style: italic }
.slide-content { width: 700px; height: 250px; }
.slide-photo { margin: 0 5px 0 10px; width: 350px; height: 250px; float: right; border: 0; overflow: hidden; } 
.pure-button { text-decoration: none; display: block; margin: 0 0 2px 0; padding: 5px 0px 5px 10px; width: 230px; height: 51px; }
.slide-thumb { height: 50px; width: 70px; float: left; margin: 0 5px 0 0; overflow: hidden; }
a.ls-current, .pure-button:hover { background: url(../../images/movers-bg2.png) top left no-repeat; color: #fff; }
#slider-nav { float: right; width: 240px; font-size: 80%; line-height: 1.1em; }*/
}

@media only screen and ( min-width: 768px) and ( max-width: 960px ) {
/*#featured { width: auto; }
#featured-content-slider { width: auto; float: none; }
.slide-content { width: 100%; height: auto; }
.slide-photo { margin: 0 5px 0 10px; width: 350px; height: 250px; float: right; border: 0; overflow: hidden; } 
#slider-nav { display: none; }*/
}


@media only screen and ( max-width: 767px) { 
#featured { width: 100%; padding: 0; }
.slide-content { width: auto; height: auto; margin: 0; padding: 0; }
.slide-text-wrap { width: 92%; padding: 0 4%; }
.slide-photo { width: 92%; height: auto; margin: 0; padding: 5% 4% .5em 4%;; }
#slider-nav { display: none; }
}