/*
 * 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)
 */

 
/* 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;position:relative;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;position:relative;height: 100%;}
.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%;}

#teamSlider.flexslider .slides img{
	height:365px;
}

/* 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 Default Theme
*********************************/
.flexslider {margin: 0 0 8px; zoom: 1;}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

.carousel li {margin-right: 22px;width:365px}


/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a {width:48px;height:42px; margin: 0 0 0; display: block; position: absolute; bottom:-65px; z-index: 10; cursor: pointer; text-indent: -9999px;-webkit-transition: all .3s ease;color: transparent;background:#286c91;}
.flex-direction-nav .flex-next {right: 0px; }
.flex-direction-nav .flex-prev {right: 50px;}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;background:#343434;}
.flex-direction-nav .flex-disabled {cursor: default;}

.flex-direction-nav a:before{
	font-family: FontAwesome;
	font-size: 25px;
	font-weight:normal;
	opacity: 1;
	display: block;
	text-indent: 0;
	color:#fff;
	width:48px;
	height:42px;
	text-align:center;
	line-height:42px;
}
.flex-direction-nav .flex-prev:before {
  content: "\f104";
  color:#fff;
}
.flex-direction-nav .flex-next:before {
  content: "\f105";
  color:#fff;
}
#homeSlider{
	margin-bottom:40px;
}
#homeSlider .flex-direction-nav .flex-prev:before,
#storySlider .flex-direction-nav .flex-prev:before{
  content: "\f177";
  color:#fff;
}
#homeSlider .flex-direction-nav .flex-next:before,
#storySlider .flex-direction-nav .flex-next:before {
  content: "\f178";
  color:#fff;
}


/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.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; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}
.flexslider .caption {
	position:absolute;
	bottom:0;
	right:0;
	width:230px;
	padding:20px;
	color:#fff;
	text-align:left;
}
#homeSlider .slides>li>a:after{
	content:'';
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	background:url(../images/slider-hover.png) top right no-repeat;	
	background-size:75% 100%;
	opacity:0;
	-webkit-transition: all .4s;
	-moz-transition: all .4s;
	-o-transition: all .4s;
	transition: all .4s;
}
#homeSlider .slides>li:hover>a:after{
	opacity:1;
}
#homeSlider .slides>li:after{
	content:'';
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	background:rgba(0,0,0,.5);
	opacity:0;
	-webkit-transition: all .4s;
	-moz-transition: all .4s;
	-o-transition: all .4s;
	transition: all .4s;
}
#homeSlider:hover .slides>li:after{
	opacity:1;
}
#homeSlider:hover .slides>li:hover:after{
	bottom:auto;
}
.caption h3{
	color:#fff;
}
#homeSlider img{
	height:524px
}

/*---------------Mentors------------------*/
.writer-sammury{
	position:absolute;
	bottom:0;
	right:0;
	left:0;
	height:70%;
	padding:30px 20px;
	color:#fff;
	text-align:center;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-o-transition: all .5s;
	transition: all .5s;
	background:rgba(0,0,0,.7)
}
#writersSlider li:hover .writer-sammury{
	height:100%;
}
#writersSlider li:hover .writer-sammury p{
	display:block;
}
.writer-sammury p{
	display:none;
	margin-bottom:25px;
}
.writer-sammury .position{
	display:block;
	margin-bottom:20px;
	text-transform:uppercase;
}
.writer-sammury a.btn-link{
	display:block;
	width:172px;
	height:62px;
	padding:10px 20px;
	color:#fff;
	border:1px solid #fff;
	line-height:38px;
	margin:0 auto;
	position:absolute;
	bottom:35px;
	left:50%;
	margin-left:-86px;
}
.writer-sammury a.btn-link:hover{
	background:#fff;
	color:#114e6f;
	text-decoration:none;
}

.writer-sammury h3{
	color:#fff;
	text-transform:uppercase;
}
.writer-social a{
	display:inline-block;
	color:#fff;
	width:56px;
	height:56px;
	border:1px solid #fff;
	border-radius:50%;
	font-size:20px;
	margin:0 5px;
	line-height:56px;
	text-align:center;
	margin-bottom:10px;
}
.writer-social a:hover{
	background:#fff;
	color:#114e6f;
}
#writersSlider img{
	height:575px;
}
#writersSlider.flexslider:hover .flex-next:hover, #writersSlider.flexslider:hover .flex-prev:hover {opacity: 1;background:#3084b3;}


