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

html {
  height: 100%;
  font-size: 10px;
}

body {
  height: 100%;
  margin: 0;
  background-color: #fff;
  color: #000;
  font-size: 1.2rem;
  /*font-family: "The group TEXT", "Arial", sans-serif;*/
  font-weight: 400;
}

a {
  text-decoration: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 10000s ease-in-out 0s, box-shadow 10000s ease-in-out 0s !important;
  -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.6) inset !important;
  -webkit-text-fill-color: #707070 !important;
}

input::placeholder {
  color: #707070 !important;
  opacity: 1;
}

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
  color: #707070 !important;
  opacity: 1 !important;
}

.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;
}

#page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
}




.small-only {
  display: block;
}

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

.bg {
  order: -1;
  width: 100%;
  height: 14vh;

  flex: 0 0 auto;
  /*display: none;*/

  background: url(../images/cos_background.webp) no-repeat center center;
  background-size: cover !important;
}

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

div.hr {
  margin: 1.33rem 0;
}

#logo {
  width: 100%;
  max-width: 28.6rem;
  min-width: 100px;
  margin: auto;
  /*margin-bottom: 3rem;*/
  /*margin-top: 2rem;*/
}

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

h2 {
  margin: 0;
  color: #648AA5;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3vw + 1rem, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  margin-top: 2rem;
  width: 100%;
  font-family: 'Roboto', sans-serif;
}

h2:last-of-type {
  margin-bottom: 2rem;
}

h3 {
  margin: 0;
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
}

.instructions {
  color: #282828;
  font-size: 1.6rem;
  font-family: 'Roboto','Arial',sans-serif;
  line-height: 1.2;
  margin-bottom: 1.6rem;
  font-weight: 500;
}
.instructions span.color{
  color: #457193;
}

#fields {
  box-sizing: border-box;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
}

#fields .field {
  position: relative;
  margin: 0;
  height: 4.27rem;
  border: 1px solid #aca3a3;
  border-radius: 3px;
  /*box-shadow: 0 2px 4px rgb(0 0 0 / 43%);*/
  box-shadow: 0 4px 3px rgb(0 0 0 / 24%);
  margin-bottom: 2.33rem;
}



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

#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 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: 4.27rem;
  width: 4.27rem;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  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.4rem !important;
  font-weight: 500;
  font-family: "Roboto", sans-serif !important;
  color: #707070 !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 60px;
  width: calc(100% - 60px);
  height: 90% !important;
  border-bottom: 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: rgba(255, 255, 255, 0.6);*/
  color: #707070;
  box-shadow: none;
  outline: 0;
}

#oubli_form {
  text-align: right;
  font-family: "Roboto", sans-serif;
  font-weight: normal;
  font-size: 1.1rem;
  font-weight: 500;
  color: #282828;
  position: relative;
  margin-top: -0.5rem;
  margin-bottom: 0.75rem;
  max-width: 100%;
  width: 100%;
}

#oubli_form a {
  color: unset;
  color: #282828;
  text-decoration: none;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  
}

#oubli_form a::before {
  content:'';
  border-top: 1px solid #ebeaea;
  max-width: 100%;
  width: 100%;
  display: flex;
}

#oubli_form span{
  min-width: 12rem;
}


#oubli_form a .color {
  /*transition: all 0.3s;*/
}

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

.button_form {
  /*width: 14rem;*/

  font-family: "Roboto", sans-serif;
  color: #fff;
  text-transform: uppercase;
  display: inline-flex;
  margin: 1rem 0 0;
  transition: all 0.3s ease-in-out;
  margin-top: 2rem;
  align-items: center;
  background-color: #BC404B;
  border: none;
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 700;
  justify-content: center;
  line-height: 1.625;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 100%;
  padding: 10px 0;
  /*width: -moz-fit-content;*/
  /*width: fit-content;*/

  span {
    transition: all .4s;
  }

  &::after
  {
    display: block;
    background-image: url(../images/icon-right.png);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
    height: 30px;
    position: relative;
    transition: all .4s;
    width: 30px;
  }


  /*&:after {
    right: 28%;
  }*/


  /*&:hover {*/
  /*  span {*/
  /*    transform: translateX(42px);*/
  /*  }*/

  /*  &::before {*/
  /*    transform: translateX(100%);*/
  /*  }*/

  /*  &:after {*/
  /*    transform: translateX(200%);*/
  /*  }*/


  /*}*/
}



.button_form:hover {
  /*background-color: #5058b7;*/
}

.button_form .arrow {
  display: inline-block;
  vertical-align: middle;
  width: auto;
  height: 38%;
  position: relative;
  margin-left: 1.5rem;
}

.button_form .arrow svg {
  fill: #fff;
  position: absolute;
  top: 0;
  left: 0;
}

@media screen and (min-height: 800px) {
  .contenu {
    justify-content: center;
  }
}

@media screen and (min-width: 600px) {
  #page {
    min-height: 100%;
    display: flex;
    flex-direction: row;
    padding: 0;
  }
  .small-only {
    display: none;
  }
  div.hr {
    margin: 30px 0;
  }
  
  .contenu {
    justify-content: center;
    height: 75%;
    /*flex: 0 0;*/
    flex: 1 1 auto;
    margin: auto;
    width: 100%;
    padding: 2rem;
  }

  
  .bg {
    /*display: none;*/
  }


  .bg {
    order: 1;
    width: 33vw;
    /*height: 100%;*/

    flex: 0 0 auto;

    display: block;
    order: 1;
    height: initial;
    position: relative;
    overflow: hidden;
    /*display: none;*/

  }

  header, main, footer {
    width: 80%;
  }
}


@media screen and (min-width: 960px) {
  html {
    /*font-size: 11px;*/
  }
  #logo {
    margin-top: 0;
  }
  #page {
    min-height: 100%;
    display: flex;
    flex-direction: row;
    padding: 0;
  }
  #page .bg {
    background-repeat: no-repeat;
    background-size: 80% auto;
    background-position: left center;
    background:  url(../images/cos_background.webp) no-repeat center center;
    background-size: cover;
  }

  #page .contenu {
    background: none;
  }

  .contenu {
    width: 55%;
    flex: 1 1 auto;
    height: initial;
    margin: initial;
    background: none;
    background-color: transparent;
    box-shadow: none;

  }
  .bg {
    display: block;
    width: 50%;
    flex: 1 1 50%;
    order: 1;
    background: transparent;
    height: initial;
    position: relative;
    overflow: hidden;
  }
}

@media screen and (min-width: 1200px) {
  html {
    /*font-size: 11px;*/
  }

  
  .contenu {
    width: 50%;
    /*flex: 1 1 45.3%;*/
    /*max-width: 76rem;*/
    max-width: 70rem;

  }
  .bg {
    width: 50%;
    flex: 1 1 50%;
  }
  header, main, footer {
    width: 62%;
    /*width: 100%;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  header .hr {
    margin: 2rem 0 2.87rem;
  }
  #fields .field {
    height: 4.93rem;
  }
  #fields label {
    width: 4.93rem;
  }
  #fields input[type=email], #fields input[type=text], #fields input[type=password] {
    left: 6.67rem;
    width: calc(100% - 6.67rem);
  }
  footer {
    margin-top: 6.6rem;
  }
}

@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 {
    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, .contenu {
    min-height: 100vh;
  }
  .bg {
    min-height: 100vh;
  }
}

@media screen and (max-width:600px) {
  .bg{
    display: none !important;
  }
}