/*
 * jQuery FlexSlider v2.6.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 and later license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 *
 * MODIFIED FOR READING-AMATEUR-REGATTA.ORG APRIL 2016
 *
 * [*property: value] -  browser specific CSS hack for v7 or below of IE
 *
 */

/* ====================================================================================================================
 * FONT-FACE
 * ====================================================================================================================*/
@font-face {
  font-family: 'flexslider-icon';
  src: url('fonts/flexslider-icon.eot');
  src: url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), 
       url('fonts/flexslider-icon.woff') format('woff'), 
       url('fonts/flexslider-icon.ttf') format('truetype'), 
       url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* ====================================================================================================================
 * RESETS
 * ====================================================================================================================*/
/* Browser Resets */
.flex-container a:active,
.flexslider a:active {
   outline: none;
}
.flex-container a:hover,
.flex-slider a:hover {
  outline: none;
}
.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
.flex-pauseplay span {
  text-transform: capitalize;
}
/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider {
  margin: 0;
  padding: 0;
}
.flexslider .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
}
.flexslider .slides img {
  width: 100%;
  display: block;
}
.flexslider .slides:after {
  content: "\0020";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
html[xmlns] .flexslider .slides {
  display: block;
}

/* Clearfix for the .slides element */

.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
  html[xmlns] .slides {display: block;} 
* html .flexslider .slides {
  height: 1%;
}
.no-js .flexslider .slides > li:first-child {
  display: block;
}

/* ====================================================================================================================
 * RAR THEME
 * ====================================================================================================================*/


.flexslider {
  width: 100%;
  margin: 0 0 0.6em 0;
  padding: 0;
  vertical-align: baseline;
  background: #fff; 
  position: relative; zoom: 1;
}

/* Hide the slides before the JS is loaded. Avoids image jumping */

.flexslider .slides > li {display: none;}  
.flexslider .slides > li {position: relative;}


/* Slides */

.flexslider .slides {
  zoom: 1;
}
.flexslider .slides img {
  height: auto;
  -moz-user-select: none;
}

.flexslider .slides img:hover {
  opacity:0.9;
}


/* FLEX SLIDER CONTAINER */

.flex-viewport {
  max-height: 1200px;
   -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.loading .flex-viewport {
  max-height: 250px;
}


/* CAPTIONS */

.flex-caption {
  width: 100%; 
  padding: 0; 
  position: absolute; 
  left: 0; bottom: 0; 
  background: rgba(177,177,177,.5); 
  color: #fff; 
  font-family:dejarip;
  font-size: 0.9em;
  font-weight:normal;
  line-height: 1.0em;
  padding:0.1em 0.1em 0.1em 0.1em;
  margin:0 0 0 0;
  text-align:center;
}
.flex-caption a {color: #fff; text-decoration:none;}
.flex-caption a:hover {color: #fff; text-decoration:underline;}

/* ARROWS */

.flex-direction-nav {
  *height: 0;
}
.flex-direction-nav a {
  text-decoration: none;
  display: block;
  width: 30px;
  height: 50px;
  margin: -20px 0 0;
  position: absolute;
  top: 50%;
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
  color: rgba(177,177,177,.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.flex-direction-nav a:before {
  font-family: "flexslider-icon";
  font-size: 30px;
  display: inline-block;
  content: '\f001';
  color: rgba(177,177,177,.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}
.flex-direction-nav a.flex-next:before {
  content: '\f002';
}
.flex-direction-nav .flex-prev {
  left: -50px;
}
.flex-direction-nav .flex-next {
  right: -50px;
  text-align: right;
}
.flexslider:hover .flex-direction-nav .flex-prev {
  opacity: 0.7;
  left: 10px;
}
.flexslider:hover .flex-direction-nav .flex-prev:hover {
  opacity: 1;
}
.flexslider:hover .flex-direction-nav .flex-next {
  opacity: 0.7;
  right: 10px;
}
.flexslider:hover .flex-direction-nav .flex-next:hover {
  opacity: 1;
}
.flex-direction-nav .flex-disabled {
  opacity: 0!important;
  filter: alpha(opacity=0);
  cursor: default;
  z-index: -1;
}

/* CONTROL BUTTONS - on top of FlexSlider */

.flex-control-paging {
  width: 100%;
  position:absolute;
  top: 5px;
  text-align: center;
}
.flex-control-paging li {
  margin: 0 0 0 5px; 
  display: inline-block;
  zoom: 1; 
  *display: inline;
}
.flex-control-paging li a {
  width: 8px;
  height: 8px;
  display: block;
  background: #666;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  text-indent: -9999px;
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
.flex-control-paging li a:hover {
  background: #333;
  background: rgba(255, 255, 255, 0.7);
}
.flex-control-paging li a.flex-active {
  background: #ffffff;
  background: rgba(255, 255, 255, 0.9);
  cursor: default;
}

/* ====================================================================================================================
 * RESPONSIVE - keep arrows below certain screen size
 * ====================================================================================================================*/
@media screen and (max-width: 1024px) {
  .flex-direction-nav .flex-prev {
    opacity: 1;
    left: 10px;
  }
  .flex-direction-nav .flex-next {
    opacity: 1;
    right: 10px;
  }
  .flex-caption {font-size: 0.9em;}
}

@media screen and (max-width: 750px) {
  .flex-control-paging li {
    margin: 0 0 0 3px; 
    display: inline-block;
    zoom: 0.5; 
  }
  .flex-direction-nav .flex-prev {
    opacity: 1;
    left: 10px;
  }
  .flex-direction-nav .flex-next {
    opacity: 1;
    right: 10px;
  }
  .flex-caption {font-size: 0.8em;}
}

@media screen and (max-width: 680px) {
  .flex-control-paging li {
    margin: 0 0 0 3px; 
    display: inline-block;
    zoom: 0.4; 
  }
  .flex-direction-nav .flex-prev {
    opacity: 1;
    left: 10px;
    zoom: 0.7;
  }
  .flex-direction-nav .flex-next {
    opacity: 1;
    right: 10px;
    zoom: 0.7;

  }
  .flex-caption {font-size: 0.9em;}
}