@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:wght@300&family=Arsenal&family=Carlito&family=Finlandica&family=Manrope:wght@300&family=PT+Sans+Narrow&family=Roboto:wght@300&display=swap');


@import "button_V.css";
/*@import "index.css";*/

body {
  margin: 0;
  background-image: url(/images/elts_fon.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
    font-family: Inter, 'Helvetica Neue', Helvetica, 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
  /*font-family: "Arial", sans-serif;*/
    /*font-family: 'Alegreya Sans', sans-serif;*/
    /*font-family: 'Arsenal', sans-serif;*/
    /*font-family: 'Carlito', sans-serif;*/
    /*font-family: 'Finlandica', sans-serif;*/
    /*font-family: 'Manrope', sans-serif;*/
    /*font-family: 'PT Sans Narrow', sans-serif;*/
    /*font-family: 'Roboto', sans-serif;*/
  color: var(--color-text);
  font-weight: 500;
  font-size: 16px;
  height: 100vh;
  background-color: var(--color-bg-main);
}

/* header */
.header {
  background-color: var(--color-substrate);
}

.notification_button {
    border: none;
    position: relative;
}

.custom_register {
    border: 1px solid #ffffff;color: white;
}

.img_logo {
  display: inline-block;
  position: absolute;
  padding: 10px;
  padding-left: 20px;
  top: 0;
  left: 0;
}

/* сообщения */
.messages_from {
  margin-left: auto;
  padding-right: 40px;
}

.btn__messages {
  width: 35px;
  height: 35px;
  padding: 0 0;
  border-radius: 50%;
  text-align: center;
}
/* конец */

/* контейнер под иконки, чтобы была подсветка при наведении */
.icon-container-light {
    display: inline-block; /* Чтобы контейнер соответствовал размерам иконки */
    cursor: pointer; /* Чтобы указатель мыши менялся при наведении */
    transition: all 0.3s ease;
    padding: 0.5rem 0.5rem;
    border-radius: 0.5rem;
}
.icon-container-light:hover {
    filter: invert(61%) sepia(69%) saturate(763%) hue-rotate(169deg) brightness(109%) contrast(88%);
}
/* контейнер под иконки, чтобы была подсветка при наведении */

/* Стрелка выйти */
.profile .dropdown-toggle::after {
  display: none;
}

.profile .dropdown-menu {
  background-color: var(--color-substrate);
}

.profile .dropdown-item {
  color: var(--color-text);
}

.profile .dropdown-item:hover {
  background-color: var(--color-active-item);
  color: var(--color-text);
}
/* конец */

/* Настройка бургера */
.bg_cvet {
  --bs-dropdown-bg: #212529;
}

/* Размер кнопки */

.knopka-razmer {
  width: 200px;
  height: 200px;
}
/* колонки элементов бургера */
.menu-kolonka-strohka {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 20px solid #0000;
  grid-gap: 15px;
}

@media screen and (max-width: 1100px) {
  .menu-kolonka-strohka {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 866px) {
  .menu-kolonka-strohka {
    grid-template-columns: repeat(1, 1fr);
  }
}
/* конец */

/* размер открытого бургера */
.offcanvas {
  --bs-offcanvas-width: 300px;
}
/* header */

/* footer */
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 70px;
  background-color: var(--color-substrate);
  color: var(--color-text);
  font-weight: 300;
  font-size: 14px;
}

.footer .dropdown-menu {
  max-width: 100px;
  --bs-dropdown-bg: var(--color-substrate);
  --bs-dropdown-link-color: #ffffff;
  --bs-dropdown-link-hover-color: var(--color-text);
  --bs-dropdown-link-hover-bg: var(--color-active-item);
}

.footer .btn-outline-light {
  --bs-btn-hover-color: #f8f9fa;
  --bs-btn-hover-bg: inherit;
}

/* footer */

/* центральный контент для перехода по ссылкам на начальном экране TEST */
.zagolovok {
  color: white;
  font-size: 16px;
  text-decoration: underline;
}
.content h3 a {
  text-decoration: none;
  color: white;
  font-size: 12px;
}
.content h3 a:hover {
  text-decoration: dashed;
  color: #f09;
  font-size: 12px;
}

.content .badge {
  background-color: rgb(255, 0, 72);
  padding: 5px 10px;
}

/* конец */

/* AUTHORIZATION + placeholder + input*/
.authorization {
  background-color: var(--color-auth);
}

.authorization .card {
  color: var(--color-text);
  background-color: inherit;
  border-radius: 0;
  border: 1px solid var(--color-text);
}

.authorization .card input,
.contract_information-tab .custom_write,
.contract_information-tab textarea {
  color: var(--color-text);
  background-color: inherit;
  border-radius: 0.375rem;
  border: 1px solid var(--color-text);
}
.authorization .card input::placeholder,
.contract_information-tab input::placeholder,
.contract_information-tab textarea::placeholder {
  color: grey;
  font-weight: 300;
}

/* КОНЕЦ */

/* Испытательная лаб договора таблица*/

/* кнопка в шапке таблицы начло*/
.treaty_testing_laboratory .header_content .btn {
  --bs-btn-padding-y: 0.275rem;
}
/* конец */

/* Таблица начало*/
table {
  table-layout: auto;
  width: 1320px;
}

table td {
  overflow: hidden;
}

.table .btn {
  --bs-btn-border-radius: 0;
  font-size: 12px;
}
.table .btn:hover {
  background-color: var(--color-content);
}
.table th,
.table td {
  text-align: center;
  color: var(--color-text);
}
.table td {
  font-weight: 400;
  justify-content: center;
  vertical-align: middle;
}
.table th {
  font-size: 14px;
  font-weight: 400;
}
.table {
  padding: 0 0;
  border-collapse: collapse;
  color: var(--color-text);
  margin-bottom: 5px !important;
  font-size: 12px;
}

.table .table-responsive {
  padding: 0 0;
}
/*.table .table-responsive button,*/
/*input,*/
/*select {*/
/*  font-size: 12px !important;*/
/*}*/

tbody,
td,
tfoot,
th,
thead,
tr {
  border: none;
  transition: all 0.5s;
  text-align: center;
  vertical-align: middle;
}
.table th {
  background-color: var(--color-content);
  color: var(--color-text);
  border: 1px solid var(--color-text);
}
.table tr:nth-child(even) {
  background-color: var(--color-substrate);
}
.table tr:nth-child(odd) {
  background-color: var(--color-bg-main);
}

.table tr:hover {
  background-color: var(--color-active-item) !important;
}

.table td {
  border: 1px solid var(--color-text);
}
.table tbody td {
  height: 55px !important;
}


/* Пагинация стили */

/*#pagination_custom li.is-active {*/
/*    background-color: rgb(76, 201, 240);*/
/*}*/

/*#pagination_custom li.is-active:hover {*/
/*    color: rgb(87, 152, 171);*/
/*    cursor: pointer;*/
/*}*/

/*//#pagination_custom .el-pager li {*/
/*  //    border: 1px solid var(--color-text);*/
/*  //}*/

/*#pagination_custom .btn-prev:disabled, #pagination_custom .btn-next:disabled{*/
/*    background-color: rgba(72, 169, 204, 0.99);*/
/*}*/

/* Ввод текста начало */
.text_input {
  background: inherit !important;
  outline: none !important;
  width: 12rem !important;
  color: var(--color-text) !important;
  font-size: 12px !important;
  border: 1px solid white;
  padding: 0 0.5rem 0 1rem;
  height: 2rem;
}
.text_input:focus {
  background: inherit !important;
  outline: none !important;
  width: 12rem !important;
  color: var(--color-text) !important;
  font-size: 12px !important;
}
/* Ввод текста конец */
/* Таблица конец*/

/* Размер колонок отдел договоров agreement_departament */
.table_agreement th:nth-of-type(1) {
  width: 50px;
}
.table_agreement th:nth-of-type(2) {
  width: 50px;
}
.table_agreement th:nth-of-type(3) {
  width: 166px;
}
.table_agreement th:nth-of-type(4) {
    width: 95px;
}
.table_agreement th:nth-of-type(5) {
  width: 100px;
}
.table_agreement th:nth-of-type(6) {
  width: 165px;
}
.table_agreement th:nth-of-type(7) {
  width: 113px;
}
.table_agreement th:nth-of-type(8) {
  width: 90px;
}
.table_agreement th:nth-of-type(9) {
  width: 110px;
}
.table_agreement th:nth-of-type(10) {
  width: 120px;
}
/* Размер колонок отдел договоров agreement_departament */

/* Размер колонок отдел сотруднков employee_departament */
.table_employees th:nth-of-type(1) {
  width: 50px;
}
.table_employees th:nth-of-type(2) {
  width: 50px;
}
.table_employees th:nth-of-type(3) {
  width: 157px;
}
.table_employees th:nth-of-type(4) {
  width: 100px;
}
.table_employees th:nth-of-type(5) {
  width: 165px;
}
.table_employees th:nth-of-type(6) {
  width: 130px;
}
.table_employees th:nth-of-type(7) {
  width: 180px;
}
.table_employees th:nth-of-type(8) {
  width: 90px;
}
.table_employees th:nth-of-type(9) {
  width: 110px;
}
.table_employees th:nth-of-type(10) {
  width: 107px;
}
.table_employees th:nth-of-type(11) {
  width: 90px;
}
.table_employees th:nth-of-type(12) {
  width: 90px;
}
/* Размер колонок отдел сотруднков employee_departament */

/* Размер колонок отдел сотруднков employee_departament */
.table_general th:nth-of-type(1) {
  width: 50px;
}
.table_general th:nth-of-type(2) {
  width: 90px;
}
.table_general th:nth-of-type(3) {
  width: 215px;
}
.table_general th:nth-of-type(4) {
  width: 100px;
}
.table_general th:nth-of-type(5) {
  width: 90px;
}
.table_general th:nth-of-type(6) {
  width: 75px;
}
.table_general th:nth-of-type(7) {
  width: 180px;
}
.table_general th:nth-of-type(8) {
  width: 90px;
}
.table_general th:nth-of-type(9) {
  width: 150px;
}
.table_general th:nth-of-type(10) {
  width: 110px;
}
.table_general th:nth-of-type(11) {
  width: 90px;
}
.table_general th:nth-of-type(12) {
  width: 90px;
}
.table_general th:nth-of-type(13) {
  width: 90px;
}
.table_general th:nth-of-type(14) {
  width: 90px;
}
.table_general th:nth-of-type(15) {
  width: 90px;
}

/* Размер колонок Договора общие general_department */

/* Стили для скролла */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 20px 20px rgb(66 70 95);
  border-radius: 20px;
}
::-webkit-scrollbar-thumb {
  box-shadow: inset 0 0 20px 20px rgb(58 61 80);
  border-radius: 20px;
}
/* конец скролла */

