/**
 * @file
 * CSS for Saga Builder.
 */
/* div.form-item table .form-type-textfield, 
div.form-item table .form-type-textfield * {
  display: inline-block;
} */

  .grid-container {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    width: 100%;
    max-width: 1200px; 
  }
  .grid-col {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    word-break: break-word;
  }
  .grid-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.9375em;
    width: calc(100% + 1.875em);
    max-height: 10px;
  }

  .grid-row .grid-row {
    margin: 0 -0.9375em;
    padding: 0;
  }

  .grid-col {
    flex-direction: column;
    margin: 0 0.9375em 1.875em;
  }

  /* .grid-row--no-gutter {
    margin: 0 !important;
    width: 100% !important;
  } */
  
  .grid-row--no-gutter .grid-col {
    margin: 0;
  }

  .grid-col.xs12 {
    width: calc(100% - 1.875em);
  }
  .grid-col.xs11 {
    width: calc(91.666666666% - 1.875em);
  }
  .grid-col.xs10 {
    width: calc(83.333333333% - 1.875em);
  }
  .grid-col.xs9 {
    width: calc(75% - 1.875em);
  }
  .grid-col.xs8 {
    width: calc(66.666666666% - 1.875em);
  }
  .grid-col.xs7 {
    width: calc(58.333333333% - 1.875em);
  }
  .grid-col.xs6 {
    width: calc(50% - 1.875em);
  }
  .grid-col.xs5 {
    width: calc(41.666666666% - 1.875em);
  }
  .grid-col.xs4 {
    width: calc(33.333333333% - 1.875em);
  }
  .grid-col.xs3 {
    width: calc(25% - 1.875em);
  }
  .grid-col.xs2 {
    width: calc(16.666666666% - 1.875em);
  }
  .grid-col.xs1 {
    width: calc(8.3333333333% - 1.875em);
  }
  .grid-col.xs20 {
    width: calc(20% - 1.875em);   
  }

  .grid-row--no-gutter .grid-col.xs12 {
    width: calc(100%);
  }
  .grid-row--no-gutter .grid-col.xs11 {
    width: calc(91.666666666%);
  }
  .grid-row--no-gutter .grid-col.xs10 {
    width: calc(83.333333333%);
  }
  .grid-row--no-gutter .grid-col.xs9 {
    width: calc(75%);
  }
  .grid-row--no-gutter .grid-col.xs8 {
    width: calc(66.666666666%);
  }
  .grid-row--no-gutter .grid-col.xs7 {
    width: calc(58.333333333%);
  }
  .grid-row--no-gutter .grid-col.xs6 {
    width: calc(50%);
  }
  .grid-row--no-gutter .grid-col.xs5 {
    width: calc(41.666666666%);
  }
  .grid-row--no-gutter .grid-col.xs4 {
    width: calc(33.333333333%);
  }
  .grid-row--no-gutter .grid-col.xs3 {
    width: calc(25%);
  }
  .grid-row--no-gutter .grid-col.xs2 {
    width: calc(16.666666666%);
  }
  .grid-row--no-gutter .grid-col.xs1 {
    width: calc(8.3333333333%);
  }
  .grid-row--no-gutter .grid-col.xs20 {
    width: calc(20%);   
  }

  @media (min-width: 35.9375em) {
    .grid-col.sm12 {
      width: calc(100% - 1.875em);
    }
    .grid-col.sm11 {
      width: calc(91.666666666% - 1.875em);
    }
    .grid-col.sm10 {
      width: calc(83.333333333% - 1.875em);
    }
    .grid-col.sm9 {
      width: calc(75% - 1.875em);
    }
    .grid-col.sm8 {
      width: calc(66.666666666% - 1.875em);
    }
    .grid-col.sm7 {
      width: calc(58.333333333% - 1.875em);
    }
    .grid-col.sm6 {
      width: calc(50% - 1.875em);
    }
    .grid-col.sm5 {
      width: calc(41.666666666% - 1.875em);
    }
    .grid-col.sm4 {
      width: calc(33.333333333% - 1.875em);
    }
    .grid-col.sm3 {
      width: calc(25% - 1.875em);
    }
    .grid-col.sm2 {
      width: calc(16.666666666% - 1.875em);
    }
    .grid-col.sm1 {
      width: calc(8.3333333333% - 1.875em);
    }
    .grid-col.sm20 {
      width: calc(20% - 1.875em);   
    }
  }

  @media (min-width: 48em) {
    .grid-col.md12 {
      width: calc(100% - 1.875em);
    }
    .grid-col.md11 {
      width: calc(91.666666666% - 1.875em);
    }
    .grid-col.md10 {
      width: calc(83.333333333% - 1.875em);
    }
    .grid-col.md9 {
      width: calc(75% - 1.875em);
    }
    .grid-col.md8 {
      width: calc(66.666666666% - 1.875em);
    }
    .grid-col.md7 {
      width: calc(58.333333333% - 1.875em);
    }
    .grid-col.md6 {
      width: calc(50% - 1.875em);
    }
    .grid-col.md5 {
      width: calc(41.666666666% - 1.875em);
    }
    .grid-col.md4 {
      width: calc(33.333333333% - 1.875em);
    }
    .grid-col.md3 {
      width: calc(25% - 1.875em);
    }
    .grid-col.md2 {
      width: calc(16.666666666% - 1.875em);
    }
    .grid-col.md1 {
      width: calc(8.3333333333% - 1.875em);
    }
    .grid-col.md20 {
      width: calc(20% - 1.875em);   
    }

    .grid-row--no-gutter .grid-col.md12 {
      width: calc(100%);
    }
    .grid-row--no-gutter .grid-col.md11 {
      width: calc(91.666666666%);
    }
    .grid-row--no-gutter .grid-col.md10 {
      width: calc(83.333333333%);
    }
    .grid-row--no-gutter .grid-col.md9 {
      width: calc(75%);
    }
    .grid-row--no-gutter .grid-col.md8 {
      width: calc(66.666666666%);
    }
    .grid-row--no-gutter .grid-col.md7 {
      width: calc(58.333333333%);
    }
    .grid-row--no-gutter .grid-col.md6 {
      width: calc(50%);
    }
    .grid-row--no-gutter .grid-col.md5 {
      width: calc(41.666666666%);
    }
    .grid-row--no-gutter .grid-col.md4 {
      width: calc(33.333333333%);
    }
    .grid-row--no-gutter .grid-col.md3 {
      width: calc(25%);
    }
    .grid-row--no-gutter .grid-col.md2 {
      width: calc(16.666666666%);
    }
    .grid-row--no-gutter .grid-col.md1 {
      width: calc(8.3333333333%);
    }
    .grid-row--no-gutter .grid-col.md20 {
      width: calc(20%);   
    }
  }

  @media (min-width: 62em) {
    .grid-col.lg12 {
      width: calc(100% - 1.875em);
    }
    .grid-col.lg11 {
      width: calc(91.666666666% - 1.875em);
    }
    .grid-col.lg10 {
      width: calc(83.333333333% - 1.875em);
    }
    .grid-col.lg9 {
      width: calc(75% - 1.875em);
    }
    .grid-col.lg8 {
      width: calc(66.666666666% - 1.875em);
    }
    .grid-col.lg7 {
      width: calc(58.333333333% - 1.875em);
    }
    .grid-col.lg6 {
      width: calc(50% - 1.875em);
    }
    .grid-col.lg5 {
      width: calc(41.666666666% - 1.875em);
    }
    .grid-col.lg4 {
      width: calc(33.333333333% - 1.875em);
    }
    .grid-col.lg3 {
      width: calc(25% - 1.875em);
    }
    .grid-col.lg2 {
      width: calc(16.666666666% - 1.875em);
    }
    .grid-col.lg1 {
      width: calc(8.3333333333% - 1.875em);
    }
    .grid-col.lg20 {
      width: calc(20% - 1.875em);   
    }

    .grid-row--no-gutter .grid-col.lg12 {
      width: calc(100%);
    }
    .grid-row--no-gutter .grid-col.lg11 {
      width: calc(91.666666666%);
    }
    .grid-row--no-gutter .grid-col.lg10 {
      width: calc(83.333333333%);
    }
    .grid-row--no-gutter .grid-col.lg9 {
      width: calc(75%);
    }
    .grid-row--no-gutter .grid-col.lg8 {
      width: calc(66.666666666%);
    }
    .grid-row--no-gutter .grid-col.lg7 {
      width: calc(58.333333333%);
    }
    .grid-row--no-gutter .grid-col.lg6 {
      width: calc(50%);
    }
    .grid-row--no-gutter .grid-col.lg5 {
      width: calc(41.666666666%);
    }
    .grid-row--no-gutter .grid-col.lg4 {
      width: calc(33.333333333%);
    }
    .grid-row--no-gutter .grid-col.lg3 {
      width: calc(25%);
    }
    .grid-row--no-gutter .grid-col.lg2 {
      width: calc(16.666666666%);
    }
    .grid-row--no-gutter .grid-col.lg1 {
      width: calc(8.3333333333%);
    }
    .grid-row--no-gutter .grid-col.lg20 {
      width: calc(20%);   
    }
  }



  @media (min-width: 75em) {
    .grid-col.xl12 {
      width: calc(100% - 1.875em);
    }
    .grid-col.xl11 {
      width: calc(91.666666666% - 1.875em);
    }
    .grid-col.xl10 {
      width: calc(83.333333333% - 1.875em);
    }
    .grid-col.xl9 {
      width: calc(75% - 1.875em);
    }
    .grid-col.xl8 {
      width: calc(66.666666666% - 1.875em);
    }
    .grid-col.xl7 {
      width: calc(58.333333333% - 1.875em);
    }
    .grid-col.xl6 {
      width: calc(50% - 1.875em);
    }
    .grid-col.xl5 {
      width: calc(41.666666666% - 1.875em);
    }
    .grid-col.xl4 {
      width: calc(33.333333333% - 1.875em);
    }
    .grid-col.xl3 {
      width: calc(25% - 1.875em);
    }
    .grid-col.xl2 {
      width: calc(16.666666666% - 1.875em);
    }
    .grid-col.xl1 {
      width: calc(8.3333333333% - 1.875em);
    }
    .grid-col.xl20 {
      width: calc(20% - 1.875em);   
    }
  }




