body, p {
    font-family: var(--body-font);
    color: var(--body-color);
}
.powermail_form {
    width: 80%;
    margin: auto;
}
.powermail_fieldwrap.layout1 {
    width: 50%;
    float: left;
    padding-right: 10px;
}
.powermail_fieldwrap.layout2 {
    width: 50%;
    float: right;
    padding-left: 10px;
}

.form-title {
    position: relative;
    font-size: 40px;
    font-weight: 700;
    color: #1f3b63;
    margin-top: 70px;
    margin-bottom: 30px;
    padding-bottom: 15px;
}
.form-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28%;
    height: 3px;
    background: #c9a24d;
}
.label
{
    font-size: 12px;
    font-weight: bold;
}
.mandatory
{
    color: red;
}
@media (max-width: 991px)
{
    .form-title
    {
        font-size: 28px;
    }
}

@media (max-width: 767px)
{
    .form-title::after
    {
        width: 75%;
    }
}
@media (max-width: 767px)
{
    .powermail_fieldwrap.layout1 
    {
        width: 100%;
        padding-right: 0;
    }
    .powermail_fieldwrap.layout2 
    {
        width: 100%;
        padding-left: 0;
    }
}
.powermail-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    border-bottom: 2px solid #c9a24d;
    padding-bottom: 10px;
}
.powermail_field input {
    width: 100%;
    padding: 14px;
    border: none;
    background: #f6f6f6;
}
.powermail_input,
.powermail_textarea,
.powermail_select {
    width: 100%;
    border: none;
    border-bottom: 1px solid #d6d6d6;
    padding: 12px 4px;
    font-size: 15px;
    background: #F6F6F6;
    border-radius: 0;
    transition: background-color 0.2s;
    --webkit-transition: background-color 0.2s;
    --moz-transition: background-color 0.2s;
    transition: background-color 0.2s;
    --webkit-transition: background-color 0.2s;
    --moz-transition: background-color 0.2s;
}
.powermail_input:hover,
.powermail_textarea:hover,
.powermail_select:hover {
    background-color: #EDEDED;
}

.powermail_input:hover,
.powermail_textarea:hover,
.powermail_select:hover {
    background-color: #EDEDED;
}
.powermail_fieldwrap_type_phone input {
    padding-left: 60px;
}

.powermail_form_error .powermail_field_error{
    border-left: 2px solid #D9534F;
}
.powermail-errors-list {
    list-style-type: none;
    background: #FDEAEA;
    color: #D9534F;
    font-size: 13px;
    margin-top: 6px;
    padding-left: 10px;
}
.powermail_tab_navigation {
    display: flex;
    margin-top: 40px;
}
.submit-button {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 40px;
}
.powermail_tab_navigation .next-button,
.submit-button input[type="submit"]{
    margin-left: auto;
}
.submit-button
{
    float: right;
}
.powermail_tab_navigation .prev-button {
    margin-right: auto;
}

.powermail_tab_navigation button,
.submit-button input[type="submit"],
.powermail_submit input {
    background: #c9a24d;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}
.powermail_tab_navigation button:hover,
.submit-button input[type="submit"]:hover,
.powermail_submit input:hover {
    opacity: 1;
}
.powermail_multistep_navigation {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 60px 0 40px; 
    background: none;
}
.powermail_multistep_navigation::before {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #777;
    z-index: 1;
}
.powermail_multistep_navigation::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    height: 1px;
    background: #c9a24d;
    z-index: 2;
    transition: width 0.4s ease-in-out;
    width: 0%;
}
.powermail_multistep_navigation:has(.btn:nth-child(1).btn-primary)::after {
    width: 25%; 
}
.powermail_multistep_navigation:has(.btn:nth-child(2).btn-primary)::after {
    width: 75%; 
}
.powermail_multistep_navigation .btn {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none !important;
    border: none !important;
    padding: 0;
    color: #777;
    font-size: 13px;
    z-index: 3;
}
.powermail_multistep_navigation .btn::after {
    content: "";
    width: 10px;
    height: 10px;
    background: #777;
    border-radius: 50%;
    margin-top: 12px;
    z-index: 4;
    transition: all 0.3s ease;
}
.powermail_multistep_navigation .btn.btn-primary::after {
    color: #c9a24d;
}

.powermail_multistep_navigation .btn.btn-primary::after {
    background: #c9a24d;
    transform: scale(1.5);
}

