.bodyindex {
    /* Theme clair */

    background-size: contain;
    background-repeat: repeat-y;
    background-position: top 0 center;
}

@media screen and (max-width: 1120px) {
    .bodyindex {

        background-image: url("/img/accueil/tourisme-france-fond-clair-800.webp");
    }

    .bodyindex.halloween {

        background-image: url("/img/accueil/tourisme-france-fond-halloween-full.webp");
    }
}

@media screen and (min-width: 1121px) {
    .bodyindex {
        background-image: url("/img/accueil/tourisme-france-fond-clair-full.webp");
    }

    .bodyindex.halloween {
        background-image: url("/img/accueil/tourisme-france-fond-halloween-full.webp");
    }
}






@media (prefers-color-scheme: dark) {
    .bodyindex {
        /* Theme sombre */
        background-size: contain;
        background-repeat: repeat-y;
        background-position: top 0 center;
    }

    @media screen and (max-width: 1120px) {
        .bodyindex {
            background-image: url("/img/accueil/tourisme-france-fond-sombre-800.webp");
        }
    }

    @media screen and (min-width: 1121px) {
        .bodyindex {
            background-image: url("/img/accueil/tourisme-france-fond-sombre-full.webp");
        }
    }
}


@media (prefers-color-scheme: dark) {
    .bodyindex.halloween {
        /* Theme sombre */
        background-size: contain;
        background-repeat: repeat-y;
        background-position: top 0 center;
    }

    @media screen and (max-width: 1120px) {
        .bodyindex.halloween {
            background-image: url("/img/accueil/tourisme-france-fond-halloween-full.webp");
        }
    }

    @media screen and (min-width: 1121px) {
        .bodyindex.halloween {
            background-image: url("/img/accueil/tourisme-france-fond-halloween-full.webp");
        }
    }
}



.bandeau_generic_trans
{
    background-color: rgba(var(--bleu_r) , var(--bleu_g), var(--bleu_b), 0.7);
}

footer.footerindex
{
    background-image: url("/img/accueil/bandfooter.webp");
    background-size: contain;
    background-repeat: repeat-x;
    background-position: top 0 center;

}

.zonehaute1
{
    width:35vw;
    height:30vw;
    max-height:20vw;
    position:absolute;
    left:5vw;
    top:15vw;
    background-color: transparent;
}


.zonehaute1 .collection .collection-item {
    background-color: transparent;
    line-height: 1.5rem;
    padding: 10px 20px;
    margin: 0;
    border-bottom: 1px solid white;
  }

.zonehaute2
{
    width:30vw;
    height:25vw;
    position:absolute;
    left:60vw;
    top:15vw;
    background-color: transparent;
}


h2.atf-titre
{
    font-size: 2rem;
    color: var(--bleu);
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
    background-color: var(--bg-color-rgba8);
}

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

h2.atf-titre
{
    font-size: 1.5rem;
}

.zonehaute1
{
    display: none;
}

.zonehaute2
{
    width:60vw;
    height:30vw;
    position:absolute;
    left:20vw;
    top:64px;
    background-color: transparent;
}



}



.zonecaption
{
    width: 100%;
    position: relative;
    z-index:2 ;
    border-radius: 99999px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
    border: 2px solid rgb(187, 181, 181);
    height: 4rem;
    background-color: var(--rouge3);
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(219, 219, 217);
    font-size: large;
    text-align: center
}

.zonebasse
{
    width: 90%;
    z-index:1 ;
    position: relative;
    top:-20px;
    left:5%;
    padding-top: 25px;
    padding-bottom: 5px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 10px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
    border: 2px solid rgb(187, 181, 181);
    background-color: var(--bleu2);
    color: rgb(219, 219, 217);
    font-size: medium;

}

.zonebasse.limite20vw
{
    max-height: 20vw;
}


.zonebasse.limite25vw
{
    max-height: 25vw;
}

.zonebasse.limite30vw
{
    max-height: 30vw;
}


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

.zonebasse
{
    background-color: rgba(0,0,250,0.7);
}


}


.zonedubas
{
    width:100%;
    position:absolute;
    top:80.67vw;
    background-color: var(--bleu3);
    animation: fadein 3s;


}


@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}


.imagecadre
{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(-md-sys-color-background);
}

/* .vignette .imagecadre img
{
    width: 100%;
    height: 100%;
} */

.monlabel
{
    display: block;
    padding: 0.1em 0.2em 0.2em;
    margin: 2px 2px 2px 2px;
    font-size: 75%;
    font-weight: bold;
    line-height: 2rem;
    color: #FFF;
    text-align: center;
    white-space: nowrap;
    border-radius: 0.25em;
    border: 1px solid #333;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.page-footer a {
    color: lightgray;
}


@media screen and (max-width: 500px) {
    .vignette {
        width: 40%;
    }
}

@media screen and (min-width: 501px) and (max-width: 992px) {
    .vignette {
        width: 40%;
    }
}

@media screen and (min-width: 993px) and (max-width: 1200px) {
    .vignette {
        width: 25%;
    }
}