/* Lightbox/filters */


/*
 * Spotlite jQuery Plugin v1.0
 * Requires: jQuery v1.7+
 * Copyright 2014, Theme Boutique
 * Regular License Terms: http://themeforest.net/licenses/terms/regular
 * Extended License Terms: http://themeforest.net/licenses/terms/extended
 *
 * Spotlite Stylesheet
 */

html.sl-noscroll {
  overflow: hidden;
  height: 100%;
}

.sl-lightbox img,
.sl-video,
.sl-youtube,
.sl-vimeo {
	top: 50%;
}

.sl-video {
  z-index: 50000;
  position: absolute; 
  left: 50%; 
}

.sl-play {
	position: absolute;
  width: 100%;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  left: 0;
  top: 0;
  background: rgba(34,34,34,0.7) url('../img/play.png') no-repeat center center;
  opacity: 0.6;
	-moz-transition: opacity .25s ease-in;
	-webkit-transition: opacity .25s ease-in;
	-o-transition: opacity .25s ease-in;
	-ms-transition: opacity .25s ease-in;
	transition: opacity .25s ease-in;
	backface-visibility: hidden;
}

.sl-play:hover {
	opacity: 1;
}

.sl-vimeo-thumb {
	max-width: 640px !important;
	width: 100%;
}

