section.mailerlite-form{
	padding:0 5%;
	margin:45px 0
}

div.mailerlite-form-inner {
	max-width: 1200px;
	margin: 0 auto;
	box-shadow: var(--snow-shadow);
	border-radius: 15px;
	padding: 3rem;
}

@media screen and (max-width:1100px){
	div.mailerlite-form-inner {
		padding:2rem;
	}
}

@media screen and (max-width:640px){
	div.mailerlite-form-inner {
		padding:1rem;
	}
}

div.mailerlite-form-inner h1{
	text-align:center;
	margin-bottom:0.5em;
}
div.mailerlite-form-inner p.paragraph{
	margin:0;
	text-align:center;
}

div.mailerlite-form-inner .row{
	display:flex;
	justify-content:space-between;
}

div.mailerlite-form-inner fieldset.form-column.half-width{
	width:47.5%;
	margin: 20px 0;
}
div.mailerlite-form-inner fieldset.form-column.full-width{
	width:100%;
	margin:0;
}

div.mailerlite-form-inner label {
	font-size: 14px;
	font-weight: 600;
	/* padding-left: 10px; */
	margin-top: .5rem;
}

div.mailerlite-form-inner textarea{
	min-height:190px;
}

.form-group ul#sortable-fields {
	list-style: none;
	padding: 0;
}

.form-group ul#sortable-fields li{
	padding: 5px;
	margin: 5px 0;
	border-radius:5px;
}
.form-group ul#sortable-fields li .checkbox{
	display:flex;
	justify-content:space-between;
	flex-wrap:wrap;
}
.form-group ul#sortable-fields li.ui-state-default {
	background: linear-gradient(0deg, #d3d4ea 0%, #f4f4f4 100%);
}

.form-group ul#sortable-fields select{
	float:right;
}
div.mailerlite-response{
	max-width: 1200px;
	margin: 20px auto 0 auto;
}
div.mailerlite-response .alert{
	max-width:none;
	background-color: #cc123a;
	padding: 20px;
	border-radius: 5px;
	font-weight: 500;
	text-align: center;
	text-transform: uppercase;
	color: #fff;
}

div.mailerlite-response .alert.alert-success{
	background-color: #6fa5b4;
}

div.mailerlite-form-inner input[type="text"],
div.mailerlite-form-inner textarea,
div.mailerlite-form-inner input[type="number"],
div.mailerlite-form-inner input[type="tel"],
div.mailerlite-form-inner input[type="date"],
div.mailerlite-form-inner input[type="email"] {
	display: block;
	border: none;
	padding: .75rem 1rem;
	width: 100%;
	font-size: 1rem;
	color: var(--font-color);
	font-family: var(--paragraph-font);
	font-weight: 400;
	margin: 5px 0 0 0;
	transition: all 0.3s;
	border-radius: 5px;
	box-shadow: 0 0 0 3px transparent;
	background-color:#eef5f7;
}

div.mailerlite-form-inner input:focus,
div.mailerlite-form-inner textarea:focus{
	border:none!important;
	box-shadow:0 0 0 3px var(--gold-color);
}

