.s-main-type-2 {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
    overflow: hidden
}

.s-main-type-2:not(.s-main-type-2_step-scroll) .sb-container {
    padding-top: 20px;
    padding-bottom: 20px
}

@media screen and (max-width:959px) {
    .s-main-type-2 {
        flex-wrap: wrap;
        align-items: flex-start
    }

    .s-main-type-2_left .s-main-type-2__container.sb-container {
        padding-top: 0 !important;
        padding-bottom: 0 !important
    }
}

.s-main-type-2_left {
    flex-direction: row-reverse
}

.alert2 {
    display: block;
    margin-top: 10px;
    color: red;
}

.magicform {
    width: 1000px;
}

.mymagicoverbox {
    cursor: pointer;
}

.mymagicoverbox_fenetre {
    z-index: 9999;
    position: fixed;
    max-width: 500px;
    width: 100%;
    height: fit-content;
    height: intrinsic;
    height: -moz-max-content;
    height: -webkit-max-content;
    padding-bottom: 24px;
    text-align: center;
    display: none;
    background-color: #ffffff;
    color: #004052;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;

}

.mymagicoverbox_fermer {
    color: #000;
    cursor: pointer;
    font-weight: 900;
    font-size: 25px;
    font-style: normal;
    position: absolute;
    top: 0px;
    right: 10px;
}

.mymagicoverbox_fermer:hover {
    color: #999999;
}

#myfond_gris2 {
    display: none;
    background-color: #000000;
    opacity: 0.7;

    height: 100%;
    z-index: 9998;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

@media screen and (max-width:639px) {
    .s-main-type-2_left .s-main-type-2__additional {
        display: flex;
        min-height: 400px
    }
}

@media screen and (max-width:959px) {
    .s-main-type-2_left .s-main-type-2__additional {
        position: relative;
        width: 100%
    }

    .s-main-type-2_right .s-main-type-2__container.sb-container {
        padding-top: 0 !important;
        padding-bottom: 0 !important
    }
}

@media (min-width:640px) and (max-width:959px) {
    .s-main-type-2_left .s-main-type-2__additional {
        min-height: 460px
    }
}

@media screen and (min-width:960px) {
    .s-main-type-2_left .s-main-type-2__container {
        margin-top: 0 !important;
        margin-bottom: 0 !important
    }

    .s-main-type-2_left .s-main-type-2__social {
        left: 0
    }

    .s-main-type-2_left .s-main-type-2__additional {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 50%
    }

    .s-main-type-2_right .s-main-type-2__content-background {
        left: auto
    }

    .s-main-type-2_right .s-main-type-2__container {
        margin-top: 0 !important;
        margin-bottom: 0 !important
    }

    .s-main-type-2_right .s-main-type-2__social {
        right: 0
    }
}

@media screen and (max-width:639px) {
    .s-main-type-2_left .s-main-type-2__additional-wrapper {
        display: flex;
        align-items: flex-end;
        width: 100%
    }

    .s-main-type-2_right .s-main-type-2__additional {
        display: flex;
        min-height: 356px
    }
}

@media screen and (max-width:959px) {
    .s-main-type-2_right .s-main-type-2__additional {
        position: relative;
        width: 100%
    }
}

@media screen and (min-width:960px) {
    .s-main-type-2_right .s-main-type-2__additional {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 50%
    }

    .s-main-type-2__content-background {
        width: 50%
    }
}

@media screen and (max-width:639px) {
    .s-main-type-2_right .s-main-type-2__additional-wrapper {
        display: flex;
        align-items: flex-end;
        width: 100%
    }

    .s-main-type-2_step-scroll .sb-container {
        padding-top: 56px;
        padding-bottom: 56px
    }

    .s-main-type-2__content-background {
        top: 356px
    }
}

@media (min-width:640px) and (max-width:959px) {
    .s-main-type-2_right .s-main-type-2__additional {
        min-height: 460px
    }

    .s-main-type-2_step-scroll .sb-container {
        padding-top: 64px;
        padding-bottom: 64px
    }

    .s-main-type-2__content-background {
        top: 460px
    }
}

