.secondary-row {
  border-top: 0px solid #000 !important;
}

.deleted {
  background-color: #d6d2d2;
}

/************************************************/

/*****          TOOLTIP MANAGEMENT          *****/

.popover {
  max-width: none;
}

.popover-title {
  color: #fff;
}

#popover-status .popover {
  min-width: 600px !important;
}

.tooltip-inner {
  white-space: pre-wrap;
}

.popover-content {
  white-space: normal;
}

/************************************************/

/*****    SPAN CONTAINING CONTROLS DETAILS  *****/

.selfe-panel {
  border-bottom: 1pt solid #e6e6e6;
}

.selfe-panel .invoice-child {
  display: flex;
  padding-top: 15px;
  padding-bottom: 15px;
  border-top: 1px solid lightgray;
  background: #f7f7f7;
}

.selfe-successful {
  border: 1pt solid #006633;
  background-color: #bdfbbf;
  color: #006633 !important;
}

.selfe-inverted {
  border: 1pt solid #777777;
  background-color: #eeeeee;
  color: #777777 !important;
}

.selfe-ignored {
  color: #222222 !important;
  background: repeating-linear-gradient(135deg, #cccccc, #cccccc 15px, #eeeeee 15px, #eeeeee 30px);
}

.selfe-technical-error {
  background: repeating-linear-gradient(135deg, #d2611f, #d2611f 15px, #ad2b00 15px, #ad2b00 30px);
}

.label-selfe {
  font-size: 13px;
  display: inline;
  padding: 0.2em 0.6em 0.2em;
  line-height: 2;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
}

.selfe-red-alert {
  background-color: #f30303;
}

.label-webservice {
  background-color: #ec9d5d;
}

.label-pj {
  background-color: #2ab2aa;
}

.label-usermodif {
  background-color: #a629bf;
}

.not-performed-control {
  color: red !important;
  font-weight: bold;
}

.refus-type {
  color: #030b7d !important;
  font-weight: bold;
}

.red {
  color: red;
}

.short-spaces > [class*=col-] {
  padding-right: 7px;
  padding-left: 7px;
}

.dropdown-menu-company {
  width: 300px !important;
}

#pdfViewer {
  margin-top: 2px;
}

#download-pdf {
  margin-right: 30px;
}

#ajaxBusy {
  display: none;
  margin: 0px;
  padding: 0px;
  position: fixed;
  left: 45%;
  top: 30px;
  width: auto;
  z-index: 1000;
}

/************************************************/

/*****    TWO RESIZABLE PANELS MANAGEMENT   *****/

#two-panel-layout {
  height: 100%;
  display: flex;
  flex-direction: row;
  position: relative;
}

#resizable {
  display: flex;
  /* a flex box itself so the right panel can take all space not taken by the handler */
  flex-direction: row;
  /* hack to ignore the absolute positioning done by jquery ui */
  left: 0 !important;
  position: relative !important;
  /* removing this completely destroys the functionality in IE and FF */
}

#left-panel {
  flex: 1;
}

#right-panel {
  flex: 1;
  margin-left: 20px;
}

#handler {
  background-color: #dddddd;
  width: 2px;
  height: 100%;
  margin-left: 10px;
  /* hack to ignore the absolute positioning done by jquery ui */
  position: absolute !important;
  left: 0px !important;
  /* removing these makes the handler visible in chrome but makes it not pixel perfectly positioned in FF and IE as can be derived from the yellow borders being invisible */
}

/************************************************/

/*****  LOGO for different kind of control  *****/

.logo-decisif {
  background: url("/images/danger.png") no-repeat;
}

.logo-info {
  background: url("/images/info.png") no-repeat;
}

.logo-ignored {
  background: url("/images/skip.png") no-repeat;
}

.logo-success {
  background: url("/images/accepted.png") no-repeat;
}

.glyph-with-margin {
  margin-right: 10px;
  display: inline-flex;
}

.glyph-expand:hover {
  -webkit-transform: scale(1.5, 1.5);
  -webkit-transition: all 0.3s ease-in-out;
}

/************************************************/

/*****  To Show extra ZNS info              *****/

.zns-extra-data {
  font-size: 13px !important;
  color: #0985c3;
}

