﻿body {

}

/* The side navigation menu */
.sidenav {
    /*height: 50%;*/ 
 
    
    width: 35px; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 250px;
    right: 0;
    /*background-color:#f8fdf8;*/
     /*background: rgba(30, 132, 73, 0.90);*/
    background:black;
    /*border:solid;
      border-color:white;
      border-width:1px;*/
    border:solid;
    border-color:whitesmoke;
     border-width:1px;
    border-right:none;
    border-top-left-radius:10px;
    border-bottom-left-radius:10px;

    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 0; 
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    height:250px;
    overflow-y:hidden;

}


.visible {

 visibility:visible;

   
}

.hidden {
    
 visibility:hidden;

}

/* The navigation menu links */
.sidenav a {

    padding: 8px 8px 8px 8px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s
}
 
/* When you mouse over the navigation links, change their color */
.sidenav a:hover, .offcanvas a:focus{
    color: #f1f1f1;
}
 
/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 5px;
    font-size: 15px;
    margin-left: 5px;
    visibility:hidden;
    color:white;
}


#icoOpen 
{
   position: absolute;
    top: 5px;
    left: 5px;
    font-size: 15px;
    margin-left: 5px;

}
 
/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-left;
    margin-left: 10px;
    margin-top:30px !important;
     margin-right: 10px;
    /*overflow:hidden;*/
    width:100%-10px;
    visibility:hidden;

}
body {
  overflow-x: hidden;
}
 
/* Add a black background color to the top navigation */
.topnav {
    background-color: #333;
    overflow: hidden;
}
 
/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}
 
/* Change the color of links on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}
 
/* Add a color to the active/current link */
.topnav a.active {
    background-color: #4CAF50;
    color: white;
}
 
/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}
 
a svg{
  transition:all .5s ease;
 
  &:hover{
    #transform:rotate(180deg);
  }
}
 
#ico{
  display: none;
}


#titulo_pestaña_comentarios {

    color:white;
      position: absolute;
    top: 50%;
    left: 50%;
     transform:  translateX(-50%) translateY(-50%) rotate(-90deg);
  
}
titulo_pestaña_comentarios:hover {
    color:white;
}

 
.menu{
  background: #000;
  display: none;
  padding: 5px;
  width: 320px;
  @include border-radius(5px);
 
  #transition: all 0.5s ease;
 
  a{
    display: block;
    color: #fff;
    text-align: center;
    padding: 10px 2px;
    margin: 3px 0;
    text-decoration: none;
    background: #444;
 
    &:nth-child(1){
      margin-top: 0;
      @include border-radius(3px 3px 0 0 );
    }
    &:nth-child(5){
      margin-bottom: 0;
      @include border-radius(0 0 3px 3px);
    }
 
    &:hover{
      background: #555;
    }
  }
}
