* {
	margin:0px;
	padding:0px;
}
#sliderMain {
	width:1000px;
	margin:0px auto;
	padding:30px 0px;
}
/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {
	width: 100%;
	margin: 0px;
	padding: 0px;
	height:340px;
}
ul.slides {
	margin:0px;
	padding:0px;
}
.flexslider .slides li {
	display: none;
	list-style:none;
	position:relative;
} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {
	width:507px;
	height:338px;
	border:4px solid #fff;
	float:right;
}
.flexslider .slides .pattern {background:url(../images/pattern.png) repeat; width:507px; height:338px; position:absolute; right:4px; top:4px;}
/* FlexSlider Default Theme
*********************************/
.flexslider {
	position: relative;
	min-height:100% !important;
}
.flexslider .slides li {
	position: relative;
}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flexslider-container {
	position: relative;
}
/* Caption style */
.flex-caption {
	width: 360px;
	position: absolute;
	left: 0;
	top: 0;
	font-size:46px;
	text-transform:uppercase;
	font-weight:bold;
	color:#9f9f9f;
	text-shadow:2px 0px 2px #000;
	line-height:45px;
}
.flex-caption .black {color:#232323;}
.flex-caption .green {color:#1ab4be;}
/* Direction Nav */

 ul.flex-direction-nav{ list-style:none !important;}
.flex-direction-nav li a {
	width: 40px;
	height: 39px;
	display: block;
	background: url(../images/bg_direction_nav.png) no-repeat 0 0;
	position: absolute;
	top: 50%;
	cursor: pointer;
	text-indent: -9999px;
} /* set negative margin-top equal to half the height on the directional-nav for perfect vertical centering */
.flex-direction-nav li a.next {
	background-position: -40px 0;
	right: -75px;
}
.flex-direction-nav li a.prev {
	background-position: 0 0;
	left: -75px;
}
/* Control Nav */
.flex-control-nav {
	margin-left: -31px;
	position: absolute;
	bottom: -30px;
	left: 50%;
	display:none;
} /* set negative margin-left equal to half the width on the control-nav for perfect centering */
 ul.flex-control-nav{ list-style:none !important;}
.flex-control-nav li {
	margin: 0 0 0 5px;
	float: left;
}
.flex-control-nav li:first-child {
	margin: 0;
}
.flex-control-nav li a {
	width: 10px;
	height: 10px;
	display: block;
	background: url(../images/bullets.png) no-repeat top;
	cursor: pointer;
	text-indent: -9999px;
}
.flex-control-nav li a:hover {
	background-position:bottom;
}
.flex-control-nav li a.active {
	background-position:bottom;
	cursor: default;
}
.gallery .mainThumb{height:184px; width:289px; overflow:hidden;}