@charset "utf-8";
/* CSS Document */

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/*Firefox*/
input[type=number] {
	-moz-appearance: textfield;
}

/* Remover overflow */
html,
body {
	overflow-x: hidden;
}


header {
	background-color: var(--primary-color);
}
body {
	--primary-color: #FBF7F380;
	--secondary-color: #333;
	--form-background: #F1F1F1;
	--placeholder-color: #B1B1B1;
	--primary-button: #235754;
	--primary-button-active: #235754;
	--primary-button-shadow: #23575480;
	--secondary-button: #CEB08D;
	--secondary-button-active: #B5997B;
	--secondary-button-shadow: #DCBA64;
	--valid-input: #23A54A;
	--valid-input-background: #E8F6EC;
	--invalid-input: #B50000;
	--invalid-input-background: #F8E5E5;
	
	font-family: 'Merriweather', sans-serif;
	line-height: 1.5;
	color: var(--secondary-color);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

main {
	padding: 1rem 0;
	z-index: 5;
}
h1, .h1 {
	/*line-height: 1.42857143 !important;*/
	font-size: calc(30px + (48 - 30) * ((100vw - 300px) / (1600 - 300)));
	font-weight: 400;
	line-height: calc(27px + (76 - 27) * ((100vw - 300px) / (1600 - 300)));
	color: #000;
	letter-spacing: 2.2px;
}

h2, .h2 {
	font-size: calc(24px + (35 - 25) * ((100vw - 300px) / (1600 - 300)));
	font-weight: 500;
	line-height: 1.2;
}

h3, .h3 {
	font-size: calc(17px + (21 - 17) * ((100vw - 300px) / (1600 - 300)));
	font-weight: 400;
	line-height: calc(21px + (32 - 17) * ((100vw - 300px) / (1600 - 300)));
}

h4, .h4 {
	font-size: calc(14px + (18 - 14) * ((100vw - 300px) / (1600 - 300)));
	font-weight: 400;
	line-height: calc(14px + (20 - 8) * ((100vw - 300px) / (1600 - 300)));
}

h5, .h5 {
	font-size: calc(11px + (15 - 11) * ((100vw - 300px) / (1600 - 300)));
	line-height: calc(11px + (12 - 2) * ((100vw - 300px) / (1600 - 300)));
}

h5, .h5, h6, .h6, p, .p {
	font-weight: 300;
}

p, .p {
	font-size: calc(15px + (17 - 15) * ((100vw - 300px) / (1600 - 300)));
	line-height: 1.5;
}

::selection {
	background: var(--primary-button-active);
	color: #fff
}

.colored-text {
	color: var(--secondary-color);
}

.colored-hr {
	border-top: 1px solid var(--form-background);
}

/* Container Styling */

.container-fluid {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.inner-container {
	max-width: 1440px;
}

/* Logo Styling */

.logo-background {
	background: var(--primary-color);
}

.logo-background a:hover {
	text-decoration: none;
}

.logo {
	max-width: 100px;
	width: 100%;
}

/* Form Styling */

input, select, textarea {
	line-height: 1;
}

#TPAmount.form-control[readonly] {
	background-color: #fff;
	opacity: 1;
	border-radius: 0;
}

.form {
	font-family: 'Roboto', sans-serif !important;
	padding: 1.5em;
	border-radius: 15px;
	background: var(--form-background);
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.step-counter {
	list-style-type: none;
	margin: 0;
	padding: 0 0 2.5rem 0;

	counter-reset: step-counter;
}

.step-counter li {
	float: left;
	margin-right: 1.5rem;
}

.step-counter li:last-child {
	margin-right: 0;
}

.step-counter li::before {
	counter-increment: step-counter;
	content: counter(step-counter);
	position: relative;
	width: 2.5em;
	height: 2.5em;
	margin-right: 0.5em;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	border: 3px solid var(--secondary-button-active);
	border-radius: 50%;
	background: transparent;
	font-size: 1rem;
	font-weight: 600;
	color: var(--secondary-button-active);
}

.step-counter li.step-active::before {
	background: var(--secondary-button);
	border: 3px solid var(--secondary-button-active);
	color: #fff;
}

.step-counter li.step-completed::before {
	background: var(--secondary-button);
	border: none;
	color: #fff;
}

#currentStep {
	font-weight: 300;
	color: var(--secondary-color);
	margin: 0;
}

.form-header {
	font-family: 'Roboto', sans-serif;
	font-weight: 600;
	color: var(--secondary-color);
}

.form-field {
	margin: .25rem 0;
}

.input-label {
	width: 100%;
	margin-bottom: 0.25rem;
	font-weight: 500;
	color: var(--secondary-color);
	cursor: pointer;
}

.input-text,
.input-number,
.input-date,
.input-dropdown,
.input-textarea {
	width: 100%;
	margin: 0;
	padding: 0.9rem 2rem 0.9rem 1rem;
	background: #fff;
	border: 1px solid #D1D1D1;
	border-radius: 10px;
	box-shadow: none;
	outline: none;
	color: var(--secondary-color);
	cursor: text;
	transition: all 0.2s;
}

/* Test for Input Dropdown

.select-box {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.select-box .options-container {
	background: #FFF;
	max-height: 0;
	width: 100%;
	opacity: 0;
	transition: all 0.2s;
	border-radius: 0 0 10px 10px;
	overflow: hidden;
	
	order: 1;
}

.selected {
	background: #FFF;
	border: 1px solid #D1D1D1;
	border-radius: 10px;
	position: relative;
	transition: all 0.2s;
	
	order: 0;
}

.selected::after {
	content: "\f0d7";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	
	position: absolute;
	right: 10px;
	top: 5px;
	background: var(--form-background);
	padding: 10px;
	border-radius: 10px;
	
	transition: all 0.2s;
}

.selected:hover,
.selected:focus {
	border: 1px solid var(--secondary-color);
	
}

.select-box .options-container.active-option {
	max-height: 240px;
	border: 1px solid var(--secondary-color);
	box-shadow: 0 2px 8px rgba(173, 173, 173, 1);
	opacity: 1;
	overflow-y: scroll;
}

.select-box .options-container.active-option + .selected {
	border: 1px solid var(--secondary-color);
	border-radius: 10px 10px 0 0;
	box-shadow: 0 2px 8px rgba(173, 173, 173, 1);
}

.select-box .options-container.active-option + .selected::after {
	background: #D1D1D1;
	transform: rotateX(180deg);
}

.select-box .options-container::-webkit-scrollbar {
	width: 8px;
	background-color: #D1D1D1;
	border-radius: 0 0 10px 0;
}

.select-box .options-container::-webkit-scrollbar-thumb {
	background: #AEAEAE;
	border-radius: 10px;
}

.select-box .option,
.selected {
	padding: 0.9rem 2rem 0.9rem 1rem;
	cursor: pointer;
}

.select-box .option:hover,
.select-box .option:focus {
	background: var(--form-background);
}

.select-box label {
	margin: 0;
	cursor: pointer;
}

.select-box .option .radio-option {
	position: fixed;
	opacity: 0;
	pointer-events: none;
}

*/

.input-dropdown {
	color: var(--secondary-color);
	height: 49.78px;
	cursor: pointer;
}

.input-textarea {
	width: 100%;
	min-height: 150px;
	overflow: hidden;
	line-height: 1.4;
}

.input-text:hover,
.input-number:hover,
.input-date:hover,
.input-dropdown:hover,
.input-textarea:hover,
.stepper-wrapper:hover {
	border: 1px solid var(--secondary-color);
}

.input-text:focus,
.input-number:focus,
.input-date:focus,
.input-dropdown:focus,
.input-textarea:focus,
.stepper-wrapper:focus-within {
	border: 1px solid var(--secondary-color);
	box-shadow: 0 2px 8px rgba(173, 173, 173, 1);
}

input:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow:0 0 0 50px #E8F6EC inset; /* Change the color to your own background color */
}

