/* styles */
/* called by your view template */

* {
  box-sizing: border-box;
}

*:focus {
  /*outline: none;*/
}

body {
  font-family: 'Noto Sans', sans-serif;
  margin: 0;
  padding: 0;
}

/* Elements that simulate LH-Website */

#main {
  min-height: 350px;
  margin: auto;
  position: relative;
  display: block;
  
}

/* Header */
#header {
  height: 90px;
  max-height: 90px;
  background: rgba(250, 250, 250);
  position: relative;
  padding: 30px;
}


#header-line {
  height: 5px;
  max-height: 5px;
  background: #0073af;
  position: relative;
}

/* Elements under City - Content area */
#additional-info{
  
  height: 90px;
  max-height: 90px;
  background: rgba(250, 250, 250);
  position: relative;
  padding: 30px;
}

#footer{
  min-height: 820px;
  padding-top: 50px;
  
  background-color: #0073af;
  margin-top: 1px;
}

/* Elements above City - Content area */
#above-content {
  position: relative;
  top: 45px;
  padding-bottom: 45px;
  padding-left:20px;
  max-width:800px;
  margin: 0 auto;

}


h2 {
}

.bold {
  font-weight: bold;
}

p {
}

.interactive-city-default-p{
  color: #474747;
  font-size: 1.05em;
  line-height: 1.5em;
}

.interactive-city-default-h2{
  font-weight: bold;
  color:  #00965F;
  font-size:1.68em;
}


button {
}

li {
  margin-bottom: 5px;
}

footer {
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid lightgrey;
}

footer > a {
  color: #BBBBBB;
}

#application-container {
  width:100%;
  /*max-width: 1161px;*/
  margin: 0 auto;
}


#application-content {
  position: relative;
  overflow: hidden;
}

#content-article {
  height: 600px;
  width: 100%;
}

#container{
  position: relative;
  float: left;
  width: 100%;
  height: 100%; 
}

#city-container {
  position: absolute;
  left:0px;
  top:0px;
  width: 100%;
  height: 100%;
 /* float: left;*/
  z-index: 1;
  pointer-events:auto;
  background-image: linear-gradient( rgba(255,255,255,1), rgba(190,221,237,0.5));;
}

#city-container:focus {
  outline: none;
}

#annotation-container {
 /* position: relative; */
  position: absolute;
  left:0px;
  top:0px;
  width: 100%;
  height: 100%;
  pointer-events:none; 
  /*float: left;*/
  z-index: 5;
  overflow:hidden;
}

 #ui-container{
  position: absolute;
  right: 0px;
  width: 20%;
  min-width: 450px;
  height: 100%;
  pointer-events:none; 
  z-index: 15;
 }

/* Info Container */

#info-container{
  /*position: absolute;*/
  width: 100%;
  display: flex;
  flex-direction: column;
  background-image: linear-gradient( rgba(255,255,255,1), rgba(255,255,255,1),rgba(255,255,255,1),rgba(255,255,255,1), rgba(255,255,255,0.0));
  display:none;
  pointer-events:auto; 
  padding:20px 30px;
  /*overflow-y: auto;*/
  padding-bottom: 50px;
  float: left;
  transition: all 0.5s ease-in-out;
}

.info-content{
  /*height:85%;*/
  display: flex;
  flex-direction: column;
  transition: all 1.5s ease-in-out;
  pointer-events: auto;
}

.headline{
  margin-bottom:10px;
}

.link{
  color:#00965F;
  margin-left: 12px;
  float: left;
  display: flex;
}

.link a{
  font-size: 1.05em;
  color:#00965F;
  text-decoration: none;
  padding: 0;
  margin:0;
  overflow: hidden;
}

.link button{
  color:#00965F;
  border:none;
  background-color: none;
  cursor: pointer;
  pointer-events: auto;
}

.link-image{
  position: relative;
  vertical-align: baseline;
  opacity: 1;
  line-height: 1.2;
  padding:0em 10px 0em 0;
  display: flex;

  overflow:hidden;
  transition:all 300ms ease-in;
}
.link-image img{
height: 18px;
width: 18px;
}
.description{
  vertical-align: text-top;
  max-height: 400px;
  overflow-y: auto;
  opacity: 1;
  margin-bottom:10px;
  transition: all 0.5s ease-in-out;
}

.description p {
  margin-right: 8px;
}

.text{
  max-height: 400px;
  overflow-y: auto;
}

.text p {
  margin-right: 8px;
}

.scrollbar::-webkit-scrollbar-track
{
	background-color: #EEEEEE;
}

