

/* Start:/bitrix/templates/aspro-allcorp3medc/components/bitrix/news/services_custom/style.css?1757052365891*/
/* Стили для описания раздела */
.section-description {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
    border-left: 4px solid var(--theme-base-color);
}

.section-description__content {
    max-width: 100%;
}

.section-description__title {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.section-description__text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .section-description {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .section-description__title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .section-description__text {
        font-size: 14px;
    }
}



/* End */


/* Start:/bitrix/templates/aspro-allcorp3medc/components/bitrix/news/services_custom/page_blocks/element_wisdom/style.css?176414149210829*/
/* Стили для школьного шаблона элемента */

.element-school-block {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Шапка с изображением */
.school-header-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.school-header-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 1));
    padding: 40px 30px 30px;
    display: flex;
    align-items: flex-end;
}

.school-header-title {
    margin: 0;
    font-size: 2.5em;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.school-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.school-description,
.school-details,
.school-documents,
.school-properties {
    margin-bottom: 30px;
}

.school-description h3,
.school-details h3,
.school-documents h3,
.school-properties h3,
.school-videos h3 {
    color: var(--theme-base-color);
    font-size: 1.4em;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--theme-base-color);
}

.description-text,
.details-text {
    font-size: 1.1em;
    line-height: 1.7;
    color: #555;
    word-wrap: break-word;
}

/* Документы */
.documents-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.document-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #F8F9FA;
    border-radius: 8px;
    border: 1px solid #E9ECEF;
    transition: all 0.3s ease;
}

.document-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #4CAF50;
}

.document-icon {
    margin-right: 15px;
    flex-shrink: 0;
}

.document-info {
    flex-grow: 1;
    margin-right: 15px;
}

.document-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.1em;
    color: #333;
    font-weight: 600;
	overflow-wrap: anywhere;
}

.document-size {
    margin: 0;
    font-size: 0.9em;
    color: #666;
}

