.photo-gallery{clear:both;margin:0 auto 30px 0;position:relative;}
.bt-popupContainer .photo-gallery{margin:0 auto;max-width:895px;}
.bt-popupContainer #gallery .slides .overlay{max-height:584px;}
#gallery.flexslider{background:#f0f0f0;}
#gallery .slides .overlay{overflow:hidden;}
#gallery.on .slides .overlay{background:#000;background:rgba(0, 0, 0, 0.75);}
#gallery.on iframe{z-index:-2;}
#gallery .slides .overlay img{position:relative;z-index:-1;}
#gallery.on .slides .overlay img{z-index:-4;}
#gallery .overlay{display:block;position:relative;}
#gallery .overlay.video{background:transparent url(../../img/designelements/buttons/video-bg.png) repeat-x bottom;cursor:pointer;}
#gallery .video-info-container{bottom:0;margin:18px;position:absolute;width:70%;}
#gallery.on .video-info-container{z-index:-3;}
#gallery .play-border{background:#000;border:2px solid rgba(255, 255, 255, 1);border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;display:inline-block;height:88px;max-width:88px;position:relative;vertical-align:bottom;width:21%;}
#gallery .play-button{border-bottom:18px solid transparent;border-left:32px solid rgba(255, 255, 255, 1);border-top:18px solid transparent;height:0;left:35%;position:relative;top:28px;width:0;}
#gallery .video-info{color:#fff;display:inline-block;margin:13px 0 0 16px;vertical-align:top;width:70%;}
#gallery .video-info > .subtitle{display:inline-block;font-size:1.143em;font-weight:600;margin:0 0 4px 0;text-transform:uppercase;}
#gallery .video-info > .title{display:block;font-size:2em;line-height:1.3em;}
#gallery > .flex-direction-nav{display:none;}
#gallery .share{background:#000;background-size:14px;bottom:0;color:#fff;cursor:pointer;display:inline-block;font-size:.929em;margin:12px;padding:2px 28px 2px 8px;position:absolute;right:0;text-align:right;text-transform:uppercase;}
#gallery.on .share{z-index:-3;}
#gallery .share.video{background-color:#555;}
#gallery iframe{position:relative;z-index:3;height:390px;width:100%;}
.bt-popupContainer #gallery iframe{height:492px;}
#gallery .share:hover,
#gallery .share:focus{background-color:#00457c;}
#gallery .share > .share-pop{color:#000;background:#fff;background-clip:padding-box;border:1px solid transparent;border-bottom:11px solid transparent;bottom:100%;margin-bottom:0;opacity:0;padding:3px 3px 0 0;position:absolute;right:0;text-align:center;transition:opacity 0.5s linear;-moz-transition:opacity 0.5s linear;-ms-transition:opacity 0.5s linear;-o-transition:opacity 0.5s linear;-webkit-transition:opacity 0.5s linear;visibility:hidden;width:96%;}
#gallery .share > .share-pop:before,
#gallery .share > .share-pop:after{border-left:13px solid transparent;border-right:13px solid transparent;content:"";left:50%;margin-left:5px;position:absolute;top:100%;}
#gallery .share > .share-pop:before{border-top:10px solid #fff;border-top:10px solid rgba(255, 255, 255, 1);margin-top:0;}
#gallery .share > .share-pop:after{border-top:10px solid #fff;margin-top:-2px;z-index:1;}
#gallery .share:hover > .share-pop,
#gallery .share:focus > .share-pop{opacity:1;visibility:visible;}
#gallery .addthis_toolbox span:first-child{padding-left:0;}
#gallery .addthis_toolbox span{background-position:center center;margin:0 0 0 3px;padding:2px;}
.photo-gallery .flexslider {background-color:#f5f5f5;}
.photo-gallery .gallery-controls{bottom:5px;position:absolute;right:17px;z-index:5;}
.photo-gallery .gallery-controls .separator{display:none;}
.photo-gallery .gallery-controls .flex-direction-nav{margin:0 auto;width:80px;}
.photo-gallery .gallery-controls .flex-direction-nav a{display:block;font-size:0;line-height:0;margin:0 7px;position:relative;z-index:10;}
.photo-gallery .gallery-controls .flex-direction-nav .flex-prev,
.photo-gallery .gallery-controls .flex-direction-nav .flex-next{float:left;height:25px;width:25px;}
.photo-gallery .gallery-controls .flex-direction-nav .flex-prev{background:url(../../img/designelements/buttons/gallery-control-nav.png) no-repeat center center;background-position:0 -25px;left:0;}
.photo-gallery .gallery-controls .flex-direction-nav .flex-prev .flex-disabled{background:url(../../img/designelements/buttons/gallery-control-nav.png) no-repeat center center;background-position:0 0;left:0;text-indent:-99999px;}
.photo-gallery .gallery-controls .flex-direction-nav .flex-next{background:url(../../img/designelements/buttons/gallery-control-nav.png) no-repeat center center;background-position:-25px -25px;right:0;}
.photo-gallery .gallery-controls .flex-direction-nav .flex-next .flex-disabled{background:url(../../img/designelements/buttons/gallery-control-nav.png) no-repeat center center;background-position:-25px 0;left:0;text-indent:-99999px;}
.photo-gallery .counter{border-left:1px solid #888;float:left;padding:0 0 0 8px;width:88px;}
.photo-gallery .counter span{font-size:1.071em;font-weight:600;display:inline-block;margin:5px 0 10px 0;text-align:center;width:100%;}
.photo-gallery .screen-controls{display:inline-block;margin:0 0 0 8px;}
.photo-gallery .screen-controls .thumbnails,
.photo-gallery .screen-controls .fullscreen{clear:both;display:block;}
.photo-gallery .screen-controls .thumbnails a,
.photo-gallery .screen-controls .fullscreen a{font-size:.75em;max-width:24px;text-decoration:none;text-transform:uppercase;width:100%;}
.photo-gallery .screen-controls .thumbnails a:hover,
.photo-gallery .screen-controls .thumbnails a:focus,
.photo-gallery .screen-controls .fullscreen a:hover,
.photo-gallery .screen-controls .fullscreen a:focus{text-decoration:underline;}
.photo-gallery .screen-controls .thumbnails a:visited,
.photo-gallery .screen-controls .fullscreen a:visited{/*color:#005599;*/color:#0040ce;}
.photo-gallery .screen-controls span{display:inline-block;padding-top:3px;}
.photo-gallery .screen-controls .thumbnails img,
.photo-gallery .screen-controls .fullscreen img{float:right;margin:0 0 10px 8px;max-width:24px;vertical-align:middle;width:100%;}
.photo-gallery .flex-caption{background:#f0f0f0;bottom:0;left:0;min-height:84px;position:relative;width:100%;}
.photo-gallery .flex-caption > .title,
.photo-gallery .flex-caption > .subtitle{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;display:block;line-height:1.3;padding-right:3%;width:57%;color:#000000;}
.photo-gallery .flex-caption > .subtitle a:visited{/*color:#005599;*/color:#0040ce;}
.photo-gallery .flex-caption > .title{font-size:1.143em;font-weight:600;padding:10px 0 8px 15px;color:#004477;font-family: muli, arial, helvetica, sans-serif;}
.photo-gallery .flex-caption > .subtitle{font-size:.929em;line-height:1.4;padding:0 0 10px 15px;}
.photo-gallery .flex-caption > .subtitle a{/*color:#005599;*/color:#0040ce;display:inline-block;text-decoration:underline;}
.photo-gallery .flex-caption > .subtitle a:hover,
.photo-gallery .flex-caption > .subtitle a:focus{text-decoration:none;}
.photo-gallery .flex-caption > .subtitle a:visited{/*color:#005599;*/color:#0040ce;}
.photo-gallery ol.flex-control-nav{bottom:0;padding:0 0 102px 0;position:absolute;text-align:center;width:100%;}
.photo-gallery .flex-control-nav li{margin:0 6px;display:inline-block;zoom:1;*display:inline;}
.photo-gallery .flex-control-nav a{background:#e9e9e9;border-radius:20px;-moz-border-radius:20px;-webkit-border-radius:20px;cursor:pointer;display:block;height:13px;margin:0;outline:0;position:relative;text-indent:-9999px;top:-6px;width:13px;}
.photo-gallery .flex-control-nav a:after{border-radius:20px;-moz-border-radius:20px;-webkit-border-radius:20px;border:2px solid transparent;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;content:"";display:block;height:17px;position:absolute;top:-4px;width:17px;}
.photo-gallery .flex-control-paging li a.flex-active{height:9px;margin:3px 0;top:-4px;width:9px;}
.photo-gallery .flex-control-paging li a.flex-active:after{left:-4px;}
.photo-gallery .flex-control-paging li a.flex-active{background:#77bbff;}
.photo-gallery .flex-control-paging li a.flex-active:after{border:2px solid #77bbff;}
.photo-gallery .flex-control-nav a:hover,
.photo-gallery .flex-control-nav a.active,
.photo-gallery .flex-control-nav a:focus{background:#e9e9e9;background:rgba(235, 235, 235, 0.85);}
#carousel-gallery{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;display:none;height:100%;margin:0 auto;padding:15px 0;position:absolute;width:100%;z-index:4;}
#carousel-gallery .close-thumbnails{background:url(../../img/designelements/buttons/close-thumbnail.png) no-repeat center right;color:#fff;display:block;margin:0 10px 0 0;padding:0 30px;text-align:right;text-decoration:none;}
#carousel-gallery .close-thumbnails:hover,
#carousel-gallery .close-thumbnails:focus{text-decoration:underline;}
#carousel-gallery .flex-viewport{margin:0 auto;}
#carousel-gallery .slides li > div{cursor:pointer;display:inline-block;margin:10px 0 2px 2%;overflow:hidden;position:relative;width:22%;}
.bt-popupContainer .slides li.flex-active-slide{}
#carousel-gallery .overlay{display:inline-block;position:relative;}
#carousel-gallery .play-border{background:#4e4d4d;border:2px solid rgba(255, 255, 255, 1);border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;bottom:0;height:23px;margin:8px;position:absolute;width:23px;}
#carousel-gallery .play-button{border-bottom:5px solid transparent;border-left:8px solid rgba(255, 255, 255, 1);border-top:5px solid transparent;height:0;left:35%;position:relative;top:7px;width:0;}
#carousel-gallery .slides li a{/*color:#0072ce;*/color:#0040ce;display:block;font-size:.9em;height:37px;line-height:1.4;overflow:hidden;padding:3px 0 0 0;}
.photo-gallery #carousel-gallery .close-thumbnails {color:#0040ce;background: url(../../img/designelements/buttons/close-thumbnail-2.gif) no-repeat center right;}
.photo-gallery .flex-caption {
	padding: 0;
}
.photo-gallery .flex-direction-nav a {
	padding: 0;
}
.photo-gallery .flex-direction-nav a:before {
  content: '';
}
.photo-gallery .flex-direction-nav a.flex-next:before {
  content: '';
}
@media only screen and (max-width:920px){#carousel-gallery{padding:15px 20px;}
.photo-gallery ol.flex-control-nav{padding:0 0 100px 0;}
}
@media only screen and (max-width:580px){#carousel-gallery{padding:15px 0;}
#carousel-gallery .flex-viewport{max-height:43%;}
#gallery .video-info-container{bottom:28px;margin:18px;width:90%;}
#gallery .play-border{height:65px;width:20%;}
#gallery .play-button{border-bottom:15px solid transparent;border-left:29px solid rgba(255, 255, 255, 1);border-top:15px solid transparent;height:0;left:32%;position:relative;top:18px;width:0;}
#gallery iframe{height:242px;}
#gallery .share{background-position:98% center;margin:0;width:100%;}
#gallery .share > .share-pop{margin-right:5px;width:112px;}
#carousel-gallery > .slides{background:#f0f0f0;}
.photo-gallery .flex-caption{min-height:0;}
.photo-gallery .flex-caption > .title,
.photo-gallery .flex-caption > .subtitle{width:95%;}
.photo-gallery .flex-caption > .title{padding-top:15px;}
#carousel-gallery .slides li > div{margin:10px 0 2px 3%;vertical-align:top;width:45%;}
.photo-gallery ol.flex-control-nav{padding:0 0 165px 0;}
.photo-gallery .flex-control-nav a{margin:0;}
.photo-gallery .gallery-controls{background:#f0f0f0;bottom:0;display:inline-block;position:relative;right:0;width:100%;}
.photo-gallery .gallery-controls .separator{border-top:1px solid #888;display:block;height:1px;line-height:0;margin:0 4%;padding:5px 0;width:92%;}
.photo-gallery .screen-controls{float:right;padding:20px 4% 0 0;position:relative;}
.photo-gallery .counter{border-left:none;padding-bottom:10px;}
.photo-gallery .counter span{margin:0;}
.photo-gallery .screen-controls .thumbnails{bottom:0;display:none;}
.photo-gallery .screen-controls .fullscreen{display:none;}
}
@media only screen and (max-width:330px){.photo-gallery .flex-control-nav li{margin:0 8px;}
.photo-gallery ol.flex-control-nav{padding:0 0 180px 0;}
#carousel-gallery .slides li > div{margin:10px 0 10px 3%;}
#gallery .slides .overlay{padding-bottom:20px;}
}