/* ===== 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;
}
.YEB_ASearchTitle,
.YEB_ASBlockOutputHorizontal a,
.YEB_ASBlockOutputVertical a {
    color: #414141;
}
.clear { clear: both; }
.text-center { text-align: center; }


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

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


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

.YEB_ASBlockOutputVertical .YEB_ASBlockNbProductValue {
    opacity: 0.6;
}
.YEB_ASBlockOutputVertical .YEB_ASCriterionsGroup {
    margin-bottom: 1rem;
}
.YEB_ASBlockOutputVertical .YEB_ASCriterionsGroupTitle {
    border-bottom: 1px solid #d6d4d4;
    padding-bottom: 0.5rem;
    padding-top: 1.5rem;
}
.YEB_ASBlockOutputVertical .YEB_ASCriterionsGroup:first-child .YEB_ASCriterionsGroupTitle {
    padding-top: 0;
}
.YEB_ASBlockOutputVertical .YEB_ASCriterionsGroup ul {
    margin-bottom: 0;
}
.YEB_ASBlockOutputVertical .YEB_ASSubmitSearch {
    margin-top: 1.5rem;
}


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

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


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

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

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

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


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

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

/* ===== Criterions ===== */
ul.YEB_ASCriterionGroupImage,
ul.YEB_ASCriterionGroupCheckbox,
ul.YEB_ASCriterionGroupLinkColor,
ul.YEB_ASCriterionGroupLink,
ul.YEB_ASCriterionGroupColor,
ul.YEB_ASLevelDepth {
    list-style-type: none;
    padding-left: 0;
}
.YEB_ASCriterionsSEOGroupDisabled,
.YEB_ASCriterionsSEOGroupDisabled a,
.YEB_ASCriterionsSEOGroupDisabled input {
    cursor: default;
}

/* Criterion group display */
ul.YEB_ASCriterionGroupImage,
.YEB_ASCriterionGroupColor {
    clear: both;
}
ul.YEB_ASCriterionGroupImage li,
.YEB_ASCriterionGroupColor li {
    display: inline-block;
}
ul.YEB_ASCriterionGroupImage li a,
.YEB_ASCriterionGroupColor li a {
    display: block;
}

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


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

/* Color square size */
.YEB_ASCriterionGroupColor li a {
    width: 15px;
    height: 15px;
}
.YEB_ASCriterionGroupColor.color_to_pick_list li, .YEB_ASCriterionGroupLinkColor span.YEB_ASCriterionColorSquare {
    border: 1px solid #D6D4D4;
    display: inline-block;
    float: none;
}
.YEB_ASCriterionGroupColor.color_to_pick_list li a, .YEB_ASCriterionGroupLinkColor span.YEB_ASCriterionColorSquare {
    width: 23px;
    height: 23px;
    margin: 1px!important;
    background-size: 100% 100% !important;
}
.YEB_ASCriterionGroupColor.color_to_pick_list li.YEB_ASCriterionHide, ul.YEB_ASCriterionGroupImage li.YEB_ASCriterionHide {
    display: none;
}

/* Selected => image and square color */
.YEB_ASCriterionGroupImage .YEB_ASCriterionLink,
.YEB_ASCriterionGroupColor .YEB_ASCriterionLink {
    margin: 4px!important;
}
.YEB_ASCriterionGroupImage .YEB_ASCriterionLinkSelected,
.YEB_ASCriterionGroupColor .YEB_ASCriterionLinkSelected {
    border: 2px solid #999;
    margin: 2px!important;
}

/* Selected => link */
.YEB_ASCriterionGroupLink .YEB_ASCriterionLinkSelected,
.YEB_ASCriterionGroupLink .YEB_ASCriterionLink:hover {
    font-weight: bold;
}
.YEB_ASCriterionGroupLink:not(.YEB_ASCriterionGroupLinkColor) .YEB_ASCriterionLink:before {
    content: "\f105";
    font-family: "FontAwesome", "FontAwesomeAS4";
    padding-right: 5px;
}

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

/* Selected class for label with link to SEO pages */
.YEB_ASCriterionGroupCheckbox .YEB_ASLabelCheckboxSelected .YEB_ASLabelLink,
.YEB_ASCriterionGroupCheckbox .YEB_ASLabelCheckbox .YEB_ASLabelLink:hover {
    font-weight: bold;
}

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

