body {
    background-color: var(--blanc);
}

.sidebar .sidebar-content {
    border-right: solid 1px var(--gris-c6);
}



/*
--------------------------------------------
-------------- PAGE           --------------
-------------- CHOIX DU THEME --------------
--------------------------------------------
*/

#themes-design .div-bloc {
    background-color: var(--gris-c7);
}
#themes-design .div-bloc .div-boutons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
#themes-design .div-bloc .div-boutons.boutons-verticaux {
    flex-direction: column;
    align-items: center;
}
#themes-design .div-cadre {
    width: 100%;
    height: auto;
    overflow: hidden;
}
#themes-design .div-image img {
    width: 100%;
}

#themes-design .div-dropdown .btn {
    display: inline-block;
}

#themes-design .grille-card-theme {
    display: grid;
    gap: 20px;
}
#themes-design .grille-card-theme .div-bloc {
    border-radius: 10px;
    border: solid 1px var(--gris-c5);
}
#themes-design .grille-card-theme .div-bloc .div-cadre {
    margin-bottom: 10px;
}



/*
THÈME ÉQUIPÉ
*/
#themes-design .theme-actif {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    padding: 0 20px;
    gap: 24px;
    margin-bottom: 64px;
    border: solid 1px var(--gris-c5);
}
#themes-design .theme-actif .div-texte {
    display: flex;
    align-items: center;
}
#themes-design .theme-actif .div-texte > div {
    width: 100%;
    padding-top: 24px;
}
#themes-design .theme-actif .div-texte h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 0.5em;
    display: flex;
    gap: 4px;
    flex-direction: column;
}
#themes-design .theme-actif .div-texte h2 small {
    font-size: 1.64063rem;
    font-weight: 500;
}
#themes-design .theme-actif .div-cadre {
    aspect-ratio: 16 / 9;
}
#themes-design .theme-actif .div-cadre .div-image {
    padding-bottom: 24px;
}
#themes-design .theme-actif .div-cadre .div-image img {
    border: solid 1px var(--gris-c5);
    border-radius: 8px;
}



/*
THÈMES PERSONNELS
*/
#themes-design .themes-personnels {
    margin-bottom: 64px;
}
#themes-design .themes-personnels .grille-card-theme {
    grid-template-columns: repeat(1, 1fr);
}
#themes-design .themes-personnels .grille-card-theme .div-bloc {
    padding: 15px;
}
#themes-design .themes-personnels .grille-card-theme .div-bloc.bloc-template-perso {
    background-color: var(--gris-c7);
    border: solid 1px var(--gris-c5);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
#themes-design .themes-personnels .grille-card-theme .div-bloc.bloc-template-perso img {
    max-width: 180px;
    margin-bottom: 10px;
}
#themes-design .themes-personnels .grille-card-theme .div-bloc.bloc-template-perso svg {
    width: 80px;
    fill: var(--violet);
}
#themes-design .themes-personnels .grille-card-theme .div-bloc.bloc-template-perso h3 {
    margin-bottom: 20px;
}
#themes-design .themes-personnels .grille-card-theme .div-bloc .div-cadre {
    aspect-ratio: 4 / 3;
    border: solid 1px var(--gris-c5);
    border-radius: 4px;
}



/*
THÈMES GALERIE
*/
#themes-design .themes-galerie .grille-card-theme {
    grid-template-columns: repeat(1, 1fr);
}
#themes-design .themes-galerie .grille-card-theme .div-bloc {
    position: relative;
}
#themes-design .themes-galerie .grille-card-theme .div-bloc .div-statut {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 8px;
    text-transform: uppercase;
    color: white;
    z-index: 1;
    border-radius: 999px;
}
#themes-design .themes-galerie .grille-card-theme .div-bloc .div-statut.statut-nouveau {
    background-color: var(--rouge);
}
#themes-design .themes-galerie .grille-card-theme .div-bloc .div-statut.statut-mis-a-jour {
    background-color: var(--orange);
}
#themes-design .themes-galerie .grille-card-theme .div-bloc .div-cadre {
    aspect-ratio: 4 / 3;
    border-bottom: solid 1px var(--gris-c5);
    border-radius: 10px 10px 0 0;
}
#themes-design .themes-galerie .grille-card-theme .div-bloc .div-texte {
    padding: 0 15px 15px;
}






