

/* Start:/local/templates/ksrk2025/components/bitrix/news.detail/main_det/style.css?1759143878155*/
div.news-detail
{
	word-wrap: break-word;
}
div.news-detail img.detail_picture
{
	float:left;
	margin:0 8px 6px 1px;
}
.news-date-time
{
	color:#486DAA;
}

/* End */


/* Start:/local/templates/ksrk2025/components/bitrix/catalog.section.list/ksrk2025_documents_v_1/style.css?17714251459388*/
/* === Контейнер документов === */
#documents {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   /* background: #edebeb;*/
    color: #222;
    padding: 20px;
    border-radius: 8px;
}
#documents image-list {
  flex-direction: row;
	flex-wrap: wrap; 
  align-items: center;
  gap: 10px;*/
  padding: 10px;
}

/* === Кнопки === */
#documents button {
    background-color: rgba(102, 102, 102, 0.22);
    border: none;
    width: 100%;
	height: auto;
    text-align: left;
    padding: 12px 18px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    border-radius: 6px;
    margin-top: 8px;
}

#documents button:hover {
    background-color: rgba(184, 134, 11, 0.35);
}

/* === Иконка + / - === */
#documents button .icon {
    font-weight: bold;
    font-size: 22px;
    color: #b8860b;
    transition: transform 0.3s ease;
}

/* === Секции контента === */
#documents section[id] {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: #fff;
    border-radius: 8px;
    margin-top: 4px;
    padding: 0 16px;
}

/* Открытая секция */
#documents section[id].open {
    max-height: 6000px; 
    opacity: 1;
    padding: 16px;
}

/* Подразделы визуально отделены */
#documents section[id^="section-3-"] {
    padding-left: 20px;
    background-color: #fff;
    border-radius: 6px;
    margin-top: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* Заголовки внутри секций */
#documents .title {
    font-size: 20px;
    margin-top: 0;
    color: #333;
}

/* Описание / текст */
#documents .description {
    margin-bottom: 20px;
    line-height: 1.6;
}


#documents .description table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff; 
    color: #5a4f4f; 
    margin-bottom: 16px;
}

#documents .description th,
#documents .description td {
    border: 1px solid #000; 
    padding: 8px 10px;
    text-align: left;
	background-color: #fff;
}

#documents .description th {
    font-weight: 600;
    background-color: #fff; 
    color: #5a4f4f; 
	text-align: center;
}


/* Ссылки */
#documents a {
    color: #b8860b;
    text-decoration: none;
}

#documents a:hover {
    text-decoration: underline;
	color: #5a4f4f;
}

/* Таблицы */
#documents table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

#documents th,
#documents td {
    border: 1px solid #e0e0e0;
    padding: 8px 10px;
    text-align: left;
}

#documents th {
    background-color: #c9c7c3;
    font-weight: 600;
	color: black;
}

/* Чередование строк */
#documents .element-table tr:nth-child(odd) td {
    background-color: #f7f7f7 !important; 
}

#documents .element-table tr:nth-child(even) td {
    background-color: #ffffff !important; 
}
#documents .element-table tr:hover td {
    background-color: rgba(184, 134, 11, 0.35) !important; 
    transition: background-color 0.3s ease;
}
#documents .description img { 
	display: block;
	margin: 20px;
	max-width: 300px; 
	height: auto; 
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
/* Оверлей фона */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(2px);
  display: none; /* по умолчанию скрыт */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Контейнер изображения */
.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

/* Само изображение */
.lightbox-image {
  max-width: 100%; 
  max-height: 100%;
  transition: opacity 0.25s ease;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
  cursor: zoom-out; /* визуальный намёк на закрытие */
}

/* Блокировка прокрутки */
.body-locked {
  overflow: hidden;
}
.zoom-clone {
    position: fixed;
    z-index: 9999;
    transition: transform 0.35s ease, width 0.35s ease, height 0.35s ease;
    will-change: transform, width, height;
    pointer-events: none;
}


