

.sidenav {
    height: 100%; /* Full-height: remove this if you want "auto" height */
    width: 50px; /* Set the width of the sidebar */
    position: absolute; /* Fixed Sidebar (stay in place on scroll) */
    z-index: 115; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    background-color: #163554;
    /*background-image: linear-gradient(90deg, #171717 50%, #7f8c8d 205%);*/
    padding-top: 60px;
    /*text-align: center;*/
    box-shadow: 0px 0px 2px #163554;
    position: fixed;
    overflow-y:scroll;
    overflow-x: visible;
}


.sidenav::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.sidenav.navopen{
    width: 165px;
}


.sidenav.navopenmob{
    display:inline;
}

@media only screen and (max-width: 600px) {
    .sidenav {
        display: none;
        width: 165px;
    }
}



.sidenav hr {
    margin: 5px;
    padding: 0px;
    border-color: #9fa4ff;
}

.sidenav a {
    text-decoration: none;
    color: #f7f7f7;
}

.links a {
    text-decoration: none;
}

.links a:hover {
    /*color: #f1f1f1;*/
}

.links a img {
    width: 30px;
    height: auto;
    filter: brightness(0) invert(1);
}

.links .link ,
.links .linkset {
    padding: 5px 5px;
    display: block;
    color: #f7f7f7;
}


.links .link:hover,
.links .linkset:hover {
    background-color: #184874;
    color: #2d9ffd;
}

.links .active {
    background-color: #3f487f;
    border-left: 3px solid #9fa4ff;
}

.links .link img {
    width: 30px;
    height: auto;
    filter: brightness(0) invert(1);
}
.links .link:hover img {
    /*filter:none;*/
}

.links .notification {
    position: absolute;
    background-color: #da0505;
    border-radius: 100px;
    height: 20px;
    width: 20px;
    left: 25px;
    z-index: 10;
    font-size: 12px;
    color: #fff;
    font-weight: bold;
    margin-top: -5px;
    text-align: center;
}



.links .link2 {
    padding: 5px 5px;
    display: block;
    padding: 10px 15px;
    display: block;
    cursor: pointer;
    color: #fff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 13px;
}

#lsubconfig{
    position: absolute;
    bottom: 0px;
    cursor:pointer;
}



/* ENLACES MENU CONFIGURACION */
#lconfig {
    position: absolute;
    bottom: 10px;
    width: 100%;
    margin-top: 5px;
}

@media screen and (max-height: 810px) {
    #lconfig {
        position: relative;
        bottom: 0px;
    }
}

.links svg {
    fill: #f7f7f7;
    height: 30px;
    width: 30px;
    margin-left: 5px;
}

/*menu es icono imagen*/
.links .icono {
    height: 30px;
    width: 30px;
    margin-left: 5px;
    filter:unset !important;
}


@media screen and (max-height: 450px) {
    .sidenav a {
        /* font-size: 18px;*/
    }
}

#settingsopen {
}

/*MENU PRINCIPAL EXPANDIBLE*/
#sidenavoptions {
    /*height: 100%;*/
    width: 140px;
    position: fixed;
    z-index: 110;
    /*top: 0;*/
    bottom: 0px !important;
    left: 50px;
    padding-top: 20px;
    text-align: left;
    background-color: #29384f;
    box-shadow: 1px 0px 5px #000;
    display: none;
    color: white;

}
#sidenavoptions.navopen {
    left: 150px;
}
#sidenavoptions::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

@media screen and (max-height: 750px) {
    #sidenavoptions {
        top: 55px;
        bottom:unset;
        overflow-y: scroll;
    }
}



#sidenavoptions hr {
    margin: 5px;
    padding: 0px;
    border-color: #29384f;
}

#sidenavoptions #lprincipal {
    margin-bottom: 10px;
}

#sidenavoptions .links .link {
    padding: 10px 15px;
    display: block;
    cursor: pointer;
    color: #fff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 13px;
}
#settings{
    cursor: pointer;
}

#settings:hover #sidenavoptions {
    display: block;
}

