/*
 * Classic List Button
 * 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
 */

/*List*/

.list-button.archive-listing {
    border-bottom: 1px solid #ededed;
    padding: 10px 0;
    position: relative;
}

div.list-button.archive-listing table.inside-list-button, .list-button.archive-listing table.inside-list-button td, #content div.list-button.archive-listing table.inside-list-button, #content div.list-button.archive-listing table.inside-list-button td {
    border-width: 0;
    border-top: 0;
    margin: 0;
    overflow: hidden;
}

#content div.list-button.archive-listing table.inside-list-button td, .list-button.archive-listing table.inside-list-button td {
    padding: 0 2px;
}

#content div.list-button.archive-listing table.inside-list-button td.button-td a {
    width: 95%;
    display: block;
}

#content div.list-button.archive-listing table.inside-list-button p, .list-button.archive-listing table.inside-list-button p {
    margin-bottom: 0;
}

.list-button.archive-listing table td {
    vertical-align: top;
    background: transparent;
}

.list-button.example.archive-listing {
    max-width: 100%;
}

.list-button.example .product-image {
    min-width: 140px;
    min-height: 150px;
}

#implecode_settings .list-button.example .product-image {
    min-width: 100px;
    min-height: 100px;
}

.list-button .product-image {
    max-width: 170px;
}

#implecode_settings .list-button .product-image {
    max-width: 100px;
}

.list-button a .product-name {
    font-weight: bold;
}

.list-button a {
    color: inherit;
    text-decoration: none;
}

.list-button .product-image {
    background-size: 150px; 
    background-position: center; 
    background-repeat: no-repeat;
}

#implecode_settings .list-button .product-image {
    background-size: 100px;
}

.list-button.archive-listing table td.image-td {
    min-width: 170px;
    max-width: 170px;
}

#implecode_settings .list-button.archive-listing table td.image-td {
    min-width: 100px;
    max-width: 100px;
}

.list-button.archive-listing table td.button-td {
    min-width: 100px;
    vertical-align: middle;
    width: 20%;
    text-align: center;
}

.list-button.archive-listing table td.content-td, #content div.list-button.archive-listing table.inside-list-button td.content-td, .list-button.archive-listing table.inside-list-button td.content-td {
    width: 100%;
    padding: 5px 10px;
}

.inside-list-button .button {
    cursor: pointer;
    padding: 8px 12px;
    color: #fff;
    background: rgb(0, 82, 0);
    border: none;
    box-shadow: none;
    vertical-align: middle;
    height: auto;
    line-height: 1;
    border-radius: 1px;
}

.inside-list-button .button.red-box {
    background: rgb(253, 0, 2);
}
.inside-list-button .button.orange-box {
    background: rgb(254, 60, 0);
}
.inside-list-button .button.blue-box {
    background: #123f5c;
}
.inside-list-button .button.grey-box {
    background: rgb(136, 136, 136);
}

.inside-list-button .button:hover, .inside-list-button .button:active, .inside-list-button .button:focus {
    background: rgb(2, 60, 2);
    color: #fff;
    box-shadow: none;
}

.inside-list-button .button.red-box:hover, .inside-list-button .button.red-box:active, .inside-list-button .button.red-box:focus {
    background: rgb(210, 2, 3);
}
.inside-list-button .button.orange-box:hover, .inside-list-button .button.orange-box:active, .inside-list-button .button.orange-box:focus {
    background: rgb(210, 53, 5);
}
.inside-list-button .button.blue-box:hover, .inside-list-button .button.blue-box:active, .inside-list-button .button.blue-box:focus {
    background: #0C2A3E;
}
.inside-list-button .button.grey-box:hover, .inside-list-button .button.grey-box:active, .inside-list-button .button.grey-box:focus {
    background: rgb(82, 82, 82);
}

/* Advanced Gallery */

.al_product .inside-list-button div.entry-thumbnail.product-image {
    float: none;
    margin-left: 0px;
    width: auto;
    max-width: 100%;
}

/* Price */

.inside-list-button .price-container {
    padding: 20px 0;
}

.inside-list-button span.price-label {
    color: #FD0002;
}
.inside-list-button span.price-label.orange-price {
    color: #FE3C00;
}
.inside-list-button span.price-label.green-price {
    color: #63AB00;
}
.inside-list-button span.price-label.blue-price {
    color: #123f5c;
}
.inside-list-button span.price-label.grey-price {
    color: rgb(136, 136, 136);
}

.inside-list-button span.product-price {
    font-size: 18px;
    padding: 7px 10px;
    border-radius: 5px;
    color: #FFFFFF;
    background: #FD0002;
}
.inside-list-button span.product-price.orange-price {
    background: #FE3C00;
}
.inside-list-button span.product-price.green-price {
    background: #63AB00;
}
.inside-list-button span.product-price.blue-price {
    background: #123f5c;
}
.inside-list-button span.product-price.grey-price {
    background: rgb(136, 136, 136);
}

/* Add to cart button */

td.button-td form.add-to-quote-cart {
    padding: 0;
    margin: 0;
}

td.button-td form.add-to-quote-cart input[type="submit"] {
    position: relative;
    left: -5px;
    z-index: 0;
}

.list-button h3.product-name {
    margin: 0;
}

@media (max-width:560px) {
    .list-button td.image-td, .list-button td.button-td, .list-button td.content-td, #content .list-button td.image-td, #content .list-button td.content-td, #content .list-button td.button-td, #content .list-button.archive-listing table td.content-td {
        display: block;
        width: 100% !important;
        max-width:100% !important;
        text-align: center;
    }

    #content .list-button td.button-td, .list-button td.button-td {
        padding-top: 3px;
    }

    .list-button td.content-td .product-short-descr {
        display: inline-block;
        text-align: center;
    }

    .list-button td.image-td .product-image {
        margin: 0 auto;
    }
}