/* ===== General ===== */
@font-face {
    font-family: 'FontAwesomeAS4';
    src: url('//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/fonts/fontawesome-webfont.eot?v=4.7.0');
    src: url('//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
.PM_ASearchTitle,
.PM_ASBlockOutputHorizontal a,
.PM_ASBlockOutputVertical a {
    color: #000;
}
.clear { clear: both; }
.text-center { text-align: center; }


/* ===== Reset filters ===== */

.PM_ASResetSearch {
    display: none;
    color: inherit;
    font-size: 0.85rem;
    text-align: center;
    padding:  0.25rem;
    margin: 0.75rem 0 1.25rem;
}
.PM_ASBlockOutputVertical .PM_ASResetSearch {
    border: 1px dashed rgba(0,0,0,.125);
    box-shadow: 2px 2px 11px 0 rgba(0,0,0,.1);
}
.PM_ASResetSearch:before {
    content: "\f0e2";
    font-family: "FontAwesome", "FontAwesomeAS4";
    padding-right: 5px;
}
.PM_ASResetGroup {
    font-size: 10px;
    margin-top: 5px;
}
.PM_ASResetGroup:before {
    content: "\f00d";
    font-family: "FontAwesome", "FontAwesomeAS4";
    padding-right: 5px;
}


/* ===== Vertical Search blocks ===== */

.PM_ASBlockOutputVertical .PM_ASBlockNbProductValue {
    opacity: 0.6;
}
.PM_ASBlockOutputVertical .PM_ASCriterionsGroup {
    margin-bottom: 1rem;
}
.PM_ASBlockOutputVertical .PM_ASCriterionsGroupTitle {
    font-family: 'Montserrat';
    font-size: 19px;
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: 25px;
}
.PM_ASBlockOutputVertical .PM_ASCriterionsGroup:first-child .PM_ASCriterionsGroupTitle {
/*     margin-top: 0; */
}
.PM_ASBlockOutputVertical .PM_ASCriterionsGroup ul {
    margin-bottom: 0;
}
.PM_ASBlockOutputVertical .PM_ASSubmitSearch {
    margin-top: 1.5rem;
}


/* ===== Horizontal Search blocks ===== */

.PM_ASBlockOutputHorizontal {
    clear: both;
}
.PM_ASBlockOutputHorizontal .card-header {
    text-align: center;
}
.PM_ASBlockOutputHorizontal .PM_ASCriterionsGroup {
    padding-top: 15px;
    padding-bottom: 15px;
}
.PM_ASBlockOutputHorizontal .PM_ASCriterionsGroup select {
    width: 96%;
}


/* ===== Groups of Criteria ===== */

/* Lists management */
.PM_ASCriterions ul {
    list-style: none;
}

/* Skip group link */
.PM_ASSkipGroup {
    font-size: 10px;
    float: right;
    margin-top: 5px;
}
.PM_ASSkipGroup:after {
    content: "\f051";
    font-family: "FontAwesome", "FontAwesomeAS4";
    padding-left: 5px;
}

/* Hidden and disabled criteria */
.PM_ASCriterionDisable {
    -khtml-opacity: .50;
    -moz-opacity: .50;
    -ms-filter: "alpha(opacity=50)";
    filter: alpha(opacity=50);
    opacity: .50;
    zoom: 1
}
.PM_ASShowCriterionsGroupHidden:before {
    font-family: "FontAwesome", "FontAwesomeAS4";
    padding-right: 5px;
}
.PM_ASShowCriterionsGroupHidden:before {
    content: "\f105";
}
.PM_ASShowCriterionsGroupHidden.PM_ASShowCriterionsGroupHiddenOpen:before {
    content: "\f107";
}
.PM_ASShowCriterionsGroupHidden {
    text-align: center;
}
.PM_ASCriterionsGroupHidden {
    display: none;
}

/* Range value for slider */
.PM_ASCritRange {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.PM_ASCritRangeValue {
    display: block;
    text-align: center;
    margin-top: 5px;
}

/* Hide toggle link */
.PM_ASCriterionHideToggleLink {
    font-size: 10px;
    margin-top: 10px;
    display: block;
}

/* ===== Criterions ===== */
ul.PM_ASCriterionGroupImage,
ul.PM_ASCriterionGroupCheckbox,
ul.PM_ASCriterionGroupLinkColor,
ul.PM_ASCriterionGroupLink,
ul.PM_ASCriterionGroupColor,
ul.PM_ASLevelDepth {
    list-style-type: none;
    padding-left: 0;
}
.PM_ASCriterionsSEOGroupDisabled,
.PM_ASCriterionsSEOGroupDisabled a,
.PM_ASCriterionsSEOGroupDisabled input {
    cursor: default;
}

/* Criterion group display */
ul.PM_ASCriterionGroupImage,
.PM_ASCriterionGroupColor {
    clear: both;
    max-width: 200px;
}
ul.PM_ASCriterionGroupImage li,
.PM_ASCriterionGroupColor li {
    display: inline-block;
}
ul.PM_ASCriterionGroupImage li a,
.PM_ASCriterionGroupColor li a {
    display: block;
}

/* Criterion display */
.PM_ASCriterionHide,
li.PM_ASCriterionHide {
    display: none;
}
.PM_ASHide {
    display: none;
}
.PM_ASHide:before, .PM_ASShow:before {
    font-family: "FontAwesome", "FontAwesomeAS4";
    padding-right: 5px;
}
.PM_ASHide:before {
    content: "\f106";
}
.PM_ASShow:before {
    content: "\f107";
}

/* Number of results on criterion */
div.PM_ASCriterionNbProduct {
    opacity: 0.6;
    display: inline;
}

/* Color square size */
.PM_ASCriterionGroupColor li a {
    width: 15px;
    height: 15px;
}
.PM_ASCriterionGroupColor.color_to_pick_list li, .PM_ASCriterionGroupLinkColor span.PM_ASCriterionColorSquare {
    border: 1px solid #D6D4D4;
    display: inline-block;
    float: none;
}
.PM_ASCriterionGroupColor.color_to_pick_list li a, .PM_ASCriterionGroupLinkColor span.PM_ASCriterionColorSquare {
    width: 23px;
    height: 23px;
    margin: 1px!important;
    background-size: 100% 100% !important;
}
.PM_ASCriterionGroupColor.color_to_pick_list li.PM_ASCriterionHide, ul.PM_ASCriterionGroupImage li.PM_ASCriterionHide {
    display: none;
}

/* Selected => image and square color */
.PM_ASCriterionGroupImage .PM_ASCriterionLink,
.PM_ASCriterionGroupColor .PM_ASCriterionLink {
    margin-right: 0;
    margin-bottom: 2px;
}
.PM_ASCriterionGroupImage .PM_ASCriterionLinkSelected,
.PM_ASCriterionGroupColor .PM_ASCriterionLinkSelected {
    border: 2px solid #999;
    margin: 2px!important;
}

/* Selected => link */
.PM_ASCriterionGroupLink .PM_ASCriterionLinkSelected,
.PM_ASCriterionGroupLink .PM_ASCriterionLink:hover {
    color: #e7512b;
}
/* .PM_ASCriterionGroupLink:not(.PM_ASCriterionGroupLinkColor) .PM_ASCriterionLink:before {
    content: "\f105";
    font-family: "FontAwesome", "FontAwesomeAS4";
    padding-right: 5px;
} */

/* Criterion group (color, but not square only) */
.PM_ASCriterionGroupLinkColor .PM_ASCriterionLink {
    height: 23px;
    line-height: 23px;
    margin-bottom: 3px;
    display: block;
}
.PM_ASCriterionGroupLinkColor .PM_ASCriterionLink .PM_ASCriterionValue {
    line-height: 23px;
    display: block;
}
.PM_ASCriterionGroupLinkColor span.PM_ASCriterionColorSquare {
    margin: 0 6px 0 0 !important;
    display: block;
    float: left;
}

/* Selected class for label with link to SEO pages */
.PM_ASCriterionGroupCheckbox .PM_ASLabelCheckboxSelected .PM_ASLabelLink,
.PM_ASCriterionGroupCheckbox .PM_ASLabelCheckbox .PM_ASLabelLink:hover {
    font-weight: bold;
}

/* Remove checkbox border for IE */
.PM_ASCriterionCheckbox {
    border: 0;
    vertical-align: middle;
}


/* ===== Criterion => level depth ===== */

.PM_ASLevelDepth {
}
.PM_ASLevelDepth li {
    position: relative
}
.PM_ASLevelDepth li a {
    font-weight: 700;
    display: block;
    font-weight: 600;
    line-height: 30px;
    border-bottom: 2px solid #ebebeb;
}
.PM_ASLevelDepth li:not(.level1) a {
    border-bottom: none;
}
.PM_ASLevelDepth li:not(.level1):not(.PM_ASCriterionLevelSelected) a {
    color: #777777;
    font-weight: normal;
    font-size: .875rem;
}
.PM_ASLevelDepth li span.grower {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}
.PM_ASLevelDepth li span.grower.PM_ASCriterionClose .add,
.PM_ASLevelDepth li span.grower.PM_ASCriterionOpen .remove {
    display:block;
}
.PM_ASLevelDepth li span.grower.PM_ASCriterionClose .remove,
.PM_ASLevelDepth li span.grower.PM_ASCriterionOpen .add {
    display:none;
}

/* Selected class for category tree view */
.PM_ASLevelDepth .PM_ASCriterionLevelChoosen .PM_ASCriterionLevelChoose {
    font-weight: bold;
}
.PM_ASLevelDepth .PM_ASCriterionLevelSelected.PM_ASCriterionLevelChoosen span + .PM_ASCriterionLevelChoose,
.PM_ASLevelDepth .PM_ASCriterionLevelSelected.PM_ASCriterionLevelChoosen a.PM_ASCriterionLevelChoose {
    text-decoration: underline;
}

/* Link for removing criterion of selection */
.PM_ASCriterionLevelChoosen a:hover {
    text-decoration: line-through!important;
}

/* ===== Selections block display ===== */
.PM_ASSelections {
    background-color: transparent;
}
.PM_ASSelections li {
    display: inline-block;
}

.PM_ASBlockOutputVertical .PM_ASSelections {
    padding: 0;
    background-color: inherit;
    border: none;
}
.PM_ASBlockOutputVertical .PM_ASSelections .active-filter-title {
    display: block;
    margin: 0 0 1.25rem;
}
.PM_ASBlockOutputVertical .PM_ASSelections li {
    display: block!important;
}
.PM_ASBlockOutputVertical .PM_ASSelections a.PM_ASSelectionsRemoveLink {
    display: block!important;
    margin-right: 0;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}


* html .PM_ASBlockOutputHorizontal .PM_ASSelectionsBlock {
    height: 25px;
}
.PM_ASSelectionsDropDown {
    position: relative;
    height: 25px;
    z-index: 2;
}
.PM_ASSelectionsDropDownMenu {
    display: none;
    position: absolute;
    top: 20px;
    left: 0;
    padding: 0.5rem;
    z-index: 2;
}

/* Link for showing dropdown selection reminder on vertical block */
a.PM_ASSelectionsDropDownShowLink {
    text-decoration: none;
}
a.PM_ASSelectionsDropDownShowLink:before {
    content: "\f105";
    font-family: "FontAwesome", "FontAwesomeAS4";
    padding-right: 5px;
}
a.PM_ASSelectionsDropDownShowLink.PM_ASSelectionsBlockOpened:before {
    content: "\f107";
}
.PM_ASSelectionsResults .PM_ASSelectionsSelectedCriterion {
    display: inline-block;
    padding-right: 5px;
}
.PM_ASSelectionsResults .PM_ASSelectionsCriterionsGroup .PM_ASSelectionsCriterionsGroupName {
    display: block;
}
.PM_ASSelectionsResults .PM_ASSelectionsCriterionsGroupName strong,
.PM_ASSelectionsResults .PM_ASSelectionsCriterionsGroupName > ul {
    display: inline-block;
}

/* Dropdown selection reminder on vertical block */
.PM_ASBlockOutputVertical .PM_ASSelectionsDropDownMenu {
    width: 100%;
}

/* Link for removing criterion of selection */
a.PM_ASSelectionsRemoveLink:before {
    content: "\f00d";
    font-family: "FontAwesome", "FontAwesomeAS4";
    padding-right: 5px;
}

/* ===== SEO pages ===== */
#PM_ASearchSeoCrossLinks {
    clear: both;
}

/* Collapse mode for mobiles */
/* .PM_ASBlockOutput.PM_ASMobileMode .PM_ASBlockTitle:after,
.PM_ASBlockOutput.PM_ASMobileMode .PM_ASearchTitle:after {
    content: "";
    font-family: "Material Icons";
    padding-right: 5px;
    font-size: 24px;
    font-weight: 400;
    position: absolute;
    right: 0;
} */
.PM_ASBlockOutput.PM_ASMobileMode .card-block {
    display: none;
}
.PM_ASBlockOutput.PM_ASMobileMode .card-header {
    cursor: pointer;
}

.PM_ASBlockOutput.PM_ASMobileMode.PM_ASMobileVisible .card-block {
    display: block;
}

/* Blur */
.as4-loader-blur {
    -webkit-filter: blur(2px);
    -moz-filter: blur(2px);
    -o-filter: blur(2px);
    -ms-filter: blur(2px);
    filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius='2');
    filter: blur(2px);
}
.as4-loader:before,
.as4-loader:after,
.as4-loader {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation: as4loader 1.8s infinite ease-in-out;
    animation: as4loader 1.8s infinite ease-in-out;
}
.as4-loader {
    margin-left: auto;
    margin-right: auto;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    -webkit-animation-delay: 0.16s;
    animation-delay: 0.16s;
    opacity: 1;
}
.as4-loader:before {
    left: -3.5em;
}
.as4-loader:after {
    left: 3.5em;
    -webkit-animation-delay: 0.32s;
    animation-delay: 0.32s;
}
.as4-loader:before,
.as4-loader:after {
    content: '';
    position: absolute;
    top: 0;
}
@keyframes as4loader { 0%, 80%, 100% { box-shadow: 0 2.5em 0 -1.3em #333333; } 40% { box-shadow: 0 2.5em 0 0 #666666; } }@-webkit-keyframes as4loader { 0%, 80%, 100% { box-shadow: 0 2.5em 0 -1.3em #333333; } 40% { box-shadow: 0 2.5em 0 0 #666666; } } 
/* /Blur */

/* Scrollbar and overflow management for webkit */
.PM_ASCriterionsGroupOuter::-webkit-scrollbar {
    width: 5px;
}
.PM_ASCriterionsGroupOuter::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
.PM_ASCriterionsGroupOuter::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(0,0,0,0.4); 
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}
.PM_ASCriterionsGroupOuter::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(0,0,0,0.2); 
}
.PM_ASBlockOutput {
    position: relative;
    padding: 0 100px;
}

.PM_ASBlockOutput .card {
    box-shadow: none;
    border: 0;
}

.PM_ASBlockOutput .card-header {
    border: 0;
    background: none;
    padding: 0;
}

.PM_ASCriterionsGroupList {
    display: flex;
}

.PM_ASCriterionsGroupList .PM_ASCriterionsGroup {
    padding-left: 25px;
    flex-basis: 25%;
}

.PM_ASBlockTitle {
    display: inline-flex;
    align-items: center;
    font-family: 'Montserrat';
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
} 

.PM_ASBlockTitle .laimg {
    line-height: 1;
    font-size: 0;
    margin-right: 8px;
}

.PM_ASBlockTitle .laimg img {
    max-height: 20px;
    width: auto;
}

.PM_ASCriterionGroupLink li {
    font-size: 16px;
    font-family: 'Montserrat';
    margin-bottom: 25px;
}

.PM_ASBlockOutput .card-block {
    display: none;
}

.PM_FilterTitle {
    display: none;
}

@media (max-width: 1399px) {
    .PM_ASBlockOutput {
        padding: 0 15px;
    }
}

@media (max-width: 991px) {
    .PM_ASCriterionsGroupList {
        flex-wrap: wrap;
    }

    .PM_ASCriterionsGroupList .PM_ASCriterionsGroup {
        flex-basis: 50%;
    }

    #module-pm_advancedsearch4-searchresults {
        padding-top: 100px;
    }
}