div.mailerlite-form-inner div.date-range-wrapper{
	display:flex;
}
div.mailerlite-form-inner div.date-range-wrapper .form-group {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* RATING SELECTOR */
div.mailerlite-form-inner .rating-selector i {
	color: #e7e7e7;
	transition: all 0.3s;
	font-size: 24px;
}
div.mailerlite-form-inner .rating-selector i.filled {
	color: var(--accent-color2);
}

/* CHECKBOX STUFF */
div.mailerlite-form-inner .flex-wrapper {
	display: flex;
	flex-wrap: wrap;
	margin-top: 1.25rem;
}

div.mailerlite-form-inner .check-group{
	display:flex;
	align-items:center;
}

div.mailerlite-form-inner .flex-wrapper .check-group{
	width:23%;
	min-width:180px;
	margin:5px 1%;
}
div.mailerlite-form-inner .check-group p{
	font-size:13px;
	font-weight:500;
	margin:0 0 0 10px;
}

div.mailerlite-form-inner .checkbox{
	position:relative;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

div.mailerlite-form-inner label.checkbox {
	margin:0;
}


div.mailerlite-form-inner .checkbox input{
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}
div.mailerlite-form-inner .checkbox .checkmark {
	display:block;
	height: 25px;
	width: 25px;
	background-color: var(--ice-color);
}

div.mailerlite-form-inner .checkbox input ~ .checkmark {
	background-color: var(--ice-color);
	border-radius: 3px;
	transition: all 0.3s;
	border: 2px solid var(--grey-color);
}

div.mailerlite-form-inner .checkbox input:checked ~ .checkmark {
	background-color: var(--light-gold-color);
	/* box-shadow: inset 0 1px 2px rgba(0,0,0,0.2); */
	border: 2px solid var(--gold-color);
}
.checkmark:after {
  content: "\f00c";
  font-family:'FontAwesome';
  position: absolute;
  display: none;
  width:25px;
  height:25px;
  color:#fff;
  line-height:25px;
  text-align:center;
}
div.mailerlite-form-inner .checkmark:after {
  width:21px;
  height:21px;
  line-height:21px;
}
div.mailerlite-form-inner .checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* SECTIONS STUFF */
div.mailerlite-form-inner div.section-wrapper{
	display:flex;
	flex-wrap:wrap;
}
div.mailerlite-form-inner div.section {
	margin: 0.25%;
	padding: 20px;
}
div.mailerlite-form-inner.styled div.section {
	border-radius: 2px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.15);
	background: #f8f8f8;
	border: 4px solid #fafafa;
}
div.mailerlite-form-inner div.section h4{

}

div.mailerlite-form-inner div.section p.description{
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5em;
}
div.mailerlite-form-inner div.section.no-title h4{
	display:none;
}
div.mailerlite-form-inner div.section.no-labels label.std{
	display:none;
}
div.mailerlite-form-inner div.section.align-center{
	text-align:center;
}
div.mailerlite-form-inner div.section.column .fields{
	display:flex;
	flex-direction:column;
}
div.mailerlite-form-inner div.section.row{
	display:block;
	margin: 0 -15px;
}



div.mailerlite-form-inner div.section.row .fields {
	display: flex;
	flex-direction: row;
	gap: 15px;
	flex-wrap: wrap;
}

div.mailerlite-form-inner div.section.col-12{
	width:100%;
}
div.mailerlite-form-inner div.section.col-8{
	width:74.5%;
}
div.mailerlite-form-inner div.section.col-6{
	width:49.5%;
}
div.mailerlite-form-inner div.section.col-4{
	width:32.333%;
}
div.mailerlite-form-inner div.section.col-3{
	width:24.5%;
}
ul.sortable-fields{
	padding:5px;
	background:#eee;
	list-style:none;
}

ul.sortable-fields li{
	padding:5px;
	margin:2px 0;
	cursor:move;
}

/* FORM */

div.options-row{
	display:flex;
	gap:10px;
	margin:5px 0;
	width:100%;
}

div.options-row .form-group{
	margin-bottom:0;
}

.dropdown-options{
	width:100%;
}

div#sortable-sections .section {
	background: #fafafa;
	padding: 20px 10px 0 10px;
	margin: 5px 0;
	border: 1px solid #ccc;
	border-radius: 5px;
	position:relative;
}

div#sortable-sections .section h4{
	font-size:16px;
	cursor:move;
}
div#sortable-sections .section input.form-control{
	margin:5px 0;
}
div#sortable-sections .section button.remove-section {
	position: absolute;
	top: 5px;
	right: 10px;
}
ul#available-fields{
	padding: 10px 5px;
	background: #eee;
	margin-top: 10px;
	list-style:none;
}
/* MODAL PRE EMAIL */
.ml-modal-email{

}

#footer .ml-modal-email{
	margin:0;
}
.ml-modal-inner .mailerlite-form-inner h1{
	margin-bottom:0!important;
}
.ml-modal-inner .mailerlite-form-inner p.paragraph{
	color: var(--dark-background-color)!important;
	font-size: 16px!important;
	margin: 0!important;
}

.ml-modal-inner form{
	margin:0!important;
}

.ml-modal-email h4 {
	margin-bottom: 1rem;
}

/* MODAL */

.ml-modal-outer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.ml-modal-inner {
	background: var(--red-color);
	border-radius: 15px;
}

