.clearfix:after {xcontent:"."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.clearfix {display: inline-block;}
html[xmlns] .clearfix {display: block;}
* html .clearfix {height: 1%;}

.gallery-heading{color:#FFFFFF; display:block; font-size:15px; font-weight:400; padding:20px 25px 13px; text-align: center; xmargin-top:30px; font-family:'Raleway'; }
.gallery-container{width:954px; height:477px; overflow:xhidden; position:relative; xbox-shadow:0px 0px 0px 1px rgba( 255, 255, 255, 0.05 ) inset; background:#333; margin:0px auto 0px; }
.gallery-container .gallery-col{float:left; width:159px; xborder-top:1px solid #fff; }
.gallery-container .gallery-col.first{xborder-left:1px solid #fff; }
.gallery-container .gallery-col.last{xborder-right:1px solid #fff; }
.gallery-container .gallery-col.span-2{width:318px; }
.gallery-container .gallery-col.span-3{width:477px; }
.gallery-container .gallery-col.span-4{width:636px; }
.gallery-container .gallery-col.span-5{width:795px; }
.gallery-container .gallery-item{width:159px; height:159px; float:left; display:block; xborder-right:1px solid #fff; xborder-bottom:1px solid #fff; -moz-box-sizing:border-box; box-sizing:border-box; -webkit-appearance:none; cursor:pointer; position:relative; }
.gallery-container .gallery-item.size-2{width:318px; height:318px; }
.gallery-container .gallery-item.size-2x1{width:318px; height:159px; }
.gallery-container .gallery-item.size-3{width:477px; height:477px; }
.gallery-container .gallery-item.size-3x2{width:477px; height:318px; }
.gallery-container .gallery-item.size-3x1{width:477px; height:159px; }
.gallery-container .gallery-item > img{ width:100%; height:100%; xopacity:0.7; }
.gallery-container .gallery-item:hover > img{opacity:1; }
.show-gallery-image{position:absolute; top:0px; left:0px; width:100%; height:100%; xbackground-color:#212121; overflow:hidden; display:block; opacity:1; }
.show-gallery-image.hide{display:none; opacity:0; }
.show-gallery-image img{width:100%; height:100%; xopacity:0; xposition:absolute; xleft:0px; xtop:0px; z-index:2; display:block; }
.show-gallery-image .video{xdisplay:none; opacity:0; }
.show-gallery-image.loading{position:absolute; background:url('images/loading.gif') no-repeat scroll 50% 50% #212121; }
.gallery-container .gallery-item .video{display:none; position:absolute; top:0px; left:0px; opacity:0; }
.gallery-container .gallery-controls{position:absolute; top:0px; right:-34px; font-family:verdana, arial; z-index:2; display:none; }
.gallery-container .gallery-controls img{xwidth:954px; xheight:477px; }
.gallery-container .gallery-controls a{ display:block; text-align:center; vertical-align:middle; text-decoration:none; color:#fff; background:#212121; line-height:0px; }
.gallery-container .gallery-controls a.next{xbackground:url('images/gallery-down-arrow.png?v=2') no-repeat 50% 50% #ffffff; background-color:#fff; }
.gallery-container .gallery-controls a.prev{xbackground:url('images/gallery-up-arrow.png?v=2') no-repeat 50% 50% #ffffff; background-color:#fff; }
.gallery-container .gallery-controls a.close{xbackground:url('images/gallery-close.png?v=2') no-repeat 50% 50% #ffffff; xbackground-color:#fff; background:transparent; height:61px; 
	background: -moz-linear-gradient(-45deg,  rgba(88,89,88,0.7) 0%, rgba(255,255,255,0.8) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(88,89,88,0.7)), color-stop(100%,rgba(255,255,255,0.8))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(-45deg,  rgba(88,89,88,0.7) 0%,rgba(255,255,255,0.8) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(-45deg,  rgba(88,89,88,0.7) 0%,rgba(255,255,255,0.8) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(-45deg,  rgba(88,89,88,0.7) 0%,rgba(255,255,255,0.8) 100%); /* IE10+ */
	background: linear-gradient(135deg,  rgba(88,89,88,0.7) 0%,rgba(255,255,255,0.8) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6585958', endColorstr='#00000000',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.gallery-container .gallery-controls a.close img{margin-top:14px; }
.gallery-container .gallery-controls a.close.filled{background:url('images/gallery-close-filled.png') no-repeat 50% 50% #fff; height:auto; }
.gallery-container .gallery-controls a.close.filled img{margin:0px; opacity:0; }
.gallery-container .gallery-controls a.fullscreen{background:url('images/gallery-fullscreen.png') no-repeat 50% 50% #ffffff; background-color:#fff; }
.gallery-container .gallery-controls a.fullscreen.infullscreen{background:url('images/gallery-fullscreen-close.png') no-repeat 50% 50% #ffffff; }
.gallery-container .gallery-controls a:hover, .gallery-container .gallery-controls a.hover{background-color:#444; background-color:rgba(33,33,33,0.5); }
.gallery-container .gallery-controls a.close:hover{background:transparent; }
.gallery-container .gallery-controls a.close.filled:hover{background:url('images/gallery-close-filled.png') no-repeat 50% 50% transparent; }
.gallery-container .gallery-controls a.inactive{background-color:#000; }
.gallery-container.showing .gallery-item, .gallery-container.showing .gallery-col, .gallery-container.showing{border:none; }
.fullscreen-container{ position:fixed; top:0px; left:0px; width:100%; height:1000px; background:#000; z-index:9999; }
.gallery-container .item-images{display:none; }
.show-gallery-image .item-images{display:block; position:absolute; top:0px; left:0px; }
.gallery-container .item-overlay{position:absolute; top:0px; left:0px; background:rgba(0,0,0,0.3); width:100%; height:100%; opacity:0; }
.gallery-container .item-title{position:absolute; top:50%; left:0px; color:#fff; font-size:11px; font-family:arial; width:100%; text-align:center; xopacity:0; font-size:12px; }
.gallery-container .gallery-item:hover .item-overlay{opacity:1; }
.white .gallery-container{background-color:#eee; xborder:1px solid #fff; }
.white .gallery-container .gallery-item{border-color:#fff; }
.white .fullscreen-container{background:#fff; }
.white .gallery-heading{border-top:1px solid rgba(124, 125, 127, 0.3); }
.gallery-item, .gallery-item>img, .show-gallery-image, .gallery-controls, .item-images, .video, .next, .prev, .item-overlay{-webkit-transition:all 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s; -moz-transition:all 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s; -o-transition:all 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s; transition:all 0.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0s; }