/*
 Theme Name:   Oekologics Theme
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       mbh
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
@import url("css/fonts.css");
@import url("css/pulsating-circle.css");
.site-footer {
  border-top: solid;
  margin-top: 4rem;
}

.site-footer > * {
  background-color: transparent !important;
}

.header-image,
.social-media {
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.header-image:hover,
.social-media:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

#footer-widgets img {
  max-height: 150px !important;
  -o-object-fit: contain;
     object-fit: contain;
  width: auto;
  max-width: 250px !important;
}

@media (min-width: 980px) {
  body .grid-container,
  .site-footer > * {
    width: calc(100vw - 15rem) !important;
  }
  .site-footer > * {
    margin-left: auto;
    margin-right: auto;
    max-width: 1020px;
  }
  .site-logo {
    position: absolute;
    -webkit-transform: translate(-100%);
            transform: translate(-100%);
    left: 0rem;
    top: 1.25rem;
  }
  .main-navigation .main-nav ul li:not(:last-child) {
    margin-right: 3rem;
  }
  .main-navigation .main-nav ul li a {
    padding: 0;
  }
  .social-media {
    position: absolute !important;
    right: -3.5rem;
    background-color: black !important;
    width: 3rem;
    height: 3rem;
    text-align: center;
    border-radius: 3rem;
    margin-top: 0.5rem;
  }
  .social-media a {
    background-color: black !important;
    border-radius: 3rem;
    text-decoration: none !important;
    border-bottom: none;
  }
  .social-media:hover a:after {
    display: none !important;
    border: 0 !important;
  }
  .social-media:last-child {
    right: -4rem;
  }
  .social-media a {
    color: white !important;
    line-height: 3rem !important;
  }
  .social-media i {
    margin-top: -0.5rem !important;
  }
}

#page a,
.site-footer a {
  text-decoration: underline;
}

.main-navigation .main-nav ul li.current-menu-item > a:after, .main-navigation .main-nav ul li:hover > a:after, .main-navigation .main-nav ul li:focus > a:after, .main-navigation .main-nav ul li.sfHover > a:after {
  display: block;
  content: '';
  position: absolute;
  bottom: 0.5rem;
  width: 100%;
  border-bottom: 3px solid black;
}

/* Exhibit */
.single .inside-article .left-side {
  margin-bottom: 2rem;
}

@media (min-width: 700px) {
  .single .inside-article {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .single .inside-article .left-side {
    width: 40%;
    margin-right: 2rem;
    margin-bottom: 0;
  }
  .single .inside-article .right-side {
    width: 60%;
  }
}

.single .inside-article .oekologics-images__thumbnails {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.single .inside-article .oekologics-images__thumbnails a {
  width: calc(25% - 0.25rem);
}

.single .inside-article .oekologics-images__thumbnails a:not(:last-child) {
  margin-right: 0.5rem;
}

.single .inside-article .persons__person:not(:first-of-type) {
  margin-top: 3rem;
}

blockquote {
  /* margin-top: 2rem; */
  border-left: 3px solid black;
  padding: 0.5rem 0 0.5rem 1rem;
  border: unset;
  padding: unset;
  /* font-style: unset; */
  font-size: unset;
}

blockquote:before {
  display: none;
}

.oekologics-section {
  border-top: 3px solid black;
  margin-top: 2rem;
  padding-top: 2rem;
}

.entry-title p {
  font-weight: normal;
}

.oekologics-byline {
  margin-bottom: 2rem;
}

.cards {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(16rem, 1fr))[auto-fill] !important;
      grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)) !important;
  /* NEW */
  grid-gap: 2rem;
}

.cards a {
  text-decoration: none !important;
  border-bottom: black 3px solid;
  -webkit-transition: all 0.1s ease-in;
  transition: all 0.1s ease-in;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.cards a .oekologics-images img {
  width: 100%;
  height: 14rem;
  -o-object-fit: cover;
     object-fit: cover;
}

.cards a .card__content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 1rem;
  height: 100%;
}

.cards a:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

body:not(.post-type-archive-exhibit) h1 span,
body:not(.post-type-archive-exhibit) h2 span {
  font-weight: 500;
  display: block;
  margin-top: 1%;
}

body.post-type-archive-exhibit h1,
body.post-type-archive-exhibit h2 {
  font-weight: 500;
}

body.post-type-archive-exhibit h1 span,
body.post-type-archive-exhibit h2 span {
  display: block;
  margin-bottom: 1%;
  font-weight: 800;
}

/* Filter-Buttons */
#filter-buttons {
  margin-bottom: 4rem;
}

#filter-buttons button,
.btn-group a.btn {
  border: 3px solid black;
  font-weight: bold;
  text-decoration: none !important;
  border-radius: 0;
}

#filter-buttons button.active,
.btn-group a.btn.active {
  background-color: black;
  color: white;
}

#filter-buttons button:not(.active),
.btn-group a.btn:not(.active) {
  color: black;
  background-color: white;
}

#filter-buttons button:not(.active):hover,
.btn-group a.btn:not(.active):hover {
  background-color: black;
  border: 3px solid black;
  color: white;
}

.btn-group a.btn {
  margin-right: 5px;
}

.cards .event:not(.show) {
  display: none;
}

.wp-block-video.alignwide {
  text-align: center;
}

.wp-block-video.alignwide video {
  max-height: 80vh;
}

.modal {
  display: block;
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal.hidden {
  display: none;
}

.modal .modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background-color: white;
  max-width: 600px;
  padding: 2rem;
}

.modal .modal__close {
  text-align: right;
}

@media (orientation: landscape) {
  .start-portrait {
    display: none;
  }
}

@media (orientation: portrait) {
  .start-wide {
    display: none;
  }
}
