﻿.banner {
    background: none;
    min-height: 0;
    padding: 0!important;
}

  
.red-label {
    color: white;
    display: inline-block;
    position: relative;
    z-index: 1;
    margin: 0 12px;
}


    .red-label::before {
        display: block;
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(0);
        transform-origin: center;
        width: 100%;
        height: 100%;
        padding: 1px 8px;
        box-sizing: content-box;
        background: #FF6505;
        z-index: -1;
        border-radius: 8px;
    }



.goodMoment-text-top {
    margin-bottom: 32px;
}

    .goodMoment-text-top p {
        color: #1A1A1A;
        font-size: 19px;
        font-weight: 400;
        line-height: normal;
    }

.goodMoment-text p {
    font-weight: 700;
}

.payment-banner {
    background: url("//cdn.specialist.ru/content/image/studentsday/banner-back.png") left center no-repeat;
    border-radius: 20px;
    min-height: 416px;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    background-size: cover;
}

    .payment-banner::after {
        display: block;
        content: "";
        width: 540px;
        min-height: 365px;
        background: url("//cdn.specialist.ru/content/image/studentsday/payment-front11.png") right 7px bottom 30px no-repeat;
        background-size: 98%;
        flex-shrink: 0;
        max-width: 100%;
    }

.payment-content {
    padding: 40px 0 40px 46px;
    max-width: 629px;
    display: flex;
    flex-direction: column;
}

.payment-banner-header {
    color: #FFF;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3; /* 52px */
    margin-bottom: 24px;
}

.payment-section-text {
    margin-bottom: 0;
    margin-top: auto;
}

    .payment-section-text p {
        color: #FFF;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.4; /* 22.4px */
        margin-bottom: 24px;
    }

        .payment-section-text p:last-child {
            margin-bottom: 0;
        }

.courses-section-name {
    color: #1A1A1A;
    font-size: 34px;
    font-weight: 700;
    line-height: normal;
    margin: 24px 0;
    cursor: pointer;
}

.learning-section {
    padding-bottom: 0;
}

.learning-section-header {
    text-align: center;
}

.learning-section-text {
    margin-bottom: 48px;
}

    .learning-section-text p {
        text-align: center;
        max-width: 960px;
        margin: 0 auto;
    }

.learning-bottom-frame {
    border-radius: 8px;
    border: 1px solid #0E88F2;
    background: #FFF;
    padding: 32px;
    position: relative;
    z-index: 2;
    transform: translateY(50%);
}

.conditions-section {
    /* padding-top: 120px;*/
}

.conditions-box {
    height: auto;
}

    .conditions-box::after {
        display: none;
    }

.learning-bottom-header {
    color: #1A1A1A;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
}

.course-item {
    border-radius: 20px;
}

.course-item-link {
    border-radius: 10px;
    border: 1px solid #346CE4;
    color: #346CE4;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    padding: 10px;
}

@media (max-width: 480px) {
    .courses-section-name {
        font-size: 24px;
    }

    .learning-item h3 {
        word-break: break-all;
    }

    .page-section-header{
        font-size: 24px;
    }

    .goodMoment-text-top p{
        font-size: 15px;
    }

    .goodMoment-text{
        padding-left: 16px;
    }
}
