

/* Start:/local/components/gasu/raspisanie.csv/templates/new_rasp/style.css?16703196482755*/
/*
.buttons{
    display: flex;
    flex-wrap: wrap;    
}
.buttons > div{
    padding: 16px;
    font-size: 24px;
    cursor: pointer;
    margin-right: 20px;
    margin-bottom: 20px;
}
.buttons > div.active{
    border-bottom: 2px solid #aa3c24;
}
.main_rasp{
        margin: 0px 15px;
}
.main_rasp .block{
    text-align: left;
    vertical-align: text-top;
    background-color: #6d7782;
    cursor: pointer;
    font-size: 13px;
    color: #fff;
    padding: 20px 10px;
    min-width: 120px;
    margin-right: 3px;
    margin-bottom: 3px;
    text-align: center;
}
.main_rasp .block.week{
    padding: 20px;
}
.main_rasp .block:last-child{
    margin-right: 0px;
}
.main_rasp .block:hover{
    background-color: #aa3c24;
}

.main_rasp .block.active{
    background-color: #aa3c24;
}

.main_rasp .weeks{
    flex-wrap: nowrap;
}
.main_rasp .weeks > div{
    display: flex;
}
.main_rasp .weeks div:last-child{
    justify-content: flex-end;
    flex-grow: 1;
}
.main_rasp .time{
    text-align: right;
}




.predmets .days{
    display: flex;
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 3px solid #aa3c24;
}
.predmets .week_day{
    position: relative;
    width: 80px;
    padding-top: 27px;
}
.predmets .week_day div{
    text-align: center;
    color: #aa3c24;
    font-size: 20px;
    font-weight: bold;
}

.predmets .days .lessons{
    width: 100%;
}

.predmets .days .lessons .lesson{
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #aa3c24;
    padding-bottom: 10px;
    padding-top: 20px;
    align-items: center;    
}
.predmets .days {

}
.predmets .days:last-child{
    border-bottom: none;
}
.predmets .days .lessons .lesson:last-child{
    border-bottom: none;
}
.predmets .days .lessons .lesson div{
    text-align: center;
    flex-basis: 150px;
    margin: 0px 15px;
}
.predmets .days .lessons .lesson div:nth-child(4){
    flex-basis: 100px;
}
.predmets .days .lessons .lesson div:nth-child(2){
    flex-grow: 1;
}


@media (max-width: 768px){

    .header_rasp h1{
        font-size: 22px;
    }
    .predmets .week_day {
        width: 30px;
    }
    
    .predmets .days .lessons .lesson div{
        text-align: center;
        flex-basis: 100px;
        font-size: 13px;
        margin: 0px 5px;
    }
    .predmets .days .lessons .lesson div:nth-child(4){
        flex-basis: 50px;
    }
    .predmets .week_day div {
        font-size: 16px;
    }
}

@media (max-width: 768px){
    .facultets{
        flex-direction: column;
    }
    .facultets .block{
        width: 100%;
    }
}

#search, #search_auditories, #search_professors{
    margin-bottom: 20px;
}

 LZ 270921 
@media (min-width: 576px) {
    #rasp_main_block .col-sm-2 {
        max-width: initial;
    }
}*/
/* End */


/* Start:/local/components/gasu/events.announce/templates/.default/style.css?17896443828607*/
.events-announce {
    font-family: Arial, sans-serif;
    margin: 20px 0;
}

.events-announce-header {
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.events-announce-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* Сетка карточек - смешанный режим (обычные карточки и превью) */
.events-announce-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
    padding: 0;
}

/* Карточка мероприятия (кубик) */
.event-card {
    position: relative;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    flex: 1 1 300px;
    min-width: 300px;
    max-width: 300px;
    height: 300px;
}

.event-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
    border-color: #007bff;
}

/* Заголовок карточки с иконкой */
.event-card-header {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
}

/* Иконка-превью изображения */
.event-card-image-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    background-color: #f5f5f5;
}