/* Модальное окно */

.modal-content {
  background-color: var(--color-auth) !important;
  border-radius: 0;
  border: 1px solid white;
  padding: 0;
}
.contract_information_input {
  width: 100% !important;
}
.contract_information_form-select {
  border-radius: 0.375rem;
  /* padding: 5px 2rem 5px 0.5rem; */
  outline: none;
  display: inline-block;
  /* background-image: url(/images/arrow-open-down.svg); */
}
.contract_information_text-form-select {
  background: inherit !important;
  outline: none !important;
  color: var(--color-text) !important;
  width: 100% !important;
  font-size: 12px !important;
  border: 1px solid white;
  padding: 0 0.5rem 0 1rem;
  height: 2rem;
}
.contract_information_text-form-select:focus {
  background: inherit !important;
  outline: none !important;
  width: 100% !important;
  color: var(--color-text) !important;
  font-size: 12px !important;
}
.contract_information-tab label {
  font-size: 14px;
}
/* Кнопки */
.nav-pills .nav-link {
  background: inherit;
  border: 1px solid white;
  border-radius: 0;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: white;
  background-color: var(--color-content);
}
/* Кнопки */

/* Модальное окно */

/* выбор selected (продолжить как то цикл до бесконечности*/
.form-select {
  border-radius: 0;
  min-width: 8rem;
  max-width: 12rem;
  padding: 5px 2rem 5px 0.5rem;
  outline: none;
  display: inline-block;
  /* background-image: url(/images/arrow-open-down.svg); */
}
.form-selected:focus {
  border-color: inherit;
}
.сontract_subject {
  width: 7rem;
}
/* этот */
select option[value="1"] {
  background: var(--color-active-item);
}
select option[value="2"] {
  background: var(--color-substrate);
}
select option[value="3"] {
  background: var(--color-substrate);
}
select option[value="4"] {
  background: var(--color-substrate);
}
select option[value="5"] {
  background: var(--color-substrate);
}
/* выбор selected */

