/*----------- AUTH -------------*/
body, #wrapper {
  background: #e7e9ea;
}

#auth {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: url("../images/auth_bg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#auth > img {
  position: absolute;
  z-index: 1;
  right: 5%;
  top: 30px;
  max-width: 150px;
  height: auto;
}

#auth #auth-area {
  position: absolute;
  z-index: 10;
  width: 480px;
  min-height: 435px;
  left: 0; bottom: 0; right: 0;
  top: calc(50% - 250px);
  margin: auto;
}

#auth #auth-area h1 {
  background: #fff;
  padding: 20px 30px;
}

#auth #auth-area > form {
  background: rgba(255, 255, 255, 0.2);
  padding: 25px 30px;
}

#auth #auth-area > form > h2 {
  color: black;
  font-family: "SKODA Next Bold", Arial, sans-serif;
  font-size: 1.8em;
  margin-bottom: 15px;
}

#auth #auth-area > form .form-group {
  width: 100%;
  margin-bottom: 20px;
}

#auth #auth-area > form .form-group label {
  width: 100%;
  color: black;
  margin-bottom: 10px;
}

#auth #auth-area > form .form-group label.error {
  float: none;
  text-align: left;
  width: auto;
  margin-bottom: 0;
  color: white;
}

#auth #auth-area > form .form-group input {
  width: 100%;
}

#auth #auth-area > form .form-group .g-recaptcha > div {
  margin: 0 auto;
}

#auth #auth-area > form > a {
  text-align: center;
  display: block;
  color: black;
  font-family: 'SKODA Next Regular It', Arial, sans-serif;
  margin-bottom: 30px;
  font-size: 0.9em;
  text-decoration: none;
}

#auth #auth-area > form .btn-area {
  margin-top: 0;
  margin-bottom: 0;
}

#auth #auth-area > form .info {
  color: black;
  font-family: 'SKODA Next Regular It', Arial, sans-serif;
  margin-bottom: 20px;
}

#auth #recaptcha-area {
  margin: 30px auto;
}

#auth #recaptcha-area > img {
  width: 100% !important;
}

#auth.portail {
  background: white;
}

#auth.portail > h1 {
  position: absolute;
  z-index: 1;
  right: 5%;
  top: 30px;
}

#auth.portail #portail-area {
  display: table;
  width: 100%;
  height: calc(100% - 90px);
  text-align: center;
}

#auth.portail .inner-portail {
  display: table-cell;
  vertical-align: middle;
}

#auth.portail .inner-portail > p {
  font-size: 16px;
  margin-bottom: 60px;
  padding: 0 10px;
}

#auth.portail .choices {
  display: table;
  width: 1024px;
  margin: 0 auto;
}

#auth.portail .choices > div {
  display: table-cell;
}

#auth.portail .choices .choice-block {
  width: 460px;
}

#auth.portail .choices .choice-block > a {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  transition: -webkit-transform .3s;
  transition: transform .3s;
  transition: transform .3s, -webkit-transform .3s;
}

#auth.portail .choices .choice-block > a img {
  display: block;
  width: 100%;
}

#auth.portail .choices .choice-block > a:after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: 100%;
  display: block;
  width: 100%;
  height: 8px;
            /*background: rgba(0,0,0,.3);
            border-radius:50%;
            filter: blur(3px);*/
  background-image: radial-gradient(circle, rgba(187, 10, 48, 0.9), transparent 100%);
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .6s;
}

#auth.portail .choices .choice-block > a:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

#auth.portail .choices .choice-block > a:hover:after {
  opacity: 1;
}

/*----------- AUTH -------------*/
@media screen and (max-height: 768px) {
  #auth #auth-area {
    bottom: 120px;
  }
}

@media screen and (max-height: 600px) {
  #auth #auth-area {
    bottom: 105px;
  }
}

@media screen and (max-width: 768px) {
  #auth {
    background-image: url("../images/auth_bg_responsive.png");
  }

  #auth > img {
    display: none;
  }

  #auth #auth-area {
    width: 100%;
    position: static;
    padding: 0px 10px;
    margin-top: 80px;
    min-height: 0;
  }

  #auth #auth-area > h1 {
    background: white;
    padding: 20px 10px 20px 30px;
  }
}

@media screen and (max-width: 480px) {

  #auth #recaptcha-area {
    margin: 20px auto;
  }
}

@media screen and (orientation: landscape) and (max-width: 768px) {
  #auth {
    position: static;
    height: auto;
  }

  #auth #auth-area {
    margin-top: 0;
    padding-top: 95px;
    padding-bottom: 80px;
  }
}

@media screen and (orientation: portrait) and (max-width: 414px) {
  #auth {
    position: static;
    height: auto;
    min-height: 452px;
  }

  #auth #auth-area {
    margin-top: 0;
    padding: 100px 10px 60px 10px;
  }
}

@media screen and (max-height: 600px) {
  #auth.portail {
    padding-top: 30px;
  }

  #auth.portail .inner-portail > p {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 1024px) {
  #auth.portail .choices {
    width: 95%;
  }

  #auth.portail .choices .choice-block {
    width: 49%;
  }
}

@media screen and (max-width: 768px) {
  #auth.portail #portail-area {
    height: calc(100% - 208px);
  }
}

@media screen and (orientation: landscape) and (max-width: 768px) {
  #auth.portail {
    padding-top: 90px;
    padding-bottom: 20px;
  }

  #auth.portail > h1 {
    top: 20px;
  }

  #auth.portail .inner-portail > p {
    margin-bottom: 20px;
    font-size: 13px;
  }
}

@media screen and (orientation: portrait) and (max-width: 414px) {
  #auth.portail {
    padding-top: 90px;
    padding-bottom: 10px;
  }

  #auth.portail > h1 {
    top: 20px;
  }

  #auth.portail #portail-area {
    display: block;
  }

  #auth.portail .inner-portail > p {
    margin-bottom: 20px;
    font-size: 13px;
  }

  #auth.portail .choices {
    display: block;
    width: 95%;
  }

  #auth.portail .choices .separator {
    display: none;
  }

  #auth.portail .choices .choice-block {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
}