.sidebar-design-menu {
    width: 100%;
    max-width: 230px;
}
.sidebar-design-menu .sidebar-nav {
    background-color: #F4F4F4;
    padding-bottom: 100px;
}
.sidebar-design-menu .sidebar-header {
    background-color: #EDEDED;
    color: var(--violet);
    font-size: 16px;
    font-weight: 500;
    padding-top: 10px;
    padding-bottom: 10px;
}
.sidebar-design-menu .sidebar-header:not(:first-of-type) {
    margin-top: 25px;
}
.sidebar-design-menu .sidebar-link {
    border-radius: 0;
    color: #000000;
    font-size: 14px;
    margin: 0;
    padding: .375rem 1.5rem;
}
.sidebar-design-menu .sidebar-link.active {
    background-color: #D5D3E0;
}
.sidebar-design-menu .sidebar-link:before {
    content:'-';
    display: inline-block;
    padding-right: 5px;
}

.sidebar-design-menu .sidebar-item .sidebar-item {
    content:'-';
    display: inline-block;
    padding-left: 0px;
    padding-right: 0px;
    width: 100%;
}
.sidebar-design-menu .sidebar-item .sidebar-item a {
    padding-left: 0px;
    padding-right: 0px;
}

/*
-------------------------------------------------
-------------- PAGE                --------------
-------------- ACCUEIL DU DESIGN   --------------
-------------------------------------------------
*/

#accueil-design .colonne-edition .sidebar-design-menu {
    height: 100%;
}
#accueil-design .colonne-frame {
    overflow: auto;
    height: 100vh;
}


/*
-------------------------------------------------
-------------- PAGE                --------------
-------------- GESTION DU DESIGN   --------------
-------------------------------------------------
*/

.div-zone-clic{
    cursor: pointer;
}

.gestion-design .fond-aide {
    margin-bottom: 8px;
}

.gestion-design .fond-aide h5, .gestion-design .fond-aide p {
    color: var(--bleu);
}


.gestion-design .colonne-edition {
    width: 580px;
    overflow-y: hidden;
}

.gestion-design .colonne-edition .sidebar-design-menu,
.gestion-design .colonne-edition .sidebar-design-editeur {
    overflow-y: auto;
    height: calc(100vh - 68px);
}
.gestion-design .colonne-edition .sidebar-design-editeur {
    width: 100%;
    padding-bottom: 250px;
}



.gestion-design .colonne-edition .div-slider-templates #templateslist {
    background-color: var(--gris-c5);
    color: var(--violet);
}
.gestion-design .colonne-edition .div-slider-templates #templateslist > div:nth-child(2) {
    background-color: var(--gris-c6);
}
.gestion-design .colonne-edition .div-slider-templates #templateslist .btn {
    height: 100%;
    color: var(--violet);
    border-radius: 0;
    border: none;
}
.gestion-design .colonne-edition .div-slider-templates #templateslist > div:nth-child(1) .chevron {
    transform: rotate(135deg);
}



