/* Swipeshow
 * http://ricostacruz.com/swipeshow
 * https://github.com/rstacruz/swipeshow
 *
 * Load this stylesheet when using jquery.swipeshow.js.
 *
 * This provides no styles or embelishments: just basic resets. For a sample
 * theme, also try:
 *
 *     http://ricostacruz.com/swipeshow/slideshow-theme.css
 *
 */

.swipeshow,
.swipeshow .slides,
.swipeshow .slide {
  /* Basic resets */
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;

  /* Prevent flickers */
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);

  /* In case you add padding */
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

/* iOS: disable text select, disable callout, image save panel (popup) */
.swipeshow img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.swipeshow {
  overflow: hidden;
}

/* Cursor (open-hand) */
.swipeshow-active .slides {
  cursor: -moz-grab !important;
  cursor: ew-resize;
}

/* Cursor (closed-hand) */
html.swipeshow-grabbed,
html.swipeshow-grabbed * {
  cursor: -moz-grabbing !important;
  cursor: ew-resize;
}

/* Positioning */
.swipeshow .slides,
.swipeshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* First slide should be visible by default */
.swipeshow .slide {
  visibility: hidden;
}

.swipeshow .slide:first-child {
  visibility: visible;
}

/* Defaults: OVERRIDE THIS! */
/*
.swipeshow {
  width: 100px;
  height: 100px;
}
*/
/*  ////////// ty */

/* Slideshow metrics */
.slideshow {
  width: 100%;
  height: 100%; }

/* ... */
.slides img {
  width: 100%;
  height: 100%;
}

/* Super slide */
.with-overlay {
  position: relative;
}

.with-overlay img,
.with-overlay .overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.with-overlay img {
  z-index: 1;
}

.with-overlay .overlay {
  z-index: 2;
  background: rgba(0, 10, 60, 0.75);

  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 0 4px rgba(0, 0, 0, 0.3);

  text-align: center;
  line-height: 200px;
}

.with-overlay .in {
  display: inline-block;
  vertical-align: middle;
  padding: 0 20px;

  /* Compensation for dots */
  padding-bottom: 15px;

  line-height: 1.4em;
}

.with-overlay h3 {
  color: white;
  font-size: 1.6em;
  font-weight: 400;
  margin-bottom: 3px;
}

.with-overlay p {
  margin-bottom: 20px;
  color: #d0d0dd;
}

.with-overlay a.action {
  display: inline-block;
  padding: 3px 20px;
  border: solid 2px #ddd;

  text-transform: uppercase;
  font-weight: bold;

  color: white;
  border-radius: 20px;
}

/*  ////////// ty */


/* Theme!
 *
 * To use this:
 *
 *     <div class='slideshow swipeshow'>
 *       <ul class='slides'>
 *         <li class='slide'>...</li>
 *         <li class='slide'>...</li>
 *       </ul>
 *
 *       <button class='previous'></button>  <!-- Optional -->
 *       <button class='next'></button>      <!-- Optional -->
 *       <div class='dots'></div>            <!-- Optional -->
 *     </div>
 */

.slideshow {

  background: #555 url(https://static.ewg.org/reports/2014/sunsafety/img/low_contrast_linen.png);
  margin: 0 auto;
}

.slideshow .slides {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.4);
}

.slideshow .next,
.slideshow .previous {
  border: 0;
  padding: 0;
  margin: 0;
  background-color: rgba(0, 0, 0, 0.0);
  cursor: pointer;

  position: absolute;
  width: 30px;
  height: 100%;
  text-align: center;

  top: 0;

  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);

  font-size: 30px;
  opacity: 0;

  -webkit-transition: opacity 300ms linear;
  -moz-transition: opacity 300ms linear;
  -ms-transition: opacity 300ms linear;
  -o-transition: opacity 300ms linear;
  transition: opacity 300ms linear;
}

.slideshow.no-touch:hover .next,
.slideshow.no-touch:hover .previous {
  opacity: 1;
  transition: none;
}

.slideshow .next:hover,
.slideshow .previous:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.slideshow .next:active,
.slideshow .previous:active {
  background-color: rgba(0, 0, 0, 0.4);
}

.slideshow .previous {
  left: 0;
}

.slideshow .next {
  right: 0;
}

.slideshow .previous:before {
  content: '\2039';
}

.slideshow .next:before {
  content: '\203a';
}

.slideshow .dots,
.slideshow .dot-item,
.slideshow .dot {
  margin: 0;
  padding: 0;
  list-style: none;

  border: 0;
  background: transparent;
}

.slideshow .dots {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  text-align: center;
  list-style: none;

  font-size: 0;
}

.slideshow .dot-item {
  list-style: none;
  display: inline-block;

  width: 30px;
  height: 20px;
  line-height: 20px;
  text-align: center;

  cursor: pointer;

  opacity:1;
}

.slideshow .dot {
  display: inline-block;
  width: 20px;
  height: 20px;
  -o-border-radius:10px; -ms-border-radius:10px; -khtml-border-radius:10px; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px;

  font-size: 0;

  border: solid 1px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);

  background-color: #ffffff;
}

.no-touch .dot-item:hover .dot {
  background-color: rgba(255, 255, 255, 0.2);
}

.slideshow .dot-item:active .dot,
.slideshow .dot-item.active .dot {
  background-color: #F69D15;
}

/* ///////// Ty */

.tyslide
{
position:relative; z-index:9;
background-position:center center !important; background-repeat:no-repeat !important; background-size:cover !important;
}
.darker { width:100%; height:100%; position:absolute; left:0; top:0; z-index:99; background-color:rgba(0,0,0,0.1); }


.tyslide_text { position:absolute; z-index:99; right:30px; bottom:0px; color:#ffffff; width:350px; padding:0; margin:0; background-color:transparent; color:#ffffff; text-align:left; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 0 4px rgba(0, 0, 0, 0.3);}
.tyslide_text h2 { font-weight:400; font-style:normal; color:#ffffff; font-size:16px; line-height:20px;  margin:0; background-color:rgba(152,130,116,0.9); padding:10px 15px 20px 15px; width:100%; text-shadow:none;}
.tyslide_text h1 { font-weight:300; 	font-style: normal; color:#ffffff; 	font-size:33px; 	line-height:43px; margin:0; background-color:rgba(246,127,51,0.8); padding:10px 15px; width:100%; text-shadow:none;}


.tyslide_text a, .tyslide_text a:link, .tyslide_text a:visited {	color:#ffffff;	text-decoration:none !important;	outline:none !important;	border:0 none;	vertical-align: baseline; background: transparent; }
.tyslide_text a:active, .tyslide_text a:hover {	color:#ffffff;	text-decoration:underline !important;	outline:none !important;	border:0 none; }
