.aw-layered-nav-popover {
    position: absolute;
    z-index: 10;
    box-sizing: border-box;
    padding: 4px;
    width: 190px;
    height: 44px;
    border: 2px solid #1979c3;
    border-radius: 3px;
    background: #fafafa;
    display: none;
}

@media (min-width: 640px) and (max-width: 767px) {
    .aw-layered-nav-popover {
        position: fixed !important;
        z-index: 999 !important;
        bottom: 10px !important;
        left: 0 !important;
        top: auto !important;
        right: auto !important;
        width: 97% !important;
    }

    .aw-layered-nav-popover:before {
        margin-top: 0 !important;
        border-width: 0 !important;
    }
    .aw-layered-nav-popover:after {
        margin-top: 0 !important;
        border-width: 0 !important;
    }

    .aw-layered-nav-popover__content .aw-layered-nav-popover__items,
    .aw-layered-nav-popover__content .aw-layered-nav-popover__loader	 {
        margin-left: 15px;
    }

    .aw-layered-nav-popover__content .aw-layered-nav-popover__action {
        width: 50%;
    }

    .aw-layered-nav-popover__content .aw-layered-nav-popover__action .action.primary.show-button{
        width: 100%;
    }
}

@media (max-width: 639px) {
    .aw-layered-nav-popover {
        position: fixed !important;
        z-index: 999 !important;
        bottom: 10px !important;
        left: 0 !important;
        top: auto !important;
        right: auto !important;
        width: 97% !important;
    }

    .aw-layered-nav-popover:before {
        margin-top: 0 !important;
        border-width: 0 !important;
    }
    .aw-layered-nav-popover:after {
        margin-top: 0 !important;
        border-width: 0 !important;
    }

    .aw-layered-nav-popover__content .aw-layered-nav-popover__items,
    .aw-layered-nav-popover__content .aw-layered-nav-popover__loader	 {
        margin-left: 15px;
    }

    .aw-layered-nav-popover__content .aw-layered-nav-popover__action {
        width: 50%;
    }

    .aw-layered-nav-popover__content .aw-layered-nav-popover__action .action.primary.show-button{
        width: 100%;
    }
}

.page-layout-3columns .aw-layered-nav-popover,
.page-layout-2columns-left .aw-layered-nav-popover {
    left: 100%;
    margin-left: 8px;
    padding-left: 0;
}
.page-layout-2columns-right .aw-layered-nav-popover {
    right: 100%;
    margin-right: 8px;
    padding-right: 0;
}
.page-layout-1column .aw-layered-nav-popover {
    position: static;
    margin-bottom: 5px;
}
.aw-layered-nav-popover:before, .aw-layered-nav-popover:after {
    position: absolute;
    top: 50%;
    display: block;
    width: 0;
    height: 0;
    border: solid transparent;
    content: "";
}
.aw-layered-nav-popover:before {
    margin-top: -22px;
    border-width: 22px;
}
.page-layout-3columns .aw-layered-nav-popover:before,
.page-layout-2columns-left .aw-layered-nav-popover:before {
    right: 100%;
    border-right-color: #1979c3;
}
.page-layout-2columns-right .aw-layered-nav-popover:before {
    left: 100%;
    border-left-color: #1979c3;
}
.aw-layered-nav-popover:after {
    margin-top: -20px;
    border-width: 20px;
}

