.audience_switcher__top_title {
    color: #ffffff;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    font-weight: 600;
}

.audience_switcher {
    margin-block-start: -59px !important;
    z-index: 555;
    position: relative;
}

.audience_switcher__buttons {
    position: relative;
    width: 580px;
    border-radius: 50px;
    background-color: #F3F3F3;
    margin-right: auto;
    padding: 12px;
    margin-left: auto;
    height: 72px;
    margin-top: 2%;
}

.audience_switcher__buttons__first_option {
    padding: 15px 0px;
    z-index: 1;
    min-width: 20%;
    text-align: center;
}

.audience_switcher__buttons__btn {
    border-radius: 50px;
    position: absolute;
    top: 14%;
    color: #ffffff;
    z-index: 1;
    background: #004b81;
    height: 75%;
    width: 50%;
    transition: all 0.5s ease;
}

.audience_switcher__buttons__first_option {
    color: #000000;
    transition: all 0.5s;
}

.audience_switcher__buttons__first_option__title {
    display: block;
}

.audience_switcher__buttons__option {
    display: inline-block;
    padding: 15px 0px;
    z-index: 2;
    position: relative;
    min-width: 49%;
    text-align: center;
    font-size: 13px;
    top: -3px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.5s;
}

.hover_enrol--active .audience_switcher__buttons__first_option { 
    color: #ffffff;
}

.hover_company--active .audience_switcher__buttons__second_option { 
    color: #ffffff;
}

.audience_switcher__buttons__option:hover {
    color: #ffffff;
    transition: all 0.5s;
}

.dark_blue_first .hover_enrol--active .audience_switcher__buttons__btn {
    background-color: #01397D!important;
}

.hover_enrol--active .audience_switcher__buttons__btn {
    left: 10px;
    transition: all 0.5s;
    background: #0075FF;
}

.dark_blue_first .hover_company--active .audience_switcher__buttons__btn {
    background: #0075FF!important;
}

.hover_company--active .audience_switcher__buttons__btn {
    left: calc(50% - 10px);
    transition: all 0.5s;
    background-color: #01397D;
}

.dark_blue_first .hover_enrol .audience_switcher__buttons__btn {
    background-color: #01397D!important;
}

.hover_enrol .audience_switcher__buttons__btn {
    left: 10px;
    transition: all 0.5s;
    background: #0075FF;
}

.dark_blue_first .hover_company .audience_switcher__buttons__btn {
    background: #0075FF!important;
}

.hover_company .audience_switcher__buttons__btn {
    left: calc(50% - 10px);
    transition: all 0.5s;
    background-color: #004b81;
}

.hover_company  .audience_switcher__buttons__first_option { 
    color: #000000;
}

.hover_enrol  .audience_switcher__buttons__second_option { 
    color: #000000;
}

.switch__first_section_correction {
    margin-block-start: -38px !important;   
}

.wp-block-group {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.wp-block-group--hidden {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.audience-switcher {
    opacity: 1 !important;
}

@media only screen and (min-width: 600px) and (max-width: 1100px) {
    .homepage_banner img {
        min-height: unset;
    }

    .audience_switcher__buttons {
        width: 100vw;
    }

    .homepage_banner__enrolment {
        height: 500px;
    }

    .homepage_banner__for_organisations {
        height: 100%;
    }

    .homepage_banner__for_organisations img {
        min-height: unset;
    }

    .homepage_banner__enrolment__heading {
        margin-left: auto;
        margin-right: auto;
        width: 500px;
        text-align: center;
    }

    .homepage_banner__enrolment .wp-block-buttons {
        justify-content: center;
    }

    .homepage_banner__for_organisations .wp-block-buttons {
        justify-content: center;
    }
}


@media only screen and (min-width: 1900px) {

    .audience_switcher{
        margin-block-start: -60px !important;
    }
}

@media only screen and (max-width: 600px) {
    .homepage_banner img {
        min-height: unset;
        margin-left: -25px;
        width: calc(100% + 50px);
    }

    .audience_switcher__buttons {
        width: 100%;
    }

    .homepage_banner__enrolment {
        height: 500px;
    }

    .homepage_banner__for_organisations {
        height: 500px;
    }

    .homepage_banner__for_organisations img {
        min-height: unset;
    }

    .homepage-banner .container {
        height: 100%;
    }

    .homepage-banner .container .row {
        height: 100%;
    }

    .audience_switcher {
        padding: 0px 15px;
    }
}
