* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

a:link,
a:visited,
a:hover,
a:active {
  outline: none;
}

a img {
  border: none;
}

.link:hover {
  text-decoration: underline !important;
}

img {
  height: auto;
  vertical-align: middle;
  border: none;
}

input,
input:active,
input:focus {
  outline: 0;
  outline-style: none;
  outline-width: 0;
}

ul {
  padding-left: 10px;
}

li {
  list-style: none;
}

ul.disc li {
  list-style: disc;
}

.listinline li {
  display: inline-block;
}

p {
  margin: 0 0.5em 0 0;
}

::-webkit-input-placeholder {
  font-style: italic;
  font-weight: normal;
  opacity: 0.8;
  font-size: 1.6rem !important;
}

::-moz-placeholder {
  font-style: italic;
  font-weight: normal;
  opacity: 0.8;
  font-size: 1.6rem !important;
}

/* firefox 19+ */
:-ms-input-placeholder {
  font-style: italic;
  font-weight: normal;
  opacity: 0.8;
  font-size: 1.6rem !important;
}

/* ie */
:-moz-placeholder {
  font-style: italic;
  font-weight: normal;
  opacity: 0.8;
  font-size: 1.6rem !important;
}

input:focus::-webkit-input-placeholder {
  color: transparent;
}

input:focus:-moz-placeholder {
  color: transparent;
}

/* FF 4-18 */
input:focus::-moz-placeholder {
  color: transparent;
}

/* FF 19+ */
input:focus:-ms-input-placeholder {
  color: transparent;
}

.block {
  display: block !important;
}

.inbl {
  display: inline-block;
  vertical-align: top;
}

.grid {
  display: grid;
}

.grid2 {
  grid-template-columns: 1fr 1fr;
}

.flex {
  display: flex;
}

.flex1 {
  flex: 1;
}

.flex2>div {
  width: 50% !important;
  padding: 0 5%;
}

.flexI {
  display: inline-flex;
}

.flexB {
  justify-content: space-between;
}

.flexLeft {
  justify-content: flex-start;
}

.flexC {
  justify-content: center;
}

.flexRight {
  justify-content: flex-end;
}

.flexA {
  justify-content: space-around;
}

.flexAfter {
  justify-content: baseline;
}

.flexM {
  align-items: center;
}

.flexTop {
  align-items: flex-start;
}

.flexBottom {
  align-items: flex-end;
}

.flexS {
  align-items: stretch;
}

.flexRow {
  flex-direction: row;
}

.flexRowR {
  flex-direction: row-reverse;
}

.flexCol {
  flex-direction: column;
}

.flexColR {
  flex-direction: column-reverse;
}

.flexW {
  flex-wrap: wrap;
}

.flex2>div {
  width: 50%;
}

.none {
  display: none;
}

.hidden {
  visibility: hidden;
}

.middle {
  vertical-align: middle;
}

.pointer,
#mainMenu>div:hover,
.subMenu>div:hover {
  cursor: pointer;
}

.rel {
  position: relative;
}

.abs {
  position: absolute;
}

.fixed {
  position: fixed;
  top: 0;
}

.center {
  margin: auto;
}

.nopad {
  padding: 0 !important;
}

.tC {
  text-align: center;
}

.just {
  text-align: justify;
}

.tL {
  text-align: left !important;
}

.txtright {
  text-align: right !important;
}

.normalfont {
  font-weight: 400;
}

.caps {
  text-transform: uppercase;
}

.under,
.link:hover,
.ret:hover,
.fast li a {
  text-decoration: underline;
  cursor: pointer;
}

.no-bdl {
  border-left: none !important;
}

.no-bdr {
  border-right: none !important;
}

.no-bdb {
  border-bottom: none !important;
}

.bold {
  font-weight: bold;
}

.ital {
  font-style: italic;
}

.deprecated {
  text-decoration: line-through;
}

.ma0 {
  margin: 0;
}

.pa0 {
  padding: 0;
}

.ma1 {
  margin: 10px;
}

.ma2 {
  margin: 20px;
}

.ma3 {
  margin: 30px;
}

.pa1 {
  padding: 10px;
}

