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 #E9ECEF;
    background: #fff;
    color: inherit;
    height: 50px;
    padding: 10px 16px;
    font-family: inherit;
    outline: none;
    border-radius: 4px;
    width: 100%;
}
input[type="text"]::placeholder, input[type="email"]::placeholder, input[type="password"]::placeholder, input[type="tel"]::placeholder, input[type="number"]::placeholder, input[type="date"]::placeholder, input[type="search"]::placeholder, input[type="url"]::placeholder, input[type="url"]::placeholder, input[type="time"]::placeholder, input[type="week"]::placeholder,
textarea::placeholder{
    font-family: inherit;
    color: inherit;
}

textarea {
    height: initial;
}

fieldset legend,
label {
    font-size: 16px;
    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: #1C9F92;
}
.gfield_validation_message {
    font-size: 12px;
}

.gfield_error select,
.gfield_error textarea,
.gfield_error input {
    border-color: #1C9F92;
}

/* .gform_wrapper input[type="button"],
.gform_wrapper input[type="submit"]{
	background-color: #2CC6FA;
    border: 1px solid #2CC6FA;
    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: #20a7d5;
    background: #20a7d5;
    color: #fff;
} */

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

.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;
}

@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;
}

form .note {
	position: relative;
	background: #EFF8F7;
	border: 1px solid #E9ECEF;
	padding: 14px 20px 14px 68px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.75;
	border-radius: 4px;
}
form .note:before {
	content: '';
	display: inline-block;
	height: 24px;
	width: 24px;
	background: url('/wp-content/uploads/2024/05/z-icoalert-triangle.svg') no-repeat center;
	background-size: 24px;
	position: absolute;
	left: 22px;
	top: 14px;
}

/*  Custom Upload Field */
.custom-upload{
	margin-bottom: 18px;
	position: relative;
}
.custom-upload .gform_fileupload_rules{
    display: none !important;
}
.custom-upload ::-webkit-file-upload-button {
	all: unset;
	box-sizing: border-box;
	line-height: 1;
	background: #fff;
	color: #2A4273;
	border: 0;
	border-radius: 60px;
	padding: 15px 30px;
	cursor: pointer !important;
	margin-right: 20px;
	font-size: 16px;
	font-weight: 700;
	border: 2px solid #2A4273;
	min-width: 160px;
	transition: all 0.3s ease;
}
.custom-upload:hover input[type="file"]::-webkit-file-upload-button {
    background-color: #2A4273;
    color: #fff;
}
.custom-upload .ginput_container{
	position: relative;
    margin-bottom: 0px;
	/* border: 1px #495056 solid;
	border-radius: 10px; */
}
.custom-upload input{
	all: unset;
	font-family: 'Montserrat', sans-serif;
	background: transparent;
	width: 100%;
	font-size: 16px;
	font-weight: 700;
	color: #2A4273;
}
.custom-upload .gfield_required_text{
	display: none;
}
/* custom file button text using field name */
.custom-upload.custom-upload-btn-text > label{
    display: inline-grid;
    place-content: center;
    height: 50px; /*must equal to .custom-upload ::-webkit-file-upload-button height */ 
    min-width: 160px; /*must equal to .custom-upload ::-webkit-file-upload-button width */    
    color: #2A4273;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
	text-transform: uppercase;
    font-weight: 700;
    line-height: 1;
    z-index: 1;
    pointer-events: none;
    position: absolute;
    left: 0;
    top: 0;
    transition: color 0.3s;
}
.custom-upload.custom-upload-btn-text:hover > label{
	color: #fff;
}
/* hide the default file button text */
.custom-upload.custom-upload-btn-text ::-webkit-file-upload-button  {
    text-indent: -9999px; 
    white-space: nowrap;     
}
.custom-upload.custom-upload-btn-text .gform_delete_file {
	padding: 0;
	background: 0;
	border: none;
	color: inherit;
	margin-left: 10px;
}


/* custom dropdown */
.ff-custom-dropdown {
    position: relative
}
.ff-custom-dropdown .selected-text {
    border-radius: 4px;
    border: 1px solid #E9ECEF;
    padding: 16px 30px 16px 16px;
    cursor: pointer;
    position: relative;
    font-weight: 700;
    background-color: #fff;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}
.ff-custom-dropdown .selected-text:after {
    content: '\e90b';
    font-family: 'icomoon';
    pointer-events: none;
    position: absolute;
    right: 16px;
    font-size: 20px;
    top: 16px;
	color: inherit;
    font-weight: 400
}
.ff-custom-dropdown.show-options .selected-text:after {
    content: '\e90c'
}
.ff-custom-dropdown .options {
    display: none;
    position: absolute;
    width: 100%;
    z-index: 100;
    max-height: 300px;
    overflow: auto;
    border-radius: 4px;
    border: 1px solid #D6E1EE;
    color: inherit;
    background: #fff;
    box-shadow: 0px 0px 17px 0px rgba(2,6,19,.12);
    padding: 11px;
    font-weight: 400;
    top: calc(100% + 2px);
}
.ff-custom-dropdown.show-options .options {
    display: block
}
.ff-custom-dropdown .option {
    cursor: pointer;
    padding: 4px 12px;
    line-height: 1.75;
    transition: color .3s, opacity 0.3s;
}
.ff-custom-dropdown .option:last-child {
    border-bottom: none;
}
.ff-custom-dropdown .option.selected,.ff-custom-dropdown .option:hover {
    opacity: 0.5;
}


/* checkbox and radio */
.gfield_checkbox .gfield-choice-input,
.gfield--type-radio .gfield-choice-input{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: grid;
    place-content: center;
    border-radius: 1px;
    height: 20px;
    width: 20px;
    border: 2px solid #2A4273;
    background: #fff
}
.gfield_checkbox .gfield-choice-input:before,
.gfield--type-radio .gfield-choice-input:before{
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 1px;
    background: #1C9F92;
    scale: 0;
    transition: scale .5s
}
.gfield--type-radio .gfield-choice-input,
.gfield--type-radio .gfield-choice-input:before{
    border-radius: 50%
}
.gfield_checkbox .gfield-choice-input:checked:before,
.gfield--type-radio .gfield-choice-input:checked:before{
    scale: 1
}

/*html section*/
form .sec {
	font-size: 16px;
	font-weight: 700;
	line-height: 28px;
	border-radius: 5px;
	background: var(--Gradient-2, linear-gradient(97deg, #E8F5F4 0%, #E4EEFF 100%));
	padding:  3px 12px;
	width: fit-content;
	&.dark {
		background: #2A4273;
		color: #fff;
	}
}
/* attachment note */
form .attachment-note {
	font-weight: 700;
	margin-bottom: -10px;
}

form .gfield--type-date .ginput_container_date {
	position: relative;
}
form .gfield--type-date .ginput_container_date:before {
	content: '\e932';
	font-size: 20px;
	font-weight: normal;
	font-family: 'icomoon';
	display: inline-block;
	position: absolute;
	top: 7px;
	right: 15px;
	pointer-events: none;
}

form .divider {
    height: 2px;
    background: #E9ECEF;
    margin-top: 13px;
}


@media (max-width: 767px) {
    .gform_fields {
        grid-column-gap: 0;
    }    
}