/*============================================================*\

    ITEM Consulting development
    (c) Copyright 2025 - Emmanuel Michel Itié

\*============================================================*/

/*============================================================*\
    Main pagination elements
\*============================================================*/

html, body, form {
  margin:0;
  padding:0;
  height:100%;
  color: #156082;
}

#main {
  min-height:100%;
  position:relative;
  padding-bottom:100px;   /* Hauteur du pied de page */
}

#footer {
  position:absolute;
  bottom:0;
  width:100%;
  height:100px;
}

/*============================================================*\
    Modal dialog forms
\*============================================================*/
.modal .modal-dialog-aside{
	width: 350px;
	max-width:80%; height: 100%; margin:0;
	transform: translate(0); transition: transform .2s;
}

.modal .modal-dialog-aside .modal-content{
  height: inherit;
  border:0;
  border-radius: 0;
}

.modal .modal-dialog-aside .modal-content .modal-body{
  overflow-y: auto
}

.modal.fixed-left .modal-dialog-aside{
  margin-left:auto;
  transform: translateX(100%);
}

.modal.fixed-right .modal-dialog-aside{
  margin-right:auto;
  transform: translateX(-100%);
}

.modal.show .modal-dialog-aside{
  transform: translateX(0);
}

/*============================================================*\
    Autocompletion boxes
\*============================================================*/
.autocomplete-suggestions {
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  background: #fff;
  position: absolute;
  z-index: 1000;
}

.autocomplete-suggestion {
  padding: 8px;
  cursor: pointer;
  text-align: start;
  font-size: smaller;
}

.autocomplete-suggestion:hover {
  background: #f0f0f0;
}

/*============================================================*\
    Grids
\*============================================================*/
.hover-row:hover {
  background-color: #f5f5f5;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
