﻿/* -------------------------------- 
Main Components 
-------------------------------- */
.productsetfilter-header {
    position: relative;
    height: 150px;
    background-color: #331d35;
}

    .productsetfilter-header h1 {
        color: #fff;
        line-height: 150px;
        text-align: center;
        font-weight: 300;
    }

.productsetfilter-main-content {
    position: relative;
    min-height: 100vh;
}

    .productsetfilter-main-content:after {
        content: "";
        display: table;
        clear: both;
    }

    .productsetfilter-main-content.is-fixed .productsetfilter-tab-filter-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
    }

    .productsetfilter-main-content.is-fixed .productsetfilter-gallery {
        padding-top: 76px;
    }

    .productsetfilter-main-content.is-fixed .productsetfilter-filter {
        position: fixed;
        height: 100vh;
        overflow: hidden;
    }

        .productsetfilter-main-content.is-fixed .productsetfilter-filter form {
            height: 100vh;
            overflow: auto;
            -webkit-overflow-scrolling: touch;
        }

    .productsetfilter-main-content.is-fixed .productsetfilter-filter-trigger {
        position: fixed;
    }

    .productsetfilter-main-content .hyp-thumbnail {
        height: 100%;
        width: 100%;
    }

    .productsetfilter-main-content .thumbnail {
        box-sizing: border-box;
        position: relative;
        height: 230px;
        vertical-align: middle;
        width: 100%;
    }

        .productsetfilter-main-content .thumbnail img {
            max-height: 230px;
        }


@media only screen and (min-width: 769px) {
    .productsetfilter-main-content.is-fixed .productsetfilter-gallery {
        padding-top: 90px;
    }
}

@media only screen and (min-width: 1170px) {

    .productsetfilter-header {
        height: 180px;
    }

        .productsetfilter-header h1 {
            line-height: 180px;
        }

    .productsetfilter-main-content.is-fixed .productsetfilter-gallery {
        padding-top: 100px;
    }
}

