.flexslider {overflow:visible !important;}
.photobox, .photoboxhome {margin:15px 0;}
.flexslider,
.flex-active-slide, 
.slider-wrap-box {max-width:1140px; 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; -webkit-box-shadow:0px 7px 20px rgba(33,137,202,0.4); -moz-box-shadow:0px 7px 20px rgba(33,137,202,0.4); box-shadow:0px 7px 20px rgba(33,137,202,0.4);}
.photoboxhome .flexslider, .photoboxhome .flexslider img {-webkit-border-top-left-radius:6px;  border-top-left-radius:6px; -moz-border-radius-topright:6px; -webkit-border-top-right-radius:6px; border-top-right-radius:6px;}

/* CAPTIONS */
.flex-caption {position:absolute; display:inline-block; bottom:-120px; left:0; padding:24px 0; width:100%; color:#fff; font-weight:200; line-height:1; text-align:center; background: rgb(249, 249, 250); background:-moz-linear-gradient(90deg, rgb(249, 249, 250) 0%, rgb(224, 226, 228) 100%); background:-webkit-linear-gradient(90deg, rgb(249, 249, 250) 0%, rgb(224, 226, 228) 100%); background:-o-linear-gradient(90deg, rgb(249, 249, 250) 0%, rgb(224, 226, 228) 100%); background:-ms-linear-gradient(90deg, rgb(249, 249, 250) 0%, rgb(224, 226, 228) 100%); background:linear-gradient(180deg, rgb(249, 249, 250) 0%, rgb(224, 226, 228) 100%);	z-index:200;}
.flex-caption {width:100%; z-index:600;}
.flex-caption em, .flex-caption strong {display:block;}
.flex-caption em {padding-top:5px; font-size:18px; font-style:normal; font-family:'Lato',sans-serif; color:#0088D0;}
.flex-caption strong {font-size:23px; font-weight:normal; font-family:'Lato',sans-serif; color:#005684;}
.flex-caption .credit {display:none; position:absolute; bottom:-40px; right:20px; font:14px serif; color:#fff; text-align:right;}

/* Overlays */
/* .flex-overlay {position:absolute; display:block; bottom:0; left:0; padding:15px 0; width:100%; height:183px; background:url(/webart/bgd_overlay.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:40px; display:block; width:34px; height:50px; margin:0; z-index:500; overflow:hidden; cursor:pointer; color:rgba(0,136,208,0.25); -webkit-transition:all .3s ease; -moz-transition:all .3s ease; transition:all .3s ease;}
.flex-direction-nav .flex-prev {left:-45px;}
.flex-direction-nav .flex-next {right:-50px;}
.flex-direction-nav .flex-prev:hover {left:-50px; color:rgba(0,19,34,0.75);}
.flex-direction-nav .flex-next:hover {right:-55px; color:rgba(0,19,34,0.75);}
.flex-direction-nav .flex-disabled {opacity:0 !important; filter:alpha(opacity=0); cursor:default;}
.flex-direction-nav a:before {font-family:"FontAwesome"; font-size:34px; display:inline-block; content:'\f053'; }
.flex-direction-nav a.flex-next:before  {content:'\f054'; }

/* Control Nav */
.flex-control-nav {width:100%; position:absolute; left:0; bottom:-35px; padding:10px 0; line-height:1; z-index:400; text-align:center; background:#005684;}
/* .flex-control-nav li:first-child {margin-left:15px;}  */
.flex-control-nav li {margin:0 6px; vertical-align:top; display:inline-block;}
.flex-control-paging li a {position:relative; display:block; width:30px; height:20px; background-color:#e9eff3; cursor:pointer; text-indent:-9999px; opacity:0.6; filter:alpha(opacity=6); -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; -webkit-transition:all .2s ease-in-out; -moz-transition:all .2s ease-in-out; transition:all .2s ease-in-out;}
.flex-control-paging li a.flex-active, .flex-control-paging li a:hover {opacity:1; filter:alpha(opacity=100);}
.flex-control-paging li a.flex-active {background-color:#0088D0;}
.flex-control-thumbs {display:none;}

/* Media Queries */
@media only screen and (max-width: 1300px) {
	.flexslider, .flex-active-slide, .slider-wrap-box {max-width:1024px;}
}
@media only screen and (max-width: 1200px) {
	.flexslider, .flex-active-slide, .slider-wrap-box {max-width:900px;}
	.flex-caption em {font-size:16px;}
	.flex-caption strong {font-size:20px;}
}
@media only screen and (max-height: 800px) {
	.flexslider, .flex-active-slide, .slider-wrap-box {max-width:1000px;}
}
@media only screen and (max-width: 1050px) {
	.flexslider, .flex-active-slide, .slider-wrap-box {max-width:800px;}
}
@media only screen and (max-width: 959px) {
	.flexslider, .flex-active-slide, .slider-wrap-box {max-width:700px;}
	.flex-caption em {font-size:15px;}
	.flex-caption strong {font-size:18px;}
}
@media only screen and (max-width: 840px) {
	.flexslider, .flex-active-slide, .slider-wrap-box {max-width:600px;}
}
@media only screen and (max-width: 767px) {
	.flex-caption {padding-right:10px; padding-left:10px;}
	.flex-direction-nav {display:none;}
	.flexslider, .flex-active-slide, .slider-wrap-box {max-width:100%;}
}
@media only screen and (max-width: 640px) {
	.flex-caption {bottom:-100px; padding-top:15px; padding-bottom:15px;}
	.flex-caption em {font-size:14px;}
	.flex-caption strong {font-size:16px;}
	.flex-control-nav li {margin-right:8px; margin-left:8px;}
}
@media only screen and (max-width: 480px) {
	.flex-caption em {font-weight:bold; font-size:11px;}
	.flex-caption strong {font-size:14px;}
	.flex-caption span {display:block; height:5px; text-indent:100%; white-space:nowrap; overflow:hidden;}
	.flex-control-paging li:nth-of-type(7), .flex-control-paging li:nth-of-type(8), .flex-control-paging li:nth-of-type(9), .flex-control-paging li:nth-of-type(10) {display:none;}
}
