/*
Palette de couleur

Gris très Clair : #F0EFF4
Bleu Clair : #8CA9D3
Corail : #F26659
Jaune : #EBC999

*/

body {
    background-color: #F0EFF4;
    padding-top: 5.5rem;
    padding-left: 12px;

}

.text-corail {
  color :#F26659;
}

.bg-titre-site {
  background-color: #F0EFF4;
  color :#F26659;
}

.btn-action {
  padding:2px;
}

.btn-primary,.btn-primary:visited {
  background-color: #8CA9D3;
  border-color: #8CA9D3;
}

.btn-primary:hover, 
.btn-primary:active,
.btn-primary:focus,
.btn-primary:disabled
{
    background-color:  #7B98C2; 
    border-color: #7B98C2;
    color:#dddddd;
}

.body-connected {
  padding-top: 3.5rem !important;
/*  padding-left: 220px; */
}
  
.table-container-medium {
  padding: 2rem;
  max-width: 1000px;
}


.home-button {
  border: 2px solid #808080;
  width: 34px;
  border-radius: 5px;
  padding-left: 5px;
}
.table-border {
  border:1px solid #e0e0e0;
}

.table-head {
  --bs-table-bg: #e0e0e0;
}

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

.table-th {
  font-weight: normal;
}

.pagination {
  --bs-pagination-color: #000000;
}

.sortable{
  font-weight: normal;
  color: #000000;
}

.form-medium {
  max-width: 550px;
  padding: 1rem;
  background-color: #dddddd;
  border-radius: 10px;
}

.form-large {
  max-width: 800px;
  min-width: 650px;
  padding: 1rem;
  background-color: #F0EFF4;
  border-radius: 10px;
  border: 1px solid #b8cff0;
}

.subform-large {
  background-color: #ebebeb;
  border-radius: 5px;
  padding:5px;
}

.form-signin {
    max-width: 330px;
    padding: 1rem;
    background-color: #dddddd;
    border-radius: 10px;
  }

.form-signin .form-floating:focus-within {
    z-index: 2;
  }
  
.form-signin input[type="text"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }
  
.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.button-corail {
    background-color: #8CA9D3;
    color:#ffffff;
}

.button-corail:visited{
  background-color:  #8CA9D3; 
  
  color:#ffffff;
}

.button-corail:hover, 
.button-corail:active,
.button-corail:disabled,
.button-corail:focus{
    background-color:  #6C99C3; 
    color:#dddddd;
}

.small-button-corail {
  font-size: 13px;
  padding:3px;
  background-color: #F26659;
  color:#ffffff;
  margin-bottom: 12px;
}

.small-button-corail:visited{
background-color:  #F26659; 

color:#ffffff;
}

.small-button-corail:hover, 
.small-button-corail:active,
.small-button-corail:disabled,
.small-button-corail:focus{
  background-color:  #F26659; 
  color:#dddddd;
}

.toggle-password-button-login {
  /* Ajoutez vos styles personnalisés ici */
  margin-top: 30px;
}

.site-header {
  background-color: #ffffff;
  font-size: 18px;
  border-bottom: 1px solid #dddddd;
}

.site-footer {
  background-color: #ffffff;
  font-size: 18px;
  border-top: 1px solid #dddddd;
}

/*
Gris très Clair : #F0EFF4
Bleu Clair : #8CA9D3
Corail : #F26659
Jaune : #EBC999
*/

.menu-actif {
  color:#F26659;
  font-weight: bold;
}
.menu-actif:hover {
  color:#F26659;
  font-weight: bold;
  text-decoration: underline;
}
.menu-inactif {
  color:#8CA9D3;
}
.menu-inactif:hover {
  color:#EBC999;
  text-decoration: underline;
}

.left-menu {
  margin-top: 3.7rem !important;
  width:fit-content;
  min-width: 180px;
  z-index: 0;
  background-color: #e0e0e0;
}

.href-notextdecoration  {
  text-decoration: none !important;
}

.dropdown-toggle { outline: 0; }

.btn-toggle {
  padding: .25rem .5rem;
  font-weight: 600;
  color: var(--bs-emphasis-color);
  background-color: transparent;
  padding: 0px 10px 0px 5px;
}
.btn-toggle:hover,
.btn-toggle:focus {
  color: rgba(var(--bs-emphasis-color-rgb), .85);
  background-color: var(--bs-tertiary-bg);
}

.btn-toggle::before {
  width: 1.25em;
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  transition: transform .35s ease;
  transform-origin: .5em 50%;
}

[data-bs-theme="dark"] .btn-toggle::before {
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%28255,255,255,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
}

.btn-toggle[aria-expanded="true"] {
  color: rgba(var(--bs-emphasis-color-rgb), .85);
}
.btn-toggle[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.btn-toggle-nav a {
  padding: .1875rem .5rem;
  margin-top: .125rem;
  margin-left: 1.25rem;
}
.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
  background-color: var(--bs-tertiary-bg);
}