input:-webkit-autofill:focus,
select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 50px #E8F6EC inset;/*your box-shadow*/
} 

/* Date picker specific styling */

.input-date::-webkit-input-placeholder {
    color: #00C851;
}

.input-date:-moz-placeholder {
   color: #00C851;
   opacity: 1;
}

.input-date::-moz-placeholder {
   color: #00C851;
   opacity: 1;
}

input::-webkit-datetime-edit-day-field:focus,
input::-webkit-datetime-edit-month-field:focus,
input::-webkit-datetime-edit-year-field:focus {
    background: var(--primary-button-active);
    color: #fff;
    outline: none;
}

input[type="date"]::-webkit-calendar-picker-indicator { 
	position: absolute; 
}

input[type="date"]::-webkit-calendar-picker-indicator:hover { 
	cursor: pointer;
}

input::-webkit-datetime-edit { 
	position: relative; 
	left: 15px;
}

input::-webkit-datetime-edit-fields-wrapper { 
	position: relative; 
	left: 15px;
}

.input-optional {
	font-weight: 300;
}

::-webkit-input-placeholder {
	color: var(--placeholder-color);
}

::-moz-placeholder {
	color: var(--placeholder-color);
	opacity: 1;
}

:-moz-placeholder {
	color: var(--placeholder-color);
	opacity: 1;
}

