﻿/* MENU FLOTANTE */
.menu-side {
    display: flex;
    
}

.menu-side {
    background-color: #F5F5F5;
    position: fixed;
    top: 22%;
    right: 0;
    overflow: hidden;
    -webkit-transition: width 0.05s linear;
    transition: width 0.05s linear;
    z-index: 1000;
    box-shadow: 0px -1px 6px 1px rgba(0, 0, 0, 0.19);
    
    font-family: var(--family-title);
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}
    .menu-side li {
        position: relative;
        width: 70px;
        height: 70px;
        display: grid;
        place-items: center;
    }

  
        .menu-side li > a {

            position: relative;
            color: #ffffff;
            font-size: 15px;
            text-align: center;
            text-decoration: none;
            -webkit-transform: translateZ(0) scale(1, 1);
            -webkit-transition: all 0.2s linear;
            transition: all 0.2s linear;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            display: -webkit-box;
            display: -webkit-flex;
            display: -moz-box;
            display: -ms-flexbox;
            -webkit-box-orient: block-axis;
            -webkit-box-orient: vertical;
            -moz-box-orient: block-axis;
            -moz-box-orient: vertical;
            -ms-flex-direction: column;
            -webkit-flex-direction: column;
            flex-direction: column;
        }

            .menu-side li > a:hover {
                background-color: #E7E7E7;
                transition: 0.3s all ease;
                
                
            }

            .menu-side li > a img {
                margin: 0 auto;
                max-width: 28px;
                color: var(--brand-secundary-medium);
                
            }

 
    .menu-side .nav-text {
        font-family: var(--family-title);
        font-style: normal;
        font-weight: 700;
        font-size: 8px;
        line-height: 10px;
        text-transform: uppercase;
        color: #333333;
        display: block;
        vertical-align: middle;
        padding-top: 5px;
        max-width: 50px;
    }

  /*Ver. Mobile Menu Float*/

@media (min-width: 769px) {
    .menu-side .drop-down {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--brand-secundary);
        width: 24px;
        opacity: 1;
        transition: opacity 1s ease-in-out, width 0.3s ease-in-out;
        color: var(--white);
        font-family: var(--family-title);
        font-size: var(--paragraph-5);
        font-weight: 400;
        line-height: 15px;
    }

    .menu-side:hover .drop-down {
        opacity: 0;
        width: 0px;
        transition: width 0.3s ease-in-out;
    }
    .menu-side .drop-down >li>a{
        color: var(--white);
    }

    .menu-side .drop-down p {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        font-family: var(--family-title);
        font-style: normal;
        font-weight: 400;
        font-size: 10px;
        line-height: 15px;
        text-transform: uppercase;
        color: var(--white);
        
    }

        .menu-side .drop-down p::after {
            content: url('data:image/svg+xml;base64;charset=UTF-8,PHN2ZyB3aWR0aD0iNCIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgNCA5IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBpZD0iUG9seWdvbiAzIiBkPSJNNCA0LjVMMC4yNSA4LjM5NzExTDAuMjUgMC42MDI4ODZMNCA0LjVaIiBmaWxsPSIjMzMzMzMzIi8+Cjwvc3ZnPgo=');
            position: absolute;
            rotate: 180deg;
            padding-bottom: 8.41px;
            transition: all 0.3s ease-in-out;
            fill: var(--white) !important;
            
        }
       

    .menu-side ul {
        max-width: 0px;
        overflow: hidden;
        transition: all 0.5s ease-in-out;
        padding: 0rem;
        margin-bottom: 0rem;
        
    }

    .menu-side:hover ul {
        max-width: 76px;
        overflow: hidden;
        transition: all 0.5s ease-in-out;
    }
}