.document-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-view,
.btn-download {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-view {
    background: #2196F3;
    color: white;
}

.btn-view:hover {
    background: #1976D2;
    color: white;
    text-decoration: none;
}

.btn-download {
    background: #4CAF50;
    color: white;
}

.btn-download:hover {
    background: #45a049;
    color: white;
    text-decoration: none;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.video-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-item h4 {
    margin: 0;
	padding: 12px;
	font-size: 14px;
}

.video-preview {
    cursor: pointer;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.video-info {
    padding: 20px;
}

.video-title {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-description {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
    color: #888;
}

.video-duration {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.video-views {
    font-weight: 500;
}

.video-embed {
    width: 100%;
    background: #000;
}

.video-embed iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Состояние загрузки */
.video-item.loading .video-thumbnail {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.school_btn {
	margin-top: 30px;
}


.video-preview {
    cursor: pointer;
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}
.video-preview img {
    width: 100%;
    height: 100%;
    display: block;
	object-fit: cover;
}
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}
.video-preview iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.img_big img {
	width: 100%;
	border-radius: 6px;
}


/* Адаптивность */
@media (max-width: 768px) {
    .school-header-image {
        height: 300px;
    }
    
    .school-header-overlay {
        padding: 30px 20px 20px;
    }
    
    .school-header-title {
        font-size: 2em;
    }
    
    .school-content {
        padding: 20px;
    }
    
    .document-item {
        flex-direction: column;
        text-align: center;
    }
    
    .document-info {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .document-actions {
        justify-content: center;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .video-thumbnail {
        height: 180px;
    }
    
    .video-embed iframe {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .school-header-image {
        height: 250px;
    }
    
    .school-header-title {
        font-size: 1.5em;
    }
    
    .school-content {
        padding: 15px;
    }
    
    .btn-view,
    .btn-download {
        padding: 6px 10px;
        font-size: 0.8em;
    }
}

/* Стили для галереи с карточками Bootstrap */
.school-gallery {
    margin: 30px 0;
}

.school-gallery h3 {
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: 600;
    color: #333;
}

.gallery-cards {
    margin: 0 -10px;
}

.gallery-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .card-overlay {
    opacity: 1;
}

.gallery-icon {
    font-size: 2em;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Стили для модального окна галереи */
#galleryModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    overflow: auto;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

#galleryModal .modal-dialog {
    position: relative;
    top: 50%;
    transform: translate(0%, -50%);
    width: fit-content;
    max-width: 90%;
    margin: 0 auto;
    z-index: 1051;
}

#galleryModal .modal-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#galleryModal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #dee2e6;
}

#galleryModal .modal-title {
    margin: 0;
    font-size: 1.25em;
    font-weight: 600;
}

#galleryModal .btn-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#galleryModal .btn-close:hover {
    color: #000;
}

#galleryModal .modal-body {
    padding: 20px;
}

#galleryModal .modal-body img {
    max-height: 70vh;
    width: auto;
    max-width: 100%;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
}

.gallery-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#galleryCounter {
    font-weight: 600;
    color: #333;
    min-width: 80px;
}

@media (max-width: 768px) {
    .gallery-card img {
        height: 200px;
    }
    
    .gallery-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    #galleryCounter {
        order: -1;
    }
}
/* End */


/* Start:/bitrix/components/custom/documents/templates/.default/style.css?17618022944040*/
.documents-block {}

.documents-block .document-in-line {
	width: 100%;
	margin: 0 0 -1px;
	border: 1px solid #eff1f5;
	padding: 27px 29px 28px;
}

.documents-block .document-in-line .inner-wrapper {
	position: relative;
	padding-right: 70px;
	padding-left: 68px;
	min-height: 45px;
}

.documents-block .document-in-line .inner-wrapper::before {
	content: "";
	position: absolute;
	top: 3px;
	left: 0;
	display: block;
	width: 40px;
	height: 40px;
	background: url("/bitrix/templates/aspro-allcorp3medc/images/svg/docs.svg") 0 -84px no-repeat;
}

.documents-block .document-in-line .inner-wrapper .arrow-link {
	margin: 0;
    position: absolute;
    right: 0;
    top: 3px;
    width: 38px;
    height: 38px;
    display: flex;
    border: 1px solid #eaeaea;
    border-radius: 50%;
    cursor: pointer;
    justify-content: center;
    align-items: center;
	transition: .2s;
}

.documents-block .document-in-line:hover .inner-wrapper .arrow-link {
    border: 1px solid var(--theme-base-color);
	background-color:var(--theme-base-color);
}

.documents-block .document-in-line .inner-wrapper .arrow-link svg {
    width: 18px;
    height: auto;
    stroke: var(--theme-base-color);
    fill: none;
	transition: .2s;
}

.documents-block .document-in-line:hover .inner-wrapper .arrow-link svg {
    stroke: #fff;
    fill: none;
}

.documents-block .document-in-line:hover {
	box-shadow: 0px 5px 25px 0px rgba(18, 25, 38, 0.1);
}

.documents-block .document-in-line:hover .arrow-link::before {
	opacity: 1;
	background-position: -173px -15px;
}

.file-size {
	color: #999;
	font-size: 0.8667em;
	line-height: 1.3846em;
}

/* corrected icon background positions by file type */
.documents-block .document-in-line.doc .inner-wrapper:before,
.documents-block .document-in-line.docx .inner-wrapper:before{background-position:-42px 0;}
.documents-block .document-in-line.pdf .inner-wrapper:before{background-position:0 0;}
.documents-block .document-in-line.xls .inner-wrapper:before,
.documents-block .document-in-line.xlsx .inner-wrapper:before{background-position:-84px 0;}
.documents-block .document-in-line.ppt .inner-wrapper:before,
.documents-block .document-in-line.pptx .inner-wrapper:before{background-position:-84px -126px;}
.documents-block .document-in-line.jpg .inner-wrapper:before,
.documents-block .document-in-line.jpeg .inner-wrapper:before{background-position:-42px -42px;}
.documents-block .document-in-line.png .inner-wrapper:before{background-position:-84px -84px;}
.documents-block .document-in-line.tiff .inner-wrapper:before{background-position:-84px -42px;}
.documents-block .document-in-line.txt .inner-wrapper:before{background-position:-42px -84px;}


.documents-block:not(.view-list) .dark_link,
.documents-block:not(.view-list) .file-size span {
	display: none;
}
.document-view-block {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 0 0 8px;
	margin-right: -7px;
}
.document-view-block .document-view-toggle:hover {
	cursor: pointer;
}
.document-view-block .document-view-toggle:not(:hover) path {
	fill: #999;
}
.document-view-block .document-view-toggle.active:not(:hover) path {
	fill: #333;
}
.document-view-block .svg-inline-type {
	min-width: 13px;
	vertical-align: top;
	padding: 4px 7px;
}
@media (min-width: 768px) {
	.documents-block.view-list {
		display: flex;
		flex-wrap: wrap;
	}
	.documents-block.view-list .document-in-line {
		width: 50%;
	}
	.documents-block.view-list .document-in-line:nth-child(2n) {
		border-left: none;
	}
	.documents-block:not(.view-list) .dark_link,
	.documents-block:not(.view-list) .file-size span,
	.documents-block.view-list .document-name,
	.documents-block.view-list .document-in-line .inner-wrapper .arrow-link {
		display: none;
	}
}
@media (max-width: 767px) {
	.documents-block.view-list .dark_link,
	.documents-block.view-list .file-size span,
	.document-view-block {
		display: none;
	}
}

/* End */
/* /bitrix/templates/aspro-allcorp3medc/components/bitrix/news/services_custom/style.css?1757052365891 */
/* /bitrix/templates/aspro-allcorp3medc/components/bitrix/news/services_custom/page_blocks/element_wisdom/style.css?176414149210829 */
/* /bitrix/components/custom/documents/templates/.default/style.css?17618022944040 */
