﻿.center-2, .side-2 {
    margin: 0;
    min-height: 100px;
}

    .side-2:after {
        content: "";
        display: block;
        clear: both;
    }

.block {
    max-width: 600px;
    min-height: 50px;
    margin: auto;
    text-align: left;
}

    .block .title {
        position: relative;
        margin: 0 0 10px;
        border-bottom: 1px solid #ddd;
        background: #f6f6f6 url(../images/toggle-gray.png) right 14px no-repeat;
        padding: 12px 30px 12px 10px;
        font-size: 20px;
        color: #444;
        cursor: pointer;
    }

        .block .title strong {
            font-weight: normal;
        }

    .block .listbox {
        display: none;
        border-bottom: 1px solid #ddd;
        padding: 10px 5px;
    }

    .block .list li {
        padding: 5px 0 5px 15px;
    }

    .block .list a {
        display: inline-block;
        position: relative;
        padding: 5px 0;
        font-size: 18px;
        color: #444;
        -webkit-transition: all 0.1s ease;
        transition: all 0.1s ease;
    }

        .block .list a:before {
            content: "";
            position: absolute;
            top: 12px;
            left: -15px;
            width: 5px;
            height: 5px;
            background-color: #ddd;
        }

ol, ul {
    list-style: none;
}

.block a.product-picture {
    display: none;
}

.search-input .fieldset {
    margin: 0 0 30px;
}

.fieldset, .section {
    position: relative;
    margin: 0 0 40px;
}

.search-input .form-fields {
    padding: 30px 15px 10px;
}

.form-fields {
    position: relative;
    border-top: 1px solid #e6e6e6;
    background-color: #f9f9f9;
    padding: 30px 15px;
}

.inputs {
    position: relative;
    margin: 0 0 15px;
    text-align: center;
    white-space: nowrap;
}

    .inputs:after {
        content: "";
        display: block;
        clear: both;
    }

img {
    max-width: 100%;
    height: auto;
}

.side-2 {
    background-color:#fff;
}

.page-body {
    background-color: #fff;
}

.search-input .buttons {
    text-align: center;
}

.search-input .button-1 {
    min-width: 140px;
    border: none;
    background-color: #000;
    padding: 10px 30px;
    text-align: center;
    font-size: 15px;
    color: #fff;
    text-transform: uppercase;
}

.product-selectors {
    margin: 0 0 20px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}

    .product-selectors .product-viewmode {
        display: none;
        font-size: 0;
    }

    .product-selectors > div {
        display: inline-block;
        margin: 5px;
    }

    .product-selectors span {
        vertical-align: middle;
        font-size: 19px;
    }

    .product-selectors select {
        margin: 0 8px;
    }

.item-box {
    position: relative;
    width: 100%;
    float: left;
    margin: 0 0 80px;
    text-align: left;
}

    .item-box .picture {
        z-index: 1;
        overflow: hidden;
        background-color: #fff;
        margin: 0 0 20px;
    }

        .item-box .picture a {
            display: block;
            position: relative;
        }

            .item-box .picture a:before {
                content: "";
                display: block;
                padding-top: 100%;
            }

            .item-box .picture a img {
                position: absolute;
                top: 0;
                right: 0;
                bottom: 0;
                left: 0;
                max-width: 100%;
                max-height: 100%;
                margin: auto;
                -webkit-transition: all 0.3s ease;
                transition: all 0.3s ease;
                -webkit-transform: translateZ(0) scale(1.0, 1.0);
            }

    .item-box .details {
        padding: 0 10px;
    }

    .item-box .product-title {
        margin: 0 0 10px;
        overflow: hidden;
        font-size: 19px;
        line-height: 1.2;
        font-weight: normal;
        color: #000;
        height: 120px;
        overflow: hidden;
    }

        .item-box .product-title a {
            display: block;
            color: #444 !important;
        }

    .item-box .details {
        padding: 0 10px;
    }

    .item-box .description {
        display: none;
    }

.master-wrapper-page {
    display: table;
    margin: 0 auto;
}

.footer {
    background-color: #ddd;
    text-align: center;
    display: table;
    width: 100%;
    margin: 0 auto;
}

.search-results {
    margin: 30px 0 0;
}

.product-grid, .product-list {
    margin: 0 0 50px;
}

.item-box .buttons {
    margin: 0;
    font-size: 0;
}

.item-box input[type="button"] {
    display: inline-block;
    height: 40px;
    border: none;
    vertical-align: middle;
}

.item-box .product-box-add-to-cart-button {
    width: 60%;
    background-color: #000;
    text-align: center;
    font-size: 15px;
    color: #fff;
    text-transform: uppercase;
}

.item-box .add-to-wishlist-button {
    background-image: url(../images/wishlist-button.png);
}

.item-box .add-to-compare-list-button, .item-box .add-to-wishlist-button {
    width: 20%;
    border-left: 1px solid #fff !important;
    background-color: #eaeaea;
    background-position: center;
    background-repeat: no-repeat;
    font-size: 0;
}

.item-box .product-box-add-to-cart-button:hover {
    background-color: #808080;
}

.item-box .add-to-compare-list-button:hover, .item-box .add-to-wishlist-button:hover {
    background-color: #ddd;
}

.item-box .actual-price {
    margin: 0 5px 0 0;
    font-size: 19px;
    color: #666;
}

@media (min-width: 480px) {
    .item-box .product-title {
        min-height: 42px;
        margin: 0 0 5px;
    }

    .item-box:nth-child(2n+1) {
        clear: both;
    }

    .item-box {
        width: 49%;
        margin: 0 0.5% 50px;
    }
}

@media (min-width: 768px) {
    .product-selectors {
        text-align: left;
    }

        .product-selectors .product-viewmode {
            display: inline-block;
            float: right;
        }

            .product-selectors .product-viewmode span {
                display: none;
            }

            .product-selectors .product-viewmode a.selected {
                opacity: 1;
            }

            .product-selectors .product-viewmode a.grid {
                background-image: url(../images/view-grid.png);
            }

            .product-selectors .product-viewmode a {
                display: inline-block;
                width: 24px;
                height: 32px;
                margin: 0 0 0 12px;
                background-position: center;
                background-repeat: no-repeat;
                opacity: 0.5;
            }

                .product-selectors .product-viewmode a.list {
                    background-image: url(../images/view-list.png);
                }

            .product-selectors .product-viewmode a {
                display: inline-block;
                width: 24px;
                height: 32px;
                margin: 0 0 0 12px;
                background-position: center;
                background-repeat: no-repeat;
                opacity: 0.5;
            }

    .item-box:nth-child(3n+1) {
        clear: both;
    }

    .item-box:nth-child(2n+1) {
        clear: none;
    }

    .item-box {
        width: 32.33333%;
        margin: 0 0.5% 50px;
    }
}

@media (min-width: 1024px) {
    .side-2 {
        float: left;
        width: 25%;
    }

    .block {
        float: none;
        width: auto;
        margin: 0 0 20px;
    }

        .block .title {
            margin: 0;
            border-bottom: 1px solid #ddd;
            background: none;
            cursor: auto;
        }

            .block .title strong {
                font-weight: 700;
            }

        .block .listbox {
            display: block;
            border-bottom: none;
        }

        .block a.product-picture {
            display: inline-block;
            position: relative;
            width: 30%;
            margin: 0 0 0 -15px;
            vertical-align: middle;
        }

            .block a.product-picture + a.product-name {
                width: 70%;
            }

        .block a.product-name {
            vertical-align: middle;
        }

    .center-2 {
        float: right;
        width: 73%;
    }

    .inputs {
        text-align: left;
    }
}
