:root, :host {
    --qc-font-family-roboto: Roboto,sans-serif;
    --qc-font-family-open-sans: Open Sans,sans-serif;
    --qc-font-family-roboto-mono: Roboto Mono,monospace;
    --qc-font-family-content: var(--qc-font-family-open-sans);
    --qc-font-family-header: var(--qc-font-family-roboto);
    --qc-font-family-code: var(--qc-font-family-roboto-mono);
    --qc-font-size-root-percent: 62.5%;
    --qc-font-size-h6: 1.6rem;
    --qc-font-size-h5: 1.9rem;
    --qc-font-size-h4: 2.1rem;
    --qc-font-size-h3: 2.8rem;
    --qc-font-size-h2: 3.6rem;
    --qc-font-size-h1: 4.8rem;
    --qc-font-size-90: 1.4rem;
    --qc-font-size-100: 1.6rem;
    --qc-font-size-120: 1.8rem;
    --qc-font-size-200: 2.2rem;
    --qc-font-size-sm: var(--qc-font-size-90);
    --qc-font-size-md: var(--qc-font-size-100);
    --qc-font-size-lg: var(--qc-font-size-120);
    --qc-font-size-xl: var(--qc-font-size-200);
    --qc-font-size-content: var(--qc-font-size-md);
    --qc-font-weight-regular: 400;
    --qc-font-weight-medium: 500;
    --qc-font-weight-semi-bold: 600;
    --qc-font-weight-bold: 700;
    --qc-font-weight-header-regular: var(--qc-font-weight-regular);
    --qc-font-weight-header-medium: var(--qc-font-weight-medium);
    --qc-font-weight-header-bold: var(--qc-font-weight-bold);
    --qc-font-weight-content-regular: var(--qc-font-weight-regular);
    --qc-font-weight-content-medium: var(--qc-font-weight-semi-bold);
    --qc-font-weight-content-bold: var(--qc-font-weight-bold);
    --qc-line-height-h6: 2rem;
    --qc-line-height-h5: 2.4rem;
    --qc-line-height-h4: 2.4rem;
    --qc-line-height-h3: 3.2rem;
    --qc-line-height-h2: 4rem;
    --qc-line-height-h1: 5.6rem;
    --qc-line-height-90: 2rem;
    --qc-line-height-100: 2.4rem;
    --qc-line-height-120: 2.8rem;
    --qc-line-height-200: 3.2rem;
    --qc-line-height-sm: var(--qc-line-height-90);
    --qc-line-height-md: var(--qc-line-height-100);
    --qc-line-height-lg: var(--qc-line-height-120);
    --qc-line-height-xl: var(--qc-line-height-200);
    --qc-line-height-content: var(--qc-line-height-md);
    --qc-max-content-width: 82.5rem;
    --qc-color-white: white;
    --qc-color-blue-pale: #dae6f0;
    --qc-color-blue-light: #4a98d9;
    --qc-color-blue-regular: #1472bf;
    --qc-color-blue-piv: #095797;
    --qc-color-blue-medium: #19406C;
    --qc-color-blue-dark: #223654;
    --qc-color-purple: #6b4fa1;
    --qc-color-grey-pale: #f1f1f2;
    --qc-color-grey-light: #c5cad2;
    --qc-color-grey-regular: #8893a2;
    --qc-color-grey-medium: #6b778a;
    --qc-color-grey-dark: #4e5662;
    --qc-color-pink-pale: #ffdbd6;
    --qc-color-pink-regular: #e58271;
    --qc-color-red-regular: #cb381f;
    --qc-color-red-dark: #692519;
    --qc-color-green-pale: #d7f0bb;
    --qc-color-green-regular: #4f813d;
    --qc-color-green-dark: #2c4024;
    --qc-color-yellow-pale: #f8e69a;
    --qc-color-yellow-regular: #e0ad03;
    --qc-color-yellow-dark: #ad781c;
    --qc-color-text-primary: var(--qc-color-blue-dark);
    --qc-color-accent: var(--qc-color-pink-regular);
    --qc-color-success: var(--qc-color-green-regular);
    --qc-color-error: var(--qc-color-red-regular);
    --qc-color-danger: var(--qc-color-red-dark);
    --qc-color-link-text: var(--qc-color-blue-piv);
    --qc-color-link-hover: var(--qc-color-blue-piv);
    --qc-color-link-visited: var(--qc-color-purple);
    --qc-color-link-active: var(--qc-color-red-regular);
    --sdg-color-blue-focus: var(--qc-color-blue-light);
    --qc-box-shadow-color: rgba(34, 54, 84, 0.24);
    --qc-box-shadow-blur-0: 0;
    --qc-box-shadow-blur-1: 4px;
    --qc-box-shadow-blur-2: 8px;
    --qc-box-shadow-blur-3: 16px;
    --qc-box-shadow-blur-4: 24px;
    --qc-box-shadow-offset-0: 0;
    --qc-box-shadow-offset-1: 1px;
    --qc-box-shadow-offset-2: 2px;
    --qc-box-shadow-offset-3: 4px;
    --qc-box-shadow-offset-4: 6px;
    --qc-spacer-xs: 0.8rem;
    --qc-spacer-sm: 1.6rem;
    --qc-spacer-md: 2.4rem;
    --qc-spacer-lg: 4.8rem;
    --qc-spacer-xl: 9.6rem;
    --qc-spacer-section: var(--qc-spacer-xl);
    --qc-spacer-h1-mt: 7.2rem;
    --qc-spacer-h1-mb: 3.2rem;
    --qc-spacer-h2-mt: 7.2rem;
    --qc-spacer-h2-mb: var(--qc-spacer-sm);
    --qc-spacer-h3-mt: var(--qc-spacer-lg);
    --qc-spacer-h3-mb: var(--qc-spacer-xs);
    --qc-spacer-h4-mt: var(--qc-spacer-lg);
    --qc-spacer-h4-mb: var(--qc-spacer-xs);
    --qc-spacer-h5-mt: var(--qc-spacer-md);
    --qc-spacer-h5-mb: 0;
    --qc-spacer-h6-mt: var(--qc-spacer-md);
    --qc-spacer-h6-mb: 0;
    --qc-spacer-content-block-mb: var(--qc-spacer-md);
    --qc-spacer-list-pl: var(--qc-spacer-sm);
    --qc-spacer-list-mb: var(--qc-spacer-content-block-mb);
    --qc-spacer-list-embedded-mb: var(--qc-spacer-sm);
    --qc-spacer-list-item-mb: var(--qc-spacer-sm);
    --qc-spacer-notice-my: var(--qc-spacer-md);
    --qc-spacer-notice-mx: 3.2rem;
    --qc-grid-gutter: 32px;
    --qc-grid-breakpoint-xs: 0;
    --qc-grid-breakpoint-sm: 576px;
    --qc-grid-breakpoint-md: 768px;
    --qc-grid-breakpoint-lg: 992px;
    --qc-grid-breakpoint-xl: 1200px;
    --qc-grid-container-max-width-sm: 576px;
    --qc-grid-container-max-width-md: 768px;
    --qc-grid-container-max-width-lg: 992px;
    --qc-grid-container-max-width-xl: 1200px;
  }

