/* Styles specific to the category page */
.category-landing .content {
    overflow: visible;
}
.sub-category-list-grid ul {
    text-align: center;
}
.sub-cat-name,
.sub-cat-description,
.sub-cat-link {
    display: block;
    margin-top: 15px;
}
.sub-cat-name {
    color: #8ebae5;
    display: block;
    font-size: 25px;
    line-height: 28px;
}
.sub-cat-description {
    font-size: 16px;
}
.sub-cat-description:empty {
    margin: 0;
}
.sub-cat-link {
    display: block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}
.sub-cat-link .glyphicon {
    color: #4184c8;
    font-size: 12px;
    height: 12px;
    overflow: hidden;
    width: 12px;
}
.SortBox,
.SearchSorting {
    float: right;
    font-size: 16px;
}
.SortBox label,
.SearchSorting label,
.pagination-item--label label {
    color: #99bde5;
    font-size: 16px;
    font-weight: 400;
    padding-top: 7px;
    text-transform: capitalize;
}
div.selector {
    border: none;
}
div.selector span {
    padding-right: 5px !important;
}
.TitleHeading{
    margin-bottom: 20px;
}
.product-nav {
    text-align: center;
    margin-bottom: 10px;
}
.faceted-search .product-nav .js-faceted-search-column {
    float: left;
    padding: 8px 0 0;
}
.inner #CategoryPagingTop {
    display: inline-block !important;
    float: none;
    margin: auto;
    padding-top: 7px;
    vertical-align: top;
}
.pagination > li {
    display: inline-block;
    float: none;
    vertical-align: top;
}
.pagination-item--label label {
    padding: 0;
}
.pagination > li > a {
    background: #fff;
    border: 2px solid #c6def8;
    border-radius: 50%;
    color: #4184c8;
    font-size: 12px;
    font-weight: 700;
    height: 24px;
    padding: 2px 0 0;
    text-align: center;
    width: 24px;
}
.pagination > .active > a,
.js-paging-list > .active {
    background: #4184c8;
    border: 2px solid #4184c8;
    color: #fff;
    padding-top: 2px;
}
.CategoryPagination .pagination li,
.pagination > li {
    padding: 0 3px;
}
.CategoryPagination .pagination .active,
.js-paging-list > .active {
    margin: 0 2px;
}
.CategoryPagination .pagination .active {
    padding-top: 2px;
}
.pagination > li:first-of-type {
    padding: 0;
}
.pagination>li:last-child>a,
.pagination>li:last-child>span {
    border-radius: 0;
}
.pagination > .pagination-arrow {
    padding-left: 0;
    padding-right: 0;
}
.pagination > .pagination-arrow > a {
    color: #c9d3db;
    font-size: 15px;
}
.pagination > .pagination-arrow > a {
    background: #fff;
    border-color: #fff;
}
.Content .ProductList .ProductImage {
    background: none;
}
.product-list-item--custom-field {
    display: none;
    font-size: 18px;
}
.content .ProductList {
    padding: 0 20px;
    text-align: center;
}

@media only screen and (max-width: 925px) {
    .SubCategoryListGrid > ul li {
        margin: 0 0 3% 1%;
    }
    .sub-cat-name {
        font-size: 21px;
        line-height: 24px;
    }
    .sub-cat-description {
        font-size: 14px;
    }
    .sub-cat-name,
    .sub-cat-description,
    .sub-cat-link {
        margin-top: 10px;
    }
    .ProductList {
        text-align: center;
    }
}
@media only screen and (max-width: 900px) {
    .ProductList li {
        width: 33%;
    }
}
@media only screen and (max-width: 767px) {
    .SubCategoryListGrid > ul li {
        width: 49%;
    }
    .SubCategoryListGrid > ul li,
    .SubCategoryListGrid > ul li:nth-child(3n+1) {
        margin: 0 0 3% 1%;
    }
    .SubCategoryListGrid > ul li:nth-child(2n+1) {
        margin-left: 0;
    }
    .content .ProductList {
        padding: 0 40px;
    }
    .ProductList li:hover {
        border-color: #fff;
    }
}
@media screen and (max-width: 657px) {
    .SortBox,
    .SearchSorting {
        clear: both;
        float: left;
    }
}
@media only screen and (max-width: 550px) {
    .ProductList li {
        width: 49%;
    }
}
@media only screen and (max-width: 470px) {
    .SubCategoryListGrid > ul li {
        clear: both;
        float: left;
        width: 100%;
    }
    .SubCategoryListGrid > ul li,
    .SubCategoryListGrid > ul li:nth-child(3n+1),
    .SubCategoryListGrid > ul li:nth-child(2n+1) {
        margin: 1% 0;
    }
    .content .ProductList {
        padding: 0;
        position: relative;
    }
    .content .ProductList:before {
        background: #c6def8;
        content: '';
        height: 100%;
        left: 0;
        margin: auto;
        position: absolute;
        top: 0;
        right: 0;
        width: 1px;
    }
    .ProductList li {
        display: block !important;
        float: left;
        height: auto !important;
        min-height: initial !important;
        width: 50%;
    }
    .ProductList .product-list-item__shop-all {
        margin-left: -1px;
        position: relative;
    }
    .ProductList .Odd {
        clear: both;
    }
}