.pa2 {
  padding: 20px;
}

.pa3 {
  padding: 30px;
}

.mt0 {
  margin-top: 0 !important;
}

.mt1 {
  margin-top: 10px;
}

.mt2 {
  margin-top: 20px;
}

.mt3 {
  margin-top: 30px;
}

.mt4 {
  margin-top: 40px;
}

.mr0 {
  margin-right: 0;
}

.mr1 {
  margin-right: 10px;
}

.mr2 {
  margin-right: 20px;
}

.mr3 {
  margin-right: 30px;
}

.mb0 {
  margin-bottom: 0 !important;
}

.mb1 {
  margin-bottom: 10px;
}

.mb2 {
  margin-bottom: 20px;
}

.mb3 {
  margin-bottom: 30px;
}

.ml0 {
  margin-left: 0;
}

.ml1 {
  margin-left: 10px;
}

.ml2 {
  margin-left: 20px;
}

.ml3 {
  margin-left: 30px;
}

.pt0 {
  padding-top: 0 !important;
}

.pt1 {
  padding-top: 10px;
}

.pt2 {
  padding-top: 20px;
}

.pt3 {
  padding-top: 30px;
}

.pr0 {
  padding-right: 0;
}

.pr1 {
  padding-right: 10px;
}

.pr2 {
  padding-right: 20px;
}

.pr3 {
  padding-right: 30px;
}

.pb0 {
  padding-bottom: 0;
}

.pb1 {
  padding-bottom: 10px;
}

.pb2 {
  padding-bottom: 20px;
}

.pb3 {
  padding-bottom: 30px;
}

.pl0 {
  padding-left: 0;
}

.pl05 {
  padding-left: 5px;
}

.pl1 {
  padding-left: 10px;
}

.pl2 {
  padding-left: 20px;
}

.pl3 {
  padding-left: 30px;
}

.w50p {
  width: 50px;
}

.w75p {
  width: 75px;
}

.w100p {
  width: 100px;
}

.w120p {
  width: 120px;
}

.w150p {
  width: 150px;
}

.w180p {
  width: 180px;
}

.w200p {
  width: 200px;
  min-width: 200px !important;
}

.w250p {
  width: 250px;
}

.w300p {
  width: 300px;
}

.w320p {
  width: 320px;
}

.w340p {
  width: 340px;
}

.w360p {
  width: 360px;
}

.w760p {
  width: 760px;
}

.w1200p {
  width: 1200px;
  margin: auto;
}

.w30 {
  width: 30%;
}

.w40 {
  width: 40%;
}

.w50 {
  width: 50%;
}

.w60 {
  width: 60%;
}

.w70 {
  width: 70%;
}

.w80 {
  width: 80%;
}

.w90 {
  width: 90%;
}

.w95 {
  width: 95%;
}

.w100 {
  width: 100%;
}

.h100 {
  height: 100%;
}

.vh100 {
  height: 100vh;
}

.ico18 {
  width: 18px;
  height: 18px;
}

.ico24 {
  width: 24px;
  height: 24px;
}

.ico28 {
  width: 28px;
  height: 28px;
}

.ico32 {
  width: 32px;
  height: 32px;
}

.ico48 {
  width: 48px;
  height: 48px;
}

.ico64 {
  width: 64px;
  height: 64px;
}

.ico96 {
  width: 96px;
  height: 96px;
}

.shadow1 {
  box-shadow: 5px 5px 10px 1px #dcdcdc;
}

.shadow2 {
  box-shadow: 2px 5px 5px 2px #d3e1e9;
}

.shadow3 {
  box-shadow: 0px 8px 7px -2px #8da7cb;
}

.shadow4 {
  box-shadow: 0px 6px 6px 1px #dae5f0;
}

.shadow5,
#tableQuote,
#tableSite,
#tableProofs {
  box-shadow: 0px 2px 6px 1px rgba(14, 18, 22, 0.06);
}

.shadow6,
#dateFilter li {
  box-shadow: 0px 1px 4px 2px rgba(221, 225, 228, 0.8);
}

.radius {
  border-radius: 16px 2px 16px 2px;
}

.rad3 {
  border-radius: 3px;
}

