/*
Theme Name: Sachsendental 2022
Version: 3.0
Theme URI: xxx.de
Description: Theme fÃƒÂ¼r die Firma Vossen
Author: Tempus Webdesign
Author URI: http://tempus-webdesign.de
*/
html {
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #000;
  font-family: "Abel";
  font-size: 24px;
}
p,
li {
  line-height: 1.5em;
}

h2 {
  font-weight: bold;
}
h3 {
  font-weight: bold;
}
.title-h2 {
  padding: 1em 0 0.5em;
}
.button {
  padding: 1em;
}

.bg-grey {
  background: #f8f8f8;
}
.bg-green {
  background: #007848;
}
.txt-green {
  color: #007848;
}
.txt-white,
.font-white {
  color: #fff;
}
a:link,
a:visited {
  color: #002e48;
}
.link-box {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}
.wrapper {
  max-width: 1500px;
}
.wrapper.xsmall {
  max-width: 840px;
}
.wrapper.small {
  max-width: 1125px;
}
.wrapper.big {
  max-width: 1900px;
}
li {
  list-style: #fff;
}
.txt-call-to-aktion {
  font-size: 1.5em;
  font-weight: bold;
}
.balken-content h2,
.balken {
  position: relative;
  padding: 1em 0 0.5em;
  margin-bottom: 1em;
}
.balken-content h2 {
  text-align: center;
}
.balken-content h2:before,
.balken:before {
  content: "";
  height: 2px;
  width: 120px;
  position: absolute;
  bottom: -7px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  background: #007848;
}
.txt-red {
  color: #b80404;
}

.link-blind::before {
  content: "";
  background: #007848;
  width: 20px;
  height: 20px;
  position: absolute;
  right: 1em;
  bottom: 1em;
}
.link-blind:hover:before {
  background: #ccc;
}
/*---Button----*/
a.wp-block-button__link,
a.wp-block-button__link:link,
a.wp-block-button__link:visited {
  background: transparent;
  /* min-width: 150px; */
  padding: 0.35em 1.5em;
  color: #000;
  border-radius: 0;
  border: 1px solid #000;
  min-width: 200px;
  margin-bottom: 0.5em;
}
a.wp-block-button__link:hover {
  color: #838383;
  background: transparent;
  border: 1px solid #838383;
  box-shadow: 2px 2px 3px 1px #ccc;
  transition: all 0.3s ease-in;
}
a.wp-block-button__link.bg,
a.wp-block-button__link.bg:link,
a.wp-block-button__link.bg:visited {
  background: #838383;
  border: 1px solid #838383;
  border-radius: 1em;
}
a.wp-block-button__link.bg:hover {
  color: #838383;
  background: transparent;
  border: 1px solid #838383;
  transition: all 0.3s ease-in;
}

