

/* Start:/local/templates/modern_green_s1/css/acquaintance-style.css?17779083988562*/
.sa-block img {
    max-width: 100%;
}

.sa-block a {
    color: inherit;
    text-decoration: none;
}

/* Блок */
.sa-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    background-color: #ededed;
    margin-bottom: 30px;
}

.profile__card {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
}

.profile__card_img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.profile__card-content {
    text-align: center;
    color: #fff;
}

/*.profile__card-content h4 span {*/
.profile__card-content span {
    display: block;
    margin-bottom: .6rem;
    text-transform: none;
    font-weight: normal;
    font-size: 160%;
    line-height: 110%;
}

.profile__card .profile__card-content {
    position: absolute;
    top: 15px;
    left: 15px;
    height: calc(100% - 30px);
    width: calc(100% - 30px);
    max-width: calc(100% - 30px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 0;
    padding: 5px;
    box-sizing: border-box;
    background-color: rgba(128, 47, 105, .80);
    transform: scale(0);
    transition: transform .35s ease-in-out;
}

.profile__card.sa-show .profile__card-content {
    transform: scale(1);
}

.fade {
    transition: opacity .15s linear;
}

.modal__open {
    bottom: 22px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}

.modal__trigger {
    position: absolute;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.modal__trigger svg {
    height: 40px;
    width: 40px;
}

/* Модальное окно */
.fade {
    transition: opacity .15s linear;
}

.stud-modal {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1060;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    opacity: 0;
    transition: opacity 0.4s ease-in-out, width 0.4s ease-in-out, height 0.4s ease-in-out;
}

.stud-modal__trigger {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.stud-modal__header .stud-modal__trigger svg {
    transform: rotate(45deg);
}

.stud-modal__open {
    bottom: 30px;
}

.stud-modal__trigger svg {
    height: 40px;
    width: 40px;
}

.stud-modal__open {
    bottom: 22px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}

.stud-modal__trigger {
    background: none;
    border: 0;
    z-index: 20;
}

.stud-modal__trigger svg {
    height: 40px;
    width: 40px;
}

.stud-modal__header {
    align-items: stretch;
    flex-direction: column;
    background-color: #802f69;
    color: #fff;
}

.stud-modal__header h4 {
    font-size: calc(9px + 1vw);
}

.stud-modal__header,
.stud-modal__descr {
    display: flex;
    padding: 30px;
}

.stud-modal__logo {
    display: flex;
    margin: 0;
    justify-content: center;
}

.stud-modal__logo img {
    width: 100%;
    height: auto;
    max-width: 200px;
}

.stud-modal__header h4 span {
    display: block;
    font-weight: normal;
    font-size: calc(22px + 1.7vw);
    margin-bottom: calc(20px + 1vw);
}

.stud-modal__content {
    display: flex;
    flex-direction: column;
}

.stud-modal__content .profile__image img {
    border-radius: 0;
    width: 100%;
}

.stud-modal__descr {
    flex-direction: column;
}

.stud-modal__title {
    text-align: center;
}

.profile__image {
    margin: 0;
    margin-bottom: 30px;
}

.stud-modal__text p {
    padding-right: 0;
}

.stud-modal__text .strong {
    margin-top: 0;
    font-weight: bold;
}

.stud-modal__header .stud-modal__close {
    position: absolute;
    right: 15px;
    top: 15px;
}

.stud-modal.active {
    display: block;
    opacity: 1;
}


/* Медиа-запрос для адаптации к более широким экранам */
@media only screen and (min-width: 768px) {

    .sa-block {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Модалка */
    .stud-modal__header {
        position: relative;
        align-items: center;
        flex-direction: row;
    }

    .stud-modal__descr {
        flex-direction: row;
    }

    .stud-modal__logo {
        flex: 1;
        margin-right: 6%;
        margin-left: 6%;
    }

    .stud-modal__title,
    .stud-modal__text {
        flex: 2;
    }

    .profile__image {
        flex: 1;
        margin-right: 6%;
        margin-left: 6%;
    }

    .stud-modal__content .profile__image img {
        border-radius: 50%;
        -o-object-fit: cover;
        object-fit: cover;
        width: 100%;
    }

    .stud-modal__text p {
        padding-right: 8%;
    }

    .stud-modal__title {
        text-align: left;
    }

    .stud-modal__trigger svg {
        height: 25px;
        width: 25px;
    }

    .stud-modal__trigger svg {
        height: 25px;
        width: 25px;
    }

}

@media only screen and (min-width: 992px) {

    .sa-block {
        display: block;
        position: relative;
        height: 330px;
    }

    .profile__card {
        position: absolute;
        width: 100px;
        height: 100px;
        border-radius: 50%;
    }

    .profile__card_img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .profile__card .profile__card-content {
        border-radius: 50%;
        box-sizing: border-box;
    }

    .cards {
        position: absolute;
    }

    .profile-1 .profile__card {
        width: 220px;
        height: 220px;
        top: 60px;
        left: 30px;
        font-size: 18px;
        z-index: 2;
    }

    .profile-2 .profile__card {
        width: 115px;
        height: 115px;
        top: 26px;
        left: 188px;
        font-size: 9px;
        z-index: 3;
    }

    .profile-3 .profile__card {
        width: 145px;
        height: 145px;
        top: 135px;
        left: 275px;
        font-size: 11px;
    }

    .profile-4 .profile__card {
        width: 227px;
        height: 227px;
        top: 80px;
        left: 385px;
        font-size: 19px;
    }

    .profile-5 .profile__card {
        width: 206px;
        height: 206px;
        top: 29px;
        left: 620px;
        font-size: 16px;
        z-index: 3;
    }

    .profile-6 .profile__card {
        width: 127px;
        height: 127px;
        top: 172px;
        left: 769px;
        z-index: 2;
        font-size: 9px;
    }

    .profile-7 .profile__card {
        width: 135px;
        height: 135px;
        top: 46px;
        left: 820px;
        z-index: 2;
        font-size: 9px;
    }

    .profile__card .profile__card-content {
        top: 10px;
        left: 10px;
        height: calc(100% - 20px);
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
        box-sizing: border-box;
    }

    .modal__trigger svg {
        height: 25px;
        width: 25px;
    }

    /* Модалка */
    .stud-modal__text .strong {
        margin-top: 40px;
    }

    .stud-modal__text {
        font-size: 18px;
    }

}

@media (min-width: 1280px) {

    .sa-block {
        height: 400px;
    }

    .profile-1 .profile__card {
        width: 265px;
        height: 265px;
        top: 99px;
        left: 30px;
        font-size: 19px;
    }

    .profile-2 .profile__card {
        width: 138px;
        height: 138px;
        top: 36px;
        left: 228px;
        font-size: 10px;
    }

    .profile-3 .profile__card {
        width: 170px;
        height: 170px;
        top: 215px;
        left: 324px;
        font-size: 13px;
    }

    .profile-4 .profile__card {
        width: 273px;
        height: 273px;
        top: 91px;
        left: 467px;
        font-size: 20px;
    }

    .profile-5 .profile__card {
        width: 247px;
        height: 247px;
        top: 35px;
        left: 746px;
        font-size: 15px;
    }

    .profile-6 .profile__card {
        width: 150px;
        height: 150px;
        top: 210px;
        left: 930px;
        font-size: 10px;
    }

    .profile-7 .profile__card {
        width: 160px;
        height: 160px;
        top: 59px;
        left: 1013px;
        font-size: 10px;
    }

}
@media (max-width:767px){
   .card__picture_type_full-bg-img{
    min-height: 272px;
   }
}
.header__phone-link small{
  opacity: 1!important;
}
.admission-campaign__item-phone small{
  opacity: 1!important;
}
.header__phone-link small small{
  opacity: 1!important;
}
/* End */
/* /local/templates/modern_green_s1/css/acquaintance-style.css?17779083988562 */