.page-layout-3columns .aw-layered-nav-popover:after,
.page-layout-2columns-left .aw-layered-nav-popover:after {
    right: 100%;
    border-right-color: #fafafa;
}
.page-layout-2columns-right .aw-layered-nav-popover:after {
    left: 100%;
    border-left-color: #fafafa;
}
.aw-layered-nav-popover__content {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.page-layout-2columns-right .aw-layered-nav-popover .aw-layered-nav-popover__content {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}
.aw-layered-nav-popover--loading .aw-layered-nav-popover__items {
    display: none;
}
.aw-layered-nav-popover__loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid #1979c3;
    border-bottom-color: transparent;
    border-radius: 50%;
    background: transparent !important;
    -webkit-animation: aw-layered-nav-rotate 0.75s 0s linear infinite;
    animation: aw-layered-nav-rotate 0.75s 0s linear infinite;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.aw-layered-nav-popover--loading .aw-layered-nav-popover__loader {
    display: block;
}

@-webkit-keyframes aw-layered-nav-rotate {
    0% {
        -webkit-transform: rotate(0deg) scale(1);
        transform: rotate(0deg) scale(1);
    }
    50% {
        -webkit-transform: rotate(180deg) scale(0.6);
        transform: rotate(180deg) scale(0.6);
    }
    100% {
        -webkit-transform: rotate(360deg) scale(1);
        transform: rotate(360deg) scale(1);
    }
}

@keyframes aw-layered-nav-rotate {
    0% {
        -webkit-transform: rotate(0deg) scale(1);
        transform: rotate(0deg) scale(1);
    }
    50% {
        -webkit-transform: rotate(180deg) scale(0.6);
        transform: rotate(180deg) scale(0.6);
    }
    100% {
        -webkit-transform: rotate(360deg) scale(1);
        transform: rotate(360deg) scale(1);
    }
}

.swatch-option:not(.disabled).active {
    outline: 1px solid #999;
    border: 1px solid #fff;
    color: #333;
}

.swatch-option.image:not(.disabled).active,
.swatch-option.color:not(.disabled).active {
    outline: 2px solid #FF5216;
    border: 1px solid #fff;
}

.swatch-attribute-options {
    margin: 10px !important;
}

.filter-options-item {
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px
}

.filter-options .filter-options-title {
    margin: 0 !important;
}

.filter-options-title {
    cursor: pointer;
    font-weight: 600;
    margin: 0;
    overflow: hidden;
    padding: 10px 0px 0px 10px;
    position: relative;
    text-transform: uppercase;
    word-break: break-all;
    z-index: 1;
    display: block;
    text-decoration: none
}

.filter-options-item .filter-options-title .arrow {
    float: right;
    width: 22px;
    height: 22px;
    background: url("../images/down.png") 100% 5px no-repeat;
    margin-left: 0px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.filter-options-item.active .filter-options-title .arrow{
    float: right;
    width: 22px;
    height: 22px;
    background: url("../images/up.png") 100% 5px no-repeat;
    margin-left: 0px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.filter-options-title:after {
    display: none !important;
}

.aw-layered-nav-popover__content .aw-layered-nav-popover__action .action.primary.show-button{
    padding-top: 4px;
    padding-bottom: 4px;
    height: 100%;
}

.filter-options-item .filter-options-title:hover .arrow{
    background:  url("../images/down-hover.png") 100% 5px no-repeat;
}

.filter-options-item.active .filter-options-title:hover .arrow{
    background:  url("../images/up-hover.png") 100% 5px no-repeat;
}

.filter-options-content{
    margin: 0;
    padding: 10px
}

.filter-options-content .item{
    margin: 10px 0;
    line-height: 1.5em
}

.filter-options-content .item input[type=checkbox]:checked + label {
    font-weight: bold;
}

.filter.active .filter-options-item:last-child{
    margin-bottom: 40px
}

.page-layout-1column .filter-options-item{
    border: 0;
    display: inline-block;
    margin-right: 25px
}

.page-layout-1column .filter-options-item.active{
    position: relative;
    z-index: 2
}

.page-layout-1column .filter-options-item.active:hover{
    z-index: 3
}

.page-layout-1column .filter-options-item.active:after,
.page-layout-1column .filter-options-item.active:before{
    border: 8px solid transparent;
    height: 0;
    width: 0;
    border-bottom-color: #000;
    bottom: -1px;
    content: '';
    display: block;
    left: 50%;
    margin-left: -20px;
    position: absolute;
    z-index: 3
}

.page-layout-1column .filter-options-item.active:after{
    border-bottom-color: #fff;
    margin-top: 2px;
    z-index: 4
}

.page-layout-1column .filter-options-title{
    padding: 0 20px 0 0
}

.page-layout-1column .filter-options-title:after{
    right: 2px;top: 3px;z-index: 3

}

.page-layout-1column .filter-options-content{
    background: #fff;
    -webkit-box-shadow: 0 3px 5px 0 rgba(50,50,50,0.75);
    -moz-box-shadow: 0 3px 5px 0 rgba(50,50,50,0.75);
    -ms-box-shadow: 0 3px 5px 0 rgba(50,50,50,0.75);
    box-shadow: 0 3px 5px 0 rgba(50,50,50,0.75);
    border: 1px solid #ccc;
    padding: 5px 0;
    position: absolute;
    top: 100%;
    width: 180px;
    z-index: 2
}

.page-layout-1column .filter-options-content .item{
    padding: 5px;
    margin: 0
}

.page-layout-1column .filter-options-content .item:hover{
    background-color: #e8e8e8
}

#layered-filter-block .button-list {
    margin-top: 20px;
    display: inline-block;
    width: 100%;
}

#layered-filter-block .button-list .action.primary {
    margin-top: 5px;
    width: 46%;
}

#layered-filter-block .button-list .show-button {
    margin-right: 15px;
}

.filter-options-content .items {
    max-height: 300px;
    overflow: auto;
}

.action.primary.clear-button {
    background: #F2F2F2;
    color: #7F7F7F;
    border-color: #DADADA;
}

.action.primary.clear-button:hover {
    border: 1px solid #999;
    color: #333;
}

.filter-options-item.active .filter-options-content {
    display: block;
}

.filter-options-item .filter-options-content {
    display: none;
}

.filter-options .filter-options-content {
    margin: 0 !important;
}

.active > .filter-options-title:after {
    content: '' !important;
}

.filter-options-title:after {
    content: '' !important;
}