/* #YEB problema checklist a capo */
.YEB_ASCriterionGroupCheckbox .checkbox{
    position: relative;
}

.YEB_ASCriterionGroupCheckbox input.YEB_ASCriterionCheckbox{
    position: absolute;
    top: 9px;
}
.YEB_ASCriterionGroupCheckbox .YEB_ASLabelCheckbox{
    display: inline-block;
    margin-left: 20px;
    line-height: 1.1;
}

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

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

/* Selected class for category tree view */
.YEB_ASLevelDepth .YEB_ASCriterionLevelChoosen .YEB_ASCriterionLevelChoose {
    font-weight: bold;
}
.YEB_ASLevelDepth .YEB_ASCriterionLevelSelected.YEB_ASCriterionLevelChoosen span + .YEB_ASCriterionLevelChoose,
.YEB_ASLevelDepth .YEB_ASCriterionLevelSelected.YEB_ASCriterionLevelChoosen a.YEB_ASCriterionLevelChoose {
    text-decoration: underline;
}

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

/* ===== Selections block display ===== */
.YEB_ASSelections {
    background-color: #f5f5f5;
    border: 1px solid rgba(0,0,0,.125);
}
.YEB_ASSelections li {
    display: inline-block;
}

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


* html .YEB_ASBlockOutputHorizontal .YEB_ASSelectionsBlock {
    height: 25px;
}
.YEB_ASSelectionsDropDown {
    position: relative;
    height: 25px;
    z-index: 2;
}
.YEB_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.YEB_ASSelectionsDropDownShowLink {
    text-decoration: none;
}
a.YEB_ASSelectionsDropDownShowLink:before {
    content: "\f105";
    font-family: "FontAwesome", "FontAwesomeAS4";
    padding-right: 5px;
}
a.YEB_ASSelectionsDropDownShowLink.YEB_ASSelectionsBlockOpened:before {
    content: "\f107";
}
.YEB_ASSelectionsResults .YEB_ASSelectionsSelectedCriterion {
    display: inline-block;
    padding-right: 5px;
}
.YEB_ASSelectionsResults .YEB_ASSelectionsCriterionsGroup .YEB_ASSelectionsCriterionsGroupName {
    display: block;
}
.YEB_ASSelectionsResults .YEB_ASSelectionsCriterionsGroupName strong,
.YEB_ASSelectionsResults .YEB_ASSelectionsCriterionsGroupName > ul {
    display: inline-block;
}

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

/* Link for removing criterion of selection */
a.YEB_ASSelectionsRemoveLink:hover {
    text-decoration: line-through !important;
    color: inherit !important;
}
a.YEB_ASSelectionsRemoveLink:before {
    content: "\f00d";
    font-family: "FontAwesome", "FontAwesomeAS4";
    padding-right: 5px;
}

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

/* Collapse mode for mobiles */
.YEB_ASBlockOutput.YEB_ASMobileMode .YEB_ASBlockTitle:after,
.YEB_ASBlockOutput.YEB_ASMobileMode .YEB_ASearchTitle:after {
    content: "";
    font-family: "Material Icons";
    padding-right: 5px;
    font-size: 24px;
    font-weight: 400;
    position: absolute;
    right: 0;
}
.YEB_ASBlockOutput.YEB_ASMobileMode .card-block {
    display: none;
}
.YEB_ASBlockOutput.YEB_ASMobileMode .card-header {
    cursor: pointer;
}
.YEB_ASBlockOutput.YEB_ASMobileMode.YEB_ASMobileVisible .YEB_ASBlockTitle:after,
.YEB_ASBlockOutput.YEB_ASMobileMode.YEB_ASMobileVisible .YEB_ASearchTitle:after {
    content: "";
}
.YEB_ASBlockOutput.YEB_ASMobileMode.YEB_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 */
.YEB_ASCriterionsGroupOuter::-webkit-scrollbar {
    width: 5px;
}
.YEB_ASCriterionsGroupOuter::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
.YEB_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);
}
.YEB_ASCriterionsGroupOuter::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(0,0,0,0.2);
}
.YEB_ASBlockOutput {
    position: relative;
}
