/*//////////////////////////////////////////////////////////////////
[ RESTYLE TAG ]*/

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  font-family: Arial;
}

#openix {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: black;
  margin-top: 10%;
  text-decoration: none;
  outline: none;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

#openix span {
  color: darkblue;
  margin-left: 1%;
  outline: none;
}

#openix:active,
#openix:focus,
#openix:hover {
  outline: 0;
  text-decoration: none;
}

#inputTexte {
  margin-top: 5%;
  margin-bottom: 5%;
}

/*---------------------------------------------*/
a {
  font-family: Arial;
  font-size: 14px;
  line-height: 1.7;
  color: #666666;
  margin: 0px;
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
}

a:focus {
  outline: none !important;
}

#iframe {
  visibility: hidden;
}

a:hover {
  text-decoration: none;
  color: #6a7dfe;
  color: -webkit-linear-gradient(left, #21d4fd, #b721ff);
  color: -o-linear-gradient(left, #21d4fd, #b721ff);
  color: -moz-linear-gradient(left, #21d4fd, #b721ff);
  color: linear-gradient(left, #21d4fd, #b721ff);
}

/*---------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0px;
}

p {
  font-family: Arial;
  font-size: 14px;
  line-height: 1.7;
  color: #666666;
  margin: 0px;
}

ul,
li {
  margin: 0px;
  list-style-type: none;
}


/*---------------------------------------------*/
input[type="text"] {
  width: 100%;
  border: 1px solid #cccccc;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 20px;
  font-size: 16px;
}

/*---------------------------------------------*/
button {
  outline: none !important;
  border: none;
  background: transparent;
}

button:hover {
  cursor: pointer;
}

iframe {
  border: none !important;
}


/*//////////////////////////////////////////////////////////////////
[ Utility ]*/
.txt1 {
  font-family: Arial;
  font-size: 13px;
  color: #666666;
  line-height: 1.5;
}

.txt2 {
  font-family: Arial;
  font-size: 13px;
  color: #333333;
  line-height: 1.5;
}

/*//////////////////////////////////////////////////////////////////
[ login ]*/

.limiter {
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.container-login100 {
  display: flex;
  height: 100%;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background: #f2f2f2;
}

#ouvrirPorte {
  background: rgba(0, 113, 227, 0.9);
  border-radius: 999px;
  box-sizing: border-box;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  opacity: 1;
  outline: 0 solid transparent;
  padding: 8px 18px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: fit-content;
  word-break: break-word;
  border: 0;
  margin: auto;
}

.container-login100-form-btn {
  width: 100%;
  text-align: center;
}

.wrap-login100 {
  width: 30%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  padding: 37px 25px 15px 25px;

  box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
  -o-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
  -ms-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
}


/*------------------------------------------------------------------
[ Form ]*/

.login100-form {
  width: 100%;
}

.login100-form-title {
  display: block;
  font-family: Arial;
  font-size: 30px;
  color: #333333;
  line-height: 1.2;
  text-align: center;
}

.login100-form-title i {
  font-size: 60px;
}

/*------------------------------------------------------------------
[ Input ]*/

.wrap-input100 {
  width: 100%;
  position: relative;
  margin-bottom: 37px;
}

#identifiant {
  font-family: Arial;
  font-size: 19px;
  line-height: 1.2;

  display: block;
  width: 100%;
  height: 45px;
  background: transparent;
  padding: 0 0 0 5px;
}

#identifiant::placeholder {
  font-size: 15px;
}


/*---------------------------------------------*/
.focus-input100 {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.focus-input100::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;

  background: #6a7dfe;
  background: -webkit-linear-gradient(left, #21d4fd, #b721ff);
  background: -o-linear-gradient(left, #21d4fd, #b721ff);
  background: -moz-linear-gradient(left, #21d4fd, #b721ff);
  background: linear-gradient(left, #21d4fd, #b721ff);
}

.focus-input100::after {
  font-family: Arial;
  font-size: 15px;
  color: #999999;
  line-height: 1.2;

  content: attr(data-placeholder);
  display: block;
  width: 100%;
  position: absolute;
  top: 16px;
  left: 0px;
  padding-left: 5px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}


.validate-input {
  position: relative;
}

.alert-validate::before {
  content: attr(data-validate);
  position: absolute;
  max-width: 70%;
  background-color: #fff;
  border: 1px solid #c80000;
  border-radius: 2px;
  padding: 4px 25px 4px 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 0px;
  pointer-events: none;

  font-family: Arial;
  color: #c80000;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;

  visibility: hidden;
  opacity: 0;

  -webkit-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  -moz-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.alert-validate::after {
  content: "\f06a";
  font-family: Arial;
  font-size: 16px;
  color: #c80000;

  display: block;
  position: absolute;
  background-color: #fff;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 5px;
}

.alert-validate:hover:before {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 992px) {
  .alert-validate::before {
    visibility: visible;
    opacity: 1;
  }
}

.error-message {
  position: fixed;
  width: 80%;
  height: 100px;
  top: 7%;
  left: 0;
  right: 0;
  margin: auto;
  padding: 2% 5%;
  background-color: #f44336;
  color: white;
  border-radius: 10px;
  text-align: center;
  font-size: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  animation: slideDown 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#welcome-message {
  margin-bottom: 8%;
}

.welcome-message {
  position: fixed;
  width: 80%;
  height: 100px;
  top: 7%;
  left: 0;
  right: 0;
  margin: auto;
  padding: 2% 5%;
  background-color: #4CAF50;
  color: white;
  border-radius: 10px;
  text-align: center;
  font-size: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  animation: slideDown 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Définir les étapes de l'animation d'entrée */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Styles pour les écrans plus larges (ordinateurs) */
@media (min-width: 768px) {
  .welcome-message {
    width: 50%;
    /* Réduire la largeur pour les écrans plus larges */
  }

  .error-message {
    width: 50%;
    /* Réduire la largeur pour les écrans plus larges */
  }
}

#choix-container {
  display: flex;
}

#immeuble-container {
  margin-right: 5%;
}

#appartement-container {
  margin-left: 5%;
}

.radio-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 3px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  transition: border-color 0.3s ease;
}

.active {
  border-color: #079ad9;
}

#label_password {
  text-align: left;
}

input[type="radio"] {
  display: none;
}

#label_selection {
  text-align: left;
  margin-left: 0px
}

.selection {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  color: black;
  margin-bottom: 15%;

  p {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-size: 105%;
    text-align: center;
    margin: 0.5rem;
    color: black;
  }

  img {
    width: 40%;
  }
}

@media only screen and (max-width: 680px) {
  .wrap-login100 {
    width: 100%;
  }

  .welcome-message {
    width: 80%;
    padding-top: 20%;
    padding-bottom: 20%;
  }
}

@media only screen and (min-width: 681px) and (max-width: 1200px) {
  .wrap-login100 {
    width: 60%;
  }

  .welcome-message {
    width: 80%;
    padding-top: 20%;
    padding-bottom: 20%;
  }
}