:root {
  --color-primary: #041F4C;
  --color-secondary: #00c6d6;
  --color-whisper: #f5f6fa;
  --angle: 45deg;
}

body {
  height: auto !important;
  background: #F2F4F5;
}

*:focus {
  outline: none;
}

#doc3 {
   margin: 0;
}

p {
  margin: 0 !important;
}

#hd {
  background: var(--color-whisper);
  height: 80px;
  width: calc(100% - 47px);
  margin-left: 47px;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
}

#hd:after {
  display: none;
}

#company_logo {
 display: flex;
 justify-content: center;
 align-items: center;
 padding-left: 10px;
}

#company_logo > img {
  height: 80px;
  object-fit: contain;
 }

#welcome {
  position: relative;
  font-size: 1.5em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.welcome_category {
  display: flex;
  align-items: center;
  gap: 10px;
  }

.chart_period {
  display: flex;
  justify-content: flex-end;  
  align-items: center;
  width: 90%;
  gap: 10px;
}

.chart_period p {
  margin-bottom: 0;
}

.ui-slider-range-min {
  background: var( --color-primary );
}

#slider-range-minpreventive, #slider-range-mincurative, #slider-range-min {
  background: #E7E9ED;
}

.highcharts-button-box {
  fill: #E7E9ED;
}

#customer_logo_hd {
  display: flex;
  justify-content: center;
  align-items: center;
}

#customer_logo_hidden {
  display: none;
}

#customer_logo_hd > img {
  object-fit: contain;
  height: 50px;
}

#customer_logo > img {
  object-fit: contain;
  height: 55px;
}

#customer_profile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 5px 20px 5px 0;
}

#customer_profile > img {
  width: 120px;
  max-height: 50px;
  overflow: hidden;
  object-fit: contain;
}

.customer_profile_meta {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var( --color-primary );
  font-weight: 600;
}

.lang-wrapper {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lang-wrapper:hover {
  color: var( --color-secondary );
}

.lang-wrapper_list {
  display: flex;
  gap:5px;
}

.lang-wrapper_list img {
  height: 20px;
  object-fit: cover;
}

.lang-wrapper_list img:hover {
  opacity: .5;
}

#lnkBtAccount, #logoutbtnAccount, #lnkBtPreferences {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var( --color-primary );
}

#lnkBtAccount:hover, #logoutbtnAccount:hover, #lnkBtPreferences:hover {
  color:var( --color-secondary );
}

#logoutbtnAccount {
  color: #596275;
}

#logoutbtnAccount i {
  color: #596275;
  font-size: 1rem;
}

#logoutbtnAccount:hover i {
  color:var( --color-secondary );
}

.customer_profile_drop {
  padding: 10px;
  display: flex; 
  position: absolute;
  top: 80px;
  right:0;
  background: white;
  width: 150px;
  box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.2);
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  z-index: 99999999;
}

.customer_profile_meta > i {
  font-size: 1.3rem;
}

#dynamic_filter_dashboard {
  font-size: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.dynamic_filter_dashboard_select{
  cursor: pointer;
  position: relative;
  display: flex;
  width: 250px;
  background-color: white;
  padding: 10px 5px;
  border: none;
  box-shadow: grey 0px 0px 15px -5px;
  border-radius: 3px;
}

.dynamic_filter_dashboard_search {
  cursor: pointer;
  border-radius: 3px;
  padding: 10px;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;

}

.dynamic_filter_dashboard_search:hover{
 transform: scale(1.2);
}

#company_list {
  font-size: 12px;
}

#sector_list {
  font-size: 12px;
}

#vizavy_logo ul {
  margin-top: 0;
  margin-bottom: 0;
}

#vizavy_logo li {
  text-align: right;
}

#vizavy_logo a {
  text-decoration: none;
  color: black;
  font-weight:bold;
}

a {
  text-decoration: none;
}

a:link, a:visited, a:active {
  color: #000000;
  text-decoration: none;
  outline: none;
}

a:hover {
  color: #5B80B2;
  text-decoration: none;
}

input {
  padding: 0.25rem 0.5rem;
}

select {
  padding: 0.2rem 0.2rem;
}

.marge {
  margin-left: 2em;
  font-size: 10px;
  text-align: center;
}

.disable {
  color: gray;
}

.datetime img, .datetime input {
  vertical-align: middle;
}

.dashboard_graphics {
  text-align: center;
  width: 50%;
  height: 300px;
}

#DashboardMap,
#FailDashboardChart,
#MaintDashboardChart {
  height: 0;
  text-align: center;
  vertical-align: middle;
}

.diagnostics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 5px;
}


.diagnostics_title {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 5px 0;
  border-bottom: 2px solid #243356;
  color: var(--color-primary);
}

.diagnostics_title span {
  font-weight: 700;
  font-size: 1rem;
}

.diagnostics_item {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 30px;
  background: var(--color-whisper);
  box-shadow: var(--color-primary) 0px 0px 5px -2px;
  border-radius: 10px;
  padding: 20px;
}

.diagnostics_state_body {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.diagnostics_map_body {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}


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

.diagnostics_map {
  width: 90%;
}

.diagnostics_informations_body {
  flex: 1;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: flex-start;
  gap: 20px;
}

.diagnostics_informations_body_item, .compact {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  @media screen { max-width: 500px;
    align-items: flex-start;
  }
}

.diagnostics_informations_body_item i, .compact i {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.compact_items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash_table {
  position: relative;
  border-radius: 10px;
  border: none;
  height: auto;
  min-height: 200px;
  min-width: 560px;
  background: var(--color-whisper);
  box-shadow: var( --color-primary ) 0px 0px 5px -2px;
  -webkit-overflow-scrolling: touch;
   touch-action: auto;
}

.dash_table:hover {
  box-shadow: var( --color-primary ) 0px 0px 10px -2px;
}

.chart_header {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 40px;
}

.chart_header::before {
  content: "";
  position: absolute;
  height: 2px;
  bottom: -5px;
  width: 80%;
  left: 10%;
  opacity: .2;
  background: var(--color-primary);

}

.chart_title {
  position: relative;
  color: var(--color-primary);
  font-size: .95rem;
  font-weight: 600;
  opacity: .9;
  text-indent: 5px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  padding-bottom: 5px;
  width: 100%;
}

.chart_title i {
  position: absolute;
  left: 10px;
  top: -10px;
  color: var(--color-primary) !important;
  font-size: 2rem;
}

.chart_title a {
  color: var(--color-primary) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.chart_title_comment {
  font-size: 10px;
  font-style: italic;
  color: var(--color-primary);
  text-indent: 10px;
  cursor: pointer;
  margin-right: 10px;
}

.chart_content {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
  max-width: 100%;
}

.toggles-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 40px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  overflow: hidden;
}

.chart_toggle {
  height: 100%;
  position: relative;
  background: none;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--color-primary) !important;
  flex: 1;
  z-index: 999;
}

.chart_toggle::before {
  z-index: -1;
  content: "";
  position: absolute;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: var(--color-primary);
}

.chart_toggle.active i {
  color: white;
}

.chart_toggle.active::before{
  display: block;
}

.chart_toggle:hover {
  opacity: .2;
}

.chart_toggle.active:hover {
  opacity: 1;
}

.dashboard_chart {
  width: 100%;
  height: 100%;
  display: block;
}

.dashboard_chart_hidden {
  width: 100%;
  height: 100%;
  display: none;
}

#bd {
  min-height: calc(100vh - 153px);
  height: 100%;
  padding-bottom: 20px;
  background: white;
  box-shadow: var( --color-primary ) 0px 0px 5px -1px;
}

#nav {
  border-right: 1px solid #000;
}

#nav li {
  list-style: none;
}

.yui-t2 { height: 100%; /*background: #f0eef8;*/
}

.yui-t2 #yui-main .yui-b {
  margin-left: 47px; /*185px;*/
}

/*************************
    YUI Button
*************************/

.yui-skin-sam .yui-button {
  border-width: unset;
  border-style: unset;
  background: white;
  border-radius: 3px;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 1px 1px;
  padding: 1px 10px;
  background: none;
}


.yui-skin-sam .yui-button em {
  border: none;
  border-width: unset;
  border-style: unset;
  border: none !important;
}


.yui-link-button:hover {
  box-shadow: var( --color-secondary ) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  background: #ecf0f1;
}

.dataTables_filter input,
.dataTables_length select
 {
  border-radius: 3px;
  margin: 0 10px;
  border: none !important;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px

}

.dataTables_filter {
  display: flex;
  justify-content: flex-end;
}

.dataTables_filter label {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  max-width: 300px;
}

.clear {
  display: none;
}

div.DTTT_container {
  margin: 0 !important;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.DTTT_container a
 {
  border-width: unset;
  border-style: unset;
  background: white;
  border-radius: 3px;
  box-shadow: var( --color-primary ) 0 0 5px -2px;
  background: none;
}

.DTTT_container a:hover {
  border: none;
  background: white;
  box-shadow: var( --color-secondary ) 0px 0 5px -1px;
}

.yui-skin-sam .yui-button button,
.yui-skin-sam .yui-button a,
.yui-skin-sam .yui-navset .yui-content .yui-button button,
.yui-skin-sam .yui-navset .yui-content .yui-button a
{
  font-size: 85%;
}

/*************************
    YUI Tab navigation
*************************/

.yui-skin-sam .yui-navset .yui-nav,
.yui-skin-sam .yui-navset .yui-navset-top .yui-nav {
  border: none;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.yui-nav li:first-child a {
  padding-right: 10px !important;
}

.yui-skin-sam .yui-navset .yui-nav li,
.yui-skin-sam .yui-navset .yui-navset-top .yui-nav li {
    position: relative;
    border-bottom: 2px solid var( --color-primary );
    padding: 0;
    box-shadow: var( --color-primary ) 0px 0px 5px -2px;
    background: white;
    opacity: .6;
    border-radius: 3px;

    @media screen and (max-width: 450px) {
      padding: 5px 0;
    }

}


.yui-skin-sam .yui-navset .yui-nav li:hover,
.yui-skin-sam .yui-navset .yui-navset-top .yui-nav li:hover {
    opacity: 1;
}

.yui-skin-sam .yui-navset .yui-nav .selected,
.yui-skin-sam .yui-navset .yui-navset-top .yui-nav li.selected { 
  border: none !important;
  background: linear-gradient(var(--angle), #11193e, #2a347a);
  opacity: 1;
  border-radius: 3px;
}


.period_form form
 {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: flex-end;
}

.period_form form input
 {
  border-radius: 5px;
  border: .5px solid var(--color-secondary);
  padding: 4px 10px;
  font-size: .8rem;
}

.period_form .period_input label {
  width: 30px;
}

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

.period_input {
  display: flex;
  align-items: center;
  gap: 5px;
}

.yui-nav li.selected a em {
  color: white !important;
}


.yui-skin-sam .yui-navset .yui-nav a,
.yui-skin-sam .yui-navset .yui-navset-top .yui-nav a {
    background: none; /* tab background */
    height: 30px;
    color:var( --color-primary );
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .8rem;
    font-weight: 500;
    padding-left: 10px;
    padding-right: 30px;
}

/* Container */

.yui-dispatchable {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  height: 100%;
  width: 100%;
}

#id_last_reports_table, #id_waiting_reports_table {
  width: 100%;
}
#id_last_reports_table .display, #id_waiting_reports_table .display {
  width: 100%;
}

table.dataTable {
  width: 100% !important;
  margin-top: 60px !important;
  margin-bottom: 20px !important;
}

#scriptTableStats {
  margin: 0;
  padding: 0 0;
}

#scriptTableStats thead {
  display: none;
}

#scriptTableStats .group {
  background: var(--color-primary) !important;
  text-align: center;
  color: white;
  font-weight: 600;
  border-bottom: none;
}

#scriptTableStats tr.odd td, #scriptTableStats tr.even td {
  background: var(--color-whisper);
}

#scriptTableStats .normal td {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.scriptTableStats_item_name {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--color-primary)
}

/* second ui-nav  */

#on_the_same_line {
  display: none;
}

#build_show .yui-nav,
#cus_dash .yui-nav,
#eqp_show .yui-nav,
#diag_dashboard .yui-nav,
#premises_show .yui-nav,
#residence_show .yui-nav,
#user_show .yui-nav
 {
  width: 100%;
  padding: 0;
  background: var(--color-whisper) !important;
  display: flex !important;
  
  @media screen and (max-width: 620px) {
    gap: 5px !important;
  }

}



#build_show .yui-nav li ,
#cus_dash .yui-nav li ,
#premises_show .yui-nav li ,
#user_show .yui-nav li ,
#eqp_show .yui-nav li,
#diag_dashboard .yui-nav li,
#residence_show .yui-nav li
 {
  
  background: none;
  box-shadow: none;
  border: 1px solid var( --color-primary );
  border-top: none;
  border-left: none;
  opacity: .6;
  border-radius: 0;
  flex: 1;
  border-bottom-right-radius: 5px;

  @media screen and (max-width: 620px) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  @media screen and (max-width: 450px) {
    padding: 0;
  }
}