#mainContent {
    display: none;
}

div.page-header h1 {
    display: none;
}

/**************/
/*** Fonts ***/
/*************/
@font-face {
    font-family: Roboto;
    src: url(/Roboto-Regular.ttf);
    font-weight: normal;
}

@font-face {
    font-family: Roboto;
    src: url(/Roboto-Bold.ttf);
    font-weight: bold;
}

@font-face {
    font-family: var(--qc-font-family-open-sans);
    src: url(/OpenSans-Bold.ttf);
    font-weight: bold;
}

@font-face {
    font-family: var(--qc-font-family-open-sans);
    src: url(/OpenSans-Regular.ttf);
    font-weight: normal;
}

/******************/
/*** Navigation ***/
/******************/
.list-group {
    /*width: 200px;*/
    margin-top: 42px !important;
}
   
.list-group-item:first-child {border-top:none}

.list-group-item {
    font-size: var(--qc-font-size-90) !important;
    color: var(--qc-color-blue-piv) !important;
    border-color: var(--qc-color-grey-light) !important;
    border-left:0;
    border-right:0;
}


div .list-group-item>.xrm-editable-html.xrm-attribute {
    display:inline-block;
}

.col-lg-3 {
    width: 20%;
}

.col-lg-9 {
    width: 80%
}

.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
    color: var(--qc-color-blue-piv);
    background-color:var(--qc-color-blue-pale);
    border-color: var(--qc-color-grey-light);
    font-weight: var(--qc-font-weight-bold);

}



/******************/
/*** Responsive ***/
/******************/
@media (max-width: 767px) {
    .navbar-static-top .navbar-brand {
        font-size: 1.2em;
    }

    .visible-sm-block.visible-md-block.visible-lg-block.navbar-brand {
        padding-left: 15px;
    }

    .container>.navbar-header {
        margin-left: unset;
        margin-right: unset;
    }

    .list-group {
        width: 100%;
    }

    .col-lg-3 {
        width: 100%;
    }

    .col-lg-9 {
        width: 95%
    }
	
	table#contexte-cfgpi {
      clear: both;
	}

}

@media (max-width: 1199px) {
    .list-group {
        width: unset;
    }
    .navbar-header {
        flex-basis: 100%;
        max-width: 100%;
        display: flex;
        flex: 1 100%;
        align-items: baseline;
        column-gap: 15px;
    }
}

@media (min-width: 1200px) {
    .list-group {
        width: 200px;
    }

    .navbar-header {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media only screen and (max-width: 1199px) {
    nav.navbar-right.menu-bar {
        background-color: white;
        border: 1px solid #ddd;
        right: 15px;
       /* float: right;*/
        min-width: 200px;
        position: absolute;
    }

    nav.navbar-right.menu-bar li a {
        color: #555;
    }

    nav.navbar-right.menu-bar li a:hover {
        color: #555;
        padding-bottom: 10px;
    }

    nav.navbar-right.menu-bar .dropdown {
        display: none;
    }

    .visible-xs-block,
    .visible-sm-block {
        width: 95%;
    }

    #navbar {
        -webkit-box-flex: 0;
        flex: 0 0 100%;
        max-width: 100%;
    }

}

@media only screen and (min-width: 1200px) {

    nav.navbar-right.menu-bar .weblink,
    nav.navbar-right.menu-bar .divider-vertical {
        display: none;
    }
}

@media screen and (max-width: 767px) {

    /************************/
    /*** Éléments de base ***/
    /************************/
    .col-lg-9 {
        width: 100% !important;
    }

    /******************/
    /*** Navigation ***/
    /******************/
    .navbar-toggle {
        margin-right: inherit;
    }

    .list-group {
        margin-top: 15px;
    }
}

@media screen and (max-width: 768px) {

    /******************************/
    /*** Conteneurs de fichiers ***/
    /******************************/
    html[dir=ltr] .tab-column:nth-child(2) .break-file-name {
        height: 55px !important;
    }

    .tab-column:nth-child(2) .btn-for-file-input,
    .tab-column:nth-child(2) .btn-for-file-input:hover {
        width: 100px !important;
    }
}

@media only screen and (max-width: 1199px) {

    /************************/
    /*** Éléments de base ***/
    /************************/
    .table-fluid th,
    .table-fluid td {
        word-break: normal !important;
    }

    nav.navbar-right.menu-bar .dropdown {
        display: block !important;
    }

    nav.navbar-right.menu-bar .dropdown .dropdown-toggle {
        display: none;
    }

    nav.navbar-right.menu-bar .dropdown .dropdown-menu {
        display: contents;
    }

    .dropdown-menu>li>a:focus,
    .dropdown-menu>li>a:hover,
    .dropdown-menu>li>a:focus,
    .dropdown-menu>li>a:hover {
        border: none;
        background: none;
        padding: 3px 20px;
    }

    nav.navbar-right.menu-bar li a:hover {
        padding-bottom: 3px !important;
    }

    .navbar-static-top.navbar .menu-bar>.navbar-nav>li>a.menuitem {
        font-family: "Open Sans", sans-serif !important;
        font-size: 15px !important;
    }

    .alert-info {
        width: 100% !important;
    }

    /******************************/
    /*** Formulaires Génériques ***/
    /******************************/
    .form-custom-actions {
        margin-left: 0px;
    }

    div[id*='sousgrille_'],
    .entity-grid.entitylist {
        margin-right: inherit !important;
    }

    /******************************/
    /*** Conteneurs de fichiers ***/
    /******************************/
    html[dir=ltr] .break-file-name {
        width: 45%;
    }
}

/***************/
/*** Headers ***/
/***************/
#piv_identite p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 72px;
}

#piv_identite {
    margin-left: 3%;
    min-height: 72px;
    max-height: 72px;
}

.navbar-static-top .navbar-brand {
    font-family: 'Roboto', sans-serif;
}

