.clear {
  float: none;
  clear: both;
  height: 1px;
  display: block;
}
.line,
.lastUnit {
  overflow: hidden;
  *overflow: visible;
  *zoom: 1;
  padding: 0 10px;
}
.unit {
  /* unit - Base class which divides a line into sections (columns). */

  float: left;
  padding: 0 10px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /* box-sizing:border-box; creates a box-model where
	padding and border are NOT added onto the width - they are included in the width,
	so a 200px wide element with 20px padding will be 200px, NOT 240px wide */

}
.unitRightv {
  /* Use this class if you want to offset a column eg: |--content(.unit)--|--content(.unit)--|--no-content--|--no-content--|--content(.unitRighttv)--| */

  float: right;
}
/* sizeXofY - Extends unit. Indicates the fractional width of the unit, for example size3of4 would take up three quarters, or 75%, of the horizontal space.
The following fractions are supported: 1, 1/2, 1/3, 2/3, 1/4, 3/4, 1/5, 2/5, 3/5, 4/5 */
/* It is possible to add more columns if you wish you will just have to add the fractions that are missing eg: .size1of6 {width:16.66666%;} */
.size1of1 {
  float: none;
}
.size1of2 {
  width: 50%;
}
.size1of3 {
  width: 33.33333%;
}
.size2of3 {
  width: 66.66666%;
}
.size1of4 {
  width: 25%;
}
.size3of4 {
  width: 75%;
}
.size1of5 {
  width: 20%;
}
.size2of5 {
  width: 40%;
}
.size3of5 {
  width: 60%;
}
.size4of5 {
  width: 80%;
}
.lastUnit {
  /* lastUnit - Extends unit. Applied to the last child of every line. */

  float: none;
  width: auto;
  _position: relative;
  /* Bug fix for IE6 - Internet Explorer 6 and below wouldn't fail on properties that were prefixed with non-alphanumeric characters.
	meaning that anything prefixed with _ wouldn't be picked up by any other browsers */

  _left: -3px;
  _margin-right: -3px;
}
/* MAIN LAYOUT */
body {
  background-color: #E0D9D1;
  margin: 0;
  min-width: 240px;
  -webkit-text-size-adjust: none;
  /* The text size is not adjusted for Safari on iPhone */

}
body #loading {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: url(../images/ajax-loader.gif) no-repeat center center rgba(0, 0, 0, 0.2);
  display: none;
}
body .content-container {
  box-sizing: border-box;
}
body.Page #loading {
  display: none;
}
body #bg {
  background-color: #E0D9D1;
  position: fixed;
  left: 50%;
  top: 0;
  width: 1279px;
  height: 100%;
  z-index: -1;
  margin: 0 0 0 -640px;
}
body #bg div {
  background-position: center 0;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}