.productsetfilter-gallery .product-info {
    text-align: center;
    margin: 0 0 15px 0;
    min-height: 115px;
}

    /* multiline text with ellipsis */

    .productsetfilter-gallery .product-info .product-description {
        padding: 0 10px;
        margin: 0 0 10px 0;
        overflow: hidden;
        text-overflow: -o-ellipsis-lastline;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

        .productsetfilter-gallery .product-info .product-description a.product-title {
            color: #666;
            font-size: 14px;
        }

    .productsetfilter-gallery .product-info .product-action {
    }

        .productsetfilter-gallery .product-info .product-action .prices {
            color: #666;
            display: block;
            margin: 0 0 10px 0;
            font-size: 20px;
        }

        .productsetfilter-gallery .product-info .product-action a.product-action-link {
            font-size: 12px;
            color: #92b7b7;
            display: block;
        }


/* -------------------------------- 

xtab-filter 

-------------------------------- */

.productsetfilter-tab-filter-wrapper {
    background-color: #fff;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
    z-index: 1;
}

    .productsetfilter-tab-filter-wrapper:after {
        content: "";
        display: table;
        clear: both;
    }


/* tabbed navigation style on mobile - dropdown */
.productsetfilter-tab-filter {
    position: relative;
    width: 200px;
    margin: 0 auto;
    z-index: 1;
}

    /* small arrow icon */
    .productsetfilter-tab-filter::after {
        content: '';
        position: relative;
        left: 93%;
        top: 36px;
        bottom: auto;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
        display: inline-block;
        width: 16px;
        height: 16px;
        background: url("../../files/icons/cd-icon-arrow.svg") no-repeat center center;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s;
        pointer-events: none;
    }

    .productsetfilter-tab-filter ul {
        position: absolute;
        top: 0;
        left: 0;
        background-color: #fff;
        box-shadow: inset 0 -2px 0 #92b7b7;
    }

    .productsetfilter-tab-filter li {
        display: none;
    }

        /* this way the placehodler is alway visible */
        .productsetfilter-tab-filter li:first-child {
            display: block;
        }

    /* set same size of the .productsetfilter-tab-filter */
    .productsetfilter-tab-filter a {
        display: block;
        height: 50px;
        width: 200px;
        line-height: 50px;
        padding-left: 14px;
    }

        .productsetfilter-tab-filter a:hover {
            text-decoration: none;
        }

        .productsetfilter-tab-filter a.selected {
            background: #92b7b7;
            color: #fff;
        }

    /* small arrow rotation */
    .productsetfilter-tab-filter.is-open::after {
        -webkit-transform: translateY(-50%) rotate(-180deg);
        -moz-transform: translateY(-50%) rotate(-180deg);
        -ms-transform: translateY(-50%) rotate(-180deg);
        -o-transform: translateY(-50%) rotate(-180deg);
        transform: translateY(-50%) rotate(-180deg);
    }

    .productsetfilter-tab-filter.is-open ul {
        box-shadow: inset 0 -2px 0 #92b7b7, 0 2px 10px rgba(0, 0, 0, 0.2);
    }

        .productsetfilter-tab-filter.is-open ul li {
            display: block;
        }

    /* reduces the opacity of the placeholder on mobile when the menu is open */
    .productsetfilter-tab-filter.is-open .placeholder a {
        opacity: .4;
    }


/* tabbed navigation style on medium devices */
@media only screen and (min-width: 769px) {
    .productsetfilter-tab-filter {
        width: auto;
        cursor: auto;
    }

        /* hide the arrow */
        .productsetfilter-tab-filter::after {
            display: none;
        }

        .productsetfilter-tab-filter ul {
            background: transparent;
            position: static;
            box-shadow: none;
            text-align: center;
            padding: 0;
        }

        .productsetfilter-tab-filter li {
            display: inline-block;
        }

            .productsetfilter-tab-filter li.placeholder {
                display: none !important;
            }

        .productsetfilter-tab-filter a {
            display: inline-block;
            padding: 0 1em;
            width: auto;
            color: #9a9a9a;
            text-transform: uppercase;
            font-weight: 400;
            font-size: 22px;
        }

    .no-touch .productsetfilter-tab-filter a:hover {
        color: #92b7b7;
    }

    /* create border bottom using box-shadow property */
    .productsetfilter-tab-filter a.selected {
        background: transparent;
        color: #92b7b7;
        box-shadow: inset 0 -2px 0 #92b7b7;
    }

    .productsetfilter-tab-filter.is-open ul li {
        display: inline-block;
    }
}

/* tabbed navigation on big devices */
@media only screen and (min-width: 1170px) {
    .productsetfilter-tab-filter {
        width: 100%;
        float: right;
        margin: 0;
        -webkit-transition: width 0.3s;
        -moz-transition: width 0.3s;
        transition: width 0.3s;
    }

        /* reduce width when filter is visible */
        .productsetfilter-tab-filter.filter-is-visible {
            width: 80%;
        }
}

/* -------------------------------- 

xgallery 

-------------------------------- */
.productsetfilter-gallery {
    padding: 26px 5%;
    width: 100%;
}

    .productsetfilter-gallery li {
        margin-bottom: 1.6em;
        display: none;
        vertical-align: top;
        width: 100%;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    }

        .productsetfilter-gallery li:hover {
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        }

        /* used in combination with text-align: justify to align gallery elements */
        .productsetfilter-gallery li.gap {
            opacity: 0;
            height: 0;
            display: inline-block;
        }

    .productsetfilter-gallery img {
        display: block;
        width: 100%;
    }

    .productsetfilter-gallery .productsetfilter-fail-message {
        display: none;
        text-align: center;
    }

@media only screen and (min-width: 769px) {
    .productsetfilter-gallery {
        padding: 40px 0;
    }

        .productsetfilter-gallery ul {
            text-align: justify;
            padding: 0;
        }

            .productsetfilter-gallery ul:after {
                content: "";
                display: table;
                clear: both;
            }

        .productsetfilter-gallery li {
            width: 48%;
            margin-bottom: 2em;
        }
}

@media only screen and (min-width: 1170px) {
    .productsetfilter-gallery {
        padding: 20px 0 50px 0;
        float: right;
        -webkit-transition: width 0.3s;
        -moz-transition: width 0.3s;
        transition: width 0.3s;
    }

        .productsetfilter-gallery li {
            width: 23%;
        }

        /* reduce width when filter is visible */
        .productsetfilter-gallery.filter-is-visible {
            width: 80%;
        }
}

/* -------------------------------- 

xfilter 

-------------------------------- */

/* Force Hardware Acceleration in WebKit */
.productsetfilter-filter {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: #fff;
    box-shadow: 4px 4px 20px transparent;
    z-index: 2;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: -webkit-transform 0.3s, box-shadow 0.3s;
    -moz-transition: -moz-transform 0.3s, box-shadow 0.3s;
    transition: transform 0.3s, box-shadow 0.3s;
}

    /* top colored bar */
    .productsetfilter-filter::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        height: 50px;
        width: 100%;
        background-color: #92b7b7;
        z-index: 2;
    }

    .productsetfilter-filter form {
        padding: 70px 20px;
    }

    .productsetfilter-filter .productsetfilter-close {
        position: absolute;
        top: 0;
        right: 0;
        height: 50px;
        line-height: 50px;
        width: 60px;
        color: #fff;
        text-align: center;
        background: #37296a;
        opacity: 0;
        -webkit-transition: opacity 0.3s;
        -moz-transition: opacity 0.3s;
        transition: opacity 0.3s;
        z-index: 3;
    }

