@font-face {
  font-family: 'Futura-Boo';
  src: url('fonts/Futura-Boo.eot?#iefix') format('embedded-opentype'),  url('fonts/Futura-Boo.otf')  format('opentype'),
	     url('fonts/Futura-Boo.woff') format('woff'), url('fonts/Futura-Boo.ttf')  format('truetype'), url('fonts/Futura-Boo.svg#Futura-Boo') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* This used to work for parent element of button divs */

/* But it is not enough now, below dont hide play button parent div */

*::-webkit-media-controls-panel {
  display: none!important;
  -webkit-appearance: none;
}

/* Old shadow dom for play button */

*::--webkit-media-controls-play-button {
  display: none!important;
  -webkit-appearance: none;
}

/* New shadow dom for play button */

/* This one works */

*::-webkit-media-controls-start-playback-button {
  display: none!important;
  -webkit-appearance: none;
}

#animation_container {
    background-image: url("images/XX_anfang.jpg");
}

canvas {
    background-image: url("images/_00_licht_aus.jpg");
    background-size: cover;

}

#animation_container {
    position: relative;
    transform: scale(1.0);
    left: 0px;
    top: 0px;
}

video {
    display: none;
    background: #fff;
    pointer-events: all;
}

button {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

#introFilm {
    /* MODIFIED */
    display: none;
}

#dom_overlay_container div {
    pointer-events: none!important;
    z-index: 4000;
    background: transparent;
}

#dom_overlay_container div video {
    background-color: transparent;
}

.infoFenster {
    position: absolute;
    left: 10%;
    width: 460px;
    top: 10%;
    font-family: 'Futura-Boo';
    z-index: 10000;
}

.right .infoFenster {
    left: 40%;
}

/*

#wohnzimmer .infoFenster {
    left: 23%;
    top: 25%;
}

#kueche .infoFenster {
    left: 15%;
    top: 25%;
}

#keller .infoFenster {
    left: 21%;
    top: 25%;
}

#kinderzimmer .infoFenster {
    left: 18%;
    top: 32%;
}

#schlaf .infoFenster {
    left: 17%;
    top: 25%;
}

#dach .infoFenster {
    left: auto;
    right: 18%;
    top: 32%;
}

#bad .infoFenster {
    left: auto;
    right: 19%;
    top: 25%;
}

#musik .infoFenster {
    left: auto;
    right: 18%;
    top: 25%;
}

*/


.infoButton {
    width: 32px;
    height: 32px;
    border-radius: 50% 50%;
    position: absolute;
    background-image: url("images/plus.jpg");
    background-color: #3ab8de;
    border: 2px solid #fff;
    z-index: 10000;
    box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.4);
    background-size: cover;
    -webkit-transition: transform 0.6s, left 0.6s, top 0.6s; /* Safari */
    transition: transform 0.6s, left 0.6s, top 0.6s;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    animation: none;
}


/*
.infoButton:hover {
    animation: pulse 2s infinite;
}
*/

/*
#dach .infoButton {
    top: 20%;
    left: 62%;
}

#bad .infoButton {
    top: 24%;
    left: 52.3%;
}

#bad .infoButtonDusche {
    top: 45%;
    left: 80%;
}

#musik .infoButton {
    top: 34%;
    left: 53%;
}

#kinderzimmer .infoButton {
    top: 20%;
    left: 37%;
}

#schlaf .infoButton {
    top: 19%;
    left: 30%;
}


#wohnzimmer .infoButton {
    top: 26%;
    left: 30%;
}

#keller .infoButton {
    top: 28%;
    left: 34%;
}

#kueche .infoButton {
    top: 24%;
    left: 38.8%;
}

*/

.closeButton {
    width: 32px;
    height: 32px;
    border-radius: 50% 50%;
    position: absolute;
    background-image: url("images/exit.jpg");
    background-color: #3ab8de;
    border: 2px solid #fff;
    z-index: 10000;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.4);
    background-size: cover;
    animation: none;
}

/*
.closeButton:hover {
    animation: pulse 2s infinite;
}
*/

#wohnzimmer .closeButton {
    right: 20.6%;
    top: 40%;
}

#schlaf .closeButton {
    right: 26.6%;
    top: 40%;
}

#kinderzimmer .closeButton {
    right: 29.6%;
    top: 40%;
}

#keller .closeButton {
    right: 22.6%;
    top: 40%;
}

#dach .closeButton {
    left: 27.8%;
    top: 40%;
}

#bad .closeButton {
    left: 24.5%;
    top: 40%;
}

