

/* Start:/local/templates/td_rubezh_template/components/bitrix/news/articles/bitrix/news.detail/.default/style.css?17890203715307*/
.page-content {
	font-family: "Roboto", sans-serif;
	font-size: 1.125rem;
	font-weight: 300;
	line-height: 1.625rem;
}

h1 {
	font-size: 54px !important;
}

table {
	--bs-table-bg: transparent;
	--bs-table-accent-bg: transparent;
	--bs-table-striped-color: #34353E;
	--bs-table-striped-bg: rgba(0, 0, 0, 0.05);
	--bs-table-active-color: #34353E;
	--bs-table-active-bg: rgba(0, 0, 0, 0.1);
	--bs-table-hover-color: #34353E;
	--bs-table-hover-bg: rgba(0, 0, 0, 0.075);
	width: 100%;
	margin-bottom: 1rem;
	color: #34353E;
	vertical-align: top;
	border-color: #dee2e6;
	border-collapse: collapse;
}

table> :not(caption)>*>* {
	padding: 0.5rem 0.5rem;
	background-color: var(--bs-table-bg);
	border-bottom-width: 1px;
	box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

table>thead {
	vertical-align: bottom;
}

table> :not(:first-child) {
	border-top: 2px solid currentColor;
}

table thead {
	background-color: #5B6770;
	color: white;

}

table tr:first-child {
	background-color: #5B6770;
	color: white;

}

table tr:first-child th {
	border-right: 1px solid #EFEFF1;
}

table tbody tr {
	border-width: 1px 0;
	border-color: transparent;
}

table tbody td {
    padding: 1.25rem 1rem;
    font-size: 1.125rem;
    /* Задаем правую границу */
    border-right: 1px solid #5B6770;
    /* Задаем нижнюю границу (ширина + стиль + цвет) */
    border-bottom: 1px solid #dee2e6; /* Можете заменить на #5B6770 */
    background-color: transparent;
}

/* 4. Убираем лишние границы у крайних ячеек */
table tbody td:last-of-type {
    border-right-color: #EFEFF1;
}

/* Убираем нижнюю границу у последней строки */
table tbody tr:last-of-type td {
    border-bottom: none;
}

/* Стили для шапки */
table thead {
    background-color: #5B6770;
    color: white;
}

table thead th {
    padding: 0.5rem 0.5rem;
    border-bottom: 2px solid #5B6770; /* Граница под шапкой */
}

table tbody {
	--bs-table-accent-bg: $light;
	border-top: none !important;
}

table tbody tr:last-of-type {
	border-bottom-color: #5B6770;
}

table tbody tr td {
	padding: 1.25rem 1rem;
	font-size: 1.125rem;
	border-right: 1px solid #5B6770;
}

table tbody tr td:last-of-type {
	border-right-color: #EFEFF1;
}

/* .page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
	font-weight: 500;

	color: #34353E;
}

.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
	margin: 0;
	padding-top: 1.5rem;
	margin-bottom: 1.5rem;
	text-transform: unset;
}

.page-content h2 {
	font-size: 2.25rem;
	line-height: 2.688rem;
}
.page-content h3 {
	font-size: 1.625rem;
	line-height: 2.125rem;
}
.page-content h4 {
	font-size: 1.5rem;
	line-height: 1.813rem;
}
.page-content h5 {
	font-size: 1.25rem;
	line-height: 1.5rem;
}
.page-content h6 {
	font-size: 1.125rem;
	line-height: 1.5rem;
} */


.page-content p {
	font-size: 1.125rem;
	line-height: 1.625rem;
	margin-bottom: 1rem;
}

.page-content b {
	font-weight: 600;
}

.page-content a {
	color: #0057ff;
	text-decoration-line: underline;
}

.page-content a:hover {
	color: #0057ff;
	text-decoration-line: none;
}

.page-content a.btn {
	background: #64A70B;
	border-radius: 1.563rem;
	padding: 0.938rem 1.875rem;

	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.172rem;
	text-align: center;
	color: #FFFFFF;
	text-decoration-line: unset;
}

.page-content a.btn:hover {
	color: #FFFFFF;
	background: #96D052;
}

.page-content img {
	max-width: 100%;
	display: flex;
	margin: 0 auto;
}

.detail__image {
	text-decoration: none !important;
}

.page-content ul,
.page-content ol {
	margin: 0;
	margin-top: 0.25rem;
	margin-bottom: 1.25rem;
	margin-left: 1.875rem;
	padding-left: 0.938rem;
}

.page-content ul li {
	margin-bottom: 0.625rem;
}

.page-content blockquote {
	background-color: #efeff1;
	border-left: 0.25rem solid #D7D8DC;
	margin: 2.5rem 0;
	padding: 1.875rem;
	padding-right: 0;
}

.page-content blockquote:last-child {
	margin-bottom: 0;
}


.task-num {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
}

/* Позиционирование стрелок поверх основного изображения */
.gallery-slide__full {
	position: relative;
}

.glide__arrows {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	display: flex;
	justify-content: space-between;
	pointer-events: none;
	z-index: 2;
}

.glide__arrow {
	pointer-events: auto;
	color: #64A70B;
	border: none;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 32px;
	font-weight: bold;
	line-height: 1;
	transition: background 0.2s;
	margin: 0 10px;
}

.glide__arrow.glide__arrow {
	color: #64A70B;
}

.glide__arrow:hover {
	opacity: 0.8;
	border-color: transparent !important;
}

.glide__arrow--left {
	left: 0 !important;
}

.glide__arrow--right {
	right: 0 !important;
}

.gallery-slide_thumb--wrapper .glide__slide.active-thumb {
	opacity: 1;
}

.gallery-slide_thumb--wrapper .glide__slide {
	opacity: 0.6;
	transition: opacity 0.2s;
	cursor: pointer;
}

.gallery-slide_thumb--wrapper .glide__slide:hover {
	opacity: 1;
}
/* End */


/* Start:/local/components/bitrix/article.reaction/templates/.default/style.css?1784527058333*/
.article-reaction__button.bg-light:hover {
    color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
    /* background-color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important; */
 }

 .article-reaction__button.bg-primary:hover {
    color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
 }
/* End */


/* Start:/local/components/bitrix/article.share/templates/.default/style.css?17845270581231*/
.article-share__btn {
    cursor: pointer;
    &:hover {
       color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
    }
}

.article-share__action {
    transition: opacity 0.1s ease;
    &:hover {
        opacity: 0.8;
    }
}


.article-share__popover {
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    z-index: 20;
    width: max-content;
    max-width: 190px;
    padding: 13px 15px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    &::after {
        content: '';
    
        position: absolute;
        top: calc(100% - 6px);
        right: 22px;
    
        width: 12px;
        height: 12px;
    
        background: #fff;
    
        transform: rotate(45deg);
    
        box-shadow: 4px 4px 12px rgba(0, 0, 0, .08);
    
        z-index: -1;
    }
}

.article-share__ya {
    margin-bottom: 10px;
}

.article-share__actions {
    display: grid;
    gap: 8px;
    font-size: 14px;
}


.ya-share2__container_shape_round.ya-share2__container_size_m .ya-share2__badge .ya-share2__icon:not(.ya-share2__icon_messenger-contact):not(.ya-share2__icon_more):not(.ya-share2__icon_copy) {
    background-size: 30px 30px !important;
}


/* End */


/* Start:/local/components/bitrix/article.list/templates/.default/style.css?1784527058340*/
.card {
    max-height: 402px;
    cursor: pointer;
    &:hover {
        .card-title {
            text-decoration: underline;
        }
    }
}

.card-img-top {
    max-height: 210px;
    object-fit: cover;
}


@media (max-width: 720px) {
    .card {
        max-height: auto;
    }

    .card-img-top {
        max-height: 193px;
    }
}
/* End */


/* Start:/local/templates/td_rubezh_template/components/bitrix/form.result.new/articles_feedback/style.css?178452705877*/
#solutions-callback input[name="theme"] { opacity: 0; height: 0; width: 0; }

/* End */
/* /local/templates/td_rubezh_template/components/bitrix/news/articles/bitrix/news.detail/.default/style.css?17890203715307 */
/* /local/components/bitrix/article.reaction/templates/.default/style.css?1784527058333 */
/* /local/components/bitrix/article.share/templates/.default/style.css?17845270581231 */
/* /local/components/bitrix/article.list/templates/.default/style.css?1784527058340 */
/* /local/templates/td_rubezh_template/components/bitrix/form.result.new/articles_feedback/style.css?178452705877 */
