body {
  background-image: linear-gradient(to bottom, #dfedfb 40%, #ffdbb7);
   /*
 background-position-x: 50%;
  background-position-y: center;
  background-attachment: fixed;
  background-size: 100%;
  background-repeat-x: no-repeat;
  background-repeat-y: no-repeat;  */
  font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;

}

a:hover {
  color: #fff !important;;
}

#background_im {
  height: auto;
  width: 100%;
}

#content {
  width: 100%;
}

#header {
    position: fixed;
    display: flex;
    justify-content:space-between;
    padding: 10px;
    z-index: 4;
    height: 100px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.5 );
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
}

#workwindow {
  /*padding-top: 280px;*/
  padding-bottom: 140px;
  position: relative;
  width: 100%;
  min-height: 300px;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

#search_window_container {
  background-image: url(/images/back_b.png);
  background-position: top;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

#search_window {


  display: none;

  background: rgb(255,255,255);
  background: linear-gradient(0deg, rgba(255,255,255,0.8) 85%, rgba(255,255,255,0) 100%);

  /*backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);*/
  padding: 20px;

}

#project {
  height: 75px;
  width: 60%;
  max-width: 450px;
  min-width: 300px;
  font-size: 2rem;
  text-align: center;
  border-radius: 15px;
   color: #363f68;
}


#start_time {
  text-align: center;
   color: #363f68;
  width: 60%;
  max-width: 450px;
  min-width: 300px;
  height: 75px;
  font-size: 2rem;
  border-radius: 15px;
}

#sel_type_window {
  display: none;
  position: relative;
  z-index: 3;
  background-color: rgba(255,255,255,0.5);
  border-radius: 25px;
  height: 300px;
}

#sel_type_window_buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px;
}

.sel_type_window_button {
  background-color: #fb8e00;
  border-radius: 15px;
  border: 0px solid #fb8e00;
  height: 75px;
  width: 300px;
  color: #fff;
  margin: 5px;
  text-align: center;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.sel_type_window_button:hover {
  background-color: #ffb04a;
  transition: all 0.3s ease;
}
.sel_type_window_button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transition: all 0.3s ease;
}
.sel_type_window_button:hover:disabled {
  background-color: #aaa;
  transition: all 0.3s ease;
}

#capture_window {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  z-index: 3;

  /*background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);*/
}

#capture_buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#validate {
  background-color: #fb8e00;
  border-radius: 15px;
  border: 0px solid #fb8e00;
  height: 75px;
  width: 300px;
  color: #fff;
  margin: 5px;
  text-align: center;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}
#validate:hover {
  background-color: #ffb04a;
  transition: all 0.3s ease;
}

#search_bt {
  cursor: pointer;
  background-color: #2f855a;
  border-radius: 15px;
  border: 0px solid #2f855a;
  height: 75px;
  width: 200px;
  color: #fff;
  margin: 5px;
  text-align: center;
  font-size: 25px;
  transition: all 0.3s ease;
}
#search_bt:hover {
  background-color: #00c663;
  transition: all 0.3s ease;
}
#search_bt:disabled {
  cursor: not-allowed;
  background-color: #ccc;
  transition: all 0.3s ease;
}
#search_bt:hover:disabled {
  background-color: #aaa;
  transition: all 0.3s ease;
}



#remove_image_bt {
  background-color: #f00;
  border-radius: 15px;
  border: 0px solid #f00;
  height: 75px;
  width: 200px;
  color: #fff;
  margin: 5px;
  text-align: center;
  font-size: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}
#remove_image_bt:hover {
  background-color: #ff3b66;
  transition: all 0.3s ease;
}
#remove_image_bt:disabled {
  cursor: not-allowed;
  background-color: #ccc;
  transition: all 0.3s ease;
}
#remove_image_bt:hover:disabled {
  background-color: #aaa;
  transition: all 0.3s ease;
}


#ul_obj {
  margin: 10px;
  padding: 0px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

#output_data {
  display: none;
}