#build_show .yui-nav li:hover ,
#cus_dash .yui-nav li:hover ,
#user_show .yui-nav li:hover ,
#premises_show .yui-nav li:hover ,
#eqp_show .yui-nav li:hover,
#diag_dashboard .yui-nav li:hover,
#residence_show .yui-nav li:hover
{
  opacity: 1;
}

#build_show .yui-nav li:first-child ,
#cus_dash .yui-nav li:first-child ,
#user_show .yui-nav li:first-child ,
#premises_show .yui-nav li:first-child ,
#eqp_show .yui-nav li:first-child,
#diag_dashboard .yui-nav li:first-child,
#residence_show .yui-nav li:first-child 
 {
  border-bottom: 1px solid var( --color-primary );
}

#build_show .yui-nav li.selected a em , 
#cus_dash .yui-nav li.selected a em , 
#user_show .yui-nav li.selected a em , 
#premises_show .yui-nav li.selected a em , 
#residence_show .yui-nav li.selected a em , 
#diag_dashboard .yui-nav li.selected a em , 
#eqp_show .yui-nav li.selected a em 
{
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: var( --color-primary ) !important;
}

#build_show .yui-nav li.selected , 
#cus_dash .yui-nav li.selected , 
#user_show .yui-nav li.selected , 
#premises_show .yui-nav li.selected , 
#residence_show .yui-nav li.selected , 
#eqp_show .yui-nav li.selected,
#diag_dashboard .yui-nav li.selected
{
  opacity: 1;
  color:var( --color-primary );
  background: white;
  gap: 2px;
  border-top: 3px solid var( --color-primary ) !important;
  border-right: 1px solid var( --color-primary ) !important;
  border-left: 1px solid var( --color-primary ) !important;
  border-radius: 0;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}


#build_show .yui-nav li a,
#cus_dash .yui-nav li a,
#user_show .yui-nav li a,
#premises_show .yui-nav li a,
#residence_show .yui-nav li a,
#diag_dashboard .yui-nav li a,
#eqp_show .yui-nav li a
{
  color: var( --color-primary );
  padding: 0 !important;
  height: 30px;
  box-shadow: #000 0px -5px 10px -10px;
}

table.dataTable, table.dataTable th, table.dataTable td {
  box-sizing: unset;
}

table.dataTable tbody th, table.dataTable tbody td {
  padding: 13px 10px;
}

/* forms list */
.navigation-bar
{ 
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* forms */

.datetimeshortcuts {
  display: flex;
  align-items: center;
  /* width: 140px; */
}
.calendarbox  {
  margin-left: -256px;
  z-index: 99;
  background: white;
  box-shadow: var( --color-secondary ) 0px 0px 5px 2px;
}
#contentShowBuilding table, #contentShowResidence table, #contentShowPremises table {
 margin: 0;
}

form[name="closePremisesLogForm"],
form[name="showDiagnosisForm"],
form[name="contentShowDiagnosisForm"],
form[name="showContractForm"],
form[name="listStatsForm"], 
form[name="accountForm"], 
#change_password_form form, 
form[name="showMWOForm"],
form[name="showAppointmentForm"],
form[name="showAnomalyForm"],
form[name="showPremisesForm"], 
form[name="showUserForm"], 
form[name="showUserPermForm"],
form[name="showEvaluationForm"], 
form[name="showCharEquipmentForm"],
#contentShowLog_timeline_content
{  
  display: flex;
  justify-content: space-between;
  gap: 50px;
  background: var(--color-whisper);
  padding: 20px 10px;
  box-shadow: var( --color-primary ) 0px 0px 5px -2px;
  border-radius: 10px;
}

.map-wrapper, .pictures-wrapper {
  flex: 1;
}

#anomaly_fotorama.fotorama {
  border-radius: 10px;
  border: 1px solid var(--color-secondary) !important;
}

#anomaly_fotorama .fotorama__img {
  width: 100% !important;
  left: 0 !important;
  object-fit: cover;
}

form[name="showAnomalyForm"] .form_group {
    flex: 2;
}

#DashboardMapContent {
  width: 90%;
}

.form_group {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form_group_row {
  display: flex;
  gap: 50px;
  width: 100%;
}

.form_group_row.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 25px;
  width: 100%;
}

.form_group_col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form_group_item, 
.uniForm .ctrlHolder,
.uniForm .control-group
{
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 0 5px;
  /* height: 100%; */
  border: none;
}

.uniForm {
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

.uniForm:after {
  display: none;
}

.uniForm .radioselect {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 61%;
}

.uniForm .radioselect label {
  width: unset !important;
  display: flex;
  gap: 5px;
}

.uniForm .radioselect label input {
  box-shadow: unset;
}

.form_group_item label, 
.uniForm .ctrlHolder label,
.uniForm .control-group label
{
  font-size: 13px;
  font-weight: normal;
  color: var( --color-primary );
  opacity: .9;
  width: 30%;
  max-width: 150px;
  overflow-wrap: break-word; /* Permet au texte de se découper en mots */
  white-space: normal; 
}

.form_group_item input,
.uniForm .ctrlHolder input,
.form_group_item textarea,
.uniForm .ctrlHolder textarea
 {
  position: relative;
  border: 1px solid black;
  font-size: .8rem;
  border: none;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  border-radius: 3px;
  width: 60%;
  padding: 8px 5px;
  margin: 0;
  background: white;
}

.form_group_item .input-date-wrapper {
  width: calc( 60% + 9px );
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.form_group_item .input-date-wrapper input {
  width: 60%;
}

.uniForm .ctrlHolder .request_date {
  width: 61%;
  display: flex;
  justify-content: space-between;
}

.uniForm .ctrlHolder:has(input[name="request_date"]) input {
  width: 50%;
}

.form_group_item input[type="checkbox"],
.uniForm .ctrlHolder input[type="checkbox"]
{
  width: 20px;
  background: unset;
  box-shadow: unset;
}

.checkbox-wrapper {
  width: 61%;
  display: flex;
  justify-content: flex-start;
}


.form_group_item .select2-selection__rendered,
.uniForm .ctrlHolder .select2-selection__rendered
{
  height: 100%;
  position: relative;
  display: flex !important;
  align-items: center;
}

.form_group_item .select2-selection__clear,
.uniForm .ctrlHolder .select2-selection__clear
{
  float: unset;
  position: absolute !important;
  right: 20px;
}

.form_group_item p {
  display: flex;
  flex-direction: column;
  line-height: unset;
  position: relative;
  gap: 7px;
  width: calc( 60% + 10px );
  padding: 0 0;
}

.form_group_item p input {
  width: calc(100% - 10px ) !important;
}

.form_group_item_img {
  width: 60%;
  display: flex;
}
.form_group_item_img img {
  object-fit: cover;
  width: 120px;
}

.form_group_item select,
.uniForm .ctrlHolder select,
.uniForm .ctrlHolder .select2,
.form_group_item .select2
 {
  width: 61% !important;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  border-radius: 3px !important;
  overflow: hidden;
  background: white;
  border-radius: 3px;
  border: none !important;
  color: #444;
  padding: 8px 5px;
  margin-left: 5px;
}

.select2-container .select2-selection--single {
  height: 20px;
}

.type_list .select2-container .select2-selection--single {
  height: auto;
}

.form_group_item .selection {
  width: 100%;
}

.form_group_item .select2-selection {
 border-radius: 0;
 border: none;
}

.form_group_item a {
  gap: 10px;
  display: flex;
  align-items: center;
}

.form_group_item i {
  position: absolute;
  right: 10px;
  transform: translate(-50%, -50%);
  top: 50%;
}

.form_group_item .title {
  color: var( --color-primary );
}

.form_group_item .title::before {
  content: "";
  position: absolute;
  width: calc( 20% - 15px);
  height: 2px;
  background: var(--color-primary);
  left: 5px;
  bottom: -5px;
}

.form_group_item.title.full-width, .tags_list.title.full-width {
  width: 100% ;
}

.form_group_item.title.link {
  width: 100%;
}

.form_group_item.title a {
  color:  var( --color-primary );
}


.form_group_item.subtitle {
  width: 100%;
}

.form_group_item.subtitle > label {
  padding: 5px 0;
  border-bottom: 1px solid;
  width: 100%;
  max-width: unset;
}


.form_group_item p.datetime {
  font-weight: 500 !important;
  color: var(--color-primary);
}


form[name="showDiagnosisForm"] img {
  width: 100%;
  max-width: 300px;
  object-fit: contain;
}

form[name="addDiagnosisForm"] table {
  width: 100%;
}

form[name="addDiagnosisForm"] table td {
  padding: 15px 0;
}

.dynamic_formset {
  width: 100%;
}

.dynamic_formset .diagnosis_component.dynamic-formset2 td {
  padding: 5px;
}

form[name="contentShowDiagnosisForm"] ,
form[name="showContractForm"] ,
form[name="addDiagnosisForm"],
form[name="editDiagnosisForm"],
form[name="listStatsForm"],
#addLogForm,
#editAnomalyForm,
#editReservationForm,
#contentEditAnomaly ,
#contentAddAnomaly ,
#closePremisesLogForm ,
#addPremisesLogForm ,
#contentAddAppointment ,
#contentAddReservation ,
#contentAddMWO,
#closeLogForm,
#contentShowReservation,
#contentShowLogEquipment .dataTables_wrapper
{
  border-radius: 10px;
}


.tags_list label,
.dynamic_formset tr th,
.uniForm .control-group .controls label
{
  font-size: 13px;
  font-weight: normal;
  color: var( --color-primary );
  opacity: .9;
  width: auto;
  min-width: 30%;
  max-width: 150px;
  overflow-wrap: break-word; /* Permet au texte de se découper en mots */
  white-space: normal; 
}

form[name="showMWOForm"] b, #contentShowEquipment b
{
  color: var( --color-primary );
  opacity: .9;
  font-weight: 700;
}

form[name="showDiagnosisForm"] input[type="checkbox"],
form[name="showContractForm"] input[type="checkbox"]
 {
  text-align: right;
  box-shadow: unset;
}

/* Form */

.form_item {
  padding: 10px 0;
}

.form_item label {
  color: var( --color-primary );
  opacity: .9;
}

.form_item input  {
  border: 1px solid black;
  padding: 8px 10px;
  font-size: .8rem;
  border: none;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  border-radius: 3px;
  width: 100%;
}

/* hover tab */
.yui-skin-sam .yui-navset .yui-nav a:hover,
.yui-skin-sam .yui-navset .yui-nav a:focus {
    background: none; 
    color: var( --color-primary );
}


/* hovered tab */ 
.yui-skin-sam .yui-navset .yui-nav .selected a, 
.yui-skin-sam .yui-navset .yui-nav .selected a:focus, /* no focus effect for selected */ 
.yui-skin-sam .yui-navset .yui-nav .selected a:hover { /* no hover effect for selected */ 
   background: none; 
   color: var( --color-primary );
}


.yui-skin-sam .yui-navset .yui-nav a, .yui-skin-sam .yui-navset .yui-navset-top .yui-nav a {
  border: none;
}

.yui-skin-sam .yui-navset .yui-nav a em,
.yui-skin-sam .yui-navset .yui-navset-top .yui-nav a em,
.yui-skin-sam .yui-navset .yui-nav .selected a em {
  position: relative;
  display: flex;
  justify-content: flex-start;
  gap: 5px;
  align-items: center;
  width: 100%;
  font-weight: 600;
}

.close-nav-tab {
  position: absolute;
  right: -20px;
  font-size: 1rem !important;
  margin-top: 1.5px;
}

.yui-skin-sam .yui-navset .yui-content,
.yui-skin-sam .yui-navset .yui-navset-top .yui-content {
/*  background:#ffffff; /* content background color */ 
  background: transparent; /* content background color */ 
  z-index: 0; /* Set to 2, because uniForm, used by GED, is set to 1 */
  border: none;
  padding: 0;
  width: 100%;
}


.yui-skin-sam .yui-navset .yui-nav a em, .yui-skin-sam .yui-navset .yui-navset-top .yui-nav a em {
  border: none;
}

/******************
    Fontawesome
******************/

.fa-red {
  color: red !important;
}

.fa-orange {
  color: orangered !important;
}

.fa-yellow {
  color: darkgoldenrod !important;
}

.fa-green {
  color: limegreen !important;
}

.fa-grey {
  color: grey !important;
}

.fa-white {
  color: white !important;
}

.fa-purple {
  color: #be2edd !important;
}

#menu {
  position: fixed;
  top: 0;
  height: 100vh;
  width: 47px;
  margin-left: 0px;
  display: block;
  overflow: hidden;
  z-index: 2; /* Set to 2, because uniForm, used by GED, is set to 1 */
}

#menu .menu_disabled {
  opacity: .6;
}

