﻿.zone-titre {
    position: relative;
}

    .zone-titre .t1 {
        font-family: DIN Pro Condensed Bold,sans-serif;
        text-transform: uppercase;
        color: #f24e58;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        font-size: calc((25vw - 4.5rem) / 15);
        text-align: center;
        line-height: 5vw;
    }

    .zone-titre .t2 {
        font-family: DIN Pro Condensed Bold,sans-serif;
        text-transform: uppercase;
        font-size: calc((25vw - 4.5rem) / 7);
        color: #ebebeb;
        display: block;
        text-align: center;
        overflow: hidden;
        white-space: nowrap;
    }

.Programmes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
}

    .Programmes .Programme .Logo {
    }

.Programme > div {
    position: relative;
    height: 160px;
}

.Programme {
    /*flex-basis: 230px;*/
    margin: 0.5%;
}

    .Programme:hover, .Programme.selected {
    }

    .Programme.selected {
    }

        .Programme.selected, .Programme.selected:hover {
        }

    .Programme:hover {
    }

    .Programme.hide {
        opacity: 0.2;
    }

    .Programme .Sessions {
        display: none;
    }

    .Programme .NomProgramme, .Programme .ExpandCollapse {
        display: none;
    }

.Sessions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.Session {
    background-color: #F7F5F1;
    width: 300px;
    display: inline-block;
    margin: 15px;
    padding: 20px 15px 4px 30px;
    display: flex;
    flex-direction: column;
}

    .Session .Nom {
        font-family: "DIN Pro Condensed Bold",sans-serif;
        font-size: 18px;
        color: #f24e58;
        display: block;
        margin-bottom: 20px;
        text-transform: uppercase;
    }

    .Session .Description {
        font-family: "DIN OT Regular",sans-serif;
        font-size: 14px;
        flex-grow: 2;
    }

.Buttons {
    margin: 20px 15px 20px 0;
    min-height: 185px;
}

    .Buttons .button {
        display: block;
        margin: 10px 0 10px 0;
        text-align: left;
        padding: 14px;
    }

.imgbutton {
    position: relative;
}

    .imgbutton img {
        filter: brightness(0)
    }

    .imgbutton:hover img {
        filter: brightness(100)
    }

.Session .Statut {
    color: red;
    font-style: italic;
    margin-bottom: 10px;
    display: block;
    text-align: right;
}

.Buttons .imgbutton > img {
    width: 22px;
    position: absolute;
    right: 15px;
    height: 22px;
    top: 12px;
}



@media screen and (max-width: 1280px) {
    .Programmes {
        margin: 20px;
    }

    .zone-titre .t1 {
        font-size: calc((15vw - 4.5rem) / 7);
        line-height: 7vw;
    }

    .zone-titre .t2 {
        font-size: calc((70vw - 4.5rem) / 15);
    }
}

@media screen and (max-width: 600px) {
    .zone-titre .t1 {
        font-size: calc((120vw - 4.5rem) / 15);
        line-height: 10vw;
    }

    .zone-titre .t2 {
        font-size: calc((25vw - 4.5rem) / 7);
        line-height: 20vw;
    }
}

@media screen and (max-width: 430px) {
    .Programmes {
        display: block;
        height: auto;
        padding-top: 10px;
        width: 100%;
        margin: 0;
    }

    .Programme .NomProgramme, .Programme .ExpandCollapse {
        display: block;
        margin: 8px;
    }

    .Programme {
        margin: 0;
        margin-bottom: 10px;
        transform: none;
        transition: none;
        height: auto;
        width: auto;
    }

        .Programme:hover {
            transform: none;
            margin: 0;
            margin-bottom: 10px;
            opacity: initial !important;
        }

        .Programme > div {
            display: flex;
            align-items: center;
            background-color: white;
            padding: 10px;
            height: auto;
        }

    .Programmes .Programme .Logo {
        width: 100px;
        position: initial;
    }

    .Programme .NomProgramme {
        flex-grow: 4;
    }

    .Programme .ExpandCollapse {
        border-radius: 50%;
        background-color: #5d2da8;
        min-width: 26px;
        color: white;
        min-height: 26px;
        position: relative;
        background-image: url(/Images/chevron-blanc.svg);
        background-size: 15px;
        background-repeat: no-repeat;
        background-position: 5px 6px;
    }

    .Programme .ExpandCollapse {
        transform: rotate(90deg);
    }

    .Programme.Expanded .ExpandCollapse {
        transform: rotate(-90deg);
    }

    .Programme .Sessions {
        display: none;
    }

    .Programme.Expanded .Sessions {
        display: block;
    }

    .Session {
        width: 100%;
        margin: 0;
        padding: 20px 10px 40px 10px;
        box-sizing: border-box;
        border-top: 1px solid silver;
    }

        .Session .Nom {
            font-size: 15px;
        }


    .Description p {
        margin: 0;
    }
}
