/* Global class */
@font-face {
    font-family: "Akrobat";
    src: url("../../fonts/akrobat/Akrobat-Regular.ttf") format("TrueType"),
    src: url("../../fonts/akrobat/Akrobat-Bold.ttf") format("TrueType"),
    src: url("../../fonts/akrobat/Akrobat-Black.ttf") format("TrueType");
}

.rtm-green {
    color: #5db5bb;
}

.tintam-bg {
    background-color: #ffa500;
    transition: background-color 0.2s ease-in-out;
}

.tintam-btn {
    color: #ffffff;
    background-color: #ffa500;
}

.tintam-btn:hover {
    color: #ffffff;
    background-color: #eb9901;
}


.clickable-row {
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.clickable-row:hover td {
    background-color: #fff3e0 !important;
}

/* Login */
.login-row {
    min-height: 100vh;
}
.login-left-side {
    padding: 0;
    background-image: url("../images/bg-creative.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-right-side {
    position: relative;
    padding: 0;
    color: black;
    border: none;
}

.login-logo {
    position: absolute;
    width: 100%;
    text-align: center;
}

.login-welcome {
    position: absolute;
    width: 100%;
    text-align: center;
    color: #b0b0b0;
    top: 25%;
}

.login-right-side .card {
    position: absolute;
    width: 50%;
    left: 25%;
    top: 37%;
    border: none;
}

.login-right-side form .form-group>input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #b0b0b0 !important;
    border-radius: 0;
    margin-bottom: 20px;
}

.login-remember-me {
    margin-top: 40px;
    margin-bottom: 40px;
}

.login-remember-me > label {
    color: #b0b0b0 !important;
}


.btn-submit {
    text-align: center;
    margin: 10px;
}

.btn-submit input {
    color: #fff;
    background-color: #ff7900;
    width: 150px;
}

.login-password-forgotten {
    text-align: center;
}

.login-page {
    background: white url("../images/bg-login.jpg") no-repeat;
    background-size: cover;
    background-position: center;
}


.login-logo > img {
    height: 100px;
    margin: 40px;
}

.card label {
    color : #2a2c2e;
}

/* Style général des boutons de pagination */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #fff !important;
    background-color: #FFA500 !important; /* Orange de base */
    border: 1px solid #FFA500 !important;
    transition: background-color 0.3s ease;
}

.active>.page-link, .page-link.active {
    z-index: 3;
    color: var(--bs-pagination-active-color);
    background-color: #FFA500;
    border-color: #FFA500;
}

/* Bouton actif et au survol */
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: #fff !important;
    background-color: #FF7F00 !important; /* Orange plus foncé */
    border: 1px solid #FF7F00 !important;
}

/* Optionnel : style pour les boutons désactivés */
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    color: #ddd !important;
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Akrobat";
    color: #444444;
}

a {
    color: #8293a5;
    text-decoration: none;
}

a:hover {
    color: #5db5bb;
    text-decoration: none;
}

/* Navbar : fond noir */
.navbar.bg-dark {
  background-color: #000 !important;
}

/* Texte et icônes dans la navbar en orange */
.navbar.bg-dark a,
.navbar.bg-dark .navbar-text,
.navbar.bg-dark i {
  color: #FFA500 !important;
}

/* Optionnel : au survol, une nuance légèrement différente */
.navbar.bg-dark a:hover,
.navbar.bg-dark a:focus {
  color: #FF7F00 !important;
}

/* Pour le menu déroulant */
.navbar.bg-dark .dropdown-menu {
  background-color: #000 !important;
}

.navbar.bg-dark .dropdown-menu a.dropdown-item {
  color: #FFA500 !important;
}

.navbar.bg-dark .dropdown-menu a.dropdown-item:hover {
  color: #FF7F00 !important;
  background-color: #333 !important;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#rtm-header {
  background: #fff;
  transition: all 0.5s;
  z-index: 997;
  padding: 20px 0;
  box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
}

#rtm-header.header-scrolled {
  padding: 12px 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#rtm-header .logo {
  font-size: 26px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

#rtm-header .logo a {
  color: #0b2341;
}

#rtm-header .logo img {
  max-height: 50px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 10px 40px;
  font-size: 15px;
  font-weight: 400;
  color: #b0b0b0;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #a3d6de;
}

