

/* ===================================
            FEATURE IMAGE
=================================== */

.feature-image-container {
    position: relative;
}

.prop-feature-image {
    width: 100%;
    height: 64vh;
    /* clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11vw), 0 100%); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.prop-feature-image h1 {
    text-shadow: 1px 1px 1px black;
    color: white;
}

.prop-feature-image h3 {
    font-size: 2rem;
    color: #ffffffd4;
    margin-top: 1rem;
}

.rythme {
    margin-right: auto;
    margin-left: 3rem;
    font-size: 2rem;
    text-transform: uppercase;
    padding: 0.5rem 2rem;
    font-style: italic;
    position: absolute;
    bottom: 0.5rem;
    left: -2.5rem;
    color: white;
    /* background: #ffffff52; */
    border-radius: 50px;
    /* border: 1px solid white; */
    text-shadow: 1px 1px 1px #000000c2;
}

.breadcrumb {
    display: flex;
    list-style: "/";
    font-size: 0.9rem;
    margin: 0;
    position: relative;
    top: 4.7rem;
    left: -1.9rem;
}
.breadcrumb li {
    margin: 0.5rem 0.3rem;
    padding-left: 0.3rem;
    width: auto;
    text-transform: uppercase;
}
.breadcrumb a {
    color: var(--gold);
    text-decoration: none;
    text-transform: uppercase;
}
.breadcrumb a:hover {
    text-decoration: underline;
}



/* ===================================
            MAIN CONTENT
=================================== */
#container {
    display: grid;
    grid-template-columns: 2fr 5fr;
    grid-gap: 1rem;
    width: clamp(600px, min(80vw, 1300px), 100vw);
    margin: auto;

    position: relative;
    z-index: 10;
    margin-top: 2vh;
}

#container .content {
    max-width: 100vw;
}

.info-details i {
    color: var(--primary-color);
    padding: 1rem;
}

.proposition-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 1rem;
}



main.proposition {
    background: transparent;
    padding: 2rem;
    padding-bottom: 4rem;
    box-shadow: var(--shadow1);
    min-height: min(100vh, 8cm);
}

@media screen and (max-width: 640px) {
    #container {
        grid-template-columns: 1fr;
        width: 100vw;
    }
}



/* ===================================
            ASIDE INFOS
=================================== */

aside.infos {
    max-width: 100vw;
    padding: 0 1rem;
    box-sizing: border-box;
}

aside.infos .inscr-state {
    display: flex;
    align-items: center;

    border: 1px solid white;
    border-radius: 50px;
    background: #46464670;
    color: white;
}

/* INSCRIPTION STATE LED */
aside.infos .inscr-state > .led {
    background: grey;
    height: 1.4rem;
    width: 1.4rem;
    margin: 0.8rem;
    border-radius: 100px;
}
aside.infos .inscr-state.free > .led {background-color: var(--green-valid);}
aside.infos .inscr-state.preinscr > .led {background-color: var(--green-valid);}
aside.infos .inscr-state.open > .led {background-color: var(--green-valid);}
aside.infos .inscr-state.waiting_list > .led {background-color: var(--orange-warning);}
aside.infos .inscr-state.closed > .led {background-color: var(--red-error);}


/* INFOS DETAILS */
aside.infos > .info-details {
    background: transparent;
    color: var(--black);
    box-shadow: var(--shadow1);
    padding: 1rem;
    margin: 1.2rem 0;
}

/* PLACE / MAISON */
aside .proposition-place p {
    margin: 0.2rem;
    text-align: left;
}
aside .ccn-address-title {
    font-weight: bold;
}

aside .proposition-contact {
    border: 1px solid #c5c5c5;
    border-radius: 3px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    width: fit-content;
    width: -moz-fit-content;
    color: #444;
    margin: auto;
    margin-top: 2.5rem;
    padding-right: 1rem;
    transition: all 0.3s ease 0s;
}

aside a.proposition-contact:hover {
    border-color: var(--primary-color);
    font-weight: bold;
    box-shadow: inset 0 0 0 30px rgb(200 231 247), 0 0 0 1px rgb(119 119 119 / 10%);
    color: var(--primary-color);
    transition: all 0.3s ease 0s;
}





/* ===================================
            SUBMENU TABS
=================================== */

#submenu {
    list-style: none;
    color: white;
    
    display: flex;
    flex-wrap: wrap;
    
    padding: 0;
    margin-top: 0;
}

#submenu > li {
    background: #000000b3;
    padding: 1rem;
    flex-grow: 1;
    text-align: center;
    cursor: pointer;
    transition: all 0.1s ease-in;
    border: 1px solid white;
}

#submenu > li:hover {
    background: var(--primary-color);
}

#submenu > li.active {
    background: var(--primary-color);
    transition: all 0.1s ease-in;
}




/* ===================================
TABS CONTENT
=================================== */

main.proposition > section {
    display: none;
    animation: fadeEffect 1s;
}

main.proposition > section.active {
    display: block;
    animation: fadeEffect 1s;
}

@keyframes fadeEffect {
    from {opacity: 0; height: 80%;}
    to {opacity: 1; height: 100%;}
}





/* ============================ */
/*          MOBILE              */
/* ============================ */

@media screen and (max-width: 470px) {
    .prop-feature-image h1 {
        line-height: 2.9rem;
        font-size: 2.4rem;
        margin: auto 1rem;
    }

    #submenu > li {
        flex-basis: 100%;
    }

    button, .button {
        margin: 3rem auto;
        font-size: 1.9rem;
    }

    #container .content h2 {
        position: relative;
        color: white;
        font-size: 2.8rem;
        line-height: 3rem;
        margin: 4rem 0rem 2rem 0;
        padding: 1rem 0.5rem;
        max-width: 100%;
        word-break: break-word;
        text-align: center;
        background: var(--primary-color);
    }

}