/* 2020-08-02 */

/*@-ms-viewport { width:device-width; }*/
/*@media only screen and (min-device-width:800px) { html { overflow:hidden; } }*/
html { height: 100%; font-size: calc(0.8em + 0.5vmin); overscroll-behavior: none; }

body {
  height: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  overscroll-behavior: none;
  font-family: FiraSans, sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #999;
  background-color: #222;
}

div {
  font-family: FiraSans, sans-serif;
  font-weight: 300;
}

a, a:visited, a:hover, a:active {
  color: #00734A;
  text-decoration: none;
  outline: none;
  cursor: pointer;
}

a, a:visited {
  color: #666;
}

a:hover {
  color: #999;
}

a img {
  border: 0 none;
}

img {
  -moz-user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  line-height: 1.05em;
  margin-bottom: 0;
  margin-top: 0;
}

h1 {
  font-size: 100%;
}

h2 {
  font-size: 95%;
}

h3 {
  font-size: 80%;
}

.overlay {
  content: "";
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(00,69,45,.85);
  z-index: 3500;
}

#pano {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-color: transparent;
}

.links {
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  border: 0px solid #fff;
  overflow: hidden;
  background: transparent;
}

.links div {
  display: block;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border: 0px solid #fff;
  overflow: hidden;
  background: transparent;
}

#wraph {
  width: 80%;
  max-width: 1200px;
  height: 96vh;
  margin: 0 auto;
  line-height: 96vh;
  text-align: center;
  vertical-align: middle;
}

#help {
  display: inline-block;
  max-width: 90vmin;
  text-align: center;
  vertical-align: middle;
  line-height: 0;
  border: 0 solid transparent;
}

.col-2 {
  display: inline-block;
  vertical-align: middle;
  width: 48.2%;
}

@media (max-width:480px) {
  #help {
    max-width: 70vmin;
  }

  .col-2 {
    width: 80%;
  }
}


/* buttons */
.btn, .button, .tiles .button {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background-color: rgba(0,115,74,.95);
  border: none;
  text-transform: uppercase;
  font-size: calc(0.65rem + 0.5vw);
  font-weight: 300;
  color: #fff;
}

.button {
  position: relative;
  width: 100%;
  max-width: 360px;
  line-height: 1;
  border-radius: 0;
  text-align: center;
  padding: .85em 2.5em;
  margin: .4em auto;
  opacity: 0;
}

.btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.btn:hover,  .button:hover,  .tile:hover {
  background-color: rgb(243,111,33);
  color: #fff;
  border: none;
  border-radius: 0;
}

.btn:active, .button:active, .tile:active {
  background-color: rgb(237,28,36);
  color: #fff;
  border: none;
}

.anim_pulse {
  -webkit-animation: pulse 2.2s ease infinite;
  -moz-animation: pulse 2.2s ease infinite;
  animation: pulse 2.2s ease infinite;
}

.anim_pulse:hover {
  -webkit-animation: pulse_h 2.2s ease infinite;
  -moz-animation: pulse_h 2.2s ease infinite;
}

@keyframes pulse {
  0%   { background-color: rgba(  0,115,74,1); }

  50%  { background-color: rgba(243,111,33,1); }

  100% { background-color: rgba(  0,115,74,1); }
}

@keyframes pulse_h {
  0%   { background-color: rgba( 237,28,36,1); }

  50%  { background-color: rgba(243,111,33,1); }

  100% { background-color: rgba( 237,28,36,1); }
}

.transition {
  transition: all 0.45s ease-out 0s;
}

#outintro {
  position: relative;
  z-index: 100;
  flex-direction: row;
  width: 100%;
  height: 100%;
  background-color: #EEE;
display: flex;
    flex-wrap: wrap;
}

#wintro {
  flex-direction: column;
  align-content: center;
  justify-content: center;
  width: 80%;
  max-width: 1400px;
  opacity: 0;
  transition-property: opacity;
}

#wintro div, #wintro a {
  opacity: 1;
}

#logo {
  background-image: url( "../i/logo--c.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  height: 2.5rem;
  margin-bottom: 1rem;
  cursor: pointer;
}

#tour_title, #tour_end {
 /*flex:1 1 100%; justify-content:center;*/
  margin: 0 auto .5rem;
  color: #00734A;
  font-weight: 300;
  text-align: center;
  line-height: 1em;
 /*font-size:36px;*/
  text-transform: uppercase;
  font-size: calc(1.0rem + 2.5vmin);
  opacity: 0;
}

#tour_end {
  max-width: 360px;
  font-size: 18px;
  font-size: calc(1.0rem + 0.4vmin);
  display: none;
}

#btn_deskop, #btn_deskop_v, #btn_touch_device, #btn_vr_device {
  opacity: 0;
}

#buttons {
  position: relative;
  height: auto;
  width: 100%;
  max-width: 360px;
  border-radius: 3px;
  overflow: hidden;
}