#menu td.selected {
  background-color: var( --color-primary );
}


#menu td:hover {
  background-color: var( --color-primary );
}

#module_bar {
  display: flex;
  justify-content: center;
  align-items: center;
}

#module_bar:hover {
  cursor: pointer;
}

#module_bar i {
  color: #999999 !important;
}

#module_bar i:hover {
  color: white !important;
}



#dash {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 25px;
} 

#dash ul.yui-nav li span.close {
  background-image: url("../images/close.1fab679d0be6.png");
  text-indent: 500px;
  display: block;
  overflow: hidden;
  width: 12px;
  height: 12px;
  margin-left: 20px;
  position: absolute;
  top: 0px;
  right: 2px;
}

#dash ul.yui-nav li span.close:hover {
  background-image: url("../images/close_hover.112fa0f3fffb.png");
}

div[role=navigation2],
.navigationBar
{
  position: relative;
}

.navigation-wrapper {
  background: var(--color-whisper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 10px;
  border-radius: 10px;
  box-shadow: var( --color-primary ) 0px 0px 5px -2px;
}

.navigation-bar_item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  max-width: 400px;

}

.navigation-bar_item span {
  font-size: .6rem;
  text-align: center;
  color: #243356;
  font-weight: 700;

}

.navigation-bar_item a {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.navigation-bar_item p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}


.navigation-bar_item p a {
  display: unset;
}


.navigation-bar_item i {
  font-size: 1.3rem;
  margin-top: 5px;
}

.navigation-bar_item:first-child i {
  font-size: 2rem;
  margin: auto 0;
}


.navigation-bar_item img {
  margin: 0 auto;
}

.navigationBar table {
  margin: 0;
}

.navigationBar td {
  text-align: center;
  padding: 0 10px 0 10px;
}

.nav_report {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}


.nav_report .yui-link-button {
  height: 25px;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
}

.leftArrow, .rightArrow {
  cursor: pointer;
}

.leftArrowGray, .rightArrowGray {
  cursor: default;
}


.tags_list_wrapper, #inventory_eqp_type_list  {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.tags_list, .type_list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.tags_list:last-child, .type_list:last-child {
  max-width: 60%;
}

.tags_list .title, .type_list .title {
  border-bottom: 2px solid var( --color-primary );
  color: var( --color-primary );
}

.tags_list_item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tags_list_item label {
  width: unset;
  max-width: unset;
}

/* new content css */

#contentShowLogPremises,
#contentListResidence,
#contentListAnomaly,
#contentListBuilding,
#contentListPremises,
#contentListMWO,
#contentListEquipment,
#contentShowPremises,
#contentShowPlanningPremises,
#contentShowBuilding,
#contentShowPreferences,
#contentShowEvaluation,
#contentShowResidence,
#contentShowEquipment,
#contentShowLogEquipment,
#contentShowLog,
#contentShowPlanningEquipment,
#contentShowStatsEquipment,
#contentShowCharEquipment,
#contentListEquipmentInventoryDetail,
.graphMeasureTable,
#contentCloseLog,
#residence_show,
#build_show,
#contentShowStats,
#contentAddDiagnosis,
#contentEditDiagnosis,
#contentEditReservation,
#pollsStatsID,
#contentCheckAsset,
#contentClosePremisesLog,
#contentEditAnomaly,
#contentAddMWO,
#contentAddPremisesLog,
#contentAddAppointment,
#contentAddReservation,
#contentShowReservation,
#contentEditMWO,
#contentAddNotif,
#cus_dash,
#cus_lift_dash_content,
#cus_boiler_dash_content,
#evaluationEquipment,
.contentListReservationTable,
.contentListDiagnosis,
#contentListDiagnosisBuilding,
#contentEditUser,
#editUserForm,
#contentListUserNotif,
#contentShowUserPerms,
#account_form,
#change_password_form,
#premises_show,
.contentListPremisesTable,
.GeneralListMission,
.contentListAppointment,
.contentListAnomalyWrapper,
.contentListMWOWrapper,
#contentListPremisesInventoryDetail,
#eqp_show,
#contentEditContract,
#contentAddLog,
#contentEditEvaluation,
#contentAddEvaluation,
#contentShowMWO,
#contentShowAnomaly,
#contentListContract,
#contentListInventory,
#contentAddAnomaly,
#contentShowContract,
#contentListPremisesMix,
#contentListStats,
#contentListUser,
#user_show,
#contentShowUser,
#ged_wrapper,
#contentListPremisesDiagnosisAsset,
#GeneralListMission_container,
#contentShowDiagnosis
 {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}


#contentShowBuilding p,
#contentShowPreferences p,
#showEvaluationForm p,
#contentShowResidence p,
#contentShowPremises p
{
  font-size: 1rem;
  color: var(--color-primary);
  text-align: left;
}


#ged_wrapper:has(form.uniForm), #ged_wrapper:has(form.uniform) {
  flex-direction: column-reverse;
}

#estimate_period,
#mwo_period,
#list_inventory_period
{
  width: 100%;
}

.dataTables_wrapper,
.stats_chart_wrapper_item,
form[name="showResidenceForm"],
form[name="contentShowLogForm"],
form[name="showBuildingForm"],
form[name="showPreferencesForm"],
form[name="showEvaluationForm"],
form[name="addLogForm"],
form[name="showEquipmentForm"],
form[name="addDiagnosisForm"],
form[name="editDiagnosisForm"],
form[name="listStatsForm"],
form[name="addAnomalyForm"],
form[name="editUserForm"],
form[name="editMWOForm"],
form[name="editMWO"],
form[name="editContractForm"],
form[name="editAnomalyForm"],
form[name="editReservationForm"],
form[name="addReservationForm"],
form[name="addPremisesLogForm"],
form[name="addAppointmentForm"],
form[name="showReservationForm"],
form[name="addMWOForm"],
form[name="closeLogForm"],
form[name="addNotifForm"],
.uniForm,
.graphMeasureTableWrapper,
#cus_boiler_chart_table
{
  padding: 20px;
  background: var(--color-whisper);
  box-shadow: var( --color-primary ) 0px 0px 5px -2px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  border-radius: 10px;
  overflow: hidden;
}

.uniform-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dataTables_wrapper {
  display: block;
}

form[name="showBuildingForm"] {
  flex-direction: row;
}


#ged_wrapper .navigation-bar,
#navListEquipment,
#navListPolls,
#navCheckAsset,
#navClosePremisesLog,
#navEditAnomaly,
#navEditContract,
#navAddPremisesLog,
#navAddMission,
#navAddAppointment,
#navAddReservation,
#navEditMWO,
#navAddMWO,
#navAddLog,
#navShowEvaluation,
#navAddEvaluation,
#navEditEvaluation,
#navListDiagnosisBuilding,
#navEditUser,
#navListUserNotif,
#navShowUserPerms,
#navShowReservation,
#navAddDiagnosis,
#navEditDiagnosis,
#navShowUser,
#navListUser,
#navChangePasswordForm,
#navAccountForm,
#navShowContract,
#navListResidence,
#navListPremises,
#navListBuilding,
#navListAnomaly,
.navListAnomaly,
.navListDiagnosis,
.navListMWO,
#navShowAnomaly,
#navShowEquipment,
#navShowLogEquipment,
#navShowLog,
#navListInventory,
#navShowPlanningEquipment,
#navShowMWO,
#navListContract,
#navCloseLog,
#navClosePreferences,
#navShowResidence,
#navListPremisesInventoryDetail,
#navShowBuilding,
#navListEquipmentInventoryDetail,
#navShowDiagnosis,
.navListReservation,
#navListPremisesMix,
#navListStats,
#navShowPremises,
#navEditReservation,
#navShowLogPremises,
#navShowPlanningPremises,
.navShowGedDocuments,
.navListAppointment,
#navAddNotif,
.navShowPermises,
.navShowGedEstimates,
#navAddAnomaly
{
  display: flex;
  gap: 10px;
  width: 100%;
}

#ged_wrapper .navigation-bar span,
#navListEquipment span,
#navListPolls span,
#navShowDiagnosis span,
#navCheckAsset span,
#navClosePremisesLog span,
#navAddDiagnosis span,
#navEditDiagnosis span,
#navEditAnomaly span,
#navEditContract span,
#navAddAppointment span,
#navAddMission span,
#navAddReservation span,
#navAddPremisesLog span,
#navEditMWO span,
#navAddMWO span,
#navAddNotif span,
#navAddLog span,
#navEditEvaluation span,
#navAddEvaluation span,
#navShowEvaluation span,
#navListDiagnosisBuilding span,
#navEditUser span,
#navListUserNotif span,
#navShowUserPerms span,
#navShowReservation span,
#navShowUser span,
#navListUser span,
#navChangePasswordForm span,
#navAccountForm span,
#navListResidence span,
#navListPremises span,
#navShowContract span,
#navListStats span,
#navListBuilding span,
#navListInventory span,
#navListContract span,
#navAddAnomaly span,
#navListPremisesInventoryDetail span,
#navListAnomaly span,
.navListAnomaly span,
.navListDiagnosis span,
.navListMWO span,
#navShowAnomaly span,
#navShowResidence span,
#navShowBuilding span,
#navShowEquipment span,
#navShowLogEquipment span,
#navShowLog span,
#navShowPlanningEquipment span,
.navShowGedDocuments span,
.navShowPermises span,
#navShowPremises span,
#navEditReservation span,
#navShowLogPremises span,
#navShowPlanningPremises span,
.navShowGedEstimates span,
#navShowMWO span,
#navCloseLog span,
#navClosePreferences span,
#navListEquipmentInventoryDetail span,
.navListReservation span,
.navListAppointment span,
#navListPremisesMix span
{
  padding: 3px !important;
  border-radius: 3px !important;
  background: white !important;
}

#ged_wrapper .navigation-bar span.first-child {
  padding: 0 !important;
  margin: 0 !important;
  border: none;
}

.uniForm .formHint {
  display: none;
}

.uniForm fieldset {
  width: 100%;
  gap: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.uniForm fieldset legend {
  border: solid blue;
  grid-column: span 2;
  text-align: center;
  margin-bottom: 10px;
  font-size: 1rem;
  display: none;
}

.uniForm .ctrlHolder {
  border: none;
}

.uniForm .ctrlHolder#div_id_file .div_id_file_content_wrapper{
  display: flex;
  flex-direction: column-reverse;
  gap: 5px;
  width: 61%;
  padding: 0;
  align-items: flex-end;
}

.uniForm .ctrlHolder#div_id_file .div_id_file_content_wrapper input{
  width: calc(100% - 10px);
}


.uniForm .ctrlHolder:has(table) {
  grid-column: span 2;
  border: .5px solid var(--color-secondary);
  border-right: none;
  border-left: none;
  border-top: none;
}

.uniForm .ctrlHolder table {
  padding: 10px;
  width: 100%;
}

.uniForm .ctrlHolder::after {
  content: "";
  display: none;
}

.uniForm .ctrlHolder table tr:has(th),
.uniForm .ctrlHolder table tr:not(:last-child)
{
  border-bottom: .5px solid var(--color-secondary);
}


.uniForm .ctrlHolder table th,
.uniForm .ctrlHolder table td
{
  padding: 10px 5px !important;
  font-size: .7rem;
}

.uniForm .ctrlHolder table th {
  font-weight: 600;
  font-size: .6rem;
  color: var(--color-primary);
  opacity: .8;
}

.uniForm .control-group .controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 60%;
  padding: 0;
  margin: 0;
}

.table-actions_wrapper {
  display: flex;
  gap: 20px;
}

.chart_wrapper {
  background: var(--color-whisper);
  border-radius: 3px;
  box-shadow: var( --color-primary ) 0px 0px 5px -2px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  overflow: hidden;
}

.chart_wrapper_item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 99%;
}

.chart_wrapper_item .chart_title {
  text-decoration: underline;
}

#lnkBtDraftListPremisesInventory,
#lnkBtPublishListPremisesInventory
{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px
}


#ft {
  padding: 20px 0;
  padding-right: 100px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: var( --color-primary );
  background: var(--color-whisper);
  box-shadow: var( --color-primary ) 0px 0px 5px -1px;
}

#menu-table {
  background: var(--color-primary);
  margin: 0;
}

tr.alive td {
  background-color: green;
}

tr.dead td {
  background-color: red;
}

th {
  border: 0;
  text-align: left;
}

table.border_1_solid_black td, table.border_1_solid_black th {
  border: 1px solid black;
  padding: 3px;
}

table.border_0 td, table.border_0 th {
  border: 0;
  padding: 3px;
}

table.display thead th {
  border-bottom: 1px solid  var( --color-secondary ) ;
}

.dataTable {
  border-bottom: 1px solid  var( --color-secondary ) !important;
}

