html,
body {
  height: 100%;
}

/* Spinner pour requêtes AJAX */
#global-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;
}

#global-spinner {
  width: 100px;
  height: 100px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.wrap {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap .maintenance {
  padding: 8px;
  font-weight: bold;
  font-size: 20px;
  background: orange;
  text-align: center;
}

.wrap > .custom-container {
  flex: 1;
  display: flex;
  background: white;
  overflow: hidden;
}

.jumbotron {
  text-align: center;
  background-color: transparent;
}

.jumbotron .btn {
  font-size: 21px;
  padding: 14px 24px;
}

.not-set {
  color: #c55;
  font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: "Glyphicons Halflings";
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  padding-left: 5px;
}

a.asc:after {
  content: /*"\e113"*/ "\e151";
}

a.desc:after {
  content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
  content: "\e153";
}

.sort-numerical a.desc:after {
  content: "\e154";
}

.sort-ordinal a.asc:after {
  content: "\e155";
}

.sort-ordinal a.desc:after {
  content: "\e156";
}

.hint-block {
  display: block;
  margin-top: 5px;
  color: #999;
}

.error-summary {
  color: #a94442;
  background: #fdf7f7;
  border-left: 3px solid #eed3d7;
  padding: 10px 20px;
  margin: 0 0 15px 0;
}

.background-expired {
  font-family: "Arial", sans-serif;
  background-color: #1e3050;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  margin: 0;
}

.expired-container {
  text-align: center;
  background: white;
  border-radius: 8px;
  padding: 5vh 1vw;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 40%;
  font-family: "Manrope-Regular", sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.expired-container .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  width: 50%;
  height: 30%;
  margin: auto;
  /* margin-bottom: 3vh; */
}

.expired-container .logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.expired-container h1 {
  font-size: 24px;
  color: #1e3050;
}

.expired-container h2 {
  font-size: 20px;
  color: #1e3050;
}

.expired-container h3 {
  font-size: 16px;
  color: #1e3050;
}

.expired-container .button {
  font-size: 16px;
  margin-top: 2vh;
  min-width: 10vw;
}

.expired-container .button:hover {
  background-color: #00aacc;
  color: white;
}

.error-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-height: 100vh;
  width: 100%;
  overflow: auto;
}

.error-box {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0px 8px 20px rgba(13, 82, 146, 0.2);
  text-align: center;
  max-width: 80%;
  width: 50%;
  height: 50%;
  animation: fadeIn 0.5s ease-in-out;
}

.error-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  width: 50%;
  height: 30%;
  margin: auto;
  margin-bottom: 3vh;
}
.error-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.error-title {
  color: #36568d;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 12px;
}

.error-message {
  font-size: 16px;
  color: #555;
  margin: 25px;
  width: 95%;
}

.error-detail {
  font-size: 16px;
  color: #555;
  margin: 25px;
  width: 95%;
}

.error-actions {
  margin-top: 15px;
}

.error-button {
  background-color: #36568d;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 19px;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.error-button:hover {
  transform: scale(1.05);
  color: white;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-login .form-wrapper {
  margin: 0 auto;
  text-align: center;
}

.site-login .auto-login-lang {
  display: flex;
  justify-content: flex-end;
  padding-right: 16px;
  height: 15%;
}

.site-login .auto-login-lang a {
  color: black;
}

.site-login .form-side .center {
  margin: 0 2vw 2vh 2vw;
  text-align: left;
}

.site-login .form-side .center h3 {
  text-align: center;
}

/* Modal des notifications */
.notification-modal {
  display: block;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.notification-modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border: 1px solid #888;
  width: 90%;
  max-width: 600px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  position: relative;
  text-align: left;
}

.notification-modal-close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.notification-modal-close:hover,
.notification-modal-close:focus {
  color: #000;
  text-decoration: none;
}

.notification-logo {
  text-align: center;
  margin-bottom: 20px;
}

.notification-logo img {
  max-width: 200px;
}

.notification-modal-title {
  font-weight: bold;
  font-size: 24px;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
  color: #1e3050;
}

.notification-modal-body {
  text-align: justify;
  font-size: 16px;
  margin-bottom: 20px;
  color: #1e3050;
}

.notification-modal-link-container {
  text-align: left;
  margin-top: 20px;
}

.notification-url-description {
  font-size: 14px;
  color: #333;
  margin-right: 10px;
}

.notification-modal-link {
  font-size: 14px;
  color: #007bff;
  text-decoration: none;
}

.notification-modal-link:hover {
  text-decoration: underline;
}
