﻿:root {
  /* =========================
     Primary Brand Colors
  ========================== */
  --brand: #34414E;
  --brand-dark: #3463AE;
  --brand-light: #88A7E1;
  --brand-white: #FFFFFF;
  --brand-black: #000000;
  --brand-disabled: #D1D6DA;
  --brand-dark-mode: #E33D38;
  --brand-dark-dark: #222222;
  --brand-red: #E60012;
  --brand-grey: #A9B3B7;
  --brand-icon: #FFFFFF;

  /* =========================
     Gray Scale
  ========================== */
  --gray-dark-12: #595758;
  --gray-dark-11: #999FA6;
  --gray-dark-10: #717A84;
  --gray-dark-9:  #F1F1F1;
  --gray-dark-8:  #E5E5E5;
  --gray-dark-7:  #CCCCCC;
  --gray-dark-6:  #B3B3B3;
  --gray-dark-5:  #F7F7F7;
  --gray-dark-4:  #838383;
  --gray-dark-3:  #6C6C6C;
  --gray-dark-2:  #565656;
  --gray-dark-1:  #414141;

  --gray-light-1: #FFFFFF;
  --gray-light-2: #F2F2F2;
  --gray-light-3: #F2F1F6;
  --gray-light-4: #F1F1F1;
  --gray-light-5: #ECEBF2;
  --gray-light-6: #EFEFEF;

  /* =========================
     Notifications & Alerts
  ========================== */
  --notification-default: #236377;
  --notification-light: #E7F1FA;

  --alert-error-main: #CF000E;
  --alert-error-light: #E9CAC7;
  --alert-success-email: #4FBD88;
  --alert-success-email-light: #BDD6C5;
  --alert-main: #F9A12B;
  --alert-main-light: #FCE1B5;
  --alert-information-main: #3D85C6;
  --alert-information-light: #D3E5EA;

  /* =========================
     General Colors (from Figma)
  ========================== */
  --primary: #1F3750;
  --white: #FFFFFF;
  --white-20: #FFFFFF50;
  --gray: #666666;
  --gray2: #969696;
  --gray3: #D2D1D1;
  --grayLight: #F4F4F4;
  --darkGray: #414141;
  --footer: #414141;
  --footer-copyright: #212529;
  --black: #000000;
  --gray-pagination: #B2B2B2;

  /* =========================
     Typography
  ========================== */
  --text_p: 18px;

  /* =========================
     Z-Index Layers
  ========================== */
  --layer-header: 99;

  /* =========================
     Layout
  ========================== */
  --logo-alignment: center;
  --post-footer-color: #3B485A;
  --a-footer-color: #737C88;
}

/* MENU FLOTANTE */
.menu-side {
    display: flex;
}
.menu-side {
    max-height: 23rem;
    border-radius: 0.75rem 0rem 0rem 0.75rem;
    background-color: var(--brand);
    position: fixed;
    top: 22%;
    right: 0;
    overflow: hidden;
    -webkit-transition: width 0.05s linear;
    transition: width 0.05s linear;
    z-index: 2;
    box-shadow: 0px -1px 6px 1px rgba(0, 0, 0, 0.19);
    font-family: var(--font-family-1);
    font-size: var(--paragraph-3);
    font-style: var(--paragraph-1-line-height);
    font-weight: var(--weight-bolder);
    line-height: 1.25rem;
}
.menu-side:hover {
    /* border-radius: initial; */
}
.menu-side li {
    position: relative;
    width: 100%;
    /*height: 70px;*/
    display: grid;
    place-items: center;
}
.menu-container > li:hover {
    border-bottom: solid var(--brand);
}

.menu-side li > a {
    position: relative;
    color: var(--brand-white);
    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:hover {
    background: var(--brand, #00A0DC);
    transition: 0.3s all ease;
    border-color: var(--brand);
}
.menu-side li > a img {
    margin: 0 auto;
    max-width: 28px;
    color: var(--brand-secundary-medium);
}

.menu-side .nav-text {
    font-family: var(--font-family-1);
    font-style: normal;
    font-weight: var(--weight-normal);
    line-height: normal;
    color: var(--brand-black);
    display: block;
    /*padding-top: 5px;
    max-width: 50px;*/
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.015rem;
}
.menu-side li:hover .nav-text {
    font-weight: var(--weight-bolder);
    color: var(--brand-white, #FFF);
}
.side-menu-icon {
    fill: var(--gray-dark-1);
}

.menu-container > li:hover > a > .side-menu-icon {
    fill: var(--brand-white);
}


.menu-container > li {
    border-bottom: solid var(--gray-dark-9);
}
.side-menu-icon, .menu-side svg{
    fill: var(--gray-dark-1);
}
.menu-container > li:hover > a > svg path {
    fill: var(--brand-white);
    /* stroke: transparent; */
}
.menu-container > li:hover > a > svg.reverse path {
    fill: none !important;
    stroke: var(--brand-white) !important;
}


/*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: 34px;
        opacity: 1;
        transition: opacity 1s ease-in-out, width 0.3s ease-in-out;
        color: var(--white);
        font-family: var(--font-family-1);
        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-container > li:hover {
        border-right: solid var(--brand);
        border-bottom: none;
    }
/*    .menu-container > li:hover,.menu-container > li > a > span:hover {
            font-weight: 600;
    }*/
    .menu-side .drop-down p {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        font-family: var(--font-family-1);
        font-style: var(--paragraph-1-line-height);
        font-weight: var(--weight-bolder);
        font-size: var(--paragraph-3);
        line-height: 1.25rem;
        color: var(--brand-white);
        margin: 0;
    }

    /* .menu-side .drop-down p::before,  */
    .menu-side .drop-down p::after {
        font-family:'Bootstrap-icons' !important;
        content: '\F284';
        transition: all 0.3s ease-in-out;
    }

    .menu-side .drop-down p::before {
        transform: rotate(-45deg);
        top: 112%;
        right: 10%;
    }

    /* .menu-side .drop-down p::after {
        transform: rotate(45deg);
        top: 112%;
        right: 5%;
    } */
    .menu-container > li {
        border-right: solid var(--gray-dark-9);
    }

    .menu-side ul {
        min-width: 0;
        text-align: -webkit-center;
        max-width: 0px;
        overflow: hidden;
        transition: all 0.5s ease-in-out;
        padding: 0rem;
        margin-bottom: 0rem;
        background-color: var(--gray-dark-9);
    }

    .menu-side:hover ul {
        min-width: 8rem;
        overflow: hidden;
        transition: all 0.5s ease-in-out;
    }
    .menu-container > li:last-child{
        padding-bottom:1rem !important;
    }
    .menu-container > li:first-child{
        padding-top:1rem !important;
    }
}

@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;
    }
}


@media(max-width: 768px) {
    .menu-side {
        display: block;
        bottom: 0;
        width: 100%;
        text-align: center;
        z-index: 200;
        top: auto;
        transition: all 0.5s ease-in-out;
        background-color: var(--gray-dark-9);
        border-radius: initial;
    }

        .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;
            
        }
}

.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(--font-family-1);
            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(--font-family-1);
        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;
        }
