/* START TOP HORIZONTAL MENU */
.pnwrapper {
    margin: auto;
}
ul.postnav {
    padding-left:12em;
    list-style-type: none;
    margin: auto;
    border: 0px solid #e7e7e7;
    border-top-left-radius: 1em;
    border-bottom-left-radius: 1em;
    border-top-right-radius: 1em;
    border-bottom-right-radius: 1em;
    background-color: #f3f3f3;
    max-width:80%;
}
.postnav li a {
    display: inline-block;
    color: #666;
    background-color: #f3f3f3;
    text-align: center;
    text-decoration: none;
}

.postnav li {
  float: left;
  border-right: 1px solid #bbb;
}
.postnav li:last-child {border-right: none;}
.postnav li a {
  display: inline-block;
  color: #666;
  background-color: #f3f3f3;
  text-align: center;
  /*padding: 14px 16px;*/
  padding: 1em;
  text-decoration: none;
}

.postnav li.dropdown {
  display: inline-block;
}

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

.dropdown-content a {
  color: black;
  text-decoration: none;
  display: block;
  text-align: left;
  width:100%;
}

li.postnav:hover .dropdown-content, .postnav li:hover .dropdown-content{
  display: block;
}

a.left{
    border-top-left-radius: 1em;
    border-bottom-left-radius: 1em;
}
a.right{
    border-top-right-radius: 1em;
    border-bottom-right-radius: 1em;
}

ul.postnav li a:hover:not(.active) {background-color: #767471;color:white;}

ul.postnav li a.active {background-color: #77C27E;}

ul.postnav li.right {float: right;}
/* END TOP HORIZONTAL MENU */

/* START BULK POSTER DISPLAY AREA */
.posterheader {
    width: 100%;
    background-color: #142B38;
    -webkit-border-radius: .8em;
    border-radius: .5em;
    height: 3em;
    font-size: 1.2em;
    color: #ffffff;
    text-align: left;
    text-indent: 1.2em;
    font-weight: bold;
    margin:auto;
    padding-top: .8em;
}

.posters {
  width: 95%;
  padding-top:2em;
  margin:auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15em, 1fr));
  grid-template-rows: auto;
}
.indv_posterinfo {
    padding:2em;
    font-size:.9em;
    font-weight:bold;
    border-bottom:1px solid #142B38;
    border-width: 2px;
    border-left:1px dashed #142B38;
    position:relative;
}
.indv_img {
    padding-bottom:1em;
    padding-top: 1em;
}
.auth {
    font-size:1.1em;
    font-weight:normal;
    /*line-height: 2em;*/
}
.bttm{
    padding-top: 1.5em;
}
.posterid {
    position:absolute;
    top:0;
    left:0;
    margin: .5em;
}
.posterbutton a {
    background-color: #e8e8e8;
    color: #142B38;
    height: 1.5em;
    width: 5em;
    display: block;
    overflow: hidden;
    -webkit-border-radius: .3em;
    border-radius: .3em;
    text-decoration: none;
    line-height: 1.5em;
    text-align: center;
    margin-top: .5em;
    font-size: 1em;
    position:absolute;
    bottom:0;
    right:0;
    margin: .5em;
}

.indv_posterinfo { position: relative; }
.indv_posterinfo .cat-chip {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.4;
  background: #eef2f7;
  color: #334155;
  border: 1px solid #d1d5db;
}

/* END BULK POSTER DISPLAY AREA */

/* START MEDIA QUERIES */
@media (min-width: 992px) and (max-width: 1199px){
    ul.postnav {
        font-size: .7em;
    }
}
@media (min-width: 768px) and (max-width: 991px){
    ul.postnav {
        font-size: .7em;
        max-width:95%;
    }
}
div.collapse{display:none;}
@media (min-width: 768px){
    #collapse{display:none;}
}
@media (max-width: 767px){
    .postnav,.spacer {display:none;}
    #welcom {
        top: -50px;
    }
}

/* https://www.w3schools.com/howto/howto_js_collapse_sidebar.asp */
/* The sidebar menu */
.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: #f3f3f3; /* 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 sidebar */
  margin-top:60px; /* DLH */
}

/* The sidebar links */
.sidebar a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

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

/* Position and style the close button (top right corner) */
.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* The button used to open the sidebar */
.openbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: #f3f3f3;
  color: black;
  padding: 10px 15px;
  border: none;
  border-radius: 8px 8px 8px 8px;
}

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

/* 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; /* If you want a transition effect */
  padding: 20px;
}

/* 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;}
}