/* Overlay */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

/* Popup Box */
.popup-box {
  background: #F4F0E4; /* soft cream like screenshot */
  padding: 60px 60px 50px;
  border-radius: 4px;
/*   width: 90%; */
/*   max-width: 850px; */
	width: 997px;
	max-width: 70%;
  position: relative;
  box-shadow: 0 10px 35px rgba(0,0,0,0.2);
	height: 500px;
/* 	max-height: 67vh; */
	align-items: center;
	justify-content: center;
	display: flex;
}

/* Close button */
/* .close-btn-welcome, .close-btn-thankyou { */
.close-btn {
  position: absolute;
  top: 0;
  right: 0;
	width: 50px;
	cursor: pointer;
/*   font-size: 26px;
  font-weight: 300;
  color: #333; */
}

.popup-content {
  text-align: center;
  font-family: inherit;
}

/* Top title */
.popup-top-title {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 8px;
}

.popup-subtitle, .popup-highlight, .popup-desc {
		font-family: aleo;
}

/* Subtitle */
.popup-subtitle {
  font-size: 24px;
  margin-top: 0;
	margin-bottom: 0;
}

/* Big highlight */
.popup-highlight {
  font-size: 40px;
  font-weight: 900;
  margin: 20px 0 0;
	line-height: 1.2;
	letter-spacing: 1px;
}

/* Description under highlight */
.popup-desc {
  font-size: 20px;
  color: black;
  margin-bottom: 20px;
}

/* Small label above form */
.popup-small-label {
	font-size: 16px;
	margin-bottom: 8px;
	font-family: 'HK Grotesk';
	font-weight: 600;
}

/* Form wrapper */
.popup-form {
/*   margin: 0 auto 20px; */
	margin: 0 auto 0;
  max-width: 474px;
}

.popup-form form {
	margin-bottom: 0;
}

/* Style CF7 input */
.popup-form input {
	background-color: transparent;
	border: solid 1px #878280;
	width: 100%;
  padding: 10px 12px;
  font-size: 14px;
	font-family: 'HK Grotesk';
	color: black;
	font-weight: 500;
}
.popup-form input::placeholder {
	color: black !important;
}
.popup-form input:focus {
	background-color: transparent;
}

/* Style CF7 submit button */
.popup-form input[type=submit] {
  background: #f6be5e !important; /* warm yellow */
  color: #964320 !important;      /* brownish text */
	font-family: 'Candal';
	text-transform: math-auto;
	font-weight: 500;
	width: 75%;
	min-height: 40px;
  padding: 12px 0;
  border: none;
  border-radius: 25px;
  margin-top: 12px;
  cursor: pointer;
  transition: opacity .2s ease;
	font-size: 20px;
}

.popup-form input[type=submit]:hover {
  opacity: 0.8;
}

/* Decline link */
.popup-decline {
	display: inline-block;
	margin-top: 18px;
	font-size: 20px;
	font-weight: 600;
	color: black;
	cursor: pointer;
	font-family: 'HK Grotesk';
	text-decoration: none;
}

.popup-decline:hover {
  text-decoration: underline;
}

.wpcf7-spinner {
	position: absolute;
}

.wpcf7-not-valid-tip {
	position: absolute !important;
	background-color: transparent !important;
	border-radius: 3px;
	color: red !important;
	line-height: 1.2em;
	margin: 0 !important;
	top: 0;
	right: 0;
	opacity: .8;
	padding: 8px 8px !important;
}

.wpcf7-not-valid-tip:after {
	display:none;
}

.wpcf7 form .wpcf7-response-output {
	display:none;
	padding: 0.2em 1em;
	bottom: -66px;
	position: relative;
	font-size: 12px;
	color: red;
	margin: 0;
	border: none;
}

/* Responsive */
@media (max-width: 1000px) {
	.popup-box {
		scale: 130%;
		height: 700px;
		max-width: 100%;
	}
}

@media (max-width: 600px) {
  .popup-box {
    padding: 35px 25px;
		scale: 90%;
		height: 600px;
  }
  .popup-highlight {
    font-size: 28px;
  }
}