.active-subfunction {
  background-color: var(--bs-tertiary-bg);
}

.alert {
  margin: 30px auto;
  max-width: 800px;
  min-width: 650px;
}

.field-info {
  font-size: 12px;
  font-style: italic;
  margin: -15px 0px 15px 0px;

}

.check-link-off {
  font-size: 24px;
  color:#d9d9d9;
  font-weight: bold;
}
.check-link-view {
  font-size: 24px;
  color:#2cb12c;
  opacity:0.3;
  font-weight: bold;
}
.check-link-edit {
  font-size: 24px;
  color:#2cb12c;
  font-weight: bold;
}

.custom-head {
  font-size: 15px;
  font-weight: normal;  
  border-bottom: 1px solid #595959;
}

.custom-td {
  line-height:18px;
}

.btn-form-collection{
  margin-left: 0px;
}

.form_collection {
  display:ruby;
  background:transparent;
  border:0px;
}

/*******************************************************************************/
/*
Palette de couleur
Gris très Clair : #F0EFF4
Bleu Clair : #8CA9D3
Corail : #F26659
Jaune : #EBC999
*/

.sidebar {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 15px;
  left: 0;
  background-color: #EBC999 !important;
  overflow-x: hidden; /* Disable horizontal scroll */
  padding: 70px 0px 0px 0px;  /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidebar */
}



.sidebarModules {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 10px;
  left: 0;
  background-color: #ffffff !important;
  overflow-x: hidden; /* Disable horizontal scroll */
  padding: 70px 0px 0px 0px;  /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidebar */
}

.sidebarModules ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebarModules li {
  text-align: center;
  padding: 10px 0;
}
.sidebarModules img {
  border-radius: 10px 10px 0px 0px;
  width: 120px;
  height: 120px;
  object-fit: cover;
}
.sidebarModules p {
  font-size: 14px;
  font-weight: bold;
  margin-top: 5px;
  color: #333;
}

/*******************************************************************************************************************/
.modulesActifsIndex {
  display: flex;
  flex-wrap: wrap; /* permet le retour à la ligne automatique */
  gap: 16px; /* espace entre les modules */
  justify-content: center; /* ou flex-start selon ton besoin */
}

.modulesActifsIndex a {
  display: flex;
  flex-direction: column; /* empile l’image et le texte verticalement */
  align-items: center;
  text-align: center;
  width: 120px;
  text-decoration: none; /* déjà présent dans ta classe */
}

.modulesActifsIndex img {
  border-radius: 10px 10px 0px 0px;
  width: 120px;
  height: 120px;
  object-fit: cover;
}

/*******************************************************************************************************************/

/* The button used to open the sidebar */
.openbtn {
  font-size: 32px;
  cursor: pointer;
  border: none;
  color:#808080;
  padding:2px;
  background-color: transparent;
}

#main {
  transition: margin-left .5s; /* If you want a transition effect */
}

.parcours-short-pres {
  font-style: italic;
  background-color: #F0EFF4;
  padding: 5px;
  border-radius: 10px;
}

.text-action {
  background-color: #8CA9D3;
  color: #ffffff;
  padding:2px 5px 4px 5px;
  cursor:pointer;
  border-radius: 4px;
}

.couleur-liturgique-blanc {
  color: #ffffff;
}
.couleur-liturgique-rouge {
  color: #ff4444;
}
.couleur-liturgique-vert {
  color: #00d848;
}
.couleur-liturgique-violet {
  color: #f000f0;
}
.couleur-liturgique-rose {
  color: #ffa0d4;
}
.information-card {
  background-color: #F0EFF4;
}

.bg-clair {
  background-color:#F0EFF4;
}

.bg-date-gris {
  border-radius: 6px;
  background-color:#eaeaea;
}

.bg-bleu {
  background-color:#8CA9D3;
}

.nav-link {
  color: #000000 !important;
}
.nav-link.active {
  background-color:#ffffff !important;
  border-color: #ffffff !important;
}

.messe-select {
border : none !important;
}

.messe-nav-link {
  color: #888888 !important;
  border-radius: 5px !important;
  background-color: #fafafa;
  margin-right: 5px;
  border: 0px solid;
  padding: 4px 5px 4px 5px;
}
.messe-nav-link:hover {
  background-color: #cccccc;
}

.messe-nav-link.active {
  color: #ffffff !important;
  background-color:#8CA9D3 !important;
  border-color: #8CA9D3 !important;
  border-radius: 5px !important;
  margin-right: 5px;
  padding: 4px 5px 4px 5px;
}

.custom-hr {
  border-top: 1px solid transparent; /* Couleur et épaisseur de la ligne */
  position: relative;
  height: 9px;
}

