*, *:before, *:after {
  border: 0;
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
body {
  background:url(../content/bg.jpg) no-repeat center center;
  background-size: contain;
  font-family: Verdana, Helvetica, Arial, sans-serif;
}
h1,h2,h3{
  margin-top: 0.1em;
  margin-bottom: 0.25em;
}
p{
  margin-top: 0.5em;
  margin-bottom: 1em;
}
a {
  text-decoration: none;
}
ul{
  list-style-type: square;
  list-style-position: outside;
  margin-left: 25px;
  margin-bottom: 20px;
}
#logo {
  left: 50%;
  position: relative;
  max-height: 90px;
  margin-left: -397px;
  margin-top: 10px;
  margin-bottom: -85px;
}
.qtranxs_flag_de {
  background-image: url(../content/de.png); 
  background-repeat: no-repeat;
}
#grid {
  margin: 0 auto;
  width: 800px;
  font-size: 12px;
  line-height: 18px;
}
#grid a.clickable {
  font-size: 13px;
}
#grid > a,
#grid > div {
  border: 2px solid #fff;
  color: #fff;
  text-shadow: 0px 0px 1px rgba(0,0,0,0.5);
  float: left;
  margin: 5px;
  height: 150px;
  width: 150px;
  position: relative;
}
#grid > a > i,
#grid > div > i {
  font-size: 85px;
  line-height: 135px;
  display: block;
  text-align: center;
      -webkit-transition: all .2s ease-in-out;
         -moz-transition: all .2s ease-in-out;
           -o-transition: all .2s ease-in-out;
              transition: all .2s ease-in-out;
}
#grid > a:hover > i {
  font-size: 100px;
  line-height: 130px;
}
#grid > a > span,
#grid > div > span {
  display: block;
  bottom: 7px;
  position: absolute;
  left: 10px;
}
.clickable {
  cursor: pointer;
}
.flexslider {
  border: 0;
  height: 466px !important;
  width: 466px !important;
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
       -o-box-shadow: none;
          box-shadow: none;
  -webkit-border-radius: none;
     -moz-border-radius: none;
          border-radius: none;
}
.flex-control-nav {
  display: none;
  bottom: 10px;
}
.flex-direction-nav .flex-prev {
  background: url(../content/prev.png) no-repeat center center;
  background-size: cover;
  -ms-behavior: url(../content/backgroundsize.min.htc);
  background-color: rgba(157,150,145,0.75);
  border: 1px solid rgba(255,255,255,0.75);
  cursor: pointer;
}
.flex-direction-nav .flex-next {
  background: url(../content/next.png) no-repeat center center;
  background-size: cover;
  -ms-behavior: url(../content/backgroundsize.min.htc);
  background-color: rgba(157,150,145,0.75);
  border: 1px solid rgba(255,255,255,0.75);
  cursor: pointer;
}
.flexslider:hover .flex-prev {
  opacity: 1;
  left: 3px;
}
.flexslider:hover .flex-next {
  opacity: 1;
  right: 3px;
}
.flex-direction-nav a.flex-prev:before,
.flex-direction-nav a.flex-next:before {
  content: '';
  height: 40px;
}
#grid div#gallery {
  height: 470px !important;
  width: 470px !important;
}
#grid div.wide {
  width: 310px;
}
#grid div.wide > div {
  margin: 19px 22px;
}
#grid div.wide label {
  width: 30px;
  display: inline-block;
}
#grid a[href^=tel]:link {
  color: #fff;
}
.flex-direction-nav a {
  padding-top: 10px;
}
.flex-caption {
  width: 460px;
  padding: 10px;
  margin: 3px;
  position: absolute;
  bottom: 0;
  background: rgba(255, 255, 255, 0.76);
  color: #000;
}
div.hidden {
  display: none;
}
.fancybox-close {
  top: -30px;
  right: -30px;
  width: 34px;
  height: 34px;
  background-image:url(../content/close.png);
}
.fancybox-overlay {
  background-image:url(../content/overlay.png);
}
.fancybox-skin {
  background: #fff;
  padding: 0 !important;
}
.popup_header {
  color: #FFF;
  -webkit-border-top-left-radius: 3px;
  -webkit-border-top-right-radius: 3px;
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-topright: 3px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  padding: 15px;
  position: absolute;
  width: 100%;
}
.popup_header i {
  font-size: 40px;
  top: 7px;
  position: absolute;
}
.popup_header span {
  margin-left: 50px;
  font-size: 20px;
  text-shadow: 0px 0px 1px rgba(0,0,0,0.5);
}
.popup_content {
  padding: 70px 20px 20px 20px;
}
.popup_img_top {
  width: 100%;
  height: auto;
}
.popup_img_left {
  float: left;
  width: 30.2%;
  margin-right: 2%;
}
.control-label {
  width: 30%;
  display: inline-block;
}
select,
input{
  padding: 3px 6px;
  height: 6px;
  box-sizing: content-box;
  font-size: 14px;
  line-height: 16px;
  font-family: Verdana, Helvetica, Arial, sans-serif;
  display: inline-block;
  background-color: #fff;
  border-radius: 0;
  margin: 4px;
}
input[type="checkbox"]{
  padding: 5px;
  height: 22px;
  font-size: 22px;
}
input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="tel"],
select,
textarea,
button {
  width: 200px;
  -webkit-appearance: inherit;
}
select,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="tel"],
button {
  height: 21px;
}
h1 {
  display: block;
  left: 50%;
  position: relative;
  margin-left: -300px;
}
h4.headline{
  margin: 8px 0px 8px 0px;
}
.primary_title {
  font-size: 17px;
  width: 233px;
}
.secondary_title {
  margin-bottom: 15px;
  font-size: 10px;
}

