/* MENÚ LATERAL PARA INTERACTUAR CON EL GRAFANA */

div.menu_button {
    top:10px;
    width:0px;
    left:0px;
    position: fixed;
    z-index: 10000;
    border: none;
}

#espacio_xa_boton_menu {
    height:20px;
}

#exit_menu {
    position: absolute;
    top:10px;
    left:170px;
}

.menu_button button {
    background: url('/static/img/menu.png') top center no-repeat;
    top:100px;
    width:30px;
    height:100vh;
    border: none;
    outline: none;
}

.menu_button button:focus, .menu_button button:hover, .menu_button button:active {
    border: none;
}

.sidenav {
  height: 100%; /* Full-height: remove this if you want "auto" height */
  width: 200px; /* Set the width of the sidebar */
  position: fixed; /* Fixed Sidebar (stay in place on scroll) */
  z-index: 9999; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: white;/* var(--LIGHT_GREEN); /*#111*/; /* Black */
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 20px;
  box-shadow: 6px 6px 4px grey;
  display:none;
  
}

/* DEBUG (para ver los bordes y ajustar el diseño) */
/* .col, col-sm-auto { border: 1px solid black; }*/

.submenu { /* solo se muestra para ciertos formularios y situaciones */
  left:0px;
  background-color:  white;/*var(--LIGHT_GREEN);*/
  box-shadow: 6px 6px 4px grey;
}

.item_menu {
    padding-top:5px;
    padding-bottom:5px;
}

.btn {
    font-size: 12px;
}

/* SUB-MENÚ */
.sidebar {
  width: 100px;
  width:auto;
  position: fixed; /* Fixed Sidebar (stay in place on scroll) */
  z-index: 9999; /* Stay on top */
  top: 80px; /* Stay at the top */
  left: 155px;
  background-color: white; /*var(--LIGHT_GREEN); /*#111*/; /* Black */
  overflow: hidden; /* Disable horizontal scroll */
  padding-top: 20px;
  transition: 0.5s;
  box-shadow: 6px 6px 4px grey;
}

.sidenav a {
    text-decoration: none;
}

/* ELEMENTOS DEL SUB-MENÚ */
.sidebar a, p, .submenu a, p {
  padding: 0px 8px 8px 8px;
  text-decoration: none;
  font-family: "Roboto";
  font-size: 16px;
  color: rgba(0,0,0,0.87); /*var(--DARK_GREEN);*/
  display: block;
  transition: 0.3s;
}
.sidebar p, .submenu p{
    font-size: 16px;
    color: rgba(0,0,0,0.87);/*var(--DARK_BROWN);*/
}

hr {
    margin: 5px;
}

table td {
    padding: 0px;
    /*padding-bottom: 10px;*/
    /*border: 1px solid black;*/
    align-content: center;
    width:60px;
}

td img {
display: block;
    margin-left: auto;
    margin-right: auto;
}

.icon_text {
    font-size: 16px;
    color: rgba(0,0,0,0.87); /*black;*/
    text-align: center;
    /*writing-mode:vertical-rl;*/
    white-space:nowrap;
    margin-left:auto;
    margin-right:auto;
    padding-right:auto;
    padding-left:auto;
}

.cursor_pointer, .cursor_pointer.div {
    cursor: pointer;
}

.item_menu:hover, .hovered, .donde_estoy, .sidebar a:hover, .submenu a:hover {
    background-color: rgba(220,220,220,1);/*var(--DARK_GREEN);*/
}

.hovered {
    background-color: rgba(220,220,220,1);/*var(--DARK_GREEN);*/
}


/* When you mouse over the navigation links, change their color */
.sidebar label:hover,.sidebar a:hover, .submenu a:hover {
    color: indigo; /*var(--LIGHT_GREEN);*/
}

/* Style page content */
.main {
  margin-left: 160px; /* Same as the width of the sidebar */
  padding: 0px 10px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidebar (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