@media (max-width: 575px) {

    /* Контейнер */
    #documents {
        padding: 12px;
        font-size: 14px;
    }

    /* Кнопки (заголовки разделов) */
    #documents button {
        font-size: 15px;
        padding: 10px 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        white-space: nowrap;      
        overflow: hidden;         
        text-overflow: ellipsis;  
        max-width: 100%;          
    }

    /* Текст внутри кнопки */
    #documents .doc-button-text {
        flex: 1;                  
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        margin-right: 8px;
    }


    #documents button .icon {
        flex-shrink: 0;          
        font-size: 20px;
    }

    /* Секции и описания */
    #documents section[id].open {
        padding: 12px;
    }

    #documents .description {
        font-size: 13px;
        margin-bottom: 12px;
        overflow-x: auto;                
        -webkit-overflow-scrolling: touch;
    }

    /* Таблицы внутри description и element-table-wrapper */
    #documents .description table,
    #documents .element-table {
        display: block;                  
        width: auto;                    
        min-width: 600px;                
        border-collapse: collapse;
    }

    /* Обёртка таблицы */
    .element-table-wrapper {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 12px;
    }

    /* Ячейки таблицы */
    #documents .description th,
    #documents .description td,
    #documents .element-table th,
    #documents .element-table td {
        white-space: nowrap;            
        padding: 6px 8px;
        text-align: left;
        font-size: 13px;
    }

    /* Заголовки таблиц по центру */
    #documents .description th,
    #documents .element-table th {
        text-align: center;
        font-weight: 600;
    }

    /* Ссылки */
    #documents a {
        font-size: 13px;
    }
}


@media (max-width: 767px) {
    #documents .description {
        overflow-x: auto;          
        -webkit-overflow-scrolling: touch;
    }

    #documents .description table {
        min-width: 700px;           
        border-collapse: collapse;
    }

    #documents .description th,
    #documents .description td {
        white-space: nowrap;
        padding: 6px 8px;
    }
}



@media (max-width: 991px) {

    /* Общий контейнер */
    #documents {
        padding: 20px;
        font-size: 15px;
    }

    /* Кнопки разделов */
    #documents button {
        font-size: 17px;
        padding: 10px 14px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    /* Текст внутри кнопок */
    #documents .doc-button-text {
        flex: 1;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        margin-right: 8px;
    }

    /* Иконка */
    #documents button .icon {
        flex-shrink: 0;
        font-size: 22px;
    }

    /* Секции и описания */
    #documents section[id].open {
        padding: 14px;
    }

    #documents .description {
        font-size: 14px;
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch;
    }

    /* Обёртка таблицы */
    .element-table-wrapper {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 14px;
    }

    /* Таблицы */
    #documents .description table,
    #documents .element-table {
        display: block;
        width: auto;
        min-width: 700px; 
        border-collapse: collapse;
    }

    /* Ячейки */
    #documents .description th,
    #documents .description td,
    #documents .element-table th,
    #documents .element-table td {
        white-space: nowrap;
        padding: 8px 10px;
        font-size: 14px;
    }
    #documents .description th,
    #documents .element-table th {
        text-align: center;
        font-weight: 600;
    }
    /* Ссылки */
    #documents a {
        font-size: 14px;
    }
}
@media (min-width: 1024px) and (max-width: 1366px) {
    #documents {
        padding: 35px;
    }
    #documents button {
        font-size: 18px;
        padding: 12px 18px;
    }
    #documents .description {
        font-size: 16px;
    }
    #documents table th,
    #documents table td {
        padding: 8px 12px;
    }
}
@media (min-width: 1367px) {
    #documents {
        padding: 40px 60px;
    }

    #documents button {
        font-size: 19px;
        padding: 14px 20px;
    }

    #documents .description {
        font-size: 16px;
    }

    #documents table th,
    #documents table td {
        padding: 10px 14px;
    }
}