#search_parms {
  display: flex;
  position: relative;
  flex-direction: column;
  top: 0;
  letter-spacing: 0;
  z-index: 3;
  padding-top: 20px;
  margin-top: 20px;
  font-size: 20px;
  /*background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);*/
}

#startbutton_box {
  /*background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);*/
  position: absolute;
  bottom: 20;
  height: 100px;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;

}

#startbutton {
  bottom: 30px;
  background-color: #fb8e00;
  border: 0px;
  border-radius: 15px;
  height: 75px;
  width: 250px;
  color: #fff;
  font-size: 25px;
  transition: all 0.3s ease;
}
#startbutton:hover {
  background-color: #ffb04a;
  transition: all 0.3s ease;
}


#camera_icon {
  height: 100px;
  width: 100px;
}

#contentarea {
  position: relative;
  display: flex;

  width: 90%;
  max-width: 500px;
  height: 500px;
  margin: 20px;
  background-image: url("/images/face_template.svg");
  background-position: center;

}

.wrapper {
  width: 100%;
  height: 100%;
  border: 0px solid #515151;
}
.exmpl {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.exmpl img {
  height: 100%;
  width: auto;
}

#video {
  transform: scaleX(-1);
  width: 100%;
}


#search_result {
  display: none;
  z-index: 3;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

#search_result_box {
  /*position: relative;*/
  height: 100%;
  width: 100%;
  /*overflow-y: scroll;*/
}

#some_result {
  display: none;
  font-size: 38px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  margin-top: 200px;
  padding: 20px;
  border-radius: 40px;
  background-color: rgba(255, 255, 255, 0.5);
}

#some_result_preview_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.face_id {
  margin: 5px;
}

.face_id_but{
  background: rgba(0, 0, 0, 0);
  border: 0px;
}

.face_id_preview {
  height: 300px;
  width: 300px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.face_id_preview:hover {
    height: 320px;
    width: 320px;
    transition: all 0.3s ease;
}

#price {
  display: none;
}

#no_price {
  margin-top: 20px;
  margin-right: 20px;
  padding-top: 10px;
  float: right;
  height: 80px;
  color: #363f68;
  border: 0px solid #fff;
  border-radius: 5px;
  display: block;
  font-size: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#push_to_pay{
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 50px;
  padding-top: 10px;
  height: 80px;
  width: 500px;
  background-color: #0066b3;
  color: #fff;
  border: 5px solid #0066b3;
  border-radius: 5px;
  display: none;
  font-size: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#push_to_pay:hover{
  background-color: #fff;
  color: #0066b3;
  transition: all 0.3s ease;
}

#album_download{
  text-transform: uppercase;
  text-decoration: none;
}

#album_download_div{
  padding-top: 10px;
  height: 80px;
  width: 500px;
  background-color: #0066b3;
  color: #fff;
  border: 5px solid #0066b3;
  border-radius: 5px;
  font-size: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#album_download_div:hover{
  background-color: #fff;
  color: #0066b3;
  transition: all 0.3s ease;
}



#total_price {
  display: none;
  justify-content: center;
  align-items: center;
  background-color: #fb8e00;
  border-radius: 15px;
  border: 0px solid #fb8e00;
  height: 75px;
  width: 300px;
  color: #fff;
  margin: 5px;
  text-align: center;

  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 25px;
}
#total_price:hover {
  background-color: #ffb04a;
  transition: all 0.3s ease;
}


#mail_input_window {
  display: none;
  z-index: 7;
  height: 300px;
  width: 100%;
  /*background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);*/
  font-size: 24px;
}

#mail_form {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

#mail_form_div_text {
  width: 94%;
  padding-top: 5px;
  padding-left: 3%;
  padding-right: 3%;
}

#email {
  border-width: 5px;
  width: 100%;
  height: 75px;
  border-radius: 7px;
  border: solid #0066b3;
  font-size: 35px;
  text-align: center;
  color: #363f68;
}


