main section.page-parcours{
    padding-top:8rem;
}

#hero-simple {
    padding: 10rem 6vw 2rem;
}

#hero-simple h1 {
    color: white;
    text-align: center;
    font-size: 2rem;
    background-color: #4a4fa1;
    padding: 3rem 0 2rem;
}
.le-parcours-accompagnateur #hero-simple h1 {
    background-color: #e72466;
}
.le-parcours-jeune #hero-simple h1 {
    background-color: #fdd32f;
    color: #0000008f;
}
.card-parcours > .wp-block-column {
    display: flex;
    justify-content: center;
    margin: 5rem 0;
}

.card-parcours > .wp-block-column > .wp-block-media-text {
    display: flex !important;
    flex-direction: column;
    width: 25rem;
}

.card-parcours > .wp-block-column > .wp-block-media-text figure {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 2px;
    overflow: hidden;
    transition: box-shadow 400ms;
}
.card-parcours > .wp-block-column:first-of-type > .wp-block-media-text figure {
    box-shadow: -30px 30px 100px 1px rgb(252, 210, 47);
}
.card-parcours > .wp-block-column:last-of-type > .wp-block-media-text figure {
    box-shadow: -30px 30px 100px 1px rgb(231, 36, 102);
}
.card-parcours > .wp-block-column:first-of-type > .wp-block-media-text figure.hovered {
    box-shadow: -30px 30px 100px 20px rgb(252, 210, 47);
}
.card-parcours > .wp-block-column:last-of-type > .wp-block-media-text figure.hovered {
    box-shadow: -30px 30px 100px 20px rgb(231, 36, 102);
}
.card-parcours > .wp-block-column > .wp-block-media-text figure img {
    filter: brightness(0.8);
    transform: scale(1.05);
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms, filter 400ms;
}
.card-parcours > .wp-block-column > .wp-block-media-text figure.hovered img {
    filter: brightness(0.9);
    transform: scale(1);
}

.card-parcours > .wp-block-column > .wp-block-media-text .wp-block-media-text__content {
    padding: 2rem;
    width: 80%;
    margin-top: -20rem;
    z-index: 1;
}

.card-parcours > .wp-block-column > .wp-block-media-text.jeunes .wp-block-media-text__content {
    background-color: #fcd22f;
}

.card-parcours > .wp-block-column > .wp-block-media-text.accompagnateurs .wp-block-media-text__content {
    background-color: #e72466;
}

.card-parcours > .wp-block-column > .wp-block-media-text .wp-block-media-text__content h3 {
    color: white;
    font-size: 1.2rem;
}

.card-parcours > .wp-block-column > .wp-block-media-text .wp-block-media-text__content p:first-of-type {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-bottom: 2rem;
}

.card-parcours > .wp-block-column > .wp-block-media-text .wp-block-media-text__content a {
    background-color: white;
    padding: 0.8rem 1rem;
    border-radius: 2px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
    transition: opacity 200ms ease-out;
}
.card-parcours > .wp-block-column > .wp-block-media-text .wp-block-media-text__content a:hover {
    opacity: 0.7;
}
.card-parcours > .wp-block-column > .wp-block-media-text.jeunes .wp-block-media-text__content a {
    color: #cea500;
}

.card-parcours > .wp-block-column > .wp-block-media-text.accompagnateurs .wp-block-media-text__content a {
    color: #e72466;
}

#hero-simple + #main .content > h2 {
    text-align: center;
    width: 100%;
    margin: 0;
    font-weight: normal;
    line-height: 1.5;
    background-color: #4a4fa1;
    color: rgba(255, 255, 255, 0.7);
}
.le-parcours-accompagnateur #hero-simple + #main .content > h2 {
    background-color: #e72466;
    color: rgba(255, 255, 255, 0.7);
}
.le-parcours-jeune #hero-simple + #main .content > h2 {
    background-color: #fcd22f;
    color: #0000008f;
}
.le-parcours-accompagnateur #hero-simple + #main .content .bottom-column + h2 {
    padding: 6rem 0 0;
    color: white;
}
#hero-simple + #main .card-parcours + h3 {
    margin-top: 4rem;
    color: white;
}

/* page parcours single */
.le-parcours-jeune section#main.main-parcours .content {
    background-color: #fcd22f;
}
.to-parcours {
  margin-top: 3rem;
}
.to-parcours a {
  display: inline-flex;
  padding: 1rem 2rem;
  font-weight: bold;
  background-color: white;
  border-radius: 2px;
  text-decoration: none;
  color: black !important;
  transition: background-color 300ms ease-out, transform 300ms ease-out;
}
  .to-parcours a:hover {
    background-color: #e6e6e6;
    transform: translate3d(0,-1.5px,0);
  }
.le-parcours-jeune section.main-parcours .top-column h3, .le-parcours-jeune h4, .le-parcours-jeune section.main-parcours .top-column p, .le-parcours-jeune section.main-parcours .top-column ol, .le-parcours-jeune section.main-parcours .top-column ul, .le-parcours-jeune section.main-parcours .top-column a, .le-parcours-jeune section.main-parcours .top-column strong, .le-parcours-jeune section.main-parcours .bottom-column blockquote p {
    color: #0000008f;
}

section.main-parcours .bottom-column blockquote cite {
    text-align: center;
    display: block;
    color: black;
}

.le-parcours-accompagnateur section#main.main-parcours .content {
    background-color: #e72466;
}
section.main-parcours .top-column .wp-block-column {
    margin: 2rem 0;
}

