* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: #333;
  font-family: "Graphik Medium", sans-serif;
  text-align: center;
  line-height: 1.2em;
  font-style: normal;
  font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #5fa504;
  background-color: #e8efdf;
  max-width: 550px;
  border: 1px double #5fa504;
  padding: 10px;
  margin: 25px auto;
  line-height: 0.9em;
}

h1 {
  font-size: 30px;
  font-weight: bold;
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 14px;
  padding: 8px;
  margin: 8px auto;
  max-width: 200px;
}

h4 {
  color: #5fa504;
  background-color: #fff;
  border: none;
  font-weight: bolder;
  margin-bottom: 5px;
  padding: 5px;
  border-top: 1px double #5fa504;
  border-bottom: 1px double #5fa504;
  font-style: italic;
  max-width: 370px;
}

p {
  font-size: 18px;
  line-height: 1.5;
  margin: 10px;
}

/* Header */

header {
  border: 2px solid #484848;
}

header .navbar {
  text-transform: uppercase;
  background-color: #434343aa;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}

header .navbar button {
  text-transform: inherit;
  background-color: #43434300;
  text-align: inherit;
  border: none;
}

header .navbar a,
header .navbar button a {
  margin: 10px 0;
  min-width: 120px;
  max-width: 150px;
  display: inline-block;
  text-align: center;
  cursor: pointer; /*Mouse looks like hand when hovering over link */
  font-size: 17px;
}

header .navbar a::first-letter,
header .navbar button a::first-letter {
  color: rgb(255, 238, 0);
  font-size: 23px;
}

header .navbar a:link,
header .navbar button a:link {
  color: #1efa31c6;
  text-decoration: none;
}

header .navbar a:visited,
header .navbar button a:visited {
  color: #1efa31c6;
  text-decoration: none;
}

header .navbar a:hover,
header .navbar button a:hover {
  color: rgb(255, 238, 0);
  font-weight: bold;
  text-decoration: underline dotted;
}

.navbar {
  overflow: hidden;
}

.subnav {
  overflow: hidden;
}

.subnav_content {
  display: none;
  position: relative;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  width: 123px;
}

header .navbar .subnav_content a {
  float: right;
  font-size: 12px;
  color: rgb(255, 238, 0);
  text-transform: none;
  text-align: right;
}

header .navbar .subnav_content a::first-letter {
  font-size: 12px;
}

.subnav:hover .subnav_content {
  display: block;
}

/* Mobile Header */

.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #333;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/* Content */

.content_wrap {
  max-width: 1200px;
  margin: 60px auto;
}

p a:visited {
  color: #1efa31c6;
}

p a:hover {
  color: rgb(255, 238, 0);
  font-weight: bold;
  text-decoration: underline dotted;
}

p a:link {
  color: #1efa31c6;
}

a:active {
  background-color: #1efa31c6;
}

a img {
  border: 0px solid #1efa31c6;
}

.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Table */

summary {
  margin-bottom: 30px;
}

table {
  margin: 0 auto;
  table-layout: auto;
}

col {
  width: 550px;
}

table,
td,
th {
  border-collapse: collapse;
}

th,
td {
  padding: 4px 20px;
  border: solid 1px #484848;
}

.first_column {
  width: 220px;
}

th:first-child,
td:first-child {
  text-align: right;
}

th {
  color: #5fa504;
  background-color: #43434346;
  font-weight: bold;
}

th::first-letter {
  color: rgb(255, 238, 0);
  font-size: larger;
}

th,
td {
  text-align: left;
}

/* Footer */

footer div p {
  font-size: 14px;
  line-height: 1.3;
  margin: 0;
}

footer {
  display: flex;
  background-color: #434343aa;
  color: #1efa31c6;
  padding: 1px;
  margin: 20px 0;
  height: auto;
  border-radius: 0px 0px 0px 0px / 0px 0px 0px 0px;
  clear: both;
  border: 2px solid #484848;
  flex-wrap: wrap-reverse;
  justify-content: space-around;
}

.footer-logo {
  align-self: flex-start;
}

.logo {
  max-width: 350px;
  height: auto;
}

.footer-zeiten {
  display: flex;
  flex-direction: column;
}

.öffnungszeiten {
  display: flex;
  border-top: 1px solid #f7f7f7;
  border-bottom: 1px solid #f7f7f7;
  justify-content: center;
  gap: 30px;
  margin: 10px 0;
}

.wochentage {
  text-align: center;
  min-width: 150px;
}

.uhrzeiten {
  text-align: center;
  min-width: 150px;
}

.footer-bürozeiten {
  margin: 10px 0;
}

.footer-kontakt {
  width: 350px;
  align-self: center;
}

.footer-kontakt p {
  margin: 15px auto;
}

/* Specific pages */
/* Impressum */

.impressum {
  font-size: 12px !important;
}

/* Über Uns */

.left_aligned {
  float: left;
  height: 250px;
  width: auto;
  margin: 20px auto;
}

.left_aligned:hover {
  height: 300px;
}

.width_specifier {
  max-width: 400px;
}

.image_text {
  text-align: left;
  font-size: 17px;
  line-height: 1.5;
  max-width: 725px;
  height: 250px;
  float: right;
  margin: 20px;
}

/* Fortbildungen */

.fortbildungen {
  font-size: 18px;
  margin-top: 20px;
}

/* Praxis */

.slideshow-container {
  position: relative;
}

.slideshow-container2 {
  position: relative;
}

.slideshow-container3 {
  position: relative;
}

.mySlides {
  display: none;
}

.mySlides2 {
  display: none;
}

.mySlides3 {
  display: none;
}

.carousel {
  background-color: #43434346;
  margin: 50px auto 150px auto;
  max-width: 900px;
  padding: 32px 48px 32px 112px;
  border-radius: 8px;
  border: 1.5px solid rgb(255, 238, 0);
  position: relative;
  color: rgb(255, 238, 0);
  display: flex;
  align-items: center;
  gap: 102px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.mySlides2 .carousel {
  padding: 32px 112px 32px 48px;
  flex-direction: row-reverse;
}

.carousel_image {
  height: 220px;
  border-radius: 8px;
  transform: scale(1.5);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.mySlides2 #no-slider-8 {
  gap: 0;
  justify-content: center;
  padding: 0 0 0 0;
}

.mySlides2 #no-slider-8 .carousel_content {
  width: 0;
}

.mySlides3 #no-slider-1 {
  gap: 0;
  justify-content: center;
  padding: 0 0 0 0;
  height: 280px;
}

