/* ================================================================================= */
/* =============================== styles génériques =============================== */
/* ================================================================================= */

@font-face {
  font-family: "futural";
  src: url("FtraLt_.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "futuram";
  src: url("FtraMd_.ttf");
  font-weight: bold;
  font-style: normal;
}

:root {
  --fonts-normal-size: 16px;
  --texts-grey: #333;
  --bluedark: #69c4da !important;
  --bluelight: #d2eef5 !important;
  --primary-color: #69c4da !important;
  --primary-500: #69c4da !important;
  --blue-500: #69c4da !important;
}

body,
.p-component {
  font-family: "futural", Sans-Serif !important;
  font-size: var(--fonts-normal-size);
  line-height: 20px;
  letter-spacing: 1px;
  color: var(--texts-grey);
}

b,
strong,
em {
  font-family: "futuram", Sans-Serif;
}

/* =================================================================================== */
/* =============================== systèmes de boutons =============================== */
/* =================================================================================== */

.dobutton {
  display: inline-block;
  border: 1px solid var(--bluedark);
  font-weight: bold;
  cursor: pointer;
  min-width: 35px;
  min-height: 35px;
  font-size: 0.7em;
  line-height: 35px;
  text-align: center;
  vertical-align: middle;
  margin-right: 5px;
  color: #000 !important;
  padding: 0px 10px;
}

.dobutton:hover {
  background-color: #d2eef5;
}

.p-button {
  padding: 5px 10px;
  border-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border: 1px solid #69c4da !important;
}

.p-button:focus {
  outline: 0 none;
  outline-offset: 0;
  box-shadow: 0 0 0 0 #a6d5fa !important;
}

/* =============================== SelectButton =============================== */

.p-fluid .p-buttonset {
  display: block;
}

.p-fluid .p-button {
  width: auto;
  margin-right: 20px;
}

.p-buttonset .p-button:not(:last-child) {
  border-right: 1px solid var(--bluedark);
}

.p-selectbutton .p-button {
  background: #ffffff;
  border: 1px solid var(--bluedark);
  color: #000;
  font-size: 0.7em;
  font-family: "futuram", Sans-Serif;
}

.p-selectbutton .p-button.p-highlight {
  background: var(--bluelight);
  border-color: var(--bluedark);
  border-right-color: var(--bluedark);
  color: #000;
}

.p-selectbutton .p-button.p-highlight:hover {
  background: var(--bluelight);
  border-color: var(--bluedark);
  color: #000;
}

.p-selectbutton .p-button:not(.p-disabled):not(.p-highlight):hover {
  background: var(--bluelight);
  border-color: var(--bluedark);
  color: #000;
}

/* ===================================================================== */
/* =============================== inputs =============================== */
/* ====================================================================== */

input,
textarea,
select {
  border-left: 2px solid #ddd !important;
  border-right: 1px solid #eee !important;
  border-top: 2px solid #ddd !important;
  border-bottom: 1px solid #eee !important;
  background-color: #fff;
  max-width: 100% !important;
}

.p-inputtext {
  font-family: "futural", Sans-Serif !important;
  color: var(--texts-grey);
  background: #ffffff;
  padding: 2px;
  /*border: 1px solid #ced4da;*/
  transition: background-color 0.2s, color 0.2s, border-color 0.2s,
    box-shadow 0.2s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0px;
  width: 100% !important;
}

/* =================================================================================== */
/* =============================== Partie custom NB =============================== */
/* =================================================================================== */

.p-accordion {
  display: block;
  max-height: 90vh;
}

.onColorSelected > g > * {
  stroke: #5faec2 !important;
}

.onColorSelected > g > g > * {
  stroke: #5faec2 !important;
}

.onColorSelected > g > g > g > * {
  stroke: #5faec2 !important;
}

.onColorSelected > g > g > g > g > * {
  stroke: #5faec2 !important;
}

.onColorSelected > g > g > g > g > g > * {
  stroke: #5faec2 !important;
}

.onColorSelected > g > g > g > g > g > g > * {
  stroke: #5faec2 !important;
}

.onColorSelected > g > g > g > g > g > g > g > * {
  stroke: #5faec2 !important;
}

.p-scrollpanel-wrapper {
  max-height: 80vh !important;
}

.p-scrollpanel-content {
  max-height: 80vh !important;
}

.p-menubar {
  background: none !important;
}

.status-instock {
  background-color: #c8e6c9;
  color: #256029;
}

.status-outofstock {
  background-color: #ffcdd2;
  color: #c63737;
}

html {
  font-family: "ArialMT, Arial";
}

svg {
  max-width: -webkit-fill-available;
}

rect {
  stroke: none !important;
  fill: transparent !important;
}

.zoomable:hover {
  filter: brightness(200%);
}

svg.redLineCustom > g:hover g > * {
  stroke: #f00 !important;
}

.footer {
  width: 98vw;
  position: fixed;
  bottom: 0;
  left: 0;
  height: 2%;
}

.footer_tr {
  display: flex !important;
  justify-content: space-between !important;
}

.footer_table,
.footer_body {
  display: block !important;
}

.footer_tr > td {
  letter-spacing: 2px !important;
  font-size: 13px !important;
  color: #9b9b9b !important;
  padding: 0px !important;
}

#sel_login_card {
  top: 50%;
  left: 50%;
  position: absolute;
  margin: 0;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#sel_login_btn {
  margin-top: 1em;
}

