body {
    margin: 0px;
    padding: 0px;
}

a {
    text-decoration: none;
}

ul,
li {
    list-style: none;
}

#myVideo {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.bandeau-video-accueil::before {
    display: block;
    content: '';
    position: absolute;
    width: 120vw;
    height: 100vh;
    background-color: #260E0F;
    opacity: 0.5;
    z-index: 0;
}

.bandeau-video-accueil {
    position: absolute;
    z-index: -3;
    width: 100vw;
    height: 315px;
    background-image: url(https://02.antidotecommunication.com/wp-content/uploads/2024/04/bandeau-locatif.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.bandeau-video-accueil video {
    display: none!important;
}

.menu-custom {
    width: 100vw;
    height: 100vh;
    display: table;
}

.menu-custom > a,
.menu-custom > section {
    display: table-cell;
    vertical-align: middle;
    font-weight: 400;
    font-family: 'Titillium web';
    color: white;
    text-align: center;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 20vw;
}

.menu-custom > a:hover,
.menu-custom > section:hover {
    text-decoration: none;
    background: -moz-linear-gradient(to bottom, rgba(38, 14, 15, 0) 0%, rgba(38, 14, 15, 1) 100%);
    background: -webkit-linear-gradient(to bottom, rgba(38, 14, 15, 0) 0%, rgba(38, 14, 15, 1) 100%);
    background: linear-gradient(to bottom, rgba(38, 14, 15, 0) 0%, rgba(38, 14, 15, 1) 100%);
    transition: width 1s cubic-bezier(0.25, 0.1, 0.2, 1);
    width: 30vw;
}

.bandeau-video-interne .logo-accueil .wpb_single_image {
    position: absolute;
    width: 120px;
    top: 0px;
    left: calc(50% - 60px);
}

/* sous-menu */
.menu-custom section a {
    font-size: 14px;
    color: white;
    line-height: 1.1;
    text-transform: none;
    display: block;
    opacity: 0;
}

.menu-custom section:hover > a:first-of-type {
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.25, 0.1, 0.2, 1);
}

.menu-custom section:hover > a:nth-of-type(2) {
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.25, 0.1, 0.2, 1);
    transition-delay: 0.5s;
}

.menu-custom section:hover > a:nth-of-type(3) {
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.25, 0.1, 0.2, 1);
    transition-delay: 1s;
}

.menu-custom section:hover > a:nth-of-type(4) {
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.25, 0.1, 0.2, 1);
    transition-delay: 1.5s;
}



/* bandeau page interne */

.bandeau-video-interne {
    overflow: hidden;
    height: 315px;
    position: relative;
    width: 100%;
}

.bandeau-video-interne .logo-accueil img {
    width: 120px !important;
    height: auto;
}

.bandeau-video-interne .logo-accueil {
    top: 60px;
}

.bandeau-video-interne .menu-custom {
    height: 316px;
}

.bandeau-video-interne .menu-custom > a {
    vertical-align: initial;
    padding-top: 230px;
}

.bandeau-video-interne .logo-espace {
    position: absolute;
    right: 0;
    top: 0;
    width: initial;
    bottom: initial;
}

/* logo */

.logo-accueil {
    position: absolute;
    width: 100%;
    top: calc(25% - 85px);
}

.logo-espace {
    position: absolute;
    width: 100%;
    bottom: calc(25% - 20px);
}

.logo-espace img {
    width: 170px;
    height: auto;
}


.menu-custom section a {
    font-size: 14px;
    color: white;
    line-height: 1.1;
    text-transform: none;
    display: block;
    opacity: 0;
    margin-bottom: 13px;
}

.menu-custom section:hover > a:first-of-type {
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.25, 0.1, 0.2, 1);
}

.menu-custom section:hover > a:nth-of-type(2) {
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.25, 0.1, 0.2, 1);
    transition-delay: 0.3s;
}

.menu-custom section:hover > a:nth-of-type(3) {
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.25, 0.1, 0.2, 1);
    transition-delay: 0.6s;
}

.menu-custom section:hover > a:nth-of-type(4) {
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.25, 0.1, 0.2, 1);
    transition-delay: 0.9s;
}

section .current-sous-menu {
    color: #00609e !important;
}