.scrollbar::-webkit-scrollbar
{
	width: 5px;
}

.scrollbar::-webkit-scrollbar-thumb
{
	background-color: #CECECE;
}

.animated.animated.fadeInUp {
  animation-duration: 3s;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
}

.info-select{
  margin: 10px 0;
  display: none;
  background:  #00965F;
}

.interactive-city-default-button{
  font-size: 1.05em;
  border:none;
  background-color: #00965F;
  padding: 10px 20px;
  cursor: pointer;
  color:white;
  pointer-events: auto;
}


.interactive-city-default-button:focus{
  outline:none;
}

.info-select button{
  padding: 10px 20px 10px 12px;
}

/* Annotation and Model Container */
#back-button{
  position: absolute;
  display: none;
  right: 100%;
  margin-top: 38px;
  background-color:#54BA94;
}

#back-button:hover{
  color:white;
}

.interactive-city-back-button{
  font-size: 1.05em;
  border:none;
  background-color: #54BA94;
  padding: 10px 15px 10px 12px;
  float: left;
 
  cursor: pointer;
  color:white;
  pointer-events: auto;
}

.icon-button{
  //display: flex;
  float: left;
  pointer-events:auto; 
  padding: 1px 1px 1px 12px;
  white-space: nowrap;
}

#back-button button {
  background-color:#54BA94;

}

.icon-text{
  cursor: pointer;
  z-index: 10;
  padding: 1em 1em;
  white-space: nowrap;
  font-size: 12px;
  -webkit-transition:all 500ms ease-out;
  -moz-transition:all 500ms ease-out;
  -o-transition:all 500ms ease-out;
   transition:all 300ms ease-out;
}
.icon-image{
  position: relative;
  width: 30px;
  background-color:#54BA94;
  vertical-align: baseline;
  cursor: pointer;
  opacity: 1;
  line-height: 1.2;
  padding:0em 0em 0em 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow:hidden;
  transition:all 300ms ease-in;
}

.icon-arrow-image{
  position: relative;
  vertical-align: baseline;
  cursor: pointer;
  opacity: 1;
  line-height: 1.2;
  padding:0em 0em 0em 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow:hidden;
  transition:all 300ms ease-in;
}

.icon-image img{
height: 18px;
width: 18px;
}

.icon-arrow-image img{
  height: 18px;
  width: 18px;
  }

.annotation {
  transform:scale(1);
  opacity:0;
  position: absolute;
  display: inline-block;
  top: -1000px;
  left: 0;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  margin-top: -7px;
  z-index: 1;
  background: #00965F;
  border-radius: 100px;
  transition: opacity .5s, transform 1s;
  pointer-events:auto; 
  box-shadow: 0px 0px 5px white;
}

.annotation:focus{
  outline:none;
}

.annotation::before{
  content: '';
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  width: 180%;
  height: 180%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  border:3px solid  #00965F;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 0px 5px white;
}




.annotation-content{
  pointer-events: none;
  opacity: 0;
  position:fixed;
  display: flex;
  float: left;
  justify-content: flex-start;
  align-items: left;
  overflow:hidden;
  color: #fff;
  background:  #00965F;
  transform: translate(-50%,-65px) translateX(-7.5px);
  margin-left: 15px;
  margin-top: 15px;
  min-width: 6em;
  z-index: 92!important;
  -webkit-transition:all 500ms ease-out;
  -moz-transition:all 500ms ease-out;
  -o-transition:all 500ms ease-out;
   transition:all 300ms ease-out;
}
.annotation-content:focus{
  outline:none;
}

.annotation-text{
  cursor: pointer;
  transform: scale(1);
  margin:auto;
  z-index: 10;
  padding: 1em 0.6em;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.2;
  -webkit-transition:all 500ms ease-out;
  -moz-transition:all 500ms ease-out;
  -o-transition:all 500ms ease-out;
   transition:all 300ms ease-out;
}

.annotation-image{
  position: relative;
  opacity: 1;
  line-height: 1.2;
  padding:0em 0em 0em 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow:hidden;
  width:0px;
  transition:all 300ms ease-in;
}
.annotation-image img{
height: 18px;
width: 18px;
}



.logo{
  position: fixed;
  right: 50px;
  top: 30px;
  width:10%;
  min-width: 100px;
  max-width: 150px;
  height:auto;
  pointer-events: none;
}

.logo img {
  max-width: 100%;
  max-height: 100%;
}

#from-the-cms{
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

/* PROGRESS*/
#loading-container{
  display: flex;
  justify-content: center;
}

