
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
#manager {
  position:relative;
  background: white;
  margin: 1em;
  border-radius: 0.5em;
  overflow: auto;
  padding: 0 0.5em;
}
#manager #tools {
  padding: 1em;
  border-bottom: 1px solid lightgrey;
}
#manager #tools form {
  display:
  flex;
  flex-direction:
  row;
  flex-wrap: wrap;
  align-items: flex-end;
}
#manager #tools form>div {
  flex-grow:1;
  padding: 0.25em;
  font-size: 0.75em;
  font-weight: bold;
}
#manager #list {
  width:100%;
  min-height:5em;
  border-collapse: collapse;
  background: white;
}
#manager #list th {
  padding: 0.5em;
}
#manager #list td{
  border-top:
  solid 1px lightgrey;
  padding: 0.5em 0;
  position:
  relative;
  white-space: nowrap;
  text-align: center;
}
#manager #list tr:nth-child(2n-1) {
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.025) 1em, rgba(0,0,0,0.025) calc(100% - 1em), transparent 100%);
}
#manager #list td:not(:last-child):after {
  content:
  "";
  width:0;
  height: 1em;
  position:
  absolute;
  border-right:1px solid lightgrey;
  right:0;
  top:50%;
  transform:
  translateY(-50%);
}
#manager #list a {
  text-decoration:none;
  color:black;
  font-weight:bold;
}
#manager .info-tools {
  width: auto;
  padding:0.5em;
  text-align:
  right;
  border-top: 1px solid lightgrey;
}
.tag {
  border-radius:0.5em;
  color: white;
  padding: 0.25em 0.5em;
  font-weight: bold;
}
.dialog {
  display:none;
}
form .error-msg {
  color:red;
}
fieldset {
  margin: 1em auto;
  border-radius:0.5em;
  border: 1px solid lightgrey;
  width: fit-content;
}
fieldset legend {
  font-weight:
  bold;
  text-transform: uppercase;
  background: white;
  padding: 0.25em 0.5em;
  transform: translateY(-0.65em);
  border: 1px solid lightgrey;
  border-bottom: none;
  border-radius: 0.5em 0.5em 0em 0em;
  color: black;
}
.section {
  border-radius: 0.5em;
  display:
  flex;
  background: rgba(0,0,0,0.05);
  margin-bottom: 0.5em;
  padding: 0.5em;
  padding-right: 0;
  padding-top: 0;
  flex-wrap: wrap;
  box-shadow: 0 0 10px -10px black inset;
}
.section>fieldset, .section>.submit-btn{
  flex-grow: 1;
  margin: 0;
  margin-right: 0.5em;
  background: white;
  color: rgba(0,0,0,0.75);
  box-shadow: 0 0 5px -5px black;
}
.section>.submit-btn {
  width:100%;
  margin-top: 0.5em;
  background: transparent;
  text-align:center;
  box-shadow: unset;
}
.section>.submit-btn button {
  background: yellowgreen;
  width:auto;
  color:white;
  border-radius:0.5em;
  border:1px solid lightgrey;
  cursor:pointer;
  padding:0.5em;
  font-weight:bold;
}
.info-block {
  display:
  flex;
  align-items: center;
}
.info-block > div {
  padding:0 1em;
  flex-grow: 1;
}
details {
  margin:1em 0;
}
summary {
  user-select:none;
  cursor:pointer;
  font-weight: bold;
}
.installation-devices tbody{
  position:relative;
}
.installation-devices tbody:empty:after {
  content:"Aucune machine n'est présente sur cette installation";
  width:100%;
  padding:0.5em 0;
  position:absolute;
  text-align:center;
  display:block;
}
.installation-devices td {
  vertical-align: middle;
}
.installation-devices td img {
  display: inline;
  width: 2em;
  height: 3em;
}

.rounded_check, .rounded_invalid {
  display: inline-block;
  position:
  relative;
  border-radius: 100%;
  font-weight: bold;
  border: black 0.15em solid;
  padding: 0.5em;
  vertical-align: middle;
}
.rounded_check {
  border-color: yellowgreen;
  color: yellowgreen;
}
.rounded_invalid {
  border-color: tomato;
}
.rounded_check {
  border-color: yellowgreen;
}
.rounded_invalid:after, .rounded_check:after {
  display:block;
  position:absolute;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  font-weight:bold;
}
.rounded_check:after {
  content:"√";
  color: yellowgreen;
}
.rounded_invalid:after {
  content: "×";
  color: tomato;
  transform: translate(-50%, -55%);
}
.action {
  text-align:left !important;
  white-space:inherit !important;
  padding-left:0.5em !important;
}
.tag {
  color: white !important;
  white-space: nowrap;
  text-transform: uppercase;
}
.tag:before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background: white;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center left;
  /* -webkit-mask-size: 75%; */
  transform: translate(-15%, 15%);
}
.btn.tag {
  background:lightgrey;
}
.request.tag {
  background: #FFBE0A;
}
.license.tag {
  background: #FD8A09;
}
.upgrade_license.tag {
  background: #FB5607;
}
.installation.tag {
  background: #FD2B3B;
}
.device.tag {
  background: #FF006E;
}
.customer.tag {
  background: #C11CAD;
}
.reseller.tag {
  background: #A22ACD;
}
.user.tag {
  background: #8338EC;
}
.settings.tag {
  background: #5F5FF6;
}
.logout.tag {
  background: #3A86FF;
}
.request-production.tag:before {
  -webkit-mask-image: url(/images/euro.svg);
}
.request-INVALIDATED.tag:before {
  -webkit-mask-image: url(/images/refused.svg);
}
.request-PENDING.tag:before {
  -webkit-mask-image: url(/images/waiting.svg);
}
.request-VALIDATED.tag:before {
  -webkit-mask-image: url(/images/check.svg);
}
.btn.tag:before {
  -webkit-mask-image: url(/images/btn.svg);
}
.request.tag:before {
  -webkit-mask-image: url(/images/request.svg);
}
.license.tag:before {
  -webkit-mask-image: url(/images/license.svg);
}
.upgrade_license.tag:before {
  -webkit-mask-image: url(/images/license.svg);
}
.installation.tag:before {
  -webkit-mask-image: url(/images/installation.svg);
}
.device.tag:before {
  -webkit-mask-image: url(/images/device.svg);
}
.customer.tag:before {
  -webkit-mask-image: url(/images/customer.svg);
}
.reseller.tag:before {
  -webkit-mask-image: url(/images/reseller.svg);
}
.user.tag:before {
  -webkit-mask-image: url(/images/user.svg);
}
.settings.tag:before {
  -webkit-mask-image: url(/images/settings.svg);
}
.logout.tag:before {
  -webkit-mask-image: url(/images/logout.svg);
}
.manager-header {
    margin-bottom: 1em;
}


fieldset>table {
    margin: 0 auto;
}