section > a:hover {
    color: #00609e;
}

.menu-custom > section {
    position: relative;
}

.bandeau-video-interne .menu-custom > section > a:first-of-type {
    margin-top: 200px;
}

.bandeau-video-interne .menu-custom > section > div {
    position: absolute;
    left: calc(50% - 65px);
    top: 230px;
}


.bandeau-video-interne .menu-custom > section:hover > div {
    top: 170px;
}

/* current menu */

.menu-custom a {
    color: white!important;
}



.menu-custom .current {
    background: -moz-linear-gradient(to bottom, rgba(38, 14, 15, 0) 0, rgba(38, 14, 15, 1) 100%);
    background: -webkit-linear-gradient(to bottom, rgba(38, 14, 15, 0) 0, rgba(38, 14, 15, 1) 100%);
    background: linear-gradient(to bottom, rgba(38, 14, 15, 0) 0, rgba(38, 14, 15, 1) 100%);
    transition: width 1s cubic-bezier(0.25, 0.1, 0.2, 1);
    color: #C81517!important;
}

/* mobile menu */

.mobile-menu {
    position: absolute;
    right: 0;
    padding: 0;
    /* z-index: 1; */
    height: 50px;
    line-height: 50px;
    display: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100%;
    font-weight: 400;
    font-family: 'Titillium web';
    color: white;
    font-size: 16px;
    top: 0px;
}

.mobile-menu a.dropdown-link {
    display: block;
    height: 51px;
    padding: 0 20px;
    color: #FFFFFF;
    font-size: 20px;
    cursor: pointer;
}

.mobile-menu a.dropdown-link:hover {
    text-decoration: none;
}

.mobile-menu a.dropdown-link i {
    float: right;
    position: relative;
    top: 15px;
}

.mobile-dropdown {
    display: none;
    list-style-type: none;
    background: #3B1216;
    padding: 0;
    min-width: 125px;
    position: relative;
    z-index: 100;
    margin: 0;
}

.mobile-dropdown li {
    padding: 0;
    height: auto;
}

.mobile-dropdown li a {
    padding: 0;
    color: #FFFFFF;
    display: block;
    padding: 0 40px;
    height: 40px;
    line-height: 40px;
    font-size: 13px;
    text-decoration: none;
}

.button-menu span {
    width: 25px;
    height: 2px;
    position: relative;
    display: block;
    background-color: white;
    margin: 0 auto;
    top: 50%;
}

.button-menu span::before {
    top: 10px;
}

.button-menu span::after {
    bottom: 10px;
}

.button-menu {
    justify-content: center;
    height: 50px;
    width: 60px;
    vertical-align: middle;
    z-index: 3;
    position: relative;
    display: block;
    float: right;
}

.button-menu span::before,
.button-menu span::after {
    content: "";
    position: absolute;
    display: block;
    width: 25px;
    height: 2px;
    background-color: white;
}

.logo-espace-mobile {
    display: none;
}

.menu-custom section >a:hover {
    color: #00609e;
}


@media (max-width: 768px) {
    .mobile-menu {
        display: block !important;
    }

    .menu-custom {
        display: none;
    }

    .button-menu.rotate span::after {
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        top: 0;
        transition: transform 500ms cubic-bezier(0.25, 0.1, 0.2, 1);
        background-color: white;
    }

    .button-menu.rotate span::before {
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        top: 0;
        transition: transform 500ms cubic-bezier(0.25, 0.1, 0.2, 1);
        background-color: white;
    }

    .button-menu.rotate span {
        background: transparent;
    }

    .logo-espace-mobile {
        position: absolute;
        display: block;
            top: 0px;
    }

    .bandeau-video-interne {
        height: 300px;
            top: 51px;
    }

    .bandeau-video-accueil #myVideo {
        height: 560px;
    }

    .bandeau-video-interne .logo-accueil img {
        width: 120px !important;
    }
    
    .logo-espace {
        display: none;
    }
    
    .bandeau-video-interne .logo-accueil {
    top: calc(150px - 60px);
}
    
    .footer .text-left{
        text-align: center!important;
    }
    
    .border-bottom {
        border-bottom: 1px solid #00589b;
    }
}

.container {
    max-width: 1200px!important;
}