.radGen {
  border-radius: 12px 2px 12px 2px;
}

.fs1 {
  font-size: 1rem;
}

.fs12 {
  font-size: 1.2rem;
}

.fs13 {
  font-size: 1.3rem;
}

.fs14 {
  font-size: 1.4rem;
}

.fs15 {
  font-size: 1.5rem;
}

.fs16 {
  font-size: 1.6rem;
}

.fs18 {
  font-size: 1.8rem;
}

.fs2 {
  font-size: 2rem;
}

.fs2 {
  font-size: 2rem;
}

.fs25 {
  font-size: 2.5rem;
}

.fs3 {
  font-size: 3rem;
}

.fw3 {
  font-weight: 300;
}

.fw4 {
  font-weight: 400;
}

.fw5 {
  font-weight: 500;
}

.fw6 {
  font-weight: 600;
}

.arial {
  font-family: Arial, Helvetica;
}

.lower {
  text-transform: lowercase;
}

/*----------------------------  COLORS  -----------------------------------------*/

:root {
  --blue1: #002768;
  --blue2: #b3bde6;
  --blue3: #ecf1ff;
  --grey: #afb1bb;
  --deep-grey: #484b5c;
  --primary: #212635;
  --grey: #75798f;
  --red: #ca0f27;
  --beige: #ddc99e;
  --light-beige: #f8f3e5;
  --orange: #e8a31a;
  --sand: #f2dea6;
}

.primCol {
  color: var(--primary);
}

.bl1 {
  color: var(--blue1);
}

.bl2 {
  color: var(--blue2);
}

.bblue1 {
  background: var(--blue1);
}

.bblue2 {
  background: var(--blue2);
}

.bblue3 {
  background: var(--blue3);
}

.bgs {
  background: #555866;
}

.bgrey {
  background: var(--grey) !important;
}

.bdp {
  background: #484b5c !important;
  color: #fff !important;
}

.be {
  color: var(--beige);
}

.bbe {
  background: var(--beige);
}

.blbe {
  background: var(--light-beige);
}

.dg2 {
  color: var(--dark-grey2);
}

.dg3 {
  color: var(--dark-grey3);
}

.polar {
  background: rgba(20, 20, 20, 0.3);
}

.bgfff {
  background: #fff !important;
}

.white {
  color: #fff !important;
}

.grey {
  color: var(--grey);
}

.inter> {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/*-----------------------------------------STRUCTURE----------------------------------------*/

html,
body,
#main,
label,
form,
fieldset {
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  height: 100%;
  font-size: calc(1em * 0.625);
}

body {
  width: 100%;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: #212635;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background: #fff;
  background: #f8faff;
  background: linear-gradient(#212635 60vh,
      #ceba90 60vh,
      #ceba90 61vh,
      #fbfbfb 61vh) no-repeat,
    #fafafa;
}

#main {
  width: 100%;
  min-height: calc(100vh - 100px);
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-weight: 400;
}

h1 {
  font-size: 2.4rem;
}

h2 {
  font-size: 3.4rem;
  letter-spacing: 2px;
  font-weight: 500;
  font-style: normal;
  color: #191c20;
}

h3.bullet:before {
  content: "•";
  margin-right: 8px;
  font-size: 2.5rem;
  color: #ceba90;
}

.fullCenter {
  display: flex;
  justify-content: center;
  align-items: center;
}

.vCenter {
  display: flex;
  align-items: center;
}

.button {
  min-width: 100px;
  max-width: 150px;
  height: 38px;
  line-height: 38px;
  border: none;
  border-radius: 4px;
}

.button.clear {
  background: #fff;
}

.button.dark {
  background: #212635;
  color: #fff;
}

.button.green {
  background: #7cb342;
}

/*---------------------  Portal  ----------------*/

#portal {
  height: 100vh;
  background: #fff;
}

#leftPortal {
  flex: 1 1 auto;
  background: url("../images/main/portail.svg") no-repeat center center;
}

#rightPortal {
  flex: 0 1 600px;
  align-items: center;
  padding: 4rem 0;
  justify-content: space-between;
  background: linear-gradient(to bottom, #184a96, #041245);
  color: #fff;
}