#login:hover #sidenavoptions {
    display: block;
}

.searchmovil {
    display: none;
}

.searchmovil form{
    background: none;
}

/* MOVIL */


#menuarea .search form{
    background: none;
}

@media only screen and (max-width: 600px) {



    #sidenavoptions {
        left: 150px;
    }

    .searchmovil {
        display: block;
        position: relative;
        line-height: 40px;
    }

    .search{
        display: none;
    }


    .searchmovil input[type="text"] {
        width: 130px;
        padding-left: 15px;
        height: 25px;
        border-radius: 50px;
        border: none;
        font-size: 13px;
        margin-left: 5px;
    }

    .searchmovil svg {
        fill: #000;
        height: 25px;
        width: 25px;
    }

    .searchmovil input[type="text"]:focus {
        outline: none;
        border: none;
    }

    .searchmovil .search-button {
        height: 30px;
        width: 30px;
        border-radius: 100px;
        border: none;
        background: none;
        margin-left: -35px;
        position: absolute;
    }

    .searchmovil .search-button:hover {
        background-color: #ccc;
    }
}

/* MENU TOP */

#menuarea {
    height: 55px;
    width: 100%;
    position: fixed;
    z-index: 120;
    /*top: 50px; */
    left: 0;
    /*padding-left: 10px; */
    background-color: #163554;
    border-bottom: 2px solid #fff;
}

/* menu button */

#menuarea #menu {
    position: fixed;
    padding: 0px 15px;
    line-height: 50px;
    z-index: 3;
}

#menuarea #menu svg {
    fill: #f7f7f7;
    height: 24px;
    width: 24px;
}

/* logo */
#menuarea #logo {
    position: fixed;
    left: 50px;
    line-height: 50px;
}

#menuarea #logo a {
    padding: 0px 5px;
    text-decoration: none;
    display: block;
}
/* logo imagen */
#menuarea #logo img {
    max-height: 50px;
    max-width: 200px;

}



/* user cola llamadas*/

#usercola {
    padding: 0px 10px 0px 10px;
    float: right;
    line-height: 50px;
    cursor: pointer;
}
@media only screen and (max-width: 700px) {
    #usercola {
        padding: 0px;
    }
    #usercola{
        display: none;
    }
}

#usercola svg:hover {
    padding: 2px;
}

#usercola{
    font-size: 12px;
}

.colapause, .colaplay{
    cursor: pointer;
}









/* user alert*/

#useralert {
    padding: 0px 10px 0px 10px;
    float: right;
    line-height: 50px;
    cursor: pointer;
}
@media only screen and (max-width: 700px) {
    #useralert {
        padding: 0px;
    }
    #useralert .notification {
        margin-left: -5px;
    }
    #menuarea #logo {
        left: 50px;
    }
}

#useralert svg:hover {
    padding: 2px;
}

#useralert .notification {
    background-color: #da0505;
    border-radius: 100px;
    height: 20px;
    /* width: 20px; */
    /* right: 8px; */
    z-index: 10;
    font-size: 12px;
    color: #fff;
    font-weight: bold;
    /* margin-left: -5px; */
    padding: 2px 6px;
}

#sub-useralert {
    display: none;
    position: fixed;
    right: 100px;
    top: 55px; /*150px;*/
    background-color: #fff;
    border: 1px solid #ccc;
    -webkit-box-shadow: 0 2px 10px rgb(0 0 0 / 20%);
    box-shadow: 0 2px 10px rgb(0 0 0 / 20%);
    overflow: hidden;
    font-size: 12px;
    z-index: 10;

    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 111;
}

@media only screen and (max-width: 750px) {
    #sub-useralert {
        right: 10px;

    }
}

#sub-useralert a {
    text-decoration: none;
    color: #29384f;
}

#sub-useralert a:hover div {
    background-color: #ccc;

}

#sub-useralert div {
    padding: 10px 15px;
}
#sub-useralert #useralert-title {
    background-color: #29384f;
    padding: 3px 15px;
    color: #fff;
    text-align: center;
    font-size: 14px;
}