#loading-bar {
  position: absolute;
  top: 30px;
  padding: 10px 20px;
  z-index: 20;
  background-image: linear-gradient( rgba(255,255,255,1), rgba(255,255,255,0.0));
 
}

#loading-bar button{
  font-size:10px;
  padding: 10px 10px;
  margin:3px;
}

#progress{
  color: #00965F;
  margin-top:20px;
  padding-left:65px;
  padding-right:20px;
}

/* LOADING ANIMATION */
#loader{
  position: relative;
  width: 60px;
  height: 60px;
  float: left;
}

.loader-center {
  position: absolute;
  left:22px;
  top:22px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #00965F;
} 
.animated-loader {
  position: relative;
  width: 60px;
  height: 60px;
  transform: rotate(-90deg);
  stroke-width: 5;
  fill: none;
} 

.animated-loader .external-circle {
    stroke: #00965F;
    stroke-dashoffset: 0;
    transform-origin: center;
  }
  
  .animated-loader .external-circle {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    animation: external 3s linear infinite, rotate 2s linear infinite;;
    opacity: 1;
  }

/* ANIMATIONS*/

  @keyframes rotate {
    100% {
      transform: rotate(360deg);
    }
  }

  @keyframes external {

    0% {
      stroke-dasharray: 1, 200;
      stroke-dashoffset: 0;
    }
    50% {
      stroke-dasharray: 89, 200;
      stroke-dashoffset: -35px;
    }
    100% {
      stroke-dasharray: 89, 200;
      stroke-dashoffset: -124px;
    }
  }




@media only screen and (orientation:portrait) {

  p {
    *font-size:0.9em;
  }
  .interactive-city-default-p{
   
    font-size:0.9em;
    line-height: 1.5em;
  }
  
  
  h2 {
   /* font-size:1.3em;*/
  }

  .link a{
    font-size: 0.9em;
  }

  #content-article {
    height: auto;
  }

  #container{

    width:100vw;
    min-height: 40vh;
    height: auto;
    display: flex;
    flex-direction: column;
    
  }

  #city-container{
    position: static;
    height: 40vh;
    top:0;
    left:0;
   }
   #annotation-container{
    
    height: 40vh;
    top:0;
    left:0;
   }

  #ui-container{
    
    position: static;
    top:40vh;
    left:0;
    height: auto;
    width: auto;
    min-width: 0;
    
    display: flex;
    flex-direction: column;
    pointer-events:none; 
    z-index: 15;
   }

   #info-container{
    
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color:  #ffffff;
    padding:0;
    min-width: 200px;
    
  }

  #from-the-cms{
    padding:10px 20px 20px 25px;
  }

  .interactive-city-default-button{
    font-size: 0.9em;
  }

   #back-button{
    position: relative;
    background-color:#54BA94;
    top: 0;
    left:0;
    justify-content: center;
    width:100%;
    margin:auto;
    pointer-events:auto; 
    white-space: nowrap;
    z-index: 56;
  }


  .annotation {
    width: 10px;
    height: 10px;
    margin-left: -5px;
    margin-top: -5px;
    border-radius: 50px;
  }

  .annotation-content{
    transform: translate(-50%,-45px) translateX(-7.5px);
  }

  
  .annotation-text{
    cursor: pointer;
    transform: scale(1);
    margin:auto;
    z-index: 10;
    padding: 1em 1em;
    white-space: nowrap;
    font-size: 9px;
    line-height: 1.2;
    -webkit-transition:opacity 500ms ease-out;
    -moz-transition:opacity 500ms ease-out;
    -o-transition:opacity 500ms ease-out;
    transition:opacity 500ms ease-out;
    
  }

  .description{
    max-height: 30vh;
  }

  #footer {
    min-height: 650px;
    background-color: #0073af;
    margin-top: 1px;
    
  }
}

@media (max-width: 1366px ) and (orientation:landscape){
  #ui-container{
    max-width: 320px;
    min-width: 300px;
   }

  #info-container{
    
    min-width: 250px;
  }
}

@media (hover) {
  .annotation:hover  .annotation-content{
    transform:  translate(-50%,-55px) translateX(-7.5px);
  }

  .annotation:hover::before {
    width: 160%;
    height: 160%;
  }

  .annotation:hover  .annotation-content{
    opacity: 1!important;
    transform:  translate(-50%,-70px) translateX(-7.5px);
    z-index: 101!important;
  }
  
  .annotation:hover  {
    opacity: 1!important;
    z-index: 101!important;
  }
  
}