@media (max-width: 767px) {
    .PM_ASBlockTitle {
        font-size: 14px;
        align-items: center;
    }

    .PM_ASBlockOutput .PM_ASBlockTitle {
        font-size: 16px;
    }

    .PM_ASBlockOutputVertical .PM_ASCriterionsGroupTitle {
        border-bottom: 1px solid;
        font-size: 16px;
        margin: 0;
        padding: 12px;
    }

    .PM_ASCriterionGroupLink li {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .PM_ASCriterionsGroupList .PM_ASCriterionsGroup {
        flex-basis: 100%;
        padding-left: 0;
        margin-bottom: 0;
    }

    .PM_ASCriterionsGroup .PM_ASCriterions .PM_ASCriterionsGroupTitle {
        position: relative;
    }

    .PM_ASCriterionsGroup .PM_ASCriterions .PM_ASCriterionsGroupTitle:after {
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' width='12' height='12'%3E%3Cpath d='M443.5 162.6l-7.1-7.1c-4.7-4.7-12.3-4.7-17 0L224 351 28.5 155.5c-4.7-4.7-12.3-4.7-17 0l-7.1 7.1c-4.7 4.7-4.7 12.3 0 17l211 211.1c4.7 4.7 12.3 4.7 17 0l211-211.1c4.8-4.7 4.8-12.3.1-17z'/%3E%3C/svg%3E");
        display: block;
        position: absolute;
        right: 12px;
        top: 12px;
    }
    .PM_ASCriterionsGroup .PM_ASCriterions.opened .PM_ASCriterionsGroupTitle:after {
        transform: rotate(180deg);
    }

    .PM_ASCriterions:not(.opened) .PM_ASCriterionsGroupOuter {
        display: none;
    }

    .PM_ASCriterionsGroupOuter {
        padding: 12px 12px 0;
        max-height: 250px!important;
    }

    .PM_ASBlockOutput,
    .PM_ASBlockOutput.PM_ASMobileMode .card-block {
        padding: 0;
    }

    .PM_ASBlockOutput .card-block {
        padding-bottom: 60px;
    }

    .PM_ASBlockOutput.PM_ASMobileMode .card-block {
        position: fixed;
        background: #fff;
        top: 0;
        height: 100vh;
        width: 100%;
        overflow-y: hidden;
        scrollbar-width: 0;
        z-index: 15;
    }

    .PM_ASBlockOutput.PM_ASMobileMode .card-block::-webkit-scrollbar {
        display: none;
    }

    .PM_ASBlockOutput .PM_ASResetSearch {
        display: none!important;
    }

    .PM_ASBlockOutput .topaction {
        display: flex;
        align-items: center;
        padding: 12px;
    }

    .PM_ASBlockOutput .topaction .action_left {
        flex-basis: 33%;
    }

    .PM_ASBlockOutput .topaction .PM_ASBlockTitle {
        display: flex;
        justify-content: center;
        flex-basis: 33%;
    }

    .topaction .close {
        flex-basis: 33%;
        text-align: right;
        opacity: 1;
        cursor: pointer;
    }

    .PM_ASResetGroup {
        display: none;
    }

    .products-selection .filter-button {
        display: none;
    }

    .PM_ASBlockOutputVertical .PM_ASSelections .active-filter-title {
        margin-right: 10px;
        margin-bottom: 0;
        padding: 12px;
    }

    .PM_ASBlockOutputVertical .PM_ASSelections .active-filter-title {
        display: inline;
        padding-left: 0;
    }

    .active_filters ul {
        display: inline;
    }

    .PM_ASBlockOutputVertical .PM_ASSelections li {
        display: inline-block!important;
    }

    .card-header .PM_ASBlockTitle {
        padding-left: 15px;
        padding-bottom: 15px;
    }

    .PM_ASBlockOutputVertical .PM_ASSelections {
        padding: 20px 12px;
    }

    .PM_ASBlockOutputVertical .PM_ASCriterionsGroupTitle {
        font-weight: normal;
        cursor: pointer;
    }

    #products #js-active-search-filters {
        display: none;
    }

    .PM_ASBlockOutput .bottomaction {
        position: absolute;
        display: block;
        bottom: 0;
        background: #000;
        color: #fff;
        text-align: center;
        font-size: 22px;
        font-weight: normal;
        padding: 20px 5px 50px;
        width: 100%;
        opacity: 1;
        cursor: pointer;
    }
}