

/* Start:/local/components/ksrk/event.detail/templates/default/style.css?176528663422402*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#event_conteiner h1, 
#event_conteiner h2, 
#event_conteiner p ,
#event_conteiner span,
#event_conteiner a {
    font-family: Tahoma, sans-serif !important;
    /*color: #5a4f4f;*/
}
body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f2ede9;
}
#event_conteiner {
    display: block;
    max-width: 576px;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 30px;
    border: 0;
    padding: 0;
    font-size: 14pt;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
#event_conteiner .header_event {
    display: block;
    margin: 0;
    border: 0;
    padding: 0;
    text-align: center;
}
#event_conteiner .header_title {
    display: flex;
    flex-direction: row;
    justify-content: center;
	padding-top: 20px;
    position: relative;
    font-size: 30px;
	line-height: normal;
}
#event_conteiner .header_title::before {
    content: "";
    display: block;
    width: 100px;
    height: 2px;
    background: #b8860b;
    position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: -50px;
}
#event_conteiner .info_wrapper {
    margin: 20px auto;
    background: #f7f3ef;
    border-radius: 12px;
    padding: 0px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);    
}
#event_conteiner .header_time_link {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

#event_conteiner .header_event .header_time_link .date,
#event_conteiner .header_event .header_time_link .age_wrap,
#event_conteiner .header_event .header_time_link .albumlist .header_link,
#event_conteiner .header_event .header_time_link .return .header_link {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px;
    margin: 0px;
    gap: 10px;
}
#event_conteiner .header_event .header_time_link .date {
	display: flex;
    flex-direction: column;
	gap: 0px;
}
#event_conteiner .header_event .header_time_link .date img,
#event_conteiner .header_event .header_time_link .albumlist img,
#event_conteiner .header_event .header_time_link .return img {
    height: 20px;
    width: 20px;
}
#event_conteiner .header_event .header_time_link .age_wrap,
#event_conteiner .header_time {
    font-size: 16px;
    color: #b8860b;
    padding: 0;
}
#event_conteiner .header_event .header_time_link .age_wrap .age_number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
	margin: 0px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    background-color: #b8860b;
    border-radius: 50%;
    width: 32px;
    height: 32px;
}
#event_conteiner .header_event .header_time_link .age_wrap .age_text {
	margin: 0px;
}
#event_conteiner .header_link {
    display: inline-flex;
    align-items: center;
    padding: 0 20px 0 20px;
    gap: 10px;
    font-size: 16px;
    color: #b8860b;
    text-decoration: none;
    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease,
        color 0.3s ease;
}
#event_conteiner .start .header_link:hover,
#event_conteiner .albumlist .header_link:hover,
#event_conteiner .department .header_link:hover,
#event_conteiner .news .header_link:hover,
#event_conteiner .return .header_link:hover {
    transform: translateY(-3px);
}
#event_conteiner .image_wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    max-height: 500px;
    overflow: hidden;
}
#event_conteiner .header_image {
    display: block;
    margin: 0 auto;
    width: auto;
    max-height: 100%;
    max-width: 100%;
    position: relative;
    z-index: 2;
    object-fit: contain;
}
#event_conteiner .discription {
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 0 20px 0 20px;
    font-size: 1em;
    color: #333;
    text-align: justify;
    text-indent: 27pt !important;
}
/*Фотографии внутри описания*/
#event_conteiner .discription img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
#event_conteiner .discription figure,
#event_conteiner .discription .image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
#event_conteiner .discription figure img,
#event_conteiner .discription .image-container img {
    flex: 1 1 calc(50% - 10px);
}
/*Окончание блока "Фотографии внутри описания"*/
#event_conteiner .footer_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#event_conteiner .footer_link {
    display: flex;
    padding: 0px;
    padding: 12px 20px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #b8860b;
    text-align: left;
    text-decoration: none;
    background: #f7f3ef;
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
#event_conteiner .footer_link:hover {
    background: #fff8e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