.gestion-design .colonne-edition .card.card-variante-section {
    margin-bottom: 2px;
}
.gestion-design .colonne-edition .card.card-variante-section > .card-header {
    display: flex;
    border-radius: 0;
    padding: 0;
    height: 58px;
    background-color: var(--gris-c6);
    cursor: pointer;
}
.gestion-design .colonne-edition .card.card-variante-section > .card-header.div-zone-clic {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0 16px;
    overflow: hidden;
    position: sticky;
    top: 0px;
    z-index: 5;
}
.gestion-design .colonne-edition .card.card-param-design > .card-header .div-zone-clic img {
    width: 30px;
}
.gestion-design .colonne-edition .card.card-variante-section > .card-header .div-zone-clic .div-titre {
    flex: 1;
    overflow: hidden;
}
.gestion-design .colonne-edition .card.card-variante-section > .card-header .div-zone-clic .div-titre h2 {
    color: var(--violet);
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.gestion-design .colonne-edition [data-toggle="collapse"]:not(.collapsed) .chevron {
    transform: rotate(45deg);
}

@media (min-width: 1px) and (max-width: 991.98px) {
    .sidebar {
        margin-left: 0;
    }
}

.gestion-design .colonne-edition .card-variante-section .card.card-param-design {
    background-color: var(--gris-c6);
}
.gestion-design .colonne-edition .card-variante-section .card.card-param-design .card-header {
    background-color: var(--gris-c5);
    border-radius: 0;
}






.gestion-design .colonne-edition .card.card-variante-section{
    margin-bottom: 2px;
}

.gestion-design .colonne-edition .card.card-variante-section > .card-header{
    background-color: var(--gris-c6);
}

.gestion-design .colonne-edition .card.card-variante-section > .card-header .nom-variante-section{
    flex: 1;
    color: var(--violet);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
}


.gestion-design .colonne-edition .card-element{
    border-radius: 8px;
    /*overflow: hidden;*/
    margin-bottom: 8px;
}

.gestion-design .colonne-edition .card-element .card-header{
    background-color: var(--gris-c5);
}

.gestion-design .colonne-edition .card-element .card-header .nom-element{
    flex: 1;
    color: var(--violet);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
}

.gestion-design .colonne-edition .card.card-element > .card-body{
    background-color: var(--gris-c6);
    padding: 15px 10px;
}

.gestion-design .colonne-edition .card-element .card-body .option-design{
    padding-bottom: 10px;
}

.gestion-design .colonne-edition .card-element .card-body .option-design:not(:first-child){
    padding-top: 10px;
    border-top: solid 1px var(--gris-c4)
}

.gestion-design .colonne-edition .card-element .card-body .option-design .option-design-designation{
    font-weight: 600;
    color: var(--violet);
    display: block;
    font-size: 1em;
    margin-bottom: 0.5em;
}

.gestion-design .colonne-edition .card-element .card-body .option-design label{
    font-weight: 500;
    color: var(--gris);
    font-size: 13px;
    margin-bottom: 4px;
}
.gestion-design .colonne-edition .card-element .card-body .option-design label:not(:first-of-type){
    margin-top: 15px;
}

.gestion-design .colonne-edition .card-element .card-body .option-design select{
    margin-top: 0;
}





.gestion-design .colonne-edition .design-bordure .bordures-bloc-options {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.gestion-design .colonne-edition .design-bordure .bordures-bloc-options .bordures-icone svg {
    width: 30px;
}
.gestion-design .colonne-edition .design-bordure .bordures-bloc-options .bordures-icone svg .st0 {
    fill: var(--violet);
}
.gestion-design .colonne-edition .design-bordure .bordures-bloc-options .bordures-icone svg .st1 {
    fill: var(--gris-c3);
}
.gestion-design .colonne-edition .design-bordure .bordures-bloc-options .bordures-options {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.gestion-design .colonne-edition .design-bordure .bordures-bloc-options .bordures-options input,
.gestion-design .colonne-edition .design-bordure .bordures-bloc-options .bordures-options select {
    margin: 0;
}
.gestion-design .colonne-edition .design-bordure .bordures-bloc-options .bordures-options label {
    margin-bottom: 4px;
}



.gestion-design .colonne-edition .workzone{
    padding: 1.25rem;
}

.gestion-design .colonne-edition .card-element{
    border-radius: 8px;
    /*overflow: hidden;*/
}

.gestion-design .colonne-edition .card-element .card-header{
    background-color: var(--gris-c5);
    display: flex;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.gestion-design .colonne-edition .card-element .card-header.collapsed{
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.gestion-design .colonne-edition .card-element .card-header .nom-element{
    flex: 1;
    color: var(--violet);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
}

.gestion-design .colonne-edition .card.card-element > .card-body{
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}


/*
------------------------------------
-------------- MODALE --------------
------------------------------------
*/
#templateModal .modal-body .div-grille {
    display: grid;
    grid-gap: 10px;
    max-width: 500px;
    margin: auto;
}
#templateModal .modal-body .div-grille.grille-2-colonnes {
    grid-template-columns: repeat(2, 1fr);
}
#templateModal .modal-body .div-grille.grille-3-colonnes {
    grid-template-columns: repeat(3, 1fr);
}
#templateModal .modal-body .div-grille .div-template {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background-color: var(--gris-c7);
    border: solid 1px var(--gris-c5);
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
}
#templateModal .modal-body .div-grille .div-template.selection {
    background-color: var(--bleu-c6);
    border-color: var(--bleu);
    outline: solid 1px var(--bleu);
    box-shadow: 0 0 0 4px rgb(79 188 191 / 50%);
}
#templateModal .modal-body .div-grille .div-template .div-statut {
    position: absolute;
    top: 4px;
    right: 4px;
    padding: 2px 8px;
    font-size: 12px;
    text-transform: uppercase;
    color: white;
    z-index: 1;
    border-radius: 999px;
}

