/* ------------------------- Modal - Off-Canvas Panel for Open Popup -------------------------------------------------- */

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

.popup-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) */
.popup-modal {
	position: fixed;
	z-index: 15;
	width: 100%;
	height: 100%;
	/* overflow: auto; */
	/* background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4); */
	left: -100%;
	opacity: 0;
	transition: left 0.5s, opacity 0.5s;
}

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

/* Modal Content/Box */
.popup-modal-content {
	position: relative;
	background-color: #fefefe;
	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 */
.popup-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 */
.popup-modal-content::-webkit-scrollbar {
	display: none;
}

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

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

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

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

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

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

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

.popup-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-color);
	/* width: 165px; */
	padding: 0px 0 0px 42px;
	margin: 0;
	cursor: pointer;
	z-index: 1;
	position: relative;
	text-align: left;
	line-height: 1.2rem;
}

/* Modal - Inner Content Styling
----------------------------------------*/
/* our popup update sidebox */
.popup-wrapper {
  margin-bottom: 1rem;
}

.popup-wrapper h4.logo-sidebox {
  font-size: 25px;
  font-family: 'Stone Sans, SemiBold';
  color: var(--dark-blue-color);
}

.popup-wrapper p.sidebox-title {
  margin-top: 9px;
  margin-bottom: 13px;
  font-family: "Stone Sans, Medium";
  font-size: 1rem;
  font-weight: 500;
  /* max-width: 200px; */
  color: var(--dark-blue-color);
}

.popup-wrapper .sidebox-title span {
  background-color: var(--color-3);
  padding: 3px;
  border-radius: 4px;
}

/* responsive */

@media (max-width: 767px) {

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

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

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

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

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

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

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

  .popup-modal-footer h5::after {
    content: '';
    border-bottom: 1px solid #acacac;
    width: 100%;
    display: block;
    padding-top: 11px;
  }

  /* #popup-btn {
    position: absolute;
    top: 42vh;
    left: 0;
    bottom: unset !important;
    font-size: 1rem;
    width: 130px;
    padding: 10px 10px 10px 15px;
  } */

  .popup-wrapper p.sidebox-title {
    font-size: 1rem !important;
  }

  .popup-items {
    justify-content: center;
    display: flex;
  }

  .popup-items img {
    max-width: 100% !important;
  }

  .popup-wrapper h4.logo-sidebox {
    font-size: 30px !important;
  }

  #popup .sidebox-title {
    max-width: unset !important;
  }
}

@media screen and (min-width: 767px) and (max-width: 1023px) {
  .product-specs-inner-wrapper .col-4 {
    margin-right: 1rem;
  }

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

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

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

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

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

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

  .popup-modal-footer h5::after {
    content: '';
    border-bottom: 1px solid #acacac;
    width: 100%;
    display: block;
    padding-top: 11px;
  }

  /* #popup-btn {
    position: absolute;
    top: 42vh;
    left: 0;
    bottom: unset !important;
    font-size: 1rem;
    width: 130px;
    padding: 10px 10px 10px 15px;
  } */

  .popup-wrapper p.sidebox-title {
    font-size: 1rem !important;
  }

  .popup-items {
    justify-content: center;
    display: flex;
  }

  .popup-items img {
    max-width: 100% !important;
  }

  .popup-wrapper h4.logo-sidebox {
    font-size: 30px !important;
  }

  #popup .sidebox-title {
    max-width: unset !important;
  }
}