.powermail_form .select2-container--default .select2-selection--single {
    background: #f6f6f6 !important;
    border: none !important;
    border-bottom: 1px solid #d6d6d6 !important;
    border-radius: 0 !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: none !important;
}
.powermail_form .select2-container--default .show2-selection__rendered,
.powermail_form .select2-container--default .select2-selection__rendered {
    color: #333 !important;
    padding-left: 14px !important;
    padding-right: 40px !important;
    line-height: 44px !important;
    font-size: 15px !important;
}
.powermail_form .select2-container--default .select2-selection__arrow {
    height: 44px !important;
    right: 12px !important;
    top: 0 !important;
}
.powermail_form .select2-container--default .select2-selection--single:hover {
    background: #ededed !important;
}
.powermail_form .select2-container--default .select2-dropdown {
    border: 1px solid #d6d6d6 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.powermail_form .select2-results__option {
    font-size: 14px !important;
    padding: 10px 14px !important;
}
.powermail_form .select2-container--default
.select2-results__option--highlighted.select2-results__option--selectable {
    background: #c9a24d !important;
    color: #fff !important;
}
.select2-container--default .select2-selection--single {
    background: #f2f2f2 !important;
    border: 1px solid #d6d6d6 !important;
    border-radius: 0 !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: none !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #333 !important;
    line-height: 44px !important;
    padding-left: 12px !important;
    padding-right: 45px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px !important;
    top: 0 !important;
    right: 12px !important;
    transition: transform 0.25s ease !important;
}
.select2-container--default.select2-container--open
.select2-selection--single .select2-selection__arrow {
    transform: rotate(180deg) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #c9a24d transparent transparent transparent !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #c9a24d transparent transparent transparent !important;
}
.select2-container--default.select2-container--open
.select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #c9a24d transparent !important;
}
.select2-container--default .select2-dropdown {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.select2-container--default .select2-results__option--selectable {
    background: #fff !important;
    color: #777777 !important;
}
.select2-container--default
.select2-results__option--highlighted.select2-results__option--selectable {
    background: #e6e6e6 !important;
    color: #333 !important;
}
.select2-container--default .select2-results__option--selected {
    background: #c9a24d !important;
    color: #fff !important;
}
.select2-container--default
.select2-results__option--selected.select2-results__option--highlighted {
    background: #c9a24d !important;
    color: #fff !important;
}
.powermail_multistep_navigation .btn::after {
    background: #777;
}
.powermail_multistep_navigation .btn.btn-primary::after {
    background: #c9a24d;
    transform: scale(1.4);
}
.powermail_multistep_navigation .btn.btn-primary ~ .btn::after {
    background: #777;
}
.powermail_multistep_navigation .btn:not(.btn-primary) {
    position: relative;
}
.powermail_multistep_navigation .btn.btn-primary {
    position: relative;
}
.powermail_multistep_navigation .btn.btn-primary {
    --active-index: 1;
}
.powermail_multistep_navigation .btn.btn-primary {
    color: #c9a24d;
}
.powermail_multistep_navigation .btn.btn-primary ~ .btn::after {
    background: #777;
}
.powermail_multistep_navigation .btn:not(.btn-primary):has(~ .btn.btn-primary)::after {
    background: #c9a24d;
}
.select2-container
{
    border-right: 1px solid;
    padding-right: 10px;
    width: 100% !important;
}
/* custom for the form  */
.powermail_form  .form-label {
    margin-bottom: 0px;
}
.powermail_form .form-control:focus{
    color: var(--bs-body-color);
    background-color: unset;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: unset;
}
@media (max-width: 767px) {
    .powermail_tab_navigation,
    .submit-button {
        justify-content: center;
        clear: both;
        margin-top: 10px;
    }
    .submit-button {
        float: none;
        width: 100%;
        margin-bottom: 0;
    }
    .submit-button .powermail_field {
        width: 100%;
    }
    .powermail_tab_navigation .next-button,
    .powermail_tab_navigation .prev-button,
    .submit-button input[type="submit"] {
        margin: 0;
        width: 100% !important;
    }
    .powermail_multistep_navigation {
        position: relative;
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin: 30px 0 30px;
        background: none;
    }
    .powermail_multistep_navigation::before {
        content: "";
        position: absolute;
        bottom: 5px;
        left: 0;
        width: 100%;
        height: 1px;
        background: #777;
        z-index: 1;
        display: block;
    }
    .powermail_multistep_navigation::after {
        content: "";
        position: absolute;
        bottom: 5px;
        left: 0;
        height: 1px;
        background: #c9a24d;
        z-index: 2;
        transition: width 0.4s ease-in-out;
        width: 0%;
        display: block;
    }
    .powermail_multistep_navigation .btn {
        position: relative;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: end;
        background: none !important;
        border: none !important;
        padding: 0;
        color: #777;
        font-size: 12px;
        z-index: 3;
        white-space: nowrap;
    }
    .powermail_multistep_navigation .btn:first-child {
        align-items: start !important;
    } 
    .powermail_multistep_navigation .btn::after {
        content: "";
        width: 10px;
        height: 10px;
        background: #777;
        border-radius: 50%;
        margin-top: 12px;
        z-index: 4;
        transition: all 0.3s ease;
        transform: none;
    }
    .powermail_multistep_navigation .btn.btn-primary {
        color: #c9a24d;
    }
    .powermail_multistep_navigation .btn.btn-primary::after {
        background: #c9a24d;
        transform: scale(1.4);
    }
    .powermail_multistep_navigation
    .btn:not(.btn-primary):has(~ .btn.btn-primary)::after {
        background: #c9a24d;
    }   
}
/******************************* Contact form and agent inquiry form *******************************/
.form-element-radio .form-check label {
    user-select: none;
    position: relative;
    cursor: pointer;
    margin: 0;
    padding-left: 25px;
    line-height: 16px;
}
.form-element-radio .form-check {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0;
}
.form-element-radio .form-check input {
    width: 1px;
    height: 1px;
    position: absolute;
    opacity: 0;
    padding: 0;
}
.form-element-radio .form-check label::after, .form-element-radio .form-check label::before {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 100%;
    transition: opacity .3s ease, background-color .3s ease, border-color .3s ease;
    left: 0;
    top: 0;
}
.form-element-radio .form-check label::before {
    border: 1px solid var(--theme-color);
}
.form-element-radio .form-check input:checked ~ label::before {
    background: var(--theme-color);
}
.form-element-radio .form-check input:checked ~ label::after {
    opacity: 1;
}
.form-element-radio .form-check label::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7.5' height='5.5' viewBox='0 0 7.5 5.5'%3E%3Cpath id='Path_40' data-name='Path 40' d='M1115.54,550.46a.72.72,0,0,1,0,1.016l-4.05,4.064a.7.7,0,0,1-.5.21.736.736,0,0,1-.51-.21l-2.02-2.032a.72.72,0,0,1,0-1.016.712.712,0,0,1,1.01,0l1.52,1.524,3.54-3.556A.712.712,0,0,1,1115.54,550.46Z' transform='translate(-1108.25 -550.25)' fill='%23fff' fill-rule='evenodd'/%3E%3C/svg%3E%0A") no-repeat center/10px;
    opacity: 0;
    pointer-events: none;
}
.form-label {
    margin-bottom: .5rem;
}
.form-group.style-radius .form-control, .form-group.style-radius .form-select {
    border-radius: 50px;
    height: 60px;
}

