/**
 * PROJET   : PAGE SITE WEB : STYLE PARTIE MENU
 * AUTEUR GRAPHISME : Valentin Merlault
 * AUTEUR   : Anne Potier
 * DATE     :: 
 * REFONTE  : 2023 1ER SEM
 * MISE EN LIGNE : 2023/06/21
 */


#burger
{
    width: 20%;
}

.logo {
    width: 30%;
    min-width: 110px;
    max-width: 200px;
    height: auto;
    position: fixed;
    z-index: 1000;
}

.logo img {
    /*width: 100%;
    height: 100%;*/
    object-fit: contain;
}

.left-side,
.right-side 
{
    margin: auto 0;
}
 
.left-side nav 
{
    /*width: 80%;*/
    margin-left: 10px;
}

.left-side nav ul {
    width: 100%;
    padding-left: 0;
}

.left-side nav ul li {
    list-style: none;
    margin-right: 25px;
    margin-bottom: 10px;
}

.left-side nav ul .lang a img {
    width: 16px;
    height: 16px;
    border-radius: 20px;
    object-fit: fill;
}

.left-side nav ul li a {
    font-weight: 700;
    font-size: clamp(0.8rem, 0.7vw + .1rem, 3rem);
    line-height: 15px;
    text-transform: uppercase;
    /*color: rgba(51, 51, 51, 0.72);*/
    text-decoration: none;
    transition: all 0.3s;
}

.right-side {
    max-height: 40px;
}

.right-side .search {
    margin-right: 20px;
}

.right-side .search input {
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1px solid #F5F5F5;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
    border-radius: 25px;
    padding-left: 25px;
    height: 100%;
}

.left-side nav ul li .submenu-1 {
    display: none;
    width: fit-content;
    height: fit-content;
    max-width: 450px;
    margin-top: 5px;
    flex-direction: column;
    opacity: 0;
    background-color: #F5F5F5;
    border-left: 5px solid   #03669F ;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    padding: 1%;
}

.left-side nav ul li .sub-active {
    display: flex;
    position: absolute;
    z-index: 2;
    animation: animate-menu 0.4s ease-out forwards;
}

.left-side nav ul li i {
    transition: all 0.4s;
}

.activate {
    transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
}

@keyframes animate-menu {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.left-side nav ul li .submenu-1 li {
    width: 90%;
}

.left-side nav ul li .submenu-1 li {
    text-align: left;
}

nav ul li:hover>a {
    color: #03669F ;
}

.filter {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0);
    z-index: -100000;
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.close {
    display: none;
}

.submenu-1 {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.submenu-1 span {
    color:   #03669F ;
}

.border-btm {
    color:  #03669F  !important;
}

.little-menu 
{
    position: fixed;
    right: 0;
    top: 80%;
    display: none;
    transform: translateY(-50%);
    z-index: 1000000;
    width: fit-content;
    padding: 20px; /*25*/
    height: fit-content;
    background:  #03669F ;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 30px 0px 0px 30px;
    opacity: 0;
    /*border: 1px #F5F5F5 solid ;*/
}

.menu-up {
    display: block;
    animation: animate-menu 0.5s ease-in-out forwards;
}


/* FLAGS */

.lang-active {
    border: 4px solid   #03669F ;
}

#burger
{
    display: none;
}

.responsive {
    display: none;
}

@media (max-width: 767px) 
{
    .left-side nav {
        width: 60%;
    }
    #burger
    {
        display: block;
        margin: auto 0;
        cursor: pointer;
    }
    #burger {
        margin-right: auto;
    }
    #burger i 
    {
        font-size: 2rem;
    }
    .identify 
    {
        display: none;
    }
    header 
    {
        flex-direction: column;
        width: 80%;
    }
    .left-side 
    {
        display: flex;
        justify-content: flex-start;
    }
    .right-side .search input 
    {
        width: 50vw;
        margin-top: 24px;
        height: 25px;
        padding-left: 7vw;
    }
    .right-side .search i 
    {
        position: absolute;
        top: 20px;
        font-size: 0.8em;
        right: auto;
        left: 0;
    }
    .left-side nav 
    {
        margin: 0;
        position: fixed;
        transform: translateX(150%);
        transition: all 0.5s;
        z-index: 1000;
        height: fit-content;
        height: 100vh;
        overflow-y: auto;
    }
    body 
    {
        transition: all 0.5s;
    }
    .left-side nav ul 
    {
        display: block;
        margin-top: 10vh;
        justify-content: flex-start;
        max-height: 100%;
        overflow-y: auto;
    }
    .left-side nav ul li 
    {
        text-align: center;
        margin: 0;
        margin-bottom: 25px;
    }
    .nav-open 
    {
        top: 0;
        transform: translateX(0%);
        width: 70%;
    }
    .translate 
    {
        transform: translateX(-60%);
        overflow-y: hidden !important;
    }
    .active 
    {
        opacity: 0.27;
        z-index: 1;
        transform: translateX(0);
    }
    .left-side nav ul li 
    {
        width: 100%;
    }
    .left-side nav ul li a 
    {
        width: 100%;
    }
    .left-side nav ul li .submenu-1
    {
        position: relative;
        height: fit-content;
        padding-left: 0;
        left: 0;
        padding-bottom: 5%;
        background-color: transparent;
    }
    .left-side nav ul li .submenu-1 
    {
        width: 80%;
        max-width: none;
        margin: auto;
        border-left: 0;
        border-bottom: 2px solid  #03669F ;
    }
    .left-side nav ul li .submenu-1 
    {
        width: 90%;
        padding-left: 10px;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0);
        border-left: 2px solid   #03669F ;
    }
    .left-side nav ul li .submenu-1 li 
    {
        width: 100%;
        text-align: left;
    }
    .left-side nav ul li .submenu-1 .sub-active 
    {
        position: relative;
        padding-bottom: 0;
    }
    .close 
    {
        cursor: pointer;
        position: absolute;
        top: 0;
        right: 30px;
        display: block;
        width: 32px;
        height: 32px;
        opacity: 1;
        border: 0;
        background-color: transparent;
    }
    .close:before,
    .close:after 
    {
        position: absolute;
        left: 15px;
        content: ' ';
        height: 33px;
        width: 3px;
        background-color: #000000;
    }
    .close:before 
    {
        transform: rotate(45deg);
    }
    .close:after 
    {
        transform: rotate(-45deg);
    }
    .left-side nav ul li .submenu-1 
    {
        padding-left: 2%;
    }
    .submenu-1 {
        overflow-x: hidden;
    }
    .responsive 
    {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: fit-content;
        max-width: 40%;
        margin: auto;
    }
    .responsive a 
    {
        font-size: clamp(0.7rem, 0.7vw + .1rem, 3rem)
    }
}