.bg-brown a.wp-block-button__link,
.bg-brown a.wp-block-button__link:link,
.bg-brown a.wp-block-button__link:visited {
  background: #fff;
  color: #838383;
  border: 1px solid #ffff;
}
.bg-brown a.wp-block-button__link:hover {
  color: #fff;
  background: transparent;
  border: 1px solid #fff;
  transition: all 0.3s ease-in;
}
.nav-anker a:hover{ color:#ccc}

.slider-container {
  position: relative;
}
.slider-container:after {
  height: 2em;
  width: 100%;
  content: "";
  background: #f8f8f8;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 5;
}
.slider-content {
  z-index: 15;
}
/*------Header----*/
.topbar-nav{ display: none;}
.topbar-nav li {
  float: right;
}
.topbar-nav a {
  padding: 1em 0.5em 0;
  color: #007848;
  border-bottom: 1ps solid #fff;
}
.topbar-nav .current-menu-item a {
  color: rgb(99, 99, 99);
}
.topbar-nav a:hover {
  border-bottom: 1px solid #007848;
}
.logo {
  max-width: 280px;
  float: none;
}
.logo:hover {
  opacity: 0.6;
}
.main-nav .current-menu-item a {
  filter: grayscale(100%);
}
.main-nav.original a {
  float: left;
  position: relative;
  padding-top: 90px;
  text-align: center;
}
.main-nav.original a::after {
  content: "";
  background: url(img/sprite-nav.jpg) no-repeat center center;
  height: 80px;
  position: absolute;
  top: 0;
  margin: 0 auto;
  left: 0;
  right: 0;
  width: 80px;
  display: block;
}
.main-nav li:nth-child(1) a::after {
  background-position: 0 0;
}
.main-nav li:nth-child(2) a::after {
  background-position: 0 0;
}
.main-nav li:nth-child(3) a::after {
  background-position: -75px 0;
}
.main-nav li:nth-child(4) a::after {
  background-position: -155px 0;
}
.main-nav li:nth-child(5) a::after {
  background-position: -235px 0;
}
.main-nav li:nth-child(6) a::after {
  background-position: -311px 0;
}
/*------Main----*/
.link-blind-content:hover {
  box-shadow: 2px 2px 3px 1px #ccc;
  transition: all 0.3s ease-in;
}
.page-id-686 .main-content .flex-two {
  color: #007848;
  text-align: center;
  font-weight: bold;
}
.page-id-686 .main-content .flex-two img {
  margin-bottom: 2em;
}

.icon-service {
  max-width: 80px;
}
.top-content .item {
  padding-top: 100px;
  text-align: center;
}
.home .top-content .icon {
  position: absolute;
  right: 0;
  top: 0.5em;
  width: 100px;
  margin-bottom: 1em;
  height: 100px;
  left: 0;
  margin: 0 auto;
}
.home .top-content .icon:before {
  content: "";
  position: absolute;
  background: url(img/sprite-leistungen.jpg) no-repeat;
  height: 100px;
  width: 90px;
  left: 0;
}
.home .top-content .item:nth-child(1) .icon:before {
  background-position: 0 0;
}
.home .top-content .item:nth-child(3) .icon:before {
  background-position: -94px 0px;
  width: 60px;
}
.home .top-content .item:nth-child(4) .icon:before {
  background-position: -154px 0;
  width: 82px;
}
.home .top-content .item:nth-child(2) .icon:before {
  background-position: -238px 0;
  width: 80px;
}
/*----------Modell------------*/
.modell-content .item{ width: 250px}
.modell-content .item img{height: 193px; width: auto;}

/*----------Kontakt------------*/
.kontaktbar-content a {
  color: #fff;
}
.kontaktbar-content .item {
  max-width: 300px;
}
.icon-kontakt {
  width: 30px;
  margin-right: 0.5em;
}
.icon-mail {
  margin-top: 5px;
}
.titel {
  float: left;
  width: 20%;
}
.feldt,
.feldt.tabelle {
  float: left;
  width: 80%;
}

.wpcf7-form-control-wrap {
  width: 100%;
}
.tabelle span.wpcf7-form-control-wrap {
  float: left;
  width: 5.1%;
}
.line-v:after {
  content: "";
  border-right: 1px solid #ccc;
}
.wpcf7-checkbox {
  margin-right: 1%;
}
.wpcf7-form-control {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  margin-bottom: 1em;
}
.tabelle.line-bottom {
  padding-bottom: 1%;
  border-bottom: 1px solid #007948;
}

.tabelle.line-top {
  padding-top: 1%;
}

.tabelle .andersartig-21,
.tabelle .gleichartig-21,
.tabelle .regelfall-21,
.tabelle .befund-21,
.tabelle .text-21,
.text-31,
.tabelle .befund-31,
.tabelle .regelfall-31,
.tabelle .gleichartig-31,
.tabelle .andersartig-31 {
  border-left: 1px solid #007948;
  padding-left: 1%;
  width: 6.1% !important;
}
.tabelle span.wpcf7-form-control-wrap {
  float: left;
  width: 5.1%;
  margin-right: 1%;
}

.tabelle.line-bottom {
  padding-bottom: 1%;
  border-bottom: 1px solid #007948;
}

.tabelle.line-top {
  padding-top: 1%;
}

.tabelle .andersartig-21,
.tabelle .gleichartig-21,
.tabelle .regelfall-21,
.tabelle .befund-21,
.tabelle .text-21,
.text-31,
.tabelle .befund-31,
.tabelle .regelfall-31,
.tabelle .gleichartig-31,
.tabelle .andersartig-31 {
  border-left: 1px solid #007948;
  padding-left: 1%;
  width: 6.1% !important;
}

/*------Footer----*/
.logo-footer {
  max-width: 300px;
}
.footer-container a:link,
.footer-container a:visited {
  color: #838383;
}

@media only screen and (min-width: 600px) {
  .main-nav.cloned {
    background: #fff;
    z-index: 90;
    padding: 0.5em 0;
  }
  .cloned #menu-main-menue {
    display: flex;
    justify-content: center;
    padding: 0;
  }
  .main-nav.cloned a {
    padding: 5px 1em;
  }
  .main-nav.cloned a {
    position: relative;
    padding-left: 50px;
  }
  .main-nav.cloned li:not(:first-child) a::after  {
    content: "";
    background: url(img/sprite-nav.jpg) no-repeat;
    background-size: auto 100%;
    height: 40px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 40px;
    display: block;
  }
  
  .main-nav.cloned li:nth-child(7) a::after,
  .main-nav.cloned li:nth-child(8) a::after,
  .main-nav.cloned li:nth-child(9) a::after{ display: none;}
  .main-nav.cloned li:nth-child(7) { border-left: 1px solid #ccc}

  #nav-container.cloned li:nth-child(2) a::after {
    background-position: 0 0;
  }
  #nav-container.cloned li:nth-child(3) a::after {
    background-position: -42px 0;
  }
  #nav-container.cloned li:nth-child(4) a::after {
    background-position: -85px 0;
  }
  #nav-container.cloned li:nth-child(5) a::after {
    background-position: -126px 0;
  }
  .neuigkeiten-content{    grid-template-rows: 1fr 52px;    }
  /*----------Zahnarztfinder------------*/
  .finder-tel {
    max-width: 160px;
  }

  .finder-tag {
    max-width: 150px;
  }
  .finder-bis {
    max-width: 50px;
  }
  .finder-zeit {
    max-width: 75px;
  }
  .finder-hinweis {
    max-width: 150px;
  }
  #menu-footer-leistungen-menu li {
    width: 50%;
    float: left;
  }
}