/* End */


/* Start:/local/templates/ksrk2025/components/ksrk/videoarchive.video.list/sportotdelvideo12/style.css?17714284849397*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: Tahoma, sans-serif;
    background-color: #f2ede9;
    color: #fff;
}
#videolibrary_detail {
    width: 100%;
    position: relative;
}
#videolibrary_detail .content {
    position: relative;
    width: 100%;
    min-height: 324px;
    overflow: hidden;
    background-color: #000;
    max-height: 80vh;
}
/* Background <picture> */
#videolibrary_detail .background-picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
#videolibrary_detail .background-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Cinematic gradient overlay */
#videolibrary_detail .background-shadow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(
        to top,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,0.85) 20%,
        rgba(0,0,0,0.5) 45%,
        rgba(0,0,0,0) 100%
    );
}
#videolibrary_detail .detail {
    position: absolute;
    z-index: 3;
    bottom: 20px;
    left: 20px;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
}
/* Text shadow for readability */
#videolibrary_detail .detail * {
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
/* Title */
#videolibrary_detail .title {
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.5;
    color: #fff;
	font-family: Tahoma, sans-serif;

}
/* Meta info */
#videolibrary_detail .meta_info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: #ccc;
    margin-bottom: 20px;
}
#videolibrary_detail .meta_info p {
    margin: 0;
    color: #fff;
    line-height: 1.5;
	font-family: Tahoma, sans-serif;
}
/* Short info */
#videolibrary_detail .pre_text,
#videolibrary_detail .category,
#videolibrary_detail .department {
    font-size: 16px;
    margin-bottom: 10px;
    color: #fff;
}
/* Button */
#videolibrary_detail .video {
    background: #e50914;
    color: #fff;
    font-weight: bold;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 0 12px rgba(229,9,20,0.4);
}
#videolibrary_detail .video:hover {
    background: #f6121d;
    transform: scale(1.05);
    box-shadow: 0 0 18px rgba(246,18,29,0.6);
}
#videolibrary_detail .desc_wrap {
    margin: 40px auto 0;
    padding: 30px 39px;
    max-width: 100%;
    color: #333;
    font-size: 15px;
    text-align: justify;
}
#videolibrary_detail .desc_title {
    line-height: 1.5;
    word-break: normal;
    color: #000;
}
#videolibrary_detail .description {
    line-height: 1.5;
    word-break: normal;
    color: #000;
}
#videolibrary_detail .video-modal__content {
    animation: fadeUp 0.3s ease;
}
/* Контейнер списка видео */
#videoList {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
#videoList h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #5a4f4f;
	font-family: Tahoma, sans-serif;
	text-align: left;
}
/* Сетка видео */
#videoList .video-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
/* Блок одного видео */
#videoList .video-item {
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}
#videoList .video-item video.video-thumb {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}
/* При наведении видео */
#videoList .video-item:hover video.video-thumb {
    transform: scale(1.05);
}
/* Информация о видео */
#videoList .video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    padding: 10px;
    color: #fff;
}
#videoList .video-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}
#videoList .video-duration {
    font-size: 12px;
    color: #ccc;
    margin: 0;
}
#videolibrary_detail .video-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}
#videolibrary_detail .video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}
#videolibrary_detail .video-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1;
}
#videolibrary_detail .video-modal__content {
    position: relative;
    z-index: 2;
    max-width: 960px;
    width: 90%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}