/* FACETED SEARCH - HORIZONTAL */
.faceted-search--horizontal {
    float: left;
    margin: 0 0 5px;
    padding: 0 0 0;
    position: relative;
    z-index: 10;
}
.faceted-search--horizontal .filter-by {
    display: none;
    margin-top: 3px;
    vertical-align: top;
}
.faceted-search .js-faceted-search-column {
    display: inline-block;
    float: none;
    padding: 0;
    vertical-align: middle;
    width: auto;
}
.faceted-search .js-facet-wrapper {
    display: inline-block;
    float: none;
    margin: 0;
    position: relative;
    width: auto;
}
.js-faceted-showing-container {
    display: none;
}
.faceted-search .facet-container {
    float: left;
    opacity: 1;
    text-transform: capitalize;
    width: 100%;
    margin-left: 5px;
}
.faceted-search .js-facet-wrapper .facet-header.js-facet-accordion-action {
    color: #4184c8;
    float: left;
    padding: 3px 20px 3px 0;
    width: auto;
    min-width: 200px;
    border-bottom: 1px solid #c6def8;
    text-align: left;

}
.faceted-search .facet-container .facet-header.js-facet-accordion-action:after {
    content: '\e259';
    font-family: 'Glyphicons Halflings';
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    top: 4px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.faceted-search .facet-header .facet-header-title {
    background: none;
    color: #262626;
    font-size: 16px !important;
    font-weight: 400;
    padding: 0;
    text-transform: capitalize;
}
.faceted-search .facet-container .facet-body {
    background: #fff;
    border: none;
    float: left;
    font-size: 14px;
    position: absolute;
    top: 100%;
    width: auto;
    z-index: 10;
    margin-top: -1px;
    transition: box-shadow 0.2s ease, background 0.2s ease;
    background: #f9f9f9;
    box-shadow: 0 0 2px 2px rgba(0,0,0,.15);
}
.faceted-search .facet-container.open .facet-body {
    max-height: none;
}
.faceted-search ul.facet-options-list {
    float: left;
    margin: 0;
    padding: 10px;
    width: 100%;
}
.faceted-search ul.facet-options-list:empty {
    padding: 0;
}
.faceted-search ul.facet-options-list .facet-option {
    clear: none;
    float: left;
    padding: 8px 5px;
    width: 100%;
    text-align: left;
    white-space: nowrap;
}
.facet-container .facet-option * {
    margin: 0;
}
.facet-header .js-facet-clear,
.facet-option.selected:hover label:after,
.facet-option.selected:hover a:after{
    display: none !important;
}
.faceted-search ul.facet-options-list .facet-option label {
    display: inline-block;
    float: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 13px;
    padding: 0 0 0 4px;
    vertical-align: top;
    width: calc(100% - 18px);
    padding: 0px;
}
.faceted-search ul.facet-options-list .facet-option label input{
    top: 2px;
    position: relative;
}
.facet-container .facet-option .facet-option-product-count {
    font-size: 13px;
}
.faceted-search .js-facet-more-options button {
    background: #f4f4f4;
    margin: 5px 0 0;
    padding: 3px 15px;
    text-align: right;
}
.facet-container .facet-body .facet-form {
    padding: 10px;
}
@media screen and (max-width: 1180px) {
    .faceted-search .facet-container .facet-body {
        width: 350px;
    }
    .faceted-search ul.facet-options-list .facet-option {
        width: 50%;
    }
}
@media screen and (max-width: 1040px) {
    .faceted-search .facet-container .facet-body {
        width: 250px;
    }
}
@media screen and (max-width: 800px) {
    .faceted-search--horizontal .filter-by {
        margin: 0 0 0 10px;
    }
    .faceted-search .js-facet-wrapper {
        margin: 5px 0;
        padding: 0 10px 0 0;
    }
    .faceted-search .facet-wrapper--in-view .facet-body {
        right: 0;
    }
    .faceted-search .js-facet-wrapper .facet-header.js-facet-accordion-action {
        text-align: left;
    }
}
@media only screen and (min-width: 768px) {
    .sub-cat-name:hover {
        color: #494949;
    }
    .js-paging-list > .active {
        background: #fff;
        border: 2px solid #c6def8;
        border-radius: 50%;
        color: #4184c8;
        font-size: 12px;
        font-weight: 700;
        height: 24px;
        padding: 2px 0 0;
        text-align: center;
        width: 24px;
    }
    .pagination > .active > a:focus,
    .pagination > .active > a:hover,
    .pagination > li > a:hover,
    .pagination > li > a:focus {
        background: #4184c8;
        border: 2px solid #4184c8;
        color: #fff;
        padding-top: 2px;
    }
    .pagination > .pagination-arrow > a:hover,
    .pagination > .pagination-arrow > a:focus {
        background: #fff;
        border-color: #fff;
    }
    .pagination .pagination-arrow > a:hover,
    .pagination .pagination-arrow > a:focus {
        color: #4184c8;
    }
}
@media screen and (max-width: 768px) {
    .faceted-search--horizontal .js-faceted-search-action {
        display: none;
    }
    .faceted-search--horizontal .js-faceted-search-container {
        margin: 0;
    }
}
@media screen and (max-width: 657px) {
    .js-faceted-search-column {
        display: block !important;
    }
    .faceted-search--horizontal {
        clear: both;
        padding: 0;
        width: 100%;
    }
}
@media screen and (max-width: 560px) {
    .faceted-search .facet-container .facet-body,
    .faceted-search ul.facet-options-list .facet-option {
        width: 100%;
    }
}
@media screen and (max-width: 400px) {
    .faceted-search .js-facet-wrapper {
        width: 100%;
    }
}
