/*----------------------------------------------------------------------------------------------------------------*/
/* Base container rhythm (copie de home.css / formations.css, non chargée sur cette page) */

@media (min-width : 600px) {
    #container > * {
        padding-left: 60px;
        padding-right: 60px;
    }
}
@media (max-width : 599px) {
    #container > * {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/*----------------------------------------------------------------------------------------------------------------*/
/* Hero — même principe que le hero de la page "Ressources" (titre seul sur fond bordeaux) */

#container > header {
    background-color: #9E2B46;

    text-align: center;
    color: #FFF;
}
#container > header > .title {
    font-family: "Anton";
    text-transform: uppercase;
}
@media (min-width : 600px) {
    #container > header {
        padding-top: 195px;
        padding-bottom: 90px;
    }
    #container > header > .title {
        margin-bottom: 0;

        line-height: 58px;
        font-size: 67px;
    }
}
@media (max-width : 599px) {
    #container > header {
        padding-top: 120px;
        padding-bottom: 65px;
    }
    #container > header > .title {
        margin-bottom: 0;

        line-height: 43px;
        font-size: 50px;
    }
}

/*----------------------------------------------------------------------------------------------------------------*/
/* Base "standard-section" rhythm (copie de frontpage.css, non chargée sur cette page) */

#container > .standard-section {}
#container > .standard-section > header {}
#container > .standard-section > header > .title {
    text-transform: uppercase;
    font-family: "Anton";
    color: #9E2B46;
}
#container > .standard-section > header > .title > span {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #9E2B46;
}
#container > .standard-section > header > .description { line-height: 21px; }

#container > .standard-section > footer { text-align: center; }
#container > .standard-section > footer > .cta-btn {}

@media (min-width : 750px) {
    #container > .standard-section > header:not(:last-child) { margin-bottom: 50px; }
    #container > .standard-section > header > .title {
        line-height: 108px;
        font-size: 96px;
    }
    #container > .standard-section > header > .title:not(:last-child) { margin-bottom: 40px; }
}
@media (max-width : 749px) {
    #container > .standard-section > header:not(:last-child) { margin-bottom: 40px; }
    #container > .standard-section > header > .title {
        line-height: 44px;
        font-size: 50px;
    }
    #container > .standard-section > header > .title:not(:last-child) { margin-bottom: 25px; }
}
@media (min-width : 600px) {
    #container > .standard-section > footer { margin-top: 100px; }
    #container > .standard-section { padding: 120px 60px 90px; }
}
@media (max-width : 599px) {
    #container > .standard-section > footer { margin-top: 60px; }
    #container > .standard-section { padding: 65px 15px 55px; }
}

/*----------------------------------------------------------------------------------------------------------------*/
/* #webinaires-catalogue — même identité visuelle que #catalogue (Formations) / #activities (accueil) */

#webinaires-catalogue {
    background-color: #9E2B46;
    color: #FFF;
}
#webinaires-catalogue.standard-section > header > .title { color: #FFF; }
#webinaires-catalogue.standard-section > header > .title > span { -webkit-text-stroke-color: #FFF; }

#webinaires-catalogue > header > .note {
    max-width: 800px;

    font-size: 17px;
    line-height: 27px;
}
#webinaires-catalogue > header > .note a {
    color: #F9F96E;
    text-decoration: underline;
    transition: color .2s ease-out;
}
#webinaires-catalogue > header > .note a:hover { color: #FFF; }

#webinaires-catalogue > .content > .controls {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
#webinaires-catalogue > .content > .controls > .control-btn {
    position: relative;
    display: block;

    font-family: "Anton";
    color: #BA3B5C; transition: color .2s ease-out;

    cursor: pointer;
}
#webinaires-catalogue > .content > .controls > .control-btn:after {
    content: "";
    position: absolute; bottom: -10px; left: 0; right: 0;
    display: block; height: 1px;

    background-color: #BA3B5C;
    opacity: 0;
    transition:
        background-color .2s ease-out,
        opacity .2s ease-out;
}
#webinaires-catalogue > .content > .controls > .control-btn.active { color: #FFF; }
#webinaires-catalogue > .content > .controls > .control-btn.active:after { background-color: #FFF; }
#webinaires-catalogue > .content > .controls > .control-btn:hover:after,
#webinaires-catalogue > .content > .controls > .control-btn.active:after { opacity: 1; }