#templateModal .modal-body .div-grille .div-template .div-statut.statut-nouveau {
    background-color: var(--rouge);
}
#templateModal .modal-body .div-grille .div-template p {
    font-size: 0.8em;
    font-weight: 500;
    color: var(--gris);
    text-transform: uppercase;
    margin: 0;
}
#templateModal .modal-body .div-grille .div-template.selection p {
    color: var(--bleu);
}







/*
---------------------------------------
-------------- OFFCANVAS --------------
---------------------------------------
*/
.offcanvas {
    display: none;
    overflow-y: auto;
    position: fixed;
    top: 0;
    left: 230px;
    width: 100%;
    max-width: 350px;
    height: 100%;
    min-height: 100vh;
    z-index: 1000;
    margin-left: 102px;
}
.offcanvas .offcanvas-body {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    width: 100%;
}

/* Header */
.offcanvas .offcanvas-body .offcanvas-header {
    background-color: var(--gris-c6);
    max-width: 100%;
    position: sticky;
    top: 0;
    z-index: 3;
}
.offcanvas .offcanvas-body .offcanvas-header .div-entete {
    background-color: var(--violet-c2) !important;
}
.offcanvas .offcanvas-body .offcanvas-header .div-entete .bouton-retour {
    background-color: var(--violet-c3) !important;
    border-color: var(--violet-c3) !important;
}
.offcanvas .offcanvas-body .offcanvas-header .div-entete .bouton-retour:hover {
    background-color: var(--violet-c4) !important;
    border-color: var(--violet-c4) !important;
}
.offcanvas .offcanvas-body .offcanvas-header .div-entete .bouton-retour:active {
    background-color: var(--violet) !important;
    border-color: var(--violet) !important;
}
.offcanvas .offcanvas-body .offcanvas-header .div-entete .bouton-retour svg {
    fill: var(--violet-c6) !important;
}

.offcanvas .offcanvas-body .offcanvas-header .div-nav {
    padding: 0 10px;
    border-bottom: solid 1px var(--gris-c4);
}
.offcanvas .offcanvas-body .offcanvas-header .div-nav .nav-tabs {
    text-transform: uppercase;
    border: none;
}
.offcanvas .offcanvas-body .offcanvas-header .div-nav .nav-tabs .nav-item {
    text-align: center;
    flex: 1;
}
.offcanvas .offcanvas-body .offcanvas-header .div-nav .nav-tabs .nav-link {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gris-c4);
    font-weight: 500;
    padding: 8px 16px;
    transition: all 0.2s ease-in-out;
    border: none;
    border-bottom: 2px solid transparent;
}
.offcanvas .offcanvas-body .offcanvas-header .div-nav .nav-tabs .nav-link:hover {
    color: var(--gris-c1);
}
.offcanvas .offcanvas-body .offcanvas-header .div-nav .nav-tabs .nav-link.active {
    color: var(--bleu);
    background: none;
    border-bottom-color: var(--bleu);
}

/*.offcanvas .offcanvas-body .offcanvas-header .div-filtres {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 8px;
    border-bottom: solid 1px var(--gris-c4);
    padding: 10px;
    padding-bottom: 15px;
}*/