#mail_form_div_submit {
padding-top: 30px;
}


#download_window {
  display: none;

  justify-content: center;
  flex-direction: column;
  align-items: center;
  z-index: 7;
  height: 300px;
  width: 100%;
  /*background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);*/
  font-size: 24px;
}

#download {
  background-color: #fb8e00;
  border-radius: 15px;
  border: 0px solid #fb8e00;
  height: 75px;
  width: 300px;
  color: #fff;
  margin: 5px;
  text-align: center;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}
#download:hover {
  background-color: #ffb04a;
  transition: all 0.3s ease;
}

/**----------------------------------------------------**/

#pay_apply {
  margin-top: 50px;
  display: block;
  height: 100px;
  width: 350px;
  font-size: 35px;
  background-color: #0066b3;
  color: #fff;
  font-weight: 700;
  border: 2px solid  #0066b3;
  border-radius: 10px;
  transition: all 0.3s ease;
}
#pay_apply:hover {
  background-color: rgba(255, 255, 255, 0.8);
  color:  #0066b3;
  border: 5px solid  #0066b3;
  cursor:pointer;
  transition: all 0.3s ease;
}


#div_login {
  display: none;

  background-image: url(/images/back_b.png);
  background-position: top;
  background-repeat: no-repeat;
  background-size: 100% auto;

  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  width: 100%;
}


#start_capture {
  background-color: #fb8e00;
  border-radius: 15px;
  border: 0px solid #fb8e00;
  height: 75px;
  width: 300px;
  color: #fff;
  margin: 5px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 25px;
}
#start_capture:hover {
  background-color: #ffb04a;
  transition: all 0.3s ease;
}
#start_capture:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transition: all 0.3s ease;
}
#start_capture:hover:disabled {
  background-color: #aaa;
  transition: all 0.3s ease;
}

#ofert_apply_div {
  max-height: 400px;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-items: center;
  /*background-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 25px;*/
  padding: 20px;
}

#ofert_apply { 
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  max-width: 800px;
  padding: 20px;
}

#apply_user_data_handler {

  margin: 10px;
  height: 50px;
  width: 50px;
}

#error_info_window {
  display: none;
  z-index: 9;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  position: fixed;
  top: 0;
  left: 0;
  letter-spacing: 0;
  height: 100%;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
  align-content: center;
}

#error_info {
  padding-top: 10px;
  padding-right: 10px;
  height: 300px;
  width: 90%;
  background-color: #fff;
  border-radius: 25px;
  color: #000;
  font-size: 30px;
  text-align: center;
}

#error_text{
  margin-top: 50px;
}

.close_button {
  height: 50px;
  width: 50px;
  background-color: rgba(0, 0, 0, 0);
  border: 2px solid  #f00;
  background: 3px;
  border-radius: 10px;
  font-size: 2rem;
  font-weight: 700;
}
.close_button:hover{
  background-color: #f00;
  color: #fff;
  cursor:pointer;
  transition: all 0.3s ease;
}

#close_error_button {
  margin-left: 300px;
  float: right;
  height: 50px;
  width: 50px;
  background-color: rgba(0, 0, 0, 0);
  border: 2px solid  #0066b3;
  background: 3px;
  border-radius: 10px;
  font-size: 2rem;
  font-weight: 700;
}
#close_error_button:hover{
  background-color: #0066b3;
  color: #fff;
  cursor:pointer;
  transition: all 0.3s ease;
}

.div_content_c{
  height: 85%;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 15%;
  font-size: 15px;
  width: 100%;
  overflow-y: scroll;
}

#div_how_it_works_div {
  margin-top: 20px;
  width: 100%;
  z-index: 2;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  /*backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);*/
  font-size: 24px;
}

.how_it_works_shell {
  display: flex;
  flex-direction: column;
  width: 400px;
  align-items: center;
  text-align: center;
}

#div_contacts {
  display: none;
  position: fixed;
  width: 120px;
  z-index: 8;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  font-size: 24px;
}