#logo_entete {
    max-height: 72px;
}

#piv-sub {
    background-color: var(--qc-color-blue-dark);
    padding-left: 40px;
}

#sectionUtils {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    color: white;
}

#piv-sub .container {
    height: 40px;

}

page-heading {
    padding-top: 60px;
}

.navbar-nav>li>a {
    padding: 10px 15px;

}

.page-heading+.row {
    clear: both;
}

.navbar-static-top.navbar .menu-bar>.navbar-nav>li>a {

    font-family: 'Roboto', sans-serif;
    font-size: 12.8px;
}

h1 {
    font-family: var(--qc-font-family-header);
    font-size: var(--qc-font-size-h1);
    line-height: var(--qc-line-height-h1);
    font-weight: var(--qc-font-weight-header-bold);
    color: var(--qc-color-blue-dark);
    margin-top: 72px;
    margin-bottom: 32px;
    max-width: 850px;
    margin-top: 0px;
}

@media (max-width: 1200px) {
    h1 {
        font-family: Roboto;
        font-size: 36px;
        line-height: 40px;
        font-weight: bold;
        color: var(--qc-color-blue-dark);
        margin-top: 48px;
        margin-bottom: 16px;
        max-width: 675px;
    }
}

h1:after {
    content: "";
    display: block;
    margin: 0px;
    width: 48px;
    padding-top: 4px;
    border-bottom: 4px solid var(--qc-color-pink-regular);
}

h2 {
    font-family: Roboto;
    font-size: 36px;
    line-height: 40px;
    font-weight: bold;
    color: var(--qc-color-blue-dark);
    margin-top: 48px;
    margin-bottom: 16px;
}

@media (max-width: 1200px) {
    h2 {
        font-family: Roboto;
        font-size: 28px;
        line-height: 32px;
        font-weight: bold;
        color: var(--qc-color-blue-dark);
        margin-top: 48px;
        margin-bottom: 16px;
    }
}

h3 {
    font-family: Roboto;
    font-size: 28px;
    line-height: 32px;
    font-weight: bold;
    color: var(--qc-color-blue-dark);
    margin-top: 24px;
    margin-bottom: 16px;
    display: inline;	
}

@media (max-width: 1200px) {
    h3 {
        font-family: Roboto;
        font-size: 25px;
        line-height: 32px;
        font-weight: bold;
        color: var(--qc-color-blue-dark);
        margin-top: 24px;
        margin-bottom: 16px;
    }
}

h4 {
    font-family: Roboto;
    font-size: 21px;
    line-height: 24px;
    font-weight: bold;
    color: var(--qc-color-blue-dark);
    margin-top: 24px;
    margin-bottom: 8px;
}

h5 {
    font-family: Roboto;
    font-size: 19px;
    line-height: 24px;
    font-weight: bold;
    color: var(--qc-color-blue-dark);
    margin-top: 16px;
    margin-bottom: 0px;
}

h6 {
    font-family: Roboto;
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
    color: var(--qc-color-blue-dark);
    margin-top: 16px;
    margin-bottom: 0px;
}

.page-header {
    border-bottom: none;
}

.page-header h4 {
    float: left;
    clear: both;
}

body {
    font-family: "Open Sans", sans-serif;
    color: var(--qc-color-blue-dark);
    font-size: 1.6rem;
    line-height: 2.4rem;
}

.alert-warning {
    background-color: #F8E69A;
    border-color: var(--qc-color-yellow-dark);
    color: inherit;
}

.table>thead>tr>th,
.table>thead>tr>td,
.table>tbody>tr>th,
.table>tbody>tr>td,
.table>tfoot>tr>th,
.table>tfoot>tr>td {
    border-color: var(-qc-color-grey-light)
}

button.btn.btn-default.btn-xs.aria-exp:before {
    content: "Action";
}

button.btn.btn-default.btn-xs.aria-exp {
    width: 90px;
}

span.fa.fa-chevron-circle-down.fa-fw {
    padding-left: 5px;
}

.boolean-radio {
    display: flex;
    flex-flow: nowrap;
    width:20%;
}

.boolean-radio label {
    flex: 1;
    align-self: baseline;
    padding-top: 4px;
}

.boolean-radio input {
    align-self: baseline
}

/************************/
/*** Popup Recherche  ***/
/************************/
@media (min-width: 798px) {
    .entity-lookup .entity-grid {
        display: table-row;
    }
}

@media (max-width: 797px) {
    .entity-lookup .entity-grid .view-toolbar.grid-actions {
        display: grid !important;
        width: 100% !important;
    }
}

.entity-lookup .entity-grid .view-toolbar.grid-actions {
    background-color: var(--qc-color-blue-pale);
    padding: 10px;
    display: table-cell;
    width: 31%;
}

.entity-lookup .entity-grid .view-toolbar.grid-actions:before {
    content: "Filtre";
    font: normal normal medium 20px/28px Roboto;
    letter-spacing: 0px;
    color: var(--qc-color-blue-dark);
    font-weight: bold;
    margin-bottom: 10px;
}

.entity-lookup .entity-grid .input-group.pull-left.view-search.entitylist-search:before {
    content: "Mots-clés";
    text-align: left;
    font: normal normal bold 16px/24px Open Sans;
    letter-spacing: 0px;
    color: var(--qc-color-blue-dark);
}

.entity-lookup .entity-grid .input-group.pull-left.view-search.entitylist-search .input-group-btn {
    display: table-row;
    padding-top: 10px;
}

.entity-lookup .entity-grid .input-group.pull-left.view-search.entitylist-search button.btn.btn-default {
    margin-top: 10px;
    width: 100%;
}

.entity-lookup .entity-grid .input-group.pull-left.view-search.entitylist-search button.btn.btn-default:before {
    content: "Rechercher"
}

.entity-lookup .entity-grid .input-group.pull-left.view-search.entitylist-search button.btn.btn-default .fa {
    padding-left: 5px
}

.entity-lookup .entity-grid .entity-associate .view-grid,
.entity-lookup .view-grid,
.entity-lookup .entity-grid .view-empty.message {
    padding-left: 10px;
}

/************************/
/*** Éléments de base ***/
/************************/

footer {
    position: inherit !important;
    bottom: inherit !important;
}

/*h1, .h1 {
  font-size: 1.5em;
  font-weight: bold;
}
h4, .h4 {
  font-size: 1.2em;
}
h3 {
  display: inline;
}*/

a {
    color: var(--qc-color-blue-piv);
}