#buttons div {
  position: relative;
  width: 50%;
  height: 54px;
  flex: 1 0 50%;
  margin: 0 1px;
}

#btn_pass {
  margin-bottom: -15px;
  z-index: 2;
}


.visited {
  position: relative;
}

.visited::after {
  content: '';
  display: block;
  position: absolute;
  right: .15em;
  top: .15em;
  width: 2.25em;
  height: 2.25em;
  background-repeat: no-repeat;
  background-position: right;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 6000 5000'%3E%3Cpolyline fill='none' stroke='%23FFF' stroke-width='500' stroke-miterlimit='22.8' points='1000,2500 2000,3500 4000,1500'/%3E%3C/svg%3E");
}

#till {
    flex-flow: row wrap;
    display: flex;
}

.tiles .button {
  flex:1 0 360px;
  overflow: hidden;
  position: relative;
  max-width: inherit;
  padding-bottom: 26%;
  margin: .3%;
  border: 2px solid rgb(0,115,74);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.tiles .button span {
  display: inline-block;
  position: absolute;
  top: auto;
  right: 0;
  bottom: .5rem;
  left: auto;
  min-width: 65%;
  text-align: left;
  line-height: 1.1;
  padding: .35rem .8rem .25rem;
  background-color: rgba(0,115,74,.98);
}

.tiles .button:hover {
  background-color: rgb(243,111,33);
  color: #fff;
  border: 2px solid rgb(243,111,33);
}

.tiles .button:active {
  background-color: rgb(237,28,36);
  color: #fff;
  border: 2px solid rgb(237,28,36);
}

.tiles .button:hover span {
  background-color: rgba(243,111,33,1);
  -webkit-transition: all .45s ease-out 0s;
  -moz-transition: all .45s ease-out 0s;
  -o-transition: all .45s ease-out 0s;
  transition: all .45s ease-out 0s;
}

.tilesbg {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.tiles .button:hover .tilesbg {
  top: -0.5rem;
  bottom: -0.25rem;

}

 #gr_01 .tilesbg {
  background-image: url( "../../tour/content/tiles/gr__01.jpg");
}

 #gr_02 .tilesbg {
  background-image: url( "../../tour/content/tiles/gr__02.jpg");
}



[class^="ico-"], [class*=" ico-"], 
.ico-desk, .ico-desk-v, .ico-touch, .ico-vr,
#btn_desk, #btn_desk_v, #btn_touch, #btn_vr {
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: calc(2.5rem + 2.0vmin);
}

#start_touch, #start_mobile, #start_vr, #start_desk {
  display: none;
  opacity: 0;
}




@media (min-width:2048px) {
 
  #wintro.tiles {
    max-width: 1600px;
  }

  .tiles .button {
    margin: .3%;
  }

  .tiles .button span {
    font-size: 110%;
  }

  #buttons, #tour_end, .button {
    max-width: 560px;
    border-radius: 0;
  }
}


@media screen and (max-width:768px) {
  .tiles .button {
    flex:1 0 280px;
    padding-bottom: 26%;
  }
}


@media (orientation:portrait) and (max-width:1024px) {
  #wintro   { width: 75%; }
  .tiles .button { flex:1 0 100%; padding-bottom: 48%; }
}

@media (orientation:portrait) and (max-width:480px) {
  #wintro   { width:90%; }
  .tiles .button { flex:1 0 100%; padding-bottom: 48%; }
  .tiles .button span { min-width: 85%; }
}


@media (orientation:landscape) and (max-height:1024px) {
  #wintro   { width: 80%; }
  .tiles .button { flex:1 0 48%; padding-bottom: 26%; }
  .btn, .button, .tiles .button { font-size: calc(0.6rem + 0.5vw);
}


@media (orientation:landscape) and (max-height:640px) and (max-width:800px) {
  #wintro   { width: 90%; }
  .tiles .button { flex:1 0 48%; padding-bottom: 24%; }
  .btn, .button, .tiles .button { font-size: calc(0.5rem + 0.5vw); }
}


@media (orientation:landscape) and (max-height:480px) {
  #wintro   { width: 78%; }
  .tiles .button { flex:1 0 48%; padding-bottom: 24%; }
  .btn, .button, .tiles .button { font-size: calc(0.6rem + 0.5vw); }
}

@media (orientation:landscape) and (max-height:480px) and (max-width:720px) {
  #wintro   { width: 88%; }
  .tiles .button { flex:1 0 48%; padding-bottom: 24%; }
  .btn, .button, .tiles .button { font-size: calc(0.5rem + 0.4vw); }
}

@media (orientation:landscape) and (max-height:360px) and (max-width:480px) {
  #wintro   { width: 90%; }
  .tiles .button { flex:1 0 48%; padding-bottom: 24%; }
  .btn, .button, .tiles .button { font-size: calc(0.5rem + 0.4vw); }
}