.no-touch .productsetfilter-filter .productsetfilter-close:hover {
    background: #32255f;
}

.productsetfilter-filter.filter-is-visible {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.2);
}

    .productsetfilter-filter.filter-is-visible .productsetfilter-close {
        opacity: 1;
    }

@media only screen and (min-width: 1170px) {
    .productsetfilter-filter {
        width: 20%;
    }

        .productsetfilter-filter form {
            padding: 70px 10%;
        }
}

/* image replacement */
.productsetfilter-filter-trigger {
    position: absolute;
    top: 0;
    left: 0;
    height: 50px;
    line-height: 50px;
    width: 60px;
    overflow: hidden;
    text-indent: 100%;
    color: transparent;
    white-space: nowrap;
    background: transparent url("../img/cd-icon-filter.svg") no-repeat center center;
    z-index: 3;
}

    .productsetfilter-filter-trigger.filter-is-visible {
        pointer-events: none;
    }

@media only screen and (min-width: 1170px) {
    .productsetfilter-filter-trigger {
        width: auto;
        left: 2%;
        text-indent: 0;
        color: #9a9a9a;
        text-transform: uppercase;
        font-weight: 700;
        padding-left: 24px;
        background-position: left center;
        -webkit-transition: color 0.3s;
        -moz-transition: color 0.3s;
        transition: color 0.3s;
    }

    .no-touch .productsetfilter-filter-trigger:hover {
        color: #92b7b7;
    }

    .productsetfilter-filter-trigger.filter-is-visible, .productsetfilter-filter-trigger.filter-is-visible:hover {
        color: #fff;
    }
}

/* -------------------------------- 

xcustom form elements 

-------------------------------- */
.productsetfilter-filter-block {
    margin-bottom: 1.6em;
}

    /* filter block title */
    .productsetfilter-filter-block h4 {
        font-weight: 400;
        position: relative;
        margin-bottom: .2em;
        padding: 10px 0 10px 20px;
        color: #9a9a9a;
        text-transform: uppercase;
        font-weight: 700;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        cursor: pointer;
    }

.no-touch .productsetfilter-filter-block h4:hover {
    color: #92b7b7;
}

/* arrow */
.productsetfilter-filter-block h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25px;
    width: 16px;
    height: 16px;
    background: url("../../files/icons/cd-icon-arrow.svg") no-repeat center center;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
}

.productsetfilter-filter-block h4.closed::before {
    -webkit-transform: translateY(-50%) rotate(-90deg);
    -moz-transform: translateY(-50%) rotate(-90deg);
    -ms-transform: translateY(-50%) rotate(-90deg);
    -o-transform: translateY(-50%) rotate(-90deg);
    transform: translateY(-50%) rotate(-90deg);
}

/* shared style for input elements */
.productsetfilter-filter-block input, .productsetfilter-filter-block select,
.productsetfilter-filter-block .radio-label::before,
.productsetfilter-filter-block .checkbox-label::before {
    border-radius: 0;
    background-color: #fff;
    border: 2px solid #e6e6e6;
}

    .productsetfilter-filter-block input[type='search'],
    .productsetfilter-filter-block input[type='text'],
    .productsetfilter-filter-block select {
        width: 100%;
        padding: .8em;
        -webkit-appearance: none;
        -moz-appearance: none;
        -ms-appearance: none;
        -o-appearance: none;
        appearance: none;
        box-shadow: none;
    }

        .productsetfilter-filter-block input[type='search']:focus,
        .productsetfilter-filter-block input[type='text']:focus,
        .productsetfilter-filter-block select:focus {
            outline: none;
            background-color: #fff;
            border-color: #92b7b7;
        }

    .productsetfilter-filter-block input[type='search'] {
        /* custom style for the search element */
        border-color: transparent;
        background-color: #e6e6e6;
        /* prevent jump - ios devices */
        /*font-size: 1.6rem !important;*/
    }

        .productsetfilter-filter-block input[type='search']::-webkit-search-cancel-button {
            display: none;
        }

