/*
 * Product Advanced Gallery
 * http://impleCode.com
 *
 * Copyright 2014 impleCode
 * Free to use under the GPLv3 license.
 * http://www.gnu.org/licenses/gpl-3.0.html
 *
 * Contributing author: Norbert Dreszer
 */

ul.product-images-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.product-images-ul li, div.product-images div.gallery dl.gallery-item, div.product-images #gallery-1 dl.gallery-item , div.product-image div.product-images.ic-lightbox a, div.product-images.ic-lightbox a, div.product-images.normal img, div.product-images.ic-lightbox > div {
    width: auto;
    float:left;
    clear: none;
    margin: 3px 0.2%;
    border: none;
    line-height: 0;
}

div.product-images.ic-lightbox a img {
    border: none;
}

div.product-images {
    display: table;
    margin: 0 auto;
    position: relative;
    z-index: 0;
    width: 100%;
}

div.product-images a, div.product-images.ic-lightbox a, div.product-images.ic-lightbox > div {
    max-width: 32.9%;
    width: 32.9%;
}

div.product-images.ic-lightbox > div {
    position: relative;
    line-height: 1;
}

.after-product-details div.product-images {
    display: block;
    float: none;
    position: relative;
    overflow: auto;
    left: initial;
    right: initial;
    width: 100%;
    z-index: 1;
}

div.product-images #gallery-1, div.product-images div.gallery, div.product-images.ic-lightbox a, div.product-images.normal img{
    display: inline-block;
}

ul.product-images-ul li {
    clear: left;
}

.product-image img {
    box-sizing: border-box;
}

.product-images {
    clear: both;
}

.not-shown {
    display: none;
}

.al_product #slider.impleCodeSlider img, .impleCodeSlider img {
    max-width: none !important;
    width: 100%;
}

.al_product #slider, div.product-slider {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    max-width: 100%;
}

.al_product .theme-default #slider, .theme-default div.product-slider {
    margin-bottom: 47px;
}

.al_product div.entry-thumbnail.product-image .slider-wrapper.thumbnail-nav #slider, .slider-wrapper.thumbnail-nav .product-slider{
    margin-bottom: 0;
}

.al_product div.entry-thumbnail.product-image #slider img, #content .al_product div.entry-thumbnail.product-image #slider img, div.product-slider.impleCodeSlider img {
    /* display: none; */
    border: 0;
    outline: 0;
}

.al_product .slider-wrapper {
    max-width: 100%;
}

.al_product div.entry-thumbnail.product-image .slider-wrapper.thumbnail-nav .impleCode-controlNav img, #content .al_product div.entry-thumbnail.product-image #slider .impleCode-controlNav img, .slider-wrapper.thumbnail-nav .impleCode-controlNav img, .al_product div.entry-thumbnail.product-image .slider-wrapper.thumbnail-nav .impleCode-controlNav .impleCode-control > span.dashicons {
    display: inline;
    position: relative;
    cursor: pointer;
    width: 100%;
    height: auto;
    border: 0;
    outline: 0;
}

.al_product div.entry-thumbnail.product-image .slider-wrapper.thumbnail-nav .impleCode-controlNav .impleCode-control > span.dashicons {
    font-size: 50px;
    vertical-align: middle;
}

.al_product div.entry-thumbnail.product-image .slider-wrapper.thumbnail-nav a.impleCode-control, .slider-wrapper.thumbnail-nav a.impleCode-control {
    display: inline-block;
    background: none;
    text-indent: 0px;
    border: 0;
    float: left;
    width: 23%;
    height: auto;
    opacity: 0.3;
    margin: 0;
    margin-bottom: 5px;
    padding: 1%;
}

.al_product div.entry-thumbnail.product-image .slider-wrapper.thumbnail-nav a.impleCode-control.active, .al_product div.entry-thumbnail.product-image .slider-wrapper.thumbnail-nav a.impleCode-control:hover, .slider-wrapper.thumbnail-nav a.impleCode-control.active, .slider-wrapper.thumbnail-nav a.impleCode-control:hover {
    opacity: 1;
}

.al_product div.entry-thumbnail.product-image .slider-wrapper.thumbnail-nav .impleCode-controlNav, .slider-wrapper.thumbnail-nav .impleCode-controlNav {
    position: relative;
    left: 0px;
    margin: 0;
    top: 100%;
    padding-top: 5px;
    height: auto;
    bottom: auto;
    overflow: auto;
}

.theme-bar.slider-wrapper.thumbnail-nav .impleCode-controlNav {
    background: transparent;
    border: 0;
    opacity: 1;
}

.shortcode-slider-wrapper.slider-wrapper {
    margin: 0;
}

#cboxNext, #cboxPrevious {
    text-transform: none;
}

.full-width-addditional-images.boxed .product-images {
    clear: both;
    width: 100%;
    max-width: 100%;
    float: none;
    display: block;
}

.full-width-addditional-images.boxed div.product-images.ic-lightbox a {
    width: auto;
}

.full-width-addditional-images.boxed #product_details_container {
    display: block;
}
/*
.product-image .main-slider-wrapper {
    padding: 3px;
}
*/

div.product-image div.product-images.ic-lightbox .html-lightbox-thumb-container > a {
    z-index: 99;
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    padding: 50%;
    margin: 0;
}

.html-lightbox-thumb-content-container, .html-lightbox-thumb-content-container iframe {
    position: absolute;
    border: none;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.ic-slider-html-content p {
    line-height: 1;
}

.ic-loading-html-slider .impleCodeHTMLslider, .ic-loading-html-slider .ic-html-slider-nav {
    display: none;
}

.thumbnail-nav .ic-wrapper  {
    margin-bottom: 10px;
}

#html-slider img {
    border: 0;
}

.slider-wrapper.theme-default {
    padding-left: 5px;
    padding-top: 5px;
}
.ic-lightbox-html {
    width:100%;
    min-width:500px;
    max-width:100%;
    max-height: 100%;
    height: 100%;
}

.ic-lightbox-html .video-player {
    height: 100%;
}

.ic-lightbox-html .video-player iframe {
    width: 100%;
    height: 100%;
    min-height: 50vh;
}
/*
.ic-loading-html-slider .main-slider-wrapper {
    visibility: hidden;
}

.ic-loading-html-slider .html-slider-additional-image, .ic-loading-html-slider .ic-slider-html-content {
    display: none;
}
*/

@media (max-width:1000px) {
    .slider-wrapper.theme-default {
        padding-right: 5px;
        padding-bottom: 5px;
    }
}