@import "responsive_table.css";
@import "sprite_icons.css";

:root {
  --apex-blue: #1b0a51;
  --apex-red: #94121e;
  --apex-btn-grey: #f4f4f4;
  --heading-font-family: "Inter", sans-serif;
}

.section-highlight {
  --body-link-color: #204397;
  --body-link-hover-color: #c8475b;
}

#t4-topbar a, #t4-topbar h3 {
  color: white;
}

.t4-topbar {
  background: var(--apex-blue);
}

.acm-hero.style-1 .hero-item {
  max-width: 500px;
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  position: relative;
  top: -20px;
}

.acm-hero.style-1 .hero-item h1 {
  font-size: 40px;
  color:white;
}

.section-title-wrap .section-title {
  text-transform: none;
}

.btn.btn-outline-primary::before {
  background: var(--apex-blue);
}

@media (min-width: 1200px) {
  .layout-home .acm-features.style-1 .feature-desc {
    margin-top: 0px;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .layout-home .box-overlap .t4-section-inner > div {
    top: -2rem;
  }
}

@media (min-width: 1200px) and (max-width: 1599.98px) {
  .layout-home .box-overlap .t4-section-inner > div {
    top: -1.5rem;
  }
}

@media (min-width: 1600px) {
  .layout-home .box-overlap .t4-section-inner > div {
    top: -5.25rem;
  }
}

@media (max-width: 992px) {
  .acm-hero.style-1 .hero-item {
    display: none;
  }
  
  .acm-hero.style-1 {
  padding: 9rem 0;
  }
}

@media (min-width: 575.99px) {
  .t4-masthead .ja-masthead .ja-masthead-detail {
      padding-top: 2.75rem;
      padding-bottom: 13.75rem;
  }
}

@media (min-width: 540px) {
  #Mod228 .acm-features-ja-healthcare.style-1 .features-item-inner.ja-animate {
    min-height: 470px;
  }
}

@media (min-width: 540px) {
  #Mod1140 .acm-features-ja-healthcare.style-1 .features-item-inner.ja-animate {
    min-height: 605px;
  }
}

@media (min-width: 768px) {

  .layout-home #t4-section-2 {
    padding-top: 70px !important;
  }
}

/* Frontpage Partner Modul */
#Mod1138 .row.feature-info-wrap, #Mod1153 .row.feature-info-wrap {
  display: none;
}

.layout-home #t4-section-4 .row.feature-info-wrap .col-12.col-xl-4 {
  display: none;
}

.layout-home #t4-section-4 .row.feature-info-wrap .col-12.col-xl-8 {
  width: 100% !important;
}

.layout-home .section-highlight#t4-section-5 {
  background: white;
  color: inherit;
}

.layout-home .section-highlight#t4-section-5 .btn-primary {
  --color-primary: var(--apex-blue);
}

.acm-social.style-1 {
  padding-top: 5px;
}

#language_btn_1128, #language_btn_1149, #language_btn_1433, #language_btn_1576, #language_btn_1718 {
  background-color: var(--apex-blue);
  border: none;
  padding-left: 5px;
  padding-right: 0px;
  font-size: 0;
}

#language_btn_1718 {
  padding-left: 0px;
  padding-right: 20px;
}

#language_btn_1128::after, #language_btn_1149::after, #language_btn_1433::after, #language_btn_1576::after, #language_btn_1718::after {
  font-size: 14px;
}

#t4-topbar ul.lang-block a {
  color: black;
}

.lang-block.dropdown-menu.show li a {
  display: block;
  padding: 0 .5rem;
}

.lang-block.dropdown-menu.show {
  min-width: 120px;
}

div.mod-languages ul.lang-block li {
  text-align: center;
}

/* Aus irgendeinem rund hat das Quick-Menu auf den Unterseiten weitere Klassen (d-none d-sm-none d-md-block d-lg-block d-xl-block). Darurch wird das Menu verschoben. Quickfix: */
.t4-col.topbar-l.col-sm.col-md-8.d-none.d-sm-none.d-md-block.d-lg-block.d-xl-block #Mod1130 {
  padding-top: 6px;
}

