/**************************************************
Contact forms */

.mt-form {
    position: relative;
    padding-right: 2em;
}
.mt-form label,
.mt-form .label {
	/* font-size: 18px !important; */
	color: #000;
}
.mt-form abbr {
    color: #7B0101;
    font-size: 165%;
    font-weight: bold;
    line-height: 1;
    padding: 0 1px;
    vertical-align: middle;
    border: none;
    text-decoration: none;
}
.mt-form label abbr {
    padding: 0;
    position: absolute;
    right: 10px;
}
.mt-form label:first-child,
.mt-form .label:first-child {
    font: 105%/1.4 Arial, Helvetica, sans-serif;
    margin: 0 0 0 0;
    width: 100%;
    display: block;
	padding-bottom: 6px;
	font-size: 14px !important;
}
.mt-form p {
    clear: left;
    background: rgba(20, 20, 20, 0.03);
    color: #666;
    margin: 0 0 1em 10em;
    padding: 0.5em;
    border-radius: 0.4em;
}
.mt-form p.note {
    background: none;
    font-size: 90%;
    margin: 1em 0 0 0;
}
.mt-form p.buttons {
    background: none;
    text-align: center;
    /* Swap margin for padding to fix an ugly IE7 glitch */
    margin-left: 0;
    padding-left: 10em;
}
.mt-form input[type="text"] {
	text-align: left;
}
.mt-form input[type="text"],
.mt-form input[type="tel"],
.mt-form input[type="email"],
.mt-form textarea,
.mt-form select {
    display: block;
    color: #333;
    font: 115%/1.2 Arial, Helvetica, sans-serif;
    margin: 0;
    width: 100%;
    padding: 0.3em 0.4em;
    background: #fefefe;
    border: 1px solid #ccc;
    border-radius: 0.3em;
    box-shadow: inset 0.1em 0.1em 0.1em rgba(0, 0, 0, 0.1);
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.mt-form input[type="text"]:focus,
.mt-form input[type="tel"]:focus,
.mt-form input[type="email"]:focus,
.mt-form textarea:focus,
.mt-form select:focus {
    border-color: #aaa;
    box-shadow: inset 0.1em 0.1em 0.1em rgba(0, 0, 0, 0.05);
}
.mt-form select {
    width: auto;
}
.mt-form textarea {
    height: 7em;
}
.mt-form .button {
    font-size: 125%;
}
.mt-form .captcha img {
    max-width: 100%;
    vertical-align: middle;
    margin: 0.5em 0;
}
.mt-form .captcha-container {
    margin: 1em 0 2em 10em;
    background-color:transparent;
    text-align: center;
}
.mt-form .g-recaptcha {
    display: inline-block;
    vertical-align: middle;
}
.mt-form #code {
    width: 8em;
    display: inline;
    margin-left: 0.6em;
}
.mt-form input:not(.error) {
    /*background-color:#CFC;*/
}
.mt-form input.error,
.mt-form textarea.error {
    background-color: #FCC;
    cursor: help;
}
p.error {
	background-color:transparent;
	font-weight: bold;
}
#show-form .inline-set {
	display: inline-block;
	vertical-align: top;
	padding: 15px;
	margin: 0 !important; 
	width: 33.333%;
}
#show-form .inline-set label:first-child,
#show-form .inline-set .label:first-child {
	float: none;
	margin: 0px 0 0px 0;
	padding: 0 0 10px 0;
	display: block;
	width: auto;
	text-align: left;
}
#show-form .inline-set .tooltip-element {
	position: relative;
	top: -2px;
}
#show-form h2 {
	margin-bottom: 12px;
}
#show-form * + h2 {
	margin-top: 30px;
}
#show-form h3  {
	margin-bottom: 0;
}
#show-form p.plain {
	margin: 0 !important;
	background: transparent !important;
	font-size: inherit !important;
	color: inherit !important;
	padding: 0;
}
#show-form * + p.plain:not(.note) {
	padding-top: 15px;
}
/*
#show-form p.plain + * {
	margin-top: 15px !important;
}
*/
#show-form p.note {
	font-style: italic;
	padding-top: 6px; 
	color: #8a8a8a !important;
}
#show-form input[readonly=""] {
	background: #dddddd !important;
	border: 1px solid #ccc !important;
	box-shadow: inset 0.1em 0.1em 0.1em rgba(0, 0, 0, 0.1) !important; 
}
#show-form .rendered-form .fb-button {
	display: inline-block;
	padding: 0 !important;
	margin: 0 !important;
}

#show-form .rendered-form .fb-button + .fb-button {
	margin-left: 10px !important;
}

#show-form .rendered-form .fb-button button {
	min-height: 38px;
	margin-top: 20px;
}

#show-form label[for*="checkbox"] > input.other-val {
	display: inline-block;
	width: auto;
	margin-left: 10px;
}
hr.empty {
	font-size: 0;
	height: 1px;
	margin: 20px 0;
}
.popup-bg {
	position: fixed;
	display:block;
	top:0;
	left: 0;
	background: rgba(0,0,0,0);
	opacity: 0;
	visibility: hidden;
	z-index: 100;
	transition: all 0.3s ease 0s;
	height: 100%;
	width: 100%;
}
.popup-box {
	background-color: #FFF;
	border: 4px solid #000;
	box-shadow: inset 0 0 8px 1px rgba(0,0,0,0.4);
	position: fixed;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%) scale(0.2);
	-moz-transform: translate(-50%,-50%) scale(0.2);
	-ms-transform: translate(-50%,-50%) scale(0.2);
	-o-transform: translate(-50%,-50%) scale(0.2);
	transform: translate(-50%,-50%) scale(0.2);
	height: 100%;
	max-height: 600px;
	width: 100%;
	max-width: 900px;
	z-index: 100;
	opacity: 0;
	visibility: hidden;
	transition: all 0.4s ease 0s;
}
.close-btn {
    position: absolute;
    right: -19px;
    top: -21px;
    border-radius: 50%;
    background: #2a2a2a;
    padding: 8px 12px 9px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}