table.display tr .dtr-control .dtr-control-content {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

table.display tr.odd.normal td {
  background-color: #f5f5f5;
  border-top: 1px solid  var( --color-secondary ) ;
}

table.display tr.odd.normal td.sorting_1 {
  background-color: #f5f5f5;
}

table.display tr.odd.normal td.sorting_2 {
  background-color: #f5f5f5;
}

table.display tr.odd.normal td.sorting_3 {
  background-color: #f5f5f5;
}

table.display tr.even.normal td {
  background-color: #ffffff;
  border-top: 1px solid  var( --color-secondary ) ;
}

table.display tr.even.normal td.sorting_1 {
  background-color: #ffffff;
}

table.display tr.even.normal td.sorting_2 {
  background-color: #ffffff;
}

table.display tr.even.normal td.sorting_3 {
  background-color: #ffffff;
}

table.display tr.odd.outoforder td {
  background-color: #5a9ad7;
}

table.display tr.odd.outoforder td.sorting_1 {
  background-color: #5a9ad7;
}

table.display tr.odd.outoforder td.sorting_2 {
  background-color: #5a9ad7;
}

table.display tr.odd.outoforder td.sorting_3 {
  background-color: #5a9ad7;
}

table.display tr.even.outoforder td {
  background-color: #5a9ad7;
}

table.display tr.even.outoforder td.sorting_1 {
  background-color: #5a9ad7;
}

table.display tr.even.outoforder td.sorting_2 {
  background-color: #5a9ad7;
}

table.display tr.even.outoforder td.sorting_3 {
  background-color: #5a9ad7;
}

table.display tr.odd.strange td {
  background-color: #c0e3f9;
}

table.display tr.odd.strange td.sorting_1 {
  background-color: #c0e3f9;
}

table.display tr.odd.strange td.sorting_2 {
  background-color: #c0e3f9;
}

table.display tr.odd.strange td.sorting_3 {
  background-color: #c0e3f9;
}

table.display tr.even.strange td {
  background-color: #c0e3f9;
}

table.display tr.even.strange td.sorting_1 {
  background-color: #c0e3f9;
}

table.display tr.even.strange td.sorting_2 {
  background-color: #c0e3f9;
}

table.display tr.even.strange td.sorting_3 {
  background-color: #c0e3f9;
}

table.display tr.odd.incoherent td {
  background-color: #ffa500;
}

table.display tr.odd.incoherent td.sorting_1 {
  background-color: #ffa500;
}

table.display tr.odd.incoherent td.sorting_2 {
  background-color: #ffa500;
}

table.display tr.odd.incoherent td.sorting_3 {
  background-color: #ffa500;
}

table.display tr.even.incoherent td {
  background-color: #ffa500;
}

table.display tr.even.incoherent td.sorting_1 {
  background-color: #ffa500;
}

table.display tr.even.incoherent td.sorting_2 {
  background-color: #ffa500;
}

table.display tr.even.incoherent td.sorting_3 {
  background-color: #ffa500;
}

table.display tr.odd.outofcontract td {
  background-color: #5a9ad7;
}

table.display tr.odd.outofcontract td.sorting_1 {
  background-color: #5a9ad7;
}

table.display tr.odd.outofcontract td.sorting_2 {
  background-color: #5a9ad7;
}

table.display tr.odd.outofcontract td.sorting_3 {
  background-color: #5a9ad7;
}

table.display tr.even.outofcontract td {
  background-color: #5a9ad7;
}

table.display tr.even.outofcontract td.sorting_1 {
  background-color: #5a9ad7;
}

table.display tr.even.outofcontract td.sorting_2 {
  background-color: #5a9ad7;
}

table.display tr.even.outofcontract td.sorting_3 {
  background-color: #5a9ad7;
}

table.display tr.odd.row_selected td {
  background-color: #9FAFD1;
}

table.display tr.odd.row_selected td.sorting_1 {
  background-color: #9FAFD1;
}

table.display tr.odd.row_selected td.sorting_2 {
  background-color: #9FAFD1;
}

table.display tr.odd.row_selected td.sorting_3 {
  background-color: #9FAFD1;
}

table.display tr.even.row_selected td {
  background-color: #B0BED9;
}

table.display tr.even.row_selected td.sorting_1 {
  background-color: #B0BED9;
}

table.display tr.even.row_selected td.sorting_2 {
  background-color: #B0BED9;
}

table.display tr.even.row_selected td.sorting_3 {
  background-color: #B0BED9;
}

td.details {
  background-color: #d1cfd0;
  border: 2px solid #A19B9E;
}

/*
 * Row highlighting example
 */
table.display tbody tr.even:hover, table.display tbody tr.even td.highlighted {
  background-color: #9FAFD1;
}

table.display tbody tr.odd:hover, table.display tbody tr.odd td.highlighted {
  background-color: #B0BED9;
}

table.display tr.even:hover td {
  background-color: #9FAFD1;
}

table.display tr.even td.cell_link:hover {
  background-color: #4466BB;
}

table.display tr.even:hover td.sorting_1 {
  background-color: #9FAFD1;
}

table.display tr.even:hover td.sorting_2 {
  background-color: #9FAFD1;
}

table.display tr.even:hover td.sorting_3 {
  background-color: #9FAFD1;
}

table.display tr.odd:hover td {
  background-color: #B0BED9;
}

table.display tr.odd td.cell_link:hover {
  background-color: #4466BB;
}

table.display tr.odd:hover td.sorting_1 {
  background-color: #B0BED9;
}

table.display tr.odd:hover td.sorting_2 {
  background-color: #B0BED9;
}

table.display tr.odd:hover td.sorting_3 {
  background-color: #B0BED9;
}

table.display td.group {
  background-color: #d1cfd0;
  border-bottom: 2px solid #A19B9E;
  border-top: 2px solid #A19B9E;
}

table.display th.bgcolor_grey {
  background-color: #F5F5F0;
}

table.display td.bgcolor_grey {
  background-color: #F5F5F0;
}

table.display tbody tr {
  cursor: pointer;
  *cursor: hand;
}

table.display tbody tr td a  i {
  color: var( --color-primary );
}

table.display tbody tr td a:hover i {
  color: var( --color-secondary );
}

table.display tbody tr td a {
  margin: 0 2px;
}

.dataTables_info, .dataTables_paginate {
  justify-content: center;
}

.dataTables_paginate::after {
  display: none !important;
}

.dataTables_paginate {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  row-gap: 10px;
}

.paginate_button {
  padding: .3em 1em !important;
  border-radius: 5px !important;
  box-shadow: rgba(60, 64, 67, 0.15) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  margin: 5px 5px;
}


.paginate_button {
  border: none !important;
}

.paginate_button:hover {
  background:var( --color-primary ) !important;
  opacity: .9;

}

.paginate_button.disabled {
  box-shadow: rgba(60, 64, 67, 0.15) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px !important;
}

.paginate_button.disabled:hover {
  background: white !important;
}

.paginate_button.current {
  border: none !important;
  background: white !important;
  box-shadow: var( --color-secondary ) 0px 0px 4px 1px;

}

.paginate_button.current:hover {
  background: white !important;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#contentShowStatsEquipment, #eqp_chart_table,
#cus_lift_chart_table,
#cus_common_dash_content, #cus_common_chart_table {
  height: auto;
  width: 100%;
}

.adaptive {
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.float {
  float: left;
  display: table-cell;
  margin: auto;
}

.valign {
  display: table;
  vertical-align: middle;
}

.grid_content {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
}

#dash_header {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 20px;
}

#id_information {
  flex:1;
  align-items: flex-start;
  padding: 0;
  margin: 0;
}

#id_notification {
  flex: 1;
  align-items: flex-start;
  padding: 0;
  margin: 0;
}


#dash_content, .diagnostics {
  list-style-type: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(560px, 1fr)) !important;
  gap: 25px;
}

#diag_dashboard {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  justify-content: center;
  align-items: center;
}

#contentFilterLabel, 
#contentPreferencesLabel, 
#contentListPremisesMixFilterLabel,
.form_title
{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  opacity: .9;
  color: var( --color-primary );
  text-align: center;
  padding: 10px 30px;
  color: white;
  background: linear-gradient(var(--angle), #11193e, #2a347a);
  border-radius: 3px;
  box-shadow: var( --color-primary ) 0px 0px 5px -2px;
  max-width: 50%;
  margin: 0 auto;
}

.form_title {
  width: auto;
  align-self: center;
}


#dash_content li {
  color: black;
  border: none;
}

.tile_list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
}

.tile {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  border: none;
  width: 175px;
  height: 80px;
  box-shadow: var( --color-primary ) 0px 0px 5px -2px;
  touch-action: auto;
  -webkit-overflow-scrolling: touch;
}

.tile a {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 10px;
}

.tile:hover {
  opacity: .5;
  cursor: pointer;
}

.tile_meta {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex: 3;
  height: 100%;
}

.tile_label {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  opacity: .8;
  z-index: 10;
}

.tile_icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  opacity: .6;
}


.tile_icon img {
  object-fit: cover;
}

.tile_icon i {
  color: white;
  font-size: 2.5rem;
}


.tile_nb {
  font-size: 1.2rem;
  font-weight: 600;
}


.tile_nb p {
  padding: 0;
  margin: 0;
}



#modules {
  width: 250px;
  position: absolute;
  top: 0;
  left: 48px;
  height: 100%;
  border: 1px solid #D3D3D3;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -moz-box-shadow: 4px 4px 10px #888;  
  -webkit-box-shadow: 4px 4px 10px #888;  
  box-shadow: 4px 4px 10px #888;
  display: block;
  background: #ffffff;
  z-index: 2; /* Set to 2, because uniForm, used by GED, is set to 1 */
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.modules_item {
  border-radius: 0 !important;
  margin: 0 !important;
  width: 100%;
  padding: 8px 0 !important;
  cursor: pointer;
}

.modules_item a {
  color: var(--color-primary) !important;
  display: flex;
  gap: 10px;
  align-items: center;
}

.modules_item:hover {
  background: var(--color-primary);
  box-shadow: grey 0 0 5px -2px;
}

.modules_item:hover a {
  color: white !important;
}

.tile::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.tile[role=asset]::before{
  background: linear-gradient(var(--angle), var(--color-primary), #3a4870);
}

.tile[role=alert]::before {
  background: linear-gradient(var(--angle), #962a7b, #93006e);
  background: #b71540;
  filter: grayscale(.2);
}

.tile[role=info] {
  background: linear-gradient(var(--angle), #f7854b, #e07945);
}

.tile[role=asset]:hover {
  box-shadow: grey 0px 0px 5px 0px;
}

.tile[role=alert]:hover {
  box-shadow: grey 0px 0px 5px 0px;
}

.tile[role=info]:hover {
  box-shadow: grey 0px 0px 5px 0px;
}


.tile[role=asset] .tile_nb p {
  color: whitesmoke;
}

.tile[role=alert] .tile_nb p {
  color: whitesmoke;
}

.tile[role=info] .tile_nb p {
  color: whitesmoke;
}



.tile[role=asset] .tile_label p {
  color: whitesmoke;
}

.tile[role=alert] .tile_label p {
  color: whitesmoke;
}

.tile[role=info] .tile_label p {
  color: whitesmoke;
}



.tile[role=alert] .tile_icon i {
  color: white !important;
}

.tile[role=info] .tile_icon i {
  color: white !important;
}

#DashboardMapLegend p {
  padding: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

 #display_dash_map,
 #display_fail_dash_chart, #display_maint_dash_chart, 
 #display_dashboard_mwo_table, #display_dashboard_mwo, #display_dashboard_state_pie,
 #display_dashboard_state_table, 
 #id_state_table_curative,
 #id_mwo_state,
 #id_state_pie_preventive,
 #id_maint_dash_chart,
 #id_fail_dash_chart,
 #id_maint_dash_chart,
 #id_dash_map
 {
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

#display_dash_map .dashboard_table_content {
  width: 96%;
}


.two-column-wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
  height: auto;
  max-height: 532px;
}

.two-column-item {
  flex: 1;
}

#id_ged , #id_stats, #id_last_reports, #id_waiting_reports {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  overflow: hidden;
  height: 250px;
}

#display_waiting_reports, #display_last_reports {
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 100%;
}

#status_pie, #status_table_pie, #mwo_status, #status_mwo_pie, #stats_pie_chart {
  text {
    color: var(--color-primary) !important;
    fill: var(--color-primary) !important;
    opacity: .7;
    stroke: 0;
  }
  .highcharts-title {
    color: black !important;
    fill: black !important;
  }
  tspan {
    stroke: none;
  }
}

.highcharts-pie-series path.highcharts-point, .highcharts-bar-series path.highcharts-point {
  stroke-width: 0;
}

.highcharts-pie-series .highcharts-data-label {
  font-size: .8rem;
  font-weight: 600;
}

