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

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  font-style: italic;
  color: #3e1907 !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: transparent url(../images/bg.jpg) no-repeat center center;
  background-size: cover;
}

.small-only {
  display: block;
}

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

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

header, footer, main {
  width: 90%;
  margin: 0 auto;
  max-width: 33.93rem;
}

div.hr {
  margin: 1.33rem 0;
}

#logo {
  width: 100%;
  max-width: 100%;
  min-width: 100px;
  margin-bottom: 3.67rem;
}

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

h2 {
  margin: 0;
  color: #3e1907;
  font-size: 3.87rem;
  font-weight: bold;
  font-family: "Open Sans", "Arial", sans-serif;
  letter-spacing: 0.06rem;
}

h3 {
  margin: 0;
  margin-bottom: 2rem;
  color: #86726c;
  font-size: 2rem;
  font-weight: normal;
  line-height: 1.25;
  font-family: "Open Sans", "Arial", sans-serif;
  letter-spacing: 0.04rem;
}

.instructions {
  color: #3e1907;
  font-size: 1.46rem;
  line-height: 1.2;
  font-weight: normal;
  margin-bottom: 4.67rem;
}

.instructions .color {
  font-weight: bold;
}

#fields {
  box-sizing: border-box;
}

#fields .field {
  position: relative;
  background-color: #fff;
  height: 3.2rem;
  border: 2px solid #dbdbdb;
  border-radius: 1.6rem;
}

#fields .field:first-child {
  margin-bottom: 3rem;
}

#fields .field:last-child {
  margin-bottom: 2rem;
}

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

#fields label img {
  height: 65%;
  width: auto;
}

#fields label:after {
  content: '';
  border-right: 1px solid #a1c1d1;
  opacity: 0.2;
  position: absolute;
  top: 5px;
  bottom: 5px;
  right: 0;
  width: 100%;
}

#fields input[type=email],
#fields input[type=text],
#fields input[type=password] {
  font-size: 1.2rem !important;
  font-weight: normal;
  font-family: "Metropolis", "Arial", sans-serif !important;
  color: #3e1907 !important;
  /*&#password {
			color: $couleur-active !important;
			//font-size: 1.5rem !important;
		}*/
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 7.73rem;
  width: calc(100% - 7.73rem);
  border-bottom: 0;
  height: 100% !important;
  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: #3e1907;
  box-shadow: none;
  outline: 0;
}

#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: #6ab46f;
}

.button_form {
  height: 3.4rem;
  width: 14.13rem;
  font-family: "Metropolis", Arial, sans-serif;
  font-weight: normal;
  font-size: 1.4rem;
  color: #fff;
  background-color: #6ab46f;
  border-radius: 1.7rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 3.33rem auto 0;
  margin-left: auto;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.button_form:hover {
  background-color: #944e1c;
}

#oubli_form {
  text-align: right;
  font-family: "Metropolis", "Arial", sans-serif;
  font-weight: normal;
  margin-top: 1.13rem;
  color: #3e1907;
}

#oubli_form a {
  color: unset;
  text-decoration: none;
}

#oubli_form a:hover {
  color: #944e1c;
}

footer {
  margin-top: 30px;
  color: #7e7a83;
  font-family: "source_ss_pro", "Arial", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
}

footer a {
  color: unset;
}

footer a:hover {
  color: #944e1c;
}

@media screen and (max-width: 599px) {
  #logo {
    margin-bottom: 2rem;
  }
  h2 {
    font-size: 3.2895rem;
  }
  h3 {
    font-size: 1.7rem;
  }
  .instructions {
    margin-bottom: 2rem;
  }
}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
    background: url(../images/bg.jpg) no-repeat center center;
    background-size: cover;
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  .contenu {
    justify-content: center;
    height: 75%;
    flex: 0 0;
    margin: auto;
    width: 55%;
    background-image: none;
    box-shadow: 2px 23px 51px 0px rgba(1, 1, 1, 0.1);
  }
  .bg {
    display: none;
  }
  header, main, footer {
    width: 75%;
  }
}

@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-position: left center;
    padding: 0;
    background: none;
  }
  .contenu {
    width: 50%;
    flex: 1 1 50%;
    height: initial;
    margin: initial;
    background-color: #fff;
    box-shadow: none;
    background: url(../images/illu.png) no-repeat bottom left;
    background-size: cover;
  }
  .bg {
    background: transparent;
    background: #023368;
    background: url(../images/bg.jpg) no-repeat left center;
    background-size: cover;
    order: 1;
    padding-top: 37%;
    display: block;
    width: 50%;
    flex: 1 1 50%;
    height: initial;
    position: relative;
    overflow: hidden;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 11px;
  }
  .contenu {
    width: 38.7%;
    flex: 1 1 38.7%;
  }
  .bg {
    width: 61.3%;
    flex: 1 1 61.3%;
  }
  header, main, footer {
    width: 64%;
  }
  header .hr {
    margin: 2rem 0 2.87rem;
  }
  /*#fields {
		//max-width: 34.27rem;

		@if (map-has-key($fields, 'shadow-lg')) {
			box-shadow: map-get($fields, 'shadow-lg');
		}

		.field {
			@if (map-has-key($field, 'lg') and map-has-key(map-get($field, 'lg'), 'height')) {
				height: map-get(map-get($field, 'lg'), 'height');
			}

			//padding-left: 7px;
			&:first-of-type {
				//border-left-width: 7px;
			}
		}

		label { // images
			//width: 6.67rem;
			//margin-left: 7px;

			img {
				//height: 35px;
			}
		}

		input[type=email],
		input[type=text],
		input[type=password] {
			@if (map-has-key($field, 'has-image') and map-get($field, 'has-image') == true) {
				left: 6.67rem;
				width: calc(100% - 6.67rem);
			}
			height: 75px;
			//margin-left: 7px;
			@if (map-has-key($field, 'has-image') and map-get($field, 'has-image') == true) {
				& + span.label {
					//margin-left: 7px;
					left: 6.67rem;
				}
			}
		}
	}*/
}

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

@media screen and (min-width: 1900px) and (min-height: 1080px) {
  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;
  }
  .contenu,
  .bg {
    min-height: 100vh;
  }
  .bg .illu_1, .bg .illu_2 {
    opacity: 0.65;
  }
}

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