/*
 * jQuery FlexSlider v2.2.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)
 */

#team .imageholder
/* 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 0 0 0;
	padding: 0;
	position: relative;
	zoom: 1;
	width: 1000px;
	max-width:70vw;
}

#lifestyle .flexslider{
	max-width: 100%;
}

.flexslider .slides > li {
	display: none;
	-webkit-backface-visibility: hidden;
}
#design .flexslider .slides > li, #team .flexslider .slides > li {
	opacity: 0.25;
}
/* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {
	width: 100%;
	display: block;
}
#design .flexslider .slides > li.flex-active-slide, #team .flexslider .slides > li.flex-active-slide {
	opacity: 1;
}
.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;
}
ul.slides {
	height: 100%;
}
/* FlexSlider Default Theme
*********************************/
.flex-viewport {
	max-height: 2000px;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
	overflow: initial !important;
}
.noside .flex-viewport {

	overflow: hidden !important;
}
.loading .flex-viewport {
	max-height: 300px;
}
.flexslider .slides {
	zoom: 1;
	    width: 3000% !important;
}
.carousel li {
	margin-right: 5px;
}
/* Direction Nav */
.flex-direction-nav {
*height: 0;
	position: absolute;
	top: -39px;
	right: 27px;
}
#design .flex-direction-nav {
*height: 0;
	position: absolute;
	top: -42px;
	right: 27px;
}
#lifestyle .sliderholder {
	max-width: 1000px;
	width: 100%;
	margin: 0 auto;
	float: none;
	min-height: initial;
}



#lifestyle .flex-direction-nav {
	position: absolute;
	top: 24px;
	right: 50px;
}
.flex-direction-nav a {
	text-decoration: none;
	display: block;
	width: 26px;
	height: 26px;
	margin: -20px 0 0;
	position: absolute;
	top: 50%;
	z-index: 10;
	overflow: hidden;
	opacity: 1;
	cursor: pointer;
	color: rgba(0,0,0,0.8);
	text-shadow: 1px 1px 0 rgba(255,255,255,0.3);
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	transition: all .3s ease;
	border-radius: 100%;
}
.flex-direction-nav .flex-prev {
	left: -27px;
	background-image: url(../images/buttons/pre.png);
	background-position: center center;
	background-repeat: no-repeat;
	
	
}
.flex-direction-nav .flex-prev:hover {
	background-image: url(../images/buttons/pre-white.png);
	background-color: #343399;
}
.flex-direction-nav .flex-next {
	right: -27px;
	text-align: right;
	background-image: url(../images/buttons/next.png);
	background-position: center center;
	background-repeat: no-repeat;
	
}
.flex-direction-nav .flex-next:hover{
	background-image: url(../images/buttons/next-white.png);
	background-color: #343399;
}

.hasmarginleft  .flex-direction-nav .flex-next:hover{
	background-image: url(../images/buttons/next-blue.png);
    	background-color:#fff;

}
.hasmarginleft  .flex-direction-nav .flex-prev:hover{
	background-image: url(../images/buttons/pre-blue.png);
    	background-color:#fff;

}
.flex-direction-nav .flex-disabled {
	cursor: pointer;
}
/* Pause/Play */
.flex-pauseplay a {
	display: block;
	width: 20px;
	height: 20px;
	position: absolute;
	bottom: 5px;
	left: 10px;
	opacity: 0.8;
	z-index: 10;
	overflow: hidden;
	cursor: pointer;
	color: #000;
}
.flex-pauseplay a:before {
	font-family: "flexslider-icon";
	font-size: 20px;
	display: inline-block;
	content: '\f004';
}
.flex-pauseplay a:hover {
	opacity: 1;
}
.flex-pauseplay a.flex-play:before {
	content: '\f003';
}
/* Control Nav */
.flex-control-nav {
	width: 100%;
	position: absolute;
	bottom: -40px;
	text-align: center;
	display: none;
}
.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;
	-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);
}
.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;
}

@media screen and (max-width: 1025px) {
.flexslider {
	width: 500px;
}
.flexslider .slides img {
	width: 500px;
}
#lifestyle .flexslider .slides img {
	width: 800px;
}
	#lifestyle .flexslider{
		width: 800px;
		margin: 0 auto;
		overflow: hidden;
	}
	#team .flex-direction-nav{
		right: 0;
	}

}

@media screen and (max-width: 768px) {
	#team .flex-direction-nav {
    position: absolute;
    right: -130px;
}

}


	@media screen and (max-width: 720px) {
	h3{
		padding-top: 25px;
	}
	#lifestyle .flexslider{
	max-width: calc(100% - 60px);
		margin:  0 auto;
		
		    max-width: 100%;
    margin: 0 auto;
    width: initial;
}
	
.flex-direction-nav {
	    position: absolute;
    top: 25px;
    right: 55px;
}
.flex-direction-nav .flex-next {
	background-image: url(../images/buttons/next-white.png);
	right: initial;
	left: 16px;
}

.flex-direction-nav .flex-prev {
	    background-image: url(../images/buttons/pre-white.png);
	opacity: 1;
	left: -16px;
}

	.flexslider {
	width: 300px;
}
.flexslider .slides img {
	width: 300px;
}
	#team .flexslider {
    width: 300px;
}
.mob.fullheight .flex-direction-nav {
	    right: 60px;
    top: 25px;
}
	#team .flex-direction-nav,.hasmarginleft  .flex-direction-nav {
    position: absolute !important; 
    top: 25px !important; 
    right: 55px !important; 
}
	#design .flexslider .slides > li.flex-active-slide, #team .flexslider .slides > li.flex-active-slide{
		padding-bottom: 15px;
	
	}
		.flex-direction-nav .flex-prev {
		background-image: url(../images/buttons/pre-white.png);
}

.flex-direction-nav .flex-next {
	background-image: url(../images/buttons/next-white.png);
}

.flex-direction-nav .flex-disabled {
	cursor: pointer;
}
}
@media screen and (min-width: 2000px) {
	#design .sliderholder, #team .sliderholder{
		    max-width: 1800px;
	}
}