/* NEXT CLASS HEADER */
.showcase-thumb {
    animation: none;
}
.next-class-wrapper {
    display: flex;
    flex-direction: column;
    align-content: space-between;
}
.next-class-wrapper p {
    text-align: left;
    font: 'Regular';
    letter-spacing: 1.75px;
    color: #FFFFFF;
    opacity: 1;

    display: block;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-top: 20px;
}
.next-class-wrapper section {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 15px;
}
.next-class-date {
    margin: 0 20px;
    display: flex;
    align-items: flex-start;
}
.next-class-date-icon img {
    height: 18px;
    width: 18px;
    margin-right: 14px;
    margin-top: 5px;
}
.next-class-time {
    font-size: 15px;
    font-weight: 200;
}
.next-class-location {
    display: flex !important;
    align-items: flex-start !important;
    margin: 0 20px !important;
}
.next-class-location span {
    font-size: 15px !important;
    font-weight: 200 !important;
}
.next-class-location-icon img {
    height: 18px !important;
    width: 18px !important;
    margin-right: 14px !important;
    margin-top: 5px !important;
}

@keyframes fadein {
    0% {opacity: 0;}
    100% {opacity: 1;}
  }

/* CLASSES LIST HOMEPAGE */
.planning-list {
    max-width: 938px;
    margin: 0 auto;
}
.planning-list__item {
    width: 100%;

    border-top: 1px solid rgba(161,161,161, .5);
    border-bottom: 1px solid rgba(161,161,161, .5);
    margin-bottom: 12px;
    align-items: center;
    max-height: 215px;

    transition: all .2s ease-in;
}
.planning-list__item:hover {
    background-color: rgba(161,161,161, .05);
}
.planning-list__item--thumbnail {
    width: 215px;
    height: auto;
    margin-top: 3px;
}
.planning-list__item--date {
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.planning-list__item-dateday {
    font-size: 196%;
    color: #83B1A2;
    font-family: "Open Sans", 'sans-serif';
    margin: 0 !important;
}
.planning-list__item-datemonth {
    font-size: 100%;
    color: #83B1A2;
    font-family: "Open Sans", 'sans-serif';
    margin: 0 !important;
}
.planning-list__item--content {
    text-align: left !important;
    width: 300px;
    height: auto;
    overflow: hidden;
    flex-grow: 1;
    margin-right: 10px;
}
.planning-list__item--desc p {
    margin-bottom: 0;
}
.planning-list__item--infos {
    margin-bottom: 7px;
}
.planning-list__item-bullet::before {
    content: "•";
    color: #83B1A2;
    display: inline;
    opacity: .5;
}
.planning-list__item--content h3 {
    font-family: 'Playfair Display', 'sans-serif';
    font-style: normal;
    text-align: left !important;
    font-size: 25px;
    line-height: 33px;
    font-weight: 300;
    margin: 0 !important;
}
.planning-list__item--btn {
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 27px;
}

.planning-list__item--cta {
    width: 100%;
    height: 40px;
    margin-bottom: 14px;
    border: 2px solid rgba(161,161,161, .8);
    background-color: transparent;

    font-size: 11px;
    font-weight: 300;
    font-family: 'Open Sans', 'sans-serif';
    color: rgba(161,161,161, 1);
    letter-spacing: 2.75px;
    cursor: pointer;

    transition: all .2s ease-in;
}

.planning-list__item--cta:hover {
    background-color: #83B1A2;
    border: 2px solid #83B1A2;
    color: #FFFFFF;
}

.planning-list__item--see {
    width: 100%;
    height: 40px;
    border: 2px solid rgba(161,161,161, .8);
    background-color: transparent;

    font-size: 11px;
    font-weight: 300;
    font-family: 'Open Sans', 'sans-serif';
    color: rgba(161,161,161, 1);
    letter-spacing: 2.75px;
    cursor: pointer;

    transition: all .2s ease-in;
}

.planning-list__item--see:hover {
    background-color: #83B1A2;
    border: 2px solid #83B1A2;
    color: #FFFFFF;
}
@media only screen and (max-width: 992px) {
    .planning-list__item {
        max-height: 172px;
    }
    .planning-list__item--thumbnail {
        width: 172px;
        height: 100%;
        margin-top: 0;
        max-height: 172px;
    }
}

@media only screen and (max-width: 991px) {
    .planning-list__item {
        max-height: 136px;
    }
    .planning-list__item--thumbnail {
        width: 170px;
        margin-top: 3px;
    }
    .planning-list__item--desc {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    .planning-list {
        padding: 0;
    }
    .planning-list__item {
        height: 440px;
        max-height: initial;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        padding: 20px;
    }
    .planning-list__item--thumbnail {
        display: none;
    }
    .planning-list__item--date {
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 50px;
        flex-direction: row;
    }
    .planning-list__item-dateday {
        font-size: 100%;
        margin-right: 5px !important;
    }
    .planning-list__item--content {
        max-height: 200px;
        margin-bottom: 10px;
        margin-right: 0;
        width: auto;
    }
    .planning-list__item--desc {
        display: block;
    }
    .planning-list__item--infos {
        margin: 10px 0;
    }
    .planning-list__item--btn {
        align-self: center;
        margin-right: 0;
    }
    .planning-list__item--see {
        margin-bottom: 0;
        margin-top: 14px
    }
    .planning-list__item--cta {
        margin-bottom: 0;
        margin-top: 14px
    }
}

/* EVENT POPUP */
.popup-bg {
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .8);
    z-index: 999;
}
.popup-class {
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 1;
    max-width: 1000px;
    max-height: 944px;
    background-color: #FFFFFF;

    margin: 0 auto;

    display: flex;

    transform: translate(-50%, -50%);
}

.popup-class--thumbnail {
    width: 300px;
    max-height: 300px;
}

.popup-class--content {
    width: calc(1000px - 300px);
    display: flex;
    flex-direction: column;
    padding: 50px;
    text-align: left;
}

.popup-class--content h3 {
    text-align: left;
    font-style: normal;
    font-family: "Playfair Display";
    margin: 0 0 20px;
    font-size: 160%;
    line-height: 1.42;
}

.popup-class--desc {
    overflow: hidden;
}

.popup-class--content p {
    width: 100%;
    margin: 0;
}

.popup-class--map {
    width: 100%;
    height: 300px;
    background-color: #83B1A2;
}

.popup-class-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 300px;
}