#webinaires-catalogue > .content > .list {}
#webinaires-catalogue > .content > .list > div:not(.active) { display: none; }
#webinaires-catalogue > .content > .list > div.active {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
#webinaires-catalogue > .content > .list > div > .webinar {
    position: relative;
    display: block;
    box-sizing: border-box;
    overflow: hidden;

    border: solid 1px #FFF;
    color: #FFF;

    cursor: url("data:image/svg+xml;charset=UTF-8,%3csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='100px' height='100px' viewBox='0 0 100 100' style='enable-background:new 0 0 100 100;' xml:space='preserve'%3e%3cstyle type='text/css'%3e .st0%7bfill:%23FDFF50;%7d %3c/style%3e%3ccircle class='st0' cx='50' cy='50' r='50'/%3e%3cpath d='M20.7,47.2c0.5,0.3,0.9,0.6,1.1,1.1c0.3,0.5,0.4,1,0.4,1.7c0,0.6-0.1,1.2-0.4,1.7c-0.3,0.5-0.6,0.8-1.1,1.1 s-1.1,0.4-1.8,0.4H17v-6.3h1.9C19.6,46.9,20.2,47,20.7,47.2z M20.9,51.9c0.5-0.5,0.7-1.1,0.7-1.9c0-0.8-0.2-1.5-0.7-1.9 s-1.1-0.7-2-0.7h-1.2v5.2h1.2C19.7,52.6,20.4,52.4,20.9,51.9z M26.2,47.4v2.3h2.4v0.5h-2.4v2.4h2.7v0.5h-3.3v-6.3h3.3v0.5H26.2z M28,45.5l-1.8,1.1v-0.5l1.8-1.2V45.5z M32.5,48.3c0.3-0.5,0.6-0.9,1.1-1.1c0.5-0.3,1-0.4,1.6-0.4c0.7,0,1.3,0.2,1.8,0.5 s0.9,0.8,1.1,1.4h-0.7c-0.2-0.4-0.5-0.8-0.8-1c-0.4-0.2-0.8-0.4-1.3-0.4c-0.5,0-0.9,0.1-1.2,0.3c-0.4,0.2-0.7,0.5-0.9,0.9 s-0.3,0.9-0.3,1.4c0,0.5,0.1,1,0.3,1.4c0.2,0.4,0.5,0.7,0.9,0.9c0.4,0.2,0.8,0.3,1.2,0.3c0.5,0,1-0.1,1.3-0.4c0.4-0.2,0.6-0.6,0.8-1 h0.7c-0.2,0.6-0.6,1.1-1.1,1.4c-0.5,0.3-1.1,0.5-1.8,0.5c-0.6,0-1.1-0.1-1.6-0.4c-0.5-0.3-0.8-0.7-1.1-1.1s-0.4-1-0.4-1.7 C32.1,49.4,32.2,48.8,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1.1-0.3h-1.3V50z M75.5,46.9v6.3h-0.6v-6.3H75.5z M82.5,53.1l-1.6-2.6h-1.2v2.6h-0.6v-6.3H81 c0.7,0,1.2,0.2,1.6,0.5c0.4,0.3,0.5,0.8,0.5,1.3c0,0.5-0.1,0.8-0.4,1.2c-0.3,0.3-0.6,0.5-1.2,0.6l1.6,2.7H82.5z M79.8,50H81 c0.5,0,0.9-0.1,1.1-0.4s0.4-0.6,0.4-1c0-0.4-0.1-0.7-0.4-1c-0.2-0.2-0.6-0.3-1.1-0.3h-1.3V50z'/%3e%3c/svg%3e") 50 50, pointer;

    text-decoration: none;
}
#webinaires-catalogue > .content > .list > div > .webinar > .thumbnail {
    background-position: center;
    background-size: cover;
}
#webinaires-catalogue > .content > .list > div > .webinar > .meta {
    display: flex;
    flex-direction: row;

    font-family: "Anton";
    color: #F9F96E;
}
#webinaires-catalogue > .content > .list > div > .webinar > .meta > span:not(:last-child):after {
    content: "•";
    margin: 0 8px;
}
#webinaires-catalogue > .content > .list > div > .webinar > .name {
    font-family: "Anton";
    word-wrap: break-word;
}

@media (min-width : 900px) {
    #webinaires-catalogue > .content > .controls:not(:last-child) { margin-bottom: 40px; }
    #webinaires-catalogue > .content > .controls > .control-btn {
        line-height: 28px;
        font-size: 30px;
    }
    #webinaires-catalogue > .content > .controls { column-gap: 60px; row-gap: 30px; }

    #webinaires-catalogue > .content > .list > div > .webinar { flex: 0 0 calc((100% + 3px) / 4); }
    #webinaires-catalogue > .content > .list > div > .webinar:not(:nth-child(4n)):not(:last-child) { margin-right: -1px; }
    #webinaires-catalogue > .content > .list > div > .webinar:nth-child(4n) ~ .webinar { margin-top: -1px; }
}
@media (max-width : 899px) {
    #webinaires-catalogue > .content > .controls:not(:last-child) { margin-bottom: 35px; }
    #webinaires-catalogue > .content > .controls > .control-btn {
        line-height: 18px;
        font-size: 20px;
    }
    #webinaires-catalogue > .content > .controls { column-gap: 30px; row-gap: 25px; }
}
@media (max-width : 899px) and (min-width : 600px) {
    #webinaires-catalogue > .content > .list > div > .webinar { flex: 0 0 calc((100% + 1px) / 2); }
    #webinaires-catalogue > .content > .list > div > .webinar:not(:nth-child(2n)):not(:last-child) { margin-right: -1px; }
    #webinaires-catalogue > .content > .list > div > .webinar:nth-child(2n) ~ .webinar { margin-top: -1px; }
}
@media (max-width : 599px) {
    #webinaires-catalogue > .content > .list > div > .webinar { flex: 0 0 100%; margin-top: -1px; }
    #webinaires-catalogue > .content > .list > div > .webinar:first-child { margin-top: 0; }
}
@media (min-width : 600px) {
    #webinaires-catalogue > .content > .list > div > .webinar > .thumbnail { height: 160px; }
    #webinaires-catalogue > .content > .list > div > .webinar > div:not(.thumbnail) { padding: 20px 30px 30px; }
    #webinaires-catalogue > .content > .list > div > .webinar > .meta {
        margin-bottom: 15px;
        font-size: 15px;
    }
    #webinaires-catalogue > .content > .list > div > .webinar > .name { font-size: 18px; }
}
@media (max-width : 599px) {
    #webinaires-catalogue > .content > .list > div > .webinar > .thumbnail { height: 140px; }
    #webinaires-catalogue > .content > .list > div > .webinar > div:not(.thumbnail) { padding: 15px 20px 20px; }
    #webinaires-catalogue > .content > .list > div > .webinar > .meta {
        margin-bottom: 12px;
        font-size: 13px;
    }
    #webinaires-catalogue > .content > .list > div > .webinar > .name { font-size: 17px; }
}
