@import url(https://fonts.googleapis.com/css?family=Open+Sans);

@font-face{
  font-family: 'Como';
  src: url('fonts/Como/Flat-it - Como-Light.otf');
  font-style: normal;
  font-weight: light;
  text-rendering: optimizeLegibility;
}

@font-face{
  font-family: 'Como';
  src: url('fonts/Como/Flat-it - Como-Medium.otf');
  font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}

@font-face{
  font-family: 'Quicksand';
  src: url('fonts/Quicksand/Quicksand-Bold.ttf');
  font-style: normal;
  font-weight: bold;
  text-rendering: optimizeLegibility;
}

@font-face{
  font-family: 'Quicksand';
  src: url('fonts/Quicksand/Quicksand-Light.ttf');
  font-style: normal;
  font-weight: light;
  text-rendering: optimizeLegibility;
}

@font-face{
  font-family: 'Quicksand';
  src: url('fonts/Quicksand/Quicksand-Medium.ttf');
  font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}

@font-face{
  font-family: 'Quicksand';
  src: url('fonts/Quicksand/Quicksand-Regular.ttf');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}


body{
  background-color:LightGray!important;
  overflow: hidden;
  margin:auto!important;
  width: 100%;
  height: 100%;
  position: absolute;
  font-family: 'Quicksand'!important;
  /*line-height: 1!important;*/
  color: #272d34!important;
  text-align: center!important;
  /*white-space: nowrap;*/
  /*min-height: 320px;*/
  /*min-width: 320px;*/
}

img{
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin: auto;
  object-fit: contain;
}

.jp{
	display:none!important;
}
.container{
  height: 100%!important;
  /*position: relative;*/
  background-image: url(../img/background_glasses.png);
  background-size: cover;
  background-position: bottom right;
  max-width: 100%!important;
  /*min-width: 120px;*/
  /*min-height: 600px;*/
  /*min-height: 800px;*/
}

.screen{
  display: inline;
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
}

.screen.active{
  opacity: 1;
  z-index: 2;
  visibility: visible;
}

.quiz{
  flex-direction: column;
  padding: 25px;
  align-items: center;
}

.title{
  font-size: 23px;
  width: 100%;
  display: none;
}

.popup{
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 6px 20px 0px rgba(32, 32, 32, 0.2);
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 35px;
  justify-content: space-evenly;
}

.tips-title{
  color: #abb6c8;
  font-size: x-large;
}

.tips{
  display: flex;
}

.tips div{
  flex-basis: 50%;
  padding: 0.5em;
}

.tips img{
  width: 100%;
}

.tips span{
  font-size: xx-small;
}

#btn_try{
  background-color: rgb(39, 45, 52);
  box-shadow: 0px 8px 20px 0px rgba(32, 32, 32, 0.5);
  font-size: 25px;
  color: rgb(255, 255, 255)!important;
  transform: translate(-50%, 50%);
  height: 50px;
  width: 150px;
  text-align: center;
  position: absolute;
  border: none;
  bottom: 0;
  left: 50%;
  outline: none;
}

#btn_try:focus {
  outline: 0;
}

.quiz-container{
  margin: auto;
  max-width: 100%;
  position: relative;
}

.btn_back{
  position: absolute;
  top: 1.5em;
  left: 1.5em;
  width: 30px;
  height: 30px;
}

.img_full{
  display: none;
}

.img_mobile{
  display: block;
}

.info{
  position: relative;
  left: -90%;
  transition: 0.5s;
  padding: 2em;
  width: 90%;
  height: 100%;
  background-color: rgb(255, 255, 255);
  text-align: left;
  display: flex;
  z-index: 2;
  flex-direction: column;
  min-height: 0;
}

.info.active{
  left: 0;
}

.btn_info {
  width: 40px;
  position: absolute;
  left: 100%;
  top: 0;
}