.close-btn::before {
    content: "X";
    color: #fff;
}
.close-btn.unset {
    opacity: 0;
    visibility: hidden;
    cursor: default;
}
.popup-box > .read {
    height: 100%;
    width: 100%;
    overflow: auto;
}
.terms-full {
    padding: 25px;
}
.popup-bg.show {
	background: rgba(0,0,0,0.6);
	opacity: 1;
    visibility: visible;
}			
.show .popup-box {
    -webkit-transform: translate(-50%,-50%) scale(1);
    -moz-transform: translate(-50%,-50%) scale(1);
    -ms-transform: translate(-50%,-50%) scale(1);
    -o-transform: translate(-50%,-50%) scale(1);
    transform: translate(-50%,-50%) scale(1);
    opacity: 1;
    visibility: visible;
}
.disclaimer {
	display: block;
	padding: 20px 0;
/* 	border: 2px solid #666; */
	position: relative;
}
.disclaimer h2 {
	background: #fff;
	padding: 2px 10px;
	position: absolute;
	top: -7px;
	left: 21px;
}
.disclaimer > p {
	font-size: 14px; 
	line-height: 18px;
	padding-bottom: 5px;
	font-weight: bold;
	text-transform: uppercase;
}
.popup-box h3 {
	margin-top: 0;
	margin-bottom: 12px;
}
.disclaimer > section[id*="legal-"] + section[id*="legal-"] {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #aeaeae; 
}
.mt-checkbox {
	display: inline-block;
	position: relative;
}
.mt-checkbox input {
	position: absolute;
	opacity: 0;
	visibility: hidden;
}
.mt-checkbox i:not([class]) {
	display: inline-block;
	position: relative;
	height: 14px;
	width: 14px;
	border: 1px solid #666;
	vertical-align: middle;
	margin-top: -3px;
	margin-right: 4px;
	border-radius: 3px;
	opacity: 1;
	transition: all 0.3s ease 0s;
}

.mt-checkbox input:disabled + i {
	opacity: 0.3;
}

.mt-checkbox i:after {
	content: "\f00c";
	font-family:"Font Awesome 6 Pro";
	font-size: 24px;
	line-height: 24px;
	color: #73256f;
	position: absolute;
	top: -9px;
	left: -1px;
	display: inline-block;
	height: 24px;
	width: 0;
	overflow: hidden;
	transition: all 0.3s ease 0s;
}

.mt-checkbox input:checked + i:after {
	width: 27px;
}

.button-contianer {
	padding: 20px;
}
hr.empty {
	font-size: 0;
	height: 1px;
	margin: 20px 0;
}

.rendered-form {
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	justify-content: space-between;
}
.rendered-form > div {
	width: 100%;
	box-sizing: border-box;
}

.rendered-form > .quarter {
	width: 24.3% !important;
}

.rendered-form > .third {
	width: 32.5% !important;
}

.rendered-form > .half {
	width: 49.2% !important;
}

.rendered-form > .three-quarter {
	width: 74.6% !important;
}

.rendered-form h1 {
	padding-bottom: 14px;
}

.rendered-form label[for*="-other"] {
	width: 300px;
}

.rendered-form label[for*="-other"],
.rendered-form label[for*="-other"] > input {
	display: inline-block;
	vertical-align: middle;
}

.rendered-form label[for*="-other"] > input {
	width: 80%;
	margin-left: 10px;
}

[class*="other-val"] {
	pointer-events: none;
	visibility: hidden;
	opacity: 0;
}

[class*="other-val"]:required {
	pointer-events: all;
	visibility: visible;
	opacity: 1;
} 

.flatpickr-day.disabled {
	opacity: 0.5 !important;
}
/************************************************************
RESPONSIVE */
/* Mobile(ish) */

@media screen and (max-width: 1400px) { 
	#show-form label:first-child, 
	#show-form .label:first-child {
		float: none;
		margin: 0;
		text-align: left;
	}
}

@media screen and (max-width: 960px) { 
	#show-form .inline-set {
		width: 50%;
	}
}

@media screen and (max-width: 670px) {
	
    .mt-form {
        padding-right: 0;
    }
    .mt-form p,
    .mt-form .captcha-container {
        margin: 1em 0 0 0;
    }
    .mt-form p.buttons {
        padding: 0;
    }
    .mt-form p label:first-child {
        float: none;
        display: block;
        position: relative;
        width: auto;
        text-align: left;
		margin: 0;

    }
    .mt-form p label abbr {
        position: static;
    }
    #content > article .col.side {
        margin-left: auto;
        margin-right: auto;
        max-width: 280px;
    }
    #show-form .inline-set {
		width: 100%;
	}
	
	#show-form .inline-set label.hasTip {
		position: relative;
		padding-left: 28px;
	}
	
    #show-form .inline-set .tooltip-element {
	    position: absolute;
	    left: 0;
	    top: 4px;
    }
}