#kueche .closeButton {
    right: 17.2%;
    top: 40%;
}

#musik .closeButton {
    left: 25.8%;
    top: 40%;
}

.innerContaienr {
    background: #fff;
    width: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    box-sizing: border-box;
    padding: 20px 16px 16px 16px;
    display: none;
    -webkit-box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.4);
    -moz-box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.4);
    box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.4);
}

.innerContaienr h2 {
    font-weight: normal;
    font-size: 22px;
    font-family: 'Futura-Boo';
    line-height: 52px;
    margin: 0px;
    float: left;
}

.innerContaienr p {
    font-size: 12px;
    line-height: 1.5em;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    padding-top: 16px;
    clear: left;
}

.innerContaienr button {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    background: #009fe3 url(images/button_icon_sprite.png) 6px -76px no-repeat;
    background: url(images/button_icon_sprite.png) 6px -76px no-repeat,url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiP…dpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==);
    background: url(images/button_icon_sprite.png) 6px -76px no-repeat,-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #1ba9e7),color-stop(100%, #009fe3));
    background: url(images/button_icon_sprite.png) 6px -76px no-repeat,-moz-linear-gradient(#1ba9e7,#009fe3);
    background: url(images/button_icon_sprite.png) 6px -76px no-repeat,-webkit-linear-gradient(#1ba9e7,#009fe3);
    background: url(images/button_icon_sprite.png) 6px -76px no-repeat,linear-gradient(#1ba9e7,#009fe3);
    padding: 8px 15px 8px 25px;
    font-size: 14px;
    line-height: 18px;
    cursor: pointer;
    border: none;
    font-family: Arial, Helvetica, sans-serif;
;
}

.innerContaienr button:hover {
    background-color: #0c85b9;
    background: url(images/button_icon_sprite.png) 6px -76px no-repeat,url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiP…dpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==);
    background: url(images/button_icon_sprite.png) 6px -76px no-repeat,-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #3cb5ea),color-stop(100%, #0c85b9));
    background: url(images/button_icon_sprite.png) 6px -76px no-repeat,-moz-linear-gradient(#3cb5ea,#0c85b9);
    background: url(images/button_icon_sprite.png) 6px -76px no-repeat,-webkit-linear-gradient(#3cb5ea,#0c85b9);
    background: url(images/button_icon_sprite.png) 6px -76px no-repeat,linear-gradient(#3cb5ea,#0c85b9);
}

.innerContaienr img {
    float: left;
    width: 52px;
    margin-right: 12px;
}

#dom_overlay_container {
}

#highlightcontainer {
    position: relative;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    z-index: 1000;
    pointer-events: none;
}

.zimmer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    display: none;
    background-size: cover;
    z-index: 2000;
}

#wohnzimmer {
    background-image: url("images/07_wohnzimmer_out.jpg");
}

#wohnzimmer2 {
    background-image: url("images/07_wohnzimmer_out.jpg");
}

#schlaf {
    background-image: url("images/05_schlaf_out.jpg");
}

#schlaf2 {
    background-image: url("images/05_schlaf_out.jpg");
}

#kinderzimmer {
    background-image: url("images/03_kinderzimmer_out.jpg");
}

#keller {
    background-image: url("images/09_keller_out.jpg");
}

#dach {
    background-image: url("images/04_dach_out.jpg");
}

#bad {
    background-image: url("images/06_bad_out.jpg");
}

#kueche {
    background-image: url("images/08_kueche_out.jpg");
}

#musik {
    background-image: url("images/10_musik_out.jpg");
}

.ui-label {
    background-size: cover;
    z-index: 2000;
    pointer-events: none!important;
    opacity: 0;
    position: relative;
    -webkit-transition: opacity 0.6s, left 0.6s; /* Safari */
    transition: opacity 0.6s, left 0.6s;
    left: 0px;
}

.ui-button {
    background: transparent url(images/fakeElement.png) 0 0 repeat;
    border: none;
    cursor: pointer!important;
    z-index: 1500;
}

.plusButton {
    z-index: 2000;
    pointer-events: none!important;
    border-radius: 50% 50%;
    background-image: url("images/plus.jpg");
    background-color: #3ab8de;
    border: 2px solid #fff;
    box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.4);
    background-size: cover;
    padding: 0px;
}

button:focus {
    outline:0;
}

#wohnzimmerlabel {
    background-image: url("images/label_wohnzimmer.png");
}

#wohnzimmer2label {
    background-image: url("images/label_wohnzimmer2.png");
}

