.sto_gallery_content, .sto_gallery_content * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.sto_gallery_master_image {
    -webkit-transition: opacity 300ms ease;
    -moz-transition: opacity 300ms ease;
    -ms-transition: opacity 300ms ease;
    -o-transition: opacity 300ms ease;
    transition: opacity 300ms ease;
}
.sto_gallery_master_image.preload {
    position: relative;
    opacity: 0.7;
    overflow: hidden;
}

.sto_gallery_thumbnails_list {
    margin-left: -5px;
    margin-right: -5px;
    padding: 5px 0;
}

.sto_gallery_thumbnail {
    display: block;
    float: left;
    margin: 5px;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    transition: all 300ms linear;
}
.sto_gallery_thumbnail img {
    display: block;
}
.sto_gallery_thumbnail.selected {
    opacity: 0.8;
}
.sto_gallery_thumbnail:hover, .sto_gallery_thumbnail.selected {
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.6);
}

.sto_gallery_master_image img {
    max-width: 100%;
    cursor: pointer;
    display: block;
}
.sto_selected_texture {
    font-size: 0.8em;
    font-weight: 400;
    color: #D39C2F;
}
.sto_gallery_controls {
    padding: 10px 0;
}
.sto_clearfix {
    clear:both;
}

.sc_row {
    margin-left: -15px;
    margin-right: -15px;
}
.sc_col_3 {
    width: 25%
}
.sc_col_9 {
    width: 75%;
}
.sc_col_25 {
    width: 20%;
}
.sc_col_3, .sc_col_9, .sc_col_25 {
    padding: 5px 15px;
    float: left;
}
.sto_gallery_print {
    background: url('../img/Print-18.png') no-repeat center left;
    padding-left: 20px;
    color: #666666;
}

/* Lightbox styles */


.sto_pull_right {
    float: right;
}
.sto_text_right {
    text-align: right;
}
.sto_lightbox {
    clear: both;
    position: fixed;
    background: rgba(0,0,0,0.6);
    width: auto;
    height: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: scroll;
    z-index: 9999;
}
.sto_lightbox_content {
    width: 960px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background: #FFF;
    padding: 3%;
}

.sto_lightbox_form {
    max-width: 440px;
    margin: 0 auto
}
.sto_lightbox_form input[type="text"],
.sto_lightbox_form input[type="email"],
.sto_lightbox_form textarea {
    width: 100%;
    text-transform: none;

}
.sto_lightbox_header {
    margin-bottom: 50px;
}
.sto_lightbox_form {
    margin-top: 50px;
}
.sto_lightbox_header h2 {
    clear: none;
}
.sto_clearfix {
    clear:both;
}
.sto_lighbox_lock {
    overflow: visible !important;
    width: auto;
}
.sto_lighbox_lock body {
    overflow: hidden !important;

}
.sto_lightbox_form .error {
    color: red !important;
}
.sto_lightbox {
    display: none;
}
.sto_lightbox.show {
    display: block;
}