.consent-cookie {
    position: fixed;
    bottom: 1em;
    left: 50%;
    transform: translate(-50%, 200%);
    background: rgb(247, 247, 247);
    z-index: 999;
    padding: 1em 5em;
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.18);
    transition-duration: 800ms;
    opacity: 0;
}

.consent-cookie.active {
    transform: translateX(-50%);
    opacity: 1;
}

.consent-cookie h2 {
    margin-bottom: 0;
}

.consent-cookie button {
    float: right;
    margin: 1em;
    padding: 0.2em 2em;
    border: 0;
    background: #007bb1;
    color: #fff;
}

.consent-cookie button.refus {
    background: rgba(0, 123, 177, 0.54);
}

#add {
    width: auto;
    display:flex;
    gap:30px;
    text-align: center;
    position: fixed;
    left: 10px;
    z-index: 999;
    bottom: 15px;
    height: 80px;
}

#position-block {
    align-content: center;
    display: flex;
    flex-wrap: wrap;
    margin-right: 20px;
    cursor: pointer;
}

#position-block i {
    font-size: 20px;
}

span.deleteBlock {
    color: red;
    text-decoration: none;
    transform: rotate(45deg);
    font-size: 25px;
    position: absolute;
    right: 15px;
    cursor: pointer;
    z-index: 999;
}

#add .addblock {
    background-image: linear-gradient(195deg, #e6007e 0%, #c0066c 100%);
    width: 50px;
    display: flex;
    margin: auto;
    border-radius: 337px;
    font-size: 30px;
    color: white;
    justify-content: center;
    margin-top: 20px;
    cursor: pointer;
}

.display-popup {
    display: none; /* Le conteneur est initialement masqué */
    position: fixed; /* Position fixe par rapport à la fenêtre du navigateur */
    top: 0; /* Position en haut */
    left: 0; /* Position à gauche */
    width: 100%; /* Largeur totale */
    height: 100%; /* Hauteur totale */
    background-color: rgba(0, 0, 0, 0.7); /* Fond noir semi-transparent */
    z-index: 1000; /* Z-index pour s'assurer que le popup est au-dessus des autres éléments */
    overflow: auto; /* Défilement si nécessaire */
}

.display-popup > .listing-block {
    position: fixed; /* Position fixe par rapport à la fenêtre du navigateur */
    top: 50%;
    display: flex;
    justify-content: space-around;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    min-width: 50%;
    min-height: 50%;
    overflow-y: auto;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.block-item {
    background: green;
    width: 150px;
    color: white;
    height: 50px;
    text-align: center;
    padding-top: 20px;
    cursor: pointer;
    margin-left: 15px;
}

.display-popup.show-popup {
    display: flex; /* Affiche le conteneur en tant que flexbox */
    justify-content: center; /* Centre le contenu horizontalement */
    align-items: center; /* Centre le contenu verticalement */
}

.image-intro {
    position: absolute;
    margin: 0px;
    padding: 0px;
    border: none;
    width: 1481px;
    height: 988.321px;
    max-height: none;
    max-width: none;
    z-index: -999999;
    left: 0px;
    top: -154.16px;
}


.popup-overlay {
    z-index: 15;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.popup-content {
    z-index: 15;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.tox .tox-menu {
    z-index: 16 !important;
}

.save-button {
    border: none;
    display: block;
    position: relative;
    padding: 0.7em 2.4em;
    margin: auto;
    margin-top: 20px;
    font-size: 13px;
    background: transparent;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    color: royalblue;
    z-index: 1;
    font-family: inherit;
    font-weight: 500;
}

.save-button span {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
    border: 4px solid royalblue;
}

.save-button span::before {
    content: "";
    display: block;
    position: absolute;
    width: 8%;
    height: 500%;
    background: var(--lightgray);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-60deg);
    transition: all 0.3s;
}

.save-button:hover span::before {
    transform: translate(-50%, -50%) rotate(-90deg);
    width: 100%;
    background: royalblue;
}

.save-button:hover {
    color: white;
}

.save-button:active span::before {
    background: #2751cd;
}

.admin .editable-content {
    border: 2px dotted green;
    padding: 10px;
}