.btn {
    padding: 5px 12px !important;    
}

.btn-primary {
    background-color: var(--qc-color-blue-piv);
    border-color: var(--qc-color-blue-piv);
}

.btn.large {
    padding: 15px 24px !important;
    min-width: 60px;
    min-height: 40px;
    line-height: 26px;
    font-family:var(--qc-font-family-open-sans);
    font-weight:var(--qc-font-weight-bold);
    
}


.btn-default {
    color: var(--qc-color-blue-piv);
    border-color: var(--qc-color-blue-piv);
}

.text-muted {
    display: none;
}

.fa.pull-right {
    margin-left: 0px !important;
}

html[dir=ltr] .crmEntityFormView .cell.checkbox-cell div.info {
    padding-left: 24px;
}

input[type="checkbox"] {
    width: 16px;
    height: 16px;
}
input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    align-self:center;
    background-clip: content-box;
    border: 2px solid var(--qc-color-blue-dark);
}
input[type="radio"]:checked
{
    display: inline-block;
    padding: 2px;
    background-color: var(--qc-color-blue-regular);
    border: 1px solid var(--qc-color-blue-regular);
}

input[type="checkbox"]:checked {
    accent-color:var(--qc-color-blue-regular);
    display: inline-block;
    width: 16px;
    height: 16px;
    padding: 2px;
    background-clip: content-box;
    border: 1px solid var(--qc-color-blue-regular);
    background-color: var(--qc-color-blue-regular);
}

input[type="radio"]:disabled,
input[type="checkbox"]:disabled {
   appearance:revert;
}

.crmEntityFormView .form-control.readonly,
.crmEntityFormView .form-control[readonly][disabled],
.form-readonly .form-control {
    border: 1px solid VAR(--qc-color-grey-light);
    padding: 6px 12px;
    color:var(--qc-color-grey-medium);
    /* background-color: #eee; */
    opacity: 1;
    
}

.crmEntityFormView .cell {
    padding: 0px 28px 32px 0px;
}
.crmEntityFormView .form-readonly .cell {
    padding: 0px 28px 12px 0px;
}

.crmEntityFormView td.subgrid-cell {
    vertical-align: top;
    padding-right: 0px;
}

/****************************/
/*** Entête et navigation ***/
/****************************/
.breadcrumb * {
    color: var(--qc-color-blue-dark) !important;
    font-size: 12px !important;
}

.breadcrumb>li+li:before {
    content: "<" !important;
    padding: 0px;
    padding-right: 6px;
}

.navbar .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: auto;
    margin-top: 0px;
    position: relative;
}
/**
.navbar-header {
    -ms-flex: 0 0 50%;
    -webkit-box-flex: 0;
    flex: 0 0 50%;
    max-width: 50%;
}
*/
.navbar-brand {
    float: none;
    padding: 0px;
}

.navbar {
    background-color: var(--qc-color-blue-piv) !important;
    height: 72px;
}

.navbar-header .contenu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: auto;
    position: relative;
    width: 120%;
}

#navbar {
    -webkit-box-flex: 0;
    flex: 0 0 50%;
    align-self: center;
    align-content: center;
    height: 100% !important;
    justify-content: flex-end !important;
}
.navbar-header {
    justify-content: flex-end !important;
    height: 100%;
}

.navbar-header>button {
    align-self: flex-end !important;
    padding: 15px 0px;
    margin-right: 0px;
}

.navbar-header>button:hover,
.navbar-header>button:focus {
    background-color: var(--qc-color-blue-dark) !important;
}

#navbar .dropdown-menu {
    margin-top: 0px !important;
}

.navbar2 {
    min-height: 7.2rem !important;
    background-color: var(--qc-color-blue-dark) !important;
}

.navbar2>.container {
    height: 100% !important;
    padding: 0px 15px 0px 15px !important;
}

.navbar2 .navbar-nav>li>a:hover {
    border-bottom: 0px var(--qc-color-blue-dark)  solid !important;
    background-color: var(--qc-color-blue-dark) !important;
    padding-bottom: 15px !important;
}

.navbar2 .navbar-nav>li>a {
    font-family: "Open Sans", sans-serif !important;
    font-size: 1.8rem !important;
    font-weight: 400 !important;
    border-bottom: 0px var(--qc-color-blue-dark) solid !important; 
    padding: 15px !important;
}

.navbar2.navbar-inverse .navbar-nav>li>a:focus {
    outline: none;
}

.navbar2 .dropdown-menu>li>a:focus,
.dropdown-menu>li>a:hover {
    border: 2px solid #fff;
    background-color: #fff;
}

#logo_entete {
    -ms-flex: 0 0 50%;
    -webkit-box-flex: 0;
    flex: 0 0 35%;
    max-width: 50%;
    max-height: 60px;
}

#piv_identite {
    color: white;
    font-size: 0.6em;
    font-weight: bold;
}

#piv_identite p {
    margin: 0px;
}

.navbar-inverse {
    margin-bottom: 0px !important;
}

.navbar-inverse .navbar-nav .dropdown-menu>li>a:hover {
    color: var(--qc-color-blue-piv);
    background-color: transparent !important;
    text-decoration: underline;
    border-bottom: 0px none !important;
}

#navbar .dropdown-menu {
    margin-top: 0px !important;
}

.navbar-inverse .navbar-nav>.open>a,
.navbar-inverse .navbar-nav>.open>a:hover,
.navbar-inverse .navbar-nav>.open>a:focus {
    background-color: inherit !important;
}


.navbar-nav .user-login {    
    justify-content: center;
    margin: 0px 16px 0px 8px !important;
  }

  .navbar-nav .user-login .btn-login {
    color: var(--qc-color-white) !important;
    height: 40px !important;
    min-width:48px !important; 
    text-decoration: none;
    border: 1px var(--qc-color-white) solid !important;
    font-family: var(--qc-font-family-open-sans);    
    font-size: 14px !important;  
    padding: 8px 16px !important;    
    font-weight: normal !important;
    line-height: 20px;
      
  }
  .navbar-nav .user-login .btn-login:hover,
  .ligneMenuPrincipal .user-login .btn-login:active,
  .ligneMenuPrincipal .user-login .btn-login:focus {
    color: var(--qc-color-blue-piv) !important;  
    background-color: #D7E4EE !important;
    border-color: var(--qc-color-blue-piv) !important;
    text-decoration:none;
  }
  



.page-heading .page-header {
    min-height: 65px;
    margin-top: 20px !important;
}

.page-heading .page-header>h1 {
    float: left;
}