/* конец */

/* псевдоэлементы для  выбора */
.table .form-control:hover,
.table .form-control:active,
.table .form-control:focus {
  background-color: var(--color-content);
  color: var(--color-text);
}
.table .form-control:focus {
  color: #fff;
  border: 1px solid #4cc9f0;
  box-shadow: 10px 10px 50px 1px #4cc9f0;
}

/* конец */

/* Пагинация Начало*/
/*.pagination {*/
/*  font-size: 15px;*/
/*  font-weight: 300;*/
/*}*/
/*.circle_pagination {*/
/*  display: flex;*/
/*  margin: 0.2rem;*/
/*  width: 2rem;*/
/*  height: 2rem;*/
/*  border-radius: 50%;*/
/*  text-align: center;*/
/*  line-height: 0px;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*}*/
/*.circle_pagination_action {*/
/*  background-color: #4cc9f0;*/
/*  border: 1px solid var(--color-active-item);*/
/*  color: var(--color-bg-main);*/
/*}*/
/*.pagination img {*/
/*  width: 15px;*/
/*  transform: rotate(-90deg);*/
/*}*/

/* Пагинация Конец*/

/*  */
/* Поверочная лаборатория Протоколы методики */
/*  */

.side__navs button {
  color: white;
  width: 100%;
  text-align: left;
  font-weight: 300;
  padding: 0.7rem 1.8rem;
  border: none;
}
.side__navs button:hover {
  color: white;
  background-color: #3f466a;
}
.calibration_laboratory .nav-pills .nav-link {
  border: none;
}