.form-group.style-border input, .form-group.style-border select, .form-group.style-border textarea {
    background: 0 0;
    border: 1px solid var(--theme-color);
    color: var(--theme-color);
}
.form-control, .form-select, select, textarea {
    height: 50px;
    padding: 0 45px 0 25px;
    border: 1px solid transparent;
    color: var(--body-color);
    background-color: var(--gray-color);
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    font-family: var(--body-font);
    -webkit-transition: .4s ease-in-out;
    transition: .4s ease-in-out;
}
textarea, textarea.form-control {
    min-height: 154px;
    padding-top: 16px;
    padding-bottom: 17px;
}
.form-group.style-radius textarea.form-control, .hero-10 .hero-bottom-wrap .hero-grid-thumb .box-img img, .hero-thumb6-1 .img1 img, .hero-thumb6-1 .img2 img, .hero-thumb9-1 img {
    border-radius: 16px;
}
.checkbox input {
    width: 1px;
    height: 1px;
    position: absolute;
    opacity: 0;
    padding: 0;
}
.checkbox label {
    user-select: none;
    position: relative;
    cursor: pointer;
    margin: 0;
    padding-left: 25px;
    line-height: 16px;
}
.checkbox label::after, .checkbox label::before {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 5px;
    transition: opacity .3s ease, background-color .3s ease, border-color .3s ease;
    left: 0;
    top: 0;
}
.checkbox label::before {
    border: 1px solid var(--theme-color);
}
.checkbox input:checked ~ label::before {
    background: var(--theme-color);
}
.checkbox label::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7.5' height='5.5' viewBox='0 0 7.5 5.5'%3E%3Cpath id='Path_40' data-name='Path 40' d='M1115.54,550.46a.72.72,0,0,1,0,1.016l-4.05,4.064a.7.7,0,0,1-.5.21.736.736,0,0,1-.51-.21l-2.02-2.032a.72.72,0,0,1,0-1.016.712.712,0,0,1,1.01,0l1.52,1.524,3.54-3.556A.712.712,0,0,1,1115.54,550.46Z' transform='translate(-1108.25 -550.25)' fill='%23fff' fill-rule='evenodd'/%3E%3C/svg%3E%0A") no-repeat center/10px;
    opacity: 0;
    pointer-events: none;
}
.checkbox input:checked ~ label::after {
    opacity: 1;
}
form[id^="detailsForm-"] h2:first-of-type {
    display: none;
}
.form-group .form-check .inputs-list .form-element-radio .form-check {
    display: inline-block;
    width: auto;
    padding-right: 20px;
}