/*div.page-header h1 {
  display:none;
}*/
div.page-header h4 {
    float: inherit !important;
}
.collapsableCF .panel-heading {
    display: block;
    line-height: 1rem;
    border-radius: 0;
    padding: 16px;
    text-align: left;
    box-shadow: none !important;
    font-weight: bold;
    padding-right: 28px;
    margin-bottom: 0px;
    margin-right: 0px;
    border: 1px solid var(--qc-color-grey-pale) !important;
    font-family: var(--qc-font-family-open-sans);
    font-size: 16px;
    font-weight: var(--qc-font-weight-semi-bold) !important;
    color: var(--qc-color-blue-dark) !important;
    text-decoration: none;
  }
  .collapsableCF .panel-heading:hover,
  .collapsableCF .panel-heading:focus{
    text-decoration: none;
    border: 1px solid var(--qc-color-grey-light) !important;
  }

  .collapsableCF .collapsed {
    border-bottom: none;
  }
  .collapsableCF .panel-heading {
    border: 1px transparent;
  }
  .collapsableCF .toggle {
    position: absolute;
    right: 28px;
  }
  .collapsableCF .toggle:after {
    content: "—";
    font-size: 16px;
    font-weight: bold;
  }
  .collapsableCF .collapsed .toggle:after {
    content: "+";
    font-size: 32px;
    font-weight: normal;
  }
  .collapsableCF h3 {
    font-size: 1rem;
  }
  

/***************/
/*** Contenu ***/
/***************/

/* #content-container {
  min-height: 450px;
} */

.child-navigation.content-panel {
    display: none;
}

.alert-info,
.alert-success {
    background-color: var(--qc-color-blue-pale) !important;
    border-color: var(--qc-color-blue-piv) !important;
}

.alert-info *,
.alert-success {
    color: var(--qc-color-blue-piv) !important;
}

.alert-warning {
    background-color: #f8e69a;
    border-color: var(--qc-color-yellow-regular);
}

.pleasewait {
    margin-top: 20px;
}

.notifications {
    clear: both !important;
}

/********************/
/*** Pied de page ***/
/********************/
#piv_piedPage {
    width: 100%;
    margin: 1% 0;
    font-family: 'Roboto', sans-serif !important;
}

#piv_piedPage:after {
    content: " ";
    display: table;
    clear: both;
}

#piv_piedPage .contenu {
    width: 100%;
}

@media only screen and (min-width: 960px) {
    #piv_piedPage .contenu {
        width: 960px;
        margin: auto;
        border-top: none;
    }
}

#piv_piedPage .contenu #personnaliser,
#piv_piedPage .contenu #logo_pied,
#piv_piedPage .contenu #credits {
    text-align: center;
}

#piv_piedPage .contenu #credits {
    padding-top: 10px !important;
}

#credits a {
    color: #626262;
    font-size: 11px;
}

#piv_piedPage .contenu #logo_pied {
    width: 100%;
    margin: auto;
    max-height: 72px;
}

@media only screen and (min-width: 960px) {
    #piv_piedPage .contenu #logo_pied {
        width: 20%;
    }
}

#piv_piedPage .contenu #logo_pied img {
    min-width: 100%;
}

#piv_piedPage .contenu #navFooter {
    padding: 10px 0 0 0;
}

#piv_piedPage .contenu #navFooter li {
    list-style-type: none;
    margin: 0;
    font-size: 12px;
}

#piv_piedPage .contenu #navFooter a {
    text-decoration: none;
    font-family: 'Roboto', sans-serif !important;
}

@media only screen and (min-width: 960px) {
    #piv_piedPage .contenu #navFooter li {
        display: inline-block;
        margin-right: 10px;
    }
}

#piv_piedPage .contenu a {
    color: #626262;
    font-family: 'Roboto', sans-serif !important;
}

.ui-widget-overlay {
    opacity: .50 !important;
    /* Make sure to change both of these, as IE only sees the second one */
    filter: Alpha(Opacity=50) !important;
    background: rgb(50, 50, 50) !important;
    /* This will make it darker */
}

/******************************/
/*** Formulaires Génériques ***/
/******************************/

.section label {
    font-weight: normal !important;
}

fieldset.inactive {
    margin-bottom: 20px !important;
}

fieldset .checkbox-cell {
   /* padding-left: 50px !important;*/
    padding-top: 10px !important;
}

fieldset.sous-section {
    margin-left: 50px;
    margin-top: 15px;
}

fieldset legend {
    font-family: Roboto;
    font-size: 36px;
    line-height: 40px;
    font-weight: bold;
    color: var(--qc-color-blue-dark);
    margin-top: 48px;
    margin-bottom: 16px !important;
}

.titre-principal-page legend {
    border-bottom: none;
}



@media (max-width: 1200px) {
    fieldset legend {
        font-family: Roboto;
        font-size: 28px;
        line-height: 32px;
        font-weight: bold;
        color: var(--qc-color-blue-dark);
        margin-top: 48px;
        margin-bottom: 16px !important;
    }
}

.legend_outside_fieldset {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px !important;
}

h2.tab-title {
    display: none;
}

ul.infolistenumerique {
    list-style-type: decimal;
}

ul.infolistenumerique li,
ul.infolistenormale li {
    padding: 10px 5px;
}

ul.infolistenumeriqueserre li,
ul.infolistenormaleserre li {
    padding: 5px;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover {
    background-color: transparent !important;
    color:var(--qc-color-blue-dark);
    font-weight:bold;
    border-color: transparent !important; 
    border-radius: 0 !important;
    border: solid 0px !important;
}

.pagination>li>a{
    background-color: transparent !important;
    border-color: transparent !important; 
    border-radius: 0 !important;
    border: solid 1px !important;
    font-size:1.2rem
}
.pagination>li>a, .pagination>.disabled>a {
    color:var(--qc-color-blue-dark);
}

div.dt-container div.dt-info {
    white-space: nowrap;
    font-size:1.2rem
}

.progress-bar {
    background-color: var(--qc-color-blue-piv) !important;
}

.form-custom-actions {
    /*border-top: 1px solid lightgrey;*/
    border-top: none;
    padding-top: 0px;   /*10px*/
}

.form-custom-actions>div,
.crmEntityFormView .actions>div {
    padding-left: 0px;
}



/**************************/
/*** Contexte de droite ***/
/**************************/
table#contexte-cfgpi {
    display: inline-table !important; 
    width:100%;  
    margin-bottom: 24px;
    margin-top:-16px;
    border: 1px solid var(--qc-color-grey-light);
    background-color: var(--qc-color-white);
    
    font-size: var(--qc-font-size-sm);
    line-height: var(--qc-line-height-sm);
    font-weight: var(--qc-font-weight-regular);
    /* float:right;*/
  }
  #contexte-cfgpi {
      margin-right: inherit!important;
  }
  #contexte-cfgpi tr td {
    padding:10px;
  }
  #contexte-cfgpi tr:first-child {
    border: 1px solid var(--qc-color-grey-light)
    /*padding-right: 15px;
    font-weight:bold;*/
  }
  #contexte-cfgpi tr td:nth-child(2) {
   /* border:1px solid grey;
    text-align: center;*/
  }

