/* Custom checkbox */
.custom-checkbox {
  position: relative;
  margin-left: 15px;
}

.custom-checkbox:hover {
  cursor: pointer;
}

.custom-checkbox input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 18px;
  width: 18px;
  border: 2px solid #979797;
  border-radius: 3px;
}

.custom-checkbox:hover input~.checkmark {
  background-color: #fff;
}

.custom-checkbox input:checked~.checkmark {
  background-color: #fff;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input:checked~.checkmark:after {
  display: block;
}

.custom-checkbox .checkmark:after {
  left: 6px;
  top: 1px;
  width: 5px;
  height: 11px;
  border: solid #d46027;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* End custom checkbox */

/* Start Custom Radio */

[type="radio"]:checked,
[type="radio"]:not(:checked) {
	position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.filter-content .option .custom-radio  {
	margin-left: 0;
	position: relative;
	bottom: 11px;
}

.radio {
	cursor: pointer;
}

[type="radio"]:checked+.radio:before,
[type="radio"]:not(:checked)+.radio:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 22px;
	height: 22px;
	border-radius: 100%;
	border: 2px solid #aaa8a3;
}

label [type="radio"]:focus:before {
    border: solid #000 1px;
}

[type="radio"]:checked+.radio:after,
[type="radio"]:not(:checked)+.radio:after {
	content: '';
	width: 10px;
	height: 10px;
	background: #e45600;
	position: absolute;
	top: 8px;
	left: 8px;
	border-radius: 100%;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

[type="radio"]:not(:checked)+.radio:after {
	opacity: 0;
	-webkit-transform: scale(0);
	transform: scale(0);
}

[type="radio"]:checked+.radio:after {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

/* END Custom Radio*/

.filter-panel {
  background-color: #fff;
  width: 520px;
}

.filter-panel .filter-panel-headline {
  width: 77%;
  color: #101010;
  position: relative;
  font-size: 36px;
  padding: 25px 20px;
  font-weight: 600;
  border-radius: 10px;
  margin-top: 30px;
}

.filter-panel .filter-panel-headline .plus,
.filter-panel .filter-panel-headline .minus {
  position: absolute;
  right: 25px;
  top: 25px;
  display: none;
  color: #d46027;
  cursor: pointer;
}

.filter-panel .filter-panel-headline .plus.showing,
.filter-panel .filter-panel-headline .minus.showing {
  display: block;
}

.filter-content {
  transform: translateX(-100%);
  position: relative;
  border-right: 1px solid #E1E2E3;
  left: 0;
  top: 0;
  bottom: 0;
  width:100%;
  height: 100%;
  transition: .5s all;
  background-color: #fff;
  display: none;
}

.filter-content-inner {
  overflow: auto;
  max-height: 100%;
  -ms-overflow-style: none; 
  scrollbar-width: none;
}

.filter-content-inner::-webkit-scrollbar {
  display: none;
}

.filters.active .filter-content {
  transform: translateX(0%);
  display: block;
}

.filter-content::-webkit-scrollbar {
  display: none;
}

.filter-content .expand-icon {
  cursor: pointer;
}

.filter-content .results-number {
  margin-left: 10px;
}


@media screen and (min-width: 992px) {
  .filter-content {
    height: 100vh;
    width: 415px;
  }
}

.filters {
  order: 3;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 10004;
}

.filter-label {
  left: 0;
  width: 440px;
  transform: rotate(0deg);
  top: 20px;
  border-radius: 0;
  background-color: #d46027;
  color: #fff;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  padding: 15px 30px;
  transition: .5s all;
}

.filters.active .filter-label {
  left: 0;
}

@media screen and (min-width: 993px) {
  .filter-label {
    left: -130px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    position: absolute;
    top: 48%;
    transform: rotate(270deg);
    width: 250px;
  }
}

.filter-label:hover {
  cursor: pointer;
}

.filters.active .arrow-white-bottom,
.filters.active .arrow-white-top {
  transform: rotate(270deg);
}

.filters.active .filter-label {
  left: 285px;
}

@media screen and (min-width: 993px) and (max-width: 1100px) {
  .filter-label {
    left: -135px;
    top: 65%;
    padding: 10px 30px;
  }
  .filters.active .filter-label {
    left: 280px;
  }
}

.filter-head {
  color: #101010;
  font-size: 19px;
  font-weight: 600;
  padding: 20px;
  border-top: 1px solid #E1E2E3;
  display: flex;
  flex-flow: row;
  align-items: center;
  justify-content: space-between;
}

@media screen and (max-width: 500px) {
  .filter-head {
    font-size: 14px;
  }
}

.filter-content .option {
  display: flex;
  align-items: center;
}

.filter-content .option p {
  margin-left: 35px;
}

.filter-content .option .custom-checkbox {
  margin-left: 0;
  position: relative;
  bottom: 11px;
}

.filter-body {
  display: none;
  padding: 0 20px 20px;
}

.filter-row.active .filter-body {
  display: block;
}

.filter-head p {
  margin: 0;
}

.filter-head .info {
  position: relative;
  top: 4px;
  left: 10px;
}

.filter-body .option {
  display: flex;
  align-items: center;
}

.filter-content .expand-icon {
  width: 20px;
  height: 20px;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.filters .arrow-white-top {
  transition: .5s all;
  transform: rotate(90deg);
  margin-right: 20px;
}

.filters .arrow-white-bottom {
  transition: .5s all;
  transform: rotate(90deg);
  margin-left: 20px;
}

@media screen and (max-width: 992px) {
  .filters {
    position: relative;
    margin-top:20px;
    min-height: 50px;
  }
  .category-page .filters {
    margin-top:0;
  }
  .filters .filter-label {
    width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    top: 0;
  }
  .filters.showing {
    display: block;
  }
  .filter-content .option .custom-checkbox {
    bottom: 0;
  }
  .category-page .filter-content .option .custom-checkbox {
    margin-top: -20px;
  }
}

.filters .filter-label:hover {
  background-color: #F88146;
}

.filters .expand-icon {
  background-image: url('./../../images/icon/plus.svg');
}

.filters .filter-row.active .expand-icon {
  background-image: url('./../../images/icon/minus.svg');
}

.filters .filter-label:hover {
  background-color: #F88146;
}

#selectedFilters {
  flex-direction: row-reverse;
}

.filter-row > ul {
  margin-top: 5px;
}
.filter-row li {
  padding-top: 3px;
}
.filter-content {
  margin: 0 auto;
}

.filter-content .btn.btn-thin {
  font-size:14px;
  padding: 0 30px;
}
.filter-content ul.spacer-for-button {
  margin-bottom:30px;
}
.filterClrMsg {
  margin-left: 20px;
  margin-right: auto;
}
.filterReset {
  margin-top: -20px;
  display: block;
  text-decoration: underline;
  font-weight: 600;
}
.pad-same-as-title {
  padding-left: 20px;
}
select:focus, select:focus option, input:focus,input:focus ~ .checkmark {
    border: 1px solid #000000;
}
/*To make these show up on desktop as a sidebar instead of floating */
.filters .filter-content .filter-title {
  display:none;
  font-size: 16px;
  font-weight: 700;
  padding: 20px 20px 10px 20px;
  margin-top: 0;
}
.main-listing-area .filters .filter-content .filter-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
}
.main-listing-area .filters {
  position: sticky;
  z-index: 0;
  top: 25px;
}
.main-listing-area .filters .filter-content {
  display: block;
  transform:unset;
  height:unset;
  width: 100%;
  border-radius: 15px;
}
.main-listing-area .filters .filter-label {
  display: none;
}

@media screen and (max-height: 750px) {
  .main-listing-area .main-listing-area-left .filter-head {
    padding: 15px;
  }
}
@media screen and (max-height: 450px) {
  .main-listing-area .main-listing-area-left .filter-head {
    padding: 10px;
  }
}

.main-listing-area .main-listing-area-left {
  display: none;
}
@media screen and (min-width: 1201px) {
  .products-container:not(.dont-hide-filters) > .filters,
  .category-page__container > .filters {
    display: none;
  }
  .main-listing-area {
    display: flex;
  }
  .main-listing-area .main-listing-area-left {
    display: block;
    width: 21%;
    margin-top: 40px;
    flex-shrink: 0;
    margin-right: 30px;
    border-radius: 15px;
  }
  .category-page__container .main-listing-area .main-listing-area-left {
    margin-top: 10px;
  }
  .category-page__container .main-listing-area .main-listing-area-right {
    width: 100%;
  }
  .category-page__container .main-listing-area .main-listing-area-right .main-products-list-container{
    padding-left: 0;
    padding-right: 0;
  }
  /*match padding right 0 on product-row and on both types of pages on left half the left margin*/
  .main-listing-area .main-listing-area-left .field-name {
    width: -moz-min-content;
    width: -webkit-min-content;
    width: min-content;
  }
  .main-listing-area .main-listing-area-left .filter-head {
    font-size: 14px;
    white-space: nowrap;
  }
  .main-listing-area .main-listing-area-right .product-row .text{
    font-size:14px;
  }
  .main-listing-area .main-listing-area-right .product-row h2.title {
    font-size: 30px;
    line-height: 40px;
  }
  .main-listing-area .main-listing-area-right .product-row .subtitle {
    font-size: 16px;
  }
  .main-listing-area .main-listing-area-right .product-row .specifications,
  .main-listing-area .main-listing-area-right .product-row p.check {
    font-size: 14px;
  }
  .main-listing-area .main-listing-area-right .product-row .colors-pallete {
    margin-top:35px;
  }
  .main-listing-area .main-listing-area-right .product-row .colors-pallete .circle {
    width: 30px;
    height: 30px;
  }
  .main-listing-area .main-listing-area-right .more-content {
    width: calc(100% - 100px);
    min-width: calc(100% - 100px);
    margin: 0 auto;
  }
  .main-listing-area .main-listing-area-right .more-content h5,
  .main-listing-area .main-listing-area-right .more-content p {
    font-size: 14px;
  }
}
/*End floating desktop sidebar madness*/