﻿
.ld-smash-sales-teacher-shortage {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-around;
    align-items: stretch;
    gap: 10px;
}

.ld-smash-sales-teacher-shortage-section {
    width: 50%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding-top: 15px;
}

    .ld-smash-sales-teacher-shortage-section > div:first-child {
        background: #f6f6f6;
        padding: 15px;
        border-radius: 10px 10px 0 0;
        flex: 1;
        /*min-height: 200px;*/
    }

        .ld-smash-sales-teacher-shortage-section > div:last-of-type {
            /*background: #fef8f0;*/
            position: relative;
            padding: 15px;
        }

        .ld-smash-sales-teacher-shortage-section > div:last-of-type:before {
            content: '';
            position: absolute;
            width: 100%;
            height: 70%;
            left: 0;
            top: 0;
            z-index: -1;
            border-radius: 0 0 10px 10px;
            background: #f6f6f6;
        }


    .ld-smash-sales-teacher-shortage-section:last-of-type > div:first-child,
    .ld-smash-sales-teacher-shortage-section:last-of-type > div:last-of-type:before {
        background: #fef8f0;
    }

    .ld-smash-sales-teacher-shortage-section h3 {
        margin-bottom: 15px;
    }

    .ld-smash-sales-teacher-shortage-section img {
        width: calc(200px + 30vh);
        max-width: 95%;
        border-radius: 10px;
    }

.ld-smash-sales-teacher-shortage .ld-smash-sales-book-a-consultation-btn {
    margin-top: 30px;
}

[data-section="teacherShortage"] {
    padding-bottom: 70px;
}

    [data-section="teacherShortage"] .ld-smash-sales-sub-text {
        margin-top: 40px;
    }

   /* [data-section="teacherShortage"] .ld-smash-sales-section-pf-center-f1 {
        flex: initial;
        margin-top: 30px;
    }*/


@media all and (max-height: 1000px) {
    
    [data-section="teacherShortage"] .ld-smash-deco-bottom-wave {
        margin: 0;
    }

}

@media all and (max-height: 750px) {

    .ld-smash-sales-teacher-shortage-section img {
        width: calc(200px + 18vh);
    }

    .ld-smash-sales-teacher-shortage-section > div:last-of-type {
        padding: 0;
    }
}


@media all and (max-height: 600px) {

    .ld-smash-sales-teacher-shortage-section > div:first-child {
        padding: 5px;
    }

    .ld-smash-sales-teacher-shortage-section h3 {
        margin-bottom: 5px;
    }
}

@media all and (max-width: 1000px) {
    .ld-smash-sales-teacher-shortage-section > div:first-child {
        padding: 5px;    
    }
}

@media all and (max-width: 600px) {
    .ld-smash-sales-teacher-shortage {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
    }

    .ld-smash-sales-teacher-shortage-section {
        margin-bottom: 20px;
        width: 100%;
    }

    [data-section="teacherShortage"] {
        padding-bottom: 80px;
    }

        [data-section="teacherShortage"] .ld-smash-sales-section-pf-center-f1 {
            padding-top: 15px;
        }

        [data-section="teacherShortage"] .ld-smash-sales-sub-text {
            margin-top: 20px;
        }
}
