

/* Start:/bitrix/templates/university_default/components/bitrix/menu/my_menu_horizontal1/style.css?17516206145431*/
/* Обёртка с фоном и тенями */
.custom-horizontal-menu-wrapper {
    background-color: #fdfdfd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 25px 20px;
    margin: 10px 0 30px 0;
    text-align: left;
}

/* Заголовок меню */
.custom-menu-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
    padding-left: 10px;
}

/* Меню */
.custom-horizontal-menu {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
    border-bottom: none;
}

.custom-horizontal-menu-item {
    text-align: center;
    position: relative;
	flex: 0 1 auto;               /* allow shrink, no grow */
    min-width: none;             /* минимальная ширина пункта */
}

.custom-horizontal-menu-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    text-decoration: none;
    color: #444;
    font-size: 16px;
    font-weight: 500;
    min-height: 48px;
    border-radius: 6px;
    background-color: transparent;
    position: relative;
    text-align: left;
    transition: all 0.3s ease;
    white-space: normal;           /* разрешаем перенос текста */
    overflow-wrap: break-word;     /* перенос «длинных» слов */
    hyphens: auto;  
}

.custom-horizontal-menu-link.selected {
    color: #333;
    font-weight: 600;
    background-color: transparent;
    box-shadow: none;
}

@media (pointer: fine) {
    .custom-horizontal-menu-link.selected::after {
        content: '';
        position: absolute;
        bottom: 6px;
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
        height: 3px;
        background-color: #333;
        border-radius: 2px;
        transition: width 0.3s ease;
    }
}



.custom-horizontal-menu-link::after {
    content: none; /* удалена подмешивающаяся пустая полоска */
}

.custom-horizontal-menu-link:hover {
    color: #000;
    background-color: #f0f0f0;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

/* Подменю */
.custom-horizontal-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #333;
    z-index: 10;
    min-width: 160px;
}

.custom-horizontal-menu-item:hover .custom-horizontal-submenu {
    display: block;
}

.custom-horizontal-submenu-item {
    padding: 8px 12px;
}

.custom-horizontal-submenu-link {
    display: block;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.custom-horizontal-submenu-link:hover {
    background-color: #f0f0f0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .custom-horizontal-menu {
        flex-direction: column;
        align-items: center;
        display: flex;
        flex-wrap: wrap;          /* разрешаем перенос по строкам */
        justify-content: center;  /* центрируем ряды */
        gap: 10px;                /* отступы между пунктами */
        margin: 15px 0;
    }

    .custom-horizontal-menu-link {
        width: 100%;
        text-align: center;       /* текст по центру */
        font-size: 15px;
        padding: 12px 8px;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .custom-horizontal-menu-item {
      
        max-width: 100%;
    }

    .custom-menu-title {
        font-size: 20px;
        text-align: center;
        padding-left: 0;
    }
}

@media (max-width: 1024px) {
    .custom-horizontal-menu-link:hover,
    .custom-horizontal-menu-link:focus,
    .custom-horizontal-menu-link:active {
        color: inherit !important;
        background-color: transparent !important;
        transform: none !important;
        box-shadow: none !important;
        text-decoration: none !important;
    }

    .custom-horizontal-submenu-link:hover,
    .custom-horizontal-submenu-link:focus,
    .custom-horizontal-submenu-link:active {
        background-color: transparent !important;
    }

    .custom-horizontal-menu-item:hover .custom-horizontal-submenu,
    .custom-horizontal-menu-item:focus .custom-horizontal-submenu {
        display: none !important;
			border:none;
    }
    .custom-horizontal-menu-link.selected::after {
        content: none !important;
    }
}
@media (pointer: coarse), (hover: none) {
    .custom-horizontal-menu-link:hover,
    .custom-horizontal-menu-link:focus,
    .custom-horizontal-menu-link:active {
        color: inherit !important;
        background-color: transparent !important;
        transform: none !important;
        box-shadow: none !important;
        text-decoration: none !important;
		font-weight:600;
    }

    .custom-horizontal-submenu-link:hover,
    .custom-horizontal-submenu-link:focus,
    .custom-horizontal-submenu-link:active {
        background-color: transparent !important;
    }

    .custom-horizontal-menu-item:hover .custom-horizontal-submenu,
    .custom-horizontal-menu-item:focus .custom-horizontal-submenu {
        display: none !important;
    }
    .custom-horizontal-menu-link.selected::after {
        content: none !important;
    }
}

/* End */


/* Start:/bitrix/templates/university_default/components/bitrix/news.detail/sotrudnik_detail/style.css?17470393612737*/
.employee-detail-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin: 0 auto 20px auto;
    padding: 0 0px;
    max-width: 1200px;
}