body.no-scroll {
    overflow: hidden;
}
/* Фон */
.lightbox {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.lightbox.show {
    opacity: 1;
    pointer-events: auto;
}
.lightbox-frame {
    position: relative;
    width: auto;
    height: 90vh;
    max-width: 95vw; 
    aspect-ratio: 16 / 9;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 12px;
}
#lightbox-img {
    max-width: 100%;
    width: auto;
    height: 100%;
    border-radius: 12px;
    transform-origin: center center;
    transform: scale(0.4);
    transition: transform 0.4s ease;
    cursor: pointer;
}
.lightbox.show #lightbox-img {
    transform: scale(1);
}
@media (min-width: 576px) {
    #event_conteiner {
        max-width: 540px;

    }
    #event_conteiner .header_title {
        font-size: 32px;
        margin-bottom: 28px;
    }
    #event_conteiner .header_time_link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;
    }
    #event_conteiner .header_time,
    #event_conteiner .header_link {
        font-size: 15px;
        padding: 0;
    }
    #event_conteiner .header_image {
        max-width: 540px;
        width: 100%;
        margin-top: 16px;
    }
    #event_conteiner .discription {
        font-size: 1em;
        text-indent: 25pt;
        padding: 0 25px 0 25px;
    }
    #event_conteiner .footer_link a {
        font-size: 14px;
        padding: 25px;
    }
    .lightbox-frame {
        width: 95vw;
    }
}
@media (min-width: 768px) {
    #event_conteiner {
        width: 100%;
        max-width: 540px;
        margin: 0 auto;
    }
    #event_conteiner .header_title {
        margin-bottom: 20px;
        font-size: 28px;
    }
    #event_conteiner .header_time_link {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        margin-bottom: 12px;
        padding: 0 20px;
    }
    #event_conteiner .link_info {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
    }
    #event_conteiner .header_event .header_time_link .age_wrap,
    #event_conteiner .header_time,
    #event_conteiner .header_link {
        padding: 0;
        font-size: 14px;
    }
    #event_conteiner .image_wrapper {
        height: 600px;
        max-height: 600px;
        overflow: visible;
    }
    #event_conteiner .discription {
        font-size: 0.95em;
        text-indent: 20pt;
        padding: 0 30px 0 30px;
    }
    #event_conteiner .footer_link a {
        font-size: 14px;
        padding: 30px;
    }
    #event_conteiner .space {
        height: 2px;
        width: 20px;
        background-color: #b8860b;
    }
    .lightbox-frame {
        width: 90vw;
    }
	#event_conteiner .header_event .header_time_link .date {
		display: flex;
		flex-direction: row;
		gap: 20px;
	}
}
@media (min-width: 992px) {
    #event_conteiner {
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
        background: #ffffff;
    }
    #event_conteiner .header_title {
        font-size: 35px;
        margin-bottom: 40px;
    }
    #event_conteiner .header_time_link {
        margin-bottom: 20px;
        padding: 10px 30px;
    }
    #event_conteiner .link_info {
        margin-bottom: 20px;
        padding: 10px 30px;
    }
    #event_conteiner .header_event .header_time_link .age_wrap,
    #event_conteiner .header_time,
    #event_conteiner .header_link {
        font-size: 18px;
        padding: 0;
    }
    #event_conteiner .image_wrapper {
        height: 700px;
        max-height: 700px;
        overflow: visible;
    }
    #event_conteiner .header_image {
        max-width: 100%;
        width: 100%;
        margin: 0px auto;
        object-fit: contain;
        /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);*/
    }
    #event_conteiner .discription {
        font-size: 1.05em;
        text-indent: 28pt;
        padding: 0 35px 0 35px;
    }
    #event_conteiner .footer_link {
        padding: 10px 30px;
    }
    #event_conteiner .footer_link a {
        font-size: 18px;
        padding: 0 35px 0 35px;
    }
    #event_conteiner .header_event .header_time_link .date img,
    #event_conteiner .header_event .header_time_link .albumlist img,
    #event_conteiner .header_event .header_time_link .return img {
        height: 30px;
        width: 30px;
    }
    .lightbox-frame {
        width: 80vw;
    }
    #event_conteiner .link_info.open .left_disclosure {
        width: 32px;
        height: 32px;
    }
    #event_conteiner .link_info.open .left_disclosure .left_picture {
        width: 32px;
        height: 32px;
    }
    #event_conteiner .header_event .header_time_link .age_wrap .age_number  {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
}
@media (min-width: 1200px) {
    #event_conteiner {
        max-width: 900px;
        padding: 0;
        margin-bottom: 50px;
    }
    #event_conteiner .header_title {
        font-size: 40px;
        margin-bottom: 48px;
    }
    #event_conteiner .header_time_link {
        
        margin-bottom: 24px;
    }
    #event_conteiner .link_info {
        margin-bottom: 24px;
    }
    #event_conteiner .header_event .header_time_link .age_wrap,
    #event_conteiner .header_time,
    #event_conteiner .menu_panel .menu_title,
    #event_conteiner .header_link {
        font-size: 20px;
        padding: 0;
    }
    #event_conteiner .discription {
        font-size: 1.1em;
        text-indent: 32pt;
        padding: 0 40px 0 40px;
    }
    #event_conteiner .footer_link a {
        font-size: 20px;
        padding: 0 40px 0 40px;
    }
}
@media (min-width: 1400px) {
    #event_conteiner {
        max-width: 1140px;
        padding: 0;
    }
    #event_conteiner .header_title {
        font-size: 40px;
        margin-bottom: 52px;
    }
    #event_conteiner .header_time_link {
        
        margin-bottom: 28px;
    }
    #event_conteiner .link_info {
        margin-bottom: 28px;
    }
    #event_conteiner .header_event .header_time_link .age_wrap,
    #event_conteiner .header_time,
    #event_conteiner .header_link {
        font-size: 20px;
        padding: 0;
    }
    #event_conteiner .discription {
        font-size: 1.15em;
        text-indent: 36pt;
        padding: 0 48px 0 48px;
    }
    #event_conteiner .footer_link {
        font-size: 22px;
    }
}