.sl-youtube,
.sl-vimeo {
  margin: 20px auto 0;
	background-size: 100%;
  background-position: center center;
  background-repeat: no-repeat;	
  z-index: 50000;
  cursor: pointer;
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  display: inline-block;
  top: 50%;
  max-height: 360px;
}

.sl-youtube {
  max-width: 480px;
}

.sl-vimeo {
  max-width: 640px;
}

.sl-youtube:hover,
.sl-vimeo:hover {
  transition: 0.3s;
  opacity: 1;	
}

.sl-youtube > img,
.sl-video > img {
	height: 100%;
	position: absolute;
}


.vimeo-preloader .sl-loading,
.youtube-preloader .sl-loading,
.images-loading .sl-loading {
  background: url('../img/loading.svg') center center no-repeat;
  width: 50px;
  height: 50px;
  color: #fff;
  border-radius: 50px;
  position: absolute;
  z-index: 75000;
  top: 50%;
  left: 50%;
  margin-left: -25px;
  margin-top: -25px;
}

.ie8 .vimeo-preloader .sl-loading,
.ie8 .youtube-preloader .sl-loading,
.ie8 .images-loading .sl-loading {
  width: 38px;
  height: 38px;
  border: 5px solid #fff;
  margin-left: -19px;
  margin-top: -19px;
}