.separator-text {
  position: relative;
  top: -24px; /* Ajuste la position */
  border-radius: 5px 5px 0 0;
  transform: translateX(-50%);
  background: #F26659; /* Fond pour masquer la ligne derrière */
  color: #EBC999;
  padding: 2px 10px;
  font-weight: bold;
}

.text-bleu {
  color:#8CA9D3;
  background-color: #F0EFF4;
}

.check-active {
  color:#2cb12c;
}

.border-active {
  border:5px solid #2cb12c;
}

.border-thin-active {
  border:2px solid #66ce66;
}

.check-inactive {
  color:#bdbdbd;
}

.vignette-module {
  border-radius: 2px;
  padding: 3px 0px 0px 0px;
  width: 120px;
}

.module-link-inactive {
  opacity: 0.75;
}

.module-link-active {
  opacity: 1;
}

.vignette-texte-active {
position: relative;  
top:-10px;
background-color: #F26659;
color: #EBC999;
display: inline-block;
font-size: 15px;
font-weight: 600;
padding: 2px;
border-radius: 5px;
width: 120px;
margin-left: 10px;
margin-right: 10px;
line-height: 18px;
}

.vignette-texte-inactive {
  position: relative;  
  top:-10px;
  background-color: #8CA9D3;
  color: #F0EFF4;
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  padding: 2px;
  border-radius: 5px;
  width: 120px;
  margin-left: 10px;
  margin-right: 10px;
  line-height: 18px;
  }
  
.leftmenu-module-active {
  border: 3px solid #F26659 !important;
}

.leftmenu-module-inactive {
  border: 3px solid #8CA9D3 !important;
}


.module-add {
  min-width: 150px;
}

.parcours-sel {
  min-width: 180px;
}


.module-del {
  min-width: 150px;
  max-width: 200px;
}

/*
Gris très Clair : #F0EFF4
Bleu Clair : #8CA9D3
Corail : #F26659
Jaune : #EBC999
*/

.commentaire-titre {
  font-weight: bold;
  font-size: 1.1rem;
  color: #F26659;
}

.commentaire-accroche {
  font-size: 1.2rem;
  color: #000000;
  font-style: italic;
  margin: 0px;
}

.commentaire-meditation {
  font-size: 1.1rem;
  color: #333;
  margin: 0px;
}

.commentaire-priere {
  color: #F0EFF4;
  font-size: 1.1rem;
  font-style: italic;
  margin: 0px;
  background-color: #8CA9D3;
  padding: 15px;
  border-radius: 8px;
}

.commentaire-priere::before {
  content: "Prions : ";
  font-weight: bold;
}

.commentaire-homelie,.commentaire-citation {
  font-weight: 300;
  font-size: 1.05rem;
  color: #ff4b00;
  font-style: italic;
  margin: 0px;
}

.ref-biblique {
  font-style: italic;
  font-size: 15px;
  color:#595959;
}

.index-player {
  border: none;
  background-color: transparent;
  font-size: 30px;
}

.audio-player {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 400px;
}
.play-btn {
  width: 40px;
  height: 40px;
  background-color: #008CBA;
  border: none;
  padding: 2px 2px 3px 5px;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  cursor: pointer;
}
.seek-bar {
  flex-grow: 1;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  border-radius: 5px;
  background: #ddd;
  cursor: pointer;
  position: relative;
}
.seek-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  background: #008CBA;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.seek-bar::before {
  content: "";
  position: absolute;
  height: 5px;
  background: #008CBA;
  border-radius: 5px;
  left: 0;
  top: 0;
  width: 0%;
  z-index: 1;
}

.item-list {
  font-size: 14px;
}

.sequence-item {
  padding: 1px 2px 1px 5px;
  cursor: pointer;
  border-radius: 5px;
  border: none;
}
.sequence-item:hover {
  background-color: #f0f0f0;
}
.selected-item:hover {
  background-color: #8CA9D3;
}
.selected-item {
  background-color: #8CA9D3;
  color: #F0EFF4;
}

.audioDiv {
  background-color: #F2F3F4;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.btn-audio-next,.btn-audio-prev{
  cursor: pointer;
}
.btn-audio-next:hover,.btn-audio-prev:hover{
  color: #888888;
}
/*
Gris très Clair : #F0EFF4
Bleu Clair : #8CA9D3
Corail : #F26659
Jaune : #EBC999
*/

#chatbot-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #FF7848;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 9999;
}

#chatbot-icon i {
  font-size: 24px;
}

.user-message {
  text-align: right;
  padding: 10px;
  background-color: #FCE9B9;
  border-radius: 10px;
  min-width: 250px;
  float:right;
  max-width: 80%; /* Ajuste la largeur maximale */
  word-wrap: break-word; /* Empêche les débordements */
}

