/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 *
 *  Adapted for MetroMe by tudor_sv
 */

 
/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {
  width: 100%;
  display: block;
}
.flex-pauseplay span {text-transform: capitalize;}

/* 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 .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
/* .no-js .slides > li:first-child {display: block;} */


/* FlexSlider MetroMe custom Theme - by tudor_sv
***************************************************/
.flexslider {
  margin: 0;
  width: 100%;
  height: 100%;
  position: relative;
  zoom: 1;
}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a {
  text-decoration: none;
  width: 30px;
  height: 30px;
  line-height: 30px;
  margin: 0;
  display: block;
  position: absolute;
  top: -5px;
  z-index: 10;
  cursor: pointer;
  text-align: center;
  opacity: 0.5;
  -moz-transition: all 0.25s ease-in;
  -webkit-transition: all 0.25s ease-in;
  -o-transition: all 0.25s ease-in;
  transition: all 0.25s ease-in;
}
.flex-direction-nav .flex-next {right: 10px;}
.flex-direction-nav .flex-prev {right: 50px;}

.flex-direction-nav .flex-next i,
.flex-direction-nav .flex-prev i {
  width: 30px;
  height: 30px;
  font-size: 140%;
}
#tab-work .flex-direction-nav a { background-color: #FBE0B6;}
#tab-work .flex-direction-nav .flex-next i,
#tab-work .flex-direction-nav .flex-prev i { color: #905A05;}
#tab-life .flex-direction-nav a { background-color: #EDC3BE;}
#tab-life .flex-direction-nav .flex-next i,
#tab-life .flex-direction-nav .flex-prev i { color: #762116;}

.flexslider:hover .flex-next {opacity: 0.8; }
.flexslider:hover .flex-prev {opacity: 0.8; }
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
.flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {
  width: 100%;
  position: absolute;
  top: 0;
  text-align: right;
  line-height: 0;
  font-size: 0;
}

#project-single-img .flex-control-nav {text-align: left;}

#project-gallery-img .flex-control-nav,
#life-gallery-img .flex-control-nav {text-align: right;}

.flex-control-nav li {
  margin: 6px 6px 0 0;
  display: inline-block;
  width: 20px;
  height: 20px;
  zoom: 1;
  *display: inline;
}
.flex-control-paging li a {
  width: 100%;
  height: 100%;
  display: block;
  background: #666;
  background: rgba(0,0,0,0.5);
  cursor: pointer;
  font: 0/0 a;
  color: transparent;
  -moz-transition: all 0.25s ease-in;
  -webkit-transition: all 0.25s ease-in;
  -o-transition: all 0.25s ease-in;
  transition: all 0.25s ease-in;
}
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

#about-single-img .flex-control-paging li a { background: #486014; background: rgba(129,175,36,0.5); }
#about-single-img .flex-control-paging li a:hover { background: #63841D; background: rgba(129,175,36,0.7); }
#about-single-img .flex-control-paging li a.flex-active { background: #81AF24; background: rgba(129,175,36,1); }

.hide-dir .flex-direction-nav a {
  width: 0px;
  height: 0px;
  line-height: 0px;
  cursor: default;
  font: 0/0 a;
  opacity: 0;
}
