input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="date"], input[type="search"], input[type="url"], input[type="url"], input[type="time"], input[type="week"],
textarea, 
select {
    border: 1px solid #CFC9C0;
    height: 50px;
    padding: 10px;
    font-family: inherit;
    outline: none;
    border-radius: 4px;
    width: 100%;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    color: #5B1E10;
}

input[type="text"]::-webkit-input-placeholder { opacity: 1; color: #5B1E10; }
input[type="text"]:-moz-placeholder { opacity: 1; color: #5B1E10; }
input[type="text"]::-moz-placeholder { opacity: 1; color: #5B1E10; }
input[type="text"]:-ms-input-placeholder { opacity: 1; color: #5B1E10; }

input[type="email"]::-webkit-input-placeholder { opacity: 1; color: #5B1E10; }
input[type="email"]:-moz-placeholder { opacity: 1; color: #5B1E10; }
input[type="email"]::-moz-placeholder { opacity: 1; color: #5B1E10; }
input[type="email"]:-ms-input-placeholder { opacity: 1; color: #5B1E10; }

input[type="tel"]::-webkit-input-placeholder { opacity: 1; color: #5B1E10; }
input[type="tel"]:-moz-placeholder { opacity: 1; color: #5B1E10; }
input[type="tel"]::-moz-placeholder { opacity: 1; color: #5B1E10; }
input[type="tel"]:-ms-input-placeholder { opacity: 1; color: #5B1E10; }

textarea::-webkit-input-placeholder { opacity: 1; color: #5B1E10; }
textarea:-moz-placeholder { opacity: 1; color: #5B1E10; }
textarea:-moz-placeholder { opacity: 1; color: #5B1E10; }
textarea:-ms-input-placeholder { opacity: 1; color: #5B1E10; }

textarea {
    height: initial;
}

fieldset legend,
label {
    font-size: 12px;
    font-weight: 700;
}

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

input[type="checkbox"],
input[type="radio"] {
    margin: 0;
    padding: 0;
    display: inline-block;
    cursor: pointer;
}

.gfield_radio,
.gfield_checkbox {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 8px 0;
}
.gchoice {
    display: flex;
    gap: 7px;
    align-items: flex-start;
    line-height: 1.6;
}
.gchoice input {
    margin-top: 3px;
}
.gchoice label {
    cursor: pointer;
}

.gfield_validation_message,
.gfield_error label {
    color: #FA7D5A;
}
.gfield_validation_message {
    font-size: 12px;
}

.gfield_error select,
.gfield_error textarea,
.gfield_error input {
    border-color: #FA7D5A;

}

.gform_wrapper input[type="button"],
.gform_wrapper input[type="submit"]{
    min-width: 156px;
    min-height: 50px;
	background-color: #A11E21;
    border: 1px solid #A11E21;
    color: #fff;
    font-weight: 700;
    padding: 16.5px 26px;
    line-height: 1;
    transition: background-color .3s ease, opacity .3s ease, color .3s ease;
}

.gform_wrapper input[type="button"],
.gform_wrapper input[type="submit"]:hover{
	border-color: #5B1E10;
    background: #5B1E10;
    color: #fff;
}

.gform_submission_error {
    font-size: 16px;
    color: #FA7D5A;
}

.gform_fields {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}
.gform_fields .gfield {
    grid-column: span 12 /auto;
}
.gform_fields .gfield--width-half {
    grid-column: span 6 /auto;
}
.gform_fields .gfield--width-third {
    grid-column: span 4 /auto;
}
.gform_fields .gfield--width-two-thirds {
    grid-column: span 8 /auto;
}
.gform_fields .gfield--width-quarter {
    grid-column: span 3 /auto;
}
.gform_fields .gfield--width-three-quarter {
    grid-column: span 9 /auto;
}
.gform_fields .gfield--width-five-twelfths {
    grid-column: span 5 / auto;
}
.gform_fields .gfield--width-seven-twelfths {
    grid-column: span 7 / auto;
}

/* Check/Radio */
.ginput_container_consent input[type="checkbox"],
.gfield-choice-input {
	opacity: 0;
	position: absolute;
}
.gchoice {
	margin: 7px 0;
}
.ginput_container_consent label,
.gchoice label {
    position: relative;
    padding-left: 32px;
    min-height: 20px;
    display: inline-flex;
	align-items: center;
    cursor: pointer;
}
.ginput_container_consent label:before,
.gchoice label:before {
    content: '';
	position: absolute;
    left: 0;
    top: 0;
	width: 20px;
	height: 20px;
	border: 2px solid #5B1E10;
    pointer-events: none;
}
.ginput_container_consent.selected label:before,
.gchoice.selected label:before {
    border-color: #5B1E10;
}
.ginput_container_consent label:after,
.gchoice label:after {
	content: '';
	position: absolute;
	width: 13.5px;
	height: 13.5px;
	background: #A11E21;
	left: 3px;
	top: 3px;
    transform: scale(0);
    transition: transform .3s ease;
    pointer-events: none;
}
.ginput_container_consent.selected label:after,
.gchoice.selected label:after {
    transform: scale(1);
}
.gfield_radio .gchoice label:before,
.gfield_radio .gchoice label:after {
    border-radius: 50%;
}


/* Custom Dropdown */
.ff-custom-dropdown {
    position: relative;
}
.ff-custom-dropdown .selected-text {
    border: 1px solid #CFC9C0;
	background-color: #fff;
	border-radius: 4px;
	min-height: 50px;
	padding: 10px 35px 10px 10px;
	cursor: pointer;
    position: relative;
}
.ff-custom-dropdown .selected-text:after {
	content: '\e90b';
	font-family: 'icomoon';
	pointer-events: none;
	position: absolute;
	right: 15px;
}
.ff-custom-dropdown.show-options .selected-text:after {
    content: '\e90c';
}
.ff-custom-dropdown .options {
    display: none;
	position: absolute;
	width: 100%;
	background: #fff;
	z-index: 100;
	border: 1px solid #CFC9C0;
	border-radius: 5px;
	max-height: 300px;
	overflow: auto;
}
.ff-custom-dropdown.show-options .options {
    display: block;
}
.ff-custom-dropdown .option {
    cursor: pointer;
    padding: 4px 12px;
}
.ff-custom-dropdown .option:last-child {
    border-bottom: none;
}
.ff-custom-dropdown .option.selected,
.ff-custom-dropdown .option:hover {
    background-color: #F7EADF;
}


/*  Custom Upload Field */
.custom-upload{
	margin-top: -15px;
	margin-bottom: 30px;
	
}
.custom-upload .gform_fileupload_rules{
    display: none !important;
	
}
.custom-upload ::-webkit-file-upload-button {
	background: #fff;
	color: #A11E21;
	border: 2px #A11E21 solid;
	border-radius: 4px;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 600;
	padding: 12px 30px 12px 30px;
	cursor: pointer;
	margin-right: 20px;
	transition: background .3s ease, color .3s ease;
	
}

.custom-upload ::-webkit-file-upload-button:hover {
	background: #5B1E10;
	color: #fff;
	border: 2px #5B1E10 solid;
	
}
.custom-upload .ginput_container{
	position: relative;
	border-radius: 4px;
	
}
.custom-upload input{
	padding: 0;
	background: transparent;
	border-radius: 5px;
	
}
.custom-upload .gform-field-label{
	display: block;
	font-size: 16px;
}
/*.custom-upload .ginput_container:after{
	content: '';
	background: url(../images/svg/upload-icon.svg) no-repeat;
	width: 15px; 
	height: 16px;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 145px;
	margin: auto;
	transition: top .5s ease;
	pointer-events: none;
}
.custom-upload .ginput_container:hover:after{
	top: -5px;
}*/


.form-message{
	position: relative;
	color: #fff;
	border-radius: 5px;
	border: 1px solid #F36B2D;
	background:  #FD883A;
	background: linear-gradient(100deg, #FD883A 0.39%, #F36B2D 97.42%);
	font-size: 16px;
	line-height: 1.3;
	font-weight: normal;
	padding: 16px 20px 16px 60px;
    margin-top: 10px;
	margin-bottom: 40px;
}

.form-message:before{
	content: '\e931';
	font-family: 'icomoon';
	font-size: 23px;
	font-weight: normal;
	position: absolute;
	left: 20px;
	top: 10px;
}

@media(max-width:767px){
    .gform_fields div.gfield {
        grid-column: span 12 /auto;
    }
}

.ginput_complex {
    display: flex;
    gap: 10px;
}

.honeypot, .gfield--type-honeypot {
    position: absolute !important;
    z-index: 0;
    pointer-events: none;
    visibility: hidden;
}

.gform_required_legend {
    display: none;
}

.gform_ajax_spinner {
    position: absolute;
}

.ginput_container_date {
    position: relative;
}
.ginput_container_date .gform-datepicker {
    padding-right: 30px;
}
.ginput_container_date .ui-datepicker-trigger {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 14px;
}

.ui-datepicker {
    box-shadow: 0 0 17px 0 rgb(0 0 0 / 10%);
    background: #fff;
}
.ui-datepicker-calendar {
    width: 100%;
}
.ui-datepicker-calendar th {
	padding: 5px 10px;
	text-align: center;
	text-transform: uppercase;
	font-size: 12px;
}
.ui-datepicker-calendar td {
	padding: 5px;
	text-align: center;
}
body .ui-datepicker:not(.gform-legacy-datepicker) a.ui-state-default,
.ui-datepicker-calendar .ui-state-default {
	font-weight: 700;
	width: 35px;
	height: 35px;
	line-height: 35px;
}
.ui-datepicker-calendar span.ui-state-default {
	opacity: .3;
}
.ui-datepicker-header select {
    min-height: initial;
    padding: 6px 8px;
    height: initial;
    font-size: 13px;
    font-weight: 700;
}
.ui-datepicker-header .ui-datepicker-next,
.ui-datepicker-header .ui-datepicker-prev {
    font-size: 12px;
    font-weight: 700;
    margin: 10px;
    display: inline-block;
}
.ui-datepicker-header {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    gap: 8px;
    justify-content: space-between;
}
.ui-datepicker-title {
    display: flex;
    gap: 10px;
    width: 100%;
}
.ui-datepicker-calendar a {
    text-decoration: none;
    display: inline-block;
    border-radius: 50%;
}
.ui-datepicker-calendar a:hover {
    background: #f5f5f5;
}
.ui-datepicker a.ui-state-active,
.ui-datepicker a.ui-state-active:hover,
.ui-datepicker:not(.gform-legacy-datepicker) a.ui-state-active,
.ui-datepicker:not(.gform-legacy-datepicker) a.ui-state-active:hover {
	background-color: #8d8d8d;
	color: #fff;
}

.hidden_label .gfield_label {
    display: none;
}

/* Elementor editor fixes */
.elementor-editor-active select {
    padding: 0 5px;
}
.ff-short-c {

    display: flex;
    align-items: center;
    width: 100%;
    max-width: 839px;
    min-height: 60px;
    flex-shrink: 0;
    border-radius: 4px;
    border: 1px solid  #F0ECE4;
    background:  #F7F4EE;
    padding: 20px 0px 20px 63px;
    margin-bottom: 24px;
    position: relative
}

.ff-short-c:before {
    content: '';
    background: url(/wp-content/themes/aom/images/ico-alert-triangle.webp) no-repeat;
    background-size: cover;
    width: 24px;
    height: 24px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    margin: auto;
    transition: top .5s ease;
    pointer-events: none;
}