/*
 * 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, .side-slider, .research-slider {
	margin: 0;
	padding: 0;
}
.flexslider .slides > li, .side-slider .slides > li, .research-slider .slides > li,
.tab-content .slides > li
{
	display: none;
	-webkit-backface-visibility: hidden;
} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img, .side-slider .slides img, .research-slider .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 Default Theme
*********************************/
.flexslider, .side-slider, .research-slider, .tab-content {
	position: relative;
	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, .side-slider .slides, .research-slider .slides, .tab-content .slides  {
	zoom: 1;
}
.carousel li {
	/*margin-right: 10px*/
	margin: 0 5px;
}

.news-slider li {
	margin-right: 15px
}
/* Direction Nav */
.flex-direction-nav {
*height: 0;
}
.flex-direction-nav a, .side-slider .flex-direction-nav a{
	width: 15px;
	height: 15px;
	/*margin: -20px 0 0;*/
	display: block;
/*	background: url(../images/bg_direction_nav.png) no-repeat 0 0;*/
	position: absolute;
	top: 50%;
	z-index: 10;
	cursor: pointer;
	text-indent: -9999px;
	-webkit-transition: all .3s ease;
	top: -36px;
}

.side-slider .flex-direction-nav a{

}
.flex-direction-nav .flex-next {
	right: 0px;
	background: #524f50 url('../images/main-sprite.png') no-repeat -368px -104px;
}
.flex-direction-nav .flex-prev {
	left:174px;
	background: #524f50 url('../images/main-sprite.png') no-repeat -318px -104px;
}
.flex-direction-nav .flex-next:hover {
	background: #716f70 url('../images/main-sprite.png') no-repeat -368px -104px;
}
.flex-direction-nav .flex-prev:hover {
	left: 164px;
	background: #716f70 url('../images/main-sprite.png') no-repeat -318px -104px;
}
/*.flexslider:hover .flex-next {
	opacity: 0.8;
	right: 5px;
}
.flexslider:hover .flex-prev {
	opacity: 0.8;
	left: 5px;
}*/
.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 {
	position: absolute;
	bottom: -40px;
	text-align: center;
	height: 40px;
}
.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: absolute;
	overflow: hidden;
	left: 94px;
	top: 50px;
	z-index: 105;
	width: 420px;
}
.flex-control-thumbs li {
	width: 38px !important;
	height: 24px !important;
	float: left;
	margin: 0;
	margin-right: 12px;
}
.flex-control-thumbs img {
	width: 38px !important;
	height: 24px !important;
	display: block;
	cursor: pointer;
	border: 1px solid #777976;
	margin: 2px;
	
}
.flex-control-thumbs img:hover {
	opacity: 1;
}
.flex-control-thumbs .flex-active {
	opacity: 1;
	cursor: default;
	border: 3px solid #FFF;
	margin: 0;
}
.carousel .flex-direction-nav .flex-prev {
	background: url('../images/main-sprite.png') no-repeat -357px -157px;
	width: 28px;
	height: 82px;
	left: -28px;
	top: 0px;
	outline: none;
}
.carousel .flex-direction-nav .flex-next {
	background: url('../images/main-sprite.png') no-repeat -390px -157px;
	width: 28px;
	height: 82px;
	right: -28px;
	top: 0;
		outline: none;
}
.news-slider .flex-direction-nav .flex-prev {
	background: #000 url('../images/gallery-sprite.png') no-repeat -73px 36px;
	width: 25px;
	height: 86px;
	left: -40px;
	top: -15px;
	outline: none;
}
.news-slider .flex-direction-nav .flex-next {
	background: #000 url('../images/gallery-sprite.png') no-repeat -118px 36px;
	width: 25px;
	height: 86px;
	right: -40px;
	top: -15px;
	outline: none;
}
.research-slider .flex-control-nav {
	bottom: auto;
	width: 100%;
	height: auto;
	top: 225px;
}
.flex-control-nav li {margin-left: 6px; margin-right:0px;padding: 0;}
.flex-control-nav li:first-child {margin-left: 0;}
.research-slider .flex-control-paging li a {
	width: 6px;
	height: 6px;
	background: #363f4e;
}
.flex-control-paging li a.flex-active {background: #a3adbd;}
.research-slider .slides {margin-bottom: 0;}
.research-slider .red-mask {
	background: #a60f15;
	background: url(../images/red-mask.png) repeat;
	width: 211px;
	height: 52px;
	position: absolute;
	top: 131px;
	right: 0;
	padding: 16px 13px;
}
.research-slider .red-mask p {
	color: #FFF;
	margin-bottom: 0;
}
.research-slider {top: -27px;}
@media screen and (max-width: 860px) {
.flex-direction-nav .flex-prev {
	opacity: 1;
	left: 0;
}
.flex-direction-nav .flex-next {
	opacity: 1;
	right: 0;
}
}
.inner-side-slider  .flex-direction-nav .flex-prev {left: 176px;}
.tab-content ul li img {border: 1px solid #CCC;}
.tab-content .flex-control-nav {
	width: 150px !important;
	height: 333px !important;
	top: 0;
	right: 0;
	left: auto;
	z-index: 1;
}
.tab-content .flex-control-thumbs li {
	width: auto !important;
	height: auto !important;
	margin: 0;
}
.tab-content .flex-control-nav img {
	margin: 0;
	width: 148px !important;
	height: 82px !important;
	border: 1px solid #CCC;
	border-top: 0;
}
.tab-content .flex-control-nav li:first-child img {
	border-top: 1px solid #CCC;
}
.tab-content .black-mask {
	width: 307px;
	height: 34px;
	background: url(../images/research-black.png) repeat;
	position: absolute;
	top: 273px;
	left: 0;
	padding: 15px;
	color: #FFF;
}
.tab-content .black-mask p {color: #FFF; font-size: 11px; margin: 0;}
/* - gallery  - */

#carousel .flex-viewport li {border: 2px solid #CCC;margin: 0 3px ; padding: 0;}
#carousel .flex-viewport li img {opacity: .8; cursor: pointer;}
#carousel .flex-viewport li.flex-active-slide img, #carousel .flex-viewport li:hover img {opacity: 1}
#carousel .flex-viewport li.flex-active-slide{
	border-color: #333;
}
.flexslider .slides > li .black-mask {
	height: 30px;
	background: url(../images/gallery-bar.png) repeat;
	width: 704px;
	position: absolute;
	top: 374px;
	color: #FFF;
	font-size: 12px;
	line-height: 24px;
	padding-left: 14px;
}
.flexslider .black-bar {
	height: 18px;
	background: #000;
	width: 100%;
	position: absolute;
	z-index: 9;
	top: 404px;
}
.gallery .flex-pauseplay {
	position: absolute;
	top: 408px;
	z-index: 20;
	left: 13px;
}
.gallery .flex-pause, .gallery .flex-play {
	width: 10px;
	height: 10px;
	background: url(../images/gallery-sprite.png) no-repeat 0 0;
	float: left;
	position: relative;
	top: -1px;
	cursor: pointer;
}
.gallery .flex-pause:hover, .gallery .flex-play:hover { 
	opacity: .8;
	filter: alpha(opacity=80);
	}
.gallery .flex-play {
	height: 12px;
	background-position: -18px 0;
}
.gallery #slider .flex-direction-nav {
	position: absolute;
	top: 443px;
	left: 63px;
}
.gallery #slider .flex-direction-nav .flex-next {
	background: url('../images/gallery-sprite.png') no-repeat -59px 0;
	width: 10px;
	height: 10px;
	right: 0;
}
.gallery #slider .flex-direction-nav .flex-prev {
	background: url('../images/gallery-sprite.png') no-repeat -41px 0;
	width: 10px;
	height: 10px;
	left: -29px;
}
.gallery #slider .flex-direction-nav .flex-next:hover,
.gallery #slider .flex-direction-nav .flex-prev:hover
{
	opacity: .8;
	filter: alpha(opacity=80);
}
.gallery #slider .flex-direction-nav .flex-disabled {
	opacity: .4!important;
	filter: alpha(opacity=40);
}
.slider-counter {
	position: absolute;
	z-index: 20;
	color: #FFF;
	border-left: 1px solid #FFF;
	padding-left: 10px;
	top: 405px;
	left: 74px;
	height: 17px;
	line-height: 17px;
	font-size: 11px;
}
.gallery #carousel .flex-direction-nav .flex-prev, .gallery #carousel .flex-direction-nav .flex-next {
	left: -49px;
	height: 50px;
	width: 22px;
	background: #000 url('../images/gallery-sprite.png') no-repeat -75px 18px;
}
.gallery #carousel .flex-direction-nav .flex-prev:hover, 
.gallery #carousel .flex-direction-nav .flex-next:hover {
	opacity: .8;
	filter: alpha(opacity=80);
}
.gallery #carousel .flex-direction-nav .flex-next {
	right:49px;
	left: auto;
	background-position: -121px 18px;
}
.gallery #carousel {
	background: #e5e5e5;
	padding: 7px 49px;
	height: 36px;
	margin-top: 11px;
	width:100%;
	box-sizing: border-box;
	overflow:hidden;
}
.gallery ul {margin-bottom: 0;}
.gallery #carousel .flex-direction-nav {
	position: absolute;
	top: 36px;
	width: 100%;
}
.flexslider .slides > li:first-child, .gallery .flexslider .slides > li:first-child {display: block ; -webkit-backface-visibility: visible;}
.gallery #carousel  li:first-child {
	width: 52px;
}
