/* -------------------------------------------------------------- 
 	SmartStore Widget: smartstore.smartgallery.css
-------------------------------------------------------------- */

.sb { position: absolute }

.smart-gallery {
	width: 600px;
}

.sg-image-wrapper {
	width: 100%;
    height: 250px; /* just to avoid page load flickering. This is overwritten per inline css anyway */
	margin-bottom: 5px;
	position: relative;
	overflow: hidden;
	outline: 1px solid transparent;
    text-align: center;
}

.sg-image-wrapper > img {
    max-height: 100%; /* avoids page load flickering */
}

.sg-loader {
	position: absolute;
	z-index: 10;
	top: 48%;
	left: 48%;
	border: 1px solid #CCC;
}


.sg-image {
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
	/*z-index: 9;*/
}

.sg-image a img {
	border: 0;
}
      
.sg-image-description {
	position: absolute;
	bottom: 0px;
	left: 0px;
	padding: 7px;
	text-align: left;
	width: 100%;
	z-index: 11;
	background-color: rgba(0,0,0, .5);
	color: #fff;
}

.no-rgba .sg-image-description {
	background-color: #646464;
}

.sg-description-title {
	display: block;
}


.sg-nav {
	width: 100%;
	position: relative;
	overflow: hidden;
}

.sg-thumbs {
	position: relative;
	overflow-x: hidden;
	margin: 0;
}        
            
.sg-thumb-list {
	position: relative;
    float: left;
    width: 9000px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sg-nav.has-buttons .sg-thumb-list {
    padding-left: 19px;
    padding-right: 19px;
}

.sg-thumb-list li {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
    float: left;
    padding: 0 2px;
}

.sg-thumb-list li a {
	display: block;
    border: 1px solid #d5d5d5;
	outline: none;
    text-align: center;
    opacity: .7;
    filter: Alpha(70);
    overflow: hidden;
    -webkit-transition: all 0.1s ease-in;
       -moz-transition: all 0.1s ease-in;
        -ms-transition: all 0.1s ease-in;
         -o-transition: all 0.1s ease-in;
            transition: all 0.1s ease-in;

    /* TODO: dynamic */
    min-width: 52px;
    min-height: 52px;
    vertical-align: middle;
}

.sg-thumb-list li a:hover,
.sg-thumb-list li a.sg-active {
    opacity: 1;
    filter: Alpha(100);
    border-color: #999;
}

.sg-scroll-back,
.sg-scroll-forward {
	position: absolute;
    -webkit-box-shadow: 0 0 4px rgba(0,0,0, .15);
       -moz-box-shadow: 0 0 4px rgba(0,0,0, .15);
            box-shadow: 0 0 4px rgba(0,0,0, .15);
	z-index: 30;
	height: 100%;
	width: 20px;
}

.sg-scroll-back a,
.sg-scroll-forward a {
	width: 18px;
}
.sg-scroll-back { left: 0 }
.sg-scroll-forward { right: 0 }

.sg-thumbs-overlay {
	visibility: hidden;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: -webkit-linear-gradient(left, #fff, rgba(255,255,255, 0) 3%, rgba(255,255,255, 0) 97%, #fff 100%);
}
            
/* Can't do display none, since Opera won't load the images then */
.sg-preloads {
	position: absolute;
	left: -9000px;
	top: -9000px;
}

/* Zooming */

.zoomContainer {
    z-index: 50;
}

.zoomWindow {
    border: 1px solid #999;
}

.zoomWindow,
.zoomLens {
   -webkit-box-shadow: 0 0 10px rgba(0,0,0, 0.4);
      -moz-box-shadow: 0 0 10px rgba(0,0,0, 0.4);
           box-shadow: 0 0 10px rgba(0,0,0, 0.4);
    display: none;
}