.assistant-message {
border: 1px dashed #dddddd;
margin: 5px 0px;
text-align: left;
padding: 10px;
display: inline-block;
background-color: rgb(255, 255, 255);
width: 100%;
border-radius: 10px;
}

#chatbot-container {
  font-size: 13px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background-color: #fff;
  font-family: Arial, sans-serif;
  overflow: hidden;
  z-index: 9999;
}

#chatbot-container.expanded {
  display: block;
}

#chatbot-header {
  background-color: #F26659;
  color: white;
  padding: 10px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

#chatbot-body {
  display: flex;
  flex-direction: column;
  height: 500px;
}

#chatbot-messages {
  flex-grow: 1;
  padding: 10px;
  overflow-y: auto;
  background-color: #f5f5f5;
}


#chatbot-input {
  flex: 1;
  border: none;
  padding: 10px;
  width: 10px;
  font-size: 16px;
}


.chatbot-footer {
  display: flex;
  justify-content: center; /* Centre horizontalement */
  align-items: center;     /* Centre verticalement (optionnel selon hauteur) */
  color: white;
  font-weight: 500;
  width: 100%;
  background-color: #F26659;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

#chatbot-input:focus {
  outline: none;
}

.chatbot-message {
  margin-bottom: 10px;
}

.chatbot-message.user {
  text-align: right;
  color: #000000;
}

.chatbot-message.assistant {
  text-align: left;
  color: #333;
}

.chatbot-copy {
    position:relative;
    top: -21px;
    background-color:transparent;
    width: 22px;
    padding: 2px;
    left: -12px;
    color: #586066;
    cursor:pointer;
}

.btn-chatbot-send {
  padding:4px;
  font-size: 22px;
}

.btn-chatbot,.btn-chatbot:visited {
  background-color: #F26659;
  border-color: #F26659;
  color:#eeeeee;  
}

.btn-chatbot:hover, 
.btn-chatbot:active,
.btn-chatbot:focus,
.btn-chatbot:disabled
{
    background-color:  #F26659; 
    border-color: #F26659;
    color:#dddddd;
}


.dots-loading::after {
  content: '...';
  animation: dots 1.5s steps(3, end) infinite;
}

@keyframes dots {
  0% {
    content: '.';
    font-weight: bold;
    line-height: 18px;
    font-size: 18px;
    color:#888888;
  }
  33% {
    content: '..';
    font-weight: bold;
    color:#888888;
    line-height: 18px;
    font-size: 18px;
  }
  66% {
    content: '...';
    font-weight: bold;
    color:#888888;
    line-height: 18px;
    font-size: 18px;
  }
  100% {
    font-size: 18px;
    color:#888888;
    font-weight: bold;
    line-height: 18px;
    content: '....';
  }
}


@media screen and (max-width: 580px) {
  .chatTable {
    display: block;
  }
}

.chatRow {
  display: table-row;
  background: #f6f6f6;
}
.chatRow:nth-of-type(odd) {
  background: #e9e9e9;
}
.chatRow.header {
  font-weight: 400;
  color: #ffffff;
  background: #F26659;
}

.chatRow.green {
  background: #27ae60;
}
.chatRow.blue {
  background: #2980b9;
}
.chatRow.gray {
  background: #808080;
}
@media screen and (max-width: 580px) {
  .chatRow {
    padding: 14px 0px 7px 0px;
    display: block;
  }
  .chatRow.header {
    padding: 0;
    height: 6px;
  }
  .chatRow.header .cell {
    display: none;
  }
  .chatRow .cell {
    margin-bottom: 10px;
  }
  .chatRow .chatCell:before {
    margin-bottom: 3px;
    content: attr(data-title);
    min-width: 98px;
    font-size: 10px;
    line-height: 10px;
    font-weight: bold;
    text-transform: uppercase;
    color: #969696;
    display: block;
  }
}

.chatCell {
  padding: 6px 12px;
  display: table-cell;
}

@media screen and (max-width: 580px) {
  .chatCell {
    padding: 2px 16px;
    display: block;
  }
}

.chapelet-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* ✅ centre les enfants horizontalement */
}

.chapelet-buttons a,.chapelet-buttons a:visited {
  display: inline-block;
  width: 120px; /* plus petit */
  padding: 4px 5px;
  font-size: 0.85rem;
  background-color: #f0f0f0;
  color: #F26659;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  word-wrap: break-word;
  white-space: normal;
  border:0px;
  line-height: 1.2;
  opacity: 0.75;
}

.chapelet-selected {
  background-color: #ffffff !important;
  border : 2px solid #000000 !important;
  opacity: 1 !important;
}

.chapelet-buttons a:hover {
  background-color: #ffffff;
}

/*
Gris très Clair : #F0EFF4
Bleu Clair : #8CA9D3
Corail : #F26659
Jaune : #EBC999
*/
