/* Site 17 - 2025 */
html {
    font-size: 16px;
}

body {
    background-size: cover;
    background-repeat: no-repeat;

}

#main {
    background-color: transparent;
    border: none;
    font-family: 'Lobster Two', sans-serif;
    font-weight: 400;
    padding: 1rem;
}

h1 {
    font-size: 3rem;
    text-align: center;
    margin: 0 0 1rem;
    color: #d94b1c;
}

h2 {
    font-size: 1.6rem;
    text-align: center;
    line-height: 3rem;
    color: #636363;
}

h3 {
    color: #636363;
    margin-top: 2rem;
}

.calendar {
    position: relative;
    width: 100vw;
    max-width: 1280px;
    margin: 3rem auto;
}

#wrapper {
    position: relative;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-content: space-evenly;

}

body.calendar {
    width: 100% !important;
    max-width: none;
}

.calendar .day {
    margin: 2.1rem;
}

.calendar .day span {
    position: relative;
    display: inline-block;
    margin: auto;
    font: normal 2rem 'Lobster Two', sans-serif;
    width: 7rem;
    line-height: 7rem;
    text-align: center;
    color: #f7f7f7;
    color: rgba(255, 255, 255, .9);
    background: rgba(0, 0, 0, .2);
    transition: .3s;
    border-radius: 3px;
    border: 3px solid #bbb;
    border: 3px solid rgba(0, 0, 0, .1);
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

.day#day_6 span {
    font-size: 2.7rem;
    padding: 0.5rem;
    top: -0.25rem;
}

.day#day_24 span {
    font-size: 3rem;
    padding: 1rem;
    top: -.35rem;
}

.day#day_5 span,
.day#day_12 span,
.day#day_19 span {
    font-size: 2.5rem;
    padding: 0.3rem;
    top: -0.125rem;
}

.day.active {
    cursor: pointer;
}

.day.active span:hover {
    /*background: rgba(255, 255, 255, .6);*/
    background: rgba(255, 255, 255, .8);
    color: #000 !important;
}

.day .check {
    display: none;
}

.day.visited .check {
    display: block;
}

.day .check {
    background-image: url(images/outline_done_black_24dp.png);
    background-size: contain;
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 24px;
    height: 24px;
    color: white;
    filter: invert(1);
}

.part {
    /*width: 90%;*/
    /*max-width: 800px;*/
    max-width: 380px;
}

.part.show {
    z-index: 1;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid lightsteelblue;
    padding: 20px;
    overflow: auto;
    background-color: white;
    box-shadow: 10px 10px 10px #ccc;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    opacity: 0;
    top: 15px;
}

.close-part {
    color: red;
    position: absolute;
    width: 16px;
    height: 16px;
    font-family: arial, sans-serif;
    font-weight: 500;
    right: 3px;
    top: 2px;
    cursor: pointer;
}

.part .video2 {
    width: 600px;
}

#calendar_fond {
    position: fixed;
    top: 0;
    margin: 0 0 0 -16px;
    background-color: white;
    opacity: 0;
    height: 100%;
}

/** Media **/
[id*=day] audio {
    margin: auto;
    display: block;
}

/** Podcast **/
.podcast-widget {
    margin: auto;
    max-width: 415px;
}

.podcast-widget h2 {
    font-size: 1.4rem;
}

/* 12 premiers jours */

.firstdays #logo {
    background-size: 95px !important;
}

body.firstdays {
    background-image: none;
    background-color: floralwhite;
}

#firstdays.calendar {
    position: relative;
    margin: 0 auto;
    width: auto;
}

.firstdays #main {
    font-family: 'Roboto Condensed', sans-serif;
}

.firstdays #wrapper {
    background-image: url(images/calendar/2023-firstdays.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #F9F2BB;
    padding: 10rem 0;
}

.firstdays .day span {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 2.5rem;
}

.firstdays .day#day_6 span,
.firstdays .day#day_24 span,
.firstdays .day#day_5 span,
.firstdays .day#day_12 span,
.firstdays .day#day_19 span {
    font-size: 2.5rem;
    padding: inherit;
    top: inherit;
}


@media screen and (max-width: 660px) {
    html {
        font-size: 10px;
    }

    body {
        padding: 0;
    }

    #main {
        padding: 0;
    }

    #footer form#capture {
        font-size: 16px;
    }

    h2 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .part.show {
        top: 0px;
        position: fixed;
        overflow: scroll;
        left: 0;
        transform: inherit;
        height: 100%;
        padding: 0;
    }

    #logo {
        display: none;
    }

    .podcast-widget h2 {
        font-size: 2rem;
    }

    .podcast-widget p {
        line-height: 16px;
    }

    .firstdays #wrapper {
        background-position-x: -220px;
    }
}

body {
    background-image: url(images/calendar/calendar_background.jpg);
    background-size: cover;
}

#wrapper {
    background-image: url(images/calendar/christmas-tree.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #044587;
}

h1 {
    color: goldenrod;
}

h2 {
    color: #295CAB;
}

h3 {
    color: #295CAB
}

.calendar .day span {
    /*color: rgba(255, 255, 255, .9);*/
    /*color: forestgreen;*/ /* V1 */
    color: darkred;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.5);
}

.day .check {
    filter: none;
}

.part.show h1 {
    font-family: 'Lobster Two', sans-serif;
}

.like {
    display: none;
}


/* Calendrier 2025 */
#calendar2025 #wrapper {
    background-image: url(images/calendar/calendar2025.jpg);
}

#calendar2025 .calendar .day span {
    border-color: gainsboro;
}

#calendar2025 p {
    padding: 0
}