.highcharts-pie-series .highcharts-text-outline,
.highcharts-bar-series .highcharts-text-outline,
.highcharts-column-series .highcharts-text-outline {
  display: none;
}

.highcharts-pie-series path.highcharts-data-label-connector {
  stroke: grey;
}

.highcharts-column-serie text {
  opacity: 0 !important;
}

#id_ged img{
  width: 30px;
  object-fit: cover;

}

.dash_list, .stats_list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0;
  padding: 0;
  width: 85%;
  justify-content: center;
  flex:1;
}


.dash_list li a, .stats_list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  font-size: .8rem;
  background: transparent;
  color: var(--color-primary) !important;
}


.stats_list li a {
  flex-direction: row;
  justify-content: flex-start;
}

.dash_list li a img, .stats_list li a img {
  margin: 0;
 
}

.dash_list a i {
  margin-top: 7px;
  font-size: 1.2rem;
}

.dash_list_data {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 40px;
}

#logTable, #cusImportLogTable, #planningTable {
  font-size: 10px;
}


table.dataTable thead th, table.dataTable thead td, table.dataTable tfoot th {
  padding: 0;
  padding: 10px 0;
  min-width: 60px !important;
}

.dataTables_wrapper table th {
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center right;
  padding: 10px 18px;
}

table.dataTable tfoot th, table.dataTable tfoot td {
  border-top: .5px solid var(--color-secondary);
}

.list_table {
  margin-top: 40px !important;
  padding: 0;
  border-spacing: 0;
  border-collapse: collapse;
  border: 0;
  font-size: 10px;
}

/* Login form */
#login_div {
  height: 100%;
}

.login-wrapper {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.login-bg {
  position: absolute;
  top:0;
  z-index: 0;
  background:url("../images/login-bg.c935d4694dec.jpg") no-repeat center center fixed;
  width: 100%;
  height: 100%;
  background-size: cover;  
  filter: grayscale(.45);       

}

.login-form {
  position: relative;
  box-shadow: white 0px 0px 5px;
  backdrop-filter: blur(100px);
  border-radius: .5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 500px;
  height: 700px;
  padding: 80px 10px;
  gap: 40px;
  overflow: hidden;
}

.login-form.login-form_auto {
  height: auto;
  width: 600px;
  overflow-y: auto;
}

.login-form p {
  color: white;
  font-size: .9rem;
  font-weight: 500;
 }

 .login-form p.suggestion {
  position: absolute;
  font-size: .6rem;
  font-weight: 600;
  color: var(--color-primary);
  bottom: -30px;
  left: 0;
 }

.even.parent .dtr-control::before, .odd.parent .dtr-control::before {
  padding: 1px;
  font-size: .6rem;
  display: flex !important;
  justify-content: center;
  align-items: center;
  background-color: #243356 !important;  
  color: var( --color-secondary ) !important;
}

.even .dtr-control::before, .odd .dtr-control::before {
  padding: 1px;
  font-weight: 700;
  font-size: .6rem;
  display: flex !important;
  justify-content: center;
  align-items: center;
  background-color: white !important;
  color:  var( --color-secondary ) !important;

}

#responsesTable .low-score  {
  color: #e74c3c;
  font-weight: 600;
  display: flex;
  gap: 5px;
  align-items: center;
}

#responsesTable .low-score i  {
  font-size: .87rem;
  margin: 0;
  padding: 0;
}

/* timeline */

.timeline-event {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 100px;
  width: 100%;
  flex-wrap: wrap;
  position: relative;
  cursor: pointer;
  margin-bottom: 80px;
}

.timeline-label,
.timeline-content {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  word-break: break-word;
  width: 40%;
  max-width: 500px;
}

.timeline-content.hide {
  box-shadow: none;
  background: transparent;
}

.timeline-label {
  font-weight: 700;
  position: relative;
  margin-top: 10px;
}

.timeline-label::after {
  position: absolute;
  content: "";
  width: 30px;
  height: 2px;
  top: 50%;
  background-color: var(--color-secondary);
}

.timeline-label.left::after {
  right: -35px;
}

.timeline-label.right::after {
  left: -35px;
}

.timeline-label.left {
  text-align: right;
}

.timeline-label.right {
  text-align: left;
}

.timeline-content {
  border-radius: 5px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.timeline_content_item {
  background: white;
  padding: 5px 12px;
  border-left: 3px solid var(--color-primary);
  border-radius: 4px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: rgba(60,64,67,0.3) 0px 1px 2px,
              rgba(60,64,67,0.15) 0px 1px 3px 1px;
}

.timeline_content_item_title {
  color: var(--color-primary);
  opacity: .9;
  font-size: 13px;
  font-weight: 700;
}

.timeline_content_item_value {
  font-size: 12px;
}

.timeline-meta {
  position: absolute;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.timeline-meta_item {
  display: flex !important;
  gap: 5px;
}

.timeline-meta_item span, .timeline-meta_item p {
  font-weight: 500;
  font-size: .8rem;
  opacity: .8;
  color: var(--color-primary);
}

.timeline-meta_item span.only-mobile {
  display: none;
  font-weight: 700;
  color: black;
}

.timeline-meta_item span.meta-bold, .timeline-meta_item p.meta-bold {
  font-weight: 700;
}

.timeline-meta_item span.meta-big, .timeline-meta_item p.meta-big {
  font-size: .8rem;
}

.timeline-meta.meta-left {
  left:0;
}

.timeline-meta.meta-right {
  right: 0;
  align-items: flex-end;
}

.timeline-step {
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline-event:hover .timeline-step {
  background-color: white;
  border-color: var(--color-secondary);
}

.timeline-event:hover .timeline-label {
  color: var(--color-secondary);
}

.timeline-event:hover .timeline_content_item {
  border-left: 3px solid var(--color-secondary);
}

.timeline-event:hover .timeline_content_item .timeline_content_item_title {
  color: var(--color-secondary);
}

.timeline-line {
  position: absolute;
  width: 3px;
  border-radius: 5px;
  height: 100%;
  background-color: var(--color-secondary);
  margin: 0 auto;
  z-index: 0;
}

.timeline-vertical i {
  color: var(--color-secondary);
  position: absolute;
  font-size: 1.5rem;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.timeline-icon i {
  position: relative;
  left: 0;
  right: 0;
  bottom: 0;
  transform: unset;
  font-size: 1.2rem;
  color: white !important;
}

.timeline-event:hover .timeline-step .timeline-icon i {
  color: var(--color-secondary) !important;
}

.timeline-vertical {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 25px 0;
  padding-bottom: 80px;
}

@media screen and (max-width: 1280px)
{ 

  form[name="showResidenceForm"],
  form[name="contentShowLogForm"],
  form[name="showEvaluationForm"],
  form[name="showBuildingForm"],
  form[name="showPreferencesForm"],
  form[name="showDiagnosisForm"],
  form[name="contentShowDiagnosisForm"],
  form[name="showUserForm"],
  form[name="showUserPermForm"],
  form[name="showContractForm"],
  form[name="listStatsForm"],
  form[name="showMWOForm"],
  form[name="showAppointmentForm"],
  form[name="showAnomalyForm"],
  form[name="showEquipmentForm"],
  form[name="showCharEquipmentForm"],
  form[name="showPremisesForm"] {
    flex-direction: column;
  }

  .uniForm fieldset {
    display: flex;
    flex-direction: column;
  }

  #ResidenceMap, #BuildingMap {
    width: 100% !important;
  }

  .form_group {
    gap: 15px;
  }

  .form_group_row {
    flex-direction: column;
    gap: 15px;
  }

 .form_group_row.grid-2 {
  display: flex;
  grid-template-columns: unset;
  gap: 15px;
}

  .form_group_col {
    flex: unset;
  }

  .form_group_item {
    width: 99%;
  }

  .form_group_item.title {
    width: 100%;
  }

  .login-form { 
    width: 60%;
    gap: 20px;
  }

}

@media screen and (max-width: 1118px)
{
  .LogEvaluationRating_item  {
    flex-direction: column;
  }

  .diagnostics {
    flex-direction: column;
    padding: 5px;
  }

  .diagnostics_item {
    justify-content: center;
    align-items: center;
  }
  .diagnostics_map {
    width: 100%;
  }

  .diagnostics_map, .diagnostics_state_body {
    overflow-x: auto;
  }

}

@media screen and (max-width: 640px)
{
  .login-form { 
    border: none;
  }

  .form_group_item {
    width: 99%;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 0;
  }
  
  .form_group_item label {
    margin-left: 1.5%;
  }

  .form_group_item.title {
    width: 100%;
  } 

  .form_group_item input, .form_group_item textarea  {
    width: 60% !important;
    margin: 0 auto;
  }

  .form_group_item select,
  .uniForm .ctrlHolder select,
  .uniForm .ctrlHolder .select2,
  .form_group_item .select2 {
    margin: 0 auto;
  }
  
  .form_group_item.preferences_item {
    gap: 10px;
    flex-direction: row;
    align-items: center;
  }

  .checkbox-wrapper input {
    width: unset !important;
  }
}

.login-form::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top:0;
  z-index: -1;
  backdrop-filter: blur(80px);
}


.login-form_input-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  gap: 40px;
}

.login-form_logo > figure > img {
  object-fit: cover;
}

.login-form_input-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  width: 60%;
  min-width: 300px;
}

.login-form_label {
  font-size: .9rem;
  color: white;
}

.login-form_input > input {
  background: transparent;
  border: 1px solid white;
  border-radius: 20px;
  width: 100%;
  max-width: 300px;
  margin:0;
  padding: 15px 0;
  padding-left: 10px;
  font-size: .9rem;
  color: white;
  border-radius: 3px;
}

.login-form_input > input:focus {
  outline: none;
}

.login-form_action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.login-form_message {
  color: white;
  font-size: .9rem;
  padding: 0 20px;
  font-weight: 600;
  text-align: justify;
}

.login-form_action  > input, .login-form_action  > a {
  border: none;
  padding: 10px 30px;
  border-radius: 3px;
  cursor: pointer;
  background: whitesmoke;
}

.login-form_action  > a {
  background: none;
  color: whitesmoke;
}

.login-form_complete .login-form_action  > a {
  background: whitesmoke;
  color: var(--color-primary);
}

.login-form_action  > input:hover, .login-form_action  > a:hover {
  opacity: .5;
}

.login-form_action > a:hover {
  text-decoration: underline;
}



.loginOuter {width: 960px; margin-left: auto; margin-right: auto;}
.loginOuter td {margin: 0; padding: 0;}
.loginInner {width: 650px; padding: 0; border-spacing: 0; margin-left: auto; margin-right: auto;}
.loginInner th, td { border-style: none;}

/* Login edit field */
.loginEdit  {font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; text-align: left; white-space: nowrap;}

/* Form field lable */
.loginFieldLabel {font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; padding-right: 10px; text-align: right; white-space: nowrap;}

/* Form edit field */
.editField  {font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt;}

/* Error text format */
.errorText {font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: red;}

/* Comment text format */
.commentText {font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 8pt; font-style: italic;}

/* Login button */
.loginButton {font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10pt; color: var(--color-primary);}

/* Copy right text */
.copyRightText {font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 8pt; color: #ffffff}

.yui-link-button img {
  margin-bottom: -4px;
}

.ImgHSashGrip{background-image:url("../images/hiRes/sash_border/HSashGrip.d648198254e7.gif");background-position:0px 0px;background-repeat:no-repeat;width:29px;height:7px;overflow:hidden;}
.ImgHSash_L{background-image:url("../images/hiRes/sash_border/HSash_L.f29fbf577985.gif");background-position:0px 0px;background-repeat:no-repeat;width:4px;height:7px;overflow:hidden;}
.ImgHSash_R{background-image:url("../images/hiRes/sash_border/HSash_R.9084e6777751.gif");background-position:0px 0px;background-repeat:no-repeat;width:4px;height:7px;overflow:hidden;}
.ImgHSash__H{background-image:url("../images/hiRes/sash_border/HSash__H.dd3cbd66e31d.gif");background-position:0px 0px;background-repeat:repeat-x;height:7px;overflow:hidden;}

#SashBorder,
#SashBorder td {
  padding: 0;
  margin-bottom: 0;
}

#BuildingEnergy, #BuildingGes {
  position: relative;
}
.BuildingEnergyDiag {
  position: relative;
  width: 250px;
  z-index: 2;
}
.BuildingEnergyCursor {
  position: absolute;
  width: 200px;
  z-index: 1;
  right: 10px;
}
.BuildingEnergyValue {
  position: absolute;
  z-index: 3;
  right: 20px;
}

#docEqp_downloadIFrame, #docBuilding_downloadIFrame
{
  width: 100%;
  height: 20px;
  border: none;
}

.dashboard_list_table {
  border: 0;
}

.dashboard_list_table tr {
  padding: 0;
}