/* Content Pages and Category Pages */

/* Move Content Up */
.view-article [itemprop="articleBody"], .com-content-category-blog.view-list-articles {
  margin-top: -2.5rem;
}

.view-article .sidebar-r, .view-category .sidebar-r {
  margin-top: -1.7rem;
}

@media (min-width: 1600px) {
  .view-article [itemprop="articleBody"], .com-content-category-blog.view-list-articles {
    margin-top: -5rem;
  }

  .view-article .sidebar-r, .view-category .sidebar-r {
    margin-top: -4.2rem;
  }
}

@media (max-width: 991.98px) {

  .view-article .sidebar-r, .view-category .sidebar-r {
    margin-top: 0rem;
  }
}

@media (max-width: 767.98px) {
  .com-content-category-blog.view-list-articles, .view-article [itemprop="articleBody"] {
    margin-top: 0rem;
  }
}

/* Ende - Move Content Up */


.view-article .media-intro {
  float: left;
  max-width: 420px;
  width: 50%;
  margin-right: 20px;
}

.view-article .media-intro img, .view-category .item-image img {
  border-radius: 5px;
  box-shadow: 3px 4px 5px #a5a5a5;
}

.inhaltsverzeichnis {
  float: right;
  border: 1px solid #d1d1d1;
  padding: 10px;
  width: calc(100% - 450px); /* Calculate Space besides article image! */
  margin-bottom: 30px;
  border-radius: 5px;
  box-shadow: 3px 4px 5px #d1d1d1;
  margin-left: 10px;
  min-height: 266px;
}

@media (max-width: 767.98px) {

  .view-article .media-intro {
    float: none;
    max-width: none;
    width: 100%;
    margin-right: 0px;
  }

  .inhaltsverzeichnis {
    float: none;
    border: 1px solid #d1d1d1;
    width: 100%;
    margin-bottom: 16px;
    box-shadow: 3px 4px 5px #d1d1d1;
    margin-left: 0px;
    min-height: 0;
    /*margin-top: 50px;*/
  }

  /*.view-article .content-article .inhaltsverzeichnis:first-child {
    margin-top: -2.5rem;
  }*/
}

@media (max-width: 600px) {
  h1, .h1 {
    font-size: 28px;
  }

  h2, .h2 {
    font-size: 24px;
  }
}

p.readmore {
  margin-top: 0rem;
  display: inline-block;
  padding: 10px;
  background: var(--apex-btn-grey);
  width: 100%;
  text-align: center;
}

/* Trennstriche category pages */
@media (min-width: 992px) {
  .view-category .items-intro.view-masonry .item-wrap {
    margin-bottom: 2.5rem;
    padding-bottom: 3rem;
    background-image: url("/images/trennung.png");
    background-repeat: no-repeat;
    background-position: bottom;
  }
}

@media (max-width: 991.98px) {
  .view-category .items-intro.view-masonry .item-wrap .item {
    border-bottom: 1px solid #eee;
    padding-bottom: 1.8rem;
  }
}
/* Ende - Trennstriche category pages */

.items-intro .page-header h2, .com-content-category-blog__item.blog-item .page-header h2 {
  font-weight: 500;
}

.items-intro .page-header h2 a, .com-content-category-blog__item.blog-item h2 a {
  color: var(--apex-blue);
}

/* Masthead */
.t4-masthead .ja-masthead {
  background-color: var(--apex-blue);
}

.layout-default #t4-masthead .ja-masthead .ja-masthead-detail {
  padding-bottom: 11.5rem;
}

@media (max-width: 1599.98px) {
  .layout-default #t4-masthead .ja-masthead .ja-masthead-detail {
  padding-bottom: 7.8rem;
  }
}

@media (max-width: 1399.98px) {
  .layout-default #t4-masthead .ja-masthead .ja-masthead-detail {
  padding-bottom: 1.75rem;
  }
}