/*-----------------
    Новости КСРК ВОС
  ----------------- */
#news {
    display: block;
    max-width: 576px;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 30px;
    margin-top: 30px;
    border: 0;
    padding: 0;
    font-size: 14pt;    
}
#news .news_title {
    display: block;
    position: relative;
    margin-bottom: 34px;
    font-size: 36px;
    line-height: 0.8889;
    text-align: center;
    font-weight: bold;
    color: #5a4f4f;
}
#news .news_title::before {
    content: "";
    display: block;
    width: 100px;
    height: 2px;
    background: #b8860b;
    position: absolute;
    bottom: -20px;
    left: 50%;
    margin-left: -50px;
}
#news .news_content{
    display: block;
    padding: 0px;
    margin: 0 auto 20px auto;
    max-width: 320px;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); 
    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease,
        color 0.3s ease;
}
#news .news_content:hover {
    transform: translateY(-3px);
}
#news .news_picture {
    display: block;
    position: relative;
    overflow: hidden;
    line-height: 1;
    height: 200px;
    width: 320px;
}
#news .picture {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
#news .news_link {
    display: block;
    width: 100%;
    height: 100%;
}
#news .link:hover {
    border: 2px solid #b8860b;
    color: #b8860b;
}
#news .description_wrap {
    padding: 25px 20px 30px 20px;
    position: relative;
    overflow: hidden;
    height: 274px;
}
#news .title {
    display: block;
    position: relative;
    margin: 0 -5px 10px -5px;
    max-height: 40px;
    width: 100%;
    font-size: 20px;
    line-height: 1;
    font-weight: bold;
    color: #5a4f4f;
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#news .news_date {
    display: block;
    height: 20px;
    line-height: 20px;
    font-size: 16px;
    color: #b8860b;
    text-align: center;
    margin-bottom: 18px;
}
#news .news_text {
    display: -webkit-box;        
    -webkit-box-orient: vertical; 
    -webkit-line-clamp: 4;       
    overflow: hidden;            
    text-align: justify;
    margin-bottom: 25px;
    line-height: 19px;
    height: 76px;
    font-size: 16px;
}
#news .link_wrap {
    display: block;
    line-height: 1;
    text-align: center;
}
#news .link {
    display: inline-block;
    padding: 0 10px;
    margin-top: 20px;
    min-width: 220px;
    height: 30px;
    border-width: 2px;
    font-size: 16px;
    line-height: 30px;
    border:2px solid #5a4f4f;
    color: #5a4f4f;
    text-decoration: none;
}
#news .link:hover {
    background: #b8860b;
    border-color: #b8860b;
    color: #fff;
}
@media (min-width: 992px) {
    #news {
        width: 100%;
        max-width: 1340px;
    }
    #news .news_list{
        position: relative;
        margin: 0 auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin: 0px;
        gap: 40px;
        padding-top: 25px;
    }
    #news .news_content{
        width: 400px;
        height: 500px;
        margin: 0px;
        margin-bottom: 20px;
        max-width: 500px;
    }
    #news .news_picture {
        height: 240px;
        width: 400px;
    }
    #departments .title {
        font-size: 20px;
        line-height: 20px;
    }
    #news .link {
        min-width: 240px;
        height: 40px;
        line-height: 38px;
        font-size: 18px;
        margin-top: 10px;
    }
}
/*----Список альбомов----*/
#news-album-list {
    width: 100%;
    padding: 0;
	margin: 0px;
    margin-bottom: 30px;
}
#news-album-list h1,
#news-album-list h2,
#news-album-list p,
#news-album-list count-icon {
  	font-family: Tahoma, sans-serif;
}
#news-album-list >.infomation {
	width: 100%;
	margin: 0 auto;
	padding: 0 20px;
}
#news-album-list >.infomation > .title {
	display: flex;
	justify-content: center;
	position: relative;
	padding: 15px;
	margin: 0px;
}
#news-album-list .line {
    position: relative;
	margin-bottom: 30px;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #b8860b;
}
/*#news-album-list > .title::before {
	content: "";
    display: block;
    width: 100px;
    height: 2px;
    background: #b8860b;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -50px;
}*/
#news-album-list ul li {
	padding: 0px;
	margin: 0px;
}
#news-album-list .album-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    gap: 20px;
    padding: 0 20px;
	transition: opacity 0.5s ease, transform 0.5s ease;
    list-style: none;
}
#news-album-list .album {
    width: 100%;
}
#news-album-list .album-list.hidden {
	display: none;
}
#news-album-list .album-list.show {
	display: flex;
    opacity: 1;
    transform: translateY(0);
	width: 100%;
    height: auto;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
