.main_h {
    position: fixed;
    top: 0px;
    z-index: 999;
    width: 100%;
    background: none;
    overflow: hidden;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    opacity: 0;
    top: -100px;
}



.open-nav .mobile-toggle {
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
}

.sticky {
    background-color: #da3832;
    opacity: 1;
    top: 0px;
}

.logo {
    float: left;
    display: block;
    line-height: 80px;
    margin-left: 15px;
}

.logo img {
    height: 50px;
}

nav {
    float: right;
    margin-right: 10px;
    transition: max-height 300ms ease-in;
}

nav ul {
    list-style: none;
    overflow: hidden;
    text-align: right;
    float: right;
    margin-bottom: 0;
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin-left: 35px;
    line-height: 1;
}

nav ul a {
    color: #ffbd31;
    text-transform: uppercase;
    font-size: small;
}

nav ul a.vian {
    color: #002078 !important;
}

nav ul a.vian:hover {
    color: #fefae3 !important;
}

nav ul a:hover {
    color: #fefae3;
    text-decoration: none;
}

nav ul a.active {
    color: #fefae3;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 20px;
    position: absolute;
    right: 22px;
    top: 28px;
    width: 30px;
    -webkit-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    transition: all 200ms ease-in;
}

@media only screen and (max-width: 300px) {
    #inscription-newsletter-nav {
        display: none;
    }

    #inscription-newsletter {
        display: block;
    }
}

@media only screen and (max-width: 1130px) {
    nav {
        width: 100%;
        margin-right: 0;
        max-height: 0;
    }

    .open-nav nav {
        display: block;
        max-height: 400px;
    }

    .mobile-toggle {
        display: block;
    }

    nav ul {
        padding-top: 10px;
        margin-bottom: 22px;
        float: left;
        text-align: center;
        width: 100%;
    }

    nav ul li {
        width: 100%;
        padding: 7px 0;
        margin: 0;
        display: block;
    }
}
.mobile-toggle span {
    width: 30px;
    height: 4px;
    margin-bottom: 6px;
    border-radius: 1000px;
    background: white;
    display: block;
}

.navrow {
    width: 100%;
    margin: 0 auto;
    position: relative;
    line-height: 80px;
}

@-webkit-keyframes scroll {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }
}
@keyframes scroll {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        -ms-transform: translateY(20px);
        transform: translateY(20px);
    }
}
