	@import url('_layout/base.css');
	@import url('_layout/grid.css');
	@import url('_layout/layout.css');
	
/* 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 Default Theme
*********************************/
.flexslider{
	zoom: 1;
	position: relative;
	margin-bottom:30px;
}

.ie7 .flexslider{ margin-bottom:0px; }

.flex-viewport{
	max-height: 2000px;
}

.loading .flex-viewport{
	max-height: 300px;
}

.flexslider .slides{
	zoom: 1;
}


/* Direction Nav - left right navigation */

.flex-direction-nav a {
	width: 28px;
	height: 27px;
	display: block;
	background-color: #000;
	bottom: 45%;
	right: 40px;
	float: none;
	position: absolute;
	cursor: pointer;
	text-indent: -9999px;
	background-color: #222;
	background: rgba(0, 0, 0, 0.65);
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	-ms-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
	opacity: 0.3;
}

.ie7 .flex-direction-nav a{ bottom:90px; }

.flex-direction-nav .flex-next {
	background: url(images/bg_direction_nav.png) no-repeat center right;
}

.flex-direction-nav .flex-prev {
	left: 40px;
	background: url(images/bg_direction_nav.png) no-repeat center left;
}

.flex-direction-nav .flex-prev:hover,
.flex-direction-nav .flex-next:hover {
	opacity: 1;
}

/* Control Nav - pager navigation*/

.flex-control-nav {
	width: 100%;
	position: absolute;
	bottom: 130px;
	text-align: center;
}

.flex-control-nav li {
	margin: 0 3px 0 0;
	display: inline-block;
	zoom: 1;
	*display: inline;
}

.flex-control-paging li a {
	width: 14px;
	height: 14px;
	display: block;
	background: #c8c8c8;
	cursor: pointer;
	text-indent: -9999px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	-o-border-radius: 20px;
	border-radius: 20px;
}

.flex-control-paging li a:hover,
.flex-control-paging li a.flex-active {
	background: #505050;
}

.flex-control-paging li a.flex-active {
	cursor: default;
}

/* Slide Text*/

.slidetext {
	background-color: #303030;
	color: #aeb0b3;
	height: 50px;
	padding: 35px 0 35px 35px;
}

.slidetext h2, .slidetext h3 {
	width: 185px;
	float: left;
	color: #ffffff;
	line-height: 20px;
	font-weight: 600;
}

.slidetext a, .slidetext h2 a, .slidetext h3 a {
	color: #ffffff;
	text-decoration: none;
}

.slidetext p {	
	margin-bottom: 20px;
	width: 560px;
	margin-left: 0;
	color:#fff;
}

.flexslider img {
	
}

/* #Tablet (Portrait) - designed for 705px width grid */
	
@media only screen and (min-width: 768px) and (max-width: 959px) {
	
	.slidetext{ height:60px; padding: 25px 0 35px 25px; }
	.flex-direction-nav a { bottom:75px; }
	.slidetext h3{ float:none; width:auto; }
	.slidetext p{ float:none; margin-left:0; width:auto; }
	
}

/* #Mobile (Landscape) - designed for 420px width */

@media only screen and (max-width: 767px) {

	.slidetext{ display:none; }
	.flexslider img { }
	.flex-direction-nav a { bottom:40%; }
	.flex-direction-nav .flex-next { right:20px; }
	.flex-direction-nav .flex-prev { left:20px; }
}

/* #Mobile (Landscape) - designed for 420px width */

@media only screen and (min-width: 480px) and (max-width: 767px){
	
	.flex-direction-nav a {  }	
		
}

 
/* @group Structure */
	
	#ib-container {
		position: absolute;
		background: #fff;
		z-index: 1000;
	}
	
	#ib-image {
		display: block;
		width: 100%;
		height: 100%;
	}
	
	#ib-overlay {
		position: fixed;
		background: #000;
		display: none;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		z-index: 999;
	}
	
	#ib-container, #ib-overlay, #ib-next, #ib-prev {
		-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
		filter: alpha(opacity=0);
		opacity: 0;
	}

/* @end */

