.flexslider {overflow:visible !important;}
.flexslider, .flex-active-slide, .slider-wrap-box {max-width:1400px; margin:0 auto;}

/* jQuery FlexSlider v2.0 */
/* 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 {z-index:300;}
.flexslider .slides > li {display:none; -webkit-backface-visibility:hidden; -webkit-transform:translateZ(0); -ms-transition: all 0.8s ease-out;}
/* 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 */
.no-js .slides > li:first-child {display:block;}
/* FlexSlider Default Theme
*********************************/
.flexslider {margin:0; 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:380px;}
.flexslider .slides {zoom:1;}
.carousel li {margin-right:5px;}

.flexslider {margin:0 !important; background:#F2F5F7; border:none !important; position: relative; zoom: 1;}

/* CAPTIONS */
.flex-caption {position:absolute; display:block; bottom:0; left:0; padding:36px 0 30px 36px; width:100%; color:#fff; line-height:1; text-align:left; z-index:200;}
.flex-caption {width:100%;}
.flex-caption em, .flex-caption strong {display:block;}
.flex-caption em {padding-right:36px; padding-top:8px; font:normal 18px 'Arvo',serif; text-transform:uppercase; line-height:1.4}
.flex-caption strong {padding-right:36px; font:normal 44px 'Nexa-Thin',serif; line-height:1.3}
.flex-caption .credit {display:none; position:absolute; bottom:-40px; right:20px; font:14px serif; color:#fff; text-align:right;}
.flex-caption.flex-caption-hasbtn em {padding-right:650px;}
.flex-caption.flex-caption-hasbtn strong {padding-right:380px;}
.flex-caption-btn {position:absolute; bottom:34px; right:36px; z-index:300;}
.flex-caption-btn .btn {padding-right:40px; padding-left:40px;}

/* Overlays */
.flex-overlay {position:absolute; display:block; bottom:0; left:0; width:100%; height:205px; background:url(/webart/bgd-overlay.png) bottom repeat-x; z-index:100;}
.flex-overlay2 {position:absolute; display:block; top:0; left:0; width:100%; height:148px; background:url(/webart/bgd-overlay2.png) bottom repeat-x; z-index:100;}

/* Custom Overlays */
/* 
.flex-overlay {position:absolute; bottom:-15px; display:block; margin:0 auto; padding:24px 14px 39px 14px; width:1100px; font:normal 30px 'MEI',sans-serif; color:#fff; text-align:center; background:rgba(191,32,105,0.71); left:50%; -webkit-transform: translate(-50%,0); -ms-transform: translate(-50%,0); transform: translate(-50%,0); z-index:400;}
.flex-overlay a {color:#fff; text-decoration:none;}
.flex-overlay a:hover {color:#fff; text-decoration:underline;}
*/

/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a {position:absolute; bottom:40%; display:block; width:34px; height:65px; margin:0; z-index:500; overflow:hidden; cursor:pointer; color:rgba(78,85,119,0.5); -webkit-transition:all .3s ease; -moz-transition:all .3s ease; transition:all .3s ease;}
.flex-direction-nav .flex-prev {left:-80px;}
.flex-direction-nav .flex-next {right:-80px;}
.flex-direction-nav .flex-prev:hover {left:-85px; color:rgba(78,85,119,0.8);}
.flex-direction-nav .flex-next:hover {right:-85px; color:rgba(78,85,119,0.8);}
.flex-direction-nav .flex-disabled {opacity:0 !important; filter:alpha(opacity=0); cursor:default;}
.flex-direction-nav a:before {font-family:"FontAwesome"; font-size:60px; display:inline-block; content:'\f104';}
.flex-direction-nav a.flex-next:before {content:'\f105';}

/* Control Nav */
.flex-control-nav {position:absolute; right:15px; bottom:-33px; line-height:1; z-index:1000; text-align:center;}
/* .flex-control-nav li:first-child {margin-left:15px;}  */
.flex-control-nav li {margin:0 5px; vertical-align:top; display:inline-block;}
.flex-control-paging li a {position:relative; display:block; width:20px; height:20px; background-color:#D1D7DF; -moz-border-radius:50%; -webkit-border-radius:50%; border-radius:50%; cursor:pointer; text-indent:-9999px; /* opacity:0.50; filter:alpha(opacity=50);*/}
.flex-control-paging li a.flex-active, .flex-control-paging li a:hover {/*opacity:1; filter:alpha(opacity=100); */background:#556885;}
/* .flex-control-paging li a.flex-active {-webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,1); -moz-box-shadow:0px 1px 5px 0px rgba(0,0,0,1); box-shadow:0px 1px 5px 0px rgba(0,0,0,1);} */
.flex-control-thumbs {display:none;}

@media only screen and (max-width: 1600px) {
	.flex-caption em {font-size:16px;}
	.flex-caption strong {font-size:42px;}
	.flex-direction-nav .flex-prev {left:20px;}
	.flex-direction-nav .flex-next {right:25px;}
	.flex-direction-nav .flex-prev:hover {left:15px;}
	.flex-direction-nav .flex-next:hover {right:20px;}
	.flex-direction-nav .flex-prev:hover, .flex-direction-nav .flex-next:hover {color:rgba(255,255,255,0.8);}
	.flex-direction-nav a {color:rgba(255,255,255,0.5);}
}
@media only screen and (max-width: 1400px) {
	.flex-caption em {font-size:15px;}
	.flex-caption strong {font-size:40px;}
	.flex-caption.flex-caption-hasbtn em {padding-right:590px;}
	.flex-caption.flex-caption-hasbtn strong {padding-right:320px;}
	.flex-caption-btn .btn {padding-right:30px; padding-left:30px;}
}
@media only screen and (max-width: 1280px) {
	.flex-caption {padding:25px 0 20px 25px;}
	.flex-caption strong {font-size:34px;}
	.flex-caption.flex-caption-hasbtn em {padding-right:240px;}
	.flex-caption.flex-caption-hasbtn strong {padding-right:200px;}
	.flex-caption-btn {bottom:25px; right:25px;}
	.flex-caption-btn .btn {padding-right:25px; padding-left:25px;}
}
@media only screen and (max-width: 1200px) {
	.flex-caption em {font-size:14px;}
	.flex-caption.flex-caption-hasbtn em, .flex-caption.flex-caption-hasbtn strong {padding-right:170px;}
	.flex-control-nav {bottom:-37px;}
	.flex-control-paging li a {width:25px; height:25px;}
	.flex-caption strong {font-size:38px;}
}
@media only screen and (max-width: 1100px) {
	.flex-caption strong {font-size:28px;}
}
@media only screen and (max-width: 1024px) {
	.flex-caption em {font-size:14px;}
	.flex-caption-btn .btn {padding-right:15px; padding-left:15px;}
	.flex-caption {padding:15px 0 15px 20px;}
	.flex-caption-btn {bottom:15px; right:15px;}
}
@media only screen and (max-width: 959px) {
	.flex-caption strong {font-size:22px;}
}
@media only screen and (max-width: 767px) {
	.flex-caption em {font-size:12px;}
	.flex-caption strong {font-size:20px;}
}
@media only screen and (max-width: 580px) {
	.flex-caption-btn {display:none;}
	.flex-caption.flex-caption-hasbtn em, .flex-caption.flex-caption-hasbtn strong {padding-right:15px;}
	.flexslider, .flexslider .slides, .slider-wrap-box, .slider-wrap-box img {height:250px !important;}
	.flexslider .slides img {width:auto !important; margin-left:50%; margin-right:50%; -webkit-transform:translate(-50%,0); -ms-transform:translate(-50%,0); transform:translate(-50%,0);}
}
@media only screen and (max-width: 480px) {
	.flex-caption {padding:15px 15px;}
	.flex-caption em {font-size:11px;}
	.flex-caption strong {font-family:'Nexa-Regular',sans-serif; font-size:16px;}
	.flex-caption-btn span {display:none;}
	.flex-control-nav {right:auto; width:100%;}
	.flex-control-nav {bottom:-46px;}
	.flex-control-paging li a, .flex-control-paging li a.flex-active, .flex-control-paging li a:hover {width:32px; height:32px;}
	.flex-direction-nav {display:none;}
	.flexslider, .flexslider .slides, .slider-wrap-box, .slider-wrap-box img {height:260px !important;}
}
@media only screen and (max-width: 400px) {
	.flex-caption em {font-size:10px;}
	.flex-caption strong {font-family:'Nexa-Regular',sans-serif; font-size:14px;}
	.flexslider, .flexslider .slides, .slider-wrap-box, .slider-wrap-box img {height:220px !important;}
}
@media only screen and (max-width: 359px) {
	.flex-caption strong {font-size:12px;}
}

/* Photo Box Height */
@media only screen and (min-width: 480px) {
	.photoboxwrapper, .photoboxwrapperhome {min-height:0;}
}
@media only screen and (min-width: 640px) {
	.photoboxwrapper {min-height:150px;}
	.photoboxwrapperhome {min-height:250px;}
}
@media only screen and (min-width: 767px) {
	.photoboxwrapper {min-height:200px;}
	.photoboxwrapperhome {min-height:300px;}
}
@media only screen and (min-width: 959px) {
	.photoboxwrapper {min-height:277px;}
	.photoboxwrapperhome {min-height:377px;}
}
@media only screen and (min-width: 1024px) {
	.photoboxwrapper {min-height:300px;}
	.photoboxwrapperhome {min-height:400px;}
}
@media only screen and (min-width: 1100px) {
	.photoboxwrapper {min-height:332px;}
	.photoboxwrapperhome {min-height:432px;}
}
@media only screen and (min-width: 1280px) {
	.photoboxwrapper {min-height:400px;}
	.photoboxwrapperhome {min-height:500px;}
}
@media only screen and (min-width: 1366px) {
	.photoboxwrapper {min-height:437px;}
	.photoboxwrapperhome {min-height:537px;}
}
@media only screen and (min-width: 1400px) {
	.photoboxwrapper {min-height:450px;}
	.photoboxwrapperhome {min-height:550px;}
}