.calibration_laboratory .nav-pills .nav-link.active,
.calibration_laboratory .nav-pills .show > .nav-link {
  color: white;
  background-color: #4b5692;
}

/* Правый список с выбором */
.main_list {
  list-style-type: none;
  padding: 15px 0;
  margin: 0;
  cursor: pointer;
  font-weight: 300;
  background-color: var(--color-content);
}

.bg__protocol {
  background-color: var(--color-substrate);
  min-height: 84vh;
  padding-bottom: 1rem;
  padding-top: 1rem !important;
}

.flex_item_content_protocol {
  min-height: 180px;
  background-color: var(--color-content);
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-content);
}

.item_protocol a {
  color: white;
  text-decoration: none;
  font-weight: 400;
}

.header_content {
  border-bottom: 2px solid #2d3146;
  background-color: var(--color-content) !important;
  padding-left: 2rem !important;
}

.button_protocol {
  color: var(--color-text);
}

/* Для адаптации маленьких экранов */

@media screen and (max-width: 992px) {
  .link__methods {
    font-size: 12px;
  }
}

@media screen and (max-width: 576px) {
  .header_methods_media {
    display: none;
  }
  .flex_item_content_protocol {
    min-height: 100px !important;
  }
}
@media all and (min-width: 576.1px) {
  .methods_media_btn {
    display: none;
  }
}
/* конец */

/* Протоколы__Производственный контроль */
.production_control .nav-pills .nav-link {
  border: none;
}

.production_control .nav-pills .nav-link.active,
.production_control .nav-pills .show > .nav-link {
  color: white;
  background-color: #4b5692;
}
/* конец */

/* ДАННЫЕ начало */

.div_form-input {
  color: var(--color-text);
  background-color: inherit;
  border-radius: 0.375rem;
  border: 1px solid var(--color-text);
  padding: 0.375rem 0.75rem;
  font-size: 12px;
  word-wrap: break-word;
}

.data-tab {
  border-radius: 0;
  background-color: var(--color-auth);
  padding: 1rem;
  border-radius: 0;
}

.data-tab input {
  color: var(--color-text);
  background-color: inherit;
  border-radius: 0.375rem;
  border: 0px solid var(--color-text);
}

.data-tab input::placeholder {
  color: grey;
  font-weight: 300;
}

