#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  filter: alpha(opacity=70);
  -moz-opacity: 0.7;
  -khtml-opacity: 0.7;
  opacity: 0.7;
  z-index: 100;
  display: none;
}
.cnt223 a {
  text-decoration: none;
}
.popup-onload {
  display: none;
  position: fixed;
  z-index: 101;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);

}

.cnt223 .x:hover {
  cursor: pointer;
  text-decoration: none;
}

.cnt223 {
  min-width: 400px;
  width: 400px;
  min-height: 150px;
  margin: 100px auto;
  background: #f3f3f3;
  position: relative;
  z-index: 103;
  padding: 15px 35px;
  border-radius: 5px;
  box-shadow: 0 2px 5px #000;
}

.cnt223 p {
  clear: both;
  /* text-align: justify; */
  font-size: 20px;
  font-family: sans-serif;
}

.cnt223 p a {
  color: #d91900;
  font-weight: bold;
}

.cnt223 .x {
  float: right;
  height: 35px;
  left: 22px;
  position: relative;
  top: -25px;
  width: 34px;
}
.cnt223-tem1 .x {
  float: right;
  height: 35px;
  left: 22px;
  position: relative;
  top: -25px;
  width: 34px;
}
.cnt223-tem1 .x:hover {
  cursor: pointer;
}
.cnt223 .x:hover {
  cursor: pointer;
}
.close {
  float: right;
}
.close:hover {
  text-decoration: none;
}

/* template 1  */

.popup-content .action {
  margin-top: 10px;
  width: 100%;
  background: black;
  border-color: 1px so;
  border-radius: 5px;
  border: none;
}
.popup-onload .close {
  position: absolute;
  right: 10px;
  top: 5px;
  background: black;
  width: 20px;
  text-align: center;
  border-radius: 10px;
}
.popup-onload .close:hover {
  background: ghostwhite;
}
.popup-onload .image-contenttem1 {

  float: right;
  height: 300px;
  width: 400px;
}
.popup-onload #newsletter-popuptem1 {
	background: transparent;
	border: 1px solid black;
	border-radius: 5px;
}
.popup-onload #newsletter-popup::placeholder {
  color: #646464;;
  opacity: 1; /* Firefox */
}

.popup-onload .popup-content > h2{

  font-family: 'Josefin Sans';
  font-size: 25px;
  font-weight: 300; 
  margin-bottom: 5px;
  margin-top: 0;

} 
.popup-onload .popup-content > p {
  font-size: 15px;
  font-family: 'Josefin Sans';
}

.cnt223tem1 {
	height: 300px;
  width: 450px;
	margin: 100px;
	position: relative;
	z-index: 103;
	border-radius: 5px;
	box-shadow: 0 2px 5px #000;
  padding: 0;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}
.popup-onload .cnt223tem1 .popup-content {
	line-height: 1.5;
  color: white;
  text-align: center;
  padding: 50px;
  width: 100%;
}

.cnt223tem1 p {
  clear: both;
  /* text-align: justify; */
  font-size: 20px;
  font-family: sans-serif;
}

.cnt223tem1 p a {
  color: #d91900;
  font-weight: bold;
}
.cnt223-tem1 .x:hover {
  cursor: pointer;
  text-decoration: none;
}
.popup-onload .cnt223tem1 #newsletter-popup {
	border: 2px solid black;
}

/* template 2 */
.popup-onload .cnt223tem3 .popup-content {
  text-align: center;
  padding: 50px; 
}
.cnt223tem3 {
  min-width: 400px;
  width: 400px;
  min-height: 150px;
  margin: 100px auto;
  position: relative;
  z-index: 103;
  padding: 15px 35px;
  border-radius: 5px;
  box-shadow: 0 2px 5px #000;
  background-size: cover;
}
.cnt223tem3 #newsletter-popup {
	background: transparent;
	border: 2px solid white;
  color: bisque;
}
/* template 3 */
.cnt223tem4 {
  min-width: 300px;
  width: 300px;
  min-height: 150px;
  margin: 100px auto;
  position: relative;
  z-index: 103;
  padding: 15px 35px;
  border-radius: 5px;
  box-shadow: 0 2px 5px #000;
  background-size: cover;
}
.popup-onload .cnt223tem4 .popup-content {
  padding: 30px;
  text-align: center;
}
.popup-onload .cnt223tem4 #newsletter-popup {
	background: transparent;
	border: 2px solid white;
  color: #b08e37;
}
#show-popup{
  border: none;
}

/* template 1 responsive */
@media only screen and (max-width: 670px) and (min-width: 320px) {
  .cnt223tem1 {
 height: 220px;
  width: 330px;
  }
  .popup-onload .image-contenttem1 {
    float: right;
    height: 220px;
    inline-size: auto;
  }
  .popup-onload .cnt223tem1 .popup-content > h2{
    font-size: 20px;
    margin-top: 0;
  } 
  .popup-onload .cnt223tem1 .popup-content > p {
    font-size: 13px;
  }
  .popup-onload .cnt223tem1 .popup-content {
    padding: 20px;
    width: fit-content; 
  }

}

/* template 2 responsive */
@media only screen and (max-width: 790px) and (min-width: 320px) {
  .cnt223tem3 {
    min-width: 200px;
     width: 250px;
     }
     .popup-onload .cnt223tem3 .popup-content {
      padding: 20px; 
    }
  
}