.zns-extra-data div.validated,
.zns-extra-data div.validated a {
  color: #006633;
}

.glyph-bigger {
  font-size: 1.1em;
  top: 3px;
}

/************************************************/

/*****  Help icon                  *****/

.glyph-help {
  font-size: 2em;
  top: 10px;
  color: #0303c2;
}

/************************************************/

/*****  SWITCH                  *****/

.switch {
  padding-right: 10px;
  font-weight: normal;
}

.switch:hover {
  cursor: pointer;
}

/******************************************************/

/***      SOURCE LABEL                             ****/

.label_source {
  margin-top: -15px;
  margin-right: 24px;
  margin-left: -37px;
  padding-top: 4px;
  position: relative;
  padding-left: 16px;
}

.text_source {
  font-size: 12px;
  font-weight: bold;
  color: black;
}

.vip_api,
.mm_api {
  background-color: #f4d80a;
}

.certif_api {
  background-color: #7dd78d;
}

.selfe_of {
  background-color: #74bae3;
}

.selfe_of.multi-dossier {
  background-color: #85d2ff;
}

.selfe_adh {
  background-color: #bf5329;
}

.selfe_adh.multi-dossier {
  background-color: #ed6a37;
}

.dematlog,
.demat {
  background-color: #ef99ec;
}

.dematmail {
  background-color: #f05bea;
}

.pagination {
  margin-top: -10px;
  margin-bottom: 6px;
}

.pagination li a {
  padding: 2px 14px;
}

.pagination li span {
  padding: 2px 14px;
}

.modal-open {
  overflow: scroll;
}

.modal-open {
  overflow: auto;
  padding-right: 0 !important;
}

.unique-controle-container {
  display: inline-block;
  vertical-align: middle;
  height: 30px;
  background-color: #eee;
  padding: 3px 4px 1px 4px;
  border-radius: 0 3px 3px 0;
  border: 1px solid #ccd0d2;
  margin-left: -4px;
}

.range-select {
  padding: 0;
  width: 50px;
  margin-right: 10px;
  text-align: center;
}

/******************************************************/

/***      SAE PAGINATION                           ****/

#sae-pagination {
  display: inline-flex;
}

#sae-pagination .pagination {
  margin-bottom: 0;
  margin-top: 0;
}

#sae-pagination .pagination li,
#sae-pagination .pagination li a,
#sae-pagination .pagination li span {
  height: 35px;
}

#sae-pagination .pagination li a,
#sae-pagination .pagination li span {
  padding: 5px 14px;
}

.navbar-brand-custom {
  height: auto;
  display: inline-flex;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
}

.navbar-brand-custom img {
  width: 100px;
}

.navbar-brand-custom .nav-title {
  margin-top: auto;
  margin-left: 5px;
}

.navbar-brand-custom .env {
  -ms-writing-mode: tb-rl;
      writing-mode: vertical-rl;
  text-orientation: upright;
  display: inline-block;
  font-size: x-small;
  font-weight: bold;
  color: #2ab27b;
  text-transform: uppercase;
  align-self: flex-start;
}

.check-invoice {
  position: absolute;
  left: 5px;
  top: 1px;
}

.selection-label {
  margin-top: 4px;
  margin-left: 20px;
}

.selection-choice {
  margin-left: 5px;
}

.logo-custom {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-custom .env {
  -ms-writing-mode: tb-rl;
      writing-mode: vertical-rl;
  text-orientation: upright;
  display: inline-block;
  font-size: x-small;
  font-weight: bold;
  color: #2ab27b;
  text-transform: uppercase;
  align-self: flex-start;
}

/** controls */

#controls .btn-default.btn-on.active {
  background-color: #5BB75B;
  color: white;
}

#controls .btn-default.btn-off.active {
  background-color: #DA4F49;
  color: white;
}

#controls .row.header {
  background-color: gray;
  color: white;
  font-weight: bold;
  padding-bottom: 10px;
  padding-top: 10px;
}

#controls {
  padding-bottom: 30px;
}

#controls .grid-striped .row:nth-of-type(odd) {
  background-color: #f2f8fa;
}

#controls .hover-fade-lighted:hover,
#controls .grid-striped .hover-fade-lighted:hover {
  background-color: rgba(2, 64, 100, 0.15);
}

