.flexslider {overflow:visible !important;}
.photobox {min-height:320px;}
.photoboxhome {min-height:550px;}
.flexslider, .flex-active-slide, .slider-wrap-box {max-width:1200px; 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; backface-visibility:hidden; -webkit-transform:translateZ(0); transform:translateZ(0); -ms-transition: all 0.8s ease-out; 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:none; border:none !important; position: relative; zoom: 1;}

/* CAPTIONS */
.flex-caption {position:absolute; display:block; bottom:2px; left:0; padding:15px 0; width:100%; color:#fff; font-family:AGaramond,Garamond,Baskerville,"Baskerville Old Face","Hoefler Text","Times New Roman",serif; font-weight:200; line-height:1; text-align:center; z-index:200;}
.flex-caption {width:100%; z-index:600;}
.flex-caption em, .flex-caption strong {display:block;}
.flex-caption em {font-size:1.0625rem; font-style:200;}
.flex-caption strong {font-size:1.0625rem; font-weight:normal; font-style:italic; text-shadow:0 1px 0 rgba(0,0,0,.5);}
.flex-caption strong b {font-size:1.625rem; font-weight:normal; font-style:normal;}
.flex-caption strong span {display:block; height:5px; text-indent:100%; white-space:nowrap; overflow:hidden;}
.flex-caption .credit {display:none; position:absolute; bottom:-40px; right:20px; font:0.875rem serif; color:#fff; text-align:right;}

/* Overlays */
.flex-overlay {position:absolute; bottom:0; left:0; display:block; width:100%; height:107px; background:url(https://cdn.ssmedia.com/innsbythesea/webart/bgd_overlay.png) repeat-x; z-index:100;}

/* 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; text-decoration:none !important; color:rgba(0,0,0,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:-55px;}
.flex-direction-nav .flex-prev:hover, .flex-direction-nav .flex-next:hover {color:rgba(0,0,0,0.75);}
.flex-direction-nav .flex-prev:hover {left:-50px;}
.flex-direction-nav .flex-next:hover {right:-60px;}
.flex-direction-nav .flex-disabled {opacity:0 !important; cursor:default;}
.flex-direction-nav a:before {font-family:"FontAwesome"; font-size:2.125rem; 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:-30px; line-height:1; z-index:400; text-align:center;}
.chainwrapperhome .flex-control-nav {bottom:-50px;}

/* .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:20px; height:20px; background-color:#696969; cursor:pointer; text-indent:-9999px; opacity:0.25; -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;}
.flex-control-paging li a.flex-active {background-color:#CE5934;}
.flex-control-thumbs {display:none;}

/* Media Queries */
@media only screen and (max-width: 1300px) {
	.flex-direction-nav .flex-prev {left:-35px;}
	.flex-direction-nav .flex-next {right:-45px;}
	.flex-direction-nav .flex-prev:hover {left:-40px;}
	.flex-direction-nav .flex-next:hover {right:-50px;}
}
@media only screen and (max-width: 1200px) {
	.flex-direction-nav a {bottom:-50px;}
	.flex-direction-nav .flex-prev {left:15px;}
	.flex-direction-nav .flex-next {right:10px;}
	.flex-direction-nav .flex-prev:hover {left:10px;}
	.flex-direction-nav .flex-next:hover {right:5px;}
	.slider-wrap-box {max-width:100%;}
	.photobox {min-height:0;}
	.photoboxhome {min-height:0;}
}
@media only screen and (max-width: 1024px) {
	.photobox, .photoboxhome {min-height:0;}
	.flex-caption em {font-size:1.125rem;}
	.flex-caption strong {font-size:1.375rem;}
}
@media only screen and (max-width: 767px) {
	.flex-caption {padding-bottom:20px}
	.flex-caption {padding-right:10px; padding-left:10px;}
	.flex-caption em {font-size:0.9375rem;}
	.flex-caption strong {font-size:1.125rem;}
}
@media only screen and (max-width: 640px) {
	.flex-caption {padding-bottom:15px}
	.flex-caption em {font-size:0.875rem;}
	.flex-caption strong {font-size:1rem;}
	.flex-control-nav {bottom:-50px;}
	.flex-control-nav li {margin-right:8px; margin-left:8px;}
	.flex-control-paging li a {width:27px; height:27px;}
	.flex-direction-nav a {bottom:-60px;}
	.bodycontent {padding-top:20px;}
}
@media only screen and (max-width: 580px) {
	.flex-direction-nav {display:none;}
	.photobox {min-height:270px; height:270px;}
	.photoboxhome {min-height:270px; height:270px;}
	.flexslider .slides img {position:relative; width:auto; height:270px; left:50%; 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-bottom:10px}
	.flex-caption em {font-size:0.875rem;}
	.flex-caption strong {font-size:0.9375rem;}
	.flex-caption span {display:block; height:5px; text-indent:100%; white-space:nowrap; overflow:hidden;}
	.flex-control-paging li:nth-of-type(9), .flex-control-paging li:nth-of-type(10), .flex-control-paging li:nth-of-type(11), .flex-control-paging li:nth-of-type(12), .flex-control-paging li:nth-of-type(13), .flex-control-paging li:nth-of-type(14), .flex-control-paging li:nth-of-type(15) {display:none;}
}
@media only screen and (max-width: 359px) {
.flex-control-paging li:nth-of-type(8) {display:none;}
}
