﻿@keyframes clignoter {
  0% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  76% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
/* ----- PRESSE PAPIER ------ */
div.clipboard-textarea {
  position: relative;
}
div.clipboard-textarea.pastable {
  margin-top: 10px;
}
div.clipboard-textarea.pastable:after {
  z-index: 1;
  content: 'Clic droit ici, puis clic sur "Coller"';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  color: #99cc33;
  font-size: 0.8em;
  font-weight: bold;
}
div.clipboard-textarea textarea#copiable {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: none;
  font-size: 0.0001em;
  color: rgba(0, 0, 0, 0);
  border: none;
  overflow: hidden;
  outline: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  resize: none;
}
div.clipboard-textarea textarea.pastable-textarea {
  width: 100%;
  height: 50px;
  color: transparent;
  border: 3px solid #99cc33;
  border-radius: 8px;
  box-sizing: border-box;
  resize: none;
  z-index: 10;
  position: relative;
  background: none;
}
div.clipboard-textarea textarea.pastable-textarea:hover {
  cursor: pointer;
}
div.clipboard-textarea textarea.pastable-textarea::selection {
  background: rgba(0, 0, 0, 0);
  color: rgba(0, 0, 0, 0);
}
div.PopUpWindow div.clipboard-textarea textarea {
  display: none;
}
div.PopUpWindow[data-shown=true] div.clipboard-textarea textarea {
  display: unset;
}
/* ----- Sog/jdc/syc ------ */
#PPProvider form[name=formprovider] {
  width: 400px;
}
#PPProvider .save-anyway {
  display: none;
  margin-top: 1em;
}
#PPProvider .remove {
  color: #E52621;
  display: block;
  text-align: right;
  font-weight: bold;
}
#PPProvider td.button-column {
  width: unset;
}
#PPProvider div.GridViewContainer:has(#SobankIds) {
  max-height: calc(100vh - 256px);
}
#PPProvider div.GridViewContainer:has(#SobankIds) #SobankIds .button-column button {
  aspect-ratio: unset;
}
/* ----- Logiciel SaaS ------ */
#PPLogicielSaaS .PopUpTitle {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 20;
}
#PPLogicielSaaS .PopUpContent {
  margin-top: 1em;
}
#PPLogicielSaaS iframe {
  border: none;
  width: 500px;
  height: 400px;
}
body.popup-body {
  background: white;
  text-align: center;
  height: 100%;
}
body.popup-body div.PopUpTitle {
  justify-content: center;
}
/* ------- TUTOS ---------*/
#PPTuto {
  width: 80vw;
  max-width: 960px;
}
#PPTuto #TutoContainer {
  overflow: hidden;
}
#TutoContainer video {
  width: 100%;
  height: calc(60vh - 100px);
  display: block;
  margin: auto;
  margin-bottom: 1em;
  background: black;
}
#TutoContainer video.hidden {
  display: none;
}
#TutoContainer #tuto-videos img,
#TutoContainer table img {
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.15);
  width: 100%;
}
#TutoContainer #tuto-videos a,
#TutoContainer table a {
  width: 25%;
  font-size: 0.8em;
  color: black;
}
#TutoContainer #tuto-videos a:hover,
#TutoContainer table a:hover {
  text-decoration: none;
}
#TutoContainer #tuto-videos a:hover img,
#TutoContainer table a:hover img {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
#TutoContainer #tuto-videos {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}
#TutoContainer table {
  border-collapse: collapse;
  table-layout: fixed;
  border: 0px !important;
}
#TutoContainer table td {
  padding: 10px;
  vertical-align: top;
  width: 25%;
}
#PPHowToRelevesWeb #TutoContainer table td:last-child {
  vertical-align: middle;
}
/* ------ CONTACT ---------- */
#PPContact {
  width: 775px;
  font-size: 0.8em;
}
#PPContact #ContactContainer {
  display: table;
  table-layout: fixed;
  margin-bottom: 1em;
}
#PPContact #ContactContainer > div {
  display: table-cell;
  width: 33.333%;
  padding: 1em;
  vertical-align: top;
}
#PPContact #ContactContainer > div + div {
  border-left: 1px solid silver;
}
#PPContact #ContactContainer > div h3 {
  margin: 0;
  margin-bottom: 1em;
}
#PPContact #ContactContainer > div #PPContact #ContactContainer > div button + div,
#PPContact #ContactContainer > div button + button,
#PPContact #ContactContainer > div button + form,
#PPContact #ContactContainer > div form + button {
  margin-top: 1em;
}
#PPContact #ContactTutos button {
  display: block;
  margin: auto;
}
#PPContact #ContactTutos button.teamviewer-button,
#PPContact #ContactTutos button.anydesk-button {
  display: inline-block !important;
}
/* ------- TICKET -------- */
#PPTicket {
  width: 820px;
}
#PPTicket table.formticket {
  font-size: 0.75em;
  text-align: left;
  width: 100%;
  border-collapse: separate;
  border-spacing: 10px;
  white-space: nowrap;
}
#PPTicket table.formticket td.prenom,
#PPTicket table.formticket td.nom,
#PPTicket table.formticket td.phone {
  width: 120px;
}
#PPTicket table.formticket td.mail {
  width: 200px;
}
#PPTicket table.formticket td input[type=text] {
  width: 100%;
  box-sizing: border-box;
}
#PPTicket table.formticket td:empty {
  display: none;
}
#PPTicket #dossiers_concernes {
  display: none;
}
/* ---- Autres actions -----  */
#PPPrevisuAutresActions table {
  border-collapse: separate;
  border-spacing: 5px;
  font-size: 0.8em;
}
#PPPrevisuAutresActions table td {
  text-align: justify;
  vertical-align: top;
}
/* ---- BANQUES DISPO ----- */
#PPBanks input.search,
#CallbackRelevesWeb input.search,
#clients-index input.search {
  width: 95%;
  box-sizing: border-box;
  padding: 0.2em 0.2em 0.2em 2.25em;
  font-size: 1.5em;
  border-radius: 0.25em;
}
input.search,
input.magnifying-glass {
  background: white url(/Content/tb/images/loupe.png) 5px 0 no-repeat;
  background-size: contain;
  padding-left: calc(1.25em + 20px) !important;
}
#PPBanks {
  width: 50%;
  min-width: 800px;
  overflow: visible;
}
#PPBanks span.non-dispo,
#PPBanks span.info {
  display: block;
  font-size: 0.75em;
  font-weight: bold;
  margin-bottom: 0.5em;
}
#PPBanks div.banks-container {
  height: 70vh;
  overflow-y: scroll;
  overflow-x: hidden;
  text-align: center;
  padding-top: 0.5em;
  margin-top: 10px;
}
#PPBanks div.banks-container div.bank {
  width: 140px;
  display: inline-block;
  vertical-align: top;
  margin-bottom: 2em;
  position: relative;
  padding: 0.5em;
  box-sizing: border-box;
  border-radius: 5px;
}
#PPBanks div.banks-container div.bank[tb-unavailable="true"]:after,
#PPBanks div.banks-container div.bank[tb-subbanks="true"]:after {
  position: absolute;
  border: 2px solid black;
  border-radius: 100%;
}
#PPBanks div.banks-container div.bank[tb-subbanks="true"]:after {
  content: "+";
  top: 50px;
  right: 23px;
  background: white;
  width: 1.1em;
  height: 1.1em;
  line-height: 1.1em;
  font-weight: bold;
}
#PPBanks div.banks-container div.bank[tb-unavailable="true"]:after {
  content: "!";
  top: 68px;
  right: 23px;
  background: #FF9B09;
  text-shadow: 0 0 1px black;
  width: 1.1em;
  height: 1.1em;
  line-height: 1.1em;
  font-weight: bold;
}
#PPBanks div.banks-container div.bank[tb-in-filter=false] {
  display: none;
}
#PPBanks div.banks-container div.bank img {
  width: 75px;
  border-radius: 10px;
}
#PPBanks div.banks-container div.bank span.name {
  display: block;
  font-weight: bold;
}
#PPBanks div.banks-container div.bank ul,
#PPBanks div.banks-container div.bank div.unavailable {
  display: none;
  position: absolute;
  top: 95%;
  left: 0;
  min-width: 100%;
  white-space: nowrap;
  font-size: 0.8em;
  background: white;
  margin: 0;
  padding: 0;
  border-radius: inherit;
  z-index: 20;
  text-align: left;
  font-weight: bold;
}
#PPBanks div.banks-container div.bank ul li,
#PPBanks div.banks-container div.bank div.unavailable li {
  display: block;
  padding: 0.25em 0.5em;
}
#PPBanks div.banks-container div.bank div.unavailable {
  white-space: normal;
  padding: 0.5em;
}
#PPBanks div.banks-container div.bank:hover {
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}
#PPBanks div.banks-container div.bank:hover ul,
#PPBanks div.banks-container div.bank:hover div.unavailable {
  display: block;
  box-shadow: inherit;
}
/*  DEMANDER AU CLIENT  */
#PPAskRelevesWeb p {
  text-align: left;
}
#PPAskRelevesWeb ul.liste {
  max-height: 200px;
  width: 450px;
  overflow-y: scroll;
  overflow-x: hidden;
  white-space: nowrap;
  text-align: left;
}
#PPAskRelevesWeb textarea {
  box-sizing: border-box;
}
/* Autres actions */
.popup__otherActions tr {
  vertical-align: middle;
}
.popup__otherActions button {
  width: 100%;
}
/*  Report relevés web  */
#PPReportRelevesWeb {
  max-width: 600px;
}
#PPReportRelevesWeb textarea {
  box-sizing: border-box;
  width: 100%;
  height: 200px;
}
/* Quand on clique sur la checkbox d'une ListBox placée dans une PopUpWindow, la popup disparait... */
.PopUpWindow .dxeListBoxItem.dxeT:before {
  content: "";
  display: block;
  background: transparent;
  width: 0.1em;
  height: 0.1em;
  transform: scale(20);
  transform-origin: 0 0;
  position: relative;
  top: -0.25em;
  left: -2em;
}
.popup-tabs {
  font-size: 16px;
}
#PPChangelog::after {
  background: #f2f4f7;
}
#PPTransfertLocal .PopUpTitle {
  padding-bottom: 1em;
}