﻿.headerPais {
    background-color: #FFF;
    border-bottom: 1px solid #A3CDF1;
    z-index: 300;
}

.nav li.active a {
    background-color: #FAFBFC !important;
    color: #004480 !important;
    display: flex;
    gap: 4px;
    border: 0px;
}

.nav li.active a:hover {
    background-color: #FAFBFC !important;
    color: #004480 !important;
    cursor: pointer;
    border: 0px;
}


.header {
    height: 80px;
    top: -1px;
    z-index: 999;
    background: #fff;
    position: sticky;
    /*top: 50px;*/
    z-index: 100;
    --tw-shadow: 0 0 2px 0 rgba(145, 158, 171, .2), 0 4px 32px 0 rgba(145, 158, 171, .2);
    --tw-shadow-colored: 0 0 2px 0 var(--tw-shadow-color), 0 4px 32px 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.contenedor {
    max-width: 1280px;
    padding-left: 60px;
    padding-right: 60px;
    margin-left: auto;
    margin-right: auto;
}

.header-btns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 65%;
    height: 100%;
}


.header-item {
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8px 12px;
}

.header-item:hover {
    background-color: #ECF3F9;
    border-radius: 8px;
}

.avatar-item:hover {
    border-radius: 1000px;
    border: 1px solid #A3CDF1;
    padding: 8px;
    margin: 0px 3px;
}

.header-item :is(a,p) {
    text-decoration: none;
    text-decoration-line: none;
    font: normal normal 600 14px/24px Open Sans;
    color: #43474A;
    margin: 0;
    white-space: nowrap;
}

.header-item:hover :is(a, p) {
    color: #43474A;
}

.menu-acceder {
    width: 352px !important;
    padding: 16px 24px 24px 24px !important;
    top: 60px !important;
    left: -218px !important;
}

.menu-perfil-header {
    top: 58px !important;
    left: unset !important;
}

/*Menu down Nav*/

.header-menu {
    top: 54px;
}

.header-item .header-menu {
    width: 230px;
    z-index: 99999;
    background: #fff;
    position: absolute;
    top: 40px;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 8px;
    text-align: center;
    padding: 12px;
    left: 0px;
}

.header-item .header-menu .menu-item {
    height: 35px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all .3s;
    font: normal normal normal 18px/24px Open Sans;
    margin-bottom: 4px;
}

.header-item .header-menu .menu-item a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    /*color: #616161;*/
    color: #43474A;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
}

.header-item .header-menu .menu-item:hover a {
    /*color: #28C2E4;*/
    color: #43474A;
    text-decoration: none;
    background-color: rgb(236, 243, 249);
    border-radius: 4px;
}

/* MENU SUPERIOR */
.nav {
    display: flex;
    gap: 8px;
    float: right;
    font-size: 15px;
    font-weight: 600;
    color: #43474A;
    border-bottom: none;
}

.nav li {
    margin-top: 8px;
    border-radius: 16px 16px 0px 0px;
    padding: 1px;
}
.nav li:hover {
    background-color: #FAFBFC;
    border: 1px solid #A3CDF1;
    border-bottom: none;
    padding: 0px;
}

.nav .active:hover {
    padding: 1px;
}

.nav li a {
    padding: 8px 12px;
    font-size: 14px !important;
    color: rgb(67, 71, 74);
    margin-bottom: 7px;
    border-radius: 16px 16px 0px 0px;
    margin-right: 0px;
}
    .nav > li > a:hover {
        border-color: #FAFBFC;
    }
    .nav > li > a:focus, .nav > li > a:hover {
        text-decoration: none;
        background-color: #FAFBFC;
    }

.nav .active {
    margin-top: 8px;
    background-color: #FAFBFC;
    border: 1px solid #A3CDF1;
    border-radius: 16px 16px 0px 0px;
    border-bottom: none;
}

    .active a {
        color: #004480;
        border: 0px;
        background-color: #FAFBFC;
    }

.header-item p i:before {
    -webkit-transition: 0.3s ease-out;
    -moz-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
    margin: 0px 0px 0px 8px;
    font-weight: bold;
}

/* Estilo del círculo */
.avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #519657;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
}



.accederH {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.accederH .auth-panel__white_button {
    padding: 8px 16px;
    font-weight: 700;
    line-height: 135%;
    text-align: center;
    width: 144px;
    height: 40px;
    color: #0074D9 !important;
    font-size: 16px;
}

.accederH .auth-panel__white_button:hover {
    text-decoration: none;
    color: #0074D9;
    border-width: 2px;
    padding: 7px 15px;
}

.accederH .auth-panel__button {
    width: 144px;
    height: 40px;
    padding: 8px 16px;
    color: #FFF !important;
    font-weight: 700;
    font-size: 16px;
}

@media screen and (max-width: 1024px) {
    .header, .headerPais {
        display: none !important;
    }
}

@media screen and (max-width: 580px) {
    .contenedor {
        padding-left: 20px;
        padding-right: 20px;
    }
}