.le-parcours-accompagnateur section.main-parcours .top-column .wp-block-column:first-of-type, .le-parcours-accompagnateur section.main-parcours .top-column .wp-block-column:last-of-type {
    background-color: #e72466;
}
.le-parcours-jeune section.main-parcours .top-column .wp-block-column:first-of-type, .le-parcours-jeune section.main-parcours .top-column .wp-block-column:last-of-type {
    background-color: #fcd22f;
}
section.main-parcours .top-column .wp-block-column:first-of-type figure {
    width: 100%;
    margin: 0 auto 3rem;
}
section.main-parcours .top-column .wp-block-column:first-of-type figure iframe {
    width: 100%;
}
.le-parcours-jeune section.main-parcours .top-column .wp-block-column:first-of-type figure iframe, .le-parcours-jeune section.main-parcours .bottom-column .wp-block-column:first-of-type figure {
    box-shadow: 15px 15px 1px 1px #e72466;
    position: relative;
}
.le-parcours-accompagnateur section.main-parcours .top-column .wp-block-column:first-of-type figure iframe {
    box-shadow: 15px 15px 1px 1px #fcd22f;
}
.le-parcours-jeune section.main-parcours .top-column .wp-block-column:last-of-type figure {
    box-shadow: -15px 15px 1px 1px #e72466;
}
.le-parcours-accompagnateur section.main-parcours .top-column .wp-block-column:last-of-type figure {
    box-shadow: -15px 15px 1px 1px #fcd22f;
}
section.main-parcours .top-column .wp-block-column:last-of-type {
    flex: 2;
}
.le-parcours-accompagnateur section.main-parcours .bottom-column .wp-block-column:first-of-type figure {
    box-shadow: 15px 15px 1px 1px #fcd22f;
    position: relative;
}
section.main-parcours .bottom-column .wp-block-column:last-of-type {
    background-color: #fcd22f;
}
section.main-parcours blockquote {
    width: 80%;
}
.le-parcours-jeune section.main-parcours .bottom-column, .le-parcours-accompagnateur section.main-parcours .bottom-column {
  margin-top: 4rem;
}
.le-parcours-accompagnateur section.main-parcours .top-column .wp-block-column:last-of-type, .le-parcours-accompagnateur section.main-parcours .bottom-column .wp-block-column:last-of-type {
    background: #e72466;
}
section.main-parcours .top-column .wp-block-column:last-of-type figure {
    max-width: 100%;
    max-height: 45rem;
    width: 100%;
    margin: 0;
    overflow: hidden;
}
section.main-parcours .top-column .wp-block-column:last-of-type figure img {
    width: 100%;
}
section.main-parcours .top-column h3, section.main-parcours .top-column h3 strong, section.main-parcours .top-column strong, section.main-parcours .top-column a {
    color: white;
}
section.main-parcours .top-column p, section.main-parcours .top-column ul, section.main-parcours .top-column ol {
    color:rgba(255, 255, 255, 0.7);
}
section.main-parcours .top-column ol li {
    margin: 1.5rem 0;
}

section.main-parcours .bottom-column .wp-block-column, section.main-parcours .bottom-column .wp-block-column figure {
    margin: 0;
}
section.main-parcours .bottom-column .wp-block-column:last-of-type {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 2rem;
    flex: 3;
    color: rgba(255, 255, 255, 0.7);
}

section.main-parcours .bottom-column .wp-block-column:last-of-type blockquote {
    margin: 0;
}
section.main-parcours .bottom-column .wp-block-column:last-of-type blockquote p {
    text-align: center;
}

section.main-parcours .bottom-column .wp-block-column:first-of-type figure img {
    width: 100%;
}

.parcours.invitation{
    margin-bottom:1rem;
    padding-bottom:1rem;
    border-bottom:1px dashed #eee;
}
    .parcours.invitation:last-child{
        border:0;
        padding-bottom: 0;
    }
    .parcours.invitation h4{
        font-size:.8rem;
    }

.actions-invitation{
    position: relative;
    display: flex;
    height: 100%;
}
    .actions-invitation:before{
        content:"";
        display: none;
        position: absolute;
        top:0;
        left: 0;
        height:100%;
        width:100%;
        background:url(../img/loading.svg) no-repeat center;
    }

    .actions-invitation button{
        flex:1;
        border:0;
        background: transparent;
        text-transform: uppercase;
        font-weight: bold;
        letter-spacing: .1rem;
        cursor: pointer;
        opacity: 1;
        transition: all .2s ease-in-out;
    }
        .actions-invitation button[data-reponse=accepte]{
            background: #99cc20;
            color: #2b3e00;
            border-radius: 8px 0 0 8px;
        }
            .actions-invitation button[data-reponse=accepte]:hover,.actions-invitation button[data-reponse=accepte]:focus,.actions-invitation button[data-reponse=accepte]:active {
                background: #2b3e00;
                color: #99cc20;
                transform: translateY(-5px);
            }
        .actions-invitation button[data-reponse=decline]{
            background: #cc3820;
            color: #3a0800;         
            border-radius: 0 8px 8px 0;
        }
            .actions-invitation button[data-reponse=decline]:hover,.actions-invitation button[data-reponse=decline]:focus,.actions-invitation button[data-reponse=decline]:active {
                background: #3a0800;
                color: #cc3820;
                transform: translateY(-5px);
            }

    .actions-invitation.pending button{
        opacity: 0;
        pointer-events: none;
    }
    .actions-invitation.pending:before{
        display: block;
    }
