.effet_bt_zoom {-webkit-transition: all 0.5s; transition: all 0.5s; opacity:0.9; cursor: pointer;}
.effet_bt_zoom:hover {opacity:1; transform: scale(1.2); opacity:1;}
.boite_message {position: fixed; top:50%; left:50%; width: 400px; transform: translate(-50%, -50%); font-family: Arial, Helvetica, sans-serif; font-size:18px; opacity: 1; text-align: center; z-index:9999;}
.calque_ecran {position:fixed; top:0; bottom:0; left:0; width: 100%; background-color: rgba(0, 0, 0, 0.6); z-index:9998;}
.visib_cache {visibility: hidden !important;}
.col_img {width:40px;}
.doigt_h4 h4 {color:#6C48B4; font-weight:bold; font-size:1.2em; margin:15px 0 10px 0;}
.doigt_h4 h4:before {content:url(img/icone_doigt_16.png)}

.list-checked {list-style: none; padding: 0; margin: 0;}
.list-checked li {position: relative; padding-left: 2.2em; margin:0.4em 0;}
.list-checked li::before {content: "\f26e"; font-family: "bootstrap-icons"; font-size: 2em; position: absolute; left: 0; top: -0.35em;}

.btn[disabled].no-pointer, .btn.disabled.no-pointer {pointer-events: none; cursor: default !important; opacity: 1 !important;}

/* S'assurer que la 2e modale a son propre backdrop visible au-dessus */
.modal-secondaire.show ~ .modal-backdrop {z-index: 1055 !important;}
.modal-secondaire {z-index:1060; /* au-dessus du backdrop */}
#modal_calculatrice .modal-dialog {width:300px!important;}

/* Memo */
#memo_modal .modal-fullscreen {overflow-y: auto;}
#memo_modal .modal-body {overflow-y: auto; max-height: 100vh;}
#memo_modal .modal-footer {justify-content: center;}
#memo_modal .modal-content {background-color: #C9E3E9;}
#memo_accueil .pave_accueil, #memo_accueil h4 {border-radius: 10px 10px 0 0;}
#memo_accueil .pave_accueil {position:relative;}
#memo_accueil .pave_accueil h4 {background-color:#528FAE; color:#FFF;}
#memo_accueil .pave_accueil > div {height: 100%; border-radius: 10px; border:1px solid #528FAE; background-color:#FBECDB;}
#memo_accueil .pave_accueil ul {margin:0; padding:0 0.3em 0.3em 0.3em;}

/* Accès */
th.acces_sortable:hover { cursor: pointer; text-decoration: underline; }
#acces_tablo_desktop th:nth-child(2), #acces_tablo_desktop td:nth-child(2) {display:none;}
#acces_mobile_table .card-body p:nth-child(2) {display:none;}

/* Agenda */
#agenda_body .calendar-table td, #agenda_body .calendar-table th {width: 40px; height: 40px; text-align: center; vertical-align: middle; cursor: pointer;}
#agenda_body .calendar-table td:hover {background-color: #f1f1f1;}
#agenda_body .calendar-table td.empty {background-color: #f9f9f9; cursor: default;}
#agenda_body .day-selected {background-color: #0d6efd !important; color: white; font-weight: bold;}
#agenda_body .has-content {background-color: #ffeeba !important;}
#agenda_editeur {height: 300px;}
#agenda_preview-view {display: none;}
#agenda_preview-content .col_date {width: 100px;}
#agenda_preview-content .col_check {width: 40px;}
#agenda_body .look_mode {font-size: 20px; font-weight: bold; padding: 0 5px; color :blue; border:solid 1px blue; border-radius: 5px; background-color: #F1F1F1;}

/* Notes */
#notes_editor {height: 300px;}
#notes_liste_notes thead th:nth-child(1) {height: 36px; width:40px;}
#notes_liste_notes tbody tr td:nth-child(2) {cursor: pointer;}
#notes_liste_notes tbody tr td:nth-child(3) {width: 36px;}
#notes_liste_notes tbody tr.active {background-color: #dceeff;}
#notes_liste_notes tbody tr.active td:nth-child(2) {font-weight: bold; color:blue;}
#notes_liste_notes tbody tr.active td:nth-child(2):before {content : "\0023F5";}
#notes_body .look_mode {font-size: 20px; font-weight: bold; padding: 0 5px; color :blue; border:solid 1px blue; border-radius: 5px; background-color: #F1F1F1;}

/* taches */
#taches_body ul {list-style: none; padding: 0; min-height: 80px; border: 1px solid #ccc; border-radius: 0.5rem; background-color: #f8f9fa; padding: 0.5rem;}
#taches_body li {display: flex; align-items: center; padding: 6px; margin-bottom: 4px; background-color: #ffffff; border: 1px solid #ccc; border-radius: 4px; transition: background-color 0.2s;}
#taches_body li.dragging {opacity: 0.5;}
#taches_body li .bi-arrows-move {cursor: grab; margin-right: 8px;}
#taches_body li input[type="text"] {flex: 1; border: none; background: none;}
#taches_body li input[type="color"] {margin-left: 8px;}
#taches_body li button {margin-left: 8px;}
#taches_body h2[contenteditable] {display: inline-block;}

/* calculatrice */
#calculatrice {border:1px solid black; padding:5px; border-radius: 5px; width: 240px; margin:auto;}
#calculatrice table {margin:auto;}
#calculatrice th {margin:0px; padding:2px 0; text-align: right;}
#calculatrice th > div {border: 1px solid grey; border-radius: 5px; padding:5px; overflow-y: auto; overflow-x: hidden;}
#calculatrice th #calc_operation {height:55px; padding-right:5px; font-size: 0.9em; color:grey; line-height: 1.2em; overflow-y: auto; white-space: pre-wrap; word-break: break-word;}
#calculatrice th #calc_resultat {font-size: 1.4em; font-weight: bold; word-wrap: break-word;}
#calculatrice td {width: 42px; margin:0px; padding:2px 0; text-align: center;}
#calculatrice td button {width: 36px; padding-left:0; padding-right:0;}
#calculatrice td:nth-child(4) {width: 50px;}

/* Documentation de mémo */
#memo_ecran_doc {margin-bottom:1em;}
#memo_ecran_doc h3 {background:#B3D4F3; font-size:1.6em; cursor:pointer; margin:15px 0 10px 0; padding:0 10px 5px 10px;}
#memo_ecran_doc h3:hover {background:#88BCEC;}
#memo_ecran_doc h3:before {content : " \0023F7 ";}
#memo_ecran_doc h3.on:before {content : " \0023F6 ";}
#memo_ecran_doc h5 {margin:15px 0 8px 0; font-size: 1.1em; font-weight: bold; color:#8C70C7;}
#memo_ecran_doc p {padding:0; margin:0 0 5px 0;}

/* Gestion du bouton de retour en haut de page */
#returnOnTop {background: url('img/return_on_top.png') no-repeat; bottom: 1%; cursor: pointer; display: none; filter: alpha(opacity = 50); height: 48px; opacity: 0.5; position: fixed; right: 1%; width: 48px;}
#returnOnTop:hover { filter: alpha(opacity = 100); opacity: 1;}

/* Gestion de l'impression  */
.impression_slt {display:none;} 
@media print {
  .no_imprim {display:none;}
  .container {max-width: 100%;}
  #returnOnTop {display:none!important;}
  #memo_ecran_doc .container {-webkit-box-shadow: none!important; -moz-box-shadow: none!important; box-shadow:none!important; border:none!important;}
  .impression_slt {display:block;} 
}