.page-heading .page-header {
  /*padding-right: 28px;  */
  min-height: 65px;
  margin-top:20px!important;
}
.page-heading .page-header > h1 {
  float:left;
}
div.page-header h1 {
  display:none;
}
div.page-header h4 {
  float:inherit!important;
}

/***************************/
/*** Formulaires globaux ***/
/***************************/
div[id*='sousgrille_'],
.entity-grid.entitylist {
    /*border-top: 1px solid var(--qc-color-blue-piv);*/
    /*border-bottom: 1px solid var(--qc-color-blue-piv);*/
    padding: 0px;
    /*background-color: var(--qc-color-blue-pale);*/
    /*margin-left: -28px;*/
    /*margin-right: -28px !important;*/
    color: var(--qc-color-blue-dark) !important;
}

div[id*='sousgrille_'] .grid-actions {
    border-bottom: 0px solid #eee;
    margin-bottom: 0px;
    padding-bottom: 10px;
}

div[id*='sousgrille_'] .table-striped>tbody>tr:nth-of-type(odd),
.entity-grid.entitylist .table-striped>tbody>tr:nth-of-type(odd) {
    background-color: transparent;
}

div[id*='sousgrille_'] thead,
.entity-grid.entitylist thead {
    background-color: var(--qc-color-grey-pale);        
}
div[id*='sousgrille_'] a,
.entity-grid.entitylist a {
    color: var(--qc-color-blue-medium);        
}
div[id*='sousgrille_'] .table-striped>tbody>tr:hover,
.entity-grid.entitylist .table-striped>tbody>tr:hover {
    background-color: #f5f5f5;
}

div[id*='sousgrille_'] .table>tbody>tr>td,
.entity-grid.entitylist .table>tbody>tr>td{
    vertical-align:middle;
}

.entity-grid.entitylist {
    /* Spécifique aux listes seulement (pas les sous-grilles) */
    margin-left: 0px;
    margin-bottom: 40px;
}

.picklist.horizontal label {
    margin-right: 10px;
}

.field-label {
    font-weight: normal !important;
    margin-bottom: 4px;
}

legend.field-label-legend {
    font-weight: bold !important;
    margin-bottom: 5px !important;
    font-family: "Open Sans", sans-serif;
    color: var(--qc-color-blue-dark);
    font-size: 1.6rem;
    line-height: 2.4rem;
}

.section .info label {
    font-weight: bold !important;
}

.section .info label .normal {
    font-weight: normal !important;
}

.xrm-attribute-value-empty {
    display: none;
}


div[id*='sousgrille_'] table *,
.entity-grid.entitylist table * {
    font-size: 13px !important;
}

.control option:disabled {
    background-color: lightgray;
    font-style: italic;
    color: grey;
}

td.actif,
td.termine {
    font-weight: bold;
    color: black;
    word-break: normal !important;
}

td.complete {
    font-weight: bold;
    color: #4f813d;
    word-break: normal !important;
}

td.non-complete {
    font-weight: bold;
    color: var(--qc-color-red-regular);
    word-break: normal !important;
}

td.a-reviser {
    font-weight: bold;
    color: var(--qc-color-yellow-regular);
    word-break: normal !important;
}

td.inactive {
    font-weight: bold;
    color: var(--qc-color-grey-regular);
    word-break: normal !important;
}

.inactive select {
    appearance: none;
}

.inactive .required label::after {
    display: none;
}

span[id*='DateFormatValidator'] {
    display: none !important;
}

/****************************************************/
/*** Tooltip sélection d'année dans le datepicker ***/
/****************************************************/
div[role='tooltip'] {
    display: none !important;
}

div[role='log'] {
    display: none !important;
}

/*****************************************/
/*** Correctif de la progress bar à 0% ***/
/*****************************************/
div.progress .bar.zero {
    width: 5% !important;
    color: white !important;
    text-indent: 0px !important;
}

/******************************/
/*** Conteneurs de fichiers ***/
/******************************/
.btn-for-file-input,
.btn-for-file-input:hover {
    background-color: var(--qc-color-blue-piv);
    border-color: var(--qc-color-blue-piv);
    color: white;
    font-size: 15px !important;
    width: 150px;
}

.btn-for-file-input:hover {
    background-color: #2f5fef;
}

.btn-for-delete {
    margin-left: -5px;
    padding: 0px !important;
    margin-top: 2px;
    font-size: 0 !important;
}

.btn-for-delete:hover {
    background-color: transparent !important;
}

.btn-for-delete .fa {
    font-size: initial !important;
}

.file-link-and-delete {
    width: calc(100% - 180px);
}

html[dir=ltr] .container-file-input {
    float: left;
}

html[dir=ltr] .break-file-name {    
    float: left;
    margin-left: -5px !important;
    margin-right: 10px !important;
    margin-top: 0px !important;
    padding: 4px !important;
    width: 52%;
}

html[dir=ltr] .break-file-name.readonly {
    border: 0px none !important;
    padding: 0px !important;
    margin-left: 0px !important;
}

html[dir=ltr] .break-file-name>div,
html[dir=ltr] .break-file-name>a,
html[dir=ltr] .break-file-name>span {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: inherit;
}

html[dir=ltr] .break-file-name.readonly>div,
html[dir=ltr] .break-file-name.readonly>a,
html[dir=ltr] .break-file-name.readonly>span {
    text-overflow: inherit !important;
    overflow: inherit !important;
}
/*
html[dir=ltr] .crmEntityFormView .cell.boolean-radio-cell input[type=radio]:first-child,
html[dir=ltr] .crmEntityFormView .cell.boolean-radio-cell input[type=radio] {
    margin: 8px;
}
*/
/*************************/
/***   Champs requis   ***/
/*************************/

legend.required:after {
    content: ' *';
    color: #a94442;
}

span.required {
    color: #a94442;
}