.btn_info:after, .btn_info:before, .btn_info div {
  background-color: black;
  -o-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  content: '';
  display: block;
  height: 5px;
  margin: 7px 0;
  -moz-transition: all .2s ease-in-out;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

.btn_info.active:before {
  transform: translateY(12px) rotate(135deg);
  -moz-transform: translateY(12px) rotate(135deg);
  -webkit-transform: translateY(12px) rotate(135deg);
}

.btn_info.active:after {
  transform: translateY(-12px) rotate(-135deg);
  -moz-transform: translateY(-12px) rotate(-135deg);
  -webkit-transform: translateY(-12px) rotate(-135deg);
}

.btn_info.active div {
  -moz-transform: scale(0);
  -webkit-transform: scale(0);
  transform: scale(0);
}

#info_glasses{
  line-height: 1.5;
  display: none;
  visibility: hidden;
}

#info_customer{
  line-height: 1.2;
}

#active_filters{
  color: rgb(255, 255, 255);
  line-height: 1.2;
}

#active_filters div{  
  display: inline;
  border-radius: 10px;
  background-color: rgb(172, 185, 202);
  padding: .5em;
  margin-right: 10px;
}

#filters{
  flex-grow: 1;
  cursor: default;
  overflow: auto;
  color: #949494;
}

/*#filters div>div{*/
#active_filters_type div, #active_filters_gender div{
  display: inline-block;
  border-radius: 10px;
  background-color: #e8ebf0;
  padding: 0.5em;
  margin: 1px;
}

/*#filters div>div.selected{*/
#active_filters_type div.selected, #active_filters_gender div.selected{
  color: rgb(255, 255, 255);
  display: inline-block;
  border-radius: 10px;
  background-color: #272d34;
  padding: 0.5em;
  margin: 1px;
}

#filters_brand div{
  display: table;
  margin: 1px;
  padding: 0 0.5em;
}

#filters_brand div.selected{
  color: rgb(255, 255, 255);
  border-radius: 5px;
  background-color: #272d34;
}

.filter{
  background-color: #acb9ca;
  color: rgb(255, 255, 255);
  width: 100%;
  height: 3em;
  margin: 10px 0 5px;
  padding: 1em; 
  text-align: center;
  line-height: 1;
}

.loading_line{
  margin: 10px!important;
  height: 15px;
  width: 50px;
  animation: pulse 1s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        background-color: rgba(165, 165, 165, 0.1);
    }
    50% {
        background-color: rgba(165, 165, 165, 0.3);
    }
    100% {
        background-color: rgba(165, 165, 165, 0.1);
    }
}

.trylive {
  width: 100%;
  align-items: center;
  height: 100%;
  top: 0;
  right: 0;
  position: absolute;
}

.screen-title {
  text-align: center;
  color: rgb(171, 182, 200);
  font-size: 35px;
  font-family: Como;
  padding: 0 75px;
}

.options_gender, .options_type{
  padding: 50px;
  display: flex;
  justify-content: space-around;
  font-size: 25px;
  font-family: "Como";
  color: rgb(39, 45, 52);
  text-align: center;
}

.gender, .type{
  width: 162px;
  height: 162px;
  position: relative;
  display: inline-block;
}

.gender .ontop, .type .ontop{
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99;
}

.gender.selected .ontop, .type.selected .ontop{
  display: inline;
}

.options_price{
  padding: 75px;
  display: flex;
  height: 80%;
  flex-direction: column;
  justify-content: space-around;
  font-size: 25px;
  font-family: "Como";
  color: rgb(39, 45, 52);
  text-align: center;
}

.options_price div{
  background-color: #e8ebf0;
}

.options_price div.selected{
  background-color: #acb9ca;
}

.quiz-row-3{
  height: 33%;
  width: 100%;
  padding: 1rem;
}

.quiz-grid-1cl, .quiz-grid-2cl{
  display: grid;
  height: 70%;
  grid-gap: 15px;
  padding: 10%;
}

.quiz-grid-1cl{
  grid-template-columns: auto;
}

.quiz-grid-2cl{
  grid-template-columns: auto auto ;
}

