/*---------- PUBLICATIONS Pages ----------*/
.sidebar {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  top: 100px;
  left: 0;
  padding-top: 76px;
  overflow-x: hidden;
  background-color: #111;
  z-index: 1;
}

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

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

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

.accordion {
  margin: 1rem;
  padding: 1rem;
}

.accordion input {
  width: 100%;
  padding: 10px;
  background: #e3edf7;
  box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, 0.15),
    -6px -6px 10px -1px rgba(255, 255, 255, 0.7);
}

.accordion input[type="checkbox"] {
  display: none;
}

.accordion input:checked + label::before {
  content: "▲";
  color: var(--warning);
}

.accordion input + label + .content {
  margin-top: 0.5rem;
  opacity: 0;
  height: 0;
  font-size: 0;
  padding: 0 25px;
  transition: ease 0.5s;
  background-color: var(--gray-300);
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
}

.accordion input:checked + label + .content {
  opacity: 1;
  height: auto;
  font-size: 14px;
  padding: 1rem;
}

.accordion label {
  display: flex;
  align-items: center;
  padding: 10px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--border-radius);
  border: 1px solid var(--gray-400);
}

.accordion label:not(.btn)::before {
  content: "▼";
  margin-right: 10px;
  font-size: 24px;
  font-weight: 600;
  color: var(--success);
}

.accordion content {
  color: #555;
  padding: 0, 10px;
  line-height: 26px;
  /* overflow: hidden; */
  transition: max-height 0.5s, padding 0.5s;
  background: #e3edf7;
  box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, 0.15),
    -6px -6px 10px -1px rgba(255, 255, 255, 0.7);
}

.active:after {
  content: "▲";
}

.title-container {
  position: relative;
  background-color: var(--grey-900);
  color: #fff;
  padding: 40px 16px 16px 16px;
}

.title-img {
  text-align: center;
}

.title-notes,
.title-table td {
  border: none;
  color: #fff;
}

.title-notes p {
  padding-bottom: 10rem;
  font-size: 0.85rem;
}

.td_title,
.td_data {
  font-size: 0.95rem;
}

.grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 4rem 2rem;
  text-align: center;
  width: 100%;
  margin: auto;
}

.portrait-card,
.landscape-card,
.square-card {
  position: relative;
  display: block;
  height: auto;
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  cursor: zoom-in;
  transition: 0.2s;
}

.portrait-card {
  width: var(--portrait-card-width);
}

.landscape-card {
  width: var(--landscape-card-width);
}

.square-card {
  width: var(--square-card-width);
}

.portrait-card:hover,
.landscape-card:hover,
.square-card:hover {
  /* overflow: visible; */
  overflow: hidden;
}

.img-box {
  position: relative;
  transition: all 1s ease-out;
  z-index: 0 !important;
}

.img-box img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.pub-card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: var(--card_footer);
  border-radius: 0;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: 0.7s;
  z-index: 0 !important;
  text-transform: uppercase;
  font-weight: var(--body-font-weight);
  font-style: normal;
  color: var(--light);
  cursor: pointer;
  padding-bottom: 1rem;
}

.pub-card-content:hover {
  min-height: 180px;
  height: 100%;
  transition: 1.7s;
}

.pub-card-content h6,
.pub-card-content h6 a {
  margin: 5px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  font-style: normal;
}

.pub-card-content h6 a {
  color: var(--link-clr);
}

.pub-card-content:hover h6,
.pub-card-content:hover h6 a {
  margin-top: 1rem;
  font-size: 1.65rem;
  overflow: hidden;
}

.pub-card-content:hover p {
  margin: 0;
}

@media only screen and (min-width: 300px) {
  .grid {
    margin: 2px;
  }

  .portrait-card,
  .square-card,
  .landscape-card {
    width: 100%;
  }
}

@media only screen and (min-width: 600px) {
  .grid {
    margin: 2px;
  }

  .portrait-card {
    width: var(--portrait-card-width);
  }
  .square-card {
    width: var(--square-card-width);
  }
  .landscape-card {
    width: var(--landscape-card-width);
  }
}
