  /* custom css file for vitalcenter-ruesselsheim.de */

/*****  GENERAL  *****/
  
body,
button {
  background-color: #83afc8;
  font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #474747;
  text-align: justify;
  font-style: inherit;
  font-weight: inherit;
  border: 0;
  margin: 0;
  padding: 0;
  outline: 0;
}

div {
  display: block;
}

h1 {
  font-size: 1.4em;
  margin-bottom: 1em;
}

h2,
.furinf {
  font-size: 1.2em;
  margin: 0;
}

h4 {
  margin: 1.5em 0 0em 0;
}

ul {
  text-align: left;
}

ul.list {
  margin-top: 0;
}

a {
  color: #FCB034;
}

@media screen and (max-width: 750px) {
  h1 {
    font-size: 2.8vw;
  }
}
@media screen and (max-width: 600px) {
  h2 {
    font-size: 2.8vw;
  }
}
@media screen and (max-width: 500px) {
  body {
    font-size: 13px;
  }
  h1, h2 {
    font-size: 14px;
  }
}

.external-link:after {
  content: "\a0" url(../images/external-link-12.png);
}

.tabby {
  padding-left: 80px;
  text-align: left;
}

p.tabby {
  position: absolute;
  padding: 0;
  margin: 0;
}

p.list {
  margin-bottom: 0;
}

picture {
  float: right;
  margin: 0 0 1em 2em;
}

.readmore {
  font-size: 0.9em;
  font-style: italic;
  margin-left: 10px;
}

.readmore::before {
  content: ">> ";
  font-size: 0.85em;
}


/*****  LAYOUT  ******/