#bob {
  height: 350px;
  margin: auto 0;
}

#footPortal {
  align-self: center;
}

#rightPortal h1 {
  background: url("../images/icons/portail/user.svg") no-repeat left center;
  background-size: auto 3rem;
}

.formPortal {
  width: 400px;
  padding-top: 40px;
}

.formPortal label {
  margin-top: 10px;
  color: #e9d9b8;
}

.formPortal input {
  width: 100%;
  height: 45px;
  color: #fff;
  background: none;
  border: none;
  border-bottom: 1px dotted grey;
}

#valPortal {
  width: 100%;
  background: #fff;
  height: 4rem;
  border-radius: 26px;
}

.footForm {
  padding: 30px 10px 20px 10px;
  text-align: center;
  font-size: 1.4rem;
}

.formLogTitle {
  height: 80px;
  line-height: 60px;
  margin-top: 0;
  font-size: 2.5rem;
}

.formTitle {
  font-size: 2.5rem;
}

.formCadre {
  width: 400px;
  margin: 0 auto;
  padding: 30px 30px;
}

#showHide,
.showHide {
  position: absolute;
  top: 35px;
  bottom: 0;
  right: 10px;
  width: 35px;
  margin-left: 15px;
  cursor: pointer;
  z-index: 1;
}

.voir {
  background: url("../images/icons/portail/mask.svg") no-repeat center center;
  background-size: 26px 26px;
}

.masquer {
  background: url("../images/icons/portail/unmask.svg") no-repeat center center;
  background-size: 26px 26px;
}

/*-------------------  Interface  -----------------*/

main {
  height: calc(100vh - 99px);
}

.page {
  width: 1280px;
  margin: auto;
  padding: 6rem 30px 100px 30px;
}

/*--------------------  Header  -----------------------------------*/

header {
  height: 100px;
  background: #fff;
}

header>div {
  width: 80vw;
  height: 100px;
  margin: auto;
  height: 100px;
}

#topMenu {
  padding-right: 10%;
}

#topSection {
  width: 650px;
  height: 85px;
  margin: auto;
  overflow: visible;
  z-index: 1;
}

#logo {
  height: 100px;
  width: 200px;
  background: url("../images/logo/logo-btry.svg") no-repeat center center;
  background-size: contain;
}

nav {
  width: 500px;
  height: 100px;
}

nav.cli {
  width: 100px;
}

nav a {
  display: block;
  font-weight: 600;
  color: var(--blue1);
  font-size: 1.6rem;
}

#hamb {
  display: none;
  width: 35px;
  height: 55px;
  position: absolute;
  right: 20px;
  top: 60px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}

#hamb span {
  position: absolute;
  height: 3px;
  width: 100%;
  background: #28292b;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

#hamb span:nth-child(1) {
  top: 20px;
}

#hamb span:nth-child(2) {
  top: 30px;
}

#hamb span:nth-child(3) {
  top: 40px;
}

#hamb span:nth-child(4) {
  top: 50px;
}

#hamb.open span:nth-child(1),
#hamb.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}

#hamb.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  right: 10px;
}

#hamb.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 30px;
  right: 10px;
}

#logout {
  padding-right: 32px;
  font-size: 1.6rem;
  color: var(--blue1);
  background: url("../images/icons/logout.svg") no-repeat right center;
  background-size: 22px 22px;
}

#logout:hover {
  background: url("../images/icons/logout-active.svg") no-repeat right center;
}

/*------------------------- Footer  ----------------------------------*/

#footer {
  width: 100%;
  height: 100px;
}

#mentions {
  width: 1000px;
  padding-top: 6rem;
  font-weight: 300;
}

#mentions h2 {
  margin-bottom: 12px;
  font-size: 2rem;
  letter-spacing: 2px;
  font-style: normal;
  color: #191c20;
}

#topMentions {
  margin-bottom: 2rem;
}

#topMentions>div {
  width: 300px;
  padding-bottom: 30px;
}

#search input {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0 20px 20px 0;
}

#search {
  width: 320px;
  height: 40px;
  position: relative;
  padding-left: 60px;
  font-family: Arial;
  background: #fff;
  border-radius: 20px;
}