#div_terms {
  display: none;
  position: fixed;
  z-index: 8;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  font-size: 24px;
}

#div_gdpr {
  display: none;
  position: fixed;
  z-index: 8;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  font-size: 24px;
}


/**
 * FOOTER
 **/
#footer {
  display: block;
  position: fixed;
  bottom: 0px;
  width: 100%;
  height: 120px;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
   z-index: 8  ;
}
 

#footer_bb {
  width: 100%;
}



#footer_info{

  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}
.footer_info_button {

  height: 50px;
  background-color: rgba(0,0,0,0);
  border: 0px solid #363f68;
  border-radius: 25px;
  margin: 5px;
  cursor:pointer;
  font-size: 20px;
  font-weight: 500;

  color: #363f68;

  cursor: pointer;
  transition: all 0.3s ease;
}

.footer_info_button:hover {
  color: #363f68;
  background-color: rgba(255,255,255,0.5);
  transition: all 0.5s ease;
  border: 0px solid #363f68;
}

#image_bb {
  padding: 10px;
  width: 70%;
  max-width: 300px;
}


/** ----------------- Animation ---------------------**/

#loading {
  display: none;
  padding: 50px;
  font-family: 'Lato', sans-serif;
  color: #000;
  margin: 0;
  margin-top: 200px;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: .1em;
  background-color: rgba(255,255,255,0.5);
  border-radius: 25px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}
/*
* Loading Dots
* Can we use pseudo elements here instead :after?
*/
.loading span {
  display: inline-block;
  vertical-align: middle;
  width: 1.2em;
  height: 1.2em;
  margin: .38em;
  background: #007DB6;
  border-radius: 1.2em;
  animation: loading 1s infinite alternate;}

/*
* Dots Colors
* Smarter targeting vs nth-of-type?
*/
.loading span:nth-of-type(2) {
  background: #008FB2;
  animation-delay: 0.2s;
}
.loading span:nth-of-type(3) {
  background: #009B9E;
  animation-delay: 0.4s;
}
.loading span:nth-of-type(4) {
  background: #00A77D;
  animation-delay: 0.6s;
}
.loading span:nth-of-type(5) {
  background: #00B247;
  animation-delay: 0.8s;
}
.loading span:nth-of-type(6) {
  background: #5AB027;
  animation-delay: 1.0s;
}
.loading span:nth-of-type(7) {
  background: #A0B61E;
  animation-delay: 1.2s;
}

/*
* Animation keyframes
* Use transition opacity instead of keyframes?
*/
@keyframes loading {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}



#overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;

  background: repeating-linear-gradient(
  45deg,
  rgba(247,247,247, .2),
  rgba(247, 247, 247, .2) 5px,
  rgba(247, 247, 247, .0) 5px,
  rgba(247, 247, 247, .0) 10px
  );
  z-index: 0;
}


ul {
  list-style-type: none;
  padding-left: 0px;
  padding-bottom: 200px;
}

li {
  display: inline-block;
}

input[type="checkbox"]{
  display: none;
}



label {
  /**border: 1px solid #fff;**/
  display: block;
  position: relative;
  margin: 10px;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

label::before {
  background-color: white;
  color: white;
  content: " ";
  display: block;
  border-radius: 50%;
  border: 0px solid grey;
  position: absolute;
  top: -5px;
  left: -5px;
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 28px;
  transition-duration: 0.4s;
  transform: scale(0);
}

label img {
  height: 300px;
  transition-duration: 0.2s;
  transform-origin: 50% 50%;
}

label #overlay {
  transition-duration: 0.2s;
}

:checked+label {
  border-color: #ddd;
}

:checked+label::before {
  content: "✓";
  background-color: #fb8e00;
  transform: scale(2);
  z-index: 1;
}

:checked+label img {
  transform: scale(0.95);
  box-shadow: 0 0 20px #fb8e00;
  z-index: -1;
}

:checked+label #overlay{
  transform: scale(0.95);

}