@media (min-width: 575.99px) {
  .t4-masthead .ja-masthead .ja-masthead-detail {
    padding-top: 1.75rem;
  }
}

/* Sprite */

/*
ul.arrow {
  list-style: none;
  padding-left: 0.8rem;
}

ul.arrow span.icon {
  background-image: url('/images/jch-optimize/ng/images_icons_icons-sprites-silk.webp');
  background-repeat: no-repeat;
  width: 18px;
  height: 18px;
  display: block;
  float: left;
  margin-right: 3px;
  position: relative;
  top: 3px;
}*/

/* Ende Sprite */

.mod-search {
  margin-right: 15px;
} 

.mod-search .form-control {
  padding: 0rem 0.5rem;
  position: relative;
  top: 3px;
  max-width: 200px;
}

.btn.btn-primary {
  background-color: var(--apex-btn-grey);
  border-color: var(--apex-btn-grey);
  color: var(--apex-blue);
}

.contentimg {
  border: 1px solid rgb(204, 204, 204);
  padding: 5px;
  margin-left: 15px;
}

@media (max-width: 410px) {
  .contentimg {
    border: none;
    float: none !important;
    padding: 0;
    margin-left: 0px !important;
    width: 100%;
  }
}

.com-content-article.detail-page h1, .com-content-article.detail-page h2, .com-content-article.detail-page h3 {
  margin-top: 30px;
  margin-bottom: 16px;
}

body .com-content-article.detail-page h1, body .com-content-article.detail-page h2 {
  line-height: 1.5;
}

/* Kontakt */

.contact .plain-style h2 {
  margin-bottom: 1rem;
}

.contact-address div:first-child {
  margin-bottom: 0rem !important;
}

.contact .contact-address > div:not(:last-child) {
  margin-bottom: 1rem;
}

.contact-hours {
  margin-bottom: 1.2rem !important;
}

.view-contact .t4-main-body {
  padding: 2.5rem 0;
}

/* Ende - Kontakt */
 
/* Auf den Übersichtsseiten wird bei fehlenden Bildern dieses Bild geladen. Quickfix */
img[src*="blank-intro.png"] {
  display: none;
}

/* Verursacht schwarze Striche bei fehlenden Bildern */
figure figcaption {
  padding: 0;
}

/* Cards auf Ärzteseiten */
.card.float-end.article-index.ms-3.mb-3 {
  width: 45%;
  min-height: 280px;
  margin-left: 10px !important;
}

@media (min-width: 1400px) {
  .card.float-end.article-index.ms-3.mb-3 {
    width: calc(100% - 451px); /* .media-intro img = max-width 420px; .media-intro = margin-right 20px, self = margin-left 10px -> 451px in calc */
  }
}

.card-body h3 {
  margin-top: 10px !important;
}

@media (max-width: 767.98px) {
  .card.float-end.article-index.ms-3.mb-3 {
    width: 100%;
    margin-left: 0 !important;
    float: none !important;
    min-height: 0;
  }

  .card-body h3 {
    margin-top: 0px !important;
  }

  .card-body {
    padding-bottom: 0px;
  }
}

/* Forschungsergebnisse Tabelle */
.forschung .item-page td img {
  padding-right: 10px;
}

.forschung .item-page td {
  padding-bottom: 20px;
}

@media (max-width: 767.98px) {
  .forschung .item-page td {
    display: block;
    margin-bottom: 10px;
    width: 100% !important;
    padding-bottom: 0px;
  }

  .forschung .item-page td img {
    max-width: 140px;
  }
}

/* Form Menu Acymailing */

.acym_module .acym_introtext {
  color: rgba(0, 0, 0, 0.7);
}

.acym_module input[type="email"], .acym_module input[type="text"] {
  color: black;
  border: 1px solid rgba(0, 0, 0, 0.5) !important;
}

.acym_module input[type="email"]::placeholder, .acym_module input[type="text"]::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.acym_module td.acysubbuttons input {
  background: var(--apex-blue);
  padding: 0 1.125rem !important;
}