.disabled {
	padding: 0.9rem 2rem 0.9rem 1rem;
	background: transparent;
	border: 1px solid #D1D1D1;
	border-radius: 10px;
	font-weight: 500;
}

.disabled:hover {
	border: 1px solid #D1D1D1;
}

.disabled:focus {
	border: none;
	border: 1px solid var(--primary-color);
	border-radius: 10px;
	box-shadow: none;
}

/* Input Stepper Styling */

.stepper-wrapper {
	display: flex;
	height: 50px;
	border: 1px solid #D1D1D1;
	border-radius: 10px;
	box-shadow: none;
	transition: all 0.2s;
}

.input-stepper {
	width: 100%;
	margin: 0;
	padding: 0.75rem 2rem 0.75rem 1rem;
	border: none;
	border-radius: 10px 0 0 10px;
	box-shadow: none;
	outline: none;
	color: var(--primary-color);
	transition: all 0.2s;
}

#increment,
#decrement {
	width: 75px;
	height: 24px;
	background: var(--form-background);
	border: none;
	border-left: 1px solid #D1D1D1;
	transition: all 0.2s;
}

#increment:hover,
#increment:focus,
#decrement:hover,
#decrement:focus {
	background: #D1D1D1;
	outline: none;
}

#increment:active,
#decrement:active {
	border: 1px solid var(--primary-color); 
}

#increment {
	border-radius: 0 10px 0 0;
}

#decrement {
	border-top: 1px solid #D1D1D1;
	border-radius: 0 0 10px 0;
}

/* Validation Styling */

.valid-input {
	background: var(--valid-input-background);
	border: 1px solid var(--valid-input);
}

.valid-input:hover {
	border: 1px solid var(--valid-input);
}

.valid-input:focus {
	border: 1px solid var(--valid-input); 
	box-shadow: 0 2px 8px var(--valid-input-background);
}

.valid-input.disabled {
	background: transparent;
	border: 1px solid var(--valid-input);
	border-radius: 10px;
}

.form-field .input-wrapper.valid::after {
	content: "";
	position: absolute;
	right: 1.75rem;
	width: 1.25em;
	height: 1.25em;
	margin-top: 1em;
	background-image: url("../images/green-checkmark.svg");
	background-repeat: no-repeat;
	background-size: 1.25em 1.25em;
	z-index: 2;
}

.form-field .textarea-wrapper.valid::after {
	content: "";
	position: absolute;
	right: 1.75rem;
	width: 1.25em;
	height: 1.25em;
	margin-top: 4em;
	background-image: url("../images/green-checkmark.svg");
	background-repeat: no-repeat;
	background-size: 1.25em 1.25em;
	z-index: 2;
}

.form-field .dropdown-wrapper.valid::after {
	content: "";
	position: absolute;
	right: 2.25rem;
	width: 1.25em;
	height: 1.25em;
	margin-top: 1em;
	background-image: url("../images/green-checkmark.svg");
	background-repeat: no-repeat;
	background-size: 1.25em 1.25em;
	z-index: 2;
}

.invalid-input {
	background: var(--invalid-input-background);
	border: 1px solid var(--invalid-input);
}

.invalid-input:hover {
	border: 1px solid var(--invalid-input);
}