@media only screen and (min-width: 800px) {
  h2 {
    font-size: 1.65em;
  }
  .topbar-nav {
    position: absolute;
    display: block;
  }
  .main-nav.cloned li:nth-child(1) a {
    width: 100px;
    margin: 0 1em;
    height: 35px;
  }
  .main-nav {
    padding: 0;
  }
  .menu-main-menue-container {
    float: left;
    width: 100%;
  }
  .main-nav.original ul {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 0;
  }
  .main-nav.original li:nth-child(7),
  .main-nav.original li:nth-child(8),
  .main-nav.original li:nth-child(9) {
    display: none;
  }
  .main-nav ul li:not(:first-child):hover a:before {
    border-bottom: 1px solid #838383;
  }
  .top-content .item {
    text-align: left;
    padding-top: 2em;
  }
  .home .top-content .icon {
    margin: 0;
    position: absolute;
    right: 0.5em;
    top: 0.5em;
    width: 100px;
    height: 100px;
    left: auto;
  }
  .service-content .item {
    display: flex;
  }
  .service-content picture {
    margin-right: 1em;
  }
}

@media only screen and (min-width: 1200px) {
  .sitename {
    max-width: 400px;
  }
  .js .main-nav.original {
    padding: 2.5em 0 0;
    max-width: calc(100% - 400px);
  }
  .logo {
    max-width: none;
  }
  .slider-text-content {
    max-width: 780px;
  }

  .slider-text-container {
    position: absolute;
    bottom: 150px;
    max-width: 100%;
  }
  .slider-text-content {
    float: left;
  }
}
@media only screen and (min-width: 1400px) {
}
@media only screen and (min-width: 1600px) {
}