.t4-megamenu .acym_module .acyterms {
  color: black;
}

/* Footer Acymailing */

#t4-footnav .acym_module .acym_introtext {
  color: var(--footer-link-color);
}

#t4-footnav .acym_module input[type="email"], #t4-footnav .acym_module input[type="text"] {
  background: white;
}

#t4-footnav .onefield .acym__field__error__block {
  color: black;
}

/* Search Field Size */

@media (max-width: 414.98px) {
  .mod-search .form-control {
    max-width: 105px;
  }
} 

@media (max-width: 319px) {
  .mod-search.search {
    display: none;
  }
}

/* Doctolib Button */
.doctolib-button {
  color: white;
  font-size: 28px;
  position: absolute;
  left: 10px;
  top: 0px;
}

@media (min-width: 576px) {
  .doctolib-button {
  left: 20px;
  top: 1px;
  }
}

@media (min-width: 992px) {
  .doctolib-button {
    display: none;
  }
}

/* Doctolib Button - Desktop */
.t4-module#Mod1130 {
  margin-top: 0rem;
}

.doctolib-desktop-button {
  font-size: 20px;
  margin-right: 8px;
}

/* Etwas anderer Template Stil auf den Unterseiten */
.layout-default #Mod1802 {
  float: left;
  top: 4px;
  position: relative;
}

@media (min-width: 768px) {
  .layout-default .doctolib-button {
    display: none;
  }
}

/* Termin Button Header (Fragebogen) */

#termin-vereinbaren-container, #doctolib-container {
  background: var(--color-secondary);
}

#termin-vereinbaren {
  color: white;
}

#doctolib-container a, #termin-vereinbaren-container a {
  height: 48px;
  width: 100%;
}

#doctolib-container {
  margin-top: 8px
}

#doctolib-vereinbaren {
  padding-left: 0px;
  padding-right: 0px;
  color: white;
}

#doctolib-vereinbaren img {
  max-height: 35px !important;
  width: auto !important;
  vertical-align: top;
  position: relative;
  top: -4px;
}

#doctolib-header-left {
  display: none;
}

@media (max-width: 1199.98px) {
  #doctolib-container a span {
    display: none;
  }
}

@media (min-width: 548px) and (max-width: 991.98px) {
  #doctolib-header-left {
    display: block;
    position: absolute;
    left: 45px;
    height: 35px !important;
    width: auto !important;
  }
}

@media (max-width: 991.98px) {
  #doctolib-container {
    display: none;
  }
}

/* Show Fragebogen button on small devices */

@media (min-width: 299px) and (max-width: 991.98px) {
  .t4-header-r .d-none.d-lg-flex {
    display: flex !important;
  }
}

@media (max-width: 370px) {
  #termin-vereinbaren {
    padding-left: 12px;
    padding-right: 12px;
  }

  #termin-vereinbaren.termin-en {
    padding-left: 5px;
    padding-right: 5px;
  }
}

/* Responsive Video */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 25px;
  height: 0;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Das Template hat auch eine  .star Klasse - Farbe resetten */
.star {
  color: initial;
}

/* Mobile Menu */

.c-offcanvas--right {
  transform: translate3d(400px, 0, 0);
}

.c-offcanvas--right {
width: 400px;
}

.c-offcanvas-bg.c-offcanvas-bg--push.c-offcanvas-bg--right.is-open {
  transform: translate3d(-400px, 0, 0);
}

.c-offcanvas--right .dropdown-menu {
  font-size: 14px;
}

.c-offcanvas--right .card-body {
  padding: 1rem 0rem;
}

@media (max-width: 399.98px) {
  .c-offcanvas--right {
    width: 100%;
  }

  .c-offcanvas--right .dropdown-item {
    white-space: initial;
  }

  .t4-offcanvas .t4-off-canvas-body .navbar .dropdown-menu .dropdown-item {
    padding-right: 28px;
  }
}

/* Font FontAwesome */
.fa {
  font-family: "FontAwesome" !important;
}