.sl-lightbox-wrap:after,
.sl-lightbox:after,
.sl-thumbwrap:after,
.sl-arrows:after,
.sl-caption:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  line-height: 0;
  visibility: hidden;
}

#images {
  height: 100%;
}

.no-thumbs #images {
	margin-top: 20px !important;
}

.sl-inner {
  display: block;
  height: 100%;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

/* Webfonts */

@font-face {
  font-family: 'spotlite';
  src: url('font/spotlite.eot?23428887');
  src: url('font/spotlite.eot?23428887#iefix') format('embedded-opentype'),
       url('font/spotlite.woff?23428887') format('woff'),
       url('font/spotlite.ttf?23428887') format('truetype'),
       url('font/spotlite.svg?23428887#spotlite') format('svg');
  font-weight: normal;
  font-style: normal;
}
 
[class^="sl-icon-"]:before, [class*=" sl-icon-"]:before {
  font-family: "spotlite";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
     
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
 
.sl-icon-th:before { content: '\e800'; } 
.sl-icon-right-open:before { content: '\e801'; }
.sl-icon-left-open:before { content: '\e802'; }
.sl-icon-resize-small:before { content: '\e803'; }
.sl-icon-resize-full:before { content: '\e804'; } 
.sl-icon-cancel:before { content: '\e805'; } 
.sl-icon-play:before { content: '\e806'; } 
.sl-icon-pause:before { content: '\e807'; } 
.sl-icon-soundcloud:before { content: '\e808'; } 
.sl-icon-twitter:before { content: '\e809'; } 
.sl-icon-youtube:before { content: '\e80a'; } 
.sl-icon-vimeo:before { content: '\e80b'; }
.sl-icon-vk:before { content: '\e80c'; }
.sl-icon-linkedin:before { content: '\e80d'; }
.sl-icon-dribbble:before { content: '\e80e'; } 
.sl-icon-facebook:before { content: '\e80f'; } 
.sl-icon-gplus:before { content: '\e810'; } 
.sl-icon-spin1:before { content: '\e811'; } 
.sl-icon-spin2:before { content: '\e812'; } 
.sl-icon-spin3:before { content: '\e813'; }
.sl-icon-spin4:before { content: '\e814'; } 
.sl-icon-spin5:before { content: '\e815'; }
.sl-icon-spin6:before { content: '\e816'; } 

/* ===[ Slider ]=== */


.sl-lightbox-wrap {
  z-index: 50000;
  position: fixed;
  width: 100%;
  top: 0px;
  left: 0px;
  height: 100%;
  background-position: 50% 50%;
  background-size: cover;
  background-attachment: scroll;
  text-align: center;
/*   background: #2e2e2e; */
	background: rgba(34,34,34,0.7);
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4c000000', endColorstr='#4c000000'); /* IE */
}

.ie8 .sl-lightbox-wrap {
  background: url('ie8_fill.gif');
}

#images {
  width: 100%;
  height: 100%;;
  position: absolute;
  z-index: 45000;
  margin: 0;
  padding: 0;
}


.sl-lightbox > li > a { display: block }

.sl-lightbox > li {
  list-style: none;
  filter: alpha(opacity=0);
  opacity: 0;
  width: 100%;
  margin: 0;
  float: left;
  height: 100%;;
  position: absolute;
  text-align: center;
  z-index: 1;
}

.sl-lightbox > li.active {
  opacity: 1;
  filter: alpha(opacity=100);
}
.sl-lightbox > li > a {
  padding: 0;
  background: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}

.sl-lightbox > li img {
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  top: 50%;
  left: 0;
  bottom: 0;
  right: 0;
  -ms-interpolation-mode: bicubic;
}

.sl-lightbox > li .sl-youtube,
.sl-lightbox > li .sl-vimeo {
	left: 0;
}

.sl-lightbox > li img,
.sl-lightbox > li .sl-video,
.sl-lightbox > li .sl-youtube,
.sl-lightbox > li .sl-vimeo {
	  position: absolute;
  right: -100%;
  -webkit-animation: slide 0.3s forwards;
  -webkit-animation-delay: 0.3s;
  animation: slide 0.3s forwards;
  animation-delay: 0.3s;
  opacity: 0;
  filter: alpha(opacity=0);
  top: 50%;
}

.sl-initialized .sl-lightbox > li.active .sl-video {
	max-width: 640px;
}

.sl-initialized .sl-lightbox > li.active img,
.sl-initialized .sl-lightbox > li.active .sl-video,
.sl-initialized .sl-lightbox > li.active .sl-youtube,
.sl-initialized .sl-lightbox > li.active .sl-vimeo {
  transition: 0.25s;
  top: 50%;
  right: 0;
  opacity: 1 !important;
  filter: alpha(opacity=100);
	border: 3px solid #fff;
}

.sl-initialized.images-loading .sl-lightbox > li.active img {
    right: -100%;	
}

.sl-initialized .sl-lightbox > li.active .sl-caption {
	opacity: 1 !important;
}

.sl-initialized.images-loading .sl-lightbox > li.active .sl-caption {
	opacity: 0 !important;
}

.sl-initialized .sl-lightbox > li.animate-out img,
.sl-initialized .sl-lightbox > li.animate-out .sl-video,
.sl-initialized .sl-lightbox > li.animate-out .sl-vimeo,
.sl-initialized .sl-lightbox > li.animate-out .sl-youtube  {
    transition: 0.3s;
    left: -100%;
    opacity: 0;
    filter: alpha(opacity=0);
}

/* ===[ Thumbnails ]=== */

.sl-thumb-wrap { *zoom: 1 }

.sl-thumb-inner-wrap > a {
    display: inline-block;
    position: relative;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.sl-thumb-inner-wrap > a > img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    -ms-interpolation-mode: bicubic;
}


.sl-thumbwrap > a:first-child { margin-left: 0!important }

/* ===[ Captions ]=== */

.sl-caption {
    position: absolute;
    max-height: 100%;
    overflow: auto;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    bottom: 0;
    opacity: 0 !important;
}

.sl-caption > span {
  font-weight: bold;
}

.sl-caption span,
.sl-caption p {
  display: inline-block;
  padding: 0 5px;
}

.sl-lightbox > li img {
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, .55);
    -moz-box-shadow: 0 0 4px rgba(0, 0, 0, .55);
    box-shadow: 0 0 4px rgba(0, 0, 0, .55);
}