.employee-detail__photo {
    flex: 1;
    max-width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0e0e0;
    border-radius: 10px;
}

.employee-detail__photo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.employee-detail__info {
    flex: 1;
    background-color: #fdfdfd;
    border-radius: 10px;
    padding: clamp(20px, 5vw, 40px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.employee-detail__name {
    padding-left: 20px;
    font-size: clamp(20px, 2.5vw, 25px);
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.employee-detail__column a {
    color: #007acc;
    text-decoration: none;
    word-break: break-word;
    overflow-wrap: break-word;
}

.employee-detail__link {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
}

.employee-detail__link:hover {
  
    text-decoration: none;
	color: #0078D7 !important;
}

.employee-detail__name:hover {
    color: #0078D7 !important;
}

.employee-detail__properties {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.employee-detail__column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.employee-detail__properties i,
.employee-detail__icon {
    margin-left: 30px;
    color: #666666;
    font-size: 22px;
}

.employee-detail__link:hover .employee-detail__icon {
    color: #0078D7;
}

.employee-detail__properties p {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    word-break: break-word;
    overflow-wrap: break-word;
}

.employee-detail__properties i {
    margin-right: 20px;
    color: #666666;
    font-size: 18px;
}
.employee-detail__photo-icon {
    font-size: 100px;
    color: #999;
    opacity: 0.5;
}

/* Медиа-запросы */
@media (min-width: 768px) {
    .employee-detail-wrapper {
        flex-direction: row;
    }

    .employee-detail__photo {
        flex: 1;
        max-width: 200px;
    }

    .employee-detail__properties {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .employee-detail__photo {
        flex: 1;
        max-width: 300px;
    }
}

@media (max-width: 767.98px) {
    .employee-detail__info {
        padding: 0px;
    }
.employee-detail__icon {
    margin-right: 50px;
}
}

/* End */


/* Start:/bitrix/templates/university_default/components/bitrix/news.detail/podrazdelenie/style.css?17440170841829*/
.contact-info-container {
    display: flex;
    flex-direction: column;
    background-color: #fdfdfd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    padding-left: 50px;
    max-width: 1200px;
}

@media (max-width: 768px) {
    .contact-info-container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.contact-title {
    padding-left: 10px;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.contact-content {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 10px;
}


.contact-info {
    flex: 1;
    font-size: 16px;
    z-index: 1;
    position: relative;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 0px;
}

.contact-info p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    color: #333;
    gap: 6px;
    word-wrap: break-word;
}

.contact-info i {
    margin-top: 2px;
    margin-right: 8px;
    font-size: 18px;
    color: #666666;
    transition: color 0.3s ease;
    flex-shrink: 0;
}


.contact-info p:hover i {
    color: #333;
}

.contact-info .address-icon {
    margin-right: 12px;
}

.contact-info a {
    color: #007acc;
    text-decoration: none;
    font-size: 16px;
    word-break: break-word;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
    max-width: 350px;
}

.contact-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    height: auto;
}

/* End */


/* Start:/bitrix/templates/university_default/components/bitrix/news.list/dostizhenija/style.css?17440191621940*/
.achievements {
    display: flex;
    flex-wrap: wrap; /* Разрешаем перенос элементов на новую строку */
    justify-content: space-around;
    text-align: center;
    margin-top: 50px;
    gap: 20px; /* Расстояние между элементами */
  	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	border-radius: 10px; /* Скругление углов */
	background-color: #fdfdfd;
}

.achievement {
    padding: 10px; /* Внутренние отступы */
    flex: 1 1 calc(33% - 40px); /* Гибкость и ширина элемента */
    margin-bottom: 10px; /* Отступ снизу */
}

.number_my {
    font-size: 50px; /* Увеличиваем размер цифр */
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.number_my::before {
    content: '';
    font-size: 50px; /* Увеличиваем размер иконки */
    font-weight: bold;
    position: absolute;
    left: -40px; /* Увеличиваем отступ слева */
    top: 50%;
    transform: translateY(-50%);
}

.description {
    font-size: 20px;
    color: #555;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 1024px) {
    .achievement {
        flex: 1 1 calc(50% - 40px); /* Два элемента в строке на средних экранах */
    }
}

@media (max-width: 768px) {
    .achievement {
        flex: 1 1 100%; /* Один элемент в строке на маленьких экранах */
    }

    .number_my {
        font-size: 36px; /* Уменьшаем размер цифр для маленьких экранов */
    }

    .number_my::before {
        font-size: 24px; /* Уменьшаем размер иконки для маленьких экранов */
        left: -30px; /* Уменьшаем отступ слева */
    }
}

/* End */


/* Start:/bitrix/templates/university_default/components/bitrix/catalog.section.list/my_list/style.css?17473934104466*/
/* Секция */
.custom-section {
    padding: 20px 0px;
}

.custom-section__title {
	font-size: calc(1.3125rem + 0.75vw);
    margin-bottom: 24px;
    font-weight: 500;
    color: #333;
}
@media (max-width: 1024px) {
   .custom-section__title {
        text-align: center !important;
    }

}
.custom-section__description {
    font-size: 16px;
    margin-bottom: 24px;
    color: #444;
}

.custom-grid {
    display: grid;
    grid-template-columns: 1fr; /* по умолчанию — 1 столбец */
    gap: 16px;
}

@media (min-width: 768px) {
    .custom-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 столбца начиная с 768px */
    }
}

/* Карточка */
.custom-card {
    background-color: #fdfdfd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, box-shadow 0.2s ease, transform 0.2s ease;
	 min-height: 200px; /* или подбери своё значение */
}

.custom-card:hover {
    background-color: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Контейнер внутри карточки */
.custom-card__content {
    display: flex;
    flex-direction: row;
    padding: 20px; /* меньше отступ */
    gap: 10px;
    align-items: center;
}


/* Обёртка изображения */
.custom-card__image-wrapper {
    width: 160px;
    height: 160px;
    overflow: hidden;
    border-radius: 12px;
    flex-shrink: 0;
}

/* Изображение */
.custom-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.custom-card:hover .custom-card__image {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Информационная часть */
.custom-card__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.custom-card__title {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 4px;
    color: #666 !important;
    letter-spacing: 0.2px;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    white-space: normal;
    transition: color 0.2s ease;
}

.custom-card__title a {
    color: inherit;
    text-decoration: none !important;
    transition: color 0.2s ease;
    display: inline-block;
}

/* При наведении на карточку — меняем цвет заголовка */
.custom-card:hover .custom-card__title a {
color: #333 !important;
}


.custom-card__description {
    font-size: 14px;
    color: #555;
    margin: 2px 0;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    white-space: normal;
    line-height: 1.4;
    transition: opacity 0.2s ease;
}

.custom-card:hover .custom-card__description {
    opacity: 0.95;
}


/* Счётчик (если используется) */
.custom-card__count {
    font-size: 14px;
    color: #888;
    margin-left: 6px;
}
/* Описание */
.custom-card__description {
    font-size: 14px;
    color: #555;
    margin: 2px 0;
    overflow-wrap: anywhere;
    white-space: normal;
}
/* Списки внутри описания */
.custom-card__description ul {
    margin: 6px 0 !important;
    padding-left: 16px !important;
    list-style: disc !important;
    list-style-position: outside !important;
}
.custom-card__description li {
    margin: 2px 0 !important;
    line-height: 1.8 !important;
    color: #333 !important;
}
@media (max-width: 768px) {
		    .custom-card__title {
        text-align: center;
        width: 100%;
    }
	    .custom-card__image-wrapper {
        margin-bottom: 12px;
    }
    .custom-card__content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .custom-card__info {
        align-items: flex-start; /* меняем на выравнивание по левому краю */
        text-align: left; /* текст по левому краю */
        width: 100%;
    }

    .custom-card__description {
        text-align: left; /* описание по левому краю */
    }
}

.custom-card__description ul {
    margin: 6px 0 !important;
    padding-left: 10px !important;
    
}

.custom-card__description li {
    margin: 2px 0 !important;
    line-height: 1.8 !important;
    color: #333 !important;
}

/* End */
/* /bitrix/templates/university_default/components/bitrix/menu/my_menu_horizontal1/style.css?17516206145431 */
/* /bitrix/templates/university_default/components/bitrix/news.detail/sotrudnik_detail/style.css?17470393612737 */
/* /bitrix/templates/university_default/components/bitrix/news.detail/podrazdelenie/style.css?17440170841829 */
/* /bitrix/templates/university_default/components/bitrix/news.list/dostizhenija/style.css?17440191621940 */
/* /bitrix/templates/university_default/components/bitrix/catalog.section.list/my_list/style.css?17473934104466 */
