@charset "utf-8";
#dnn_nav{
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    position: fixed;
    top: -100vh;
    left: 0;
    width: 00%;
    visibility: hidden;
}

.ax-nav {
    display: inline-block;
    text-align: right;
    vertical-align: middle;
    z-index: 999;
    width: 7%;
}

.ax-nuevo-boton-menu{
    position: relative;
    display: inline-block;
    vertical-align: middle;
    display: block;
    text-decoration: none;
    line-height: 12px;
    z-index: 999;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.ax-nuevo-boton-menu:before{
    content: "Menú";
    position: relative;
    font-family: 'essa-bold';
    color: #ffffff;
    display: inline-block;
    vertical-align: middle;
    margin: 0 6px 0 0;
    line-height: 12px;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.activar-menu .ax-nuevo-boton-menu:before{
    content: "Cerrar";
    z-index: 99;
    color: #264796;
}

.ax-nuevo-boton-menu i{
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    vertical-align: middle;
}

.ax-nuevo-boton-menu i:before{
    content: "\f0c9";
    color:#ffffff;
    font-size: 24px;
    display: block;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.activar-menu .ax-nuevo-boton-menu i:before{
    content: "\e805";
    color:#264796;
    position: relative;
    z-index: 99;
}

.ax-nuevo-boton-menu:hover:before, .ax-nuevo-boton-menu:hover i:before,
.ax-nuevo-boton-menu:focus:before, .ax-nuevo-boton-menu:focus i:before{
    color: #009BDB;
}

.ax-texto-menu {
    background: white;
    width: 650%;
    position: absolute;
    box-sizing: border-box;
    padding: 8px;
    right: 0;
    top: 35px;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.ax-texto-menu:before {
    content: "";
    position: absolute;
    border-bottom: 10px #ffffff solid;
    border-right: 10px transparent solid;
    border-left: 10px transparent solid;
    width: auto;
    top: -9px;
    right: 3px;
}

.ax-texto-menu p {
    text-align: center;
    font-size: 14px;
    margin: 0;
}

.ax-nuevo-boton-menu:hover:before,
.ax-nuevo-boton-menu:focus:before
.ax-nuevo-boton-menu i:hover + .ax-texto-menu,
.ax-nuevo-boton-menu i:focus + .ax-texto-menu{
    visibility: visible;
    opacity: 1;
}



.activar-menu #dnn_nav{
    display: block;
    width: 100%;
    height: calc(100vh - 39px);
    background: rgba(255,255,255,.75);
    top: 39px;
    left: 0;
    z-index:998;
    visibility: visible;
}

.activar-menu #dnn_nav:before{
    content:"";
    display: block;
    width: 100%;
    height: 83px;
    background: #ffffff;
    position: relative;
    top: 0;
    left: 0;
    z-index: 98;
}

ul.menuP {
    left: 0;
    top: 0px;
    text-align: left;
    height: calc(100vh - 60px);
    background: #ffffff;
    width: 20vw;
    position:relative
}

ul.menuP li{
    position:static;
}

.dropdown-descripcion,
.dropdown-menu {
    position: absolute;
    left: 100%;
    top: 0;
    width:20vw;
    height: calc(00vh - 60px);
    background: #ffffff;
    margin: 0;
    border-left: 1px solid #bbb;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

li:hover > .dropdown-descripcion,
li:hover > .dropdown-menu,
li:focus > .dropdown-descripcion,
li:focus > .dropdown-menu{
    height: calc(100vh - 60px);
}

li:focus-within > .dropdown-descripcion,
li:focus-within > .dropdown-menu{
    height: calc(100vh - 60px);
}


.menuP .ax-page {
    width: 88%;
    display: inline-block;
    padding: 12px 30px;
    box-sizing: border-box;
    color:#264796;
    text-decoration: none;
    font-family: 'essa-bold';
    vertical-align: middle;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.dropdown-descripcion > p,
.dropdown-menu > li{
    pointer-events: none;
}

.menuP li:hover > .dropdown-descripcion > li,
.menuP li:focus > .dropdown-descripcion > li,
.menuP li:hover > .dropdown-menu > li,
.menuP li:focus > .dropdown-menu > li{
    pointer-events: auto;
}


.dropdown-menu > li > .ax-down-menu:before,
.dropdown-descripcion > p,
.dropdown-menu > li > .ax-page{
    color: rgba(38, 71, 150, 0);
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.menuP li:hover > .dropdown-descripcion  > p,
.menuP li:focus > .dropdown-descripcion  > p{
    color:#666;
}

.menuP li:hover > .dropdown-menu > li > .ax-down-menu:before,
.menuP li:focus > .dropdown-menu > li > .ax-down-menu:before,
.menuP li:hover > .dropdown-menu > li > .ax-page,
.menuP li:focus > .dropdown-menu > li > .ax-page{
    color:#264796;
}

.menuP li:focus-within > .dropdown-menu > li > .ax-down-menu:before,
.menuP li:focus-within > .dropdown-menu > li > .ax-page{
    color:#264796;
}

.menuP li:hover,
.menuP li:focus{
    background:#009BDB;
}

.menuP li:focus-within{
    background:#009BDB;
}

.menuP li:hover > .ax-page,
.menuP li:focus > .ax-page,
.menuP li:hover > .ax-down-menu:before,
.menuP li:focus > .ax-down-menu:before{
    color:#fff !important;
}

.menuP li:focus-within > .ax-page,
.menuP li:focus-within > .ax-down-menu:before{
    color:#fff !important;
}

.dropdown-descripcion p{
    padding:15px;
}

.ax-down-menu{
    width: 9%;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
}

.ax-down-menu:before{
    content: '\e801';
    font-family: 'font-essa-icon';
    color:#264796;
    text-align: center;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

@media screen and (max-width:1025px){
    .ax-nav {
    width: 10%;
    }
    .dropdown-descripcion, .dropdown-menu, ul.menuP{
        width:20vw;
    }
    .menuP .ax-page{
        padding: 9px 30px;
    }
}

@media screen and (max-width:800px){
    ul.menuP{
        width:100%;
    }

    li:hover,
    li:focus{
        background: #ffffff;
    }

    ul.menuP li{
        position:relative;
    }
    .dropdown-menu > li > .ax-down-menu:before, .dropdown-descripcion > p, .dropdown-menu > li > .ax-page,
    li:hover > .ax-page, li:hover > .ax-down-menu:before{
        color:#264796 !important;
    }

    .ax-down-menu{
        padding: 8px 0;
        border-left: 1px solid #264796;
    }

    .dropdown-descripcion, .dropdown-menu, .menuP{
        height: 100vh;
        left: -120vw;
        top: 100%;
        border-left: 7px solid #fff;
        width: 100%;
        background: rgba(255, 255, 255, 0.8);
        z-index: 1;
    }

    .menu-activado > .dropdown-menu{
        left:0;
    }

    .menu-activado > .ax-down-menu:before{
        content: '\e802';
    }
}


@media (max-width: 768px){
    .ax-nav {
        width: 16%;
    }

    .activar-menu #dnn_nav{
        top: 50px;
    }
}

@media (max-width: 576px){
    .ax-nav {
        width: 22%;
    }
}

@media (max-width: 425px){
    .ax-nav {
        width: 50%;
    }

    .activar-menu #dnn_nav{
        top: 112px;
    }
}