@charset "UTF-8";
* {
  box-sizing: inherit;
}

html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  background-color: #fff;
  color: #000;
  font-size: 1.2rem;
  font-family: "Sofia Pro", "Arial", sans-serif;
}

a {
  text-decoration: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s, box-shadow 5000s ease-in-out 0s !important;
  -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
  -webkit-text-fill-color: #555555 !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  font-style: italic;
  color: #c2c2c2 !important;
  opacity: 1 !important;
}

/*
::placeholder { !* Chrome, Firefox, Opera, Safari 10.1+ *!
	color: red;
	opacity: 1; !* Firefox *!
}

:-ms-input-placeholder { !* Internet Explorer 10-11 *!
	color: red;
}

::-ms-input-placeholder { !* Microsoft Edge *!
	color: red;
}*/
.nowrap {
  white-space: nowrap;
}

/* Popup modale de récupération d'identifiants */
#modalRecupId {
  display: none;
  width: 600px;
}

#modalRecupId .modal-content {
  padding: 0;
}

#modalRecupId iframe {
  border: none;
  width: 100%;
  height: 280px;
}

html {
  font-size: 11px;
}

#page {
  background: url(../images/bg.jpg) no-repeat 60% center;
  background-size: cover;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  overflow: hidden;
}

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  background: transparent;
  flex: 1 1 100%;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}

.bg {
  order: 1;
  width: 100%;
  display: none;
}

header, footer, main {
  width: 90%;
  margin: 0 auto;
}

div.hr {
  margin: 1.33rem 0;
}

hr{
  width: 62%;
  margin: auto;
  background: #e2e5ea;
  height: 3px;
  border: none;
  margin-top: 3rem;
  margin-bottom: 3rem;
}
#logo {
  
  width: 100%;
  max-width: 14.534rem;
  min-width: 100px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 2rem;
}

#logo img {
  max-width: 100%;
  height: auto;
  border: 0;
}

h2 {
  margin: 0;
  color: #cd1f28;
  font-size: 2.664rem;
  font-weight: normal;
  box-sizing: border-box;
  font-family: 'Bebas Neue', "Arial", sans-serif;
  text-align: center;
  text-transform: uppercase;
  line-height: 1;
}

h3 {
  font-family: 'Bebas Neue', "Arial", sans-serif;
  margin: 0;
  margin-bottom: 2rem;
  color: #172953;
  font-size: 1.75rem;
  font-weight: normal;
  line-height: 1;
  letter-spacing: 0.025rem;
  text-align: center;
  text-transform: uppercase;
}

.instructions {
  font-family: "Sofia Pro", "Arial", sans-serif;
  color: #3c3c3c;
  font-size: 1.38rem;
  line-height: 1.2;
  font-weight: normal;
  margin-bottom: 2.67rem;
  margin-top: 1.33rem;
}
.color{
  font-weight: 600;
}

#fields {
  box-sizing: border-box;
  max-width: 100%;
  margin: auto;
  padding: 2rem 0;
}

#fields .field {
  position: relative;
  background-color: rgba(255, 255, 255, 0);
  margin: 0;
  height: 5.231rem;
}
#fields .field:first-child {
margin-bottom: 1rem;
}

#fields .field.changed::before{
  content:"";
}

#fields label {
  position: relative;
  top: 0;
  left: 0;
  width: 6.27rem;
  text-align: left;
  display: flex;
  justify-content: left;
  align-items: center;
  font-size: 1rem;
  padding-bottom: 0.4rem;
  color: #555555;
}


#fields input::placeholder{
  font-family: "Poppins", "Arial", sans-serif !important;
  color: #c2c2c2;
  font-weight: 500;
}
#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.2rem !important;
  font-weight: 500;
  font-family: "Poppins", "Arial", sans-serif !important;
  color: #555555 !important;
  position: relative;
  z-index: 1;
  bottom: 0;
  box-sizing: border-box;
  margin-bottom: 0;
  border:1px solid #b7b7b7;
  padding: 1rem;
  height: 3.4rem;
  border-radius: 3px;

}

#fields input[type=email]:focus, #fields input[type=email].valid, #fields input[type=email].invalid, #fields input[type=text]:focus, #fields input[type=text].valid, #fields input[type=text].invalid, #fields input[type=password]:focus, #fields input[type=password].valid, #fields input[type=password].invalid {
  color: #3674b7;
  box-shadow: none;
  outline: 0;
}
input:not([type]), 
input[type=text]:not(.browser-default), 
input[type=password]:not(.browser-default), 
input[type=email]:not(.browser-default), 
input[type=url]:not(.browser-default), 
input[type=time]:not(.browser-default), 
input[type=date]:not(.browser-default), 
input[type=datetime]:not(.browser-default), 
input[type=datetime-local]:not(.browser-default), 
input[type=tel]:not(.browser-default), 
input[type=number]:not(.browser-default), 
input[type=search]:not(.browser-default),
 textarea.materialize-textarea{
  background-color: transparent;

  border-radius: 0;
  outline: none;
  height: 3rem;
  width: 100%;
  font-size: 16px;
  margin: 0 0 8px 0;
  padding: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  -webkit-transition: border .3s, -webkit-box-shadow .3s;
  transition: border .3s, -webkit-box-shadow .3s;
  transition: box-shadow .3s, border .3s;
  transition: box-shadow .3s, border .3s, -webkit-box-shadow .3s;
 }
.button_form {
  height: 4rem;
  width: 100%;
  font-family: "Sofia Pro", "Arial", sans-serif;
  font-weight: bold;
  font-size: 1.33rem;
  color: #fff;
  background-color: #283460;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 1rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.button_form:hover{
  background-color: #0072bc;
}

