﻿.container-form-hero {
    min-height: 630px;
    z-index: 0;
    position: relative;
}

.form-hero-overall-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 650px;
    z-index: -1;
    background: var(--navy-theme-color) url('../img/bg/form-hero-right-bg.png') top right no-repeat;
}

.form-hero-left-bg {
    background-image: url('../img/bg/form-hero-left-bg.png');
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    max-width: 581px;
    height: 630px;
    z-index: -1;
}

.form-hero-form-container {
    position: relative;
    margin: 3rem 4rem 2rem 4rem;
}

.form-hero-form-box-slim {
    position: absolute;
    right: 0;
    top: 0;
    background: var(--ui-data-light-grey);
    color: var(--ui-primary-text-grey);
    border-radius: 20px;
    max-width: 500px;
    padding: 2rem 2.5rem;
}

    .form-hero-form-box-slim h2 {
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 0;
    }
.container-form-content {
    padding: 4rem;

}

@media only screen and (max-width : 768px) {
    .form-hero-form-container {
        position: relative;
        margin: 0;
    }

    .form-hero-form-box-slim {
        position: initial;
        margin: 0;
        padding: 0;
        max-width: initial;
    }

    .container-form-content {
        padding: 1rem;
    }
}

.form-hero-content {
    margin: 4rem;
    z-index: 2;
    color: #FFF;
}

    .form-hero-content h1 {
        font-weight: 500;
        font-size: 3.2rem;
    }

    .form-hero-content p {
        font-size: 1.8rem;
        line-height: 2.1rem;
    }

    .form-hero-content ul {
        margin: 3rem 0;
    }

        .form-hero-content ul li {
            font-size: 1.2rem;
            margin: 1.3rem 0;
            padding-left: 40px;
            background-repeat: no-repeat;
            background-image: url(/resources/img/ibis-icons/check-item-red.svg);
            line-height: 1.8rem;
            font-weight: 700;
            min-height: 28px;
            letter-spacing: .08rem;
        }

.form-copy-reactive-container {
    width: 70%;
}
    .form-copy-reactive-container h2.linebreakbefore {
        margin-top: 3rem !important;
    }

@media only screen and (max-width : 768px) {
    .form-hero-content {
        margin: 0;
        padding: 0;
    }

        .form-hero-content h1 {
            font-size: 2.4rem;
        }

        .form-hero-content p {
            font-size: 1.4rem;
        }
    .form-copy-reactive-container {
        width: initial;
    }

}

.form-action-hide-initially {
    display: none !important;
}

.submit-button-center {
    text-align: center;
}

/* Contact us form */
.form-hero-form-box-broad {
    margin: 0 auto;
    max-width: 1028px;
}
    .form-hero-form-box-broad .form-hero-form-container {
        margin: 3rem 0 2rem;
    }
.form-hero-form-box-broad .frm-wtl-form {
    padding: 15px 0px;
}
    .form-hero-form-box-broad .form-body {
    padding: 2rem 8%;
    background: var(--ui-data-light-grey);
    color: var(--ui-primary-text-grey);
    border-radius: 0 0 20px 20px;
}

    .form-hero-form-box-broad h2 {
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 0;
    }

@media only screen and (max-width : 768px) {
    .form-hero-form-container {
        margin: 0;
    }

    .form-hero-form-box-broad {
        position: initial;
        margin: 0;
        padding: 0;
        max-width: initial;
    }
}

.form-radio-as-tabs {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: stretch;
}

    .form-radio-as-tabs [type="radio"]:not(:checked) + label,
    .form-radio-as-tabs [type="radio"]:checked + label {
        color: #FFF;
        background: var(--red-theme-color);
        padding: 1rem 2rem;
        height: initial;
        border-radius: 15px 15px 0 0;
        flex-grow: 1;
        text-align: center;
    }

    .form-radio-as-tabs [type="radio"]:checked + label {
        background: var(--ui-data-light-grey);
        color: var(--ui-primary-text-grey);
    }

        .form-radio-as-tabs [type="radio"] + label:before,
        .form-radio-as-tabs [type="radio"]:not(:checked) + label:before,
        .form-radio-as-tabs [type="radio"]:checked + label:before,
        .form-radio-as-tabs [type="radio"] + label:after,
        .form-radio-as-tabs [type="radio"]:not(:checked) + label:after,
        .form-radio-as-tabs [type="radio"]:checked + label:after {
            content: initial;
        }

    .form-radio-as-tabs input {
        display: none;
    }



input[type="radio"]:checked + label {
    font-weight: bold;
}

.form-column-layout {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 2rem;
}

.frm-wtl-form .form-column-layout .form-column-item {
    flex: 1 0 45%;
}

    .frm-wtl-form .form-column-layout .form-column-item:last-child {
        flex: 0 0 48%;
        padding: 0;
    }

[type="checkbox"] + label.no-box {
    background: none;
    border: 0;
    margin: 0;
}

    [type="checkbox"] + label.no-box:before {
        left: 2px;
    }

    [type="checkbox"] + label.no-box:before,
    [type="checkbox"]:not(.filled-in) + label.no-box:after {
        left: 0px;
    }

[type="checkbox"]:checked + label.no-box:before {
    left: -4px;
}