#search:before {
  content: "";
  width: 50px;
  height: 40px;
  top: 0;
  left: 0;
  border-radius: 20px 0 0 20px;
  background: #ceba90 url("../images/icons/search.svg") no-repeat center center;
  background-size: 20px 20px;
  position: absolute;
}

#filter {
  padding: 50px 30px;
}

.next,
.prev {
  height: 35px;
  line-height: 35px;
  background: #464545;
  color: #fff;
  border-radius: 22px;
}

.next {
  padding: 0 6px 0 14px;
}

.prev {
  padding: 0 14px 0 6px;
}

.next:hover,
.prev:hover {
  filter: brightness(130%);
}

.sticky {
  position: sticky;
  top: 0px;
}

th {
  vertical-align: middle !important;
}

td {
  min-height: 50px;
  vertical-align: middle !important;
}

.stripes {
  background: repeating-linear-gradient(45deg,
      #fff,
      #fff 8px,
      #f1f0ed 8px,
      #f1efe9 16px);
}

/*---------------------------  PAGES  ---------------------------*/

nav {
  width: 260px;
}

/*------------------  Common  --------------------------*/

h1 {
  color: #fff;
}

.search-add-bar {
  margin-bottom: 0;
}

#inputSearch {
  padding-right: 2rem;
}

.clear-search {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 2.6rem;
  color: #aaa;
  display: none;
  /* Caché par défaut */
}

.clear-search:hover {
  color: #555;
}

.pageTitle {
  margin-right: 4rem;
  margin-left: auto;
  padding-left: 6rem;
  background-position: left center !important;
  background-repeat: no-repeat !important;
  background-size: auto 2.6rem !important;
}

.page-tools {
  flex-grow: 1;
  margin-left: auto;
  color: #fff;
}

.page-tools p {
  margin-right: 12rem;
}

.plus {
  display: block;
  width: 4rem;
  height: 4rem;
  line-height: 3.5rem;
  margin-left: auto;
  background-color: #ceba90;
  color: #2d2d2d;
  font-size: 4rem;
  text-align: center;
  border-radius: 100%;
}

.pageTitle.center,
.plus.center {
  margin-left: 1rem;
}

.reset {
  height: 4.2rem;
  line-height: 4.2rem;
  padding-left: 5rem;
  background: url("../images/icons/forms/reset.svg") no-repeat left center;
  background-size: 4rem auto;
}

#overview {
  margin-top: 5rem;
}

.office {
  display: flex;
  margin-right: auto;
}

.print {
  margin: -3rem auto 2rem auto;
  width: 210px;
  height: 4rem;
  line-height: 4rem;
  text-align: center;
  text-decoration: underline;
  color: var(--beige);
  padding-left: 2.5rem;
  background: url("../images/icons/pdf.svg") no-repeat left center;
  background-size: 1.5rem auto;
  border-radius: 4px;
}

.print.short {
  width: 30px;
  margin: 0 0 0 2rem;
  padding-left: 0;
  background-size: 2rem auto;
  background-position: center center;
}

.export {
  width: 30px;
  height: 4rem;
  margin: 0 2rem 0 2rem;
  background: url("../images/icons/forms/xls.svg") no-repeat center center;
  background-size: 2.8rem auto;
}

.report {
  width: 30px;
  height: 4rem;
  margin-left: 1rem;
  background: url("../images/icons/report.svg") no-repeat center center;
  background-size: 3rem auto;
}

/*----------------  Tables -----------------*/

.common-table {
  width: 100%;
  margin-top: 5rem;
  border-collapse: collapse;
}

.common-table thead {
  color: #fff;
  background: #75798f;
  z-index: 1000;
}

.common-table th {
  padding-left: 1rem;
  font-weight: 400 !important;
  text-align: center;
  border-left: 0.1rem solid #64677a;
}

.common-table th.tC {
  text-align: center;
  padding: 0;
}

.common-table th.border {
  width: 2rem;
  border-right: none !important;
}

