@font-face {
  font-family: Nexa;
  src: url("../fonts/Nexa_Light.otf");
}

@media only screen and (min-width : 200px) and (max-width : 545px)
{
  #footer{ height: 85px !important; font-size: 15px; }
  .button.login button, .button button { font-size: 15px !important; }
  .material-button{ right: 15px !important; width: 120px !important; height: 120px !important; top: -75px !important; }
  p {font-size: 18px !important;}
  .material-button p{ margin-top: 36px!important; }
  .input{ height: 55px !important; }
  .button.login { margin-top: 15px !important; margin-bottom: 11px;}
  .body-img { background-image: url(../images/evaluation_mobile.jpg) !important }
}

@media only screen and (min-width: 420px) and (max-width: 710px)
{
  .box{ right: 1%;  margin-left: -14px;}
}

html {
  min-height: 100vh;
}

body{
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.box {
  position: relative;
  top: 0;
  opacity: 1;
  float: left;
  padding: 40px 50px 20px 50px;
  width: 100%;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  transform: scale(1);
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  z-index: 5;
}

.content{
  flex: 1;
  min-height:600px;
}

.title {
  width: 100%;
  float: left;
  line-height: 46px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #f08019;
  position: relative;
}

.title:before {
  content: "";
  width: 5px;
  height: 100%;
  position: absolute;
  top: 0;
  left: -50px;
  background: #f08019;
}

.input,
.input label,
.input input,
.input .spin,
.button,
.button button .button.login button i.fa,
.material-button .shape:before,
.material-button .shape:after,
.button.login button {
  transition: 300ms cubic-bezier(.4, 0, .2, 1);
  -webkit-transition: 300ms cubic-bezier(.4, 0, .2, 1);
  -ms-transition: 300ms cubic-bezier(.4, 0, .2, 1);
}

.material-button,
.material-button .shape,
.box {
  transition: 400ms cubic-bezier(.4, 0, .2, 1);
  -webkit-transition: 400ms cubic-bezier(.4, 0, .2, 1);
  -ms-transition: 400ms cubic-bezier(.4, 0, .2, 1);
}

.input,
.input label,
.input input,
.input .spin,
.button,
.button button {
  width: 100%;
  float: left;
}

.input,
.button {
  margin-top: 8px;
  height: 70px;
}

.input,
.input input,
.button,
.button button {
  position: relative;
}

.input input {
  height: 60px;
  top: 10px;
  border: none;
  background: transparent;
}

.input input,
.input label,
.button button {
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  color: black;
  font-weight: 300;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
}

.input:before,
.input .spin {
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.input:before {
  content: "";
  background: rgba(0, 0, 0, 0.56);
  z-index: 3;
}

.input .spin {
  background: #f97c0c;
  z-index: 4;
  width: 0;
}

.overbox .input .spin {
  background: rgba(255, 255, 255, 1);
}

.overbox .input:before {
  background: rgba(255, 255, 255, 0.5);
}

.input label {
  position: absolute;
  top: 10px;
  left: 0;
  z-index: 2;
  cursor: pointer;
  line-height: 60px;
}

.button.login {
  width: 100%;
}

.button.login button,
.button button {
  width: 100%;
  line-height: 64px;
  left: 0%;
  background-color: #f97c0c;
  font-size: 20px;
  color: white;
}

.button.login {
  margin-top: 30px;
}

.button {
  margin-top: 20px;
}

.button button {
  background-color: #fff;
  color: #f97c0c;
  border: none;
}

.button.login button.active {
  border: 3px solid transparent;
  color: #fff !important;
}

.button.login button.active span {
  opacity: 0;
  transform: scale(0);
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
}

.button.login button.active i.fa {
  opacity: 1;
  transform: scale(1) rotate(-0deg);
  -webkit-transform: scale(1) rotate(-0deg);
  -ms-transform: scale(1) rotate(-0deg);
}

.button.login button i.fa {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  line-height: 60px;
  transform: scale(0) rotate(-45deg);
  -webkit-transform: scale(0) rotate(-45deg);
  -ms-transform: scale(0) rotate(-45deg);
}

.button.login button:hover {
  -moz-box-shadow: 1px 1px 20px #555;
  -webkit-box-shadow: 1px 1px 20px #555;
  box-shadow: 1px 1px 20px #555;
}

.button {
  margin: 40px 0;
  z-index: 2;
}

.button button {
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.pass-forgot,
.create-account{
  padding: 0;
  color: black;
  font-size: 14px;
  text-decoration: underline !important;
}

.click-efect {
  position: absolute;
  top: 0;
  left: 0;
  background: #f97c0c;
  border-radius: 50%;
}

.overbox {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: inherit;
  border-radius: 10px;
  padding: 60px 50px 40px 50px;
}

.overbox .title,
.overbox .button,
.overbox .input {
  z-index: 111;
  position: relative;
  color: #fff !important;
  display: none;
}

.overbox .title {
  width: 80%;
}

.overbox .input {
  margin-top: 20px;
}

.overbox .input input,
.overbox .input label {
  color: #fff;
}

.overbox .material-button,
.overbox .material-button .shape{
  display: block;
}

.material-button{
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #f97c0c;
  position: absolute;
  top: -30px;
  right: -70px;
  cursor: pointer;
  z-index: 100;
  transform: translate(0%, 0%);
  -webkit-transform: translate(0%, 0%);
  -ms-transform: translate(0%, 0%);
}

.material-button:hover{
  -moz-box-shadow: 1px 1px 20px #555;
  -webkit-box-shadow: 1px 1px 20px #555;
  box-shadow: 1px 1px 20px #555;
}

.material-button .shape{
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.material-button .shape:before,
.material-button .shape:after {
  content: "";
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(360deg);
  -webkit-transform: translate(-50%, -50%) rotate(360deg);
  -ms-transform: translate(-50%, -50%) rotate(360deg);
}

.material-button .shape:before {
  width: 25px;
  height: 4px;
}

.material-button .shape:after {
  height: 25px;
  width: 4px;
}

.material-button.active{
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%) rotate(0deg);
  -webkit-transform: translate(50%, -50%) rotate(0deg);
  -ms-transform: translate(50%, -50%) rotate(0deg);
}

.body-index {
  background-image: url('../images/login.png');
  background-size: cover;
  color: #333232;
  font-family: Helvetica;
  background-position: initial;
  background-repeat: no-repeat;
  background-color: gray;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.body-img{
  background-image: url('../images/evaluation.png');
  background-size: cover;
  color: #333232;
  font-family: Helvetica;
  background-position: initial;
  background-repeat: no-repeat;
  background-color: gray;
}

.materialContainer {
  width: 100%;
  max-width: 460px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

/* Hack pour IE10+ & Edge*/
_:-ms-lang(x), .materialContainer{
  position: relative;
  top: 10%;
}

*,
*:after,
*::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none!important;
  list-style-type: none;
  outline: none;
}

#footer{
  background: #3c3c3c;
  width: 100%;
  height: 50px;
  margin-top: 75px;
  text-align: center;
  padding: 0 50px;
}

#footer .list-footer>li {
  display: inline-block;
  margin-top: 14px;
  text-align: center;
  color: white;
  padding-left: 37px;
  padding-right: 5px;
}

.checkbox-connexion{
  line-height: 46px;
  color: black;
}

.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}

.alert {
  padding: 15px;
  margin-bottom: 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  clear:both;
}

/****** MOT DE PASSE ********/

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
}