.invalid-input:focus {
	border: 1px solid var(--invalid-input); 
	box-shadow: 0 2px 8px var(--invalid-input-background);
}

.invalid-input.disabled {
	background: transparent;
	border: 1px solid var(--invalid-input);
	border-radius: 10px;
}

.form-field .input-wrapper.invalid::after {
	content: "";
	position: absolute;
	right: 1.75rem;
	width: 1.25em;
	height: 1.25em;
	margin-top: 1em;
	background-image: url("../images/red-x.svg");
	background-repeat: no-repeat;
	background-size: 1.25em 1.25em;
	z-index: 2;
}

.form-field .textarea-wrapper.invalid::after {
	content: "";
	position: absolute;
	right: 1.75rem;
	width: 1.25em;
	height: 1.25em;
	margin-top: 4em;
	background-image: url("../images/red-x.svg");
	background-repeat: no-repeat;
	background-size: 1.25em 1.25em;
	z-index: 2;
}

.form-field .dropdown-wrapper.invalid::after {
	content: "";
	position: absolute;
	right: 2.25rem;
	width: 1.25em;
	height: 1.25em;
	margin-top: 1em;
	background-image: url("../images/red-x.svg");
	background-repeat: no-repeat;
	background-size: 1.25em 1.25em;
	z-index: 2;
}

.error-message {
	display: inline-block;
	width: 150%;
	margin: 0 !important;
	color: var(--invalid-input);
}

.input-message,
.error-message,
.notice-expanded p {
	margin: -0.25rem 0 0.25rem;
	font-size: 80%;
	font-weight: 400;
}

.notice {
	padding: 0 0.25rem;
	color: var(--secondary-color);
	text-decoration: underline;
	transition: all 0.2s;
}

.notice:hover,
.notice:focus {
	outline: none;
	background: #D1D1D1;
	border-radius: 5px;
	color: var(--secondary-color);
}

.notice::before {
	content: "\f0da";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	float: left;
}

.is-open.notice:focus::before {
	transform: rotate(90deg);
}

.notice-expanded {
	padding-left: 0.5rem;
	border-left: 3px solid var(--secondary-color);
}

.message-spacer {
	margin-top: auto;
}

/* Radio Buttons - Normal */

.radio {
	font-size: calc(14px + (18 - 14) * ((100vw - 300px) / (1600 - 300)));
	color: var(--primary-color);
	display: grid;
	grid-template-columns: min-content auto;
	grid-gap: 0.5em;
	margin-top: 0.3em;
	cursor: pointer;
}

.radio-input {
	display: flex;
}

.radio-input input,
.radio-pills input[type="radio"] {
	position: fixed;
	opacity: 0;
	pointer-events: none;
}

.radio-input input:checked + .radio-control {
	border-color: var(--secondary-button);
}

.radio:hover .radio-control,
.radio-input input:focus + .radio-control {
	border-color: var(--secondary-button);
	box-shadow: 0 0 0.15em 0.1em var(--secondary-button-shadow), 0 0 0.15em 0.1em #fff;
}

.radio-control {
	display: grid;
	place-items: center;
	width: 1.5em;
	height: 1.5em;
	border-radius: 50%;
	border: 0.15em solid var(--secondary-color);
	transform: translateY(-0.3em);
	transition: all 0.2s;
}

input + .radio-control::before {
	content: "";
	width: 1em;
	height: 1em;
	box-shadow: inset 1em 1em var(--secondary-button);
	border-radius: 50%;
	transition: 0.2s transform ease-in-out;
	transform: scale(0);
}

input:checked + .radio-control::before {
	transform: scale(1);
}

.radio-label {
	line-height: 1;
}

/* Radio Buttons - Pills */

.radio-pills {
	width: 100%;
	display: inline-block;
	margin: 0;
	border: solid 2px var(--secondary-button);
	border-radius: 10px;
	box-shadow: none;
	overflow: hidden;
	transition: all 0.2s;
}

.radio-pills:hover,
.radio-pills:focus-within {
	box-shadow: 0 0 0.15em 0.1em var(--secondary-button-shadow), 0 0 0.15em 0.1em #fff;
}

.radio-pills label {
	width: 50%;
	display: inline-block;
	margin: 0;
	padding: 0.75em 1.5em;
	color: var(--secondary-button);
	font-weight: bold;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s;
}