/* @group Title */
	
	#ib-title-mask {
		position: relative;
		overflow: hidden;
	}
	#ib-title {
		position: relative;
		display: none;
		font: normal 11px/16px Helvetica, Arial, sans-serif;
		text-align: left;
		color: #ccc;
		padding: 8px 12px;
		padding-top: 10px;
		
		border-bottom: 2px solid #0A0A0A;
		border-bottom: 2px solid rgba(10,10,10,.9);
		
		background: #141414;
		background: rgba(20,20,20,.9);
		
		-webkit-border-radius: 0 0 3px 3px;
		-moz-border-radius: 0 0 3px 3px;
		border-radius: 0 0 3px 3px;
	}
	
	/* @group Gallery Title */
		
		#ib-gallery-title {
			color: #777;
		}
		#ib-gallery-title.ib-hastitle { margin-top: 8px; }
		
		/* @group Gallery List */
			
			#ib-gallery-list strong, #ib-gallery-list a {
				padding: 2px 3px;
				margin-right: 2px;
				color: #777;
				cursor: default;
			}
			
			#ib-gallery-list a {
				color: #ccc;
				cursor: pointer;
				text-decoration: none;
			}
			#ib-gallery-list a:hover { color: #777; }
			
		/* @end */
		
	/* @end */
	
/* @end */

/* @group Controls */
	
	#ib-close, #ib-next div, #ib-prev div {
		position: absolute;
		width: 30px;
		height: 30px;
		background: url(images/sprite.png);
	}
	
	#ib-close {
		visibility: hidden;
		right: -15px;
		top: -15px;
		cursor: pointer;
		z-index: 2;
	}
	
	.ie7 #ib-close,
	.ie8 #ib-close{
		right:0;
		top:0;
	}
	
	#ib-next, #ib-prev {
		position: absolute;
		display: none;
		right: 0;
		top: 0;
		width: 40%;
		height: 100%;
		cursor: pointer;
		z-index: 1;
		background: url(images/ie-trans.png) repeat top left;
		background: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.6));
		background: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.6));
		background: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.6));
		background: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.6));
		background: linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.6));
		-webkit-transition: opacity .2s linear;
		-moz-transition: opacity .2s linear;
		-o-transition: opacity .2s linear;
		-ms-transition: opacity .2s linear;
		transition: opacity .2s linear;
	}
	#ib-prev {
		left: 0;
		background: -webkit-linear-gradient(right, rgba(0,0,0,0), rgba(0,0,0,.6));
		background: -moz-linear-gradient(right, rgba(0,0,0,0), rgba(0,0,0,.6));
		background: -o-linear-gradient(right, rgba(0,0,0,0), rgba(0,0,0,.6));
		background: -ms-linear-gradient(right, rgba(0,0,0,0), rgba(0,0,0,.6));
		background: linear-gradient(right, rgba(0,0,0,0), rgba(0,0,0,.6));
	}
	#ib-next:hover, #ib-prev:hover {
		-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
		filter: alpha(opacity=100);
		opacity: 1;
	}
	
	.ie7 #ib-next,
	.ie8 #ib-next,
	.ie7 #ib-prev,
	.ie8 #ib-prev{
		width:25%;
	}
	
	#ib-next div, #ib-prev div {
		right: 30px;
		top: 50%;
		margin-top: -15px;
		background-position: -60px 0;
	}
	#ib-prev div {
		left: 30px;
		background-position: -30px 0;
	}
	
/* @end */

/* @group Shadow */
	
	.ib-shadow {
		position: absolute;
		z-index: -2;
	}
	
	/* @group Shadow Corners */
		
		#ib-nw, #ib-ne, #ib-se, #ib-sw {
			width: 20px;
			height: 20px;
			background: url(images/sprite.png);
		}
		#ib-nw {
			left: -20px;
			top: -20px;
			background-position: -60px -30px;
		}
		#ib-ne {
			right: -20px;
			top: -20px;
			background-position: -40px -30px;
		}
		#ib-se {
			right: -20px;
			bottom: -20px;
			background-position: 0 -30px;
		}
		#ib-sw {
			left: -20px;
			bottom: -20px;
			background-position: -20px -30px;
		}
		
	/* @end */
	
	/* @group Shadow Sides */
		
		#ib-n, #ib-s {
			left: 0;
			width: 100%;
			height: 20px;
			background: url(images/shadow-v.png);
		}
		#ib-n {
			top: -20px;
			background-position: 0 -20px;
		}
		#ib-s { bottom: -20px; }
		
		
		#ib-w, #ib-e {
			top: 0;
			width: 20px;
			height: 100%;
			background: url(images/shadow-h.png);
		}
		#ib-w {
			left: -20px;
			background-position: -20px 0;
		}
		#ib-e { right: -20px; }
		
	/* @end */
	
/* @end */

.ib-notrigger { cursor: default; }