@media screen and (min-width: 1201px) {
    .vignette {
        width: 14%;
    }
}

/* Styles pour les grandes destinations */
.grandes-destinations-scroll {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

.grandes-destinations-scroll::-webkit-scrollbar {
    width: 6px;
}

.grandes-destinations-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.grandes-destinations-scroll::-webkit-scrollbar-thumb {
    background: #1976d2;
    border-radius: 3px;
}

.grandes-destinations-scroll::-webkit-scrollbar-thumb:hover {
    background: #1565c0;
}

.grande-destination-item-row {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s ease;
}

.grande-destination-item-row:hover {
    background-color: #f5f5f5;
}

.grande-destination-item-row:last-child {
    border-bottom: none;
}

.grande-destination-image-container {
    position: relative;
    width: 60px;
    height: 45px;
    margin-right: 12px;
    flex-shrink: 0;
}

.grande-destination-img-small {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.grande-destination-item-row:hover .grande-destination-img-small {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background-color: #4caf50;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.grande-destination-content {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
}

.grande-destination-title-link {
    text-decoration: none;
    flex-grow: 1;
    margin-right: 8px;
    overflow: hidden;
    display: block;
}

.grande-destination-title-link:hover {
    text-decoration: none;
}

.grande-destination-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.grande-destination-title-link:hover .grande-destination-title {
    color: #1976d2;
    text-decoration: underline;
}

/* Support pour le thème sombre */
@media (prefers-color-scheme: dark) {
    .grande-destination-title {
        color: #e0e0e0;
    }

    .grande-destination-title-link:hover .grande-destination-title {
        color: #64b5f6;
    }

    .grande-destination-item-row {
        border-bottom-color: #424242;
    }

    .grande-destination-item-row:hover {
        background-color: #424242;
    }
}

.grande-destination-btn {
    font-size: 0.8rem;
    padding: 0 8px;
    height: 28px;
    line-height: 28px;
    flex-shrink: 0;
}

.grande-destination-btn i {
    font-size: 14px;
    margin-right: 4px;
}

/* Responsive pour les grandes destinations */
@media screen and (max-width: 600px) {
    .grande-destination-image-container {
        width: 50px;
        height: 38px;
        margin-right: 10px;
    }

    .grande-destination-title {
        font-size: 0.85rem;
    }

    .grande-destination-btn {
        font-size: 0.75rem;
        padding: 0 6px;
        height: 26px;
        line-height: 26px;
    }
}




/*
body::before {

    content: '';
    display: block;
    position: absolute;
    top: 85vw;
    left: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-image: url('/img/accueil/motif.png');
    background-repeat: repeat-y;


    _filter: blur(10px);


    opacity: 1;
  }*/

.intro-text {
    width: 90%;
    margin: 40px auto 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.intro-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    margin: 0;
}

.intro-text strong {
    color: #0056b3;
}

@media (max-width: 768px) {
    .intro-text {
        width: 95%;
        margin: 40px auto 20px;
        padding: 15px;
    }

    .intro-text p {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* Styles pour les boutons top 10 */
.top10-buttons {
    margin: 15px 0;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 5px;
}

.top10-buttons h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #0d47a1;
}

.top10-buttons .row {
    margin-bottom: 0;
}

.top10-buttons .col {
    height: 120px;
    margin-bottom: 15px;
}

.btn-top10 {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.btn-top10-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.btn-top10-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-top10-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.btn-top10-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    color: white;
    font-weight: bold;
    text-align: center;
    background-color: rgba(0,0,0,0.5);
    font-size: 1.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media only screen and (max-width: 600px) {
    .top10-buttons .col {
        height: 100px;
    }

    .btn-top10-text {
        font-size: 1rem;
        padding: 8px;
    }
}

/* Suppression des styles redondants */
.btn-block {
    display: none;
}

/* Styles pour les cartes des sites incontournables */
.sites-incontournables .col {
    display: flex;
}

.sites-incontournables .card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.sites-incontournables .card-content {
    flex: 1;
    display: block;
    padding-top: 0;
}

.sites-incontournables .card-title {
    margin-top: 0;
    margin-bottom: 15px;
}

.sites-incontournables .card-content > * {
    vertical-align: top;
}

.sites-incontournables .titrev_bleu1,
.sites-incontournables .titrev_bleu2,
.sites-incontournables .titrev_bleu3,
.sites-incontournables .titrev_rouge1,
.sites-incontournables .titrev_rouge2,
.sites-incontournables .titrev_rouge3 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.sites-incontournables img {
    vertical-align: top;
    margin-top: 0 !important;
    margin-bottom: 10px;
}

/* Style pour le contenu des sites */
.site-content {
    display: block !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.site-content img {
    display: block;
    margin-top: 0 !important;
    margin-bottom: 10px;
}

/* Forcer les images à s'aligner en haut */
.sites-incontournables img {
    vertical-align: top;
    margin-top: 0 !important;
    margin-bottom: 10px;
}

.card .card-action a.nocardbtn
{
    display: inline-flex;
    padding-left: var(--btn-padding);
    padding-right: var(--btn-padding);
}