﻿/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}
.changtail {
    font-size: 52px;
    color: #d01111;
    line-height: 100%;
    text-shadow: 8px 8px 8px #777;
    padding-left: 50px;
    padding-bottom: 20px;
    margin-left: -20px;
}
/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .body-content {
        padding: 0;
    }
}

*, ::before, ::after {
    box-sizing: inherit;
}

.inner-border {
    border: 1px solid var(--newtab-border-color);
    border-radius: 3px;
    height: 100%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100;
}

#root {
    position: relative;
    min-height: 100vh;
}

.outer-wrapper {
    color: rgba(21,20,26,1);
    display: flex;
    flex-grow: 1;
    min-height: 100vh;
    padding: 30px 32px 32px;
}

@media (min-width: 610px) {
    .outer-wrapper.ds-outer-wrapper-breakpoint-override {
        padding: 30px 32px 32px;
    }
}

.outer-wrapper.ds-outer-wrapper-breakpoint-override {
    padding: 30px 0 32px;
}


main section {
    position: relative;
}

.collapsible {
    padding: 10px 10px;
}

    .collapsible.ds-layout {
        margin: auto;
    }

.discovery-stream.ds-layout {
    --gridColumnGap: 48px;
    --gridRowGap: 24px;
    grid-template-columns: repeat(12, 1fr);
    grid-column-gap: var(--gridColumnGap);
    grid-row-gap: var(--gridRowGap);
    margin: 0 auto;
}

    .discovery-stream.ds-layout .ds-column-grid {
        display: grid;
        grid-row-gap: 24px;
    }

.ds-column-grid {
    display: grid;
    grid-row-gap: 24px;
}
/* le nombre de colonnes de la grille dépend de la taille de l'écran */
@media(min-with:400px) {
     .ds-column-12 .ds-card-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (min-width: 800px) {
     .ds-column-12 .ds-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
     .ds-column-12 .ds-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/*fggg 866  610 400*/

.cleart {
    clear: both;
}




.ds-card {
    display: flex;
    flex-direction: column;
    position: relative;
}



.ds-card-grid {
    display: grid;
    grid-gap: 24px;
    pointer-events:visible;
}
/*le lien qui a un parent ds-card*/
.ds-card .ds-card-link {
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.adapt {
    display: block;
    max-width: 100%;
    height: auto;
}

.ds-card-grid .ds-card:not(.placeholder) {
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.ds-card-grid .ds-card {
    background: #FFF;
    border-radius: 4px;
}

.ds-card .img-wrapper {
    width: 100%;
    position: relative;
}

.ds-image.loaded {
    opacity: 1;
}

.ds-image.use-transition {
    transition: opacity 0.8s;
}

/*.ds-card .img {
    height: 0;
    padding-top: 50%;
}*/

.ds-image {
    display: block;
    position: relative;
    opacity: 0;
}

.ds-card .meta {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    flex-grow: 1;
}

    .ds-card .meta .info-wrap {
        flex-grow: 1;
    }

.outer-wrapper a {
    color: #0061e0;
}

.ds-card .meta .source {
    -webkit-line-clamp: 1;
    margin-bottom: 2px;
    font-size: 13px;
    color: var(--newtab-text-secondary-color);
}

:root {
    --newtab-text-primary-color: rgba(21, 20, 26, 1);
    --newtab-text-secondary-color: color-mix(in srgb, var(--newtab-text-primary-color) 70%, transparent);
}

.ds-card p {
    font-size: 14px;
    line-height: 20px;
    color: var(--newtab-text-primary-color);
    margin: 0;
}

.clamp {
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    word-break: break-word;
}

.ds-card .meta .excerpt {
    font-size: 14px;
    -webkit-line-clamp: 3;
    line-height: 20px;
}

@media (min-width: 400px) {
    .ds-outer-wrapper-breakpoint-override main {
        width: 280px;
    }
}

/*@media (min-width: 610px) {
    .ds-outer-wrapper-breakpoint-override main {
        width: 580px;
    }
}*/

@media (min-width: 800px) {
    .ds-outer-wrapper-breakpoint-override main {
        width: 500px;
    }
}

@media (min-width: 1100px) {
    .ds-outer-wrapper-breakpoint-override main {
        width: 900px;
    }
}

.ds-outer-wrapper-search-alignment main {
    margin: 0 auto;
}

picture img {
    object-fit: contain;
}

.ds-card-grid .ds-card:not(.placeholder) .img-wrapper .img img {
    border-radius: 8px 8px 0 0;
}

.lien {
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    text-align:center;
}

    .lien p {
        position: relative;
        margin: 0 auto;
        max-width: 100%;
    }

    .lien img {
        padding-top: 7em;
        max-width:100%;
    }



