.our_teammate_block {
}
.doctor_card {
    display: grid;
    grid-template-columns: 370px 1fr 1fr;
    grid-template-rows: minmax(71px, max-content) max-content max-content max-content max-content;
}
.doctor_card p {
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #2D2D2D;
}
.doctor_name_and_btn {
    grid-row: 1/2;
    grid-column: 1/4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 61px;
    max-height: max-content;
    margin-bottom: 41px;
}
.doctor_name {
    font-weight: 800;
    font-size: 34px;
    line-height: 41px;
    text-transform: uppercase;
    color: #2D2D2D;
}
.doctor_card-btn {
    width: 270px;
    height: 61px;
    background: #4456F8;
    box-shadow: 10px 10px 30px #757575;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    color: #FFFFFF;
}
.doctor_photo {
    grid-row: 2/4;
    grid-column: 1/2;
    width: 100%;
    max-width: 370px;
    margin-right: 30px;
    height: 100%;
    max-height: 484px;
}
.doctor_info_text_block {
    padding-left: 30px;
    grid-column: 2/4;
    grid-row: 2/3;
}
.doctor_info-text {
    margin-bottom: 26px;
}
.doctor_services_title_and_list {
    padding-left: 30px;
    grid-row: 3/4;
    grid-column: 2/4;
}
.doctor_services_list-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
    color: #2D2D2D;
    margin-bottom: 26px;
}
.doctor_services-list {
}
.doctor_services_list-item {
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #2D2D2D;
    margin-bottom: 20px;
    background: url(/img/icons/our_teammate_list_icon.svg) no-repeat;
    background-position: bottom 0px left 0px;
    padding-left: 31px;
}
.doctor_seotext {
    grid-column: 1/4;
    grid-row: 4/5;
    margin-top: 20px;
}
.doctor_seotext-text {
    margin-bottom: 26px;
}
.doctor_sertificates {
    padding-top: 14px;
    grid-row: 5/6;
    grid-column: 1/4;
}
.doctor_sertificates-title {
    font-weight: 800;
    font-size: 34px;
    line-height: 41px;
    text-transform: uppercase;
    color: #2D2D2D;
}
.doctor_sertificates-list {
    margin-top: 40px;
    margin-bottom: 200px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 10px;
}
.doctor_sertificates_list-item {
    width: calc(100%/3 - 30px);
    max-width: 370px;
    height: 247px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    background: url(/img/icons/no_photo_icon.svg) no-repeat;
    background-position: center center;
}
.sertificates_photo {
}
.our_services {
    display: none;
}
/* send message popup */
.send_message_popup__bg {
    position: fixed;
    z-index: 9999999999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s all;
}
.send_message_popup__bg._active {
    opacity: 1;
    pointer-events: all;
    transition: 0.5s all;
}
.send_message_popup {
    position: absolute;
    width: 770px;
    height: 495px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #FFFFFF;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    transition: 0.5s all;
}
.send_message_popup._active {
    transform: translate(-50%, -50%) scale(1);
    transition: 0.5s all;
}
.send_message_popup._finish {
    background-color:#4456F8;
    background-image: url(/img/cards_bg.svg);
}
.send_message_popup-finish_text {
    display: none;
    opacity: 0;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
}
.send_message_popup._finish .send_message_popup-finish_text {
    opacity: 1;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.send_message_popup._finish .send_message_popup-title, .send_message_popup._finish .send_message_popup-btn, 
.send_message_popup._finish .send_message_popup-input_tel, .send_message_popup._finish .send_message_popup-input_time,
.send_message_popup._finish .send_message_popup-input_name {
    opacity: 0;
}
.send_message_popup * {
    display: block;
}
.send_message_popup-container {
    position: relative;
    width: 100%;
    height: 100%;
}
.close-send_message_popup {
    display: block;
    margin-right: 32px;
    margin-left: auto;
    margin-top: 28px;
    width: 24px;
    height: 24px;
    color: #DBDBDB;
    font-size: 44px;
    line-height: 24px;
    text-align: center;
    transition: 0.7s;
    cursor: pointer;
}
.close-send_message_popup:hover {
    color: #858585;
    transition: 0.7s
}
.close-send_message_popup span {
    transform: rotate(45deg);
}
.send_message_popup-title {
    padding-top: 32px;
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    text-transform: uppercase;
    color: #000000;
}
.send_message_popup-title br {
    display: none;
}
.send_message_popup-form {
    margin-top: 38px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: 0 68px;
}
.send_message_popup-form label {
    opacity: 0;
}
.send_message_popup-form input {
    margin-bottom: 5px;
}
.send_message_popup-flexbox {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.send_message_popup-flexbox:last-of-type {
    width: 80%;
}
.send_message_popup-label_name {
}
.send_message_popup-input_name {
    border: 1px solid #D5D5D5;
    border-radius: 50px;
    width: 234px;
    height: 61px;
    text-align: center;
    margin-bottom: 20px;
}
.send_message_popup-input_name:focus, .send_message_popup-input_tel:focus, .send_message_popup-input_time:focus {
    border: 1px solid #2D2D2D;
}
.send_message_popup-input_name:focus::placeholder, .send_message_popup-input_tel:focus::placeholder, 
.send_message_popup-input_time:focus::placeholder {
    opacity: 0;
}
.send_message_popup-label_tel {
}
.send_message_popup-input_tel {
    border: 1px solid #D5D5D5;
    border-radius: 50px;
    width: 234px;
    height: 61px;
    text-align: center;
    margin-bottom: 20px;
}
.send_message_popup-label_time {
}
.send_message_popup-input_time {
    border: 1px solid #D5D5D5;
    border-radius: 20px;
    width: 100%;
    height: 110px;
    margin: 30px auto 5px;
    padding: 12px 10px;
    resize: none;
}
.send_message_popup-btn {
    display: block;
    margin: 20px auto 0;
    background: #8A8A8A;
    border-radius: 30px;
    width: 222px;
    height: 54px;
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
    color: #FFFFFF;
}
.error {
    border: 1px solid #B51B1B !important;
}
@media (max-width: 1366px) {
    .doctor_name {
        margin-right: 30px;
    }
}
@media (max-width: 970px) {
    .doctor_card-btn {
        margin-right: 30px;
    }
    .our_services {
        display: flex;
    }
}
@media (max-width: 768px) {
    .send_message_popup {
        width: 90vw;
        height: max-content;
        padding-bottom: 20px;
    }


    .doctor_card {
        /* display: grid;
        grid-template-columns: 320px 1fr;
        grid-template-rows: minmax(75px, max-content) 380px 1fr 1fr max-content; */
    }
    .doctor_name_and_btn {
        grid-row: 1/2;
        grid-column: 1/4;
    }
    .doctor_name {
        margin-right: 0;
        width: calc(100% - 300px);
    }
    .doctor_card-btn {
        width: 270px;
    }
    .doctor_photo {
        grid-row: 2/3;
        grid-column: 1/2;
        width: 100%;
        max-width: 370px;
        margin-right: 30px;
        height: 100%;
        max-height: 484px;
    }
    .doctor_services_title_and_list {
        align-self: center;
        grid-row: 2/3;
        grid-column: 2/4;
    }
    .doctor_services_list-title {
        display: none;
    }
    .doctor_info_text_block {
        padding-left: 0;
        margin-top: 30px;
        grid-row: 3/4;
        grid-column: 1/4;
    }
    .doctor_seotext {
        grid-row: 4/5;
        grid-column: 1/4;
    }
    .doctor_sertificates {
        display: grid;
        grid-row: 5/6;
        grid-column: 1/4;
    }
    .doctor_sertificates_list-item {
        width: calc(50% - 30px);
        margin-bottom: 30px;
    }
}
@media (max-width: 574px) {
    .send_message_popup-title br {
        display: block;
    }
    .send_message_popup-form {
        padding: 0;
    }
    .send_message_popup {
        width: 85vw;
        height: max-content;
        padding-bottom: 20px;
    }
    .doctor_card {
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: repeat(5, max-content);
    }
    .doctor_photo {
        grid-row: 1/2;
        grid-column: 1/2;
        justify-self: center;
        margin: auto;
    }
    .doctor_name_and_btn {
        padding-top: 15px;
        grid-row: 2/3;
        grid-column: 1/2;
        flex-wrap: wrap;
        justify-content: start;
        max-height: 160px;
        justify-self: center;
    }
    .doctor_name {
        width: 95%;
        text-align: center;
        margin: 15px auto 0;
    }
    .doctor_card-btn {
        width: 270px;
        margin: 30px auto 0;
        justify-self: center;
    }
    .doctor_info_text_block {
        grid-column: 1/2;
    }
    .doctor_seotext {
        display: none;
        grid-column: 1/2;
    }
    .doctor_sertificates-list {
        
    }
    .doctor_sertificates_list-item {
        width: 100%;
        margin-bottom: 30px;
        font-weight: 500;
        font-size: 18px;
        line-height: 22px;
        width: 100%;
        margin: 0 auto 20px;
    }
    .doctor_services_title_and_list {
        margin: 60px auto 0;
        width: 95%;
        grid-row: 3/4;
        grid-column: 1/2;
    }
    .doctor_info_text_block {
        grid-row: 4/5;
        grid-column: 1/2;
        font-weight: 500;
        font-size: 18px;
        line-height: 22px;
    }
    .doctor_sertificates-title {
        text-align: center;
        font-weight: 700;
        font-size: 20px;
        line-height: 24px;
    }
}
@media (max-width: 480px) {
    .doctor_name {
        font-weight: 700;
        font-size: 20px;
        line-height: 24px;
    }
}