* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html,
body {
  position: relative;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--df);
  overflow-x: clip;
  color: black;
}

.npl-blog-glass-plate {
  padding: 90px 0 0px 12.2%;
  height: 245px;
  position: relative;
  /* margin-bottom: 60px; */
}

.npl-blog-glass-plate h1 {
  font-size: 66px;
  font-style: italic;
  font-weight: var(--menuWeight);
  color: var(--92);
  font-family: "libre baskerville";
}

.npl-blog-icons-right-left {
  position: absolute;
  bottom: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1300px) 1fr 240px;
  margin: 0 45px 0 11%;
  max-width: 1300px;
  justify-items: end;
  z-index: 1;
  cursor: pointer;
}

.npl-blog-icon-right,
.npl-blog-icon-left {
  margin-left: 5px;
  width: var(--xlButton);
  height: var(--xlButton);
  outline: none;
  border: none;
  pointer-events: auto;
  opacity: 1;
}

.npl-blog-icon-right:hover,
.npl-blog-icon-left:hover {
  opacity: 0.85;
}

.npl-blog-icon-right img,
.npl-blog-icon-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.npl-blog-section {
  display: grid;
  grid-template-columns: minmax(0px, 880px) minmax(15px, 1fr) 240px;
  max-width: 1185px;
  padding: 60px 0 40px 0;
  font-size: var(--eighteen);
  font-family: var(--libre);
  font-weight: var(--xl);
  /* height: 150px; */
  color: var(--7b);
  margin: 0 45px 0 11%;
  /* margin-left: 13.2%;
  margin-right: 6%; */
}

.npl-blog-section-category-headings {
  grid-column: 1;
  max-width: 690px;
  margin: 0 0 0 5%;
}

.npl-blog-section-category-box {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border: none;
  border-top: 1px solid var(--gray2);
  border-bottom: 1px solid var(--gray2);
}

.npl-blog-section-category-box button {
  outline: none;
  border: none;
  cursor: pointer;
  background-color: transparent;
  opacity: 1;
}

.npl-blog-section-category-box button:hover {
  opacity: 0.85;
}

.npl-blog-all-blogs {
  font-weight: var(--dblXl);
  font-family: var(--barlow);
}

.npl-blog-icon-all {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  visibility: hidden;
}

.npl-blog-icon-all p {
  font-weight: var(--dblXl);
  font-family: var(--barlow);
  font-size: var(--eighteen);
  color: var(--gray2);
}

.npl-blog-icon-all img {
  height: 20px;
  width: 20px;
  cursor: pointer;
}

.npl-blog-section-sort {
  grid-column: 3;
  width: 100%;
}

.npl-blog-section-sort-underline {
  border: none;
  padding: 5px;
  border-bottom: 1px solid var(--71);
}

.npl-blog-section-sort-underline p,
.npl-blog-list-contribute p a,
.npl-blog-update-year .npl-update-archive p {
  color: var(--71);
  font-weight: var(--menuWeight);
  font-family: var(--libre);
}

.npl-blog-section-sort p {
  font-style: italic;
  color: var(--71);
  opacity: 1;
}

.npl-blog-list-contribute p:hover {
  opacity: 0.85;
}

.npl-list-show {
  font-family: var(--libre);
}

@media screen and (max-width: 1250px) and (min-width: 1025px) {
  .npl-blog-icons-right-left {
    max-width: 1160px;
    grid-template-columns: 1fr 40px;
    width: 85%;
    margin: 0 auto !important;
    gap: 10px;
    bottom: 10px;
  }
}

@media screen and (max-width: 1024px) {
  .npl-blog-icons-right-left {
    grid-template-columns: 44px;
    margin: 0 auto !important;
    height: fit-content;
    pointer-events: none;
    left: 0;
    right: 0;
    outline: none;
    border: none;
    z-index: 10;
    width: 90%;
    max-width: 740px !important;
    justify-content: end;
  }

  .npl-blog-glass-plate h1 {
    margin: 0;
  }

  .npl-blog-glass-plate {
    min-height: 224px;
    height: auto;
    padding: 130px 0 0;
    width: 90%;
    max-width: 740px;
    margin: 0 auto 60px;
  }

  .npl-blog-icon-left {
    grid-column: 1;
  }

  .npl-blog-icon-right {
    grid-column: 3;
  }

  .npl-blog-date,
  .npl-blog-section-sort {
    display: none;
  }

  .npl-blog-section {
    grid-template-columns: 1fr !important;
    margin: 0 auto !important;
    width: 90%;
    height: auto;
    padding: 50px 0 30px 0;
  }
}

@media screen and (max-width: 1024px) {
  .npl-blog-section-category-headings,
  .npl-blog-section-category-box {
    width: 100%;
    max-width: 740px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  .npl-blog-icons-right-left {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -35%);
    width: 100%;
    grid-template-columns: 44px 1fr 44px;
    margin: 0;
    height: fit-content;
    padding: 0 10px;
    pointer-events: none;
    outline: none;
    border: none;
  }

  .npl-exhibition-icons-right-left {
    bottom: 0;
    transform: translateY(-35px);
  }

  .npl-blog-icons-right-left {
    top: 35%;
    left: 50%;
    transform: translate(-50%, -35%);
  }
}

.npl-blog-section-input-button {
  width: 85%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 90px;
  margin-top: 20px;
  color: black;
}