.quiz-button-shapes{
  display: block;
  width: 100%;
  height: 100%;
}

.quiz-button-shapes img{
  height: 90%;
}

.navig{
  position: absolute;
  bottom: 0;
  left: 0;
  height: 20%;
  width: 100%;
  margin: auto;
  z-index: 3
}

.grid-navig{
  height: 100%;
  width: 33%;
  margin: auto;
  display: grid;
  grid-template-columns: auto auto;
}

.shapes{
	width:50%;
}

.menu {
    width: 40%;
    position: fixed;
    z-index: 5;
    top: 0;
    left: -20%;
    overflow-x: hidden;
    transition: 0.5s;
    display: inline-flex;
    align-items: start;
}

#menu_options{
  width: 50%;
  padding: 5px;
}

.menu a {
    padding: 5px;
    display: block;
    transition: 0.3s;
}

.menu .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.btn_close {
  width: 10%;
}

.btn_option{
  width: 100%;
}

.loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  color: #FFF;
  background-color: #FFF;
  visibility: hidden;
}

.spinning_wheel {
  margin: auto;
  position: relative;
  top: 30%;
  width: 30%;
  z-index: 100;
  background-color: rgba(255,255,255,0);
  visibility: hidden;
}

.white_screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50;
  background-color: #FFF;
  visibility: hidden;
  border-style: solid;
  border-width: 1px;
}

.mode{
  position: absolute;
  top: 0;
  left: 38%;
  width: 25%;
  height: 10%;
}

.btn_mode{
  display: inline-block;
  width: 35%;
}

.btn_mode.active{
  width: 50%;
}

.btn_mode img{
  width: 100%;
}

#recButton {
  position: absolute;
  bottom: 20%;
  left: 40%;
  width: 35px;
  height: 35px;
  font-size: 0;
  border: 0;
  border-radius: 35px;
  margin: 18px;
  outline: none;
  z-index: 5;
}

.notRec{
  background-color: darkred;
}

.Rec{
  background-color: red;
  animation-name: pulse;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

/*@keyframes pulse{
  0%{
    box-shadow: 0px 0px 5px 0px rgba(173,0,0,.7);
  }
  65%{
    box-shadow: 0px 0px 5px 13px rgba(173,0,0,.3);
  }
  90%{
    box-shadow: 0px 0px 5px 13px rgba(173,0,0,0);
  }
}*/

.stop{
  background-image: url(../img/close.png);
  background-size: cover;
}

.carousel{
  /*margin: -20% auto 0;*/
  bottom: 150px;
  /*bottom: 20%;*/
  margin: auto;
  max-width: 875px;
  width: 100%;
}

.carousel-inner {
  padding: 5px 0;
  margin: auto;
  display: flex;
  align-items: flex-end;
  height: 95px!important;
  width: 90%!important;
}

.carousel-item-next, .carousel-item-prev {
    top:unset!important;
}

.carousel-control-next{
  background-image: linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
  background-image: -webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));
  background-image: -webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
}