.offcanvas .offcanvas-body .offcanvas-main {
    background-color: var(--blanc);
    flex: 1;
    padding-bottom: 100px;
}


@keyframes offcanvasOuverture {
    0% {
        transform: translateX(-150%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes offcanvasFermeture {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-150%);
    }
}







#offcanvas-previewtheme {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 101;
    margin-left: 0;
    max-width: none;
}
#offcanvas-previewtheme .offcanvas-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}
#offcanvas-previewtheme .offcanvas-body .offcanvas-header {
    background-color: var(--gris-c6);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 100%;
}

#offcanvas-previewtheme .offcanvas-body .offcanvas-header .div-boutons {
    display: flex;
}
#offcanvas-previewtheme .offcanvas-body .offcanvas-header .btn {
    border: none;
}
#offcanvas-previewtheme .offcanvas-body .offcanvas-header .bouton-block {
    background: none;
    border-radius: 0;
    border-right: solid 1px var(--gris-c5);
    width: 75px;
    padding: 20px;
}
#offcanvas-previewtheme .offcanvas-body .offcanvas-header .bouton-block.fermerApercu {
    border-right: none;
    border-left: solid 1px var(--gris-c5);
}
#offcanvas-previewtheme .offcanvas-body .offcanvas-header .bouton-block svg {
    width: 30px;
    fill: var(--gris-c1);
}
#offcanvas-previewtheme .offcanvas-body .offcanvas-header .bouton-block:hover {
    background-color: var(--gris-c5);
    border-color: transparent;
}
#offcanvas-previewtheme .offcanvas-body .offcanvas-header .bouton-block:active {
    background-color: var(--violet);
    border-color: transparent;
    box-shadow: none;
}
#offcanvas-previewtheme .offcanvas-body .offcanvas-header .bouton-block:active svg {
    fill: white;
}
#offcanvas-previewtheme .offcanvas-body .offcanvas-header .bouton-block.fermerApercu:active {
    background-color: var(--rouge);
}
#offcanvas-previewtheme .offcanvas-body .offcanvas-header .div-contenu {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-top: solid 1px var(--gris-c5);
    border-bottom: solid 1px var(--gris-c5);
    padding: 10px 20px;
}
#offcanvas-previewtheme .offcanvas-body .offcanvas-header .div-contenu .div-nom {
    flex: 1;
    max-width: 100%;
    overflow: hidden;
}
#offcanvas-previewtheme .offcanvas-body .offcanvas-header .div-contenu .div-nom h3 {
    color: var(--gris-c1);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#offcanvas-previewtheme .offcanvas-body .offcanvas-header .div-contenu .div-parametres {
    display: none;
}
#offcanvas-previewtheme .offcanvas-body .offcanvas-header .div-contenu .div-parametres .choix-support {
    display: flex;
    align-items: center;
    gap: 4px;
}
#offcanvas-previewtheme .offcanvas-body .offcanvas-header .div-contenu .div-bouton button {
    white-space: nowrap;
}

#offcanvas-previewtheme .offcanvas-body .offcanvas-main {
    background-color: var(--gris-c3);
    background-image: url('../../assets/images/app/design/fond/fond.jpg');
    background-size: 12px;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
#offcanvas-previewtheme .offcanvas-body .offcanvas-main iframe {
    border: none;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    transition: all 0.2s ease-in-out;
}



@keyframes offcanvasOuvertureY {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes offcanvasFermetureY {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100%);
    }
}