#schlaflabel {
    background-image: url("images/label_schlaf.png");
}

#schlaf2label {
    background-image: url("images/label_schlaf2.png");
}

#kinderzimmerlabel {
    background-image: url("images/label_kinderzimmer.png");
}

#dachlabel {
    background-image: url("images/label_dach.png");
}

#badlabel {
    background-image: url("images/label_bad.png");
}

#kuechelabel {
    background-image: url("images/label_kueche.png");
}

#musiklabel {
    background-image: url("images/label_musik.png");
}

#kellerlabel {
    background-image: url("images/label_keller.png");
}

.highlightLayer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    z-index: 1000;
    pointer-events: none;
    display: none;
}

#highlight_wohnzimmer {
    background-image: url("images/zimmer/wohnzimmer.png");
}

#highlight_wohnzimmer2 {
    background-image: url("images/zimmer/wohnzimmer.png");
}

#highlight_kinderzimmer {
    background-image: url("images/zimmer/kinderzimmer.png");
}

#highlight_dach {
    background-image: url("images/zimmer/dach.png");
}

#highlight_bad {
    background-image: url("images/zimmer/bad.png");
}

#highlight_kueche {
    background-image: url("images/zimmer/kueche.png");
}

#highlight_keller {
    background-image: url("images/zimmer/keller.png");
}

#highlight_musik {
    background-image: url("images/zimmer/musik.png");
}

#highlight_schlaf {
    background-image: url("images/zimmer/schlaf.png");
}

#highlight_schlaf2 {
    background-image: url("images/zimmer/schlaf.png");
}

#startButton {
    background-image: url("images/play-button.png");
    background-size: cover;
    z-index: 10000;
}

.pulse {
    box-shadow: 0 0 0 rgba(27,169,231, 0.9);
    animation: pulse 2s infinite;
}

.pulse:hover {

}

.pulseMin  {
    box-shadow: 0 0 0 rgba(27,169,231, 0.9);
    animation: pulseMin 2s infinite;
}

#_preload_div_ {
    background: transparent;
    z-index: 10000;
}

#_preload_div_ img {
    width: 40px;
    height: 40px;
    background-color: transparent;
}

@-webkit-keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(27,169,231, 0.8);
  }
  100% {
      -webkit-box-shadow: 0 0 0 40px rgba(27,169,231, 0);
  }
}

@keyframes pulse {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(27,169,231, 0.8);
    box-shadow: 0 0 0 0 rgba(27,169,231, 0.8);
  }
  100% {
      -moz-box-shadow: 0 0 0 40px rgba(27,169,231, 0);
      box-shadow: 0 0 0 40px rgba(27,169,231, 0);
  }
}

@-webkit-keyframes pulseMin {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(27,169,231, 0.6);
  }
  100% {
      -webkit-box-shadow: 0 0 0 20px rgba(27,169,231, 0);
  }
}

@keyframes pulseMin {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(27,169,231, 0.6);
    box-shadow: 0 0 0 0 rgba(27,169,231, 0.6);
  }
  100% {
      -moz-box-shadow: 0 0 0 20px rgba(27,169,231, 0);
      box-shadow: 0 0 0 20px rgba(27,169,231, 0);
  }
}

@media (max-width: 1024px) {
    .infoFenster {
        width: 50%;
    }

    .infoFenster {

    }

    .infoFenster p, .infoFenster button {

    }

    .innerContaienr h2 {
        line-height: normal;
        width: calc(100% - 64px);
    }

}

@media (max-width: 414px) {
    .infoFenster button {
        padding: 3px 5px 3px 5px;
        background: #009fe3;
        background:
        background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #1ba9e7),color-stop(100%, #009fe3));
        background: -moz-linear-gradient(#1ba9e7,#009fe3);
        background: -webkit-linear-gradient(#1ba9e7,#009fe3);
        background: linear-gradient(#1ba9e7,#009fe3);
    }

    .infoFenster p, .infoFenster button {
        font-size: 9px;
    }

    .infoFenster h2 {
        font-size: 11px;
    }

    .infoFenster img {
        width: 26px;
    }

}

@media (max-width: 375px) {

    .infoFenster p, .infoFenster button {
        font-size: 6px;
    }

    .infoFenster h2 {
        font-size: 10px;
    }

    .infoFenster img {
        width: 26px;
    }

}

@media (max-width: 320px) {

    .infoFenster p, .infoFenster button {
        font-size: 6px;
    }

    .infoFenster h2 {
        font-size: 8px;
    }

    .infoFenster img {
        width: 26px;
    }

}