/* select element wrapper */
.productsetfilter-filter-block .productsetfilter-select {
    position: relative;
}

    /* switcher arrow for select element */ /* switcher arrow for select element */
    .productsetfilter-filter-block .productsetfilter-select::after {
        content: '';
        position: relative;
        z-index: 1;
        left: 93%;
        top: 38px;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
        display: block;
        width: 16px;
        height: 16px;
        background: url("../../files/icons/cd-icon-arrow.svg") no-repeat center center;
        pointer-events: none;
    }

.productsetfilter-filter-block select {
    cursor: pointer;
}

    .productsetfilter-filter-block select::-ms-expand {
        display: none;
    }

.productsetfilter-filter-block .list li {
    position: relative;
    margin-bottom: .8em;
}

    .productsetfilter-filter-block .list li:last-of-type {
        margin-bottom: 0;
    }

/* hide original check and radio buttons */
.productsetfilter-filter-block input[type=radio],
.productsetfilter-filter-block input[type=checkbox] {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
    z-index: 2;
}

.productsetfilter-filter-block .checkbox-label,
.productsetfilter-filter-block .radio-label {
    padding-left: 24px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* custom radio and check boxes */
    .productsetfilter-filter-block .checkbox-label::before, .productsetfilter-filter-block .checkbox-label::after,
    .productsetfilter-filter-block .radio-label::before,
    .productsetfilter-filter-block .radio-label::after {
        content: '';
        display: block;
        position: absolute;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    .productsetfilter-filter-block .checkbox-label::before,
    .productsetfilter-filter-block .radio-label::before {
        width: 16px;
        height: 16px;
        left: 0;
    }

    /* check mark - hidden */
    .productsetfilter-filter-block .checkbox-label::after,
    .productsetfilter-filter-block .radio-label::after {
        display: none;
    }

    /* check mark style for check boxes */
    .productsetfilter-filter-block .checkbox-label::after {
        width: 16px;
        height: 16px;
        background: url("../img/cd-icon-check.svg") no-repeat center center;
    }

    .productsetfilter-filter-block .radio-label::before,
    .productsetfilter-filter-block .radio-label::after {
        border-radius: 50%;
    }

    /* check mark style for radio buttons */
    .productsetfilter-filter-block .radio-label::after {
        width: 6px;
        height: 6px;
        background-color: #fff;
        left: 5px;
    }

.productsetfilter-filter-block input[type=radio]:checked + label::before,
.productsetfilter-filter-block input[type=checkbox]:checked + label::before {
    border-color: #92b7b7;
    background-color: #92b7b7;
}

.productsetfilter-filter-block input[type=radio]:checked + label::after,
.productsetfilter-filter-block input[type=checkbox]:checked + label::after {
    display: block;
}

/* hide custom arrow on Firefox - select element */
@-moz-document url-prefix() {
    .productsetfilter-filter-block .productsetfilter-select::after {
        display: none;
    }
}

/*          START mobile views          */
@media screen and (max-width: 768px) {
    .productsetfilter-tab-filter {
        width: 100%;
    }

        .productsetfilter-tab-filter ul {
            padding: 0;
            margin: 15px 0;
        }

    .productsetfilter-filters {
        padding: 0;
        width: 100%;
    }

        .productsetfilter-filters a {
            font-size: 18px;
            color: #9a9a9a;
            text-transform: uppercase;
            width: 100%;
            -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
            -moz-box-sizing: border-box; /* Firefox, other Gecko */
            box-sizing: border-box; /* Opera/IE 8+ */
        }

    .productsetfilter-gallery {
        padding: 0;
        margin: 80px 0 0;
    }

        .productsetfilter-gallery ul {
            padding: 0;
        }
}