@media (min-width: 425px) {
    #themes-design .themes-personnels .grille-card-theme,
    #themes-design .themes-galerie .grille-card-theme {
        grid-template-columns: repeat(2, 1fr);
    }


    #themes-design .theme-actif {
        padding: 0 30px;
    }
    #themes-design .theme-actif .div-texte h2 {
        font-size: 36px;
    }


    #offcanvas-previewtheme .offcanvas-body .offcanvas-header .div-contenu {
        flex-direction: row;
    }
}
@media (min-width: 576px) {
    #themes-design .theme-actif {
        padding: 0 50px;
    }
    #themes-design .theme-actif .div-texte h2 {
        font-size: 42px;
    }
}
@media (min-width: 768px) {
    #themes-design .themes-personnels .grille-card-theme,
    #themes-design .themes-galerie .grille-card-theme {
        grid-template-columns: repeat(3, 1fr);
    }


    #themes-design .theme-actif {
        padding: 0 75px;
    }
    #themes-design .theme-actif .div-texte h2 {
        font-size: 48px;
    }
    #themes-design .theme-actif .div-texte .btn {
        font-size: 20px;
        border-radius: 6px;
        padding: 8px 16px;
    }


    #offcanvas-previewtheme .offcanvas-body .offcanvas-header .div-contenu button {
        padding: 9px 18px;
        font-size: 17px;
    }
    #offcanvas-previewtheme .offcanvas-body .offcanvas-header .div-contenu .div-parametres {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    #offcanvas-previewtheme .offcanvas-body .offcanvas-header .div-contenu .div-bouton {
        display: flex;
        justify-content: end;
        flex: 1;
    }
}
@media (min-width: 992px) {
    #offcanvas-previewtheme .offcanvas-body .offcanvas-header {
        flex-wrap: nowrap;
    }
    #offcanvas-previewtheme .offcanvas-body .offcanvas-header .bouton-block {
        border-bottom: solid 1px var(--gris-c5);
    }
    #offcanvas-previewtheme .offcanvas-body .offcanvas-header .bouton-block.fermerApercu {
        order: 1;
    }
    #offcanvas-previewtheme .offcanvas-body .offcanvas-header .div-contenu {
        width: calc(100% - 225px);
        border-top: none;
    }
}
@media (min-width: 1200px) {
    #themes-design .themes-personnels .grille-card-theme,
    #themes-design .themes-galerie .grille-card-theme {
        grid-template-columns: repeat(4, 1fr);
    }


    #themes-design .theme-actif {
        flex-direction: row;
        border-radius: 30px;
        padding: 0 100px;
        min-height: 540px;
        gap: 48px;
    }
    #themes-design .theme-actif .div-texte {
        flex: 4;
    }
    #themes-design .theme-actif .div-texte > div {
        padding: 48px 0;
    }
    #themes-design .theme-actif .div-texte h2 {
        font-size: 64px;
    }
    #themes-design .theme-actif .div-texte .btn {
        font-size: 24px;
        border-radius: 8px;
        padding: 10px 20px;
    }
    #themes-design .theme-actif .div-texte .btn.btn-primary:active {
        box-shadow: 0 0 0 4px rgba(34, 101, 103, 0.5) !important;
    }
    #themes-design .theme-actif .div-texte .btn.btn-blanc:active {
        box-shadow: 0 0 0 4px rgba(57, 54, 62, 0.5) !important;
    }
    #themes-design .theme-actif .div-texte .btn svg {
        width: 24px;
    }
    #themes-design .theme-actif .div-cadre {
        aspect-ratio: 16 / 9;
        flex: 3;
    }
    #themes-design .theme-actif .div-cadre .div-image {
        padding: 48px 0;
    }
}
@media (min-width: 1400px) {
    #themes-design .themes-galerie .grille-card-theme {
        grid-template-columns: repeat(5, 1fr);
    }


    #themes-design .theme-actif .div-texte h2 {
        font-size: 72px;
    }
}