html,
body {
  height: 100%;
}

.p-menubar-end {
  display: flex !important;
  justify-content: space-between !important;
}

.p-button.p-button-outlined {
  color: #000000 !important;
  border-color: #69c4da !important;
}

/* =============================== Pour couper à 2 lignes max sur le lib dans tableau de recherche =============================== */
/*
.datarechercheresult .p-datatable-tbody>tr>td:nth-child(4) {
  position: relative;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.datarechercheresult .p-datatable-tbody>tr>td:nth-child(4)::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  height: 0.4em;
}*/

.p-tabview .p-tabview-panels {
  padding: 0px !important;
  border: none;
}

.p-card {
  box-shadow: none;
}

.surface-card {
  box-shadow: none !important;
}

#sel_login_card {
  box-shadow: 0 2px 1px -1px rgb(0 0 0 / 20%), 0 1px 1px 0 rgb(0 0 0 / 14%),
    0 1px 3px 0 rgb(0 0 0 / 12%) !important;
}

div#mainheader {
  position: fixed;
  width: 100%;
  background-color: white !important;
  padding-left: 1em;
  padding-right: 1em;
}

#mainbody {
  padding-top: 7em;
}

#mainfooter {
  position: fixed;
  background-color: white !important;
  margin-left: 1em;
  margin-right: 1em;
}

.p-password {
  width: 100%;
}

.p-menubar :hover {
  color: #69c0d6 !important;
}

#mainheader > .p-focus > .p-menuitem-content {
  background: none !important;
}

.p-menuitem-content > a:not(.p-menuitem-link-active) {
  color: #6a6a6a !important;
}

.p-float-label > label {
  color: #6a6a6a !important;
}

.p-dropdown .p-dropdown-label.p-placeholder {
  color: #6a6a6a !important;
}

.p-dropdown .p-dropdown-clear-icon {
  color: #6a6a6a !important;
}

#btnDisconnect {
  width: 8.8em;
  margin-left: 0.5em;
}

#btnConnect {
  width: 8.8em;
  margin-left: 0.5em;
}

.p-menuitem-link-active {
  color: #69c0d6 !important;
}

.recherche_button {
  min-width: 6em;
  margin-right: 1em;
}

.recherche_groupe {
  display: flex;
  flex-flow: wrap;
}

#dropdown_lang > span {
  align-self: center;
}

#card_quickadd > .p-card-body,
#card_quickadd > .p-card-body > .p-card-content {
  padding-bottom: 0.2em !important;
}

.p-tabview .p-tabview-nav li.p-highlight .p-tabview-nav-link {
  border-color: #69c0d6 !important;
  color: #69c0d6 !important;
}

.listPanier_button_validate {
  margin-left: 1em;
}

.recherche_page_bar {
  padding-bottom: 0em !important;
  top: 6.5rem;
  position: sticky;
  z-index: 1;
}

.recherche_page_content {
  padding-top: 0em !important;
}

.datarechercheresult .p-datatable-tbody > tr > td:nth-child(1) {
  padding-top: 0.1em;
  padding-bottom: 0.1em;
}

.btnPlancheActive {
  background-color: #e9ecef !important;
}

.btnPlancheActive > span {
  color: #69c4da !important;
}

body {
  margin-top: 0em;
  margin-bottom: 0em;
}

#mainheader {
  z-index: 200;
}

#RechercheResultat_table > div > table > thead {
  position: sticky !important;
  top: 18.8rem !important;
  z-index: 1 !important;
}

div:has(> #rechercheBar_calibre_list) {
  max-height: 21rem !important;
}

div:has(> #rechercheBar_codeHorloger_list) {
  max-height: 21rem !important;
}

.rechercheDocButton {
  display: block;
  padding: 10px;
  border: none !important;
  color: #69c0d6 !important;
  background: none !important;
}

.rechercheDocButton:hover {
  background-color: none !important;
}

div:has(.rechercheDocButton) {
  text-align: -webkit-center;
}

.p-dialog-header-icon :focus {
  box-shadow: none !important;
}

#RechercheResultat_table > .p-datatable-wrapper {
  overflow: inherit !important;
}

#dropdown_lang {
  border-color: #69c0d6 !important;
}
