/*
	Theme Name: Showcase Pro
	Description: This is the wsdm css add-ins.
	Author: Patricia Barry
	Author URI: https://graphics4good.com
	Version: 2.0
	Template: Genesis
	Template Version: 2.0

*/


.subcategory-listing {
    display: flex;
    flex-wrap: wrap;
}

.subcat-item {
    width: calc(25% - 30px);
    padding: 10px;
    border: 1px solid;
    margin: 15px;
}

.subcat-item h2 {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.1em;
    padding: .5em 1.25em;
    color: #000000;
    font-weight: 600;
}

body.tax-product_cat.woocommerce ul.products li.product, body.tax-product_cat.woocommerce-page ul.products li.product {
    height: auto !important;
}
/* Media query started */
@media only screen and (min-width: 320px) and (max-width: 500px) {
    body button.menu-toggle {
        display: inline-block;
        float: none;
        position: absolute;
        right: 50px;
    }
	
	 body .toggle-header-search {
        display: inline-block;
        position: absolute;
        top: 0;
        right: 30px;
        padding: 17px 9px;
    }
}
	
@media only screen and (min-width: 501px) and (max-width: 1104px) {
    body button.menu-toggle {
		display: inline-block;
        float: none;
        position: absolute;
        right: 70px;		
    }
	
	body .toggle-header-search {
        display: inline-block;
        position: absolute;
        top: 0;
        right: 40px;
        padding: 17px 9px;
    }
}

@media only screen and (max-width: 1104px) {
	  .nav-search {
        display: block !important;
    }

    .nav-primary {
        text-align: left !important;
    }
	
	
}

@media only screen and (min-width: 1105px) {
	body .toggle-header-search {
        padding: 2rem 0;
    }	
}

@media only screen and (min-width: 1105px) and (max-width: 1200px) {
	.nav-primary {
        text-align: center !important;
    }	
}


@media screen and (max-width: 767px) {
    .subcat-item {
        width: calc(50% - 30px);
    }
}

@media screen and (max-width: 450px) {
    .subcat-item {
        width: 100%;
        margin: 0 0 20px;
    }
}

/* Styling Checkbox */

/* Setting up stage */
ul.woof_childs_list li{
    display: block;
    position: relative;
    padding-left: 25px !important;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hidding default checkbox */
input.woof_checkbox_term {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Checkmarks default positioning */
.wisdm_checkmark {
    position: absolute;
    top: 8px;
    left: 8px;
    height: 15px;
    width: 15px;
    background-color: #ccc;
}

/* inactive checkbox background color */
ul.woof_childs_list li:hover input.woof_checkbox_term ~ label .wisdm_checkmark {
    background-color: #ccc;
}

/* active checkbox background color */
ul.woof_childs_list li input.woof_checkbox_term:checked ~ label .wisdm_checkmark {
    background-color: #5cc0c4;
}

/* hidding checkmark when unchecked */
.wisdm_checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* displaying checkmark when checked */
input.woof_checkbox_term:checked ~ label .wisdm_checkmark:after {
    display: block;
}

/* managing check mark */
.wisdm_checkmark:after {
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Checkbox styling ends here*/