#col-editor {
    background-color: white;
    padding: 0;
}
#col-editor h1, #col-editor h2, #col-editor h3, #col-editor h4{
    margin-bottom: 0;
}
#col-editor #action-row{
    padding: 10px 0px 10px 10px;
}
#col-editor h2 .btn-link {
    font-weight: 500;
    color: #3D3069;
}
/*#col-editor .card{
    box-shadow: none;
    margin-bottom: 0;
    border-radius: 0;
}
#col-editor .accordion .card-body{
    border: none;
}

#col-editor .card .card-nav {
    text-transform: uppercase;
    margin-bottom: 8px;
}
#col-editor .card .card-nav .nav-tabs{
    border: none;
}
#col-editor .card .card-nav .nav-tabs .nav-link {
    color: #C1C1C1;
    border: white;
    border-bottom: 2px solid #f4f4f4;
    font-weight: 500;
    padding: 10px 16px;
    transition: all 0.2s ease-in-out;
}
#col-editor .card .card-nav .nav-tabs .nav-link:hover {
    color: #606060;
    border-bottom: 2px solid #606060;
}
#col-editor .card .card-nav .nav-tabs .nav-link.active {
    color: #4FBCBF;
    background: none;
    border: none;
    border-bottom: 2px solid #4FBCBF;
}
#col-editor .card .card-body .declinaison{
    padding: 20px;
}
#col-editor .card .card-body .declinaison:not(:last-of-type){
    border-bottom: 1px solid #EDEDED;
    padding: 20px;
}
#col-editor .card .card-body h4{
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 20px;
}
#col-editor .nav-tabs .nav-item {
    text-align: center;
    width: 50%;
}
#col-editor .tab-content {
    margin-top: 15px;
}
#col-editor .card .card .card-header h2 .btn-link{
    color: #000000;
    font-weight: 400;
}
#col-editor .cadre-blanc{
    padding: 10px;
}
#col-editor #select-mise-forme div {
    background-color: red;
    border: none;
    text-align: left;
    padding: 0px;
    cursor: pointer;
}
#col-editor #select-mise-forme div>#select-mise-forme-label {
    padding: 12px 20px;
    background-color: white;
    color: #3D3069;
    border: solid 1px #3D3069;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
    transition: 0.3s ease-in-out;
}
#col-editor #select-mise-forme div>span:nth-child(2) {
    background-color: #3D3069;
    color: white;
    padding: 0 15px;
    transition: 0.3s ease-in-out;
}
#col-editor #select-mise-forme .chevron {
    color: var(--blanc);
    position: static;
    transform: translate(0px, -2px) rotate(45deg);
}
#col-editor #select-mise-forme div:hover > #select-mise-forme-label {
    background-color: #F4F4F4;
}
#col-editor #select-mise-forme div:hover > span:nth-child(2) {
    background-color: #5A507C;
}

[draggable] {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    -khtml-user-drag: element;
    -webkit-user-drag: element;
}
.sortable .card .fas:hover {
    cursor: move;
}
.card.editor h2 {
    display: inline;
    margin-left: 10px;
}
#col-frame {
    border: none;
    padding-left: 0;
}
#preview {
    border: 0;
    border-left: 1px solid silver;
}
.nomitem {
    text-overflow: ellipsis;
    overflow: hidden;
}
#editeur .input-group input {
    margin-top: 0;
}
#galerie .imgGalerie.selection {
    border: 2px solid #4FBCBF;
}*/





#col-editor #select-mise-forme div>#select-mise-forme-label {
    padding: 12px 20px;
    background-color: white;
    color: #3D3069;
    border: solid 1px #3D3069;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
    transition: 0.3s ease-in-out;
}
#col-editor #select-mise-forme div>span:nth-child(2) {
    background-color: #3D3069;
    color: white;
    padding: 0 15px;
    transition: 0.3s ease-in-out;
}
#col-editor #select-mise-forme .chevron {
    color: var(--blanc);
    position: static;
    transform: translate(0px, -2px) rotate(45deg);
}
#col-editor #select-mise-forme div:hover > #select-mise-forme-label {
    background-color: #F4F4F4;
}
#col-editor #select-mise-forme div:hover > span:nth-child(2) {
    background-color: #5A507C;
}


#previewfonts{
    background-color: var(--gris-c6);
}