body.Home #bg div {
  background-image: url("../images/bg-home.jpg");
}
body.Kontakt #bg div {
  background-image: url("../images/bg-contact.jpg");
}
body.Sauerstoff #bg div {
  background-image: url("../images/bg-oxygen.jpg");
}
body.Sortiment #bg div {
  background-image: url("../images/bg-sortiment.jpg");
}
body.GalleryHolder #bg div {
  background-image: url("../images/bg-gallery.jpg");
}
body.TreatmentOverview #bg div {
  background-image: url("../images/bg-treatments.jpg");
}
body.Presse #bg div {
  background-image: url("../images/bg-press.jpg");
}
body.Intro {
  min-height: 700px;
}
body.Intro #bg {
  position: absolute;
  min-height: 700px;
}
body.Intro #bg div {
  background-image: url("../images/bg-intro.jpg");
  background-color: #e0d9d1;
}
body.Intro > header div.logo,
body.Intro > footer {
  display: none;
}
body.Intro > div.main ul.navi {
  opacity: 0;
}
body.Intro a.enter {
  display: block;
  height: 600px;
  margin-top: 135px;
  width: 100%;
}
body.Impressum #bg div,
body.Page #bg div {
  background-image: url("../images/bg-impressum.jpg");
  background-color: #e0d9d1;
}
body.Page > div.main ul.navi,
body.Page footer {
  display: none;
}
body.Page .content-container {
  padding: 0 200px;
}
.ie7 body,
.ie8 body {
  min-width: 860px;
  /* media queries are not supported in ie7/8 without a polyfill */

}
.main {
  padding: 0;
  margin-top: -75px;
  min-height: 300px;
}
.inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  position: relative;
}
.ie6 .inner {
  width: 960px;
}
.no-sidebar .content-container {
  float: left;
  width: 100%;
  /* makes content container full width when there is no sidebar */

}
.sidebar {
  /* this is the sidebar element */

  margin-top: 12px;
}
.no-sidebar .sidebar {
  display: none;
}
/* HEADER */
body hr {
  border-top: solid 1px rgba(255, 255, 255, 0.2);
  margin: -15px 0 10px;
}
body .header .logo {
  position: relative;
  width: 400px;
  max-width: 100%;
  margin: 0 auto;
}
body .header .logo img {
  width: 100%;
}
body .main .inner ul.navi li {
  position: relative;
  font-family: 'ShadowsIntoLight';
  list-style: none;
  text-align: center;
  margin: 20px 0 0 0;
}
body .main .inner ul.navi li div.SMbooking179612_d3994 {
  margin-top: -31px;
  opacity: 0;
}
body .main .inner ul.navi li div.SMbooking179612_d3994 a.SMBook {
  width: auto !important;
  font-size: 30px !important;
  font-family: 'ShadowsIntoLight' !important;
  color: #000 !important;
  background: none !important;
}
body .main .inner ul.navi li > a {
  font-size: 30px !important;
}
body .main .inner ul.navi li > div {
  height: 0;
  overflow: hidden;
  position: relative;
}
body .main .inner ul.navi li.preload > div {
  height: auto;
}
body .main .inner ul.navi li.current > div {
  height: auto;
}
body .main .inner ul.navi li.meta {
  height: 0;
  overflow: hidden;
}
body .main .inner ul.navi li.meta.current {
  height: auto;
}
body .main .inner ul li.current {
  border-bottom: solid 1px rgba(255, 255, 255, 0.2);
}
body div.content {
  border-top: solid 1px rgba(255, 255, 255, 0.35);
  background-color: rgba(255, 255, 255, 0.4);
  font-size: 20px;
  padding: 20px 0 1px;
}
body .content-container.treatments tr:first-child td span.price {
  font-size: 14px;
}
body .content-container.treatments tr.title td {
  padding-top: 15px;
  border-bottom: solid 1px rgba(255, 255, 255, 0.8);
  cursor: pointer;
}
body .content-container.treatments tr.title td img {
  background: none;
}
body .content-container.treatments tr.title td:first-child,
body .content-container.treatments tr.title td:last-child {
  border-bottom: none;
}
body .content-container.treatments tr.title.first td {
  padding-top: 10px;
}
body .content-container.treatments tr.title:hover td {
  background-color: rgba(255, 255, 255, 0.3);
}
body .content-container.treatments tr.title.last td {
  border-bottom: none;
}
body .content-container.treatments tr.description td {
  line-height: 0px;
  padding: 0;
}
body .content-container.treatments tr.description td > div {
  max-width: 100%;
  height: 0;
  overflow: hidden;
}
body .content-container.treatments tr.description td > div > div {
  padding: 10px 5px;
}
body .content-container.treatments tr.description td > div > div p {
  text-align: left;
}
body .content-container.treatments tr.description td > div > div p:last-child {
  margin-bottom: 0;
}
body .content-container.treatments tr.description.collapsed {
  background-color: rgba(255, 255, 255, 0.7);
  max-height: inherit;
}
body .content-container.treatments tr.description.collapsed td div {
  display: inherit;
}
body .content-container.treatments td {
  color: #000;
  font-size: 20px;
}
body .content-container.treatments td span.price {
  float: right;
  width: 60px;
  text-align: right;
}
body.Page .main > .typography > ul {
  display: none;
}
body.Page form#MemberLoginForm_LoginForm {
  position: relative;
  margin: 0 auto;
  max-width: 410px;
}
body.Page form#MemberLoginForm_LoginForm .checkbox label.right {
  color: #000;
}
div.flyer {
  height: 300px;
  background: url("../images/icon-flyer.png") no-repeat center bottom;
  margin: 0px 0 -30px;
  padding-top: 10px;
}
div#Behandlungen {
  background-color: rgba(255, 255, 255, 0.3);
}
div#Behandlungen div.content-container {
  padding-bottom: 20px;
}
div#Behandlungen div.content-container .treatments-overview {
  max-width: 100%;
  position: relative;
  margin: 0 auto;
}
div#Behandlungen div.content-container .treatments-overview td {
  text-align: left;
  width: 30%;
}
div#Behandlungen div.content-container .treatments-overview td:nth-child(2) {
  position: relative;
  min-width: 280px;
  max-width: 100%;
  width: auto;
}
#Sauerstoff,
#Sortiment,
#Kontakt {
  background-color: rgba(255, 255, 255, 0.3);
}
#Sauerstoff div.content,
#Sortiment div.content,
#Kontakt div.content {
  width: 700px;
  max-width: 100%;
  margin: 0 auto;
  background: none;
}
div#Galerie {
  background-color: rgba(255, 255, 255, 0.3);
}
div#Galerie div[data-template="GalleryHolder"] {
  position: relative;
  margin: 0 auto;
  width: 930px;
  max-width: 100%;
  padding-bottom: 20px;
}
div#Galerie div[data-template="GalleryHolder"] > div h3 {
  display: block;
  font-size: 16px;
  text-transform: uppercase;
  text-align: center;
  float: none;
  clear: both;
  line-height: 1.2;
  padding: 20px 0 10px;
}
div#Galerie div[data-template="GalleryHolder"] > div a {
  display: block;
  border: none;
  margin: 4px;
  float: left;
}
div#Galerie div[data-template="GalleryHolder"] > div a img {
  border: none;
  display: block;
}
div#Presse {
  background-color: rgba(255, 255, 255, 0.3);
}
div#Presse div[data-template="Presse"] {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 894px;
  text-align: left;
  padding: 20px 0 10px;
}
div#Presse div[data-template="Presse"] div.clear {
  border: none;
  height: 0;
  width: 0;
  float: none;
  clear: both;
  display: block;
}
div#Presse div[data-template="Presse"] > div {
  display: block;
  border: solid 2px #fff;
  background-color: rgba(255, 255, 255, 0.6);
  overflow: hidden;
  margin-bottom: 10px;
}
div#Presse div[data-template="Presse"] > div > div {
  position: relative;
  height: 158px;
  width: 158px;
  padding: 10px;
  float: left;
  text-align: left;
  font-size: 12px;
}
div#Presse div[data-template="Presse"] > div > div h3 {
  font-size: 16px;
  display: block;
  margin: 0;
  padding-bottom: 10px;
  line-height: 1.2;
}
div#Presse div[data-template="Presse"] > div > div a.download,
div#Presse div[data-template="Presse"] > div > div a.link {
  position: absolute;
  bottom: 10px;
  background: url("../images/icon-dl.png") no-repeat 0 4px;
  padding-left: 13px;
  color: #000;
}
div#Presse div[data-template="Presse"] > div > div a.link {
  background: url("../images/icon-weblink.png") no-repeat 0 4px;
}
div#Presse div[data-template="Presse"] > div > div.clear {
  height: 0;
  padding: 0;
  margin: 0;
}
div#Presse div[data-template="Presse"] > div a {
  display: block;
  border: none;
  margin: 0px;
  float: left;
}
div#Presse div[data-template="Presse"] > div a img {
  border: none;
  display: block;
}
div#Kontakt div.content a.fb-logo {
  background: url("../images/social-fb.png") no-repeat;
  height: 27px;
  display: inline-block;
  font-size: 16px;
  color: #000;
  padding-left: 20px;
  margin-bottom: 30px;
}
div#Kontakt div.content a.fb-logo span {
  background: url(../images/underline.jpg) repeat-x 0 21px;
}
div#Kontakt div.content a.fb-logo:hover {
  color: #ff6858;
}
/* FOOTER */
footer {
  padding: 20px 0;
  font-size: 11px;
  line-height: 22px;
}
footer .inner {
  text-align: center;
  font-size: 14px;
  border-top: solid 1px rgba(255, 255, 255, 0.2);
  border-bottom: solid 1px rgba(255, 255, 255, 0.2);
}
footer .inner iframe {
  position: relative;
  top: -23px;
  opacity: 0;
}
footer .inner hr {
  margin: 2px 0 10px;
  display: block;
}
footer .inner span.label {
  display: block;
  margin: 5px 0 10px;
}
footer .inner ul {
  position: relative;
  margin: 0 auto;
  width: 90px;
}
footer .inner ul li {
  float: left;
  width: 30px;
  overflow: hidden;
  position: relative;
}
footer .inner a {
  color: #000;
  margin: 0 5px;
}
footer .inner a:hover {
  color: #ff6858;
}
footer .inner a.twitter-share-button {
  margin-left: 2px;
}
/* FANCYBOX */
.fancybox-lock .fancybox-overlay {
  background: rgba(0, 0, 0, 0.5);
}
.fancybox-skin {
  border-radius: 0;
  background: transparent;
}
.fancybox-opened .fancybox-skin {
  box-shadow: none;
}
.fancybox-title-float-wrap .child {
  background: none;
  border-radius: 0;
  text-shadow: none;
  white-space: normal;
}
.fancybox-title-float-wrap {
  margin-bottom: -65px;
}
.fancybox-title {
  font-family: 'ShadowsIntoLight';
}
#fancybox-loading,
.fancybox-close,
.fancybox-prev span,
.fancybox-next span {
  background-image: url("../images/gallery-controls.png");
  display: block;
  height: 40px;
  width: 26px;
}
.fancybox-nav span {
  visibility: visible;
  margin-top: -20px;
}
.fancybox-prev span {
  background-position: 0 -160px;
  left: -100px;
}
.fancybox-next span {
  background-position: 0 -103px;
  right: -90px;
}
.fancybox-close {
  background-position: 0 142px;
}
/* DEVICE & RESPONSIVE LAYOUT */
.header .nav-open-button {
  display: none;
  /* removes the nav toggle button for desktop site */

}
#media-query-trigger {
  /* instead of detecting the width of the window in simple/javascript/script.js it detects the visibility of this element (which is set using media queries)
    instead to trigger the hiding/showing of nav and search in mobile mode */

  display: none;
  visibility: hidden;
}
body .content-container #disclaimer {
  position: relative;
  margin: 0 auto;
  max-width: 500px;
}
/* BREAKPOINT 960px */
@media only screen and (max-width: 960px) {
  .content img {
    max-width: 97%;
    height: auto;
  }
  .header .primary ul {
    margin-left: -12px;
    -webkit-padding-start: 0px;
    /* removes default webkit padding on ul items */
  
  }
}
/* BREAKPOINT 640px */
/* when changing the breakpoint below, change it ito the same value in the script.js file as well */
@media only screen and (max-width: 640px) {
  body {
    max-width: 100%;
  }
  #media-query-trigger {
    visibility: visible;
  }
  .brand h1 {
    font-size: 40px;
    padding-right: 100px;
    /* padding stops .brand text from overlapping the search and nav buttons */
  
  }
  /* Main Content */
  .main {
    padding: 20px 0 45px;
    /* decrease padding so that more content can fit on screen */
  
  }
  .content-container,
  .sidebar {
    width: 100%;
    /* sidenav is now shown above the page content */
  
    margin-bottom: 0px;
  }
  .typography h1 {
    /* decrease size of page heading due to smaller screen */
  
    font-size: 30px;
    line-height: 35px;
    margin-bottom: 15px;
    padding-bottom: 10px;
  }
  .typography p {
    font-size: 14px;
    line-height: 23px;
  }
  p.intro {
    font-size: 19px;
    line-height: 27px;
  }
  .main .inner {
    padding: 0;
  }
  /* Secondry Nav */
  .secondary li a {
    line-height: 24px;
  }
  .secondary li .arrow {
    line-height: 26px;
  }
  /* Footer */
  .footer .right {
    float: left;
    width: 100%;
  }
  body .content-container {
    padding-left: 10px;
    padding-right: 10px;
  }
  body .content-container[data-template="Impressum"] {
    padding-left: 0px;
    padding-right: 0px;
  }
  body .content-container[data-template="Impressum"] .content {
    max-width: 500px;
  }
  div#Kontakt div.content a.fb-logo {
    margin-bottom: 20px;
  }
}
a.fancybox {
  max-width: calc(20%);
}
a.fancybox img {
  width: 100%;
}
@media only screen and (max-width: 934px) {
  a.fancybox {
    max-width: calc(22%);
  }
}
@media only screen and (max-width: 395px) {
  a.fancybox {
    max-width: calc(22%);
  }
  .content-container.treatments .treatments-overview td {
    width: 100%;
  }
  .content-container.treatments .treatments-overview td:first-child,
  .content-container.treatments .treatments-overview td:last-child {
    display: none;
  }
}
@media only screen and (max-width: 525px) {
  div.flyer {
    background-position: center 110px;
  }
}
#audioplayerControl {
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 1000;
  cursor: pointer;
}
#audioplayerControl img {
  background: none;
  border: none;
}
div.fancybox-overlay.fancybox-overlay-fixed {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
}