#videolibrary_detail .video-modal video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    display: block;
    z-index: 1;
}
#videolibrary_detail .video-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.6);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
	min-width: 0px;
    padding: 0px;
    line-height: 0px;
    font-weight: 200;
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@media (min-width: 570px) {
    #videolibrary_detail .detail,
    #videolibrary_detail .desc_wrap {
        max-width: 540px;
    }
    #videolibrary_detail .desc_wrap {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        max-width: 540px;
        padding: 30px 38px;
        margin: 0px;
    }
    #videoList {
        max-width: 540px;
        margin: 40px auto;
        padding: 0 38px;
        margin: 0;
    }
}
@media (max-width: 768px) {
    #videolibrary_detail .content {
        height: 500px;
    }
    #videolibrary_detail .detail {
        padding: 0 20px;
    }
    #videolibrary_detail .title {
        font-size: 28px;
        line-height: 1.15;
    }
    #videolibrary_detail .meta_info {
        flex-direction: column;
        gap: 8px;
    }
    #videolibrary_detail .desc_wrap {
        font-size: 14px;
    }
}
@media (min-width: 768px) {
    #videolibrary_detail .detail {
        max-width: 720px;
    }
    #videolibrary_detail .desc_wrap {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        max-width: 720px;
        padding: 30px 38px;
        margin: 0px;
    }
    #videoList {
        max-width: 720px;
        margin: 40px auto;
        padding: 0 38px;
        margin: 0;
    }
	#videoList .video-item {
		width: 250px;
		height: 180px;
	}
	#videoList .video-item video.video-thumb {
		width: 100%;
		height: 100%;
		display: block;
		object-fit: cover;
		transition: transform 0.3s ease;
	}
}
@media (min-width: 1020px) {
    #videolibrary_detail .detail{
        max-width: 960px;
        padding: 0 30px;
    }
    #videolibrary_detail .desc_wrap {
        max-width: 1320px;
        margin: 0;
        padding: 30px 50px;
    }
    #videolibrary_detail .detail {
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
        width: 50%;
    }
    #videolibrary_detail .background-shadow {
    background: linear-gradient(
        to top right,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,0.85) 25%,
        rgba(0,0,0,0.5) 55%,
        rgba(0,0,0,0) 100%
    );
    }
    #videoList {
        max-width: 1320px;
        margin: 0;
        padding: 30px 50px;
    }
    #videoList .video-items {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    #videoList .video-item {
        width: 300px;
        height: 170px;
    }
}
@media (max-width: 1024px) {
    #videolibrary_detail .content {
        min-height: 400px;
    }
    #videolibrary_detail .title {
        font-size: 36px;
    }
    #videolibrary_detail .video {
        padding: 10px 22px;
        font-size: 14px;
    }
}
@media (min-width: 1200px) {
    #videolibrary_detail .content {
        min-height: 400px;
    }
    #videolibrary_detail .detail,
    #videolibrary_detail .desc_wrap {
        max-width: 1140px;
    }
	#videoList .video-item {
        width: 330px;
        height: 200px;
    }
	#videolibrary_detail .sport-title {
		font-size: 40px;
	}
}
@media (min-width: 1400px) {
    #videolibrary_detail .content {
        min-height: 400px;
    }
    #videolibrary_detail .detail {
        max-width: 1320px;
        padding: 0 40px;
    }
    #videolibrary_detail .desc_wrap {
        max-width: 1320px;
        margin: 0;
        padding: 30px 60px;
    }
    #videoList {
        max-width: 1320px;
        margin: 0;
        padding: 30px 77px;
    }
	#videoList .video-item {
        width: 360px;
        height: 220px;
    }
}
@media (min-width: 1600px) {
    #videolibrary_detail .content {
        min-height: 400px;
    }
    #videolibrary_detail .detail {
        max-width: 1400px;
        padding: 0 100px;
    }
    #videolibrary_detail .desc_wrap {
        max-width: 1400px;
        margin: 0;
        padding: 30px 120px;
    }
    #videoList {
        max-width: 1400px;
        margin: 0;
        padding: 30px 120px;
    }
	#videoList .video-item {
        width: 400px;
        height: 240px;
    }
}
/* End */