fieldset>legend>span.required,
fieldset>legend.required:after {
    font-family: Roboto;
    font-size: 28px;
    line-height: 32px;
    font-weight: bold;
    margin-top: 24px;
    margin-bottom: 16px;
}

@media (max-width: 1200px) {

    fieldset>legend>span.required,
    fieldset>legend.required:after {
        font-family: Roboto;
        font-size: 25px;
        line-height: 32px;
        font-weight: bold;
        margin-top: 24px;
        margin-bottom: 16px;
        color: var(--qc-color-red-regular);
        font-size: 16px;
        font-weight: bold;
    }
}

fieldset>legend.required.field-label-legend:after {
    font-size: 1.6rem;
    line-height: 2.4rem;
    font-family: "Open Sans", sans-serif;
}


.modal-header {
    padding: 32px 32px 0px 32px;
    border-bottom: none;
}

.modal-header .close {
    margin-right: -16px;
    margin-top : -14px;
    color:var(--qc-color-blue-piv)
}

.modal-body {
    padding: 24px 32px 24px 32px;
}

.modal-footer {
    padding: 0px 32px 32px 32px;
    border-top: none;
}

/* Champs obligatoires */
/* Système de design gouvernemental */

span.required,
.crmEntityFormView .cell div.info.required label:after {
    content: '*' !important;
    padding-left: 8px !important;
    color: var(--qc-color-red-regular) !important;
    font-size: 16px !important;
    font-weight: bold !important;
}

#champ-obligatoires {
    font-size: 14px !important;
}

#champs-obligatoires span.required {
    padding-left: 0 !important;
}

/* Boutons */
/* Système de design gouvernemental */

.btn.btn-primary {
    color: #fff;
    border-color: var(--qc-color-blue-piv);
    background-color: var(--qc-color-blue-piv);
}

.btn.btn-primary:hover {
    border-color: var(--qc-color-blue-regular);
    background-color: var(--qc-color-blue-regular);
}

.btn.btn-primary:focus {
    border-color: var(--qc-color-blue-dark);
    background-color: var(--qc-color-blue-regular);
}

.btn.btn-primary:active {
    border-color: #3783c9;
    background-color: #3783c9;
}

.btn.btn-secondary {
    color: var(--qc-color-blue-piv);
    border-color: var(--qc-color-blue-piv);
}
.btn.btn-secondary:hover {
    background-color: rgba(9, 87, 151, 0.16);
}
.btn.btn-secondary:focus {
    border-color: var(--qc-color-blue-dark);
    background-color: rgba(9, 87, 151, 0.16);
    box-shadow: 0 0 0 2px var(--sdg-color-blue-focus);
}
.btn.btn-secondary:active {
    background-color: rgba(9, 87, 151, 0.08);
}

.infobtn {
    border: none;
    background-color: #c9222200;    
}
.circle-info {    
    color: var(--qc-color-blue-regular);
}

.label-success {
    
    background-color: var(--qc-color-green-regular);
    
}
.label.badge-pill {
    
    vertical-align: top;
    border-radius: 1em;
    margin: 0 0.25em;    
}

.qc-notice {
    max-inline-size: var(--qc-max-content-width);
    display: flex;
    border: 1px solid var(--qc-color-grey-light);
    background-color: var(--qc-color-white);
    word-break: break-word;
    font-size: var(--qc-font-size-sm);
    line-height: var(--qc-line-height-sm);
    font-weight: var(--qc-font-weight-regular);
    margin-bottom: 3.2rem;
    /*TODO Quelle est la marge entre le titre et le texte? Rien de sp øcifi ø dans le SDG. */
  }
  .qc-notice .icon-container {
    display: flex;
    padding: var(--qc-spacer-md) var(--qc-spacer-xs);
    background-color: var(--qc-color-blue-pale);
  }
  .qc-notice .icon-container .qc-icon {
    background-size: 100% auto;
    min-width: var(--qc-spacer-md);
    height: var(--qc-spacer-md);
  }
  .qc-notice .content-container {
    width: 100%;
  }
  .qc-notice.qc-information .icon-container {
    background-color: var(--qc-color-blue-pale);
  }
  .qc-notice.qc-warning .icon-container {
    background-color: var(--qc-color-yellow-pale);
  }
  .qc-notice.qc-success .icon-container {
    background-color: var(--qc-color-green-pale);
  }
  .qc-notice.qc-error .icon-container {
    background-color: var(--qc-color-pink-pale);
  }
  .qc-notice .title {
    margin: 0;
    padding: 0;
    font-size: var(--qc-font-size-sm);
    line-height: var(--qc-line-height-sm);
    font-weight: var(--qc-font-weight-bold);
    font-family: var(--qc-font-family-content);
  }
  .qc-notice .content {
    margin: var(--qc-spacer-notice-my) var(--qc-spacer-notice-mx) var(--qc-spacer-notice-my) var(--qc-spacer-sm);
  }
  .qc-notice .content .text ::slotted(ul) {
    padding-left: var(--qc-spacer-sm) !important;
    margin-top: var(--qc-spacer-sm) !important;
  }
  
  /* Links in a error notice (eg. error summary) */
  qc-notice[type=error] ul li a {
    color: var(--qc-color-red-regular);
  }
  qc-notice[type=error] ul li a:hover, qc-notice[type=error] ul li a:focus {
    text-decoration: none;
  }

  .alert-error .fa-info-circle {
    font-family:none;
    content: url(/error.png);
    min-width:24px !important;
    width:24px !important;
    margin-bottom:-5px;
}

.validation-summary {
    padding:0px;
    background-color: white !important;
    box-sizing: border-box;
    width:80% !important;
    border-color: var(--qc-color-grey-light);
}

.validation-summary ul a {
 color: var(--qc-color-red-regular) !important;
 font-size: var(--qc-font-size-sm) !important;
 line-height: var(--qc-line-height-sm) !important;
 font-weight: var(--qc-font-weight-regular) !important;
}
.validation-summary ul {
  max-inline-size: var(--qc-max-content-width);
  list-style: disc !important;
  margin: 15px !important;
  margin-bottom: var(--qc-spacer-list-mb) !important;
  padding-left: var(--qc-spacer-list-pl) !important;
}
.validation-header{
      
    background-color:var(--qc-color-pink-pale);
    margin: 0;
    padding: 8px !important;
    font-size: var(--qc-font-size-sm) !important;
    line-height: var(--qc-line-height-sm) !important;
    font-weight: var(--qc-font-weight-bold) !important;
    font-family: var(--qc-font-family-content) !important;
}