.lien_retour{
  text-decoration: underline !important;
  color:#3c3c3c;
}

.lien_retour a,
.lien_retour a:hover,
.lien_retour a:focus,
.lien_retour a:active,
.lien_retour a:visited{
  color:#3c3c3c;
}

/***********************
CSS POUR BOUTON SALONS
 **********************/
.button.infos{
  background-color: #f97c0c;
  text-align: center;
  height: 50px;
}

.button.infos a{
  width: 100%;
  line-height: 50px;
  left: 0%;
  background-color: #f97c0c;
  font-size: 20px;
  color: white;
}

@media only screen and (min-width : 200px) and (max-width : 545px)
{
  .button.infos {
    width: 95%;
  }
}

label.control-label {
  font-family: "Nexa", sans-serif;
  font-size: 18px;
  font-weight: normal;
  pointer-events: none;
  left: 5px;
  top: 10px;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

input.login {
  font-size: 18px;
  -webkit-appearance: none;
  display: block;
  background: white;
  color: #636363;
  width: 100%;
  height: auto;
  padding: 10px 10px 10px 5px;
  border: none;
  border-bottom-width: medium;
  border-bottom-style: none;
  border-bottom-color: currentcolor;
  border-radius: 0;
  border-bottom: 1px solid;
  border-bottom-color: currentcolor;
  border-bottom-color: #ceccc9;
  transition: border-bottom-color .3s;
}
