* {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: -moz-none;
    -o-user-select: none;
    user-select: none;
}

input {
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -o-user-select: text;
    user-select: text;
}

body {
  margin: 0px;
  padding: 0px;
  background: #000;
}


.animated.delay-500ms
{
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}
.animated.delay-1000ms
{
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}
.animated.delay-1500ms
{
    -webkit-animation-delay: 1.5s;
    animation-delay: 1.5s;
}
.animated.delay-2000ms
{
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
}

.lds-facebook {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-facebook div {
  display: inline-block;
  position: absolute;
  left: 8px;
  width: 16px;
  background: #fff;
  animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
.lds-facebook div:nth-child(1) {
  left: 8px;
  animation-delay: -0.24s;
}
.lds-facebook div:nth-child(2) {
  left: 32px;
  animation-delay: -0.12s;
}
.lds-facebook div:nth-child(3) {
  left: 56px;
  animation-delay: 0;
}
@keyframes lds-facebook {
  0% {
    top: 8px;
    height: 64px;
  }
  50%, 100% {
    top: 24px;
    height: 32px;
  }
}


#vid_container {
  position: fixed;
  top: 0;
  left: 0;
}

#video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
#video.userview
{
    transform: rotateY(180deg);
 -webkit-transform:rotateY(180deg); /* Safari and Chrome */
 -moz-transform:rotateY(180deg); /* Firefox */
}

#gui_controls {
  position: fixed;
  /*background-color: #000;*/
  z-index: 20;
}

#video_overlay {
  position: fixed;
  width: 100%;
  height: 10%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  opacity: .7;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

#video_overlay .spacer
{
    background-color: #000;
}
#video_overlay .spacer,
#video_overlay .mask
{
    flex: 1;
}

#video_overlay .mask
{
    width:100vw;
}

button {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;
  -webkit-focus-ring-color: rgba(255, 255, 255, 0) !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  position: absolute;
  color: white;
  display: block;
  opacity: 1;
  background: transparent;
  border: solid 2px #fff;
  padding: 0;
  text-shadow: 0px 0px 4px black;
  background-position: center center;
  background-repeat: no-repeat;
  pointer-events: auto;
  z-index: 2;
}

#takePhotoButton {
  left: calc(50% - 40px);
  top: calc(50% - 40px);
  width: 80px;
  height: 80px;
  background-image: url('img/camera.svg');
  background-size: 60px 60px;
  background-color:#FFF;
}

#takePhotoButton:active {
  background-color: #fff;
}

#switchCameraButton {
  display: none;
  width: 50px;
  height: 50px;
  background-image: url('img/camera_switch.svg');
  border:none;
  outline:none;
}


#container
{
    height:auto;
}

.captured_image
{
    max-width: 90vw;
    max-height: 90vh;
    margin-top:2em;
}

.carousel-item
{
        text-align: center;
}
.fpmg_logo
{
    width:50%;
    height:auto;
    max-width: 250px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.slide-dsgvo .fpmg_logo,
{
    width:200px;
    height:auto;
}

.slide-liveview .fpmg_logo,
.slide-review .fpmg_logo

{
    position:fixed;
    z-index:2;
    width:100px;
    height:auto;
}

.slide-review .fpmg_logo
{
    position: relative;
    display:block;
    margin:auto;
}

.slide-thankyou .scrolltext a,
.slide-thankyou .scrolltext a:link,
.slide-thankyou .scrolltext a:active,
.slide-thankyou .scrolltext a:visited,
.slide-thankyou .scrolltext a:hover
{
    font-weight: bold;
    text-decoration: underline;
    color:#2f5e29;
}

.carousel-item.slide-liveview
{
        text-align: left;
}
.btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-primary.dropdown-toggle:focus {
    box-shadow: none;
    border-color:#2f5e29;
}

.btn-primary.focus, .btn-primary:focus {
    color: #fff;
    background-color:#FFF;
    border-color: #FFF;
    box-shadow: none;
}

.btn-fpmg
{
    position:relative;
    background-color: #FFF;
    color:#000;
    text-shadow: none;
    border:none;
    border-radius: 0;
    box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  margin:1em 0 0 0 !important;
  border:solid 5px #FFF;
  font-family: bebas-neue, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2em;
  max-width: 350px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding:0;

}
.btn-fpmg:hover
{
    background-color:#000;
    color:#FFF;
    border:solid 5px #FFF;
}
.btn-fpmg:active
{
    background-color:#2f5e29 !important;
    border-color:#2f5e29 !imrpotant;
}

.btn-back
{
    max-width: 350px;
    color:#FFF;
    margin: 1em auto 0 auto !important;
}

.description,
.description_upload
{
    font-family: bebas-neue, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.5em;
    line-height: 1.2em;
    margin-top:0.5em;
    color:#FFF;
    text-align: center;
}

.scrolltext
{
    color:#FFF;
    max-width: 600px;
    margin:auto;
}
.slide-dsgvo .scrolltext
{
    text-align: left;
}
#fpmgForm
{
    max-width: 600px;
    margin:auto;
}
.slide-form .description_upload
{
    display: none;
}
.form-text
{
    text-align: left;

}
.form-control
{
    border: 0;
    border-radius: 0;
    padding:0.5em;
}


.form-control.required,
.g-recaptcha .required {
  border: solid 2px #ff0000;
}

.lang {
    display: none;
}

body.lang-de .de,body.lang-en .en {
    display: block;
}

body.lang-de .btn-fpmg.de,body.lang-en .btn-fpmg.en {
    display: inline-flex;
}

@media screen and (orientation: portrait) {
  #vid_container {
    width: 100%;
    height: 100%;
  }

  #gui_controls {
    width: 100%;
    height: 20%;
    top:80%;
    left:0;
  }

  #switchCameraButton {
    left: calc(20% - 25px);
    top: calc(50% - 25px);
  }

}

@media screen and (orientation: landscape) {
  #vid_container {
    width: 100%;
    height: 100%;
  }

  #vid_container.left {
    left: 0%;
  }

  #gui_controls {
    width: 20%;
    height: 100%;
    right: 0;

  }

  #gui_controls.left {
    left: 0;
  }

  #switchCameraButton {
    left: calc(50% - 25px);
    top: calc(18% - 25px);
  }

  #video_overlay {
    width: 100%;
    height: 100%;
    min-width: 100%;
    flex-direction:row;
  }
#video_overlay .spacer
{
    max-height: 100vh!important;
}
    #video_overlay .mask {
        width:auto;
        height:100vh;
        min-height: 100vh;
    }

}