/* template 3 responsive */
@media only screen and (max-width: 750px) and (min-width: 320px) {
  .cnt223tem4 {
    min-width: 250px;
     width: 200px;
     }
     .popup-onload .cnt223tem4 .popup-content {
      padding:0; 
    }
    .popup-onload .cnt223tem4 .popup-content > h2{
      font-size: 30px;
    } 
    .popup-onload .cnt223tem4 .popup-content > p {
      font-size: 14px;
    }
}

/* sucssful message popup */
#myModal295 {
  display: none; 
  position: fixed; 
  z-index: 101; 
  padding-top: 100px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  
}

/* Modal Content */
.modal-contentpopup {
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 400px;
	text-align: center;
}

/* The Close Button */
.close5 {
  color: #aaaaaa;
  font-size: 20px;
  font-weight: bold;
  border: none;
  background: gainsboro;;
}

.close5:hover,
.close5:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: #a7e85a;
}
.errorsuccess-message
{
  margin: 0;
  color: red;
  float: left;
  display: block !important;
  font-size: 12px !important;
}
/* succsful message responsive */
@media only screen and (max-width: 769px) and (min-width: 320px) {
  .modal-contentpopup{
    width: 250px;
  }
}


/***** Newsletter popup *****/
.cnt223tem1{display: grid; grid-template-columns: 40% 60%; width: auto; margin: 0px; background-color: #f4f0f1 !important; height: 100%; overflow: hidden; align-items: start; max-height: 900px;}
.popup-onload .image-blocktem1{height: 100%;}
.popup-onload{width: 40%; height: 80%; background-color: #f4f0f1 !important; max-height: 900px;}
.popup-onload .cnt223tem1 .popup-content{width: auto; padding: 50px 0px;}
.popup-onload .image-contenttem1{height: 100%; width: 100%; float: none; object-fit: cover;}
.popup-onload .popup-content > h2:first-child{font-size: 44px; color: #403c3d; line-height: 56px; margin-bottom: 10%; width: 90%; display: block; margin-left: auto; margin-right: auto;}
.popup-onload .popup-content > h2:nth-child(2){font-size: 50px; color: #403c3d; line-height: 60px; margin-bottom: 15%; text-transform: uppercase;}
.popup-onload .popup-content form#custom-form{width: 65%; margin: auto;}
.popup-onload .cnt223tem1 #newsletter-popup{border: 2px solid #c89d7b; height: auto; padding: 10px; text-align: center; font-family: 'Josefin Sans'; font-size: 18px;}
.popup-content .actions button{background-color: #c89c7b !important; margin-top: 10%; font-weight: 400; letter-spacing: 2px; padding: 12px 15px;}
.popup-onload .cnt223tem1 p{font-size: 20px; color: #484647; font-family: 'Josefin Sans';}
.popup-content .sub-content{margin-top: 20%;}
.popup-content .note{padding-top: 10px; border-top: 1px solid #c89c7b;}

@media (max-width: 1599px){
  .popup-onload{width: 60%;}
  .popup-onload .popup-content > h2:first-child{font-size: 35px; line-height: 45px;}
  .popup-onload .popup-content > h2:nth-child(2){font-size: 40px; line-height: 50px;}
  .popup-onload .cnt223tem1 p{font-size: 20px; line-height: 30px;}
}

@media (max-width: 1399px){
  .popup-onload{width: 50%;}
  .popup-onload .popup-content > h2:first-child{font-size: 30px; line-height: 40px; margin-bottom: 5%;}
  .popup-onload .popup-content > h2:nth-child(2){font-size: 35px; line-height: 45px; margin-bottom: 15%;}
  .popup-onload .cnt223tem1 p{font-size: 18px; line-height: 30px;}
  .popup-content .actions button{margin-top: 5%;}
  .popup-content .sub-content{margin-top: 15%;}
  .cnt223tem1{max-height: 600px;}
  .popup-onload{max-height: 600px;}
  .popup-onload .cnt223tem1 .popup-content {
      padding: 50px 5px;
  }
}

@media (max-width: 991px){
  .popup-onload{width: 80%;}
  .popup-onload .popup-content > h2:first-child{font-size: 25px; line-height: 35px;}
  .popup-onload .popup-content > h2:nth-child(2){font-size: 30px; line-height: 40px;}
  .popup-onload .cnt223tem1 p{font-size: 18px; line-height: 28px;}
}
@media (max-width: 767px){
  .popup-onload{width: 80%; height: auto;}
  .cnt223tem1{grid-template-columns: 1fr;}
  .popup-onload .image-contenttem1{display: none;}
  .popup-onload .popup-content > h2:first-child{font-size: 30px; line-height: 40px; margin-bottom: 5%;}
  .popup-onload .popup-content > h2:nth-child(2){font-size: 40px; line-height: 50px; margin-bottom: 7%;}
  .popup-onload .popup-content form#custom-form{width: 95%;}
  .popup-content .actions button{margin-top: 5%;}
  .popup-content .sub-content{width: 95%; margin-left: auto; margin-right: auto; margin-top: 10%;}
  .popup-onload .cnt223tem1 p{font-size: 16px;}
  .popup-onload .cnt223tem1 .note p{width: 95%; display: block; margin: 0px auto;}
}
/***** Newsletter popup *****/