/****************************************
  Couleurs principales de l'application
****************************************/
/* Palette de couleurs
   ------------------------------------ */
/* Couleurs spécifiques Sispea
   ------------------------------------ */
/* Couleurs de fond
   ------------------------------------ */
/* Couleurs pour les graphiques
   ------------------------------------ */
/* Couleurs pour les textes
   ------------------------------------ */
/* Couleurs de validation des formulaires
   ------------------------------------ */
/* Couleurs pour l'écran du périmètre
   ------------------------------------ */
/* Couleurs pour l'écran des indicateurs
   ------------------------------------ */
/* Liste déroulante par défaut
******************************************************************************/
.dropdown-content {
  display: none;
  color: #FFF;
  position: absolute;
  z-index: 40;
  border-top: 10px solid transparent;
}
.dropdown-content > ul {
  background: #313e50;
  white-space: nowrap;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  border-radius: 5px;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.dropdown-content > ul > li {
  padding: 0;
}
.dropdown-content > ul > li > a {
  padding: 5px 15px 5px 15px;
  color: #FFF;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
}
.dropdown-content.dropdown-opened {
  display: block;
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown-content-limited-height {
  max-height: 500px;
  overflow-y: auto;
  font-size: 16px;
  border-bottom: 3px solid #999;
  border-radius: 0 0 5px 5px;
}
/* Contenu de la liste déroulante
******************************************************************************/
.dropdown-title {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 15px !important;
  margin-top: -10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.dropdown-link {
  border-left: 8px solid transparent;
}
.dropdown-link.current {
  border-left: 8px solid #935697;
}
.dropdown-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFF;
  border-left: 8px solid #ea2d95;
}
.dropdown-link button {
  background-color: transparent;
  border: 0;
  padding: 5px 10px;
  margin: 0;
}
.dropdown-link--current {
  border-left: 8px solid #935697;
  font-weight: normal;
  cursor: none;
}
.dropdown-link--current:hover {
  background: transparent;
  color: #FFF;
  border-left: 8px solid #935697;
}
.dropdown-link--current a {
  cursor: default;
}
.dropdown-link-icon {
  padding-left: 5px;
}
.dropdown-link-icon i {
  font-size: inherit;
}
.page-header-title-dropdown .dropdown-link a {
  padding-left: 35px;
}
.page-header-title-dropdown .dropdown-link-icon {
  padding-right: 5px;
  padding-left: 0;
  margin-left: -25px;
  float: left;
}
.dropdown-menu-element {
  padding: 0 15px 0 15px;
  color: #FFF;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  font-size: 14px;
}
.dropdown-menu-element-clickable {
  padding-top: 5px;
  padding-bottom: 5px;
  display: block;
}
.dropdown-limited-height {
  max-height: 400px;
  overflow-y: auto;
}
.dropdown-separator {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin: 5px 20px 5px 20px !important;
  height: 0;
}
/* Boutons pour afficher le contenu de la liste déroulante
******************************************************************************/
.dropdown > i {
  color: #4b76ae;
  margin-left: 5px;
  margin-right: 5px;
  vertical-align: middle;
}
.dropdown:hover {
  color: #ea2d95;
}
.dropdown:hover > i {
  color: #ea2d95;
}
.dropdown-button {
  font-size: 16px;
  padding: 5px 15px;
  border-radius: 15px;
  background-color: #4b76ae;
  color: #FFF;
  cursor: pointer;
}
.dropdown-button i {
  margin-right: 5px;
  color: #FFF;
}
.dropdown-button:hover {
  background-color: #ea2d95;
  color: #FFF;
}
.dropdown-button:hover i {
  color: #FFF;
}
.dropdown-right > .dropdown-content {
  right: 0;
}
.dropdown-right > .dropdown-content > ul > li {
  text-align: right;
}
.dropdown-right > .dropdown-content > ul > li > a {
  padding-right: 15px;
  padding-left: 60px;
}
.dropdown-top > .dropdown-content {
  bottom: 100%;
  left: 0 ;
}
/* Affichage spécifique pour certaines pages
******************************************************************************/
.block-display--dashboard .dropdown-content {
  max-width: 100%;
  min-width: 100%;
  max-height: 230px !important;
  font-size: 90%;
  overflow: auto !important;
}
.block-display--dashboard .dropdown-content > ul > li {
  font-size: 0.8em;
}
.referentialHeader-title--current .dropdown-button {
  background-color: #ffffff;
  color: #4b76ae;
}
.referentialHeader-title--current .dropdown-button > i {
  color: #4b76ae;
}
/* Listes déroulantes Select2
******************************************************************************/
.select2-loading {
  position: absolute;
  right: 30px;
  top: 10px;
}
.select2-drop-active {
  opacity: 1 !important;
  /* Compatibilité IE */
}
.select2-results .select2-highlighted {
  background-color: rgba(234, 45, 149, 0.05) !important;
  color: #313e50 !important;
}
.ui-select-choices-row:hover {
  background-color: #ea2d95 !important;
  color: #FFF !important;
}
.btn-default.ui-select-toggle[disabled] {
  background-color: #eee;
}
@media (max-width: 1200px) {
  .dropdown-button {
    font-size: 14px;
  }
}
/* Règles typographiques générales
******************************************************************************/
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.text-inline {
  white-space: nowrap;
}
.character-limit--medium {
  max-width: 150px;
  display: inline-block;
  vertical-align: middle;
}
.text-bold {
  font-weight: bold;
}
.text-no-bold {
  font-weight: normal;
}
.text-align-center {
  text-align: center;
}
.text-align-top {
  vertical-align: top;
}
.text-wrap {
  margin: 20px;
  max-width: 90%;
}
/* Classes communes d'affichage
******************************************************************************/
.layout-page-width {
  width: 98% !important;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: 1900px;
}
.layout-height-maximised {
  height: 100%;
}
.display-inline {
  display: inline;
}
.display-inline-block {
  display: inline-block;
}
.clear {
  clear: both;
}
/* Marges
******************************************************************************/
.padding-none {
  padding: 0 !important;
}
.padding-bottom--small {
  padding-bottom: 10px;
}
.padding-top--small {
  padding-top: 10px;
}
.padding-top--medium {
  padding-top: 30px;
}
.margin-none {
  margin: 0 !important;
}
.margin-top--none {
  margin-top: 0;
}
.margin-top--small {
  margin-top: 10px;
}
.margin-top--medium {
  margin-top: 30px;
}
.margin-top--large {
  margin-top: 50px;
}
.margin-bottom--small {
  margin-bottom: 10px;
}
.margin-bottom--medium {
  margin-bottom: 30px;
}
.margin-left--small {
  margin-left: 10px;
}
.margin-right--small {
  margin-right: 10px;
}
/* Mixins less
******************************************************************************/
/* Transformation 2D pour rester compatible IE9
******************************************************************************/
/* Indicators structure
******************************************************************************/
.full-layout-width {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
}
.indicators-layout {
  position: absolute;
  top: 0;
  bottom: 25px;
  left: 0;
  right: 0;
  overflow: hidden;
}
.indicators-panels {
  position: static !important;
  height: 100%;
}
.indicators-header {
  position: absolute;
  right: 0;
  left: 16.66667%;
  height: 50px;
  white-space: nowrap;
  overflow: visible;
  background: #135e62;
}
.indicators-action-menu {
  position: absolute;
  right: 20px;
  top: 10px;
}
.indicators-action-menu .dropdown-content {
  z-index: 21;
}
.indicators-navigation-bar {
  position: absolute;
  top: 50px;
  right: 0;
  left: 16.66667%;
  padding: 0 !important;
  transform: translate3d(0, 0, 0);
}
.indicators-action-bar {
  position: absolute;
  right: 0;
  left: 16.66667%;
  bottom: 0;
  height: 50px;
  background: #3d6098;
  text-align: center;
  transform: translate3d(0, 0, 0);
}
.page-loading-indicators {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  transform: translate3d(0, -50%, 0);
  background: rgba(255, 255, 255, 0.5);
  font-size: 300px;
  text-align: center;
  color: rgba(74, 117, 174, 0.15);
  margin-top: -25px;
}
.indicators-error-body {
  overflow-y: auto;
  position: absolute;
  top: 125px;
  bottom: 0;
}
.indicators-list {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.indicatorInput-form {
  position: absolute;
  right: 0;
  left: 16.66667%;
  top: 132px;
  bottom: 50px;
  padding: 5px;
  background-color: #3d6098;
}
.indicatorInput-form.without-navigation-bar {
  top: 50px;
}
.indicatorInput-form > .indicator-component {
  height: 100%;
}
.indicatorsSimulator,
.indicatorsSimulator-values,
.indicatorsSummary-form {
  position: absolute;
  right: 0;
  left: 0;
  top: 50px;
  bottom: 50px;
  padding: 5px;
  background-color: #3d6098;
}
simulator-indicators-list > div,
simulator-coefficients-list > div {
  padding-bottom: 10px;
}
simulator-indicators-list .indicatorInput-group-dependencies,
simulator-coefficients-list .indicatorInput-group-dependencies {
  overflow: inherit;
}
.indicatorsSimulator-description {
  color: white;
  padding: 15px 25px;
}
.indicatorsSimulator-description a {
  color: #98d8d8;
}
.indicatorsSimulator {
  top: 50px;
  overflow: auto;
}
.indicatorsSimulator .indicatorsSimulator-values {
  top: 0;
}
.indicatorsSimulator.simulator-global-view {
  padding-top: 25px;
}
.coefficient-group-row .coefficient-row-content {
  padding: 5px 0;
  font-weight: bold;
}
.coefficient-group-row .coefficient-row-content .indicatorSelectMode--computed {
  font-weight: normal;
}
.coefficient-row .coefficient-row-content {
  padding: 5px 0 5px 25px;
}
.coefficient-row-content {
  display: flex;
  justify-content: space-between;
}
.coefficient-row-content .indicatorInput-indicator-row-inputs {
  min-width: unset;
  padding-right: 0;
}
.indicatorsSummary-form {
  top: 180px;
}
.iziToast-wrapper-bottomRight {
  right: 40px;
  bottom: 150px;
}
.iziToast-wrapper-bottomRight .iziToast {
  box-shadow: 1px 2px 15px 3px rgba(0, 0, 0, 0.3);
}
.indicators-filter {
  position: absolute;
  top: 50px;
  width: 100%;
}
.indicatorDescriptionSheet {
  height: calc(100% - 25px);
  display: flex;
  flex-direction: column;
}
.indicatorDescriptionSheet-header {
  background-color: #3d97c4;
  text-align: center;
  padding-bottom: 20px;
}
.indicatorDescriptionSheet-header h1,
.indicatorDescriptionSheet-header h2 {
  font-size: 22px;
  padding-top: 30px;
  padding-bottom: 10px;
  margin: 0;
  display: flex;
  justify-content: center;
  color: #FFF;
  font-weight: bold;
  border-radius: 5px 5px 0 0;
}
.indicatorDescriptionSheet-header a.button .icon-file {
  font-size: 13px;
}
.indicatorDescriptionSheet-header .meta-data-block {
  color: #FFF;
  font-style: italic;
  text-align: right;
  padding-right: 20px;
}
.indicatorDescriptionSheet-menu {
  display: flex;
  justify-content: center;
  background: #DDD;
}
.indicatorDescriptionSheet-menu .menu-entry {
  padding: 10px 30px 20px 30px;
  margin-bottom: -10px;
  font-size: 15px;
  border-radius: 0 0 5px 5px;
  text-align: center;
}
.indicatorDescriptionSheet-menu .menu-entry--current,
.indicatorDescriptionSheet-menu .menu-entry:focus {
  background: #3d97c4;
  color: #FFF;
  z-index: 2;
}
.indicatorDescriptionSheet-content {
  padding: 70px;
  overflow: auto;
}
.indicatorDescriptionSheet-content .form-grid .row {
  display: flex;
  border-top: 1px solid #ddd;
}
.indicatorDescriptionSheet-content .form-grid .row .grid-item {
  float: none;
  border-radius: 0;
  text-align: left;
  padding-top: 10px;
  padding-bottom: 10px;
}
.indicatorDescriptionSheet-content .form-grid .row .grid-item.col-md-6 {
  width: 50%;
  margin: 0;
}
.indicatorDescriptionSheet-content .form-grid .row .grid-item.col-md-12 {
  width: 100%;
  margin: 0;
}
.indicatorDescriptionSheet-content .form-grid .row .grid-item .button {
  margin-left: 15px;
  padding: 5px;
}
.indicatorDescriptionSheet-content .form-grid .row .grid-item .infos {
  font-style: italic;
  margin-bottom: 10px;
}
.indicatorDescriptionSheet-content .editable-text-field,
.indicatorDescriptionSheet-content .editable-select-field {
  min-height: 40px;
}
.indicatorDescriptionSheet-content .editable-value-input textarea {
  border: 1px solid #ccc;
  padding: 10px;
}
.indicatorDescriptionSheet-content table thead tr th {
  background: #cbcbcb;
  color: #444;
  text-align: left;
}
/* Règles responsives pour ajuster l'affichage sur certaines résolutions
******************************************************************************/
@media (max-width: 992px) {
  .indicators-layout {
    position: relative;
    height: 100%;
    min-height: 500px;
  }
}
/* Adaptations d'affichage pour l'impression : Interfaces des indicateurs
******************************************************************************/
@media print {
  .indicators-layout,
  .indicatorInput-form,
  .indicators-header,
  .indicators-navigation-bar,
  .indicators-list,
  .indicatorInput-dependencies,
  .indicatorRow-wrapper,
  .indicatorsSummary-form {
    position: relative !important;
    width: 100%;
    top: 0 !important;
    left: 0 !important;
    float: none;
    overflow: visible !important;
  }
  .indicators-panels,
  .indicators-action-bar,
  .indicatorsNavBar-category,
  .indicatorsNavBar-legend,
  .indicatorsNavBar-alerts,
  indicator-comment,
  indicator-reliability,
  .indicatorInput-info,
  .indicatorsHeader-label .fa-angle-double-right {
    display: none !important;
  }
  .indicators-navigation-bar {
    height: auto;
    margin-top: 30px;
  }
  .indicatorsHeader-wrapper {
    height: auto;
  }
  .indicatorsHeader-collectivity,
  .indicatorsHeader-service,
  .indicatorsHeader-date,
  .indicatorsHeader-status,
  .indicatorsHeader-managementMode,
  .indicatorsHeader-exercises,
  .indicatorsHeader-value,
  .indicatorsHeader-progress {
    display: inline;
    height: auto;
    width: auto;
    max-width: none;
    /* Masquer la flèche native */
    /* Flèche personnalisée à gauche */
  }
  .indicatorsHeader-collectivity select,
  .indicatorsHeader-service select,
  .indicatorsHeader-date select,
  .indicatorsHeader-status select,
  .indicatorsHeader-managementMode select,
  .indicatorsHeader-exercises select,
  .indicatorsHeader-value select,
  .indicatorsHeader-progress select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    width: 100%;
    border: 1px solid #ccc;
    padding: 8px 8px 8px 30px;
    font-size: 16px;
  }
  .indicatorsHeader-collectivity select::before,
  .indicatorsHeader-service select::before,
  .indicatorsHeader-date select::before,
  .indicatorsHeader-status select::before,
  .indicatorsHeader-managementMode select::before,
  .indicatorsHeader-exercises select::before,
  .indicatorsHeader-value select::before,
  .indicatorsHeader-progress select::before {
    content: 'v';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
  }
  .indicatorsHeader-value,
  select.indicatorsHeader-services,
  select.indicatorsHeader-exercises {
    font-size: 15px;
    font-weight: bold;
  }
  indicator-row {
    margin-top: 0;
    margin-left: 10px;
    margin-right: 10px;
    border: 2px solid #aaa;
  }
  .indicatorInput-indicator-row-title,
  .indicatorInput-indicator-row-inputs,
  .indicatorInput-indicator-row-inputs--root,
  .indicatorInput-verified-data-title,
  default-indicator-verified-fields {
    width: auto !important;
    white-space: normal !important;
  }
  .indicatorInput-inline-group-fields-inline {
    display: block;
    float: none;
  }
  .indicatorInput-dependencies {
    margin-bottom: 20px;
  }
  .indicatorInput-dependency-group {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    margin-bottom: 0 !important;
  }
  .indicatorInput-group-dependencies.closed {
    display: none;
  }
  .indicatorInput-dependencies,
  .indicatorInput-group-dependencies {
    border: 1px solid #CCC;
  }
  .indicatorField-wrapper {
    white-space: normal !important;
  }
  indicator-field,
  coefficient-field,
  .coefficient-input-field {
    height: auto !important;
  }
  .indicatorField-label {
    vertical-align: top;
  }
  .indicatorField-boolean {
    display: none !important;
  }
  .indicatorField-boolean-cursor {
    border: none;
    position: relative !important;
    font-weight: normal !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    transform: none !important;
    top: 0 !important;
  }
  .indicatorSelectMode {
    width: 45px !important;
    border-left: 1px solid #AAA;
  }
  .indicatorsList-category {
    padding-bottom: 0 !important;
  }
  .indicatorsList-group-arrow {
    display: none !important;
  }
  .indicatorsList indicator-field,
  coefficient-field,
  .coefficient-input-field {
    float: right;
  }
  .indicatorsList indicator-verification-status {
    float: none !important;
  }
  .indicatorInput-verified-data {
    display: table-row;
    position: relative;
    left: 0 !important;
  }
  default-indicator-verified-fields {
    display: table-cell;
  }
}