th.domtech {
  background: linear-gradient(to right, #555866, #555866) 0 / 450px 100% no-repeat,
    repeating-linear-gradient(45deg, #fff, #fff 8px, #f1f0ed 8px, #f1efe9 16px);
}

.domtech div {
  height: 100%;
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 0 0;
}

.domtech h3 {
  width: 100%;
  height: 100%;
  color: var(--beige);
}

.common-table tr {
  border-radius: 1rem 0 0 0;
}

tr.table-field,
tr.table-field th {
  height: 42px !important;
  line-height: 42px !important;
}

.common-table tbody tr {
  border-bottom: 1px solid rgb(226, 225, 225);
  background-color: #fff;
}

.common-table tr.name-cli {
  color: #f7f7f7;
}

.common-table tbody tr:hover {
  background-color: #f9f9f9;
}

.common-table td:first-child {
  border-left: 1px solid rgb(226, 225, 225);
}

.common-table td {
  border-right: 1px solid rgb(226, 225, 225);
}

.common-table tr:last-child td {
  border-bottom: 1px solid rgb(226, 225, 225);
}

.common-table tr td {
  position: relative;
  padding: 1.5rem 1rem;
  font-size: 1.4rem;
}

td.beige {
  background: #f8f3e5;
}

td a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

td.select {
  vertical-align: top !important;
}

a.add p {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

a.add span {
  width: 3rem;
  height: 3rem;
  line-height: 2.7rem;
  margin: auto;
  font-size: 3rem;
}

a.add span.blue {
  background: #7c7f8c;
  color: #fff;
}

.table-tool {
  width: 8rem;
  border-left: 1px solid #dbe3fa;
}

.pen {
  background: url("../images/icons/pen.svg") no-repeat center center;
  background-size: 3rem auto;
}

.view {
  background: url("../images/icons/view.svg") no-repeat center center;
  background-size: 2.5rem auto !important;
  transition: all 0.5s;
}

.view:hover {
  background: url("../images/icons/view-beige.svg") no-repeat center center;
}

.view.beige {
  background: #f8f3e5 url("../images/icons/view-beige.svg") no-repeat center center;
  background-size: 2.5rem auto;
}

.doc {
  background: url("../images/icons/docs.svg") no-repeat center center;
  background-size: 3rem auto;
}

td.trash {
  background: url("../images/icons/trash.svg") no-repeat center center;
  background-size: 2.5rem auto !important;
}

td.pass {
  background: url("../images/icons/reset-password.svg") no-repeat center center;
  background-size: 2.8rem auto !important;
}

.section-title {
  padding-left: 4rem !important;
  background: var(--beige);
  color: #212635;
  font-weight: 600;
}

td.led {
  vertical-align: bottom !important;
}

.green-led {
  background: url("../images/icons/greenled.svg") no-repeat center center;
  background-size: 1.5rem auto;
}

.orange-led {
  background: url("../images/icons/orangeled.svg") no-repeat center center;
  background-size: 1.5rem auto;
}

.red-led {
  background: url("../images/icons/redled.svg") no-repeat center center;
  background-size: 1.5rem auto;
}

td.ns-state {
  background: #e74c3c !important;
}

td.s-state {
  background: #f39c12 !important;
}

td.so-state {
  background: #7bb340 !important;
}

.word,
.excel,
.pdf {
  width: 3rem;
  height: 4rem;
  display: inline-block;
  margin-right: 1rem;
  background-size: contain !important;
}

.word {
  background: url("../images/icons/forms/doc.svg") no-repeat center center;
}

.excel {
  background: url("../images/icons/forms/xls.svg") no-repeat center center;
}

.pdf {
  background: url("../images/icons/forms/pdf.svg") no-repeat center center;
}

.icon-word,
.icon-excel,
.icon-pdf {
  padding-left: 4.6rem;
  background-size: 3rem auto !important;
}

.icon-pdf {
  background: #f0f3ff url("../images/icons/forms/pdf.svg") no-repeat 6px center;
}

.icon-word {
  background: #f0f3ff url("../images/icons/forms/doc.svg") no-repeat 6px center;
}

.icon-excel {
  background: #f0f3ff url("../images/icons/forms/xls.svg") no-repeat 6px center;
}

.pdf-thumbnail {
  transition: transform 0.3s ease;
  display: inline-block;
}

/* Agrandissement au survol */

.pdf-thumbnail:hover {
  transform: scale(6);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  background: white;
  border: 1px solid #ccc;
}

/*------------------  Panels  --------------------------*/

#sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -2000px;
  overflow-y: scroll;
  min-width: 50rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6rem;
  background-color: #fff;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.4s ease-in-out;
  display: none;
}

#sidebar.users {
  min-width: 100rem;
}

#sidebar.active {
  right: 0;
  transform: translateX(0);
}