.button_form .arrow {
  margin-left: 1rem;
  display: flex;
}
.button_form .arrow img{
  width: 80%;
  height: auto;

}

#oubli_form {
  font-family: "Sofia Pro", "Arial", sans-serif;
  text-align: center;
  font-weight: bold;
  font-size: 1.07rem;
  color: #0072bc;
  margin-bottom: 2rem;
}

#oubli_form a {
  color: unset;
  text-decoration:none;
  transition: all 0.3s ease-in-out;

}

#oubli_form a:hover {
  color: #030404;;
}

.oubli_btn{
 display: flex;
 flex-direction: row-reverse;
 justify-content: space-between;
 align-items: center;
}
.contenu main{
  display: flex;
  flex-direction: column;
  border: 1px solid #e1e1e1;
  background: #fff;
}
.img_input{
  max-width: 100%;
  height: 225px;
}
.img_input img{
  width: 100%;
  object-fit: cover;
  height: 100%;
  object-position: top;
}
.form_input{
  max-width: 24rem;
  margin: auto;
  width: 100%;
}
.form_container{
  max-width: 33rem;
  margin: auto;
}

@media screen and (max-width: 599px) {
  .contenu {
    text-align: center;
  }
  #fields, #oubli_form {
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    background: url(../images/bg.jpg) no-repeat 0% center;
    background-size: cover;
    overflow: hidden;
    position: relative;
  }
  h2 {
    font-size: 4.25rem;
  }
  h3{
    font-size: 2.5rem;
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    justify-content: center;
    flex: 0 0;
    margin: auto;
    width: 100%;
    background-image: none;
    position: relative;
    z-index: 1;
    padding: 2rem;
    /* border-radius: 1.6rem; */
    max-width: 41.534rem;
  }
  .contenu .forme {
    position: relative;
    z-index: 1;
  }
  .bg {
    display: none;
  }
  header, main, footer {
    width: 100%;
  }

}

@media screen and (max-width: 959px) and (max-height: 840px) {
  .bg {
    display: none;
  }
}

@media screen and (min-width: 960px) {
  #page {
    min-height: 100%;
    display: flex;
    flex-direction: row-reverse;
    background: url(../images/bg.jpg) no-repeat 22% center;
    background-size: cover;
    padding: 0;
    overflow: hidden;
  }
  .contenu {
    width: 50%;
    flex: 1 1 50%;
    max-width: unset;
    margin: unset;
    box-shadow: none;
  }
  .contenu header, .contenu main {
    max-width: 90%;
  }
  .bg {
    display: block;
    width: 50%;
    flex: 1 1 50%;
    height: initial;
  }
  .contenu main{
    flex-direction: row;

    min-height: 46rem;
  }
  .img_input{
    max-width: 50%;
    height: auto;
  }
  .form_input{
  max-width: 33rem;
  margin: 0 auto;
  width: 100%;
  }
  #fields .field:first-child{
    margin-top: 3rem;
  }
  h2{
    margin-bottom: 0.6rem;
  }
  h3 {
    margin-bottom: 3rem;
  }
  #logo{
    margin-bottom: 3rem;
  }
}

@-webkit-keyframes jelly {
  25% {
    -webkit-transform: scale(0.9, 1.1);
    transform: scale(0.9, 1.1);
  }
  50% {
    -webkit-transform: scale(1.1, 0.9);
    transform: scale(1.1, 0.9);
  }
  75% {
    -webkit-transform: scale(0.95, 1.05);
    transform: scale(0.95, 1.05);
  }
}

@keyframes jelly {
  25% {
    -webkit-transform: scale(0.9, 1.1);
    transform: scale(0.9, 1.1);
  }
  50% {
    -webkit-transform: scale(1.1, 0.9);
    transform: scale(1.1, 0.9);
  }
  75% {
    -webkit-transform: scale(0.95, 1.05);
    transform: scale(0.95, 1.05);
  }
}

@media screen and (max-height: 767px) and (min-width: 960px) {
  #logo {
    margin-top: 0;
  } 
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 13px;
  }
  #page {
    background: url(../images/bg.jpg) no-repeat center top;
    background-size: cover;
  }
  .contenu {
    width: 46%;
    flex: 1 1 46%;
    position: relative;
    z-index: 1;
    height: 75%;
    background: rgba(255, 255, 255, 0);
    margin: 0 auto;
  }
  .bg{
    width: 54%;
    flex: 1 1 54%;
  }
  .sous-div{
    margin-left: 2.5rem;
  } 
  .contenu main {
    flex-direction: row;
    min-height: 38rem;
}
h3 {
  margin-bottom: 3rem;
}
}
@media screen and (min-width: 1200px) and (min-height: 890px) {
  h3 {
    margin-bottom: 4rem;
  }
}
@media screen and (min-width: 1600px) and (min-height: 780px) {
  html {
    font-size: 15px;
  }
  .contenu header, .contenu main {
    width: 100%;
    max-width: 1350px;
  }
}

@media screen and (min-width: 1900px) {
  html {
    font-size: 15px;
  }
}

@media all and (-ms-high-contrast: none) and (max-width: 961px), (-ms-high-contrast: active) and (max-width: 961px) {
  #page {
    background: #fff;
    display: block;
  }
  .contenu {
    box-shadow: none;
  }
}

@media all and (-ms-high-contrast: none) and (min-width: 960px), (-ms-high-contrast: active) and (min-width: 960px) {
  #page {
    min-height: 100vh;
  }
}