/*---------------Mentors------------------*/
.mentor-sammury{
	position:absolute;
	bottom:0;
	right:0;
	left:0;
	height:70%;
	padding:20px;
	color:#fff;
	text-align:center;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-o-transition: all .5s;
	transition: all .5s;
	background:rgba(0,0,0,.7)
}
#mentorSlider li:hover .mentor-sammury{
	height:100%;
}
#mentorSlider li:hover .mentor-sammury p{
	display:block;
}
.mentor-sammury p{
	display:none;
	margin-bottom:25px;
}
.mentor-sammury a.btn-link{
	display:block;
	width:172px;
	height:62px;
	padding:10px 20px;
	color:#fff;
	border:1px solid #fff;
	line-height:38px;
	margin:0 auto;
	position:absolute;
	bottom:35px;
	left:50%;
	margin-left:-86px;
}
.mentor-sammury a.btn-link:hover{
	background:#fff;
	color:#114e6f;
	text-decoration:none;
}
.mentor-sammury a.btn-link:hover{
	text-decoration:none;
}
.mentor-sammury .position{
	display:block;
	margin-bottom:20px;
	text-transform:uppercase;
}
.mentor-sammury h3{
	color:#fff;
	text-transform:uppercase;
}
.mentor-social a{
	display:inline-block;
	color:#fff;
	width:56px;
	height:56px;
	border:1px solid #fff;
	border-radius:50%;
	font-size:20px;
	margin:0 5px;
	line-height:56px;
	text-align:center;
	margin-bottom:10px;
}
.mentor-social a:hover{
	background:#fff;
	color:#114e6f;
}
#mentorSlider img{
	height:575px;
}
#mentorSlider.flexslider:hover .flex-next:hover, #mentorSlider.flexslider:hover .flex-prev:hover {opacity: 1;background:#3084b3;}

/*-----------------------------------------------------*/
.story-owner{
	position:absolute;
	left:0;
	width:200px;
	top:0;
	bottom:0;
	background:#11557a;
	padding:25px;
	text-align:center;
	padding-top:280px;
}
.story-owner .owner-thumb{
	margin-bottom:30px;
	position: absolute;
	left: -25px;
	top:40px;
	width:210px;
	height:224px;
}
.story-owner h3{
	color:#fff;
	text-transform:uppercase;
}
.story-owner .position{
	margin-bottom:30px;
	display:block;
	color:#fff;
}
.owner-social a{
	display:inline-block;
	color:#fff;
	width:56px;
	height:56px;
	border:1px solid #fff;
	border-radius:50%;
	font-size:20px;
	margin:0 5px;
	line-height:56px;
	text-align:center;
	margin-bottom:10px;
}
.owner-social a:hover{
	background:#fff;
	color:#114e6f;
}
.stories-slider{
	position:relative;
}
.stories-slider .close{
	position:absolute;
	right:0;
	top:0;
	text-shadow: none;
	filter: alpha(opacity=100);
	opacity: 1;
}
.stories-slider .close a{
	color:#fff;
	font-weight:300;
	background:rgba(0,0,0,.6);
	width:65px;
	height:45px;
	line-height:42px;
	text-align:center;
	display:block;
}
#storiesSlider .flex-direction-nav .flex-next {right: 0; bottom:0 }
#storiesSlider .flex-direction-nav .flex-prev {left: 200px; right:auto; bottom:0;}


/*-----------------------------------------------*/

#teamSlider{
	position:relative;
}
.team-sammury{
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: rgba(0, 0, 0, .7);
	z-index: 2;
	opacity:0;
	color:#fff;
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}
#teamSlider li:hover .team-sammury{
	opacity:1;
}
.team-sammury h3{
	color:#fff;
	text-transform:uppercase;
	padding-left:20px;
}
.team-sammury h3 a{
	color:#fff;
}
.team-sammury .position{
	margin-bottom:30px;
	display:block;
	color:#fff;
	padding-left:20px;
}
.team-social a{
	display:inline-block;
	color:#fff;
	background:#114e6f;
	width:55px;
	height:47px;
	font-size:20px;
	margin:0;
	line-height:47px;
	text-align:center;
	margin-bottom:10px;
	margin-top:30%;
	margin-right:-2px;
}
.team-social a:hover{
	background:#fff;
	color:#114e6f;
}

#teamSlider .slides>li>a:after{
	content:'';
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
	background:url(../images/traingle.png) bottom right no-repeat;
	z-index:5;
}
#teamSlider .slides>li:hover>a:after{
	background:url(../images/traingle.png) 98% 98% no-repeat;
}


/*-------------------------------------*/
#storySlider .slides>li>.one-img a:after{
	content:'';
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	background:url(../images/slider-hover.png) top right no-repeat;	
	background-size:75% 100%;
	opacity:0;
	-webkit-transition: all .4s;
	-moz-transition: all .4s;
	-o-transition: all .4s;
	transition: all .4s;
}
#storySlider .slides>li:hover>.one-img a:after{
	opacity:1;
}
#storySlider .slides>li>.one-img{
	height:524px;
	position:relative;
}
#storySlider .slides>li>.two-img{
	height:260px;
	margin-bottom:4px;
	position:relative;
}
#storySlider .slides>li>.two-img:last-child{
	margin-bottom:0;
}
#storySlider .slides>li>.two-img a:after{
	content:'';
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	-webkit-transition: all .4s;
	-moz-transition: all .4s;
	-o-transition: all .4s;
	transition: all .4s;
}
#storySlider .slides>li>.two-img:hover a:after{
	background:rgba(10,10,10,.6);
}



@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
  .flex-direction-nav .flex-next {opacity: 1; right: 0;}
}