/* /////////// free_classes /////////////////////*/

.booked {
    margin: 0px 14px;
    list-style: none;
    color: green;
    font-weight: 700;
    font-size: 20px;
}

.free_classes {
    padding: 10px;
    border: 7px solid #ff9100;
    border-radius: 12px;
}

@import url('https://fonts.googleapis.com/css?family=Muli&display=swap');
.courses-container {
    position: relative;
    margin: 0 auto 20px;
    /* padding: 10px 40px; */
    text-align: center;
    background-color: #2a265f;
    width: 80%;
    border: 1px solid #f5b500;
}

.courses-container::before,
.courses-container::after {
    content: '';
    width: 80px;
    height: 100%;
    background-color: #2a265f;
    /* position ribbon ends behind and slightly lower */
    position: absolute;
    z-index: -1;
    top: 20px;
    /* clip ribbon end shape */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 25% 50%);
    /* draw and position the folded ribbon bit */
    background-image: linear-gradient(45deg, transparent 50%, #2a265f 50%);
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: bottom right;
}

.courses-container::before {
    left: -60px;
}

.courses-container::after {
    right: -60px;
    transform: scaleX(-1);
    /* flip horizontally */
}

@media (max-width: 400px) {
    .courses-container {
        font-size: 1.5rem;
    }
}

.course {
    background-color: #fff;
    /* border-radius: 10px; */
    /* box-shadow: 0 10px 10px rgb(0 0 0 / 20%); */
    /* max-width: 100%; */
    /* margin: 0 auto; */
    /* overflow: hidden; */
    /* width: 500px; */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    justify-items: center;
    align-items: stretch;
}

.course h6 {
    margin: 0;
    letter-spacing: 1px;
    text-transform: capitalize;
    font-weight: 600;
    font-size: 18px;
}

.course h2 {
    letter-spacing: 1px;
    margin: 10px;
    font-weight: 900;
    text-transform: capitalize;
}

@media only screen and (max-width: 600px) {
    .course h2 {
        font-size: 19px;
    }
}

.course-preview {
    background-color: #f5b500;
    color: #2a265f;
    padding: 20px;
    /* max-width: 250px; */
    /* width: 30%; */
    /* margin: 0 !important; */
    border-radius: 0px 0px 20rem 0px;
    box-shadow: -1px 4px 1px 0px #ff9100;
}

.course-preview a {
    color: #fff;
    display: inline-block;
    font-size: 12px;
    opacity: 0.6;
    margin-top: 30px;
    text-decoration: none;
}

.course-info {
    padding: 20px 5px 5px;
    position: relative;
    /* width: 100%; */
    /* width: 60%; */
}

.course-info h4 {
    opacity: 1;
    font-weight: 800;
    color: #2a265f;
}

.course-info h6 {
    opacity: 1;
    text-transform: inherit;
    color: #2a265f;
}

.vf-flex {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: center;
    margin: 1rem 0;
}

@media only screen and (max-width: 600px) {
    .vf-flex {
        flex-direction: column;
    }
}


/* ------------------------------------------------------------------ */

h3.unsubscribed_txt {
    color: #c02f14;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

h3.subscribed_txt {
    color: #07ac36;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
}

.snip1529 {
    /* background-color: #d0c4c417; */
    box-shadow: 0px 12px 5px rgb(0 0 0 / 23%);
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6em;
    margin: 10px;
    max-width: 300px;
    min-width: 250px;
    overflow: hidden;
    position: relative;
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    /* padding: 1rem 0; */
}

.snip1529 * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.snip1529 img {
    max-width: 100%;
    vertical-align: top;
    position: relative;
    /* opacity: 0.75; */
    margin: 1rem 0 0;
}

@media only screen and (max-width: 600px) {
    .snip1529 img {
        /* margin: 1rem 0 0; */
    }
}

.snip1529 figcaption {
    padding: 25px 20px 25px;
    position: absolute;
    bottom: 0;
    z-index: 1;
}

.snip1529 .date {
    background-color: #fff;
    color: #333;
    font-size: 18px;
    font-weight: 800;
    min-height: 48px;
    min-width: 48px;
    padding: 10px 0;
    position: absolute;
    right: 15px;
    text-align: center;
    text-transform: uppercase;
    top: 0;
}

.snip1529 .date span {
    display: block;
    line-height: 14px;
}

.snip1529 .date .month {
    font-size: 11px;
}

.snip1529 h3,
.snip1529 p {
    margin: 0;
    padding: 0;
}

.snip1529 h3 {
    font-weight: 800;
    letter-spacing: -0.4px;
}

.snip1529 .hover {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    align-items: center;
    background-color: rgba(236, 188, 46, 0.75);
    display: flex;
    font-size: 65px;
    justify-content: center;
    opacity: 0;
}

.snip1529 a {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    /* position: absolute; */
    z-index: 1;
    height: 9rem;
}


/* .snip1529:hover .hover,
    .snip1529.hover .hover {
        -webkit-transition-delay: 0.1s;
        transition-delay: 0.1s;
        opacity: 1;
    }

   

    .snip1529:hover .date,
    .snip1529.hover .date {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    } */

.snip1529:nth-child(1) img {
    box-shadow: 10px 10px grey;
}

.subjects {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-around;
    align-items: stretch;
}

figure:nth-child(1) figcaption {
    background-color: var(--bs-cyan);
}

figure:nth-child(2) figcaption {
    background-color: var(--bs-pink);
}

figure:nth-child(3) figcaption {
    background-color: var(--bs-teal)
}

figure:nth-child(1) {
    border: 1px solid var(--bs-cyan);
}

figure:nth-child(2) {
    border: 1px solid var(--bs-pink);
}

figure:nth-child(3) {
    border: 1px solid var(--bs-teal);
}

figcaption h4 {
    color: var(--bs-white);
    text-shadow: 2px 2px 14px grey;
    text-align: center;
}