.div-select-preview-canva{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.div-select-preview-canva .paragraphe-input{
    min-width: min(200px, 100%);
    flex: 1;
}

.preview-font{
    background-color: var(--gris-c7);
    border: solid 1px var(--gris-c5);
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    margin-bottom: 10px;
    overflow: hidden;
}

.preview-font .infos-font{
    color: var(--gris-c2);
    font-size: 12px;
    font-weight: 500;
}

.preview-font h3{
    color: var(--gris);
    font-size: 24px;
    font-weight: 400;
}



.preview-font.selection{
    background-color: var(--bleu-c6);
    border-color: var(--bleu);
    outline: solid 1px var(--bleu);
    box-shadow: 0 0 0 4px var(--bleu-50p);
    color: var(--bleu);
}
.preview-font.selection .infos-font, .preview-font.selection h3{
    color: var(--bleu);
}



.btn-clear {
    all: unset;
    position: absolute;
    top: 50%;
    right: 0.75rem; /* aligné avec padding input */
    transform: translateY(-50%);
    font-size: 1.2rem;
    line-height: 1;
    color: #888;
    cursor: pointer;
z-index: 10; /* pour passer devant l'input */
    padding: 0 0.25rem;
    background: transparent;
    border: none;
}

.btn-clear:hover {
    color: #000;
}


.offcanvas-fonts .filtres{
    background-color: var(--gris-c6);
    position: sticky;
    top: 68px;
    z-index: 5;
}



/*
-------------------------------------------------
-------------- PAGE                --------------
-------------- ACCUEIL DU DESIGN   --------------
-------------- (refonte 2025)      --------------
-------------------------------------------------
*/

/* Correction du bug de scroll dans #col-editor */
#accueil-design #col-editor {
    height: calc(100vh - 57px);
    overflow-y: auto;
}

/* Contenu principal de la page d'accueil */
#accueil-design .accueil-design-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 32px 64px;
}

/* Hero - Proposition de valeur */
#accueil-design .accueil-design-hero {
    text-align: center;
    margin-bottom: 48px;
}

#accueil-design .hero-icone {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--violet), var(--bleu));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#accueil-design .hero-icone svg {
    width: 32px;
    height: 32px;
    color: white;
}

#accueil-design .accueil-design-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--violet);
    margin-bottom: 16px;
}

#accueil-design .hero-accroche {
    font-size: 1.125rem;
    color: var(--gris-f1);
    margin-bottom: 24px;
    line-height: 1.6;
}

#accueil-design .hero-benefices {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

#accueil-design .benefice {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--vert);
    font-weight: 500;
}

#accueil-design .benefice-icone {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#accueil-design .benefice-icone svg {
    width: 18px;
    height: 18px;
}

/* Grille des fonctionnalités */
#accueil-design .accueil-design-fonctionnalites {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

#accueil-design .fonctionnalite {
    background: var(--gris-c7);
    border: 1px solid var(--gris-c5);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

#accueil-design .fonctionnalite-icone {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: var(--violet-c6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#accueil-design .fonctionnalite-icone svg {
    width: 24px;
    height: 24px;
    color: var(--violet);
}

#accueil-design .fonctionnalite h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--violet);
    margin-bottom: 8px;
}

#accueil-design .fonctionnalite p {
    font-size: 0.875rem;
    color: var(--gris-f1);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Section aide */
#accueil-design .accueil-design-aide {
    text-align: center;
}

#accueil-design .btn-aide-charte {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--blanc);
    border: 2px solid var(--violet);
    color: var(--violet);
    border-radius: 8px;
    font-weight: 500;
    margin-bottom: 32px;
    transition: all 0.2s ease;
}

#accueil-design .btn-aide-charte:hover {
    background: var(--violet);
    color: white;
}

#accueil-design .btn-aide-charte svg {
    width: 20px;
    height: 20px;
}

#accueil-design .aide-tutoriels {
    background: var(--gris-c7);
    border-radius: 12px;
    padding: 24px;
}

#accueil-design .aide-tutoriels h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gris-f1);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#accueil-design .tutoriels-liste {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#accueil-design .tutoriel-lien {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--blanc);
    border: 1px solid var(--gris-c5);
    border-radius: 8px;
    color: var(--gris);
    text-decoration: none;
    transition: all 0.2s ease;
}

#accueil-design .tutoriel-lien:hover {
    border-color: var(--violet);
    color: var(--violet);
    text-decoration: none;
}

#accueil-design .tutoriel-lien svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    #accueil-design .accueil-design-content {
        padding: 32px 16px 48px;
    }

    #accueil-design .hero-benefices {
        flex-direction: column;
        gap: 12px;
    }

    #accueil-design .accueil-design-fonctionnalites {
        grid-template-columns: 1fr;
    }
}

