@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: "Poppins", "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: #3d3d3d !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  font-style: italic;
  color: #3d3d3d !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 {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  background-color: #ffffff;
}

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  background-color: transparent;
  flex: 1 1 100%;
  padding: 7rem 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-content: center;

}


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

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

div.hr {
  margin: 1.67rem 0 4rem;
}

div.hr.color {
  background-color: #9511ef;
  height: 3px;
  width: 3.6rem;
}

#logo {
  width: 100%;
  /* max-width: 25.07rem;
  min-width: 100px; */
  margin-bottom: 4.67rem;
    margin-left: 15rem;
}

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

h2 {
  margin: 0;
  color: #074374;
  font-size: 4.2rem;
  font-weight: bold;
  font-family: "Poppins", "Arial", sans-serif;
}

h3 {
  margin: 0;
  margin-bottom: 5rem;
  color: #bf8b18;
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1;
  font-family: "Poppins", "Arial", sans-serif;
  letter-spacing: -1.5px;
}

.instructions {
  color: #bf8b18;
  font-size: 1.3rem;
  line-height: 1.5;
  font-weight: normal;
  margin-bottom: 2.33rem;
}

#fields {
  box-sizing: border-box;
  overflow: hidden;
  background-color: #fff;
  /* box-shadow: 0px 1px 32px 0px rgba(55, 55, 55, 0.17); */
  /* border: none; */
  /* border-radius: 7px; */
  max-width: 38rem;

}

#fields .field {
  position: relative;
  background-color: #fff;
  margin: 0;
  height: 4.5rem;
  margin-bottom: 1rem;
  color: #3d3d3d;
  border: 1px solid #333333;
  border-radius: 5px;

}

#fields .field:first-of-type {
  /* border-top: 0; */
  background-color: #fff;

}

#fields .field:first-of-type label {
  margin-left: 0;
}

#fields .field:first-of-type input[type=email],
#fields .field:first-of-type input[type=text],
#fields .field:first-of-type input[type=password] {
  margin-left: 0;
}

#fields .field:first-of-type input[type=email] + span.label,
#fields .field:first-of-type input[type=text] + span.label,
#fields .field:first-of-type input[type=password] + span.label {
  margin-left: 0;
}

#fields .field:last-of-type {
  background-color: transparent;
}

#fields .field:last-of-type label {
  margin-left: 0;
}

#fields .field:last-of-type input[type=email],
#fields .field:last-of-type input[type=text],
#fields .field:last-of-type input[type=password] {
  margin-left: 0;
}

#fields .field:last-of-type input[type=email] + span.label,
#fields .field:last-of-type input[type=text] + span.label,
#fields .field:last-of-type input[type=password] + span.label {
  margin-left: 0;
}

#fields label {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 100%;
  text-align: center;
  margin-left: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#fields label img {
  height: 24px;
  width: auto;
}

#fields input[type=email],
#fields input[type=text],
#fields input[type=password] {
  font-size: 1.2rem !important;
  font-weight: 300;
  font-family: "Poppins", "Arial", sans-serif !important;
  color: #3d3d3d !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 50px;
  width: calc(100% - 50px);
  height: 77% !important;
  border: 0;
  box-sizing: border-box;
  margin-bottom: 0;
}

#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: #3d3d3d;
  box-shadow: none;
  outline: 0;
}

#fields input[type=email] + span.label,
#fields input[type=text] + span.label,
#fields input[type=password] + span.label {
  color: #333333!important;
  font-size: 1.33rem !important;
  font-weight: bold;
  font-family: "Poppins", "Arial", sans-serif !important;
  transition: all 0.3s !important;
  position: absolute;
  text-align: center;
  left: 50px;
  top: 50%;
  margin-left: 3px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  z-index: 1;
}

#fields input[type=email] + span.label.active,
#fields input[type=text] + span.label.active,
#fields input[type=password] + span.label.active {
  font-size: 0.9975rem !important;
  -webkit-transform: translateY(calc(-50% - 10px));
  transform: translateY(calc(-50% - 10px));
}

#fields input[type=email]:focus:not([readonly]),
#fields input[type=text]:focus:not([readonly]),
#fields input[type=password]:focus:not([readonly]) {
  box-shadow: none;
  border-bottom-color: #fbbf36;
}