#news-album-list .album .link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    overflow: hidden;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#news-album-list .album .link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
#news-album-list .album .link .cover {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}
#news-album-list .album .link .cover .picture {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#news-album-list .album .link .metadate {
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#news-album-list .album .link .metadate .title {
	margin: 0px;
    padding-bottom: 5px;
    font-size: 20px;
    font-weight: bold;
    display: -webkit-box;
    line-height: 1.5;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 120px;
    max-height: 120px;
    text-align: center;
}
/*#news-album-list .album .link .metadate .description {
    display: -webkit-box;
    line-height: 1.5;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    min-height: 63px;
    height: 63px;
    max-height: 63px;
	margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    color: #333;
}*/
#news-album-list .album .link .metadate .inner-metadate {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 15px;
}
#news-album-list .album .link .metadate .inner-metadate .count-icon {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #555;
}
#news-album-list .album .link .metadate .inner-metadate .count-icon .count-date {
	color: #b8860b;
	font-weight: bold;
}
#news-album-list .album .link .metadate .inner-metadate .count-icon .count-photo {
	color: #000000;
	font-weight: bold;
}
#next-album-list.button {
    display: block;
    margin: 0px auto;
    padding: 12px 24px;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 6px;
	background-color: transparent;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#next-album-list.button:hover {
    background-color: #000000;
    color: #ffffff;
    transform: translateY(-3px);
}

#next-album-list.button:active {
    transform: scale(0.98);
}
@media (min-width: 576px) {
    #news-album-list .album-list {
        gap: 25px;
    }
    #news-album-list .album .link .cover {
        height: 280px;
    }
}
@media (min-width: 768px) {
    #news-album-list .album-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
	#news-album-list > .title > h1 {
		font-size: 36px;
	}
    #news-album-list .album {
        flex: 0 0 calc(33.33% - 20px);
        max-width: calc(33.33% - 20px);
    }
    #news-album-list .album .link {
        height: 380px; 
    }
    #news-album-list .album .link .metadate .inner-metadate{
        flex-wrap: nowrap;    
    }
}
@media (min-width: 992px) {
    #news-album-list .album {
        flex: 0 0 calc(33.33% - 20px); 
        max-width: calc(33.33% - 20px);
    }
	#news-album-list >.infomation {
		padding: 0;
		margin: 0 auto;
	}
	#news-album-list >.infomation> .title {
		font-size: 48px;
	}
    #news-album-list .album .link {
        height: 380px; 
    }
    #news-album-list .album .link .cover {
        height: 220px;
    }
    #news-album-list .album .link .metadate .inner-metadate {
        flex-wrap: nowrap; 
    }
    #news-album-list .album .link .metadate .title {
        font-size: 22px;
    }
    #news-album-list .album .link .metadate .description {
        min-height: 68px;
        height: 68px;
        max-height: 68px;
        font-size: 15px;
    }
}
@media (min-width: 1200px) {
	#news-album-list >.infomation {
		max-width: 900px;
		margin: 0 auto;
	}
    #news-album-list .album-list {
        display: flex;
        flex-wrap: wrap;           
        justify-content: center;   
        gap: 40px; 
    }
    #news-album-list .album {
        flex: 0 0 auto;
        width: 350px;
        height: 380px; 
    }
    #news-album-list .album .link .cover {
        height: 200px; 
    }
    #news-album-list .album .link .metadate .title {
        font-size: 18px;
		height: 132px;
		max-height: 132px; 
    }
    #news-album-list .album .link .metadate .description {
        font-size: 14px; 
    }
}
@media (min-width: 1400px) {
	#news-album-list >.infomation {
		max-width: 1140px;
		margin: 0 auto;
	}
    #news-album-list .album-list {
        justify-content: center;
        gap: 65px;
        padding: 0 30px;
    }
    #news-album-list .album {
        width: 350px;
        height: 380px; 
    }
    #news-album-list .album .link .cover {
        height: 220px; 
    }
        #news-album-list .album .link .metadate .title {
        font-size: 18px;
    }
    #news-album-list .album .link .metadate .description {
        font-size: 15px;
    }
}
@media (min-width: 1700px) {
	#news-album-list {
		width: 1250px;
		margin: 0 auto;
	}
}
/* End */
/* /local/components/ksrk/event.detail/templates/default/style.css?176528663422402 */