.navbar .getstarted,
.navbar .getstarted:focus {
  background: #ed502e;
  padding: 8px 20px;
  margin-left: 30px;
  border-radius: 4px;
  color: #b0b0b0;
}

.navbar .getstarted:hover,
.navbar .getstarted:focus:hover {
  color: #fff;
  background: #ff7900;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  /* left: 14px; */
  /*top: unset !important;*/
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  right: 0;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  text-transform: none;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: #ff7900;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  /*top: 100%;*/
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
  list-style: none;
}

.header-nav>ul {
  margin: 0;
  padding: 0;
}

.header-nav .nav-icon {
  font-size: 22px;
  color: #012970;
  margin-right: 25px;
  position: relative;
}

.header-nav .nav-profile {
  color: #012970;
}

.header-nav .nav-profile img {
  max-height: 36px;
}

.header-nav .nav-profile span {
  font-size: 14px;
  font-weight: 600;
}

.header-nav .badge-number {
  position: absolute;
  inset: -2px -5px auto auto;
  font-weight: normal;
  font-size: 12px;
  padding: 3px 6px;
}

/*
.header-nav .notifications {
  inset: 8px -15px auto auto !important;
}
*/

.header-nav .notifications .notification-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .notifications .notification-item i {
  margin: 0 20px 0 10px;
  font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .notifications .notification-item:hover {
  background-color: #f6f9ff;
}

.header-nav .messages {
  inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .messages .message-item a {
  display: flex;
}

.header-nav .messages .message-item img {
  margin: 0 20px 0 10px;
  max-height: 40px;
}

.header-nav .messages .message-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #444444;
}

.header-nav .messages .message-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .messages .message-item:hover {
  background-color: #f6f9ff;
}

.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
  /*top: 8px !important;*/
}

.header-nav .profile .dropdown-header h6 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
  color: #444444;
}

.header-nav .profile .dropdown-header span {
  font-size: 14px;
}

.header-nav .profile .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
  background-color: #f6f9ff;
}







/*--------------------------------------------------------------
# Breadcrum
--------------------------------------------------------------*/
.breadcrumb-container {
    background-color: #F0F0F7;
    z-index: 3;
    padding: 15px 5px 5px 5px;
}

.breadcrumb {
  color: #b0b0b0;
}

.breadcrumb > li + li::before {
  display: none;
}

.breadcrumb a,
.breadcrumb .active {
  color: #ff7900;
  text-decoration: underline;
}

.breadcrumb a:hover {
  color: #5db5bb;
}



/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
body {
    background-image: url("../images/4077186_17580.jpg");
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#rtm-footer {
    margin-top: auto;
    background-image: url("../images/abstrait-bleu-lignes-douces.jpg");
    background-size: cover;
    padding: 0 0 30px 0;
    color: #fff;
    font-size: 14px;
    z-index: 1000;
}

#rtm-footer a {
  color: white;
  text-decoration: none;
}

#rtm-footer .footer-top {
  padding: 60px 0 30px 0;
}

#rtm-footer .footer-top .footer-info {
    position: relative;
    margin-bottom: 15px;
    background: #00599939;
    padding: 30px 20px;
    height: 420px;
    border-radius: 5px;
    color: white;
}

#rtm-footer .footer-top .footer-info h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#rtm-footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Akrobat", sans-serif;
}


.footer-info ul {
    margin-top: 10px;
    overflow-y: scroll;
    height: 95%;
    background: none;
}

.footer-info li {
    color: white;
    background: none;
}

.footer-box-top {
/*    position: absolute;
    top: 10px;*/
}

.footer-box-top h5 {
   font-weight: bold;
}

.footer-box-bottom {
    position: absolute;
    bottom: 10px;
    text-align: center;
}

.footer-box-bottom a {
    color: white;
}

.footer-agenda {
    vertical-align: middle;
}

.footer-agenda-date {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    text-align: center;
    background: #b0b0b039;
}

.footer-agenda-date h6 {
    margin: 0;
}

.footer-files a, .footer-apps a {
    color: #ffffff;
    font-size: 16px;
}

