.category-wrapper {
    margin: 0 0 129px;
}

.category-wrapper > tbody > tr > td:nth-of-type(2) {
    padding-right: 36px;
    vertical-align: top;
    width: 348px;
}

.category-wrapper .search-wrapper button {
    height: 40px;
    width: 40px;
    vertical-align: top;
}

.category-wrapper .search-wrapper button::after {
    font: 400 18px/40px "FontAwesome";
}

.category-wrapper [type="checkbox"]:checked,
.category-wrapper [type="checkbox"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

.category-wrapper [type="checkbox"]:checked + label,
.category-wrapper [type="checkbox"]:not(:checked) + label
{
    color: rgb(20, 20, 20);
    cursor: pointer;
    font: 400 14px/18px "opensans", sans-serif;
    line-height: 20px;
    padding-left: 35px;
    position: relative;
}

.category-wrapper [type="checkbox"]:checked + label span,
.category-wrapper [type="checkbox"]:not(:checked) + label span
{
    color: rgb(18, 91, 140);
}

.category-wrapper [type="checkbox"]:checked + label:before,
.category-wrapper [type="checkbox"]:not(:checked) + label:before {
    background: rgb(255, 255, 255);
    border: 1px solid rgb(180, 181, 181);
    content: '';
    height: 20px;
    left: 0;
    position: absolute;
    top: 0;
    width: 20px;
}

.category-wrapper [type="checkbox"]:checked + label:after,
.category-wrapper [type="checkbox"]:not(:checked) + label:after {
    background: rgb(255, 255, 255);
    color: rgb(135, 171, 60);
    content: '\f00c';
    font-family: "FontAwesome";
    font-size: 19px;
    height: 18px;
    left: 1px;
    position: absolute;
    top: 1px;
    transition: opacity .3s ease 0s, transform .3s ease 0s;
    width: 18px;
}

.category-wrapper [type="checkbox"]:not(:checked) + label:after {
    opacity: 0;
    transform: scale(0);
}

.category-wrapper [type="checkbox"]:checked + label:after {
    opacity: 1;
    transform: scale(1);
}

.category-wrapper > tbody > tr > td:nth-of-type(3) {
    vertical-align: top;
    width: 1151px;
}

.category-wrapper .search-wrapper input {
    border: 1px solid rgb(182, 182, 182);
    border-right: 0;    
    color: rgb(162, 162, 162);
    font: 400 14px/14px "opensans", sans-serif;
    height: 40px;
    width: calc(100% - 45px);
}

.category-wrapper .search-wrapper input::-webkit-input-placeholder {
    font: 400 14px/14px "opensans", sans-serif;
}

.category-wrapper .search-wrapper input:-moz-placeholder {
    font: 400 14px/44px "opensans", sans-serif;
}

.category-wrapper .search-wrapper input::-moz-placeholder {
    font: 400 14px/44px "opensans", sans-serif;
    opacity: 1;
}

.category-wrapper .search-wrapper input:-ms-input-placeholder {
    font: 400 14px/14px "opensans", sans-serif;
}

.category-wrapper .panel {
    background: rgb(246, 246, 246);
    padding: 0 11px 25px;
}

.category-wrapper .panel h4 {
    background: rgb(208, 226, 238);
    color: rgb(18, 91, 140);
    font: 400 18px/14px "opensans-semibold", sans-serif;
    margin: 0 -11px 15px;
    padding: 12px 11px;
    text-transform: uppercase;
}

.category-wrapper .panel > div {
    margin: 0 0 14px;
}

.category-wrapper .panel > div:last-of-type {
    margin: 0;
}

.category-wrapper .panel a,
.category-wrapper .panel a:link,
.category-wrapper .panel a:focus,
.category-wrapper .panel a:visited,
.category-wrapper .panel a:active {
    color: rgb(20, 20, 20);
    display: block;
    font: 400 14px/18px "opensans-semibold", sans-serif;
    margin: 0 0 18px;
    position: relative;
    text-transform: uppercase;
}

.category-wrapper .panel a:last-of-type,
.category-wrapper .panel a:link:last-of-type,
.category-wrapper .panel a:focus:last-of-type,
.category-wrapper .panel a:visited:last-of-type,
.category-wrapper .panel a:active:last-of-type {
    margin: 0;
}

.category-wrapper .panel a:hover {
    color: rgb(135, 171, 60);
}

.category-wrapper .panel a::after {
    background: rgb(135, 171, 60);
    bottom: 0;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    transition: width .3s ease 0s;
    width: 0%;
}

.category-wrapper .panel a:hover::after {
    width: 100%;
}

.category-wrapper .panel a span,
.category-wrapper .panel a:link span,
.category-wrapper .panel a:focus span,
.category-wrapper .panel a:visited span,
.category-wrapper .panel a:active span {
    color: rgb(18, 91, 140);
    transition: color .3s ease 0s;
}

.category-wrapper .panel a:hover span {
    color: rgb(135, 171, 60);
}

.category-products {
    margin: 48px 0 0;
}

.category-products a,
.category-products a:link,
.category-products a:focus,
.category-products a:visited,
.category-products a:active {
    display: inline-block;
    margin-bottom: 50px;
    margin-right: 4%;
    text-align: center;
    vertical-align: top;
    width: 30%;
}

.category-products a:nth-of-type(3n),
.category-products a:nth-of-type(3n):link,
.category-products a:nth-of-type(3n):focus,
.category-products a:nth-of-type(3n):visited,
.category-products a:nth-of-type(3n):active {
    margin-right: 0;
}

.category-products a img {
    border: 1px solid rgb(180, 181, 181);
    display: block;
    margin: 0 auto;
    transition: border-color .3s ease 0s, border-width .3s ease 0s;
    width: 100%;
}

.category-products a span:first-of-type {
    color: rgb(18, 91, 140);
    display: block;
    font: 400 20px/28px "opensans", sans-serif;
    margin: 18px 0;
    transition: color .3s ease 0s;
}

.category-products a span:last-of-type {
    background: rgb(239, 130, 36);
    color: rgb(255, 255, 255);
    display: inline-block;
    font: 400 16px/28px "opensans-semibold", sans-serif;
    padding: 10px 37px;
    text-transform: uppercase;
    transition: background .3s ease 0s;
}

.category-products a:hover img {
    border: 2px solid rgb(135, 171, 60);
}

.category-products a:hover span:first-of-type {
    /*color: rgb(135, 171, 60);*/
}

.category-products a:hover span:last-of-type {
    background: rgb(135, 171, 60);
}

.filter-btn {
    display: none;
}

.filter-btn {
    background: rgb(239, 130, 36);
    border: 0;
    color: rgb(255, 255, 255);
    padding: 8px 13px;
    position: relative;
    text-transform: uppercase;
}

.filter-btn:hover {
    background: rgb(135, 171, 60);
}

.filter-btn::after {
    content: "\f0b0 \f106";
    margin-left: 5px;
    font-family: "FontAwesome";
    font-size: 14px;
}

.filter-btn.active::after {
    content: "\f0b0 \f107";
    font-family: "FontAwesome";
}

.filter-table {
    background: rgb(246, 246, 246);
}

.filter-sortby-wrapper {
	display: inline;
}

@media screen and (max-width: 1500px) {
    .category-wrapper {
        margin: 0 auto 129px;
        width: 95%;
    }

    .category-wrapper > tbody > tr > td:nth-of-type(2) {
        padding-right: 36px;
        width: 25%;
    }

    .category-wrapper > tbody > tr > td:nth-of-type(3) {
        width: 74%;
    }
}

@media screen and (max-width: 1250px) {
    .category-wrapper [type="checkbox"]:checked + label, 
    .category-wrapper [type="checkbox"]:not(:checked) + label {
        font: 400 13px/13px "opensans", sans-serif;
        padding-left: 27px;
    }

    .category-wrapper .panel a, 
    .category-wrapper .panel a:link, 
    .category-wrapper .panel a:focus, 
    .category-wrapper .panel a:visited, 
    .category-wrapper .panel a:active {
        font: 400 12px/12px "opensans-semibold", sans-serif;
    }
}

@media screen and (max-width: 1100px) {
    .category-wrapper [type="checkbox"]:checked + label, 
    .category-wrapper [type="checkbox"]:not(:checked) + label {
        font: 400 13px/17px "opensans", sans-serif;
        display: block;
    }

    .category-wrapper .panel h4 {
        font: 400 14px/20px "opensans-semibold", sans-serif;
    }
}

@media screen and (max-width: 1000px) {
    
    .category-wrapper > tbody > tr > td:first-of-type,
    .category-wrapper > tbody > tr > td:last-of-type {
        display: none;
    }

    .category-wrapper > tbody > tr > td:nth-of-type(2),
    .category-wrapper > tbody > tr > td:nth-of-type(3) {
        display: block;
        width: 100%;
    }

    .category-wrapper > tbody > tr > td:nth-of-type(2) {
        padding-right: 0;
    }
    
    .category-wrapper .panel {
        width: 100%;
        margin: 0 auto;
    }
    
    .category-wrapper .panel:nth-of-type(2),
    .category-wrapper .panel:nth-of-type(3) {
        display: inline-block;
        width: calc(50% - 2px);
        vertical-align: top;
    }
    
    .filter-table  {
        display: none;
    }
    
    .filter-table.active {
        display: block;
        margin-bottom: 40px;
    }
    
    .filter-btn {
        display: inline-block;
        margin-top: 10px;
    }
}

@media screen and (max-width: 600px) {
    
	.filter-sortby-wrapper {
	display: block;
	}
	
    .category-products a:nth-of-type(3n), .category-products a:nth-of-type(3n):link, .category-products a:nth-of-type(3n):focus, .category-products a:nth-of-type(3n):visited, .category-products a:nth-of-type(3n):active {
        margin-right: 20px;
    }

    .category-products a:nth-of-type(2n), .category-products a:nth-of-type(2n):link, .category-products a:nth-of-type(2n):focus, .category-products a:nth-of-type(2n):visited, .category-products a:nth-of-type(2n):active {
        margin-right: 0;
    }

    .category-products a, .category-products a:link, .category-products a:focus, .category-products a:visited, .category-products a:active {
        margin-right: 20px;
        width: calc(50% - 12px);
    }
    
    .category-wrapper .panel {
        width: 100%;
    }
    
    .category-wrapper .panel:nth-of-type(2),
    .category-wrapper .panel:nth-of-type(3) {
        display: block;
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    
    .category-products a, .category-products a:link, .category-products a:focus, .category-products a:visited, .category-products a:active {
        margin-right: 0;
        width: 100%;
    }
}