body {
  margin: 0 auto;
  padding: 0;
  background-image: url(../images/stones.jpg);
  @supports (background-image: url('../images/stones.webp')) {
    background-image: url(../images/stones.webp);};
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.box {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
  display: block;
}

.header {
  width: 100%;
}

.main {
  width: auto;
  background-color: rgba(229,235,245,0.85);
  border-radius: 10px;
  padding: 1em;
  margin-top: calc(34vw - 65px);
}

.main-inner {
  max-width: 1000px;
  margin: auto;
}

.main.open {
  margin-top: 3em;
  text-align: center;
}

.footer {
  width: auto;
}


.details .article {
  width: auto;
  background-color: rgba(229,235,245,0.85);
  border-radius: 10px;
  padding: 1em;
  margin-top: 2em;
}

@media screen and (max-width: 599px) {
  .box {
    width: 100%;
  }
}


/*****  TRANSFORMATIONS ANIMATIONS *****/

.float-in {
  position: relative;
  -webkit-transform: translateY(50px);
  transform: translateY(50px);
  opacity: 0;
  transition: 2s all ease;
}

.float-in.active {
  transform: translateY(0);
  opacity: 1;
}

a.backtop {
  background-image: url(../images/backtop.png);
  background-repeat: no-repeat;
  background-color:#fff;
  border:1px solid #333;
  background-position: 50% 50%;
  z-index: 999999;
  float: right;
  width: 35px;
  height: 35px;
    text-indent: -9999px;
    border-radius: 50%;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.back-to-top {
  position: relative;
  display: none;
  bottom: 3px;
  right: 3px;
  background-image:  url(../images/back-to-top.png);
  background-repeat: no-repeat;
  background-color:#fff;
  border:1px solid #333;
  background-position: 50% 50%;
  z-index: 999999;
  width: 50px;
  height: 50px;
  text-indent: -9999px;
  border-radius: 50%;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  }
  
.back-to-top.active { 
  position: fixed;
  display: block;
}

.imgcontainer {
  width: 50%;
  max-width: 600px;
  border-radius: 15px;
  margin: 0 0 1em 2em;
  float: right;
  overflow: hidden;
}
.pic-balz img {
  width: 100%;
  animation: zoom-in-zoom-out 13s ease;
  }
  @keyframes zoom-in-zoom-out {
    0%   { transform: scale(1.15, 1.15) translate(5%, 12%); }
    100% { transform: scale(1, 1) translate(0px, 0px); }
  }

@media screen and (max-width: 700px) {
  .imgcontainer {
    width: 100%;
  }
}

/*****  Header  ******/

.header {
  font-weight: bold;
}

.header h1 {
  font-size: 2em;
  font-variant: small-caps;
  margin: 10px 0 0 10px;
}

.header p {
  font-size: 1.1em;
  margin: 0.2em 0 0 10px;
}

.header hr {
  border: 5px solid #99ADD6;
  border-radius: 5px;
  margin: 0;
}

.phn {
  float: right;
  font-size: 1.1em;
  margin: 0.2em 10px 0 0;
}
.phnsm {
  display: none;
}
@media screen and (max-width: 599px) {
  .phn {
    display: none;
  }
  .phnsm {
    display: block;
    margin-left: 10px;
  }
}

/*****  MAIN  *****/

 .sign {
  width: 265px;
  height: 27px;
  border: 0;
  margin: 0 0 -5px 15px;
}



/*****  TEASER  *****/

.teaser {
  column-width: 100%;
  column-gap: 1em;
  margin: 2em 1em 2em 1em;
}
@media screen and (min-width: 565px) {
  .teaser {
    column-width: 40vw;
  }
}
@media screen and (min-width: 940px) {
  .teaser {
    column-width: 26vw;
    column-gap: 1em;
  }
}

.teaser .topic {
  margin: 0 0 1em 0;
  padding: 5px 25px 10px 25px;
  background-color: #FFCC99;
  border-radius: 4px;
  display: inline-block;
}

.teaser h3 {
  text-align: center;
}

.teaser a {
  color: #474747;
}


/*****  FOOTER  *****/

.footer {
  clear: left;
  display: inline-block;
  text-align: left;
  background-color: #ffcc99;
  margin: 2em 0;
  padding: 1em;
  border-radius: 10px;
  color: #333;
  font-size: 0.9em;
}

.footer h2 {
  margin: 1em 0;
}

.footer summary {
  font-size: 1.2em;
  font-weight: bold;
}

.footer details p:last-child {
  margin-bottom: 0;
}

.tablrow { }

.tabl1 {
  float:  left;
  width: 130px;
  padding-left: 10px;
}

.tabl2 {
  margin: 0 0 20px 150px;
}

@media screen and (max-width: 499px) {
  .tabl1 {
    float:  none;
    width: 100%;
  }
  
  .tabl2 {
    margin: 0 0 20px 0;
    width: 100%
  }
}

.accordions {
  cursor: copy;
  font-weight: bold;
  color: #333;
  background-color: transparent;
  padding: 5px 10px;
  margin: 0px;
  width: auto;
  text-align: left;
  border: none;
  border-radius: 8px;
  outline: none;
  transition: 1.0s;
}

.accordions:hover {
  color: #FFF;
  text-decoration: none;
}

.accordions.active {
  text-decoration: underline;
}

.accordions::before {
  content: '\002B';
  font-weight: bold;
  float: left;
  margin: 0 10px 1px 5px;
}

.accordions.active::before {
  content: "\2212";
}

.panel {
  padding: 0px 18px 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s ease-out;
}

.panel hr {
  border: 1px solid #333;
  margin: 10px -10px 30px -10px;
}

.panel p {
  margin: 0.5em 0 0em 0;
  text-align: justify;
}

.panel ol {
  list-style: lower-alpha;
  margin: 0.5em 0 0 0;
  padding: 0 0 0 2em;
}

.panel ul {
  margin: 0.5em 0 0 0;
  padding: 0 0 0 2em;
}

.panel ol li {
  padding-left: 10px;
}

.panel ol li ul {
  margin: 0;
  padding: 0 0 0 1.3em;
}