﻿/* Animated Sidenav*/
/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    /*width: 200px;*/
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0; /* Left-sided navigation */
    /*right: 0; /* Right-sided navigation */
    background-color: #111; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    padding-top: 60px; /* Place content 60px from the top */
    /*padding-top: 20px;*/
    margin-left: 0px;
}

    /* Style the sidenav links and the dropdown button */
    /* The navigation menu links */
    .sidenav a, .dropdown-btn, .sidenav p {
        padding: 8px 8px 8px 32px;
        /*padding: 6px 8px 6px 16px;*/
        text-decoration: none;
        font-size: 18px;
        /*font-size: 25px;*/
        color: #818181;
        display: block;
        transition: 0.3s;
        /* extra properties */
        border: none;
        background: none;
        width: 100%;
        text-align: left;
        cursor: pointer;
        outline: none;
    }

        /* On mouse-over */
        /* When you mouse over the navigation links, change their color */
        .sidenav a:hover, .dropdown-btn:hover {
            color: #f1f1f1;
        }

/* Additional properties to support the open, close, collapsible Sidenav */
.openbtn {
    font-size: 30px;
    /* font-size: 20px;*/
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 10px 15px;
    border: none;
}

    .openbtn:hover {
        background-color: #444;
    }

/* Close Button for Sidenav */
/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    top: 0;
    /*position: absolute;
  right: 25px;*/
    /* float: right;
  padding-right: 8px;*/
    font-size: 36px;
    margin-left: 180px;
    padding-bottom: 0px;
    /* color: #818181; */
}

/* Main content 
#main {} for <div id="main">
.main for <div class="main">
*/
/* Push this content to the right when Sidenav is opened */
/* 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 .5s;
    padding: 16px;
    /*padding:20px;*/
}

/* End of Additional properties to support the open, close, collapsible Sidenav */

/* Additional properties to support the dropdown in Sidenav */

/* Add an active class to the active dropdown button */
.active {
    background-color: #343a40;
    color: white;
}

/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container {
    display: none;
    background-color: #262626;
    padding-left: 8px;
}

/* Optional: Style the caret down icon */
.fa-caret-down {
    float: right;
    padding-right: 8px;
}

/* End of Additional properties to support the dropdown in Sidenav */

/* Search menu 
#mySearch {} for <div id="mySearch">
.mySearch for <div class="mySearch">
*/
/* Style the search box */

#mySearchFullBoxArea {
    width: auto;
    display: flex;
}

#mySearchInputBox {
    width: 90%;
    border: 1px solid #ddd;
    font-size: 18px;
    padding: 11px;
}

#mySearchIcon {
    background-image: url(https://www.w3schools.com/css/searchicon.png);
    background-repeat: no-repeat;
    background-position: 1px 10px;
    background-color: white;
    width: 10%;
    border: 1px solid #ddd;
}

#mySearchClose {
    width: 10%;
    border: 1px solid #ddd;
    margin-left: 0px;
    background-color: white;
    color: black;
}

#myMenu ul {
    margin-left: 0px;
    padding-left: 0px;
}

#myMenu li {
    list-style-type: none;
    margin-left: 0px;
    padding-left: 0px;
    /*font-size: 30px;
  display: list-item;
 padding: 8px 8px 8px 32px;
  display: block;
  transition: 0.3s;
  extra properties 
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  outline: none;*/
}

/* Some media queries for responsiveness */
/* 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;
        }
}
