/* Документы */
/* .documents .container {
    max-width: 1024px;
} */

/* Увеличенный размер списка ul (для страницы о компании) */
.markers {
	margin: 0 0 20px 20px;
	padding: 0;
}
.markers li {
	font-size: 18px;
}
.markers li::marker {
	color: black;
}

/* Для таблиц объемов */
.table-standard td:not(:last-child),
.table-standard th:not(:last-child) {
    border-right-width: 2px;
    border-color: white;
}
.table-standard td {
    padding: 0.45rem 2.5rem;
}
.table-standard th {
    padding: 1rem 2.5rem;
}
.table-standard tbody td:first-child { font-weight: bold; }
.table-standard tbody td:nth-child(2) { text-align: center; }
.table-standard thead th:nth-child(2) { text-align: center; }

.table-standard tbody td:nth-child(4) { font-weight: bold; }
.table-standard tbody td:nth-child(5) { font-weight: bold; }

.table-standard {
    --bs-table-striped-bg: #09b8501f;
    --bs-table-accent-bg: #09b8504d;
}


/* Уменьшение внутреннего отступа в таблицах */
.reducing-padding-standard-table td { padding: 0.45rem 1.5rem; }
.reducing-padding-standard-table th { padding: 1rem 1.5rem; }


/* Для большой таблицы на странице "Химстойкие ёмкости" */
.bold-all-td-col tbody td { font-weight: bold; }
.width-col-table tbody td:first-child { padding-right: 0; }
.width-col-table td:nth-child(2) { width: 0; }
.text-align-left-col-table tbody td:nth-child(2) { text-align: left; }
.text-align-left-col-table thead th:nth-child(2) { text-align: left; }

/* Для мини-таблиц на странице "Химстойкие ёмкости" */
.fw-normal-td-4 tbody td:nth-child(4) { font-weight: normal; }


/* Для таблицы на странице "Гальванические ванны" */
.text-align-center-col-table tbody td:first-child { text-align: center; }


/* Смена цвета для иконок на вкладке Документация */
.link-color {
  color: rgb(8, 184, 80);
}


/* Смена высоты для элемента "bi bi-fullscreen" в модуле "Проектирование и установочные чертежи" */
.top-35 {
    top: 35%;
}

/* Пользовательский внутренний верхний отступ padding-top */
.pt-35 {
    padding-top: 1.35rem;
}

/* Пользовательский внутренний левый отступ padding-left */ 
.ps-3rem {
    padding-left: 3rem;
}


.img-fixed-h-200 {
  height: 200px;
  object-fit: contain;
  width: 100%;
}



/* Скрытые блоки на страницах продукции */

.visible-content {
    margin-bottom: 20px;
}

.hidden-content {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease-in-out;
}

#text1,
#text3 {
    opacity: 0.75;
}

#text2,
#text4 {
    opacity: 0.5;
}

.toggle-button {
    border: none;
    appearance: none;
    background: none;
    color: rgb(9, 184, 80);
    transition: transform 0.3s ease;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
}

.toggle-button:hover {
    color: rgb(7, 147, 64);
}

.toggle-button.expanded {
    transform: translateY(5px);
}



/* НАСОСНАЯ ТАБЛИЦА В МОДАЛЬНОМ ОКНЕ */

/* Скрытие таблицы на мобильных устройствах */
@media screen and (max-width: 768px) {
    .table {
        display: none;
    }
}


/* ЗАГЛУШКА */
#plug {
    width: 100%;
    margin: auto;
    border-spacing: 3px;
    border-collapse: separate;
}

#plug td {
    font-size: 16px;
    text-align: center;
    background-color: #f3f5f8;
}

#plug th,
#plug td:first-child {
    font-size: 17px;
    font-weight: bold;
    background-color: #d4e5db;
    color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 8px 4px;
}

#plug th:first-child {
    width: 175px;
}


/* НАСОСНАЯ */
#pumps {
    width: 95%;
    border-spacing: 3px;
    border-collapse: separate;
}

#pumps th,
#pumps td {
    text-align: center;
    padding: 8px 4px !important;
    border: 1px solid transparent;
    user-select: auto;
    cursor: pointer;
}

#pumps .backlight {
    background-color: #f0f0f0;
    transition: all 0.5s ease;
}

#pumps tr:not(:last-child)>td:not(:first-child),
#pumps tr:first-child th:not(:first-child) {
    border-bottom: 1px dashed #d9d9d9;
}

#pumps tr:first-child th {
    background-color: #f3f5f8 !important;
}

#pumps tr:first-child th.backlight,
#pumps td:first-child.backlight {
    color: #09b850 !important;
}

#pumps th:not(:first-child)>td:not(:first-child) {
    border: 1px solid rgba(51, 51, 51, 0.1);
    user-select: none;
}

#pumps td:not(:first-child):hover {
    color: #09b850;
    border-radius: 18px;
    transition: border 0.5s ease;
    border: 1px solid #09b850 !important;
    opacity: 1 !important;
}

#pumps th,
#pumps td:first-child {
    width: 40px;
    font-size: 16px;
    max-width: 50px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    background-color: #f3f5f8 !important;
    white-space: nowrap;
    user-select: none;
    cursor: inherit;
}


/* модалка */
.custom-modal {
    max-width: 80%;
}

/* поп-ап */
.pop-up {
    width: 220px;
    padding: 20px;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    text-align: center;
    display: none;
}
