﻿.main-container {
    padding-top: 70px;
    margin-bottom: 140px;
}

.container {
    max-width: 1189px;
    margin: 0 auto;
}

.blue-text {
    color: #0E88F2;
}

.banner-section {
    margin-bottom: 32px;
}

.banner {
    min-height: 414px;
    /*background: linear-gradient(95deg, #002063 -9.18%, #0F91FF 100%);*/
    background: url("//cdn.specialist.ru/content/file/layouts/teachersDay/img/main-banner2024.png") left center no-repeat;
    padding: 20px 20px 20px 64px;
    display: flex;
    align-items: center;
}

.banner-content{
    max-width: 500px;
}

.banner-header {
    color: #FFF;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
}

.red-text {
    color: #FF6505;    
}

.banner-subheader {
    color: #FFF;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
}

.second-section {
    border-radius: 8px;
    border: 1px solid #0E88F2;
    padding: 32px;
    margin-bottom: 64px;
}

.second-section-header {
    color: #1A1A1A;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.second-section-text p {
    color: #1A1A1A;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.6;
}

.third-section{
    margin-bottom: 48px;
}

.third-section-header {
    color: #1A1A1A;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 32px;
}

.third-section-text{
    border-left: 4px solid #0E88F2;
    padding-left: 32px;
}

    .third-section-text p {
        color: #000;       
        font-size: 19px;
        font-weight: 400;
        line-height: 1.2;
        margin-bottom: 14px;
    }

    .third-section-text p:last-child {
        margin-bottom: 0;
    }

    .third-section-text cite{
        font-weight: 500;
    }
    .step-section {
        margin-bottom: 48px;
        padding: 32px;
    }