@media (max-width: 768px) {
    .menu-side {
        display: block;
        bottom: 0;
        width: 100%;
        text-align: center;
        z-index: 10;
        top: auto;
        transition: transform 0.8s;
    }

        .menu-side .drop-down {
            display: none;
        }

    .scroll-down .menu-side {
        transform: translate3d(0, 100%, 0);
    }

    .scroll-up .menu-side {
        transform: none;
    }
}

@media (max-width: 768px) {
    .menu-side .drop-down {
        display: none;
    }

   

        .menu-side li > a:hover img {
            filter: none;
        }

        .menu-side li > a:hover .nav-text {
            color: #333333;
        }

    
}

@media (max-width: 426px) {
    .menu-side {
        display: block;
        bottom: 0;
        width: 100%;
        text-align: center;
        z-index: 10;
        top: auto;
    }

        .menu-side ul {
            display: flex;
            display: -webkit-box;
            display: -webkit-flex;
            display: -moz-box;
            display: -ms-flexbox;
            -webkit-box-pack: center;
            -moz-box-pack: center;
            -ms-flex-pack: center;
            -webkit-justify-content: center;
            justify-content: center;
            margin-bottom: 0;
            padding-left: 0;
        }

        .menu-side li {
            display: inline-block;
            min-width: 80px;
        }
}

@media (min-width: 426px) and (max-width: 768px) {
    .menu-side {
        display: block;
        bottom: 0;
        width: 100%;
        text-align: center;
        z-index: 99;
        top: auto;
        transition: all 0.5s ease-in-out;
    }

        .menu-side ul {
            display: flex;
            display: -webkit-box;
            display: -webkit-flex;
            display: -moz-box;
            display: -ms-flexbox;
            -webkit-box-pack: center;
            -moz-box-pack: center;
            -ms-flex-pack: center;
            -webkit-justify-content: center;
            justify-content: center;
            margin-bottom: 0;
            padding-left: 0;
        }

        .menu-side li {
            display: inline-block;
            min-width: 80px;
        }
}

.menu_side:hover, nav.menu_side.expanded {
    width: 180px;
    overflow: hidden;
}

.menu_side {
    background-color: #DE0039;
    position: fixed;
    top: 22%;
    right: 0;
    width: 43px;
    padding: 20px 0;
    border-radius: 5px;
    overflow: hidden;
    -webkit-transition: width .05s linear;
    transition: width .05s linear;
    -webkit-transform: translateZ(0) scale(1,1);
    z-index: 1000;
}

    .menu_side li {
        position: relative;
        display: block;
        width: 180px;
    }

        .menu_side li img {
            padding: 5px;
        }

        .menu_side li > a {
            position: relative;
            display: table;
            border-collapse: collapse;
            border-spacing: 0;
            color: #ffffff;
            font-family: var(--family-title);
            font-size: 14px;
            text-decoration: none;
            -webkit-transform: translateZ(0) scale(1,1);
            -webkit-transition: all .2s linear;
            transition: all .2s linear;
        }

            .menu_side li > a:hover {
                background-color: #001c34;
                transition: .3s all ease;
            }

    .menu_side .nav-text {
        position: relative;
        display: table-cell;
        vertical-align: middle;
        width: 190px;
        font-family: var(--family-title);
        padding: 10px;
    }

.menu_bar {
    display: none;
}

.menu_bar {
    position: fixed;
    bottom: 0;
    background-color: #00368F;
    width: 100%;
    text-align: center;
    z-index: 10;
    padding: 5px 10px;
}
    /*.menu_bar ul {display: flex; display: -webkit-flex; display: -moz-flex; display: -ms-flexbox;display: -o-flex; display: -ms-flexbox; justify-content: space-between; -webkit-box-pack: justify; -moz-box-pack:justify; -ms-flex-pack: justify; -webkit-justify-content:space-between; max-width: 500px; margin: 0 auto;}*/
    .menu_bar li {
        display: inline-block;
        min-width: 80px;
    }

        .menu_bar li span {
            display: block;
            color: #ffffff;
            font-size: 11px;
        }
