/* Utility for spacing */
.mt-p-3 {
  padding: 1rem;
}

.mt-m-3 {
  margin: 1rem;
}

/* Use this CSS file to override theme CSS rules */
.zum-shop-button a.button {
  background-color: #d1683d;
  padding-right: 10px;
}
.zum-shop-button a.button:hover {
  background-color: #D5744E;
}
.zum-shop-button a.button::after {
  content: " \f101";
  font-family: 'FontAwesome';
  font-style: normal;
  font-size: 12px;
  margin-left: 5px;
}
#header-top {
  background-color: #FFFFFF;
}
/* Remove style from <table> with class "mt-table-clean" */
table.mt-table-clean {
  margin: 0;
}
table.mt-table-clean td {
  border: 0;
}

/* Make search form take the full available width */
@media (max-width:767px) {
  #header-inside-right #block-searchformdropdown ul.dropdown-menu {
    margin-right: -55px;
    margin-left: -15px;
  }
}

/* Hide "Read more" link */
.links .node-readmore {
  display: none;
}

/* Increase the sidebar for Posts for support longer german works
 * https://github.com/morethanthemes/mtp-newsplus-itadministrator-w37240065/issues/11
 */
.node-side {
  width: 126px;
}

.node-side #affix.affix {
  width: 76px;
}

#affix.affix-bottom {
  width: 76px;
}

/*
 * Style TOC page (mt_issue content type)
 */ 

article:not(.node--view-mode-teaser) .field.field--name-field-mt-issue-cover {
  width: auto;
}

article:not(.node--view-mode-teaser) .field.field--name-field-mt-issue-cover img {
  border: 2px solid #c5c5c5;
}

.mt-issue--date {
  font-size: 22px;
  font-weight: 700;
}

h3.mt-xaver-toc-title {
  font-size: 25px;
}

.mt-issue--actions,
.mt-issue--actions a {
  width: 100%;
}
.mt-xaver-toc-entries {
  margin-left: 0;
}

.mt-xaver-toc-entry {
  margin-bottom: 3rem;
  overflow: hidden;
}

.mt-xaver-toc-entry .mt-xaver-toc-subject,
.mt-xaver-toc-entry .mt-xaver-toc-title-link,
.mt-xaver-toc-entry .mt-xaver-toc-kicker {
  overflow: hidden;
 }

 .mt-xaver-toc-entry .mt-xaver-toc-image img {
  width: 200px;
  height: auto;
  border: 2px solid #c5c5c5;
}

.mt-xaver-toc-entry .mt-xaver-toc-subject {
  font-size: .9em
}

.mt-xaver-toc-kicker {
  font-size: .85em
}

@media (max-width: 480px) {
  .mt-xaver-toc-entry .mt-xaver-toc-image {
    margin: 0;
    float: none;
  }

  .mt-xaver-toc-entry .mt-xaver-toc-image img {
    width: 100%;
  }
}

.mt-xaver-toc-title-link {
  font-size: 1.15em;
}

/* CTA block in the Issue */
.mt-content-cta {
  margin-top: 2rem;
  text-align: center;
}

.mt-content-cta p{
  margin:10px 0 0 0;
  padding: 0;
}

.mt-content-cta a{
  margin: 10px 0; 
  cursor: pointer;
}

.mt-content-cta a.mt-outline{
  background: none;
  border: 3px solid #3d799e;
  color: #3d799e;
}

.mt-content-cta a.mt-outline:hover{
  background: #9ebccf;
  color: #fff;
  border-color: #9ebccf;
}

.mt-content-cta .logo-and-site-name-wrapper .logo {
  float:none;
}
/* #block-xavertoc,  */
/* #xaverToc, #xaverText {
  border: 2px solid red;
} */

/* Article left sidebar / toolbar on mobile */
@media (max-width:767px) {
  .node-side {
    width: 90px;
  }

  .submitted-info .print a {
    font-size: 0;
  }

  .print i {
    margin-right: 0;
  }

  .reading-time,
  .submitted-info-item {
    display: none;
  }

  .node-side #affix.affix {
    width: auto;
  }

  .node-side #affix.affix-bottom {
    width: auto;
}
}

@media (max-width: 480px) {
  .node-side {
    width: 60px;
  }
}

/* Force the /issue tiles to wrap. 
   https://github.com/morethanthemes/mtp-newsplus-itadministrator-w37240065/issues/105 */

@media (max-width: 480px) {
  .views-view-grid.horizontal.cols-4 .views-row .views-col:nth-child(odd) {
    clear: both;
  }
}


/* Issue Search Results */
.search-results-issues-wrapper .search-result__snippet,
.search-results-issues-wrapper .search-result__info {
  display: none;
}

/* Fix ads heigh to prevent content jumping
   https://github.com/morethanthemes/mtp-newsplus-itadministrator-w37240065/issues/180 */

/* BA Leaderboard Ad */
.Ads_BA_BS-wrapper {
  min-height: 90px;
}
#Ads_BA_BS {
  min-height: 90px;
  text-align: center;
}
.region-billboard #Ads_BA_BS {
  margin: 1em 0;
}
/* BA Billboard Ad */
.billboard .container .row .col-md-12 {
  padding: 0px !important;
}
#Ads_BA_FLB {
  min-height: 250px;
  margin: 1em;
}
/* BA Content Ad Sidebar */
.Ads_BA_CAD-wrapper {
  min-height: 300px;
}
#Ads_BA_CAD {
  min-height: 300px;
}

@media (max-width: 768px) {
  #Ads_BA_FLB {
    min-height: auto;
  }
}

/* 
 * Mediathek #224
 */
 .page-node-type-mt-media-video iframe.media-oembed-content {
  width: 60%;
  aspect-ratio: 16/9;
  height: auto;
}

.field--name-field-mt-vd-media-video .links.field__items {
  margin: 0;
  padding: 0;
}

.field.field--name-field-mt-vd-category {
  margin: 1.6em 0;
}