html {
  width: 100%;
  height: 100%;
  overscroll-behavior: none;
}
  
body {
  width: auto;
  height: 100%;
  margin: 0px !important;
  background-color: #FFFFFF !important;
  padding: 0px;
  touch-action: manipulation;
  overflow-y: hidden;
  overflow-x: hidden;
  -webkit-touch-callout: none !important;
  overscroll-behavior: none;
}


* {
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  user-select: none !important;
  -webkit-user-select: none !important;
}

*:focus {
  outline: none;
}

.playground {
  display: flex;
  flex-flow: column;
  height:100%;
}

.logobar {
  flex: 0 1 auto;
  padding: 10px;
  height: 60px;
#  background-color: #222222;
  display: flex;
}
.logobar img { 
  margin: auto;
  max-width: 100%;
  max-height: 100%;
}

.buttonbar {
  flex: 0 1 auto;
  padding: 4px;
  height: 50px;
  background-color: #222222;
}

.buttonbar button {
  background-color: transparent;
  height:100%;
  width:25%;
  border:none;
  cursor: pointer;
  float: left; 
}

.buttonbar button:not(:first-of-type):not(:last-of-type) {
	width: 50%;
}

.buttonbar.two-visible button:not(:first-of-type):not(:last-of-type) {
	width: 25% !important;
}

.buttonbar.three-visible button:not(:first-of-type):not(:last-of-type) {
	width: 16.6% !important;
}

.buttonbar button:active {
  opacity: 0.7;
}

.buttonbar button img {
  height:100%;
}

.buttonbar:after {
  content: "";
  clear: both;
  display: table;
}

.buttonbar .invisible {
	display: none;
}


.buttonbar button > div {
  width:auto;
  height:30%;
  margin-top: -20px;
}

.buttonbar button > div > object {
  pointer-events: none;
  margin-left: 14px;
  width:100%;
  height:100%;
}


.buttonbar #collect.active {
  background:url('data/buttons/collect_file.png') transparent no-repeat center / contain !important;
  background-size:contain;
}

.buttonbar #collect {
  background:url('data/buttons/collect_file_greydark.png') transparent no-repeat center / contain;
  background-size:contain;
}

.buttonbar #exit {
  background:url('data/buttons/close.png') transparent no-repeat center / contain;
  background-size:contain;
}

#container {
  flex: 0 1 auto;
  height:40px;
/*    background-color: #666666;*/
}

.interactionarea {
  flex: 1 1 auto;
/*    background-color: #666666;*/
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.interactionarea div {
  width:80vw;
  margin: auto;
}

.interactionarea div img {
  /*margin-top:5vh;*/
  max-width:100%;
}

.playground {
  background: url(data/bg.jpg) no-repeat center center fixed;
  background-size: cover;
}

.footer {
  position: fixed;
  height: 40px;
  width:160px;
  bottom: 0px;
  left: 0px;
  margin-bottom: 0px;
}

.footerdiv {
  margin: 0px 15px;
  height: 100%;
/*  background: url(data/encodata_logo.svg) no-repeat center;*/
  background-size:contain;
}
.consent {
  display: none;
  position:absolute;
  left:0px;
  top:0px;
  width:100%;
  height:100%;
  background-color: rgba(0,0,0,0.4);
}

.consent > div:first-of-type {
  display: flex;
  flex-flow: column;
  font-family: sans-serif;
  position:absolute;
  top: auto;
  left: 10px;
  right:10px;
  bottom:0px;
  width: auto;
  height: auto;
  background-color: #FFFFFF;
}
.consent > div div {
  margin: 20px;
}
.consent input:not(:first-of-type) {
  margin-left: 10px;
}

.consent button {
  background-color: #aebd22;
  border-color: #aebd22;
  border-radius: 1rem;
  border-width:0px;
  min-width: 130px;
  margin-left: auto;
  color: #ffffff;
  display: inherit;
  line-height: 30px;
}

.consent button.right {
  float: right;
}

.consent button.left {
  float: left;
}

.consent button:active {
  opacity: 0.7;
}

.actionbutton {
  background-color: #62b00e !important;
  border-color: #62b00e;
  border-radius: 1rem;
  border-width:0px;
  min-width: 130px;
  text-align: center;
  margin-left: auto;
  margin-right:auto;
  color: #ffffff;
  line-height: 30px;
  padding: 2px 15px;
}

.encopopup {
  position:absolute;
  display: none;
  left:0px;
  top:0px;
  width:100%;
  height:100%;
  background-color: rgba(0,0,0,0.4);
}

.encopopup input {
  border-radius: 0.5rem;
  border-width:1px;
  padding: 0px 20px;
  line-height: 28px;
  -webkit-user-select: text !important;
  user-select: text !important;
}

.orangeborder {
  border: 5px solid red;
}

.encopopup > div:first-of-type {  
  display: flex;
  flex-flow: column;
  font-family: sans-serif;
  position:absolute;
  left: 10px;
  top:50%;
  transform: translateY(-50%);
  right:10px;
  width: auto;
  height: auto;
  margin: 5px;
  background-color: #FFFFFF;
}

.encopopup button {
  background-color: transparent;
  border:none;
  cursor: pointer;
}

.encopopup button:active {
  opacity: 0.7;
}

.encopopup .invisible {
  display: none;
}

.encopopup .close {
  position: absolute;
  top:10px;
  right:10px;
}

.encopopup > div:first-of-type > div {
  display: flex;
  flex-flow: column;
  margin: 30px 20px 30px;
}

.popup {
  display: none;
/*  display: flex;*/
  flex-flow: column;
  font-family: sans-serif;
  position:absolute;
  left: 10px;
  top:60px;
  right:10px;
  bottom:35px;
  width: auto;
  height: auto;
  margin: 5px;
  background-color: #FFFFFF;
}

.popup button {
  background-color: transparent;
  border:none;
  cursor: pointer;
}

.popup button:active {
  opacity: 0.7;
}

.popup .close {
  position: absolute;
  top:10px;
  right:10px;
}

.popup > div:first-of-type {
  overflow:auto;
  height:100%;
  margin-top: 15px;
  padding: 15px 20px 10px;
}

.popup > div {
  display: flex;
  flex-flow: column;
  margin: 0px 10px;
}

.green {
  color: #a1c050;
}

.orange {
  color: #ea5d0c;
}

.popup .spacer25px {
  margin-top: 25px;
}

.popup > div hr {
  margin: 10px 0px;
  height: 3px;
  border: 1px solid #fbd6c4;
}

.popup .infotext {
  margin-top:0px;
  height:100%;
}

.popup .infobild {
  margin-top:0px;
  float:left;
  height:100%;
  padding-right: 10px;
  width: 50px;
}

.popup .imprint {
  bottom:10px;
  margin-bottom:10px;
  text-align: center;
}
.animated_infinite {
  animation-duration: 2.5s;
  animation-fill-mode: both;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-name: bounce;
} 

.animated_2times {
  animation-duration: 2.5s;
  animation-fill-mode: both;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 2;
  animation-name: bounce;
} 

@keyframes bounce { 
  0%, 50%, 100% { transform: scale(1.0); }
  25%,75% { transform: scale(1.5); }
} 