/* ===[ Thumbnails ]=== */

.sl-thumb-wrap { 
/* 	width: 100%; */
	height: 70px;
	margin: 20px auto 0;
	text-align: center;
	position: absolute;
	left: 50%;
	bottom: 0;
	background: transparent;
	z-index: 70000;
	padding: 3px;
	white-space: nowrap;
	background: rgba(34,34,34, 0.8);
	border-top: 1px solid rgba(34,34,34, 0.8);
	border-left: 1px solid rgba(34,34,34, 0.8);
	border-top-left-radius: 3px;
	-webkit-border-top-left-radius: 3px;
	-moz-border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	-webkit-border-top-right-radius: 3px;
	-moz-border-top-right-radius: 3px;
}

.sl-thumb-inner-wrap {
  position: absolute;
  height: 100%;

}

.sl-thumb-wrap > a {
	display: inline-block;
	margin: 0 1px;
	opacity: .5;
	filter: alpha(opacity=50);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	-moz-transition: opacity .25s ease-in;
	-webkit-transition: opacity .25s ease-in;
	-o-transition: opacity .25s ease-in;
	-ms-transition: opacity .25s ease-in;
	transition: opacity .25s ease-in;
	backface-visibility: hidden;
}

.sl-thumb-wrap > a:hover,
.sl-thumb-wrap > a.active { 
  opacity: 1;
  filter: alpha(opacity=100);
  backface-visibility: hidden;
}