#sidebar.dark {
  background: linear-gradient(#212635 30rem, #394055 30rem) no-repeat;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1000;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  /* Popup qui glisse depuis le bas */
  z-index: 9999;
}

.popup-content {
  width: 95%;
  max-width: 400px;
  background: white;
  padding: 2rem 2rem 4rem 2rem;
  border-radius: 2rem 2rem 0 0;
  text-align: center;
  box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  transform: translateY(100%);
  animation: slideUp 0.3s ease-out forwards;
}

.popup-header {
  position: relative;
  width: 100%;
  height: 30px;
}

.popup-drag {
  width: 40px;
  height: 5px;
  background: #ccc;
  border-radius: 10px;
  margin: 0 auto;
}

.popup-body {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.popup-footer {
  display: flex;
  justify-content: center;
}

.popup-footer button {
  background: #4caf50;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 10px;
  font-size: 1.6rem;
  cursor: pointer;
  transition: background 0.3s;
}

.popup-footer button:hover {
  background: #43a047;
}

/* Animation d'apparition */
@keyframes slideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

/*----------------  Display files ----------------------*/

.listDocs li {
  width: 75rem;
  height: 6rem;
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  padding: 0 1.2rem;
  background: #f0f3ff;
}

.listDocs li:hover {
  cursor: pointer;
  background: #b3bde6;
}

.listDocs li a {
  display: flex;
  align-items: center;
  height: 6rem;
}

.listDocs li img {
  height: 5rem;
  width: auto;
  display: block;
}

/*------------------  Home  ----------------------------*/

#home {
  width: 24px;
  height: 24px;
  margin-top: -6px;
  background: url("../images/icons/home.svg") no-repeat center center;
  background-size: contain;
}

/*------------------  Clients  -------------------------*/

#clientsTitle {
  background: url("../images/icons/clients.svg") no-repeat;
  background-position: left 3px !important;
}

#usersTitle {
  background: url("../images/icons/user.svg") no-repeat;
  background-position: left 3px !important;
}

#logo-cli {
  max-width: 300px;
}

td.picture,
td.empty {
  border: 0;
}

td.picture {
  width: 12rem;
}

td.picture.icon img {
  width: auto;
  height: 3rem;
  display: block;
  margin: auto;
}

td.picture.logo img {
  width: auto;
  height: 5rem;
  display: block;
  margin: auto;
}

.name-cli {
  font-weight: 600;
}

.contact-card {
  min-width: 30rem;
  padding: 2rem;
  margin-bottom: 2rem;
  color: #f9f9f9;
  background: #484b5c;
  box-shadow: 5px 3px 5px 0px rgba(204, 207, 217, 1);
}

/*----------------  Sites  -------------------------*/

.site_view {
  display: block;
  width: 36rem;
  margin: 0 auto 4rem auto;
}

#sitesTitle {
  background: url("../images/icons/sites.svg") no-repeat;
  background-position: left 0 !important;
  background-size: auto 3.4rem !important;
}

.color-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 120px;
  position: relative;
}

.color-box {
  height: 20px;
  border-radius: 5%;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  cursor: pointer;
}

.color-box:first-child {
  width: 30px;
  background-color: #d32f2f;
}

.color-box:nth-child(2) {
  width: 30px;
  background-color: #ffa000;
}

.color-box:nth-child(3) {
  width: 30px;
  background-color: #fdd835;
}

.color-box:nth-child(4) {
  width: 30px;
  background-color: #7cb342;
}

/* Effet de loupe et mise en avant de la sélection */
.color-box.selected {
  transform: scale(1.3, 2);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  border: 2px solid #ceba90;
  border-radius: 50%;
}