@media only screen and (max-width : 768px) {
    .form-radio-mobile-container {
        position: relative;
        margin-top: 4rem;
    }

    .form-radio-as-tabs {
        display: block;
        position: absolute;
        top: -26px;
        width: 100%;
        box-shadow: 0px 4px 4px 0px #6B6B6B1A;
        border-radius: 30px;
    }

        .form-radio-as-tabs [type="radio"]:not(:checked) + label {
            background: white;
            border-radius: 0;
            color: var(--ui-primary-text-grey);
            display: none;
        }

            .form-radio-as-tabs [type="radio"]:not(:checked) + label.select-visible {
                display: block;
            }

        .form-radio-as-tabs [type="radio"]:checked + label {
            background: var(--red-theme-color);
            color: white;
            border-radius: 30px;
            display: block;
            text-align: left;
            position: relative;
        }

            .form-radio-as-tabs [type="radio"]:checked + label:after {
                content: "";
                position: absolute;
                background-repeat: no-repeat;
                background-size: cover;
                display: inline-block;
                min-width: 8px;
                min-height: 8px;
                height: 20px;
                width: 30px;
                position: absolute;
                top: 16px;
                right: 16px;
                margin: 0;
                left: auto;
                background-image: url(/resources/img/ibis-icons/baseline-expand-more.svg);
                background-position: center center;
                background-color: initial !important;
                border: 0 !important;
                border: none;
                filter: invert(91%) sepia(99%) saturate(31%) hue-rotate(253deg) brightness(107%) contrast(100%);
            }

        .form-radio-as-tabs [type="radio"] + label:last-child {
            border-bottom-left-radius: 30px !important;
            border-bottom-right-radius: 30px !important;
        }

        .form-radio-as-tabs [type="radio"] + label:nth-child(2) {
            border-top-left-radius: 30px !important;
            border-top-right-radius: 30px !important;
        }

    .frm-wtl-form .form-column-layout div.dropdown.country-dropdown {
        flex: 1 0 100% !important;
        padding: 0;
    }
}
/*CLIENT BANNER*/
.container-banner-clients {
    background: var(--ui-data-light-grey);
    padding-top: 3rem;
    margin-top: 4rem;
}

    .container-banner-clients h2 {
        margin-bottom: 3rem;
        text-align: center;
        font-size: 1.8rem;
    }

ul.client-logos {
    padding: 2rem 4rem 5rem;
}

.client-logos li {
    background: #FFF;
    box-shadow: 0px 4px 4px 0px #6B6B6B1A;
    padding: 2rem;
    border-radius: 15px;
}

@media only screen and (max-width : 576px) {
    ul.client-logos li {
        width: 100%;
        text-align: center;
    }
    ul.client-logos {
        padding: 2rem 1rem;
    }
}

.client-logos img {
    max-width: 200px;
    max-height: 40px;
}
/* FORM CONTROL OVERRIDES*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-image 5000s ease-in-out 0s,background-position 5000s ease-in-out 0s,background-color 5000s ease-in-out 0s;
}

.frm-wtl-form input,
.frm-wtl-form select,
.frm-wtl-form textarea,
.dropdown.country-dropdown .country-toggle {
    border: 1px solid var(--ui-data-border);
    border-radius: 8px;
    width: 100%;
    margin-bottom: 0;
    margin-top: 20px;
}

    .frm-wtl-form input.form-action-error,
    .frm-wtl-form select.form-action-error,
    .frm-wtl-form textarea.form-action-error {
        border: 1px solid var(--ui-indicator-error);
        background: #FFF url(/resources/img/ibis-icons/form-alert.svg) no-repeat;
        background-position: center right;
    }

    .frm-wtl-form input.form-action-tick,
    .frm-wtl-form select.form-action-tick,
    .frm-wtl-form textarea.form-action-tick {
        border: 1px solid var(--palette-blue);
        background-color: #FFF;
        background-image: url(/resources/img/ibis-icons/form-tick.svg) !important;
        background-repeat: no-repeat;
        background-position: center right;
    }

    .frm-wtl-form input:focus:not([readonly]),
    .frm-wtl-form select:focus:not([readonly]),
    .frm-wtl-form textarea:focus:not([readonly]) {
        border: 1px solid var(--palette-blue) !important;
    }

[type="checkbox"] + label:before, [type="checkbox"]:not(.filled-in) + label:after {
    border: 2px solid var(--color-ui-text-grey-label);
    border-radius: 4px;
}

.frm-wtl-form [type="radio"] + label:before, .frm-wtl-form [type="radio"]:not(.filled-in) + label:after {
    border: 2px solid var(--color-ui-text-grey-label);
    border-radius: 10px;
}

.frm-wtl-form [type="radio"]:checked + label {
    font-weight: normal !important;
}

    .frm-wtl-form [type="radio"]:checked + label:after {
        background-color: var(--red-theme-color)
    }
[type="radio"]:not(:checked) + label, [type="radio"]:checked + label {
    padding-left: 25px;
    padding-right: 25px;
}


.form-action-error-message {
    color: var(--ui-indicator-error);
    font-size: 0.8rem;
}

.frm-wtl-form input {
    width: 90%;
    padding: 0px 5%;
}

[type="checkbox"] + label {
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    width: 100%;
    background: #FFF;
    height: initial;
    padding: 10px 10px 10px 40px;
    margin: 1rem 0;
}

    [type="checkbox"] + label:before,
    [type="checkbox"]:not(.filled-in) + label:after {
        top: 12px;
        left: 12px;
    }

[type="checkbox"]:checked + label:before {
    top: 10px;
    left: 12px;
    border-radius: 0;
    border-right: 3px solid #26a69a;
    border-bottom: 3px solid #26a69a;
    width: 8px;
    height: 16px;
}

.frm-wtl-form button.btn-wtl-submit:focus {
    box-shadow: rgba(0, 0, 0, 0.8) 0px 1px 5px 0px;
    border: #000 1px solid !important;
}

.rc-anchor-invisible-hover .rc-anchor-normal-footer .rc-anchor-pt a:link {
    display: none;
}

.frm-wtl-form .btn-wtl-submit {
    width: auto;
}