.sl-thumb-wrap > a:first-child { 
  margin-left: 0!important 
}

/* ===[ Arrows ]=== */

/* .sl-navbar, */
/* .sl-thumb-wrap { */
/* 	background: #222; */
/* } */

.sl-navbar {
	width: 100%;
  display: inline-block;
  z-index: 50000;
  position: relative;
}

.sl-controls {
	float: right;
	margin: 10px;
	display: inline-block;
}

.sl-icon-right-open,
.sl-icon-left-open,
.sl-icon-right-open:focus,
.sl-icon-left-open:focus {
  position: absolute;
  bottom: 50%;
  padding: 8px 10px;
  margin: 10px 10px -19px;
  text-align: center;
  background: #222;
  border-radius: 100%;
  z-index: 50000;
  color: #777;
	outline: 0;
	text-decoration: none;
}

.sl-icon-left-open {
	left: 0;
}

.sl-icon-right-open {
	right: 0;
}

.sl-icon-cancel {
	color: #777;
}

.sl-icon-right-open:hover,
.sl-icon-left-open:hover,
.sl-icon-cancel:hover {
	background: #111;
	color: #fff;
	text-decoration: none;
}

.sl-icon-cancel {
  z-index: 55000;
	position: relative;
  float: right;
	background: #111;
  padding: 8px 10px;
  border-radius: 100%;
  transition: background 0.3s;
}

.sl-icon-cancel:hover {
  color: #fff;
  cursor: pointer;
  background: #111;
}

/* ===[ Captions ]=== */

.sl-caption {
  font-size: 13px;
  padding: 15px;
  margin: 20px 0;
  background: #1e1e1e;
  z-index: 50000;
  color: #fff;
  text-shadow: 0 -1px 0 #000;
}

.sl-caption p {
  color: #fff;
  margin-bottom: 0;
  font-size: 12px;
}

/* ===[ Touch Device Styles ]=== */

@media screen and (min-width: 640px) {
	.sl-touch-enabled .sl-lightbox-wrap iframe {
    width: 100%;
    height: 360px;
    margin-top: -180px;
    margin-left: -320px;
    left: 50%;
  }
  
  .sl-touch-enabled .sl-video {
    width: 100%;
    height: 100%;
    max-height: 360px;
  }
}

@media screen and (max-width: 639px) {
	.sl-touch-enabled .sl-lightbox-wrap iframe {
    width: 100%;
    height: 360px;
    margin-top: -180px;
  }
  
  .sl-touch-enabled .sl-video {
    width: 100%;
    height: 100%;
    max-width: 540px;
    max-height: 360px;
  }
}

@media screen and (max-width: 569px) {
  #images { height: 100% !important; }
  .sl-lightbox > li img { height: auto !important; max-height: 100%; }
	.sl-caption { z-index: 75000; width: 100% !important; bottom: 0 !important; left: 0 !important; margin-bottom: 0 !important; }
	.sl-thumb-wrap { display: none; }
	
	  .sl-touch-enabled .sl-lightbox-wrap iframe {
     width: 100%;
     height: 360px;
     margin-top: -180px;
     margin-left: -240px;
	}

  .sl-touch-enabled .sl-video {
    width: 100%;
    height: 100%;
    max-width: 480px;
    max-height: 360px;
  }
}

@media screen and (max-width: 360px) {
	  .sl-touch-enabled .sl-lightbox-wrap iframe {
	    width: 100%;
	    height: 240px;
	    margin-top: -120px;
	    margin-left: -130px;
  	}
  
    .sl-touch-enabled .sl-video {
    	width: 100%;
    	height: 100%;
    	max-width: 360px;
    	max-height: 240px;
  }
}

/* ===[ Grid ]=== */