.carousel-control-prev{
  background-image: linear-gradient(to left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
  background-image: -webkit-gradient(linear,right top,left top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));
  background-image: -webkit-linear-gradient(right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
}

.carousel-control-next, .carousel-control-prev{
  width: 5%!important;
  opacity: 1!important;
  background-image: none!important;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
  width: 25px!important;
  height: 40px!important;
  /*width: 16px!important;*/
  /*height: 32px!important;*/
}

.carousel img{
  border-radius: 0.5rem;
  width: 100%;
  /*height: unset;*/
  height: 100%;
  background-color: white;
  box-shadow: 0px 3px 5px 1px rgba(32, 32, 32, 0.5);
  object-fit: cover;
}

.carousel-col{
  padding: 0 0.2rem!important;
  /*flex: 0 0 19%;*/
  transition: width 0.5s, height 0.5s;
  /*height: 65px;*/
  /*width: 130px;*/
  height: 55px;
  width: 110px;
}

.carousel-col.active{
  /*flex: 0 0 24%;*/
  /*height: 85px;*/
  /*width: 170px;*/
  height: 75px;
  width: 150px;
}

.row{
  flex-wrap: nowrap!important;
  margin: 0!important;
  align-items: flex-end;
  justify-content: center;
}

.thumbnail{
  margin:0!important;
  border: none!important;
}

.carousel-control{
  width:10%!important;
}

.carousel-control-prev-icon {
    background-image: url("../img/left_arrow.svg")!important;
}

.carousel-control-next-icon {
    background-image: url("../img/right_arrow.svg")!important;
}

/* The popup form - hidden by default */
.modal-booking {
  display: block;
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  /*right: 15px;*/
  padding: 7px;
  z-index: 101;
  background:#00000080;
}

.closed {
  display: none;
}

.modal-guts {
  width: 100%;
  max-width: 400px;
  height: 100%;
  padding: 50px;
  background: white;
  margin: auto;
  font-weight: bold;
}

/* Add styles to the form container */
.form-booking {
  max-width: 300px;
  padding: 10px;
  background-color: white;
}

/* Full-width input fields */
/*.form-container input[type=text], .form-container input[type=password] {*/
.form-booking input {
  width: 100%;
  padding: 5px;
  margin-bottom: 20px;
  border: none;
  background: #f1f1f1;
}

/* When the inputs get focus, do something */
/*.form-container input[type=text]:focus, .form-container input[type=password]:focus {*/
.form-booking input:focus {
  background-color: #ddd;
  outline: none;
}

/* Set a style for the submit/login button */
.form-booking .btn {
  background-color: #272d34;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-bottom:10px;
  opacity: 0.8;
}

/* Add a red background color to the cancel button */
.form-booking .cancel {
  background-color: #acb9ca;
  /*color: #949494;*/
}

/* Add some hover effects to buttons */
.form-booking .btn:hover:not(:disabled) {
  opacity: 1;
}

.form-booking .btn:disabled {
  opacity: 0.5!important;
}

@media (orientation: portrait){
  .tips{
    flex-wrap: wrap;
  }

  .tips img{
    width: 75%;
  }

  .tips span{
    font-size: inherit;
  }
}

@media (min-width: 768px){

  .tips-title{
    font-size: xx-large;
  }

  .tips div{
    padding: 1em;
  }

  .tips span{
    font-size: inherit;
  }

  @media (orientation: landscape){

    body{
      /*min-width: 992px;*/
      /*min-height: 751px;*/
    }

    .quiz{
      padding: 100px;
    }

    .screen{
      display: flex;
    }

    .popup{
      max-width: 800px;
      max-height: 432px;
    }

    .title{
      font-size: 47px;
      width: 800px;
      display: inline-grid;
    }

    .tips-title{
      font-size: xx-large;
    }

    .tips{
      flex-wrap: unset;
    }

    .img_full{
      display: block;
    }

    .img_mobile{
      display: none;
    }

    /*.options_price{
      padding: 75px;
    }*/

    #btn_try{
      font-size: 37.5px;
      height: 80px;
      width: 300px;
    }

    .vto{
      max-width: 1000px;
      max-height: 600px;
      left: 50%!important;
      transform: translateX(-50%);
    }

    .info{
      min-width: 10em;
      left: 0;
      width: 25%;
    }

    .btn_info{
      display: none;
    }

    .trylive{
      width: 75%;
    }

    @media (max-height: 700px){
      .title{
        font-size: 35px;
      }

      .quiz{
        padding: 50px;
      }

    @media (max-height: 500px){
      .title{
      display: none;
      }
    }
  }
}

.overlay_record {
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 100;
  visibility: hidden;
  margin:auto;
  pointer-events: auto;
}

.record_btn {
  width: 40px;
  height: 40px;
  left: 0;
  right:0;
  top: 75%;
  font-size: 0;
  background-color: darkred;
  border: 0;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
  outline: none;
  visibility: hidden;
  position: absolute;
  box-shadow: none;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}