#sub-useralert #alertscroll{
    max-height: 350px;
    overflow: auto;
    display: block;
    background-color: #fff;
}


#sub-useralert div{
    border-top: 1px solid #f2f2f2;
}

#sub-useralert div:hover{
    background-color: #f2f2f2;

}
#sub-useralert div a{
    font-size:13px;
}

#sub-useralert div a:hover{
    text-decoration: underline;
}

#sub-useralert div i{
    font-size: 10px;
    color: #aaa;
}

#sub-useralert .alertlin{
    float: right;
    margin-top: -2px;
    margin-left: 20px;
}

#sub-useralert span svg{
    cursor: pointer;
}

#sub-useralert span svg:hover{
    fill: #da0505;
}




/* current user*/

#currentuser {
    line-height: 50px;
    float: right;
    cursor: pointer;
}

#currentuser #user-name {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #f7f7f7;
    font-size: 12px;
    padding: 15px 0px 15px 10px;
}

@media only screen and (max-width: 750px) {
    #currentuser #user-name {
        display: none;
    }
}

#currentuser #user-avatar {
    padding: 15px 15px 15px 10px;
}

#currentuser #user-avatar #user-image {
    height: 35px;
    width: 35px;
    border-radius: 100px;
}

#currentuser #user-avatar #user-image:hover {
    border: 2px solid #fff;
    /*padding: 2px;*/
}

#sub-currentuser {
    display: none;
    position: fixed;
    right: 0px;
    top: 55px; /*55px;*/
    width: 170px;
    background-color: #163554;
    color: #fff;
    font-size: 12px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    border-bottom-left-radius: 10px;
    overflow: hidden;
    z-index: 111;

    -webkit-box-shadow: 0 2px 10px rgb(0 0 0 / 20%);
    box-shadow: 0 2px 10px rgb(0 0 0 / 20%);
}

#sub-currentuser hr{
    margin: 0px 5px;
}

#sub-currentuser #sub-user-avatar{
    text-align: center;
}

#sub-currentuser #sub-user-avatar #sub-user-image {
    border-radius: 100%;
    padding: 15px 15px 0px 15px;
    height: auto;
    width: 150px;
}

#sub-currentuser .link-currentuser.name {
    text-align: center;
    font-weight: bold;
}

#sub-currentuser .link-currentuser.name{
    pointer-events: none;

}

#sub-currentuser a {
    text-decoration: none;
    color: #fff;
}

#sub-currentuser #ultregistro {
    text-align: center;
    font-size: 11px;
    display: block;
    color: #eda504;
}


#sub-currentuser .link-currentuser {
    padding: 10px 15px 10px 15px;
}
#sub-currentuser .link-currentuser:hover {
    background-color: #394a64;
}

#sub-currentuser .link-currentuser svg {
    margin-right: 10px;
    fill: #fff;
}

#sub-currentuser .link-currentuser #logout {
    margin-left: 6px;
}

/* END MENU TOP */

.menutext {
    position: absolute;
    line-height: 30px;
    margin-left: 10px;
    color: #f7f7f7;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 13px;
    display: none;
}

/* menu con 2 lineas de texto */
#m_registros .menutext,
#m_incidencias .menutext,
#m_documentos .menutext,
#m_insercion .menutext,
#sm_pendientescobro .menutext,
#sm_pagos .menutext,
#sm_movcaja .menutext,
#sm_empresasinsercion .menutext,
#m_serviciosespeciales .menutext,
#lsubconfig .menutext,
.typ#m_tareas .menutext{
    line-height: 16px;
}


@media only screen and (max-width: 600px) {
    .menutext {
        display: inline;
    }
}


.menutext.navopen{
    display: inline;
}


/* notificacion vista contactos presupuestos caducados pendiente respuestas*/
#views-edit-icons .notification{
    position: absolute;
    background-color: #da0505;
    border-radius: 100px;
    height: 20px;
    width: 20px;
    margin-left: -10px;
    z-index: 10;
    font-size: 12px;
    color: #fff;
    font-weight: bold;
    margin-top: -5px;
    text-align: center;
}


