/* TODO: setup gulp build and use SASS */

.product-categories,
.wc-filter,
.taxonomies__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wc-filter .term label {
    display: inline-block;
    cursor: pointer;
}

/**
 * Nick's Styles
 */

.taxonomy { padding-top: 2.4rem; }
.taxonomies { position: relative; }


.taxonomies-lg .taxonomies__list {
    opacity: 0;
    max-height: 200px;
    overflow-y: hidden;
	transition: all 0.3s ease;
}

/* .taxonomies-lg .taxonomies__list .taxonomies__list__item:nth-child(n + 11) {
    opacity: 0;
    
    
}
 */
.taxonomies__list__item { margin-bottom: 1.6rem; }

.taxonomies-lg .taxonomies__list,
.taxonomies__list,
.taxonomy-list-expander {
    display: none;
}

.taxonomies-lg .taxonomies__list.isOpen {
    opacity: 1;
    transition: opacity 0.3s ease;
    transition: max-height 0.3s ease;
}
/*
.taxonomies-lg .taxonomies__list.isExpanded {
    transition: all 0.3s ease;
} */

.taxonomy-list-expander.open { display: block; }

.taxonomies__list__item {
    opacity: 0;
    transition: all .3s linear;
}

.taxonomies__list__item.open {
    opacity: 1;
    transition: all .4s linear;
}

.filter-toggle {
    margin-top: 1rem;
    margin-bottom: 2rem;
    list-style-type: none;
}

.filter-toggle__item {
    padding-left: 0;
    padding-right: 0;
}

.filters {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    visibility: collapse;
    z-index: 999;
    overflow-y: hidden;
    background-color: #fff;
    transition: all .4s ease;
}

.filters-open {
    padding-top: 1rem;
    padding-bottom: 5.6rem;
    overflow-y: scroll;
    height: 100%;
    visibility: visible;
}

.filter {
    width: 90%;
    max-width: 420px;
    margin-top: 6.4rem;
    margin-left: auto;
    margin-right: auto;
}

.filter-toggle__btn-apply {
    display: none;
    opacity: 0;
    transition: opacity .3s ease;
}

.filter-toggle__btn-apply-visible {
    opacity: 1;
    transition: opacity .3s ease;
}

.filter-open .filter-toggle {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4rem;
    margin-top: 0;
    margin-bottom: 0;
    padding: 1rem 2rem;
    z-index: 21;
    background-color: #fff;
}

.filter__btn-clear,
.filter__btn-close,
.filter__btn-apply {
    display: none;
    opacity: 0;
    transition: all .4s ease;
    position: fixed;
    z-index: 999;
    top: 0;
    width: 50%;
    border-radius: 0;
}

.filter__btn-clear {
    left: 0;
    background-color: #fff;
    border: 1px solid #ccc;
}

.filter__btn-close,
.filter__btn-apply {
    right: 0;
}

.filter-open .filter__btn-clear,
.filter-open .filter__btn-close,
.filter-open .filter__btn-apply {
    opacity: 1;
    transition: all .4s ease;
}

.filter-checkbox-container {
    display: block;
    position: absolute;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    right: 0;
}

/* Hide the browser's default checkbox */
.filter-checkbox-container input[type="checkbox"] {
    position: absolute;
    left: 0;
    opacity: 0;
    top: 0;
    height: 24px;
    width:  24px;
    cursor: pointer;
    z-index: 99;
}

/* Create a custom checkbox */
.filter-checkbox-container .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    height: 24px;
    width: 24px;
    background-color: #eee;
}

/* When the checkbox is checked, add a blue background */
.filter-checkbox-container input:checked ~ .checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.filter-checkbox-container .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.filter-checkbox-container input:checked ~ .checkmark:after {
    display: inline-block;
}

/* Style the checkmark/indicator */
.filter-checkbox-container .checkmark:after {
    font-family: FontAwesome;
    top: -0.1rem;
    padding-left: 0.3rem;
    content: '\f00c';
}

.filter-header .filter__clear { background: none; }

.term-expanders {
    font-size: 2rem;
    padding-right: 1.4rem;
}

.term-expanders .fa-minus { display: none; }
.term-expander-btn { cursor: pointer; }
/*refine styles*/

#refine-icon {
    color: #20b4e2;
}
a.ga-refine {
    display: flex;
    padding-bottom: 5%;
}
ul.refine-by {
    margin: unset;
}
/*.refine-results,.refine-results:hover{
    background: none;
  
}
.refine-links:hover{
    cursor:pointer;
}
.refine-results:after{
   content:'';
  
}
*/
/* .ga-refine {
    
    border-radius: 4px; */
    /*padding: .21429rem .5rem .21429rem .71429rem;*/
/*     font-size: 1.3rem;
    text-decoration: none;
}
.ga-refine i.fa.fa-times-circle{
    font-size:smaller;
    display:inline;
} */
/*End of refine styles*/
/*categories expansion styles*/
.category-expander-btn{
    display: flex;flex-direction: row; justify-content: space-between;cursor: pointer;
}
#plus-minus{
    font-size:2rem;
    
}
.categoryList{
    display: none;
}
li.all-categories {
    margin-top: unset!important;
}
li.all-categories a {
 color: #0a3039!important;
    
}
@media screen and (min-width: 48em){
.archive.woocommerce .product-categories {
    padding-left: unset;
}
}
@media screen and (max-width: 767px){/*for mobiles*/
    #plus-minus{
        padding-right: 1.4rem;
    }
    
    }
/*End of Category Expansion Styles*/

@media screen and (min-width: 768px) {
    .filter__btn-clear,
    .filter__btn-close,
    .filter-toggle {
        display: none !important; /* Need to override inline js */
    }

    .filters { 
        display: block !important; 
        margin-bottom: 2.4rem;
    } /* Need to override inline js */

    .filter,
    .filters {
        position: static;
        background: none;
        height: auto;
        visibility: visible;
        overflow: visible;
    }

    .filter-checkbox-container { right: -8px; }
    .term-expanders { padding-right: 0.7rem; }
}