/* Start:/local/components/ksrk/photogallery.photo.list/templates/default/style.css?17714266157504*/
#photogallery-photo-list {
  display: block;
  margin-top: 20px;
  margin-left: 10px;
  margin-bottom: 20px;
  margin-right: 10px;
  border: none;
  padding: 0px;
  width: auto;
  height: auto;
}
#photogallery-photo-list > .title {
	display: flex;
	justify-content: center;
	position: relative;
	padding: 15px;
	margin: 0px;
	margin-top: 15px;
	margin-bottom: 30px;
}
#photogallery-photo-list > .title::before {
	content: "";
    display: block;
    width: 100px;
    height: 2px;
    background: #000000;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -50px;
}
#photogallery-photo-list>.preview-photo {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 0px;
  border: none;
  padding: 0px;
  width: 100%;
  height: auto;
}

#photogallery-photo-list>.preview-photo>.show-picture {
  display: block;
  position: relative;
  margin: 0px;
  border: none;
  padding: 0px;
  min-width: 100px;
  width: 100px;
  max-width: 100px;
  min-height: 100px;
  height: 100px;
  max-height: 100px;
  background-color: transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
#photogallery-photo-list>.preview-photo>.show-picture:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  z-index: 5; 
}
#photogallery-photo-list>.preview-photo>.show-picture>.picture {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0px;
  border: none;
  padding: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#photogallery-photo-list>.detail-photo {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0px;
  left: 0px;
  margin: 0px;
  border: none;
  padding: 0px;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.4s ease;
}

#photogallery-photo-list>.detail-photo.active {
  display: block;
  opacity: 1;
}

#photogallery-photo-list>.detail-photo>.close-detail-photo {
  display: block;
  position: absolute;
  top: 10px;
  right: 10px;
  margin: 0px;
  border: none;
  padding: 0px;
  min-width: 25px;
  width: 25px;
  max-width: 25px;
  min-height: 25px;
  height: 25px;
  max-height: 25px;
  background-color: transparent;
}

#photogallery-photo-list>.detail-photo>.close-detail-photo>.close-detail {
  display: block;
  margin: 0px;
  border: none;
  padding: 0px;
  width: 25px;
  height: 25px;
  fill: #ffffff;
}

#photogallery-photo-list>.detail-photo>.close-detail-photo:focus>.close-detail,
#photogallery-photo-list>.detail-photo>.close-detail-photo:hover>.close-detail {
  fill: #b8860b;
}

#photogallery-photo-list>.detail-photo>.view-area {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0px;
  border: none;
  padding: 0px;
  width: 100%;
  height: auto;
}

#photogallery-photo-list>.detail-photo>.view-area>.prev-photo-button,
#photogallery-photo-list>.detail-photo>.view-area>.next-photo-button {
  display: none;
  margin: 0px;
  border: none;
  padding: 0px;
  min-width: 32px;
  width: 32px;
  max-width: 32px;
  min-height: 32px;
  height: 32px;
  max-height: 32px;
  background-color: transparent;
}

#photogallery-photo-list>.detail-photo>.view-area>.prev-photo-button>.prev-photo,
#photogallery-photo-list>.detail-photo>.view-area>.prev-photo-button>.next-photo {
  display: block;
  margin: 0px;
  border: none;
  padding: 0px;
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

#photogallery-photo-list>.detail-photo>.view-area>.prev-photo-button:focus>.prev-photo,
#photogallery-photo-list>.detail-photo>.view-area>.prev-photo-button:hover>.prev-photo,
#photogallery-photo-list>.detail-photo>.view-area>.prev-photo-button:focus>.next-photo,
#photogallery-photo-list>.detail-photo>.view-area>.prev-photo-button:hover>.next-photo {
  fill: #b8860b;
}

#photogallery-photo-list>.detail-photo>.view-area>.detphoto-cont {
  display: inline-block;
  position: relative;
}

#photogallery-photo-list>.detail-photo>.view-area>.detphoto-cont>.viewed-photo {
  display: block;
  width: 80cqw;
  height: 80cqh;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