#configurar:hover #configuraroptions{
    display:block;
}


#configuraroptions.sideshow{
    display: block !important;
}

#configuraroptions {
    /*height: 100%;*/
    width: 140px;
    position: absolute;
    z-index: 10;
    /*top: 0;*/
    bottom: 0px;
    left: 51px;
    /* padding-top: 20px;*/
    text-align: left;
    background-color: #163554;
    box-shadow: 1px 0px 5px #000;
    display: none;
    color: white;
}

#configuraroptions .links a {
    text-decoration: none;
    color: #fff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 13px;
    padding: 10px 15px;
}

#configuraroptions .links a:hover {
    /* color: #f1f1f1;*/
}


/* notificacion vista contactos presupuestos caducados pendiente respuestas*/
#views-edit-icons .notification{
    position: absolute;
    background-color: #da0505;
    border-radius: 100px;
    height: 20px;
    width: 20px;
    margin-left: -10px;
    z-index: 10;
    font-size: 12px;
    color: #fff;
    font-weight: bold;
    margin-top: -5px;
    text-align: center;
}


/*submenu canales*/
#configurar:hover #canalesoptions{
    display:block;
}


#canalesoptions {
    /*height: 100%;*/
    width: 140px;
    position: absolute;
    z-index: 10;
    /*top: 0;*/
    bottom: 0px;
    left: 190px;
    padding-top: 20px;
    text-align: left;
    background-color: #3f487f;
    box-shadow: 1px 0px 5px #000;
    display: none;
    color: white;
}

#canalesoptions .links a {
    text-decoration: none;
    color: #fff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 13px;
    padding: 10px 15px;
}

#canalesoptions .links a:hover {
    /* color: #f1f1f1;*/
}



/* MENU USUARIO */


#user-options-block{
    /*
    background-color: #f2f2f2;
    padding: 100px 50px;   
    border-radius: 15px;
    */
}

.user-option {

    height: 200px;
    background-color: #163554;
    width: auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    color: #f4f4f4;
    border-radius: 10px;
    margin-top: 20px;
    text-decoration: none;
    font-weight: bold;
    padding: 5px;
    position: relative;
}

.user-option .notification{
    position: absolute;
    background-color: red;
    right: 20px;
    top: 20px;
    border-radius: 100px;
    width: 40px;
    height: 40px;
    text-align: center;
}

.nombreuser{
    font-size: 30px;
    font-family: Verdana;
    margin-top: 20px;
}

#ultregistrouser{
    display: table;
    font-size: 13px;
    background-color: #faebd7;
    padding: 0px 5px;
    border-radius: 2px;
}

.user-icons{
    position: absolute;
    height: 80px;
    margin-top: -20px;
}

.user-option div{
    margin-top: 120px;
}

@media (max-width: 1200px) {
    .user-option {
        font-size: 20px;
    }

    .user-option .notification{
        font-size: 20px;
        width: 30px;
        height: 30px;
    }


    .nombreuser{
        font-size: 25px;
        font-family: Verdana;
        margin-top: 20px;
    }

}


#views-edit-icons td{
    padding-left: 10px;
}



#block-astecth-astecproyectos{
    float: left;
    margin-left: 300px;
}

#block-astecth-astecproyectos #asteccrm_big {
    height: 50px;
}

#m_empleados {
    cursor:pointer;
}

.linkactive{
    background-color: #184874;
    color: #2d9ffd !important;
}

.link.smmore{
    /*border-right: 1px solid #fff;*/
}

/* MENU SECUNDARIO */
.secundariooptions{
    position: absolute;
    left: 50px;
    background-color: #163554;
    top: 55px;
    z-index: 100;
    border-left: 1px solid #fff;
    width: 50px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;

}

.secundariooptions.navopen {
    left: 165px;
    width: 165px
}

.secundariooptions hr {
    margin: 5px;
    padding: 0px;
    border-color: #9fa4ff;
}

@media only screen and (max-width: 600px) {
    .secundariooptions{
        left: 165px;
        width: 165px
    }
}