/*
	Modal - Off-Canvas Panel for filter
*/

/* news bottom modal button */
#filter-btn {
	position: relative;
	z-index: 4;
	cursor: pointer;
	
	/* float: left;
	outline: 0;
	border: 0; */
}

.filter-btn-wrapper button {
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	background-color: transparent !important;
	/* padding: 10px 10px 10px 42px; */
	margin: 0;
	cursor: pointer;
	z-index: 1;
	position: relative;
	box-shadow: 0px 3px 6px #00000029;
	text-align: left;
}

/* The Modal (background) */
.filter-modal {
	position: fixed;
	z-index: 15;
	left: -100%;
	top: 0;
	width: 100%;
	height: 100%;
	/* overflow: auto; */
	/* background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4); */
	opacity: 0;
	transition: left 0.5s, opacity 0.5s;
}

.filter-modal.filter-show {
	left: 0;
	opacity: 1;
}

/* Modal Content/Box */
.filter-modal-content {
	position: relative;
	background-color: #ffffff;
	margin: auto;
	padding: 0;
	width: 80%;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	max-width: 305px;
	float: left;
}

/* to make it full height */
.filter-modal-content {
	height: 100%;
	min-height: 100%;
	overflow-y: scroll;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: column;
	flex-direction: column;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.filter-modal-content::-webkit-scrollbar {
	display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.filter-modal-content {
	-ms-overflow-style: none; 	/* IE and Edge */
	scrollbar-width: thin; 		/* Firefox */
}

/* The Close Button */
.filter-modal-close {
	float: right;
	font-size: 35px;
	margin: 10px 15px 0 0;
	transition: .3s ease-in-out all;
	cursor: pointer;
	color: #4d4c4c;
}

.filter-modal-close:hover, .filter-modal-close:focus {
	color: #4d4c4c;
	text-decoration: none;
	cursor: pointer;
}

/* Modal Header */
.filter-modal-header {
	color: white;
}

.filter-modal-header h5 {
	display: none;
}


/* Modal Body */
.filter-wrapper {
	/* padding: 10px 42px 10px 42px; */
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
}

.filter-items img {
	max-width: 220px;
}

/* Modal Footer */
.filter-modal-footer {
	cursor: pointer;
	padding: 0px 0px 10px 0px;
}

.filter-modal-footer h5 {
	font-family: "Stone Sans, SemiBold";
	font-weight: initial;
	font-size: 1rem;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	color: var(--dark-blue-colo);
	/* width: 165px; */
	padding: 0px 0 0px 42px;
	margin: 0;
	cursor: pointer;
	z-index: 1;
	position: relative;
	text-align: left;
	line-height: 1.2rem;
}

.filter-modal-footer .small-overlapped-theader h4 {
	position: absolute;
	left: 0 ;
	bottom: 0 !important;
	margin-left: auto !important;
	margin-right: auto !important;
	right: 0 !important;
}


/*
	Modal - Inner Content Styling
*/

/* our filter update sidebox */
.filter-wrapper {
  margin-bottom: 1rem;
  position: relative;
}

.filter-wrapper::after {
  content: '';
  width: 100%;
  height: 1px;
  background-color: #6e6e6e36;
  display: block;
}

.filter-main-header h5 {
  font-size: .93rem;
  text-transform: initial;
  font-weight: 600;
  font-family: "Stone Sans, Medium";
  cursor: pointer;
}

.filter-main-header h5::after {
  content: '';
  width: 13px;
  height: 13px;
  background-image: url('/SPSetia/media/Revamped-Library/assets/icons/arrow-down-blue.svg');
  display: block;
  position: absolute;
  right: 0;
  top: 5px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  filter: grayscale(1);
}

.filter-wrapper.is-active .filter-main-header h5::after {
  transform: rotate(180deg);
}


/* responsive */

@media (max-width: 767px) {

  /* hide for awhile */
  .filter-submit-btn-wrapper {
    opacity: 0;
    pointer-events: none;
  }

  .submenu-checkbox .submenu-label {
    font-size: .9rem !important;
  }

  .product-specs-inner-wrapper .col-4 {
    margin-right: 1rem;
  }

  .product-specs-inner-wrapper .column-parent {
    flex-direction: row !important;
  }

  .filter-modal-close {
    margin: 20px 25px 0 0;
  }

  .filter-modal-content {
    width: 100%;
    max-width: unset !important;
  }

  .filter-modal-body {
    padding: 10px 25px 10px 25px;
    order: 1;
  }

  .filter-modal-footer {
    padding: 30px 0px 10px 0px;
  }

  .filter-modal-footer h5 {
    width: 100%;
    padding: unset !important;
    flex-wrap: wrap;
    flex-direction: column;
  }

	/* .filter-modal-footer h5::after {
		content: '';
		border-bottom: 1px solid #acacac;
		width: 100%;
		display: block;
		padding-top: 11px;
	}
	
	#filter-btn {
		position: absolute;
		top: 42vh;
		left: 0;
		bottom: unset !important;
		font-size: 1rem;
		width: 130px;
		padding: 10px 10px 10px 15px;
	} */
	
	.filter-wrapper p.sidebox-title {
		font-size: 1rem !important;
	}
	
	.filter-items {
		justify-content: center;
		display: flex;
	}
	
	.filter-items img {
		max-width: 100% !important;
	}
	
	.filter-wrapper h4.logo-sidebox {
		font-size: 30px !important;
	}
	
	#filter .sidebox-title {
		max-width: unset !important;
	}
	
	.filterBtn-divider {
		display: none;
	}
	
}


@media screen and (min-width: 767px) and (max-width: 1023px) {

  .filter-modal-content {
    width: 45% !important;
    max-width: unset !important;
  }

  .filter-input-wrapper.hideToggle {
    overflow: hidden;
    display: none;
    transition: .3s ease-in-out all;
  }

  .is-active .filter-input-wrapper.hideToggle {
    display: block !important;
  }
}



