/* The button used to open the sidebar */
.openbtn {
    font-size: 15px;
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 1px 20px;
    border: none;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.openbtn:hover {
    background-color: #444;
}

/* 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) {
    .sidebar {padding-top: 15px;}
    .sidebar a {font-size: 18px;}
}

#button_sidebar {
    position: fixed !important;
    z-index: 10 !important;
    left: 0px !important;
    /* bottom: 20% !important; */
    top: 80% !important;
    transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform-origin: bottom left;
}

#button_right_sidebar {
    position: fixed !important;
    z-index: 10 !important;
    right: 0px !important;
    /* bottom: 20% !important; */
    top: 80% !important;
    transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform-origin: bottom right;
}

#openbtn_content {
    transition: transform 0.5s ease-in-out;
    display: inline-block;
}

#openbtn_content.rotate {
    transform: rotate(540deg);
}

#right_openbtn_content {
    transition: transform 0.5s ease-in-out;
    display: inline-block;
}

#right_openbtn_content.rotate {
    transform: rotate(540deg);
}

.sidebar {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0;
    left: 0;
    background-color: #ffffff; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 5px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidebar */
  }

.sidebar.right-sidebar {
    right: 0;
    left: auto;
    overflow-x: auto;
}

.sidebar>.sidebar_content {
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

.sidebar>.right_sidebar_content {
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px;
    padding-left: 10px;
    padding-right: 10px;
}
  
/* The sidebar links */
.sidebar a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 16px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidebar a:hover {
    color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidebar .closebtn {
    top: 0;
    font-size: 36px;
    padding: 0px;
}

.sidebar .closebtn-right-sidebar {
    position: absolute;
    top: 0;
    left: 0px;
    font-size: 36px;
    margin-left: 0px;
}