.ml-modal-inner h4{
	font-size: calc(1.275rem + .3vw)!important;
}

.ml-modal-inner form{
	margin-top:20px;
}

.ml-modal-inner div.mailerlite-form-inner label{
	padding:0;
}

.ml-modal-inner .form-group{
	margin-top:.5rem;
}

@media screen and (max-width:980px){
	div.mailerlite-form-inner div.section.col-12,
	div.mailerlite-form-inner div.section.col-8,
	div.mailerlite-form-inner div.section.col-6,
	div.mailerlite-form-inner div.section.col-4,
	div.mailerlite-form-inner div.section.col-3{
		width:100%;
	}
}
/* MULTIPART FORM */
.mailerlite-form .form-progress {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin: 30px 0;
}
.mailerlite-form .form-progress span {
	display: block;
	border-radius: 20px;
	background: var(--light-grey-color-lighter);
	color: #fff;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	position:relative;
}
.mailerlite-form .form-progress span:after {
	content: '';
	position: absolute;
	top: 50%;
	right: 0;
	width: 12px;
	height: 3px;
	background: var(--light-grey-color-lighter);
	transform: translate(100%, -50%);
}
.mailerlite-form .form-progress span:last-of-type:after{
	display:none;
}
.mailerlite-form .form-progress span.active {
	background: var(--light-grey-color-darker);
}
.multipart-section{
	opacity:0;
	height:0;
	overflow:hidden;
	transition:opacity 0.5s;
}
.multipart-section.active{
	opacity: 1;
	height:auto;
}

.multipart-section .form-buttons {
	display: flex;
	gap: 10px;
	margin: 30px 0;
	justify-content: center;
}
.required-alert {
	/* border: 3px solid red !important; */
	box-shadow: 0 0 0 3px rgb(188, 0, 0) !important;
}


section.mailerlite-form .captcha-image{
	text-align:center;
}


.ccm-captcha{
	text-align:center;
	max-width:360px;
	margin:0 auto;
}
/* Belt & braces on the internal auto wrapper */
.mailerlite-form .ccm-captcha .cf-turnstile[data-appearance="interaction-only"] > div {
	line-height: 0;
}

/* NEWSLETTER REGISTRATION SPECIFIC */

#news-pre-email {
	max-width: 320px;
	margin:0 auto;
}

footer #news-pre-email .wrapper {
	display: flex;
	flex-wrap: nowrap;
}

#news-pre-email input[type="text"] {
	border: none;
	font-size: 16px;
	padding: 0 1rem;
	height: 44px;
	line-height: 44px;
	width: 100%;
	font-family: var(--title-font);
	transition: all 0.3s;
	box-shadow: inset 0 1px 6px rgb(82, 8, 14);
	-webkit-appearance: none;
	border-radius: 15px 0 0 15px;
	background: var(--red-color);
	color: var(--light-gold-color);
	transition:all 0.3s;
}

#news-pre-email input[type="text"]:focus {
	outline: none;
	box-shadow: inset 0 0 0 1px var(--gold-color),inset 0 1px 6px rgb(82, 8, 14);
}

/* Standard */
#news-pre-email input[type="text"]::placeholder {
	color: var(--light-gold-color);
	opacity: 0.8;
	font-family: var(--title-font);
}

/* Chrome, Safari, Edge */
#news-pre-email input[type="text"]::-webkit-input-placeholder {
	color: var(--light-gold-color);
	opacity: 0.8;
	font-family: var(--title-font);
}

/* Firefox */
#news-pre-email input[type="text"]::-moz-placeholder {
	color: var(--light-gold-color);
	opacity: 0.8;
	font-family: var(--title-font);
}

/* IE 10–11 (mostly irrelevant now but harmless) */
#news-pre-email input[type="text"]:-ms-input-placeholder {
	color: var(--light-gold-color);
	font-family: var(--title-font);
}

#news-pre-email button {
	font-size: 0.875em;
	font-weight: 500;
	color: #fff;
	border: none;
	box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
	background: var(--gold-color);
	height: 44px;
	padding: 0 1rem;
	font-family: var(--title-font);
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.3s;
	-webkit-appearance: none;
	border-radius: 0 15px 15px 0;
}