.dashboard_list_table td {
  padding: 0;
}

.dashboard_detail_table {
  border: 0;
  background-color: #D3D3D3; /* grey */
  width: 100%;
}

.dashboard_detail_table tr {
  padding: 0;
}

.dashboard_detail_table td {
  padding: 0 .5em 0 .5em;
}

.dashboard_table_header {
  margin: 0;
  padding: 0;
}

.dashboard_table_content {
  margin : 0 auto;
  flex: 1;
  overflow-x: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  width: 95%;
}

.dashboard_table_period {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.dashboard_state_table, .dashboard_state_table_curative  {
  display: grid;
  grid-row-gap: 5px;
  grid-column-gap: 3px;
}

.col_4 {
  grid-template-columns: 83px 60px 60px 60px;
}

.col_5 {
  grid-template-columns: 83px 60px 60px 60px 60px;
}

.col_6 {
  grid-template-columns: 83px 60px 60px 60px 60px 60px;
}

.col_7 {
  grid-template-columns: 83px 60px 60px 60px 60px 60px 60px;
}

.col_8 {
  grid-template-columns: 83px 60px 60px 60px 60px 60px 60px 60px;
}

.dashboard_mwo_table {
  display: grid;
  grid-template-columns: 83px 60px 60px 60px 60px 60px 60px 60px;
  grid-gap: 5px;
  max-width: 100%;
}

.rounded_corners {
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  padding: 3px 6px;
}

.squared_corners {
  padding: 6px;
}

.event_table_icon {
  width: 80px;
  text-align: center;
}

.event_nb {
  background-color: var( --color-primary );
  color: white;
  height: 20px;
  width: 60px;
  padding: 0px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  border: 2px solid var( --color-primary );
  display: flex;
  justify-content: center;
  align-items: center;
}

.event_label {
  background-color: #D3D3D3; /* grey */
  width: 60px;
  font-size: 10px;
  font-weight: normal;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
}

span {
  vertical-align: middle;
  line-height: 1.2;
  display: inline-block;
}

.event_label div {
  vertical-align: middle;
}

.provider_label {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #E6E6E6; /* ligth grey */
  width: 80px;
  font-size: 10px;
  cursor: pointer;
  font-weight: 700;
}

.provider_event {
  background-color: #E6E6E6; /* ligth grey */
  width: 60px;
  font-size: 10px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
}

.provider_event span {
  display: inline-block;
  line-height: normal;
  text-align: center;
  vertical-align: middle;
}

hr {
  color: #D3D3D3; /* grey */
  height: 1px;
  border: 0;
  border-bottom: 1px solid;
}

.sprite_icon {
  display: block;
  width: 32px;
  height: 32px;
}

.sprite_asset_icon {
  background-image:url("../images/asset_32_grey.2483b705ca82.png");
}

.sprite_asset_icon.selected, .sprite_asset_icon:hover {
  background-image:url("../images/asset_32_white.d4fdcc6c8e53.png");
}

.sprite_elevator_icon {
  background-image:url("../images/elevator_32_grey.84a6add35d0b.png");
}

.sprite_elevator_icon.selected, .sprite_elevator_icon:hover {
  background-image:url("../images/elevator_32_white.f6dd4e24c330.png");
}

.sprite_col_heater_icon {
  background-image:url("../images/col_heater_32_grey.153196afb880.png");
}

.sprite_col_heater_icon.selected, .sprite_col_heater_icon:hover {
  background-image:url("../images/col_heater_32_white.928b814256cd.png");
}

.sprite_heater_icon {
  background-image:url("../images/heater_32_grey.13c9afe81ba1.png");
}

.sprite_heater_icon.selected, .sprite_heater_icon:hover {
  background-image:url("../images/heater_32_white.19447239a03c.png");
}

.sprite_vmc_icon {
  background-image:url("../images/vmc_32_grey.95c1ad0e2569.png");
}

.sprite_vmc_icon.selected, .sprite_vmc_icon:hover {
  background-image:url("../images/vmc_32_white.9fe72f98088b.png");
}

.sprite_plumbing_icon {
  background-image:url("../images/plumbing_32_grey.95fd5e8a3a7d.png");
}

.sprite_plumbing_icon.selected, .sprite_plumbing_icon:hover {
  background-image:url("../images/plumbing_32_white.4577942eaef7.png");
}

.sprite_ac_icon {
  background-image:url("../images/ac_32_grey.e0078bf6de5c.png");
}

.sprite_ac_icon.selected, .sprite_ac_icon:hover {
  background-image:url("../images/ac_32_white.63ca8d0e2d77.png");
}

.sprite_fire_icon {
  background-image:url("../images/fire_32_grey.9490bf1f904d.png");
}

.sprite_fire_icon.selected, .sprite_fire_icon:hover {
  background-image:url("../images/fire_32_white.059c5a525242.png");
}

.sprite_door_icon {
  background-image:url("../images/door_32_grey.9c87ca030e43.png");
}

.sprite_door_icon.selected, .sprite_door_icon:hover {
  background-image:url("../images/door_32_white.f9b33e0072db.png");
}

.sprite_clean_icon {
  background-image:url("../images/clean_32_grey.8dc445d21d64.png");
}

.sprite_clean_icon.selected, .sprite_clean_icon:hover {
  background-image:url("../images/clean_32_white.6a8d5292ae51.png");
}

.sprite_extinctor_icon {
  background-image:url("../images/extinctor_32_grey.03d1331fc1cb.png");
}

.sprite_extinctor_icon.selected, .sprite_extinctor_icon:hover {
  background-image:url("../images/extinctor_32_white.6e110aa4953a.png");
}

.sprite_meter_icon {
  background-image:url("../images/meter_32_grey.d723167fc0a0.png");
}

.sprite_meter_icon.selected, .sprite_meter_icon:hover {
  background-image:url("../images/meter_32_white.4c707e9e25e9.png");
}

.sprite_playground_icon {
  background-image:url("../images/playground_32_grey.5e6c90f66449.png");
}

.sprite_playground_icon.selected, .sprite_playground_icon:hover {
  background-image:url("../images/playground_32_white.f99ed7c2cfc5.png");
}

.sprite_diagnosis_icon {
  background-image:url("../images/diagnosis_32_grey.1df4aa4c9774.png");
}

.sprite_diagnosis_icon.selected, .sprite_diagnosis_icon:hover {
  background-image:url("../images/diagnosis_32_white.d5f65b53990f.png");
}

.sprite_asbestos_icon {
  background-image:url("../images/asbestos_32_grey.b3e20d8618f9.png");
}

.sprite_asbestos_icon.selected, .sprite_asbestos_icon:hover {
  background-image:url("../images/asbestos_32_white.c27652024375.png");
}

.sprite_electricity_icon {
  background-image:url("../images/electricity_32_grey.c3491ab6ea15.png");
}

.sprite_electricity_icon.selected, .sprite_electricity_icon:hover {
  background-image:url("../images/electricity_32_white.dcbc6def0aa2.png");
}

.sprite_woodwork_icon {
  background-image:url("../images/woodwork_32_grey.105b6e1ae9d0.png");
}

.sprite_woodwork_icon.selected, .sprite_woodwork_icon:hover {
  background-image:url("../images/woodwork_32_white.0875ba0e90a0.png");
}

.sprite_hardware_icon {
  background-image:url("../images/hardware_32_grey.62696db662d1.png");
}

.sprite_hardware_icon.selected, .sprite_hardware_icon:hover {
  background-image:url("../images/hardware_32_white.1b64c23fda31.png");
}

.sprite_frame_icon {
  background-image:url("../images/frame_32_grey.980e51b9b225.png");
}

.sprite_frame_icon.selected, .sprite_frame_icon:hover {
  background-image:url("../images/frame_32_white.88a5f9bb8597.png");
}

.sprite_monitoring_icon {
  background-image:url("../images/monitoring_32_grey.55cf094573ce.png");
}

.sprite_monitoring_icon.selected, .sprite_monitoring_icon:hover {
  background-image:url("../images/monitoring_32_white.d0445e42a1fe.png");
}

/*
.dataTables_filter label input {
  speech: speech;
  x-webkit-speech: x-webkit-speech;
}
*/

.control-group {
  padding: 1em;
  border-bottom: 1px solid #efefef;
}

.control-group .checkbox {
    margin: 0 5px;
}

.control-group .checkbox input {
  margin-right: 5px;
}

#BuildingMap,
#ResidenceMap, 
#DashboardMapContent,
#DiagnosisMapContentasbestos,
#DiagnosisMapContentlead,
#DiagnosisMapContenttermites,
#DiagnosisMapContentenergy

 { 
  height: 300px;
  width: 100%;
  border: 1px solid var(--color-secondary) !important;
  border-radius: 3px;
}

.dashboard_map { 
  height: 300px;
  margin: 0 auto;
}

#id_dash_map .dashboard_table_content   {
  overflow: unset !important;
}

#id_dash_map .dashboard_table_content .dashboard_chart_hidden  {
  height: auto !important;
  width: 100%;
}

.dashboard_map_legend { 
  width: 100%;
  margin: 0 auto;
}

.dashboard_map_legend p { 
 display: flex;
 justify-content: space-between;
 flex-wrap: wrap;
}

.dashboard_map_legend p span { 
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 align-items: center;
 gap: 5px;
}

/* Shared icon styling for all legend entries */
#DashboardMapLegend i {
  font-size: 1.3rem;
  cursor: pointer;
}

/* Color per status level */
#dash_map_legend_green i { color: #20bf6b; }   /* In order */
#dash_map_legend_blue i { color: #3867d6; }    /* Maintenance */
#dash_map_legend_yellow i { color: #f7b731; }  /* Malfunction */
#dash_map_legend_orange i { color: #fa8231; }  /* Out of order */
#dash_map_legend_red i { color: #eb3b5a; }     /* Out of service */
#dash_map_legend_gray i { color: grey; }       /* Inactive fallback */

.plan { height: 300px; width: 400px; display: block;}

.plan img { max-width:100%; max-height:100%; }


#nav_eqp_report {
  float: left;
  display: flex;
  align-items: center;
  gap: 10px;
}

table.compact td {
    padding: 0;
}

#on_the_same_line {
  clear: both;
}
#logEquipment {
  width: 80%;
  margin: 0 auto;
}
#logEquipment table {
  border-collapse: collapse;
}

#logEquipment th {
  text-align: center;
  border: 1px solid black;
  padding: 0.3em;
}

#logEquipment td {
  border: 1px solid black;
  padding: 0.3em;
}

#logEquipment h1 {
  margin: 0;
}

.ui-front {
  z-index: 1100;  /* UI dialog popup should be higher than 1000 because of map buttons */
}

.calendarbox {
  z-index: 500;
}


.no-close .ui-dialog-titlebar-close {
  display: none;
}

.ui-dialog.ui-corner-all {
  transform: translate(-50%, -50%);
  left: 50% !important;
  max-width: 80%;
}

.ui-dialog.ui-corner-all .yui-button {
  margin-top: calc( 15px - .5em);
  margin-bottom: 15px;
}


#float-actions-wrapper {
  padding: 20px;
  z-index: 9999;
  position: fixed;
  right: 0;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.float_action {
  position: relative;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  border-radius: 50%;
  background: var( --color-primary );
  color: white;
  box-shadow: var( --color-secondary ) 0px 0px 4px 1px;
}

.float_action:hover, .float_action.active {
  background: var( --color-secondary );
}

#float_filter_active,
#chat_filter_active {
  display: none;
  position: absolute;
  right: -5px;
  top: -5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: red;
}

#float_filter_active_detail {
  z-index: 999;
  background: white;
  opacity: 1 !important;
  position: absolute;
  right: -5px;
  top: -220px;
  box-shadow: #243356 0px 0px 4px 3px;
  padding: 20px 10px;
  width: 300px;
  height: 160px;
  border-radius: 3px;
  display: none;
  flex-direction: column;
  justify-content: space-evenly;
}


.float_filter_active_detail_item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  color: black;
  font-size: .8rem;
  font-weight: 700;
}

.float_filter_active_detail_item span:last-child {
  font-weight: 500;
}

.fa-message {
  display: none !important;
}

#chat-wrapper {
  display: none;
  background: white;
  border-radius: 3px;
  box-shadow: grey 0px 0px 15px -5px;
  position: fixed;
  z-index: 999;
  bottom: 35px;
  right: 80px;
  width: 60%;
  min-width: 700px;
  height: 700px;
  max-height: 90%;
  flex-direction: column;
  align-items: center;
  overflow: hidden;

}

#empty-chat {
  background: var( --color-primary );
  position: absolute;
  width: 100%;
  height: calc(100% - 1px);
  bottom: 0;
  left: 0px;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 0 5px;
}

#empty-chat.active {
  display:  flex;
}

#empty-chat h1 {
  font-weight: 700;
  color: white;
  text-align: center;
}