#photogallery-photo-list>.detail-photo>.view-area>.detphoto-cont>.photo-category {
  display: inline-block;
  padding: 6px 10px;
  position: absolute;
  z-index: 10;
  border-radius: 4px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(-10px);
  opacity: 0;
}
#photogallery-photo-list > .detail-photo.active > .view-area > .detphoto-cont > .photo-category {
  display: flex;            
  flex-direction: row;   
  flex-wrap: wrap;
  gap: 20px;
  opacity: 1;
  transform: translateY(0);
}
#photogallery-photo-list>.detail-photo>.view-area>.detphoto-cont>.photo-category>span {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  background-color: rgba(0, 0, 0, 0.7);  
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); 
  border-radius: 6px;          
  padding: 6px 12px;           
  white-space: nowrap;          
  transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;                
  transform: translateY(-5px);
}

@media screen and (min-width: 576px) {
  #photogallery-photo-list>.preview-photo>.show-picture {
    min-width: 120px;
    width: 120px;
    max-width: 120px;
    min-height: 120px;
    height: 120px;
    min-height: 120px;
  }
  #photogallery-photo-list>.detail-photo>.view-area>.detphoto-cont>.photo-category>span {
    font-size: 18px;
    padding: 8px 14px;
    border-radius: 6px;
  }
	#photogallery-photo-list > .title {
		font-size: 30px;
	}
}

@media screen and (min-width: 768px) {
  #photogallery-photo-list>.preview-photo>.show-picture {
    min-width: 140px;
    width: 140px;
    max-width: 140px;
    min-height: 140px;
    height: 140px;
    min-height: 140px;
  }

  #photogallery-photo-list>.detail-photo>.view-area {
    justify-content: space-between;
  }

  #photogallery-photo-list>.detail-photo>.view-area>.prev-photo-button,
  #photogallery-photo-list>.detail-photo>.view-area>.next-photo-button {
    display: block;
  }
  #photogallery-photo-list>.detail-photo>.view-area>.detphoto-cont>.photo-category>span {
    font-size: 20px;
    padding: 10px 16px;
    border-radius: 8px;
  }
	#photogallery-photo-list > .title {
		font-size: 36px;
	}
}

@media screen and (min-width: 1024px) {
  #photogallery-photo-list>.detail-photo {
    width: 99vw;
    height: 100vh;
  }

  #photogallery-photo-list>.preview-photo>.show-picture {
    min-width: 160px;
    width: 160px;
    max-width: 160px;
    min-height: 160px;
    height: 160px;
    min-height: 160px;
  }
	#photogallery-photo-list > .title {
		font-size: 40px;
	}
}

@media screen and (min-width: 1200px) {
  #photogallery-photo-list>.preview-photo>.show-picture {
    min-width: 180px;
    width: 180px;
    max-width: 180px;
    min-height: 180px;
    height: 180px;
    min-height: 180px;
  }
  #photogallery-photo-list>.detail-photo>.view-area>.detphoto-cont>.photo-category>span {
    font-size: 22px;
    padding: 12px 18px;
    border-radius: 10px;
  }
}

@media screen and (min-width: 1400px) {
  #photogallery-photo-list>.preview-photo>.show-picture {
    min-width: 200px;
    width: 200px;
    max-width: 200px;
    min-height: 200px;
    height: 200px;
    min-height: 200px;
  }
}
/* End */
/* /local/templates/ksrk2025/components/bitrix/news.detail/main_det/style.css?1759143878155 */
/* /local/templates/ksrk2025/components/bitrix/catalog.section.list/ksrk2025_documents_v_1/style.css?17714251459388 */
/* /local/templates/ksrk2025/components/ksrk/videoarchive.video.list/sportotdelvideo12/style.css?17714284849397 */
/* /local/components/ksrk/photogallery.photo.list/templates/default/style.css?17714266157504 */