.step-blue-section {
    border-radius: 8px;
    background: linear-gradient(270deg, #EDEEF9 1.23%, #F2F9FC 100%);   
}

.step-header {
    color: #0E88F2;
    font-size: 34px;
    font-weight: 400; 
    margin-bottom: 20px;
}

.step-subheader {
    color: #1A1A1A;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.step-text{
    margin-bottom: 14px;
}

.step-text p {
    color: #1A1A1A;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.2;
}

.step-conditions-header {
    color: #1A1A1A;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.step-conditions-list{
    list-style-type: disc;
    margin-bottom: 20px;
    padding-left: 20px;
}

.step-conditions-list li {
    color: #1A1A1A;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 6px;
}

.step-text-latest{
    margin-bottom: 0;
}

.step-text-latest p{
    margin-bottom: 14px;
}

    .step-text-latest p:last-child{
        margin-bottom: 0;
    }

.step-form-section{
    display: flex;
    justify-content: space-between;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
}

.step-block-left {
    width: 50%;
    /*background: linear-gradient(95deg, #002063 -9.18%, #0F91FF 100%);*/
    background: url("//cdn.specialist.ru/content/file/layouts/teachersDay/img/form-banner.png") left center no-repeat;
    padding: 36px 32px;
    background-size: cover;
}

.step-block-right {
    width: 50%;
    padding: 36px 32px;
    background: linear-gradient(270deg, #EDEEF9 1.23%, #F2F9FC 100%);
}


.step-form-section .step-header, .step-form-section .step-subheader {
    color: white;
    max-width: 520px;
}

.step-form-section .step-subheader {
    margin-bottom: 0;
}

.step-block-right .input-wrapper{
    margin-bottom: 12px;
}

.step-block-right input:not([type="checkbox"]) {
    display: block;
    width: 100%;
    height: 52px;
    padding: 15px 20px;
    border-radius: 4px;
    border: 1px solid #E3E7ED;
    background: #FFF;
    color: #1A1A1A;
    font-size: 18px;
    font-weight: 500;    
}

.step-block-right input[type="checkbox"] {
    width: 10px;
    height: 10px;
    border: 1px solid #E3E7ED;
}

.form-bottom{
    display: flex;
    align-items: center;
    padding-top: 10px;
}

.agree-wrapper {
    margin-right: 16px;
    color: #33393E;
    font-size: 12px;
    font-weight: 400;
    line-height: 120%; /* 14.4px */
}

.send-form-button {
    display: block;
    border-radius: 4px;
    border: 1px solid #FF6505;
    background: #FF6505;
    color: #FFF;
    text-align: center;
    font-size: 18px;
    font-weight: 600;    
    padding: 12px;
    width: 144px;
    flex-shrink: 0;
}

.simple-section{
    margin-bottom: 80px;
}

.simple-section-text p {
    color: #1A1A1A;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.2; /* 22.8px */
    margin-bottom: 14px;
}

.simple-section-text p:last-child {
    margin-bottom: 0;
}
    .simple-section-text p strong{
    font-weight: 700;
}

.conditions-header {
    color: #33393E;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 48px;
}

.conditions-box {
    height: 220px;
    overflow: hidden;
    position: relative;
}

    .conditions-box::after {
        display: block;
        content: '';
        width: 100%;
        height: 200px;
        background: linear-gradient(0deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%);
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .conditions-box.active {
        height: auto;
        overflow: visible;
        margin-bottom: 48px;
    }

        .conditions-box.active::after {
            display: none;
        }

.conditions-inner-list{
    padding-top: 16px;

}

.all-conditions-button {
    display: block;
    border-radius: 4px;
    background: #F1F6FC;
    width: 100%;
    border: none;
    padding: 15px;
    color: #33393E;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.conditions-list {
    list-style-type: none;
    color: #33393E;
    font-size: 19px;
    line-height: 1.47;
    counter-reset: section;
}

    .conditions-list p {
        color: #33393E;
        font-size: 19px;
        line-height: 1.47;
    }

    .conditions-list > li {
        margin-bottom: 24px;
        position: relative;
        padding-left: 40px;
    }

        .conditions-list > li::before {
            display: block;
            color: #005586;
            font-size: 19px;
            font-weight: 600;
            counter-increment: section;
            content: counters(section, ".") " .";
            position: absolute;
            top: 0;
            left: 0;
        }


    .conditions-list h3 {
        color: #33393E;
        font-family: Montserrat;
        font-size: 19px;
        font-style: normal;
        font-weight: 700;
        margin-bottom: 16px;
        line-height: 1.47;
    }

    .conditions-list ul > li {
        padding-left: 24px;
        position: relative;
    }

        .conditions-list ul > li::before {
            display: block;
            content: "";
            width: 2px;
            height: 2px;
            position: absolute;
            top: 14px;
            left: 10px;
            background: #33393E;
        }

/*попап*/
.activation-popup {
    display: none;
    position: fixed;
}

    .activation-popup.active {
        display: block;
    }

.activation-popup-shadow {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, .5);
}

.activation-popup-body {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 15px;
    width: 80%;
    max-width: 1027px;
    padding: 70px;
    padding-top: 110px;
    max-height: 100vh;
    overflow: auto;
}

.activation-popup-close {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 40px;
    padding: 20px;
    border: none;
    background: transparent;
    line-height: 1;
    cursor: pointer;
    color: #506176;
}

    .activation-popup-close:hover, .activation-popup-close:focus {
        color: black;
    }

.activation-popup-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.activation-popup-content-left {
    margin-right: 20px;
    max-width: 506px;
}

.activation-popup-content::after {
    display: block;
    content: "";
    width: 318px;
    height: 226px;
    flex-shrink: 0;
    background: url("img/popup-cert.png") center center no-repeat;
}

.activation-popup-header {
    margin: 0 0 20px 0;
    font-weight: 600;
    font-size: 46px;
    line-height: 1.2;
    color: #005586;
    text-align: center;
}

.activation-popup-text p {
    margin: 0;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.5;
    color: #2B2E35;
}

    .activation-popup-text p strong {
        font-weight: 700px;
    }

@media (max-width: 1230px) {
    .container {
        padding: 0 20px;
    }
}
@media (max-width: 846px){
    .step-form-section{
        display: block;
        padding: 0;
    }

    .step-block-left, .step-block-right{
        width: 100%;
    }
}

@media (max-width: 650px) {
    .conditions-list > li {
        padding-left: 40px;
    }
}

@media (max-width: 480px){
    .banner{
        padding: 60px 20px;
        min-height: 0;
    }
    .banner-header {
        font-size: 30px;
    }

    .step-block-left, .step-block-right{
        padding: 26px 20px;
    }

    .form-bottom {
        display: block;
    }

    .agree-wrapper{
        margin-right: 0;
        margin-bottom: 20px;
    }

    .send-form-button{
        width: 100%;
    }

    .step-blue-section{
        padding: 26px 20px;
    }

    .step-conditions-list span{
        word-break: break-all;
    }

    .third-section-header{
        font-size: 30px;
    }
}

.loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(255, 255, 255, .4);
    z-index: 5;
}

    .loader.active {
        display: block;
    }