.event-card-image-thumb:hover {
    border-color: #007bff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.event-card-image-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Иконка увеличения */
.image-zoom-icon {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 14px;
    padding: 2px 4px;
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-card-image-thumb:hover .image-zoom-icon {
    opacity: 1;
}

.event-card-inner {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.event-card-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.event-card-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
}

.event-info-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}

.event-info-row:last-child {
    border-bottom: none;
}

.event-info-label {
    font-size: 10px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-info-value {
    font-size: 13px;
    color: #333;
    line-height: 1.3;
}

.events-announce-empty {
    padding: 40px 20px;
    text-align: center;
    color: #999;
    font-style: italic;
    grid-column: 1 / -1;
}

.event-lazy-image {
    opacity: 0;
    transition: opacity 0.25s ease;
    background-color: #f0f0f0;
}

.event-lazy-image.is-loaded {
    opacity: 1;
}

.events-announce-more {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px 0 8px;
}

.events-announce-sentinel {
    width: 100%;
    height: 1px;
}

.events-announce-loader {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.events-announce-loader[hidden],
.events-announce-retry[hidden] {
    display: none !important;
}

.events-announce-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #d0d0d0;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: eventsAnnounceSpin 0.7s linear infinite;
}

@keyframes eventsAnnounceSpin {
    to { transform: rotate(360deg); }
}

.events-announce-retry {
    border: 1px solid #007bff;
    background: #fff;
    color: #007bff;
    border-radius: 6px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 14px;
}

.events-announce-retry:hover {
    background: #007bff;
    color: #fff;
}

/* Карточка в режиме "только превью" */
.event-preview-card {
    position: relative;
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.event-preview-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

/* Ссылка в режиме превью */
.event-preview-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.event-preview-link:hover {
    opacity: 0.95;
}

/* Изображение в режиме превью */
.event-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Заглушка если нет изображения */
.event-preview-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    color: #999;
    font-size: 18px;
    font-weight: 500;
}

/* Адаптивный дизайн */
@media (max-width: 1200px) {
    .events-announce-list {
        gap: 15px;
    }

    .event-card {
        flex: 1 1 300px;
        min-width: 300px;
        max-width: 300px;
        height: 300px;
    }

    .event-preview-card {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .events-announce-list {
        gap: 15px;
        justify-content: center;
    }

    .event-card {
        flex: 1 1 100%;
        min-width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 300px;
    }

    .event-preview-card {
        width: 100%;
        max-width: 300px;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .event-card-image-thumb {
        width: 55px;
        height: 55px;
    }

    .event-card-inner {
        padding: 12px;
    }

    .event-card-title {
        font-size: 13px;
    }

    .event-info-value {
        font-size: 12px;
    }

    /* Модальное окно для планшетов и мобильных */
    .event-modal-close {
        top: 10px;
        right: 15px;
        font-size: 35px;
    }

    .event-modal-content {
        max-width: 95%;
        max-height: 70vh;
    }

    .event-modal-caption {
        font-size: 16px;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .events-announce {
        margin: 10px 0;
    }

    .events-announce-header {
        margin-bottom: 15px;
    }

    .events-announce-title {
        font-size: 20px;
    }

    .event-card-image-thumb {
        width: 50px;
        height: 50px;
    }

    .event-preview-card {
        max-width: 100%;
    }

    .event-card-title {
        font-size: 12px;
    }

    .event-info-label {
        font-size: 9px;
    }

    .event-info-value {
        font-size: 11px;
    }
}

/* Модальное окно */
.event-modal[hidden] {
    display: none !important;
}

.event-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Кнопка закрытия */
.event-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
}

.event-modal-close:hover,
.event-modal-close:focus {
    color: #bbb;
}

/* Изображение в модальном окне */
.event-modal-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Подпись к изображению */
.event-modal-caption {
    margin-top: 20px;
    color: #fff;
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

/* End */
/* /local/components/gasu/raspisanie.csv/templates/new_rasp/style.css?16703196482755 */
/* /local/components/gasu/events.announce/templates/.default/style.css?17896443828607 */