.sl-filter {
	list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.sl-filter li {
	display: inline-block;
}

.sl-filter a,
.sl-filter a:focus {
  display: block;
  padding: 0 1rem;
  border-radius: 0;
  color: #aaa;
  text-decoration: none;
  text-transform: uppercase;
}

.sl-filter a:hover {
	text-decoration: none;
	color: #999;
	border-color: #bbb;
}
.sl-filter a.active {
	color: #888eee;
}

.sl-filterable {
	display: none;
	visibility: hidden;
	opacity: 0;
	height: 0px;
}

.sl-grid-item {
	position: relative;
}

.isotope {
  -webkit-transition-property: height;
     -moz-transition-property: height;
      -ms-transition-property: height;
       -o-transition-property: height;
          transition-property: height;
}

.sl-grid-3,
.sl-grid-4,
.sl-grid-6 {
  float: left;
  width: 100%;
  clear: both;
}

.sl-grid-3 a.spotlite, 
.sl-grid-6 a.spotlite,
.sl-grid-4 a.spotlite {
  position: relative;
  min-height: 1px;
  padding-left: 0;
  float: left;
  display: block;
  line-height: 100%;
}

.sl-grid-6  a.spotlite {
  width: 50%;
}

.sl-grid-4 a.spotlite{
  width: 33.33333333%;
}

.sl-grid-3 a.spotlite {
  width: 25%;
}

.sl-grid-3 a.spotlite > img,
.sl-grid-4 a.spotlite > img,
.sl-grid-6 a.spotlite > img {
  max-width: 100%;
  max-height: 100%;
}

.sl-grid img {
	max-width: 100%;
	height: auto !important;
}

.sl-xs-fifth,
.sl-sm-fifth,
.sl-md-fifth,
.sl-lg-fifth {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.sl-xs-fifth {
    width: 20%;
    float: left;
}

@media (min-width: 768px) {
	.sl-grid .sl-sm-fifth {
        width: 20%;
        float: left;
    }
}

@media (min-width: 992px) {
	.sl-grid .sl-md-fifth {
		width: 20%;
		float: left;
	}
}

@media (min-width: 1200px) {
	.sl-grid .sl-lg-fifth {
    width: 20%;
    float: left;
  }
}

.sl-image {
	/* position: relative; */
  overflow: hidden;
	backface-visibility: hidden;
	border-radius: 0px;
	z-index: 100;
}

.sl-hover {
  position: absolute;
  height: 100%;
  width: 100%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 1) 0%, rgba(118, 75, 162, 0.5) 100%);
  opacity: 0;
  transition: 0.3s;
	text-align: center;
	z-index: 10;
}

.sl-image:hover .sl-hover,
.sl-image .sl-grid-hover {
	opacity: 1;
}

.sl-hover a {
  position: relative;
  overflow: hidden;
	display: inline-block;
	top: 100%;
	margin: 0;
	width: 48px;
	height: 48px;
	background: transparent;
	border-radius: 60px;
  transition: 0.2s linear;
  border: 2px solid #fff;
}

.sl-hover a:hover {
	transform: scale(1.1);
	background: #fff;
	text-decoration: none;
}

.sl-image:hover .sl-hover a,
.sl-grid-hover.sl-hover a {
	top: 50%;
	margin: -24px 5px 0;
}

.sl-image img {
	transition: all 0.3s;
	transform-origin: 50% 50%;
	backface-visibility: hidden;
	z-index: 0;
}

.sl-image:hover img {
	transform: scale(1.2);
	transform-origin: 50% 50%;
}

.sl-hover ion-icon {
  line-height: 48px;
  color: #fff;
  font-size: 22px;
  height: 44px;
}
/* Slider */

.rs-grid {
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: none;
}

.rs-gridlet {
    position: absolute;
    opacity: 1;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.sl-slider {
	margin: 0;
	max-width: 100%;
	width: 100%;
	height: 100%;
	overflow: hidden;
	list-style: none;
	position: relative;
}

.sl-slider > li {
	position: absolute;
}

.sl-slider > li .sl-caption {
	bottom: auto;
  transform: translateX(-200px);
  -webkit-transform: translateX(-200px);
  transition-property: all;
	transition-duration: 0.5s;
}

.sl-slider > li.first-slide,
.sl-slider > li.active {
	z-index: 2;
}

.sl-slider > li.active .sl-caption {
	opacity: 1 !important;
	transform: translateX(0px);
	-webkit-transform: translateX(0px);
}

.sl-timer-wrap {
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  width: 100%;
  position: absolute;
  bottom: 0;
  z-index: 1000;
}

.sl-timer {
  height: 5px;
  background: rgba(255,255,255,0.6);
  width: 0%;
}