.radio-pills label:hover,
.radio-pills label:focus {
	background: #fff;
}

.radio-pills input:checked + label {
	color: #fff;
	background: var(--secondary-button);
}

/* Main CTA Button */

.btn-main {
	float: right;
	display: inline-block;
  	vertical-align: middle;
  	-webkit-transform: perspective(1px) translateZ(0);
  	transform: perspective(1px) translateZ(0);
  	-webkit-transition-duration: 0.1s;
  	transition-duration: 0.1s;
	background-color: var(--primary-button);
	border: none;
	border-radius: 20rem;
	font-weight: 500;
	color: #fff;
	padding: 1em 2em;
}

.btn-main i {
	-webkit-transform: translateZ(0);
  	transform: translateZ(0);
  	-webkit-transition-duration: 0.1s;
  	transition-duration: 0.1s;
  	-webkit-transition-property: transform;
  	transition-property: transform;
  	-webkit-transition-timing-function: ease-out;
  	transition-timing-function: ease-out;
	padding-left: 0.25rem;
	color: #fff;
}

.btn-main:hover, .btn-main:focus {
	color: #fff;
	box-shadow: 0 0 0.15em 0.1em var(--primary-button-shadow), 0 0 0.15em 0.1em #fff;
	outline: none;
}

.btn-main:active {
	background-color: var(--primary-button-active);
	transform: scale(0.95);
}

.btn-main:hover i, .btn-main:focus i, .btn-main:active i {
	-webkit-transform: translateX(4px);
  	transform: translateX(4px);
}

/* Secondary CTA Button */

.btn-secondary {
	float: left;
	display: inline-block;
  	vertical-align: middle;
  	-webkit-transform: perspective(1px) translateZ(0);
  	transform: perspective(1px) translateZ(0);
  	-webkit-transition-duration: 0.1s;
  	transition-duration: 0.1s;
	background: transparent;
	border: none;
	font-weight: 500;
	color: var(--primary-button);
	padding: 0.5em 1em 0.5em 0;
}

.btn-secondary i {
	-webkit-transform: translateZ(0);
  	transform: translateZ(0);
  	-webkit-transition-duration: 0.1s;
  	transition-duration: 0.1s;
  	-webkit-transition-property: transform;
  	transition-property: transform;
  	-webkit-transition-timing-function: ease-out;
  	transition-timing-function: ease-out;
	padding-right: 0.25rem;
	color: var(--primary-button);
}

.btn-secondary:hover, .btn-secondary:focus {
	background: transparent;
	border: none;
	text-decoration: underline;
	color: var(--primary-button);
	outline: none;
}

.btn-secondary:active {
	background: transparent;
	color: var(--primary-button-active);
	transform: scale(0.95);
}

.btn-secondary:active i {
	color: var(--primary-button-active);
}

.btn-secondary:hover i, .btn-secondary:focus i, .btn-secondary:active i {
	-webkit-transform: translateX(-4px);
  	transform: translateX(-4px);
}

/* Footer Styling */

footer {
	margin-top: auto;
	z-index: 3;
}

.footer-background {
	background-color: var(--primary-color);
	width: 100%;
}

.footer-text a {
	color: var(--primary-button);
	font-weight: 700;
}

.footer-text a:hover,
.footer-text a:focus {
	text-decoration: underline;
	outline: none;
}

.electpay img {
	width: 380px;
}

/* Media Queries */

@media (min-width: 576px) {
	.electpay {
		margin-left: auto;
	}
}

@media (max-width: 1199px) {
	main {
		background-size: 100% auto;
	}
}

@media (max-width: 575px) {
	main {
		padding: 3rem 0 0 0;
		background-position: top;
	}
	
	.form {
		padding: 2.5em 1em;
		border-radius: 0;
	}
	
	.step-counter li::before {
        width: 2em;
        height: 2em;
    }
	
	.message-spacer {
		margin: 0.75rem 0;
	}
	
	.btn-main {
		width: 100%;
	}
	
	.btn-secondary {
		width: 100%;
		margin-top: 1rem;
	}
	
	.electpay {
		margin: 0 auto !important;
	}
}