/* Structural styles only – style the rest yourself. */
.simple-popup[hidden] { display: none; }

.simple-popup {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99999;
	width:600px;
	background-color: #00818F;
}
.simple-popup .simple-top {
	position: relative;
	height: 300px;
	width:100%;
}
.simple-popup .simple-top::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#7db9e8+0,00818f+100&0+0,1+100 */
background: linear-gradient(to bottom, rgba(125,185,232,0) 0%,rgba(0,129,143,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

.simple-badge{
	position: absolute;
	top: -50px;
	left: -50px;
	z-index: 2;
	width:180px;
	height: 180px;
}
.simple-badge img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.simple-popup__showcase{
	position: absolute;
	right:50px;
	top:20px;
	z-index: 2;
	width: 200px;
	height: 200px;
}
.simple-popup .simple-top .simple-popup__showcase img{
	width: 100%;
	height: 100%;
	object-fit: contain;
	position: relative;
	top:unset;
	left:unset;
}

.simple-popup__close {
	position: absolute;
	top: -10px;
	right: -10px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #00818F;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background-color .2s ease, transform .2s ease;
}
.simple-popup__close:hover,
.simple-popup__close:focus-visible {
	background: rgba(255, 255, 255, 0.4);
	transform: rotate(90deg);
}
.simple-popup__close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}
.simple-popup .simple-top img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.simple-popup__box {
	position: relative;
	
}
.simple-popup__content{
	background-color: #00818F;
	padding: 20px;
	color:#fff;
}
.simple-popup__content h3{
	font-weight: 300;
}
.simple-popup__content h3 strong{
	font-weight: 600;
}
.simple-popup__content p{
	margin-bottom: 0px;
}

/* ---------- Formidable form (styled after the serviceform block) ---------- */
.simple-popup__form {
	background-color: #dae6eb;
	padding: 20px;
	border-top: solid 4px #fff;
	position: relative;
}
.simple-popup__form::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background-color: #cb2b1e;
	z-index: 1;
}
.simple-popup .simple-popup__form .frm_form_fields .frm_fields_container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.simple-popup .simple-popup__form .frm_form_fields .frm_fields_container .frm_form_field {
	position: relative;
	width: 100%;
	margin-bottom: 10px;
}
.simple-popup .simple-popup__form .frm_form_fields .frm_fields_container .frm_form_field.frm_half {
	width: calc(50% - 20px);
}
.simple-popup .simple-popup__form .frm_form_fields .frm_fields_container .frm_form_field input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.simple-popup .simple-popup__form .frm_form_fields .frm_fields_container .frm_form_field select,
.simple-popup .simple-popup__form .frm_form_fields .frm_fields_container .frm_form_field textarea {
	width: 100%;
  border: solid 2px #00818F;
  border-radius: 8px;
  padding: 10px 20px 10px 20px;
  font-size: 18px;
  outline: none;
}
.simple-popup .simple-popup__form .frm_form_fields .frm_fields_container .frm_form_field input:not([type=submit]):focus,
.simple-popup .simple-popup__form .frm_form_fields .frm_fields_container .frm_form_field select:focus,
.simple-popup .simple-popup__form .frm_form_fields .frm_fields_container .frm_form_field textarea:focus {
	border-color: #7fd6df;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}
.simple-popup .simple-popup__form ::placeholder {
	color: #000;
	opacity: 1;
}
.simple-popup .simple-popup__form .frm_primary_label,
.simple-popup .simple-popup__form .frm_checkbox label,
.simple-popup .simple-popup__form .frm_radio label,
.simple-popup .simple-popup__form .frm_description {
	color: #000;
	font-size: 14px;
}
.simple-popup .simple-popup__form .frm_error,
.simple-popup .simple-popup__form .frm_error_style {
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}
.simple-popup .simple-popup__form .frm_form_field.frm_blank_field input,
.simple-popup .simple-popup__form .frm_form_field.frm_blank_field textarea {
	border-color: #ffb4b4;
}
.simple-popup .simple-popup__form .frm_message {
	color: #00818F;
	font-size: 18px;
}
.simple-popup .simple-popup__form .frm_submit {
	display: flex;
	justify-content: flex-end;
	padding-top: 10px;
}
.simple-popup .simple-popup__form .frm_submit .frm_button_submit,
.simple-popup .simple-popup__form .frm_submit button {
	  padding: 10px 30px!important;
    background-color: #00818F!important;
    color: #fff!important;
    border-radius: 8px!important;
}
.simple-popup .simple-popup__form .frm_submit .frm_button_submit:hover,
.simple-popup .simple-popup__form .frm_submit button:hover {
	background-color: transparent;
	color: #fff;
}

@media (max-width: 640px) {
	.simple-popup .simple-popup__form .frm_form_fields .frm_fields_container .frm_form_field.frm_half {
		width: 100%;
	}
}

/* ---------- RESPONSIVE ---------- */
.simple-popup {
	max-width: calc(100vw - 40px);
}

@media (max-width: 1024px) {
	.simple-popup { width: 520px; }
	.simple-popup .simple-badge { top: -35px; left: -35px; width: 140px; height: 140px; }
	.simple-popup .simple-popup__showcase { right: 30px; width: 170px; height: 170px; }
	.simple-popup .simple-top { height: 260px; }
}

/* Small screens or short windows: keep everything inside the viewport and let the popup scroll. */
@media (max-width: 700px), (max-height: 760px) {
	.simple-popup {
		right: 12px;
		bottom: 12px;
		max-width: calc(100vw - 24px);
		max-height: calc(100vh - 24px);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	.simple-popup .simple-badge { top: 10px; left: 10px; width: 90px; height: 90px; }
	.simple-popup .simple-top { height: 200px; }
	.simple-popup .simple-popup__showcase { top: 16px; right: 16px; width: 130px; height: 130px; }
	.simple-popup .simple-popup__content { padding: 16px; }
	.simple-popup .simple-popup__form { padding: 0 16px 16px; }
	/* 16px stops iOS from zooming into fields */
	.simple-popup .simple-popup__form .frm_form_fields .frm_fields_container .frm_form_field input:not([type=submit]):not([type=checkbox]):not([type=radio]),
	.simple-popup .simple-popup__form .frm_form_fields .frm_fields_container .frm_form_field select,
	.simple-popup .simple-popup__form .frm_form_fields .frm_fields_container .frm_form_field textarea {
		font-size: 16px;
		padding: 10px 14px;
	}
}

@media (max-width: 480px) {
	.simple-popup {
		left: 12px;
		width: auto;
		max-width: none;
	}
	.simple-popup .simple-badge { top: 8px; left: 8px; width: 70px; height: 70px; }
	.simple-popup .simple-top { height: 170px; }
	.simple-popup .simple-popup__showcase { top: 12px; right: 12px; width: 100px; height: 100px; }
	.simple-popup .simple-popup__content h3 { font-size: 20px; }
	.simple-popup .simple-popup__form .frm_submit { justify-content: stretch; }
	.simple-popup .simple-popup__form .frm_submit .frm_button_submit,
	.simple-popup .simple-popup__form .frm_submit button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.simple-popup__close,
	.simple-popup .simple-popup__form * { transition: none !important; }
	.simple-popup__close:hover,
	.simple-popup__close:focus-visible { transform: none; }
}