#chat-wrapper.active {
  display: flex;
}

.chat_header, .customer-filter-wrapper_header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var( --color-primary );
  color: white;
  font-weight: 600;
}

.search_header h1,
.preferences_header h1,
.chat_header h1,
.customer-filter-wrapper_header h1 {
  margin-left: 20px;
}

#close-chat, #close-filter, #close-search, #close-preferences {
  margin-right: 20px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  border-radius: 50%;
  background: var( --color-primary );
  color: white;
  box-shadow: var( --color-secondary ) 0px 0px 4px 3px;
}

.close-btn:hover {
  background: var( --color-secondary ) !important;
  box-shadow: white 0px 0px 4px 3px !important;
}

.chat_body {
  position: relative;
  width: 100%;
  display: flex;
  flex: 1;
  overflow: hidden;
}

.chat_body_nav {
  display: none;
  justify-content: space-between;
  align-items: center;
  width: 95%;
  height: 30px;
  margin: 20px auto;
}

.chat_body_nav_item {
  width: 28%;
  height: 100%;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: grey 0px 0px 4px 3px;
  cursor: pointer !important;
  color: var( --color-primary );
}

.chat_body_nav_item.active {
  color: white;
  background: var( --color-primary );
  box-shadow: var( --color-secondary ) 0px 0px 4px 3px;
}

.chat_body_nav_item span {
  font-size: .9rem;
  font-weight: 700;
}

.chat_body_rooms {
  flex: 1;
  box-shadow: grey 0px 0px 15px -5px;
  display: flex;
  flex-direction: column;
  padding: 0 10px;
  padding-top: 10px;
}

.chat_body_messages {
  flex: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 20px;
  gap: 20px;
}

.chat_body_online {
  flex: 1;
  display: none;
  flex-direction: column;
  padding: 0 20px;
  gap: 20px; 
  box-shadow: grey 0px 0px 15px -5px;
}

.chat_body_online.active {
  display: flex;
}

.chat_body_messages_meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 10px 0;
  border-bottom: 2px solid var( --color-secondary );
}

.chat_body_messages_meta_title h1 {
  margin: 0;
  opacity: .8;
  text-transform: uppercase;
  max-width: 150px;
  font-size: .9rem;
}


.chat_body_messages_meta_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.chat_body_messages_meta_actions {
  display: flex;
  align-items: center;
  gap: 20px;
}


.chat_body_messages_meta_actions_checkbox {
  display: flex;
  align-items: center;
  gap: 5px;
}
.chat_body_messages_meta_actions_checkbox label {
  font-size: .8rem;
  color:var( --color-primary );
  font-weight: 600;
}

.chat_body_messages_meta_nb-online {
  background-color: white;
  border: none;
  font-size: .7rem;
  font-weight: 600;
  margin: 0;
  color: var( --color-primary );
  text-decoration: underline;
  cursor: pointer !important;
}

.chat_body_rooms_list {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 10px;
  gap: 20px;
}

.chat_body_rooms_list h2 {
  
  text-align: center;
  background: white;
}

.chat_body_rooms_list_favorites, .chat_body_rooms_list_others {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chat_body_rooms_list_favorites {
  padding-bottom: 20px;
  border-bottom: 2px var( --color-secondary ) solid;
}

.chat_body_rooms_list_item {
  position: relative;
  box-shadow: var( --color-primary ) 0px 0px 5px -2px;
  cursor: pointer;
  border-radius: 5px;
  padding: 8px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  min-height: 50px;
  gap: 5px;
}

.chat_body_rooms_list_item i {
  position: absolute;
  right: 5px;
  bottom: 15px;
  color: #f39c12;
  font-size: 1.2rem;
}

.chat_body_rooms_list_item span {
  width: 90%;
  margin: 0;
  font-size: .7rem;
  font-weight: 600;
  opacity: .9;
}

.chat_body_rooms_list_item p {
  margin: 0;
  font-size: .7rem;
  font-weight: 400;
}

.chat_body_rooms_list_item:hover {
  background: var( --color-primary );
  color: white;
}

.chat_body_rooms_list_item.active {
  background: linear-gradient(var(--angle), var(--color-primary), #3a4870);
  color: white;
  box-shadow: var(--color-secondary) 0px 0px 4px 1px;
}

.chat_body_rooms_list_item.new-message-warning {
  position: relative;
  box-shadow: var(--color-secondary) 0px 0px 5px -2px;
}

.chat_body_rooms_list_item.new-message-warning::before{
  position: absolute;
  content: "";
  width: 10px;
  aspect-ratio: 1/1;
  background: red;
  top: 15%;
  right: 9px;
  border-radius: 50%;
}


.chat_body_online_list {
  flex:1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 10px 10px;
}

.chat_body_messages_list {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overflow-y: auto;
  gap: 50px;
  height: 450px;
  padding: 20px;
}


.chat_body_messages_input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  height: 50px;
  margin: 20px;
}

.send-message {
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .9rem;
    border-radius: 50%;
    background: var( --color-primary );
    color: white;
    box-shadow: var( --color-secondary ) 0px 0px 4px 2px;
}
.send-message:hover {
  background: var( --color-secondary );
}

.chat_body_messages_input input {
  flex: 1;
  height: 25px;
  border-radius: 5px;
  font-size: .9rem;
  border: none;
  box-shadow: var( --color-primary ) 0px 0px 5px -2px;
  outline: none;
}


.chat_body_online_list_item {
  position: relative;
  cursor: text;
  border-radius: 5px;
  padding: 10px;
  box-shadow: var( --color-primary ) 0px 0px 5px -2px;
  background: white;
  color:var( --color-primary );
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat_body_online_list_item i {
  margin-top: 2px;
  font-size: .5rem;
  color: var( --color-secondary );

}

.open-chat-button {
  border: solid red;
}


.chat_body_messages_list_item {
  box-shadow: var( --color-primary ) 0px 0px 5px -2px;
  position: relative;
  cursor: text;
  border-radius: 3px;
  padding: 10px;
  background: white;
  color:var( --color-primary );
  font-weight: 600;
  text-align: left;
  width: 60%;
  font-size: .7rem;
}

.sender {
  position: absolute;
  top: -20px;
  left: 10px;
}

.message-date {
  position: absolute;
  bottom: -20px;
  right: 0;
}

.chat_body_messages_list_item.mine .message-date {
  width: 99%;
  text-align: left;
}


.message-date span {
  font-size: .6rem;
  color: var( --color-primary );
  font-weight: 500;
}

.sender span {
  font-weight: 600;
  color: var( --color-primary );
  font-size: .7rem;
  text-transform: lowercase;
}

.chat_body_messages_list_item.mine {
 color: white;
 background: #e6ecf7;
 font-weight: 600;
 text-align: right;
 color:var( --color-primary );
 margin: 0;
 margin-left: 35%;
}

.chat_body_messages_list_item.mine .sender {
  right: 10px;
}


#customer-filter-wrapper {
  visibility: hidden;
  opacity: 0;
  transition: visibility .2s linear, opacity .2s linear;
  min-width: 350px;
  width: 40%;
  right: 80px;
  bottom: 35px;
  z-index: 100;
  position: fixed;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  row-gap: 50px;
  box-shadow: grey 0px 0px 15px -5px;
  border-radius: 5px;
  padding-bottom: 20px;
}

#customer-filter-wrapper.active {
  visibility:visible;
  opacity:1;
}


.form-actions {
  display: flex;
  gap: 20px;
}

.highcharts-credits {
  display: none !important;
}

#float_menu {
  display: none;
}

#id_state_table_report {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#toast-container>.toast-info, #toast-container>.toast-warning,
#toast-container>.toast-success {
  background-image: none !important;
}

.toast-custom-position {
  top: 110px;
  right: 20px;
  opacity: unset;
} 
.toast-title, .toast-message {
  text-align: left;
  width: 100%;
  margin: 0;
}

#toast-container>div {
  opacity: unset;
  padding: 15px !important;
}

#toast-container .toast.toast-error {
  background-image: none !important;
}


form[name="addDiagnosisForm"] select
{
  width: 60%;
}

.LogEvaluationRating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.LogEvaluationRating_item {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.LogEvaluationRating_item:hover {
  opacity: .5;
}

.LogEvaluationRating_item_title {
  color: var(--color-primary);
  font-weight: 500;
  margin-top: 2px;
  font-size: .8rem;
}

.LogEvaluationRating_item_value {
  display: flex;
  gap: 5px;
}


.LogEvaluationRating_item small {
  font-weight: 600;
  font-size: .8rem;
}


.loading-wrapper {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
}

.loading-wrapper span {
  color: var(--color-primary);
  font-size: .8rem;
  font-weight: 600;
}

#id_information .loading-wrapper, #id_notification .loading-wrapper {
  align-items: flex-start;
}

.loading-wrapper .loader {
  border: 4px solid var(--color-primary);
  border-top-color: var(--color-secondary);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.graphMeasureTableWrapper .highcharts-container {
  width: 100% !important;
 }


 .stats_chart_wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
 }

 .stats_chart_wrapper {
  display: none;
  flex: 1;
 }
 
 .stats_chart_wrapper_item {
  display: none;
  flex: 1;
  position: relative;
  flex-direction: column;
  gap: 50px;
 }

 .stats_chart_wrapper_item  .highcharts-root text {
    opacity: .6;
    fill: var(--color-primary) !important;
    color: var(--color-primary) !important;
 }



 #contentEditEvaluation .uniForm, #contentAddEvaluation .uniForm {
  flex-direction: column !important;
}

#contentEditEvaluation .uniForm .ctrlHolder, #contentAddEvaluation .uniForm .ctrlHolder {
  width: 60% !important;
}

#contentEditEvaluation .uniForm .ctrlHolder .radioselect, #contentAddEvaluation .uniForm .ctrlHolder .radioselect {
  gap: 40px;
}

#contentEditEvaluation .uniForm label, #contentAddEvaluation .uniForm  label  {
  margin-left: -10px;
 gap: 0; 
}

#contentEditEvaluation .uniForm .radioselect label input, #contentAddEvaluation .uniForm .radioselect label input {
  width: 30px;
}

.ui-slider-handle {
  font-weight: 600 !important;
  height: 1.6em !important;
  width: 2.6em !important;
  border-radius: 30% !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

#preferences-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

#preferences-wrapper.active {
  display: flex;
}

.preferences_header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-primary);
  color: white;
  font-weight: 600;
}

.preferences_body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  flex: 1;
}

.preferences_body h1 {
  color: var(--color-primary);
  font-size: .9rem;
  width: 100%;
  text-decoration: underline;
}

#save-preferences-btn {
  cursor: pointer;
  padding: 5px 10px;
  background: white;
  border: none;
  border-radius: 5px;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}


#save-preferences-btn:hover {
  cursor: pointer;
  padding: 5px 10px;
  background: white;
  border: none;
  border-radius: 5px;
  box-shadow: var(--color-secondary) 0px 1px 2px 0px;
}

#widget-order-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 90%;
}

#widget-order-list label {
  width: 100%;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}

#widget-preferences-form .widget-option {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

#widget-preferences-form {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

#search-wrapper {
  display: none;
  position: fixed;
  z-index: 999;
  bottom: 35px;
  right: 80px;
  width: 80%;
  height: 90%;
  background: #f9f9f9;
  flex-direction: column;
  box-shadow: grey 0px 0px 15px -5px;
  border-radius: 3px;
}

#search-wrapper.active {
  display: flex;
}

.search_header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-primary);
    color: white;
    font-weight: 600;
}

.search_body {
  position: relative;
  width: 100%;
  display: flex;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#search-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px;
  gap: 10px;
}

.search_body_filter {
  background: #f9f9f9;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

#search-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px;
  background: #fff;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px #ddd;
  width: 100%;
  margin: 00;
}

.search-filters legend, .search_body_content legend {
  width: fit-content;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  background: white;
  margin-bottom: 8px;
}

.search_body_content legend {
  display: none;
  margin: 10px 0;
  margin-left: 12px;
}

.search_body_content legend.active {
  display: block;
}

.search-filters label {
  background: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  box-shadow: 0 0 0 1px #ccc;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  gap: 5px;
  align-items: center;
}

.search-filters label.active {
   box-shadow: 0 0 0 2px var(--color-secondary);
}

.search-filters label:hover {
  box-shadow: 0 0 0 2px var(--color-secondary);
}

.search-input,
.search-submit {
  height: 40px;
  font-size: 0.95rem;
  border-radius: 4px;
}

.search-input {
  width: 100%;
  padding: 0 12px;
  border: none;
  box-shadow: 0 0 0 1px #ccc;
  transition: box-shadow 0.2s ease;
}

.search-input:focus {
  box-shadow: 0 0 0 2px var(--color-primary);
}

