*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
    font-family: 'Montserrat';
    height: 100vh;
}

.wrapper {
    overflow: hidden;
}

.slider-container {
    position: relative;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

.left-slid {
    transition: transform 0.5s cubic-bezier(0.77, -0.32, 0.3, 1.25);
    height: 100%;
    width: 35%;
    position: absolute;
    top: 0;
    left: 0;
}

.left-slid>div {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    padding-left: 15px;
    text-align: center;
}

.left-slid>div#contact-form {
    color: #ffff;
}

.wpcf7-form-control-wrap {
    color: black;
}

.left-slid h1 {
    font-size: 40px;
    margin-bottom: 10px;
    margin-top: -30px;
}

.right-slid {
    transition: transform 0.5s cubic-bezier(0.77, -0.32, 0.3, 1.25);
    height: 100%;
    position: absolute;
    top: 0;
    left: 35%;
    width: 65%;
}

.right-slid>section {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 100%;
    width: 100%;
}

button {
    background-color: #0ff0;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    padding: 10px;
}

button:hover {
    color: #222;
    outline: none;
}

.slider-container .action-buttons button {
    display: none;
}

.slider-container .action-buttons #down {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    /*transform: translateX(-100%);*/
    left: 0;
    top: 18%;
}

.slider-container .action-buttons #up {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    /*transform: translateY(-100%);*/
    left: 0;
    top: 75%;
}

#top {
    position: fixed;
    top: 1%;
    left: 1%;
    z-index: 1;
}

#top h1 {
    font-size: 1em;
    margin-top: 5px;
    color: #ffff;
}

#top img {
    width: 100%;
    max-width: 400px;
}

.menu {
    position: fixed;
    top: 0;
    z-index: 5;
    width: 65%;
    right: 0;
}

.navbar-expand-lg .navbar-nav {
    flex-direction: row;
    font-size: 1.5em;
    align-items: center;
}

.navbar {
    padding: 0;
    width: 100%;
    margin: auto;
    border: 0;
}

#navbarNav {
    background-color: #f25d45;
    /*border-radius: 5px 5px 5px 5px;*/
}

.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link,
.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:visited {
    color: #ffff;
}

.nav-item {
    font-weight: bold;
    transition: transform .2s;
    padding: 2px;
}

.nav-item:hover {
    transform: scale(1.2);
}

.navbar-expand-lg .navbar-collapse {
    justify-content: center;
}

.fusion-alert.alert.custom.alert-custom.fusion-alert-center.fusion-alert-capitalize.alert-dismissable.wpcf7-response-output.wpcf7-display-none {
    display: none;
}

button {
    font-size: 2.5em;
}

button:hover {
    color: #f45038;
    outline: none;
}

.picto-gamme {
    width: 35px;
}

.content-left-slide {
    text-align: left;
    margin: 0 30px 0 50px;
}

.content-left-slide p {
    font-size: 1.5em;
}

.left-slid h1 {
    font-size: 3em;
    margin-bottom: 10px;
    /* margin-top: -30px; */
}

.btn {
    background-color: #ffff;
}

.btn:hover {
    color: #f45038;
}


/*HOME TOP*/

.hovereffect h2 {
    background-color: #004677;
    font-size: 13px;
    padding: 0;
    text-align: center;
}

.hovereffect {
    margin-bottom: 30px;
}

#mosa-home {
    display: flex;
    align-items: center;
}

.hovereffect .overlay {
    text-align: center;
}

.fas.fa-globe-americas {
    font-size: 3em;
}

#tel-contact {
    text-align: center;
    font-size: 3em;
    color: #00213e;
}

#tel-contact a {
    /*text-decoration: none;*/
    color: #00213e;
}

.wpcf7-submit {
    color: #000;
}

@media screen and (max-width:1024px) {
    .menu {
        /*margin-top: 50px;*/
        font-size: 0.8em;
    }
    #navbarNav {
        display: flex !important;
        justify-content: center;
    }
    #top h1 {
        font-size: 0.8em;
    }
    .hovereffect h2 {
        font-size: 11px;
    }
}

@media screen and (max-width:768px) {
    #navbarNav {
        display: none !important;
    }
    .left-slid {
        transition: transform 0.5s cubic-bezier(0.77, -0.32, 0.3, 1.25);
        height: 50%;
        width: 100%;
        position: absolute;
        top: 0 !important;
        left: 0;
        display: flex;
        flex-direction: row-reverse;
    }
    .right-slid {
        transition: transform 0.5s cubic-bezier(0.77, -0.32, 0.3, 1.25);
        height: 50%;
        position: absolute;
        top: 50%;
        right: 0 !important;
        left: inherit !important;
        width: 100%;
        display: flex;
    }
    .slider-container .action-buttons button {
        display: inherit;
        position: absolute;
        /*left: 35%;*/
        /*top: 100%;*/
        z-index: 100;
    }
    .slider-container .action-buttons button {
        background-color: #f45038;
    }
    .slider-container .action-buttons button:hover {
        background-color: #ffff;
    }
    #top h1 {
        font-size: 0.7em;
    }
    #top img {
        width: 70%;
    }
    .slider-container {
        position: relative;
        overflow: hidden;
        width: 1000vw;
        height: 100vh;
    }
    .main-content {
        font-size: 0.65em;
        margin-top: 35px;
    }
    .slider-container .action-buttons #down {
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        border-top-right-radius: 0;
        border-top-left-radius: 0;
        /* transform: translateX(-100%); */
        left: 0;
        top: 45%;
        transform: rotate(-90deg);
    }
    .slider-container .action-buttons #up {
        border-top-right-radius: 5px;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0px;
        /* transform: translateY(-100%); */
        top: 45%;
        transform: rotate(-90deg);
        right: 0;
        left: inherit;
    }
    .action-buttons {
        width: 100vw;
        position: absolute;
        top: 45%;
    }
    .content-left-slide {
        margin: 0;
        font-size: 0.7em;
    }
    .content-left-slide p {
        font-size: 1.2em;
    }
    .picto-gamme {
        width: 20px;
    }
    /*Mosaique top*/
    .mosa {
        width: 25%;
        padding-left: 5px;
        padding-right: 5px;
    }
    .hovereffect .overlay {
        padding: 0;
    }
    .hovereffect {
        margin-bottom: 10px;
    }
    .hovereffect h2 {
        font-size: 11px;
    }
    .hovereffect .overlay::before {
        border: none;
    }
    .hovereffect .overlay br,
    .hovereffect .overlay .content-lg-hover {
        display: none;
    }
    #text-ordi {
        display: none;
    }
    #text-mobile {
        display: block !important;
    }
    #tel-contact {
        font-size: 2em;
    }
}