@media (min-width:960px) and (max-width:1359px) {
    .s-main-type-2_step-scroll .sb-container {
        padding-top: 64px;
        padding-bottom: 64px
    }
}

@media screen and (min-width:1360px) {
    .s-main-type-2_step-scroll .sb-container {
        padding-top: 72px;
        padding-bottom: 72px
    }
}

.s-main-type-2.sb-align-center .s-main-type-2__buttons {
    justify-content: center
}

.s-main-type-2.sb-align-center .s-main-type-2__step-scroll-wrapper {
    display: flex;
    justify-content: center
}

.s-main-type-2.sb-align-center .s-main-type-2__step-scroll_left {
    transform: translateX(-20px)
}

.s-main-type-2.sb-align-center .s-main-type-2__step-scroll_right {
    transform: translateX(50px)
}

.s-main-type-2__background {
    z-index: 2
}

.s-main-type-2__social {
    z-index: 3
}

@media screen and (max-width:639px) {
    .s-main-type-2__social {
        position: relative;
        width: 100%
    }
}

@media screen and (min-width:640px) {
    .s-main-type-2__social {
        position: absolute;
        bottom: 0
    }
}

@media (min-width:640px) and (max-width:959px) {
    .s-main-type-2__social {
        right: 0
    }
}

.s-main-type-2__social-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    padding: 10px
}

@media screen and (max-width:639px) {
    .s-main-type-2__social-container {
        justify-content: center
    }

    .s-main-type-2__social-item {
        width: 36px;
        height: 36px
    }
}

.s-main-type-2__social-item {
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    border: 1px solid;
    border-radius: 50%;
    margin: 6px;
    color: inherit
}

@media screen and (min-width:640px) {
    .s-main-type-2__social-item {
        width: 40px;
        height: 40px
    }
}

.s-main-type-2__buttons {
    display: flex;
    flex-wrap: wrap;
    margin-left: -8px;
    margin-right: -8px
}

.s-main-type-2__button {
    margin-left: 8px;
    margin-right: 8px
}

@media screen and (max-width:639px) {
    .s-main-type-2__button {
        width: 100%
    }
}

.s-main-type-2__step-scroll-container {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0
}

.s-main-type-2__step-scroll-container .sb-container {
    padding-bottom: 0 !important
}

@media screen and (max-width:959px) {
    .s-main-type-2.sb-block {
        min-height: 0
    }

    .s-main-type-2__button:last-child {
        margin-bottom: 0 !important
    }

    .s-main-type-2__step-scroll-wrapper {
        transform: translateY(20px)
    }
}

.s-main-type-2__step-scroll {
    position: relative
}


@media screen and (max-width:768px) {
    body .s-main-type-2__container .sb-text-opacity {
        --font-size: 20px;
        font-size: 20px;
        line-height: 30px;
    }

    .sb-content-size_m .sb-font-p2 {
        --font-size: 22px !important;
        font-size: 22px !important;
    }

    body .s-header-type-1__logo {
        width: 290px;
    }

    .sb-content-size_m .sb-button-primary {
        font-size: 18px !important;
    }

    .sb-content-size_m .sb-button-secondary {
        font-size: 18px !important;
    }

    .sb-content-size_m .sb-font-p3 {
        --font-size: 20px !important;
        font-size: 20px !important;
        line-height: 30px !important;
    }

    .sb-content-size_m .sb-font-h5 {
        --font-size: 20px !important;
        font-size: 20px !important;
    }

    .sb-content-size_m .sb-font-h4 {
        --font-size: 24px !important;
        font-size: 24px !important;
        line-height: 34px !important;
    }

    .sb-content-size_m .sb-font-p4 {
        --font-size: 18px !important;
        font-size: 18px !important;
        line-height: 24px !important;
    }
}