table.terminwunsch{
  border-collapse: collapse;
}
tr.twalter{
  background-color: #f3f3f3;
}
th.twname{
  min-width: 140px;
}
th.twperiod{
  font-size: 9px;
  padding-bottom: 2px;
}
th.twday{
  text-align: left;
  padding: 3px 0px 3px 6px;
}
td.twempty,
td.twcheck{
  text-align: center;
  line-height: 12px;
}


@media all and (max-width: 1180px) {
  .popup_img_left {
    display: none;
  }
}
@media all and (max-width: 800px) {
  #grid {
    width: 640px;
  }
  #logo {
    margin-left: -305px;
  }
  h1 {
    margin-left: -210px;
  }
}
@media all and (max-width: 680px) {
  th.twname{
    font-size: 13px;
    min-width: 90px;
  }
  th.twday{
    font-size: 13px;
  }
  th.twperiod{
    font-size: 0px;
  }
  th.twperiod.v:before{
    font-size: 9px;
    content: 'V';
  }
  th.twperiod.n:before{
    font-size: 9px;
    content: 'N';
  }
}
@media all and (max-width: 640px) and (min-width: 480px) {
  #grid {
    width: 480px;
  }
  #grid div.map {
    width: 470px;
  }
  #grid div.map img {
    width: 467px;
  }
  #logo {
    margin-left: -240px;
  }
  h1 {
    margin-left: -145px;
  }
}
@media all and (max-width: 480px) {
  body {
    background: #fff;
    font-size: 14px;
  }
  #grid {
    width: 320px;
  }
  #grid div#gallery {
    width: 310px !important;
    height: 310px !important;
  }
  .flexslider {
    width: 308px !important;
    height: 308px !important;
  }
  #grid div.address {
    width: 310px;
  }
  #logo {
    margin-left: -160px;
    max-height: 70px !important;
    margin-bottom: -68px !important;
  }
  h1 {
    font-size: 15px;
    margin-left: -80px;
  }
  .primary_title {
    font-size: 13px;
  }
  .secondary_title {
    font-size: 9px;
  }
  table.terminwunsch{
    width: 100%;
  }
  th.twday{
    font-size: 12px;
  }
  th.twname{
    font-size: 0px;
    min-width: 40px;
  }
  th.twname.doms:before{
    font-size: 12px;
    content: 'Doms';
  }
  th.twname.schindler:before{
    font-size: 12px;
    content: 'Schindler';
  }
  th.twname.weber:before{
    font-size: 12px;
    content: 'Weber';
  }
  .fancybox-close {
    top: -17px;
    right: -17px;
  }
}
@media all and (max-height: 750px) and (min-width: 480px) {
  .primary_title {
    width: 480px;
  }
  #logo{
    max-height: 55px;
    margin-top: 5px;
    margin-bottom: -44px;
  }
  h1{
    margin-left: -335px;
  }
  .primary_title{
    line-height: 25px;
    margin-top: -3px;
  }
  .secondary_title{
    line-height: 1px;
  }
}