/* Effet au survol pour guider l'utilisateur */
.color-box:hover {
  transform: scale(1, 1.5);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
}

/*----------  DropZone images du site  -----------*/

.sortable-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sortable-item {
  position: relative;
}

.preview-img-site {
  width: auto;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
}

/* Le conteneur doit être positionné */
.sortable-item {
  position: relative;
}

/* Bouton "remove" moderne, discret par défaut */
.remove-btn {
  --size: 34px;
  --bg: rgba(17,17,17,.6);
  --bg-hover: rgba(239,68,68,.92);  /* rouge 500 */
  --ring: rgba(255,255,255,.35);

  position: absolute;
  top: 8px;
  right: 8px;
  width: var(--size);
  height: var(--size);
  display: grid;
  place-items: center;

  color: #fff;
  background: var(--bg);
  border: 1px solid var(--ring);
  border-radius: 9999px;
  box-shadow: 0 6px 18px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  /* caché par défaut; visible au survol/focus */
  opacity: 0;
  transform: scale(.9);
  transition: opacity .15s ease, transform .15s ease,
              background-color .2s ease, border-color .2s ease;
  cursor: pointer;

  /* meilleure zone tactile */
  padding: 0;
  line-height: 1;
}

/* Afficher au survol du bloc ou au focus clavier du bouton */
.sortable-item:hover .remove-btn,
.remove-btn:focus-visible {
  opacity: 1;
  transform: scale(1);
}

/* Effets d’interaction */
.remove-btn:hover {
  background: var(--bg-hover);
  border-color: rgba(239,68,68,.45);
}
.remove-btn:active {
  transform: scale(.96);
}

/* Anneau de focus accessible */
.remove-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(239,68,68,.32), 0 0 1px 1px rgba(255,255,255,.6) inset;
}

/* Préférence utilisateur : animations réduites */
@media (prefers-reduced-motion: reduce) {
  .remove-btn { transition: none; }
}

/* Sur mobile (pas de "hover"), on l’affiche en permanence */
@media (hover: none) {
  .remove-btn { opacity: 1; transform: none; }
}

/* Mode sombre (optionnel) */
@media (prefers-color-scheme: dark) {
  .remove-btn {
    --bg: rgba(0,0,0,.55);
    --ring: rgba(255,255,255,.25);
  }
}


/*----------------  inter  --------------------*/

.printChart {
  background: linear-gradient(to bottom, #fff 440px, #f7f5f4 440px), no-repeat;
}

#radarChart {
  border: 1px solid #d6d3d1;
}

.charts,
#charts-container {
  margin: auto;
}

.charts {
  width: 58rem;
  padding: 1.5rem 0;
}

#charts-container {
  width: 90%;
  padding: 1rem 0 2rem 0;
}

/*---------------  Suivi technique  --------------*/

#interTitle {
  background: url("../images/icons/wrench.svg") no-repeat;
  background-position: left 0 !important;
  background-size: auto 3.4rem !important;
}

#equipmentTitle {
  background: url("../images/icons/equipment.svg") no-repeat;
  background-position: left 0 !important;
  background-size: auto 3.4rem !important;
}

[data-hidden] {
  display: none !important;
  transition: all 1s ease;
}

/* Cette classe sera ajoutée/retirée par JS */
[data-hidden].visible {
  display: table-row !important;
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

td.titleTabRes {
  background: #f8f4eb;
}

.reserves-table {
  border-collapse: collapse;
}

.reserves-table thead {
  color: #212635 !important;
}

.reserves-table th {
  padding: 1.5rem 0;
  font-weight: 600 !important;
  background: #dce3ff;
  border: none !important;
}

.reserves-table td {
  background: #f5f7ff;
}

.reserves-table td.doc {
  background: #f5f7ff url(../images/icons/docs.svg) no-repeat center center;
  background-size: 3rem auto;
}

@media screen and (max-width: 1300px) {
  .page {
    width: auto;
    max-width: 96%;
    margin: auto;
    padding: 6rem 30px 100px 30px;
  }

  header>div {
    width: 90vw;
  }
}