.npl-blog-section-sort-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.npl-blog-section-sort-buttons button {
  background-color: rgba(255, 255, 255, 0.65);
  padding: 3px 8px;
  font-size: var(--fourteen);
  font-family: var(--barlow);
  outline: none;
  border: none;
  /* box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4); */
  font-weight: var(--authorWeight);
}

.npl-blog-list-contribute {
  cursor: pointer;
}

.custom-button[data-color="gray"].clicked {
  background-color: var(--92);
  color: var(--df);
  opacity: 1;
  /* box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4); */
}

.custom-button:hover {
  /* opacity: 1; */
  background-color: rgba(255, 255, 255, 1);
  /* box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5); */
}

.npl-blog-list-contribute {
  cursor: pointer;
}

.npl-blog-update-year {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* margin-top: -60px; */
}

a {
  text-decoration: none;
  color: black;
}

.custom-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-selected p {
  font-size: var(--fourteen);
  font-weight: var(--authorWeight);
  font-style: normal;
  color: var(--92);
}

.dropdown-selected {
  /* padding: 5px; */
  background-color: transparent;
  cursor: pointer;
  border: none;
  font-size: var(--fourteen);
  font-weight: var(--authorWeight);
  color: var(--92);
}

.npl-blog-dropdown-img {
  width: var(--smButton);
  height: var(--smButton);
}

.npl-blog-dropdown-img img {
  transform: rotate(89deg);
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 1;
}

.npl-blog-dropdown-img img:hover {
  opacity: 0.85;
}

.dropdown-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 130px; /* Fixed height with scrollbar */
  background-color: transparent;
  border: none;
  z-index: 1;
  list-style-type: none;
  padding: 0;
  margin: 5px 0 0 0;
  /* font-size: var(); */
}

.dropdown-list::-webkit-scrollbar-track {
  background-color: lightgray;
  border-radius: 10px;
}

.dropdown-list::-webkit-scrollbar-thumb {
  background-color: gray;
}

.dropdown-list li {
  padding: 4px 23px 4px 0px;
  cursor: pointer;
  font-size: var(--fifteen);
  text-align: right;
  font-weight: var(--eventWeight);
  /* color: var(--71); */
}

.dropdown-list li:hover {
  color: var(--92);
}

/* Show dropdown when active */
.custom-dropdown.active .dropdown-list {
  display: block;
}

.custom-dropdown.activeRemove .dropdown-list {
  display: none;
}

body .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  width: 8px;
}

.mCSB_inside > .mCSB_container {
  margin-right: 0;
}

#ddlYears .mCSB_scrollTools .mCSB_draggerContainer {
  position: absolute;
  top: 0;
  left: 5px;
  bottom: 0;
  right: 0;
  height: auto;
  background: rgba(255, 255, 255, 0.5);
  width: 6px;
  border-radius: 10px;
}

.mCS-rounded-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,
.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,
.mCS-rounded-dots.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,
.mCS-rounded.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  width: 10px;
  height: 10px;
  margin: 0 0px 0 -2px;
}

#ddlYears .mCSB_dragger_bar {
  background-color: white;
}

#ddlYears
  .mCS-rounded-dark.mCSB_scrollTools
  .mCSB_dragger:hover
  .mCSB_dragger_bar,
.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar {
  background-color: white;
}

/* for  rail */
.mCS-rounded-dark.mCSB_scrollTools .mCSB_draggerRail,
.mCS-dark.mCSB_scrollTools .mCSB_draggerRail {
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.15);
  display: none !important;
}

/* the scrollbar plugin can be distinguished by the theme used like
i have rounder-dark and dark  so class must be selected as .mCS-rounder-dark and
.mCS-dark*/

/* load button */
.npl-blog-load {
  width: fit-content;
  margin-left: 13.2%;
}

.npl-blog-load button {
  outline: none;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.npl-blog-load-content {
  display: flex;
  gap: 10px;
  align-items: center;
}

.npl-blog-load-content p {
  font-size: var(--twenty);
  font-weight: var(--xl);
  font-family: var(--barlow);
  color: var(--71);
}

.npl-blog-load-content div {
  width: 30px;
  height: 30px;
}

.npl-blog-load-content div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* load button */
.npl-exhibition-load {
  max-width: 1185px;
  margin: 0px 0px 0px 11%;
  display: grid;
  grid-template-columns: minmax(0, 880px) minmax(15px, 1fr) 240px;
}

.npl-exhibition-load-content {
  grid-column: 1;
  margin: 0 0 0 5%;
  opacity: 1;
  display: flex;
  justify-content: end;
  max-width: 690px;
}

.npl-exhibition-load button {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: end;
  outline: none;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.hiddenLoad {
  display: none !important;
}

.npl-exhibition-load-content p {
  font-size: var(--twentyFive);
  font-weight: var(--dblXl);
  font-family: var(--barlow);
  color: var(--gray2);
}

.npl-exhibition-load-content div {
  width: var(--medButton);
  height: var(--medButton);
}

.npl-exhibition-load-content:hover {
  opacity: 0.85;
}

.npl-exhibition-load-content div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 1921px) {
  .npl-blog-icons-right-left {
    display: grid;
    position: absolute;
    left: 50%;
    width: 100%;
    max-width: 1400px;
    transform: translate(-50%, 0%);
    grid-template-columns: minmax(10px, 1400px) 1fr 240px;
    justify-items: end;
    align-items: end;
    margin: 0;
    height: fit-content;
    z-index: 1;
  }
}

.mCSB_scrollTools {
  top: 5px;
}
