/* 
============================================
Nav Bar - For Members V2
============================================
*/

.topnav {
  overflow: hidden;
  margin:auto;
  max-width:1200px;
  background:var(--midgrey);
}   
.topnav a {
  float: left;
  display: block;
  color: var(--lightfont);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 12pt;
  margin: 10px;
}

.active {
  color: green;
  border-radius: 20px   
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}
.dropdown .dropbtn {
  font-size: 12pt;    
  border: none;
  outline: none;
  color: var(--lightfont);
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 10px 10px 0 10px ;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-size:12pt; 
  margin:0
}
.profile {
    float:right
}

.topnav a:hover, .dropdown:hover .dropbtn {
  color: green;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
  
  .profile {
      float:left;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}


/* SIDE MENU */

#side-menu {
    width:250px;
    height:100vh;
    position:fixed;
    top:0;
    bottom:0;
    background:white;
    z-index:1000;
}
#link-holder {
    height:calc(100vh - 150px);
    width:100%;
    overflow-y: scroll;
}
div.menu-open {
    left:0;
}
div.menu-closed {
    left:-250px;
}
#side-menu-header {
    width:100%;
    height:150px;
    
}
#side-menu-header img{
    width:50px;
    height: 50px;
    margin:15px 5px;
    object-position:top left ;
    object-fit: cover;
    border-radius: 25px;
    float:left;
}
#side-menu-header p{
    width:calc(100% - 70px);
    height: 50px;
    margin:27px 5px 10px 5px;
    color:#fff;
    float:left;
    font-size:10pt
}
#side-menu-header h3 {
    font-weight:300;
    margin: 0px;
    padding-left:10px;
    color:#fff;
    text-shadow: 0px 0px 1px #333;
}
#user-holder {
    border-bottom: .5px solid #fff;
    border-top: .5px solid #fff;
    margin:10px;
    padding:0;
    min-height:80px;
}
#side-menu-closer, #side-menu-open {
    Float:left;
    top:0;
    right:0;
    width:40px;
    text-align:center;  
    color:#333;
    background:#fff;
    margin:10px;
    border-radius: 50%;
    box-shadow: 0 16px 38px -12px rgba(0,0,0,.56), 0 4px 25px 0 rgba(0,0,0,.12), 0 8px 10px -5px rgba(0,0,0,.2);
}
div.main-content-narrow {
    width:calc(99.99 - 70px);
    margin-left: 40px
}

::-webkit-scrollbar {
    width: 5px;
}
/* Track */
::-webkit-scrollbar-track {
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #eee;
  border-radius: 10px;
}
scrollbar {
    width: 5px;
}