.footer-apps a {
    font-weight: bold;
}

.footer-apps li {
    border: none;
}

.footer-files a:hover, .footer-apps a:hover {
    color: #5db5bb;;
    font-size: 16px;
}

.footer-files ul li a i, .footer-apps ul li i {
    font-size: 2em;
    margin-right: 10px;
}


#rtm-footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  background: #0a1e38;
}

#rtm-footer .footer-top .social-links a:hover {
  color: #fff;
  background: #ed502e;
  text-decoration: none;
}

#rtm-footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

#rtm-footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#rtm-footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#rtm-footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #ef6445;
  font-size: 18px;
  line-height: 1;
}

#rtm-footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#rtm-footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#rtm-footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#rtm-footer .footer-top .footer-links ul a:hover {
  color: #ef6445;
}

#rtm-footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4px;
}

#rtm-footer .footer-top .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

#rtm-footer .footer-top .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px 2px 20px;
  background: #ed502e;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

#rtm-footer .footer-top .footer-newsletter form input[type=submit]:hover {
  background: #ef6445;
}

#rtm-footer .copyright {
  border-top: 1px solid #0f2f57;
  text-align: center;
  padding-top: 30px;
}

#rtm-footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}

.alert-contact-message {
  display: none;
}

/* Accueil Slider */
#homeSlider {
    border-radius: 25px;
    overflow: hidden;
}

#homeSlider .carousel-inner img {
    max-height: 500px; /* Hauteur maximale fixée à 500px */
    width: auto; /* Laissez la largeur être automatique pour conserver le rapport d'aspect */
    object-fit: cover; /* Gardez l'aspect de l'image même si la taille est réduite */
    margin-left: auto; /* Centrage horizontal de l'image */
    margin-right: auto;
}

#homeSlider .filigrane {
    position: absolute;
    min-height: 500px;
    width: 100%;
    background: -moz-linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,1) 100%);
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 33%, rgba(0,0,0,0) 66%, rgba(0,0,0,1) 100%);
}

/* Accueil News */
.last-news .card {
    overflow:hidden;
}

.last-news .card .news-description {
    overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
           line-clamp: 2;
   -webkit-box-orient: vertical;
}

.last-news .card img {
    width: 100%;
    max-height: 192px;
    object-fit: fill;
    object-position: left;
}

.last-news .card .card-body img {
    display:none;
}

/* Accueil Raccourcis */
.shortcuts {
    border-radius: 25px;
    background-color: #5db5bb;
    overflow: hidden;
}

.shortcuts .shortcut-title {
    margin: 0;
    padding: 0.3em;
}

.shortcuts .shortcut {
    border-top: solid 0.5px #ffffff;
}

.shortcuts .shortcut:nth-child(2),
.shortcuts .shortcut:nth-child(5),
.shortcuts .shortcut:nth-child(8) {
    border-right: solid 0.5px #ffffff;
}

.shortcuts .shortcut:nth-child(4),
.shortcuts .shortcut:nth-child(7),
.shortcuts .shortcut:nth-child(10) {
    border-left: solid 0.5px #ffffff;
}

.shortcuts .shortcut img {
    margin-bottom: 10px;
    max-height: 50px;
}

/* Accueil News */
.short-news-article {
    max-height: 715px;
    overflow-y: scroll;
    scrollbar-color: #ffffff green;
    scrollbar-width: thin;
}

/* Global */
.short-news-article::-webkit-scrollbar {
  width: 8px;
}
/* Ascenseur */
.short-news-article::-webkit-scrollbar-thumb {
  background: #a6d3d6;
  border-radius: 8px;
}

.card {
    border: none;
}
.card img {
    height: 100%;
    object-fit: cover;
}

/* Personnalisation des switches Bootstrap 5 */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #FFA500;
}

input:checked + .slider:before {
  transform: translateX(22px);
}

/* Si vous souhaitez un contrôle plus précis en surchargant le style natif */
.form-check-input {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  border: 2px solid #FFA500;
  border-radius: 0.25rem;
  width: 1rem;
  height: 1rem;
  outline: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.form-check-input:checked {
  background-color: #FFA500;
  border-color: #FFA500;
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 165, 0, 0.5);
}
