.geek-custom-post-type-shortcode-container {
  width: 100%;
}
/*Hidden class for adding and removing*/
.lds-dual-ring.hidden {
  opacity: 0;
  display: none;
}
.loader-container {
  height: max-content;
  transition: opacity .5s;
  position: relative;
}
.loader-container.disabled {
  pointer-events: none;
  opacity: .7;
}
/*Add an overlay to the entire page blocking any further presses to buttons or other elements.*/
.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100vh;
  z-index: 999;
  opacity: 1;
  transition: all 0.5s;
}
/*Spinner Styles*/
.lds-dual-ring {
  display: inline-block;
  opacity: 1;
  width: 80px;
  height: 80px;
}
.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 5% auto;
  border-radius: 50%;
  border: 6px solid #000;
  border-color: #000 transparent #000 transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Case Study Archive Styles */
body:not(.mobile) .js-filter {
  display: grid;
  grid-template-columns: 1fr 3fr;
  padding: 0;
}
body:not(.mobile) .case-study-archive-container::before,
body:not(.mobile) .case-study-archive-container::after {
  display: none;
}
/* Layout */
.case-study-category-filter-form {
  display: flex;
  gap: 20px;
}

.filter-type-radio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.category-filter-item {
  display: flex;
  justify-content: space-between;
  flex-flow: row nowrap;
  align-items: center;
  gap: 10px;
}
.category-filter-item input {
  flex: 1;
  width: 100%;
  height: 20px;
}
.category-filter-item label {
  flex: 6;
}
.loader-container .posts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}
.loader-container.per-row-1 .posts {
  grid-template-columns: repeat(1, 1fr);
}
.loader-container.per-row-2 .posts {
  grid-template-columns: repeat(2, 1fr);
}
.loader-container.per-row-3 .posts {
  grid-template-columns: repeat(3, 1fr);
}
.loader-container.per-row-4 .posts {
  grid-template-columns: repeat(4, 1fr);
}
.loader-container.per-row-5 .posts {
  grid-template-columns: repeat(5, 1fr);
}
.loader-container.per-row-6 .posts {
  grid-template-columns: repeat(6, 1fr);
}
.loader-container a>div {
  min-height: 25vw;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  /* margin-bottom: 3%; */
}
.loader-container * {
  margin: 0;
}
.loader-container p {
  padding: 0;
  margin: 0;
}
/* .select-category-container {
    background: #F4F1EC;
} */
.loader-container a>div {
  min-height: 0;
}
.loader-container .single-post-archive>div:first-of-type {
  min-height: 20vw;
  border-radius: 20px 20px 0 0;
}
.loader-container .single-post-archive.gradient>div:first-of-type {
  border-radius: 20px;
}
body:not(.mobile) .js-filter {
  grid-template-columns: 1fr;
}
.select-category-container .inner-container {
  padding: 2% 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.filter-icon {
  height: 16px !important;
  margin-bottom: 0px !important;
  filter: invert(100%) sepia(100%) saturate(2%) hue-rotate(273deg) brightness(103%) contrast(101%);
}
.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.load-more.hidden {
  display: none;
}
/* Pagination */
.pagination {
  display: flex;
  justify-content: left;
  gap: 20px;
  font-size: 16px;
}
/* default styling */
.single-post-archive {
  position: relative;
  background: var(--nectar-accent-color);
  overflow: hidden;
  opacity: 1 !important;
  border-radius: 20px;
}
.single-post-archive .post-text {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  position: absolute;
  bottom: 0;
  color: #fff;
  background: var(--nectar-accent-color);
  width: 100%;
  padding: 8px;
}
.single-post-archive .post-text .post-details+i {
  padding-right: 20px;
  align-self: flex-end;
}
.single-post-archive .post-other {
  display: flex;
  justify-content: flex-start;
  padding-left: 20px;
  gap: 20px;
  height: 0px;
  overflow: hidden;
  opacity: 0;
  transition: height .3s ease-in-out;
}
.single-post-archive .post-other p {

}
.single-post-archive .post-other div {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 10px;
}
.single-post-archive:hover .post-other {
  height: 26px;
  opacity: 1;
}
.single-post-archive .post-description {
  display: none;
}
.single-post-archive i {

}
/* light recolouring */
.light .single-post-archive .post-text {
  color: inherit;
}
.light .single-post-archive .post-other div {
  color: inherit;
}
.light .single-post-archive i {
  color: inherit;
}
/* gradient styling */
.single-post-archive.gradient .post-text {
  overflow: hidden;
  padding-top: 15vw;
  padding-bottom: 8px;
  opacity: 0.7;
  transition: all .5s;
  background: linear-gradient(to top, var(--nectar-accent-color), transparent);
}
.single-post-archive.gradient:hover .post-text {
  opacity: 1;
}
.single-post-archive.gradient .post-details,
.single-post-archive.gradient .fa.fa-angle-right {
  opacity: 0;
  transition: all .5s;
}
.single-post-archive.gradient .post-details {
  width: 100%;
}
.single-post-archive.gradient:hover .post-details,
.single-post-archive.gradient:hover .fa.fa-angle-right {
  opacity: 1;
}
.single-post-archive.gradient .post-other {
  display: none;
}
/* detailed styling */
.single-post-archive.detailed>div:first-of-type {
  height: auto;
  min-height: 0px;
  aspect-ratio: 16/9;
}
.single-post-archive.detailed .post-name {
  font-size: 1.5rem;
  line-height: 2rem;
  margin-bottom: 10px;
}
.single-post-archive.detailed .post-text {
  position: relative;
}
.single-post-archive.detailed .post-details {
  width: 100%;
}
.single-post-archive.detailed .post-other {
  height: auto;
  opacity: 1;
  margin-bottom: 10px;
}
.single-post-archive.detailed .post-description {
  display: block;
}
.single-post-archive.detailed .post-description p {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.single-post-archive.detailed .post-read-more {
  font-weight: 900;
  margin: 10px 0px;
  width: fit-content;
}
.single-post-archive.detailed .post-read-more::after {
  content: "";
  display: block;
  background: #fff;
  height: 2px;
  width: 0%;
  transition: width .2s ease-in;
}
.single-post-archive.detailed:hover .post-read-more::after {
  width: 100%;
}
.single-post-archive.detailed .fa.fa-angle-right {
  display: none;
}
/* single page styling */
.case-study-gallery .col:last-child {
  margin-right: 2%;
}
.case-study-gallery .col:nth-child(4n) {
  margin-right: 0%;
}
.single-case_study ul li::marker {
  /* font-size: 32px; */
}
/* == Tablet == */
@media only screen and (min-width: 1000px) and (max-width: 1199px) {
  .loader-container.per-row-tablet-1 .posts { grid-template-columns: repeat(1, 1fr); }
  .loader-container.per-row-tablet-2 .posts { grid-template-columns: repeat(2, 1fr); }
  .loader-container.per-row-tablet-3 .posts { grid-template-columns: repeat(3, 1fr); }
  .loader-container.per-row-tablet-4 .posts { grid-template-columns: repeat(4, 1fr); }
  .loader-container.per-row-tablet-5 .posts { grid-template-columns: repeat(5, 1fr); }
  .loader-container.per-row-tablet-6 .posts { grid-template-columns: repeat(6, 1fr); }
}
/* == Mobile == */
@media only screen and (max-width: 999px) {
  /* == Small Mobile == */
  .loader-container.per-row-mobile-1 .posts { grid-template-columns: repeat(1, 1fr); }
  .loader-container.per-row-mobile-2 .posts { grid-template-columns: repeat(2, 1fr); }
  .loader-container.per-row-mobile-3 .posts { grid-template-columns: repeat(3, 1fr); }
  .loader-container.per-row-mobile-4 .posts { grid-template-columns: repeat(4, 1fr); }
  .loader-container.per-row-mobile-5 .posts { grid-template-columns: repeat(5, 1fr); }
  .loader-container.per-row-mobile-6 .posts { grid-template-columns: repeat(6, 1fr); }

  .filter-type-radio {
    grid-template-columns: repeat(1, 1fr);
  }

  .loader-container main {
    display: flex !important;
    flex-direction: column;
  }
  /* = Default = */
  .loader-container .single-post-archive>div:first-of-type {
    min-height: 40vh;
  }
  /* = Gradient = */
  .home .loader-container .single-post-archive>div:first-of-type {
    min-height: 40vh;
  }
}