.button_form {
  height: 3.8rem;
  width: 16rem;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: normal;
  font-size: 1.47rem;
  color: #ffffff;
  background-color: #074374;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0rem 0 0;
  text-align: center;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.button_form:hover {
  background-color: #c99611;
}

.btns {
  margin: 2.33rem 0 5rem;
  display: flex;
}

.btns .button_form {
  padding-left: 10px;
  padding-right: 10px;
}

#oubli_form {
  text-align: right;
  font-family: "Poppins", "Arial", sans-serif;
  font-weight: 300;
  margin-top: 1.2rem;
  max-width: 38rem;
  /* text-decoration: underline; */

}

#oubli_form a {
  color: #074374;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  border-bottom: 1px solid #074374;
  padding-bottom: 1px;
}

#oubli_form a:hover {
  color: #c99611;
}
/* 
footer {
  color: #aac1cc;
  font-family: "Lato", "Arial", sans-serif;
  font-size: 1.2rem;
  font-weight: normal;
} */

footer a {
  color: unset;
  transition: color 0.3s;
}

footer a:hover {
  color: #fea620;
}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    background-size: cover;
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 1.67rem 0 4rem;
  }
  .contenu {
    justify-content: center;
    height: 75%;
    flex: 0 0;
    margin: auto;
    width: 75%;
    background-color: transparent;
    margin-top: -4rem;
    /* box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.25); */
  }
  .bg {
    display: none;
  }
  header, main, footer {
    width: 75%;
  }
  #logo {
    width: 100%;
    display: block;
    margin-left: 24rem;
    min-width: 100px;
    margin-bottom: -5.33rem;
    direction: rtl;

  }
}

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

@media screen and (min-width: 960px) {
  html {
    font-size: 11px;
  }
  #page {
    min-height: 100%;
    display: flex;
    flex-direction: row;
    background: url(../images/bg.jpg) no-repeat left center;
    background-size: cover;
    padding: 0;
  }
  .contenu {
    width: 50%;
    flex: 1 1 50%;
    height: initial;
    /* margin: initial; */
    background-color: transparent;
    box-shadow: none;
  }
  .bg {
    background: transparent;
    order: 0;
    display: block;
    width: 50%;
    flex: 1 1 50%;
    height: initial;
    position: relative;
    overflow: hidden;
  }
  .btns .button_form {
    padding-left: 0;
    padding-right: 0;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 11px;
  }
  .contenu {
    width: 39.8%;
    flex: 1 1 39.8%;
  }
  .bg {
    width: 60.2%;
    flex: 1 1 60.2%;
  }
 
  header, main, footer {
    width: 80%;
    margin-left: 17%;
  }
  header .hr {
    margin: 1.67rem 0 4rem;
  }
  #fields {
    /* box-shadow: 0px 1px 32px 0px rgba(55, 55, 55, 0.17); */
  }
  #fields .field {
    height: 6.53rem;
    /*&:first-of-type {
				//border-left-width: 7px;
			}*/
  }
  #fields label {
    width: 6.67rem;
  }
  #fields label img {
    height: 30px;
  }
  #fields input[type=email],
  #fields input[type=text],
  #fields input[type=password] {
    left: 6.67rem;
    width: calc(100% - 6.67rem);
    height: 75px;
  }
  #fields input[type=email] + span.label,
  #fields input[type=text] + span.label,
  #fields input[type=password] + span.label {
    left: 6.67rem;
  }
  /*	.button_form {
		//height: 4rem;
	}*/
}


@media screen and (max-width:480px){
  #logo {
    width: 48%;
    display: block;
    margin-left: 8rem;
    margin-right: auto;
    min-width: 100px;
    margin-bottom: 4.67rem;
  }
}

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

@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;
  }
  .contenu,
  .bg {
    min-height: 100vh;
  }
  /*.bg {
		.illu_1, .illu_2 {
			opacity: 0.65;
		}
	}*/
}

/*
@supports not (mix-blend-mode: multiply) {
	.bg {
		.illu_1, .illu_2 {
			opacity: 0.65;
		}
	}
}

*/

@media screen and (max-width: 960px){
#logo {
    width: 50%;
    display: block;
    margin-left: 10rem;
    min-width: 100px;
    margin-bottom: 3.67rem;
    direction: inherit;
}}