/* Nextgen Gallery styles */
.rg-gallery {margin-bottom:10px;  overflow: hidden;}
.rg-image-wrapper {position:relative;}
.rg-image {line-height:0px; position:relative; text-align:center;}
.rg-gallery .rg-image img {width:100%; margin:0 !important}
.rg-image-nav a {cursor:pointer; position:absolute; text-indent:-9000px; top:45%; z-index:50;}
.rg-image-nav a.rg-image-nav-prev {background: url("sprite-icons.png") no-repeat -37px -75px !important; left:10px; height: 47px !important; width: 36px !important;}
.rg-image-nav a.rg-image-nav-next  {background: url("sprite-icons.png") no-repeat 6px -75px !important; height: 47px !important; right:10px; width: 36px !important;}


.rg-image-nav a:hover {opacity:0.8;}
.rg-caption {margin-top:15px; position:relative; text-align:center;}
.rg-caption p {font-family:'Trebuchet MS', 'Myriad Pro', Arial, sans-serif; font-size:11px; letter-spacing:2px; line-height:16px; padding:0 15px; text-transform:uppercase;}
.rg-view {display:none; height:30px;}
.rg-view a {background:#464646 url(../images/views.png) no-repeat top left; border:3px solid #464646; display:block; float:right; height:16px; margin-right:3px; opacity:0.8; width:16px;}
.rg-view a:hover {opacity:1.0;}
.rg-view a.rg-view-full {background-position:0px 0px;}
.rg-view a.rg-view-selected {background-color:#6f6f6f; border-color:#6f6f6f;}
.rg-view a.rg-view-thumbs {background-position:0px -16px;}
.rg-loading {background:#000 url(ajax-loader.gif) no-repeat center center;  -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; height:46px; left:50%; margin:-23px 0px 0px -23px; opacity:0.7; position:absolute; top:50%; width:46px; z-index:100;}


/* Elastislide Style - gallery plugin */
.es-carousel-wrapper {display:none !important; height:90px; margin-bottom:5px; overflow:hidden; padding:0; position:relative;margin: 10px auto 0;}
.es-carousel {overflow:hidden;}
.es-carousel ul {display:none;}
.es-carousel ul{display:block; margin: 0; padding: 0;}
.es-carousel ul li {display:block; float:left; height:100%; margin-right:7px; width:100px; cursor:pointer;}
.es-carousel ul li {display:block; opacity:0.7; -webkit-touch-callout:none;/* option */ -webkit-transition:all 0.2s ease-in-out; -moz-transition:all 0.2s ease-in-out; -o-transition:all 0.2s ease-in-out; -ms-transition:all 0.2s ease-in-out; transition:all 0.2s ease-in-out;}
.es-carousel ul li.selected,.es-carousel ul li:hover  {opacity:1.0;}
.es-carousel ul li  img {border:none; display:block; max-height:100%; max-width:100%;}

.rg-gallery .es-nav span {background:#ccc; cursor:pointer; height:90px; left:0; margin-top:0; opacity:0; position:absolute; text-indent:-9000px; top:0; width:23px;
-webkit-transition: all .5s ease-out;-moz-transition: all .5s ease-out;-o-transition: all .5s ease-out; -ms-transition: all .5s ease-out; transition: all .5s ease-out;}
.rg-gallery .es-nav span:before{position:absolute;display:block;content:"";background: url("sprite-icons.png") no-repeat -30px -53px;width: 11px;height: 15px; top:43%;left:4px}
.rg-gallery .es-nav span.es-nav-next {background-position:-332px -345px; left:auto; right:0px;}
.rg-gallery .es-nav span.es-nav-next:before{background-position:-52px -53px;left:auto; right:7px} 
.rg-gallery:hover .es-nav span {opacity:0.5;}
.rg-gallery .es-nav span:hover {opacity:1.0;}

.rg-gallery:hover .rg-image-nav a { opacity: 0.4;}
.rg-gallery .rg-image-nav a:hover { opacity: 1;}


.rg-gallery .btn-view-large {
    background: #cd0533 none repeat scroll 0 0;
    color: #fff !important;
    font-size: 0.85rem;
    font-weight: 400;
	margin-top: 8px; 
	margin-bottom: 1rem;
    padding: 3px 10px 3px 5px;
    text-transform: uppercase;
	height: auto;
	text-decoration:none;
	display:block; 
	float:right;
	line-height:1.5rem;
}
.rg-gallery .btn-view-large {text-decoration:none;}

.rg-gallery .btn-view-large:before {
    background: rgba(0, 0, 0, 0) url("sprite-icons.png") no-repeat scroll -141px -44px !important;
    content: " " !important;
    display: inline-block;
    height: 19px;
    margin-top: 0;
    vertical-align: top;
    width: 25px;
}

@media all and (min-width: 40.063em) {
.rg-image-nav a{opacity: 0;}
.es-carousel-wrapper {display:block !important;}
}


/* This rule is read by Galleria to define the gallery height:*/
.galleria{height:100%; width:100%}
.galleria-lightbox-wrapper {display:none; position:fixed; z-index:1000;top:0;bottom:0;left:0;right:0; text-align:center; width:100%; height:100%}
.galleria-lightbox-wrapper:before{content:"";position:fixed; z-index:999; background:rgba(0,0,0,0.7);top: 0; bottom: 0; left: 0; right: 0;}
.galleria-lightbox-wrapper .galleria{ margin:0 auto; display: inline-block; z-index: 1001; position: relative;}
.galleria-lightbox-wrapper #close-galleria{position:absolute;top:8px; z-index:1005; right:8px; display:inline-block; border:2px solid #fff; width:33px; height:33px; cursor:pointer; color:#fff;line-height: 34px; font-size: 18px; text-align: center;}