.search-submit {
  cursor: pointer;
  width: fit-content;
  padding: 0 20px;
  background: var(--color-primary);
  color: white;
  font-weight: 600;
  border: none;
  transition: background 0.2s ease;
  font-size: .8rem;
  height: 30px;
  margin: 0 auto;
}

.search-submit:hover {
  background: var(--color-secondary);
}

.loading-wrapper {
  display: none;
  justify-content: center;
  align-items: center;
}


.search_body_content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 80%;
  padding: 10px;

}

.search_body_content_tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 0 10px;
}

.search_body_content_tabs_item {
  border: none;
  cursor: pointer;
  flex: 1;
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
  padding: 7px 0;
  border-radius: 3px;
  background: white;
  box-shadow: var( --color-primary ) 0px 0px 5px -2px;
  border-bottom: 2px solid var( --color-primary );
  color: var(--color-primary);
}


.search_body_content_tabs_item:hover, .search_body_content_tabs_item.active {
  background: var(--color-primary);
  color: white;
  font-weight: 600;
}

.search_body_content_result {
  padding: 0 10px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 76%;
  padding-bottom: 20px;
}

.search_body_content_result_item {
  position: relative;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  background-color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search_body_content_result_item .item-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.search_body_content_result_item .item-header i {
  color: var(--color-primary);
  fill: var(--color-primary);
  flex-shrink: 0;
  font-size: 1.2rem;
}

.search_body_content_result_item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.search_body_content_result_item strong {
  font-size: .7rem;
  color: var(--color-primary);
}

.search_body_content_result_item em {
  font-size: 0.8rem;
  color: #666;
}

.search_body_content_result_item small {
  font-size: 0.8rem;
  color: #999;
  position: absolute;
  top: 10px;
  right: 16px;
  background-color: #f0f0f0;
  padding: 2px 6px;
  border-radius: 4px;
}

.search_body_content_result_item::before {
  content: attr(data-source-icon);
  font-family: 'Font Awesome 6 Free'; /* ou autre lib d’icônes */
  font-weight: 900;
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 1rem;
  color: #007bff;
}


.search_body_content_result_item:hover {
  box-shadow: 0 0 5px 0px var(--color-secondary);
}

.search_body_content_result .section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search_body_content_result .see-more-btn {
  align-self: flex-end;
  cursor: pointer;
  border-radius: 5px;
  padding: 5px 10px;
  width: 100px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: none;
  background: white;
  color: var(--color-primary);
  font-weight: 500;
}

.search_body_content_result .see-more-btn:hover {
    box-shadow: 0 0 5px 0px var(--color-secondary);
}


.summary-block {
    margin-bottom: 1.5rem;
}
.summary-block h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.summary-item {
    background: #f4f4f4;
    padding: 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}
.summary-item strong {
    display: block;
    font-weight: bold;
}
.summary-item span {
    font-size: 0.9rem;
    color: #555;
}


/* Responsive */
@media screen and (max-width: 800px)
{

  #contentEditEvaluation .uniForm .ctrlHolder,
  #contentAddEvaluation .uniForm .ctrlHolder {
    width: 80% !important;
  }

  #diag_dashboard .yui-nav,
  #diag_dashboard .yui-content {
    width: calc(100% - 20px)
 }

  #hd {
    width: 100%;
    margin: 0;
  }

  #dash .yui-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .tile_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 96%;
    padding: 0;
    margin: 0 auto;
    gap: 10px;
  }

  .tile {
    width: unset;
  }

  #dash_content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .yui-nav {
    padding: 0 15px;
  }

  #chat-wrapper {
    z-index: 10000;
  }
  
  #float-actions-wrapper {
    bottom: 50px;
  }

  #chat-wrapper {
    height: 100%;
    max-height: unset;
    top: 0px;
    aspect-ratio: unset;
    width: 100%;
    min-width: unset;
    right: 0px;
    border-radius: 0;
  }

   #preferences-wrapper {
    z-index: 10000;
    height: 100%;
    max-height: unset;
    top: 0px;
    aspect-ratio: unset;
    width: 100%;
    min-width: unset;
    right: 0px;
    border-radius: 0;
  }

   #preferences-wrapper label {
    font-size: 1rem;
   }
   
   #preferences-wrapper #widget-order-list {
    gap: 20px;
   }

  #search-wrapper {
    z-index: 10000;
    height: 100%;
    max-height: unset;
    top: 0px;
    aspect-ratio: unset;
    width: 100%;
    min-width: unset;
    right: 0px;
    border-radius: 0;
  }

  .search_body_content_tabs_item {
    min-width: 120px;
  }

  .chat_body_messages_list {
      max-height: 80%; 
  }


  #float_menu {
    display: flex;
  }  

  .form {
    width: 100%;
  }

  .form-actions {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   
  }
  .form-actions .yui-button {
     width: 32%;
     min-width: 250px;
     text-align: center;
  }

 .form-wrapper {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: flex-end;
    gap: 15px;
    padding: 20px 0;
  }

  .form_item input {
    width: 100%;
  }

  #id_state_table_report {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .yui-content {
    padding: 0 !important;
  }

  .yui-skin-sam .yui-navset .yui-content, .yui-skin-sam .yui-navset .yui-navset-top .yui-content { 
    padding: 0;
  }

  #yui-main {
    width: 100%;
    float: unset;

  }

  .yui-b {
    margin: 0 !important;
  }

  #dash {
    width: 100%;
    margin: 0 !important;
    padding: 10px 0;
  }

  .dash_table {
    width: 95%;
  }

  #customer-filter-wrapper {
    visibility:hidden;
    opacity:0;
    transition:visibility .2s linear,opacity .2s linear;
    width: 100%;
    height: 100%;
    z-index: 10000;
    position: fixed;
    top: 0;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: var( --color-secondary ) 0px 0px 3px 3px; 
    left: 0;
    top:0;
    padding-bottom: 50px;
    overflow: hidden;
  }
  
  #customer-filter-wrapper.active {
    visibility:visible;
    opacity:1;
  }

  #menu {
    position: fixed;
    left: -50px;
    top: 0;
    margin: 0;
    background: white;
    padding: 0;
  }

  #menu.active {
    left: 0;
  }

#contentShowLogPremises,
#contentListResidence,
#contentListAnomaly,
#contentListBuilding,
#contentListPremises,
#contentListMWO,
#contentListEquipment,
#contentShowPremises,
#contentShowPlanningPremises,
#contentShowBuilding,
#contentShowPreferences,
#contentShowResidence,
#contentShowEquipment,
#contentShowEvaluation,
#contentShowLogEquipment,
#contentShowLog,
#contentShowPlanningEquipment,
#contentShowStatsEquipment,
#contentShowCharEquipment,
#contentListEquipmentInventoryDetail,
.graphMeasureTable,
#contentCloseLog,
#residence_show,
#build_show,
#contentShowStats,
#pollsStatsID,
#contentCheckAsset,
#contentClosePremisesLog,
#contentEditAnomaly,
#contentAddMWO,
#contentAddPremisesLog,
#contentAddAppointment,
#contentAddReservation,
#contentShowReservation,
#contentEditMWO,
#contentAddNotif,
#cus_dash,
#cus_lift_dash_content,
#cus_boiler_dash_content,
#evaluationEquipment,
.contentListReservationTable,
.contentListDiagnosis,
#contentListDiagnosisBuilding,
#contentEditUser,
#editUserForm,
#contentListUserNotif,
#contentShowUserPerms,
#account_form,
#change_password_form,
#premises_show,
.contentListPremisesTable,
.GeneralListMission,
.contentListAppointment,
.contentListAnomalyWrapper,
.contentListMWOWrapper,
#contentListPremisesInventoryDetail,
#eqp_show,
#contentEditContract,
#contentAddLog,
#contentEditEvaluation,
#contentAddEvaluation,
#contentShowMWO,
#contentShowAnomaly,
#contentListContract,
#contentListInventory,
#contentAddAnomaly,
#contentShowContract,
#contentListPremisesMix,
#contentListStats,
#contentListUser,
#user_show,
#contentShowUser,
#ged_wrapper
{
   width: 96%;
}


#build_show .yui-nav li,
#cus_dash .yui-nav li,
#eqp_show .yui-nav li,
#premises_show .yui-nav li,
#residence_show .yui-nav li,
#user_show .yui-nav li {
  max-width: unset;
}



.navigation-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-top: 15px;
}


}


@media screen and (max-width: 768px)
{


  .uniForm {
    flex-direction: column !important;
    align-items: flex-start;
  }
  .uniForm .ctrlHolder {
    width: 100% !important;
  }


  #dash, .adaptive, #dash_header, #dash_content, .diagnostics {
    gap: 20px;
  }

  .login-form { 
    width: 70%;
  }

  .navigation-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .navigation-bar_item {
    max-width: unset;
  }
  
  .navigation-bar_item a, .navigation-bar_item p  {
    text-align: unset;
  }

  .nav_report {
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .nav_report span {
    width: 50%;
    height: 30px !important;
  }

  .dash_table {
    min-width: 96%;
    width: 96%;
  }

  .two-column-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .two-column-item {
    width: 96%;
    min-width: 96%;
  }

  .tags_list_wrapper {
    width: 100%;
    flex-direction: column;
  }


}

@media screen and (max-width: 660px) {
  #dash .yui-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  #dash .yui-nav li a em {
    text-align: center;
  }
}

@media screen and (max-width: 620px)
{ 

  #contentAddEvaluation .uniForm .ctrlHolder,
  #contentEditEvaluation .uniForm .ctrlHolder {
    width: 100% !important;
  }

  .diagnostics {
    display: flex;
  }

  #build_show .yui-nav span,
  #cus_dash .yui-nav span,
  #eqp_show .yui-nav span,
  #diag_dashboard .yui-nav span,
  #premises_show .yui-nav span,
  #residence_show .yui-nav span,
  #user_show .yui-nav span
 {
  display: none;
 }
 
 .form_group_item label {
    width: 100%;
  }

  .map-wrapper, .pictures-wrapper {
    flex: unset;
    width: 96%;
    margin: 0 auto;
  }

  #contentFilterLabel, #contentListPremisesMixFilterLabel, #contentPreferencesLabel, .form_title {
    width: 80%;
    max-width: unset;
    font-size: .9rem;
  }

  .LogEvaluationRating {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 25px;
  }

  .period_form form {
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: flex-start;

  }
  .period_label {
    align-items: center;
    height: 100%;
    width: 100%;
  }

  .period_label b {
    border-bottom: 2px solid var(--color-primary);
  }

  .navigation-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .chart_title {
    font-size: .9rem;
  }

  .chart_title i {
    font-size: 1.5rem;
  }

  .chart_toggle {
    font-size: 1rem;
  }

  .tile_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 96%;
    padding: 0;
    margin: 0 auto;
    gap: 10px;
  }

  .tile_icon {
    width: 100%;
    display: flex;
  }

  .tile_icon i {
    font-size: 2rem;
  }

  .tile_label p {
    text-align: left;
    font-size: .8rem !important;
  }

  .tile_meta {
    width: 95%;
  }

  .tile_nb p {
    font-size: .8rem;
  }

  .chat_body {
    gap: 0;
    flex-direction: column;
  }

  .chat_body_nav {
    display: flex;
  }

  .chat_body_online {
    display: none;
    flex: 1;
    overflow-y: auto;
   }

  .chat_body_rooms {
    display: none;
    flex: 1;
    overflow-y: auto;
  }

  .chat_body_messages {
    display: none;
    flex: 1;
    overflow-y: auto;
  }

  .chat_body_messages_list {
    max-height: unset; 
    flex: 1;
  }

  .chat_body_messages_list_item {
    width: 80%;
    margin-left: -19px !important;
  }

  .chat_body_messages_list_item.mine {
    margin-left: 19% !important;
  }

  .chat_body_messages_meta_nb-online {
    display: none;
  }

  #customer_logo_hd {
    display: none;
  }

  .chat_body_messages_input {
    margin: 20px;
  }

  .timeline-vertical {
    padding-bottom: 50px;
  }

  .timeline-event {
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 10px;
    margin: 0;
  }

  .timeline-line {
    left: 20px;
  }

  .timeline-step {
    left: 0;
    top: 0;
  }

  .timeline-label {
    position: absolute;
    max-width: unset;
    width: calc( 100% - 70px );
    left: 75px;
    top: 0;
    text-align: left !important;
  }

  .timeline-label::after {
    left: -35px !important;
  }

  .timeline-label p {
    display: block;
  }
  .timeline-meta_item span.only-mobile {
    display: block;
  }

  .timeline-meta {
    left: 0;
    padding: 0;
  }

  .timeline-content {
    width: 80%;
  }

  .timeline-vertical i.fa-chevron-down {
    left: 21.5px;
  }

}

@media screen and (max-width: 500px ) {

  .login-form { 
    width: 100%;
    height: 100%;
  }

  .login-form_logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .login-form_logo figure {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .login-form_logo figure img {
    width: 80% !important;
  }
}