.mySlides3 #no-slider-1 .carousel_content {
  width: 0;
}

.carousel_content {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 4px;
  color: #5fa504;
}

.carousel_heading {
  color: #5fa504;
  text-decoration-line: underline;
  font-weight: bold;
  font-style: italic;
}

.carousel_heading::first-letter {
  color: rgb(255, 238, 0);
  font-size: larger;
}

.carousel_description {
  font-size: 14px;
}

.carousel_btn {
  background-color: #fff;
  border: 1px solid rgb(255, 238, 0);
  height: 40px;
  width: 40px;
  border-radius: 50%;
  position: absolute;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.6s ease;
  user-select: none;
}

.carousel_arrow_left,
.carousel_arrow_right {
  height: 24px;
  width: 24px;
  stroke: #484848;
}

.prev {
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
}

.next {
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
}

.dots {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 45px);
  display: flex;
  gap: 12px;
}

.dots2 {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 45px);
  display: flex;
  gap: 12px;
}

.dots3 {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 45px);
  display: flex;
  gap: 12px;
}

.dot {
  height: 12px;
  width: 12px;
  background-color: #fff;
  border: 2px solid #48484880;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  transition: background-color 0.6s ease;
}

.dot2 {
  height: 12px;
  width: 12px;
  background-color: #fff;
  border: 2px solid #48484880;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  transition: background-color 0.6s ease;
}

.dot3 {
  height: 12px;
  width: 12px;
  background-color: #fff;
  border: 2px solid #48484880;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  transition: background-color 0.6s ease;
}

.dot_fill {
  background-color: rgb(255, 238, 0);
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