.data-tab .form-control:hover,
.data-tab .form-control:active,
.data-tab .form-control:focus {
  background-color: var(--color-content);
  color: var(--color-text);
}
.data-tab .form-control:focus {
  color: #fff;
  border: 1px solid #4cc9f0;
  box-shadow: 10px 10px 50px 1px #4cc9f0;
}

/* Кнопки */
.nav-pills .nav-link {
  background: inherit;
  border: 1px solid white;
  border-radius: 0;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: white;
  background-color: var(--color-content);
}
/* Кнопки */

/* ДАННЫЕ конец */

/*  */
/* **База средств измерений base_measuring_instruments ***НАЧАЛО */
/*  */

/* 2-ое модальное окно */
.disabled_btn {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-grey-text);
  background-color: var(--color-auth);
  padding: 0.375rem 0.75rem;
  border: 1px solid white;
  border-radius: 0;
  cursor: default !important;
}

.active_btn {
  font-size: 12px;
  font-weight: 500;
  color: white;
  background-color: var(--color-content);
  padding: 0.375rem 0.75rem;
  border: 1px solid white;
  border-radius: 0;
  cursor: default !important;
}
/* 2-ое модальное окно */

.base_measuring_instruments-tab input {
  color: var(--color-text);
  background-color: inherit;
  border-radius: 0.375rem;
  border: 0 solid var(--color-text);
}

.base_measuring_instruments-tab input::placeholder {
  color: grey;
  font-weight: 300;
}

.base_measuring_instruments-tab .form-control:hover,
.base_measuring_instruments-tab .form-control:active,
.base_measuring_instruments-tab .form-control:focus {
  background-color: var(--color-content);
  color: var(--color-text);
}
.base_measuring_instruments-tab .form-control:focus {
  color: #fff;
  border: 1px solid #4cc9f0;
  box-shadow: 10px 10px 50px 1px #4cc9f0;
}

.base_measuring_instruments .btn {
  font-size: 12px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}


/* Размер колонок База средств измерений главная table_measuring_instruments */
.table_measuring_instruments th:nth-of-type(1) {
  width: 50px;
}
.table_measuring_instruments th:nth-of-type(2) {
  width: 50px;
}
.table_measuring_instruments th:nth-of-type(3) {
  width: 300px;
}
.table_measuring_instruments th:nth-of-type(4) {
  width: 180px;
}
.table_measuring_instruments th:nth-of-type(5) {
  width: 265px;
}
.table_measuring_instruments th:nth-of-type(6) {
  width: 250px;
}
/* Размер колонок База средств измерений главная table_measuring_instruments */

/* Размер колонок База средств измерений test_results */
.table_test_results th:nth-of-type(1) {
  width: 150px;
}
.table_test_results th:nth-of-type(2) {
  width: 90px;
}
.table_test_results th:nth-of-type(3) {
  width: 90px;
}
.table_test_results th:nth-of-type(4) {
  width: 90px;
}
.table_test_results th:nth-of-type(5) {
  width: 90px;
}
.table_test_results th:nth-of-type(6) {
  width: 150px;
}
/* Размер колонок База средств измерений test_results */

/* Размер колонок База средств измерений metrological_characteristics */
.table_metrological_characteristics th:nth-of-type(1) {
  width: 200px;
}
.table_metrological_characteristics th:nth-of-type(2) {
  width: 300px;
}
.table_metrological_characteristics th:nth-of-type(3) {
  width: 426px;
}

/* Размер колонок База средств измерений agreement_departament */

/* Размер колонок База средств измерений table_regulations */
.table_regulations th:nth-of-type(1) {
  width: 440px;
}
.table_regulations th:nth-of-type(2) {
  width: 300px;
}

/* Размер колонок База средств измерений table_regulations */

/* Размер колонок База средств измерений table_maintenance */
.table_maintenance th:nth-of-type(1) {
  width: 90px;
}
.table_maintenance th:nth-of-type(2) {
  width: 200px;
}
.table_maintenance th:nth-of-type(3) {
  width: 450px;
}

/* Размер колонок База средств измерений table_maintenance */

/*
Нужно сделать
инпут общий
1)contract_information_input
2)contract_information_text-form-select
+
base_measuring_instruments-tab и тд тоже сделать общий чтобы не повторяться
*/

/*  */
/* **База средств измерений base_measuring_instruments ***КОНЕЦ */
/*  */