.popup-class--infos {
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    padding: 50px 30px;
}

.popup-class--infos span {
    color: rgba(0, 0, 0, 0.65);
    font-size: 15px;
    margin: 0 0 10px 0;
}

.popup-class--infos span img {
    height: 16px;
    width: auto;
    opacity: .65;
    margin-right: 15px;
}

.popup-class--infos span .planning-list__item-dateday {
    margin-right: 5px !important;
}

.popup-class--btn {
    height: 140px;
    width: 100%;
    padding: 50px 30px;
}

.popup-class--cta {
    border: 1px solid #000;
    width: 100%;
    height: 40px;
    background-color: transparent;
    font-family: "Open Sans",sans-serif;
    font-weight: 400;
    padding: 6px 12px;
    font-size: 15px;
    cursor: pointer;

    transition: all .2s ease-in;
}

.popup-class--cta:hover {
    background-color: #83B1A2;
    border: 1px solid #83B1A2;
    color: #FFFFFF;
}

.popup-close {
    position: absolute;
    top: -34px;
    right: 0;
    width: 24px;
    height: 34px;
    cursor: pointer;
}

.popup-close::before {
    position: absolute;
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background-color: #FFFFFF;
    
    transform: rotate(45deg);
    top: 12px;
    left: 0;
}

.popup-close::after {
    position: absolute;
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background-color: #FFFFFF;
    
    transform: rotate(-45deg);
    top: 12px;
    left: 0;
}

/* DEFAULT PAGE STYLE CLEANUP */
.page-section h1 {
    line-height: 1.3;
}
.default-page h2 {
    text-align: left;
    letter-spacing: 0.7px;
    color: #777;
    font-family: 'Playfair Display', sans-serif;
    font-size: 35px;
    font-style: normal;
    font-weight: 200;
    margin: 7px 0 19px 0;
    line-height: 1.35;
}

.default-page h3 {
    text-align: left;
    letter-spacing: 0.6px;
    color: #777;
    font-family: 'Playfair Display', sans-serif;
    font-size: 25px;
    font-style: normal;
    font-weight: 200;
    margin: 7px 0 19px 0;
    line-height: 1.4;
}

.default-page h4 {
    text-align: left;
    letter-spacing: 0.6px;
    color: #777;
    font-family: 'Playfair Display', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 200;
    margin: 3rem 0 1rem 0;
    line-height: 1.5;
}

.default-page img {
    max-width: 100%;
    width: auto !important;
    height: auto;
    margin: 0;
}

.default-page ul {
    margin: 7px 0 30px 0;
    padding-left: 25px;
    list-style-image: url('../images/logos/infinity.svg');
}

.default-page ul li {
    padding-left: 20px;
}

.default-page ol {
    margin: 7px 0 30px 0;
    list-style: none;
    counter-reset: mfy-counter;
    padding-left: 0;
}
.default-page ol li {
    counter-increment: mfy-counter;
}
.default-page ol li::before {
    content: counter(mfy-counter) ". ";
    color: #E59E85;
    font-style: italic;
    text-align: left;
    letter-spacing: 0.7px;
    font-family: 'Playfair Display', sans-serif;
    font-weight: 200;
    font-size: 25px;
    line-height: 22px;
    padding-right: 15px;

    max-width: 45px;
    width: 45px;
    display: inline-block;
}

.default-page blockquote,
.default-page q {
    color: #BE6F54;
    text-align: left;
    font-family: 'Playfair Display', sans-serif;
    font-weight: 200;
    letter-spacing: 0.58px;
    font-size: 25px;
    line-height: 36px;
    margin: 7px 0 30px 45px;
}

.default-page blockquote p,
    .default-page q p {
        margin: 0;
    }

@media only screen and (max-width: 576px) {
    .default-page blockquote p,
    .default-page q p {
        color: #BE6F54;
    }
}

.default-page q {quotes: "" "";}

.default-page blockquote p:before,
.default-page q p:before {
    content: "\201C";
}

.default-page blockquote p:after,
.default-page q p:after {
    content: "\201D";
}

.default-page blockquote cite,
.default-page q cite {
    font-family: 'Open Sans', sans-serif, arial;
    text-align: left;
    line-height: 24px;
    font-size: 18px;
    font-style: normal;
    letter-spacing: 0.36px;
    color: #000;
}

.default-page blockquote cite:before,
.default-page q cite:before {
    content: "- ";
}

.default-page .btn {
    margin: 7px auto 35px auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.default-page .page-thumbnail {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}