/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* colors */
:root {
  /* --blue: #009ee0; */
  /* --pink: #e2007a; */
  --primary: #009ee0;
  --secondary: #e2007a;
  --lightgrey: #f9f9f9;
  --grey: #dbdbdb;
  --darkgrey: #31354b;
  --border: #eaeaea;
  --text-grey: #777;
  --font-title: 'Poppins', sans-serif;
}

h6,
h5,
h4,
h3,
h2,
h1,
.h1,
.h6,
.h5,
.h4,
.h3,
.h2,
.h1 {
  text-wrap: balance;
  word-break: break-word;
}

/* homepage */
@media (min-width: 999px) {
  .home-lexikon {
    .nectar-post-grid {
      gap: 1rem;
      justify-content: space-between
    }

    .nectar-post-grid-item {
      width: 22% !important;
    }
  }

}

/* paypal donation section */
.donation {
  background-color: var(--primary);
  margin: 3rem 0 0;
  padding: 1rem 1.5rem;
  text-align: center;
}

.donation h2 {
  color: #fff;
}

/* single post, fixing a bug */
.featured-media-under-header__featured-media .post-featured-img img {
  position: relative;
}

/* author profile pic at several places */
.grav-wrap .photo,
.author .photo,
.nectar-author-gravatar .photo,
#author-bio img {
  border-radius: 50%;
  object-fit: cover;
}

/* author box @ top of posts */
.featured-media-under-header__meta-wrap .meta-author img {
  height: 38px;
  width: 38px;
}

/* author box @ bottom of posts */
#author-bio img {
  width: 80px;
  height: 80px;
}

/* author profile pic on category page */
.blog-archive-header .nectar-author-gravatar img {
  width: 120px !important;
  height: 120px;
}

/* link @ author description */
.blog-archive-header.color-bg .nectar-author-gravatar~p a {
  color: var(--secondary) !important;
  font-weight: bold;
}

/* footer */
@media (min-width: 999px) {
  #block-6 img {
    width: 85%;
  }
}

/* lexikon index */
#lexikon ul.pagination {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 3rem;
}

#lexikon ul.pagination li {
  list-style: none;
  margin: 0 0 1rem;
  border: 1px solid var(--darkgrey);
  text-align: center;
}

#lexikon ul.pagination li.disabled {
  cursor: not-allowed;
}

#lexikon ul.pagination li.disabled span {
  opacity: 0.4;
}

#lexikon ul.pagination li a,
#lexikon ul.pagination li span {
  display: block;
  font-size: 1.8em;
  padding: 0.4rem;
  min-width: 2rem;
}

/* lexikon A-Z list */
#lexikon ul.fa-ul {
  margin: 0 0 2rem;
  display: flex;
  flex-wrap: wrap;
}

#lexikon ul.fa-ul li {
  list-style: none;
  width: 49%;
  margin-left: 0;
}

#lexikon ul.fa-ul a {
  word-break: break-word;
}

/* lexikonentry, overrides */

/* .single-lexikonentry .featured-media-under-header__featured-media {
  padding-bottom: 20vh !important;
  margin-top: 2rem !important;
}

.single-lexikonentry .featured-media-under-header__featured-media span {
  height: 100% !important;
}

.single-lexikonentry .featured-media-under-header__featured-media img {
  object-fit: contain !important;
} */

/* pagination */
#lexikonentry-pagination {
  margin-top: 4rem;
}

.single-lexikonentry .has-icon-left i {
  left: 14px !important;
  right: unset !important;
  transform: translateY(-50%) rotate(180deg) !important;
}

.single-lexikonentry .has-icon-left span {
  transform: translateX(8px) !important;
}

@media (min-width: 999px) {
  .align-right {
    text-align: right;
  }
}

/* autor-werden */
.autor-werden-form {
  margin-bottom: 4rem;
}

.autor-werden-success {
  background-color: var(--primary);
  padding: 2rem;
  color: white;
  margin-bottom: 2rem;
}

/* ad region next to sidebar */
.skyscraper-region {
  display: none;
}

/* show only on large desktop */
@media (min-width: 1380px) {
  .skyscraper-region {
    display: block;
    position: sticky;
    width: 300px;
    height: 100vh;
    top: 2rem;
    margin-left: 100%;
  }
}

/* magazin category page */

/* index */
.magazine_years {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 3rem 0;
}

.magazine_years a {
  font-family: var(--font-title);
  font-size: 22px;
  line-height: 34px;
  font-weight: 600;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

.magazine_years a.active_year {
  color: var(--darkgrey);
}

.archive-magazin .col.section-title p {
  font-size: min(max(calc(1.3vw), 16px), 20px);
}

.magazine_list {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  margin-bottom: 2rem;
}

.magazine_list-item {
  flex-basis: calc(25% - 3rem);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .14);
  border-radius: 5px;
  overflow: hidden;
}

@media (max-width: 999px) {
  .magazine_list-item {
    flex-basis: calc(50% - 2rem);
  }
}

@media (max-width: 689px) {
  .magazine_list-item {
    flex-basis: 100%;
  }
}

.magazine_list-item a {
  display: block;
}

.magazine_list-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  margin: 0 !important;
}

.magazine_list-item .title>span {
  display: block;
  font-size: .8em;
  opacity: .6;
}

.magazine_list-spacer {
  padding: .5rem 1rem 1rem 1rem;
}

/* end of magazin category page */

/* magazin single */
.buchtipps {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.buchtipps a,
.buchtipps span {
  display: block;
}

.buchtipps img {
  width: 100% !important;
  min-height: 166px !important;
  height: 166px !important;
  object-fit: cover;
  margin-bottom: 0 !important;
}

@media (max-width: 999px) {
  .buchtipps img {
    height: auto !important;
  }
}

.authors {
  display: flex;
}

.authors br {
  /* bug fix */
  display: none;
}

.authors .author {
  display: block;
  text-align: center;
  margin: 0 1rem;
}

.authors .author img {
  display: block;
  border-radius: 50%;
  margin: auto;
  width: 80px !important;
  height: 80px;
  object-fit: cover;
}

#mag-archiv {
  display: flex;
  gap: 1%;
}

@media (max-width: 999px) {
  #mag-archiv {
    flex-wrap: wrap;
  }

  #mag-archiv>div {
    width: 49%;
  }
}

/* end of magazin single */

/* H5V */
@media (min-width: 767px) {
  #unternehmer_content_1 {
    min-height: 302px;
    margin-bottom: 2rem;
  }
}