.linkExtImg {
    width: 14px;
    height: 14px;
    /* margin-left: 0.16rem;
    max-height: 1.2rem;
    max-width: 1.2rem;
    margin-bottom: 0.16rem; */
    content: "";
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
    display: inline-block;
  }

.qc-external-link {
    background-image: url(/external_lnk.png);
    filter: brightness(0) saturate(100%) invert(24%) sepia(20%) saturate(6392%) hue-rotate(189deg) brightness(92%) contrast(93%);
  }

.qc-icon {
    display: inline-block;
    content: "";
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
    min-width: 32px;
    height: 32px;
  }

  .qc-icon.qc-error {
    background-image: url(/error.png);
    filter: invert(26%) sepia(98%) saturate(1852%) hue-rotate(351deg) brightness(83%) contrast(90%);
  }
  
  .qc-icon.qc-question-mark {
    background-image: url(/qc-sprite.svg?v=1.2.5#question-mark);
  }

  .qc-icon.qc-success {
    background-image: url(/success.png);
    filter: invert(44%) sepia(12%) saturate(1775%) hue-rotate(59deg) brightness(97%) contrast(88%);    
  }
  .qc-icon.qc-success-white {
    background-image: url(/qc-sprite.svg?v=1.2.5#success-white);
  }

  .qc-icon.qc-warning {
    background-image: url(/warning.png);
    filter: invert(43%) sepia(100%) saturate(367%) hue-rotate(360deg) brightness(93%) contrast(93%);  
  }

  .qc-icon.qc-information {
    background-image: url(/information.png);
    filter: invert(19%) sepia(81%) saturate(2334%) hue-rotate(191deg) brightness(93%) contrast(93%);
  }
  .qc-icon.qc-search {
    background-image: url(/qc-sprite.svg?v=1.2.5#loupe-piv-droite);
  }
  .qc-icon.qc-search-submit {
    background-image: url(/qc-sprite.svg?v=1.2.5#loupe-piv-fonce);
  }

/* Notification Container */
.notifications {
    display: block;
  }
  
  /* Alert Notification */
  .qc-notification.alert {
    display: inline-flex;
    width: 100%;    
    align-items: center;
    padding-right: 5px;
    margin: 0px;
    border:none;
  }
  
  /* Icon Container */
  .icon-container {
    display: inline-flex;
  }
  
  .qc-notification.qc-success {
   background-color:var(--qc-color-green-pale) !important;  
  }
  .qc-notification.qc-information {
   background-color:var(--qc-color-blue-pale) !important; 
  }
  .qc-notification .qc-icon {
      background-size:unset;
  }
  
  .qc-notification .close {
      padding-right: 10px;   
      position:unset; 
  }
  
  /* Alert Content */
  .qc-alert-content {
    width: 100%;
    padding-left: 10px;
    font-weight: 600;
    color: var(--qc-color-blue-dark);
  }
  
  /* Close Button */
  .close {
    display: inline-flex;
  }
  


  #btnHautDePage {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 999;
    cursor: pointer;
    width: 40px;
    height: 40px;
    background-color: var(--qc-color-blue-piv);
    color: var(--qc-color-white);
    align-items: center;
    justify-content: center;
    text-align: center;
    -moz-box-shadow: 0px 3px 6px rgba(34, 54, 84, 0.29);
    -webkit-box-shadow: 0px 3px 6px rgba(34, 54, 84, 0.29);
    box-shadow: 0px 3px 6px rgba(34, 54, 84, 0.29);
    border-radius: var(--sdg-button-border-radius);
    }
    
    #btnHautDePage:hover {
    background-color : var(--qc-color-blue-light);
    -moz-box-shadow: 0px 1px 4px rgba(9, 87, 151, 0.24);
    -webkit-box-shadow: 0px 1px 4px rgba(9, 87, 151, 0.24);
    box-shadow: 0 1px 4px rgba(9, 87, 151, 0.24);
    }
    
    #btnHautDePage:focus {
    background-color : var(--qc-color-blue-regular);
    outline: 2px solid var(--qc-color-blue-light);
    border: 2px solid var(--qc-color-blue-dark);
    -moz-box-shadow: 0 2px 8px rgba(9, 87, 151, 0.24);
    -webkit-box-shadow: 0 2px 8px rgba(9, 87, 151, 0.24);
    box-shadow: 0 2px 8px rgba(9, 87, 151, 0.24);
    }
    
    #btnHautDePage i {
    line-height: 40px;
    }
    
    #btnHautDePage:focus i {
    line-height: 36px;
    }

    /* Loading Popup Styles */
#loading-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    font-family: Arial, sans-serif;
}

.loading-content {
    background: white;
    padding: 30px;
    border-radius: 0px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-align: center;
    min-width: 200px;
    max-width: 400px;
}

/* Spinner Animation */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Text Styles */
.loading-title {
    margin: 0;
    color: var(--qc-color-blue-dark);
    font-size: 16px;
    font-weight: 500;
}

.loading-subtitle {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 14px;
    font-weight: normal;
}

/* Cancel Button (Optional) */
.loading-cancel-btn {
    margin-top: 15px;
    padding: 8px 16px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.loading-cancel-btn:hover {
    background: #c0392b;
}

.loading-cancel-btn:active {
    transform: translateY(1px);
}

/* Alternative Spinner Styles */
.loading-spinner-dots {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
}

.loading-spinner-dots div {
    position: absolute;
    top: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3498db;
    animation: loading-dots 1.2s linear infinite;
}

.loading-spinner-dots div:nth-child(1) {
    left: 4px;
    animation-delay: 0s;
}

.loading-spinner-dots div:nth-child(2) {
    left: 16px;
    animation-delay: -0.4s;
}

.loading-spinner-dots div:nth-child(3) {
    left: 28px;
    animation-delay: -0.8s;
}

@keyframes loading-dots {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* Pulse Animation Alternative */
.loading-spinner-pulse {
    width: 40px;
    height: 40px;
    background: #3498db;
    border-radius: 50%;
    margin: 0 auto 15px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 480px) {
    .loading-content {
        margin: 20px;
        min-width: unset;
        width: calc(100vw - 40px);
        max-width: unset;
    }

    .loading-title {
        font-size: 14px;
    }

    .loading-subtitle {
        font-size: 12px;
    }
}


/* Fade-in Animation */
#loading-popup {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Accessibility Improvements */
.loading-content {
    outline: none;
}

.loading-content:focus-within {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(52, 152, 219, 0.3);
}

