@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url(https://fonts.gstatic.com/s/montserrat/v30/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCs16Hw5aX8.ttf) format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/montserrat/v30/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Hw5aX8.ttf) format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url(https://fonts.gstatic.com/s/montserrat/v30/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtZ6Hw5aX8.ttf) format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url(https://fonts.gstatic.com/s/montserrat/v30/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCuM73w5aX8.ttf) format('truetype');
}
/* -------------------------------------------------------------------------------------------------------- */
/* STYLE DES PAGES D'ERREURS
	- login
	- erreur de subdomain
	- erreur appli
*/
/* -------------------------------------------------------------------------------------------------------- */
.login {
  border: 5px solid #FFF;
  border-radius: 5px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
  -moz-border-radius: 5px;
  padding: 15px 20px 20px 20px;
  height: auto;
  background-image: linear-gradient(#5b7e9b, #b9caD9);
  margin: auto;
  margin-top: 30px;
  padding-top: 20px;
  font-size: 16px;
}
.login .title {
  color: #FFF;
  font-size: 20px;
  font-weight: bold;
  z-index: 9999;
}
.login dt {
  background: none;
  color: #FFF;
  font-weight: bold;
  font-size: 16px;
  padding-top: 10px;
}
.login input {
  margin-top: 2px;
  width: 200px;
}
dt,
.label {
  background: none repeat scroll 0 0 #fefefe;
  border: 1px dashed #b9cad9;
  border-radius: 2px;
  display: block;
  float: left;
  text-align: center;
}
#messages {
  margin-left: 20px;
}
.fatal {
  background: url("../../images/btn_cross.png") no-repeat scroll 5px center #c33214;
  color: #fff;
  border-radius: 5px;
  padding: 5px 20px 5px 50px;
  width: 350px;
}
.error {
  margin-left: 30px;
  color: #000;
}
.error a {
  color: #FFF;
}
/*------------------------------------*\
       CSS NG
\*------------------------------------*/
html,
body {
  background-color: #e3eaf1;
  font-family: 'Montserrat', serif;
}
.btn-fluid {
  width: 100%;
  white-space: normal !important;
  word-wrap: break-word;
}
.agd-form-little-separator {
  height: 25px;
}
.agd-form-big-separator {
  height: 75px;
}
.login_ng {
  background: #F4F7F8 url(../../images/background/bg-body.png) no-repeat top / 100% auto;
  min-height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: unset;
}
.login_ng div.h2 {
  text-align: center;
}
.sub-login {
  margin-top: 10%;
  background: #fff;
  opacity: 0.9;
  padding: 30px;
}
.footer-login {
  position: absolute;
  bottom: 20px;
  right: 0px;
  color: #fff;
}
div .btn-default,
div .btn-default i {
  background: #354858;
  color: #fff;
}
.btn-primary {
  border-color: #2e6da4;
}
div .btn-default:focus,
div .btn-default:hover {
  color: #fff !important;
  background-color: #1d2c3b !important;
  border-color: #2c3135 !important;
}
.form-horizontal .form-group-sm .control-label {
  padding-top: 6px;
  font-size: 15px;
}
.form-horizontal .control-label {
  margin-bottom: 0;
  text-align: right;
}
.form-group-sm .form-control {
  height: 35px;
}
label {
  font-size: 15px;
  padding: 5px;
  color: #465867;
  font-weight: 400;
  display: inline-block;
  max-width: 100%;
}
.shadow {
  box-shadow: 10px 10px 35px 0 rgba(0, 0, 0, 0.2);
}
.col-btn {
  margin-bottom: 15px !important;
}
@media (min-width: 768px) and (max-width: 979px) {
  .form {
    margin: 0 !important;
  }
}
@media (max-width: 450px) {
  .col-btn {
    margin-left: 0 !important;
    width: 100% !important;
    text-align: center;
  }
  .sub-login {
    margin-top: 35%;
  }
  #logo_agedi {
    width: 110px;
  }
  .agd-form-big-separator {
    height: 10px;
  }
}
@media (max-width: 991px) {
  .sub-login {
    margin-left: 15px;
    margin-right: 15px;
  }
}
.pxa-login {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  position: absolute;
  width: 497px;
  min-height: 297px;
  left: calc(100% / 2 - 248px);
  top: 250px;
  background: #ffffff;
  box-shadow: 0px 5px 16px rgba(1, 9, 53, 0.05);
  border-radius: 16px;
  padding: 16px;
}
@media (max-width: 500px) {
  .pxa-login {
    width: 300px !important;
    left: calc(100% / 2 - 150px);
  }
  .form-control {
    float: right;
    width: 130px;
  }
}
@media (max-width: 300px) {
  .pxa-login {
    width: 200px !important;
    left: calc(100% / 2 - 100px);
  }
  .form-control {
    float: right;
    width: 75px;
  }
  .dx-field-label {
    width: 30px !important;
  }
}
.pxa-login-title {
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #0f161c;
}
.dx-field-label {
  text-overflow: unset !important;
  font-size: 16px;
}
form .dx-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  margin-top: 25px;
  padding-bottom: 10px;
  border-bottom: 1px solid #F6F6F6;
}
form .dx-field:nth-last-child(2) {
  border-bottom: none;
}
.dx-field-value {
  margin-left: 50px;
  width: 300px;
}
.form-control:focus {
  outline: none !important;
  border: #354858 1px solid !important;
}
