

.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: #29384f;
    /*background-image: linear-gradient(90deg, #171717 50%, #7f8c8d 205%);*/
    padding-top: 60px;
    /*text-align: center;*/
    box-shadow: 1px 0px 5px #000;
    position: fixed;
    overflow-y:scroll;
    overflow-x: visible;  
}


.sidenav::-webkit-scrollbar {
    width: 0px; 
    background: transparent;  
}

.sidenav.navopen{
    width: 150px;
}


.sidenav.navopenmob{
    display:inline;
}

@media only screen and (max-width: 600px) {
    .sidenav {
        display: none;
        width: 150px;
    }
}



.sidenav hr {
    margin: 5px;
    padding: 0px;
    border-color: #9fa4ff;
}

.sidenav a {
    text-decoration: none;
    color: #fff;
}

.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;
}



.links .link:hover,
.links .linkset:hover {
    background-color: #394a64;
}

.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; 
}



/* 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: white;
    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: #3f487f;
    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: #3f487f;*/
    background-color: #29384f;
    /*background-color:#3a3d43;*/
    border-bottom: 2px solid #fff;
}

/* menu button */

#menuarea #menu {
    position: fixed;
    padding: 0px 15px;
    line-height: 50px;
    z-index: 3;
}

#menuarea #menu svg {
    fill: white;
    height: 24px;
    width: 24px;
}

/* logo */
#menuarea #logo {
    position: fixed;
    left: 70px;
    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: #fff;*/
    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: #29384f;
    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 #sub-user-avatar #sub-user-image {
    border-radius: 100%;
    padding: 15px 15px 5px 15px;
    height: 150px;
    width: 170px;
}

#sub-currentuser .link-currentuser.name {
    text-align: center;
    font-weight: bold;
}

#sub-currentuser a {
    text-decoration: none;
    color: #fff;
}

#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: #fff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 13px;
    display: none;
}

@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 {
    /*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;
}

#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;*/
}
