/* cyrillic-ext */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  src: url(../fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1x4taVIGxA.woff2)
    format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F,
    U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  src: url(../fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1x4kaVIGxA.woff2)
    format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  src: url(../fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1x4saVIGxA.woff2)
    format("woff2");
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  src: url(../fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1x4jaVIGxA.woff2)
    format("woff2");
  unicode-range: U+0370-03FF;
}
/* hebrew */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  src: url(../fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1x4iaVIGxA.woff2)
    format("woff2");
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* vietnamese */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  src: url(../fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1x4vaVIGxA.woff2)
    format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  src: url(../fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1x4uaVIGxA.woff2)
    format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  src: url(../fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1x4gaVI.woff2)
    format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: "Geo";
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/geo/v19/CSRz4zRZluflKHpn.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

html {
  font-size: 16px;
}
body {
  font-size: 1rem;
}
a {
  color: #0d35a9;
}
a:hover {
  color: #ae1a20;
  text-decoration: none;
}
.row.g-bottom-3 [class*="col-"] {
  margin-bottom: 1rem;
}
.row.g-bottom-2 [class*="col-"] {
  margin-bottom: 0.5rem;
}
.mx-offset {
  margin-right: -15px;
  margin-left: -15px;
}
.no-padding > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}
.fs-12 {
  font-size: 12px !important;
}
.fs-13 {
  font-size: 13px !important;
}
.fs-14 {
  font-size: 14px !important;
}
.fs-15 {
  font-size: 15px !important;
}
.fs-16 {
  font-size: 16px !important;
}
.fs-17 {
  font-size: 17px !important;
}
.fs-18 {
  font-size: 18px !important;
}
.fs-19 {
  font-size: 19px !important;
}
.fs-20 {
  font-size: 20px !important;
}
.fs-21 {
  font-size: 21px !important;
}
.fs-22 {
  font-size: 22px !important;
}
.fs-24 {
  font-size: 24px !important;
}
.fs-28 {
  font-size: 28px !important;
}

dropzone * {
  box-sizing: border-box;
}
.dz-complete {
  width: 120px;
  height: 120px;
}
.dropzone .dz-preview.dz-error .dz-error-message {
  top: 0px !important;
  left: 105%;
}
.dropzone .dz-preview.dz-error .dz-error-message:after {
  top: 58px;
  left: -12px;
  width: 0;
  border: 6px solid transparent;
  border-right: 6px solid #be2626;
}
.prokrutka {
  height: 400px; /* высота блока */
  width: 98%; /* ширина блока */
  background: #fff; /* цвет фона, белый */
  border: 2px solid #c1c1c1; /* размер и цвет границы блока */
  /*overflow-x: scroll; /* прокрутка по горизонтали */
  overflow-y: scroll; /* прокрутка по вертикали */
}

form {
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
input[type="radio"] {
  -moz-appearance: checkbox;
  -webkit-appearance: checkbox;
  appearance: checkbox;
}

label.required::after,
legend.required::after,
.required > label::after,
.required > legend::after {
  color: red;
  content: "*";
  font-weight: 700;
  white-space: nowrap;
}

.row {
  margin-left: 0;
  margin-right: 0;
}

.button._titled:after,
.btn._titled::after {
  width: 24px;
  height: 24px;
  display: inline-block;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 16l4-4m0 0l-4-4m4 4H8' stroke='%23C93239' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100%;
  transition: background-image 0.25s ease;
  content: "";
}
.button._titled {
  display: flex;
  align-items: center;
  color: #0d35a9;
  font-weight: 500;
  transition: color 0.25s ease;
}
.button._titled:hover {
  color: #c93239;
  text-decoration: none;
}
.button._titled:hover:active {
  color: #c93239;
  text-decoration: none;
}
.button._titled._multiline {
  display: inline;
}
.button._titled._multiline:after,
.btn._titled._multiline:after {
  vertical-align: middle;
}
.button._external:after {
  transform: rotate(-45deg);
}
.btn-indigo {
  background-color: #2e47d1;
  color: #ffffff;
  border-color: #2e47d1;
}
.btn-outline-indigo {
  background-color: #ffffff;
  color: #2e47d1;
  border-color: #2e47d1;
}
.btn-indigo:hover,
.btn-indigo:focus,
.btn-indigo:active,
.btn-outline-indigo:hover,
.btn-outline-indigo:focus,
.btn-outline-indigo:active {
  background-color: #3f51b5;
  color: #ffffff;
}
.useful-links {
  font-family: "Open Sans";
  background-color: #e6eff6;
  border: 1px solid #e6eff6;
  max-width: 400px;
  margin: 0 auto;
}
.useful-links li {
  line-height: 1.2;
  font-size: 14px;
  padding: 14px;
}
.fw-bold {
  font-weight: 700 !important;
}

.vhod_back {
  width: 100%;
  height: 100%;
  background: rgba(230, 239, 246, 1);
  opacity: 1;
  position: relative;
  top: 0px;
  left: 0px;
  overflow: hidden;
}

#b-main-panel {
  height: 100vh;
  overflow: auto;
}
.form-header {
  background: #4131c3;
  padding: 10px 0;
  min-height: 60px;
  font-family: "Open Sans";
  font-size: 16px;
  line-height: 22px;
}
.main-zayav-submit button {
  width: 500px;
  max-width: 100%;
}

.right_panell {
  width: 100%;
  background: rgba(230, 239, 246, 1);
  opacity: 1;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.right_panell table td {
  word-break: break-all;
}

.chat_msg_frame {
  width: 286px;
  height: 59px;
  background: rgba(255, 255, 255, 1);
  opacity: 1;
  position: absolute;
  top: 366px;
  left: 27px;
  border: 1px solid #294594;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  overflow: hidden;
}
#chat .qbox:last-child {
  margin-bottom: 8px;
}
.chat_frame {
  width: 90%;
  height: 50vh;
  background: rgba(255, 255, 255, 1);
  opacity: 1;
  margin-top: 6px;
  margin-left: 12px;
  overflow-y: scroll;
  overflow-x: hidden;
}
.chat_name_left {
  text-align: left;
  opacity: 1;
  margin-left: 15px;
  overflow: hidden;
}
.chat_name_right {
  text-align: right;
  opacity: 1;
  margin-right: 15px;
  overflow: hidden;
}
.chat_msg_right {
  background: rgba(134, 111, 215, 0.25);
  opacity: 1;
  margin-right: 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  overflow: hidden;
}
.chat_msg_left {
  background: rgba(188, 210, 248, 0.5);
  opacity: 1;
  margin-left: 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  overflow: hidden;
}
.data {
  color: #aaa;
  font-size: 12px;
}
.bname p {
  font: italic 11px Georgia, Times;
  font-weight: bold;
}

.popup-fade {
  display: none;
}
.popup-fade:before {
  content: "";
  background: #000;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  z-index: 9999;
}
.popup {
  position: fixed;
  top: 20%;
  left: 50%;
  padding: 20px;
  width: 360px;
  margin-left: -200px;
  background: #fff;
  border: 1px solid orange;
  border-radius: 4px;
  z-index: 99999;
  opacity: 1;
}
.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

.v33_92 {
  height: 2px;
  border: 1px solid #294594;
}
.form-control,
.select2-selection {
  border: 2px solid #294594 !important;
}
.form-control:focus {
  border-color: #2e47d1;
  box-shadow: 0 0 0 0.2rem rgb(46 71 209 / 14%);
}
::-webkit-scrollbar {
  width: 20px;
}
::-webkit-scrollbar-track {
  background-color: transparent;
}
::-webkit-scrollbar-thumb {
  background-color: #d6dee1;
  border-radius: 20px;
  border: 6px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #a8bbbf;
}
.v53_35 {
  width: 37px;
  height: 32px;
  background: url("../images/v53_35.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 1;
  position: absolute;
  top: 14px;
  left: 716px;
  overflow: hidden;
}

/* для входа: */
.v1_256 {
  width: 100%;
  height: 1725px;
  background: rgba(230, 239, 246, 1);
  opacity: 1;
  position: relative;
  top: 0px;
  left: 0px;
  overflow: hidden;
}
.v61_15 {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 1;
  overflow: hidden;
}
.vhod_font_main {
  max-width: 400px;
  color: #294594;
  font-family: Open Sans;
  font-weight: 500;
  font-size: 20px;
  opacity: 1;
  text-align: center;
}
.alert a {
  text-decoration: none;
}

.only_one_checkbox .conteiner {
  padding-top: 15px;
  padding-bottom: 5px;
}

.only_one_checkbox .conteiner h5 {
  text-align: center;
}

.only_one_checkbox .conteiner [class^="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}

.block_responsibles select.form-control[multiple],
.block_responsibles select.form-control[size] {
  height: 0;
  opacity: 0;
}

.block_responsibles .SumoSelect {
  width: 100%;
}

#ischez_blok_sobesed_subject_prigran .SumoSelect {
  width: 100%;
}
#ischez_blok_sobesed_subject_prigran .SumoUnder {
  height: 0;
}

.block_responsibles .optWrapper label {
  margin-bottom: 0;
}

.block_responsibles .SumoSelect > .CaptionCont > span.placeholder {
  color: #495057;
  font-style: normal;
}

.block_responsibles .SumoSelect.disabled .SelectBox {
  background-color: #e9ecef;
}

.block_responsibles div[class*="b-formobuch-"] {
  border-color: #405d91 !important;
}
.block_responsibles label.control-label {
  letter-spacing: normal;
  line-height: 1;
  font-size: 14px;
}
.block_responsibles .form_not_realiz {
  letter-spacing: -0.9px;
  line-height: 1;
}

.error-br-orangered {
  border: 3px dotted orangered;
}
.error-bg-orangered {
  background-color: #ffffe0;
  padding: 10px 5px;
}

@media (max-width: 1599.98px) {
  .block_responsibles .SumoSelect > .optWrapper {
    width: auto;
  }
  .block_responsibles [class*="b-formobuch-"] > label {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
  }
  .block_responsibles label.control-label {
    letter-spacing: -0.5;
    font-size: 13px;
  }
  .right_panell {
    max-width: 400px;
    margin: 0 auto;
  }
}
@media (max-width: 991.98px) {
  #b-main-panel {
    height: auto;
  }
  .row [class^="col-"]:not(:last-child) {
    margin-bottom: 10px;
  }
  #ischez_blok_sobesed_subject [class^="col-"]:not(:last-child) {
    margin-bottom: 0;
  }
  .block_responsibles .conteiner [class^="col-"] {
    padding: 8px;
  }
  .block_responsibles [class*="b-formobuch-"] > label {
    display: inline-block;
    min-height: auto;
  }
}
@media (max-width: 575.98px) {
  .b-auth .btn {
    margin-top: 5px;
    min-width: 60%;
  }
}

@media (min-width: 992px) {
  .block_responsibles .b-formobuch-och {
    border-right: none !important;
  }
  .block_responsibles .b-formobuch-ocz {
    border-left: none !important;
  }
}
@media (min-width: 1280px) {
  .status__zayavl span {
    font-size: 18px;
  }
}
@media (min-width: 1600px) {
  .useful-links li {
    padding: 14px;
    font-size: 14px;
  }
}

/* TODO: FROM ADMINKA */
form {
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
input[type="radio"] {
  appearance: checkbox;
  -moz-appearance: checkbox;
  -webkit-appearance: checkbox;
}

.dz-complete {
  width: 120px;
  height: 120px;
}

.popup-fade {
  display: none;
}
.popup-fade:before {
  content: "";
  background: #000;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  z-index: 9999;
}
.popup {
  position: fixed;
  top: 20%;
  left: 50%;
  padding: 20px;
  width: 360px;
  margin-left: -200px;
  background: #fff;
  border: 1px solid orange;
  border-radius: 4px;
  z-index: 99999;
  opacity: 1;
}
.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
}
/* chat */
.prokrutka {
  height: 350px;
  width: 100%;
  background: #fff;
  border: 1px solid #c1c1c1;
  overflow-y: scroll;
}
#chat .qbox:last-child {
  margin-bottom: 8px;
}
.chat_name_left {
  text-align: left;
  opacity: 1;
  margin-left: 15px;
  overflow: hidden;
}
.chat_name_right {
  text-align: right;
  opacity: 1;
  margin-right: 15px;
  overflow: hidden;
}
.chat_msg_right {
  background-color: #d9edf7;
  opacity: 1;
  margin-right: 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  overflow: hidden;
}
.chat_msg_left {
  background-color: #dff0d8;
  opacity: 1;
  margin-left: 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  overflow: hidden;
}
.data {
  color: #aaa;
  font-size: 12px;
}
.bname p {
  font: italic 11px Georgia, Times;
  font-weight: bold;
}
/* auth */
.b-auth-admin button {
  width: 50%;
}
/* tables */
table.cell-formobuch-osnpost-table > tbody > tr > td {
  border-color: transparent;
}
table.cell-formobuch-osnpost-table > tbody > tr:not(:last-child) > td {
  border-bottom: 1px solid #83868938;
}
.cell-formobuch-osnpost-table .edu-form-och td:first-child {
  color: #0956a9;
  font-weight: 500;
}
.cell-formobuch-osnpost-table .edu-form-ocz td:first-child {
  color: #850bb7;
  font-weight: 500;
}
.cell-formobuch-osnpost-table .edu-form-zao td:first-child {
  color: #bd2130;
  font-weight: 500;
}

/* TODO: */
.hidden {
  display: none;
}
.disabled {
  background-color: #eee;
  pointer-events: none;
  opacity: 0.6;
}
/* TODO: */
.statuses-task-list,
.logout {
  font-size: 18px;
}
.status-task-list {
  margin-bottom: 8px;
  height: 28px;
}
.text-orange {
  color: #ab4626 !important;
}
.text-purple {
  color: #673ab7 !important;
}
.text-green {
  color: #0e6622 !important;
}
.text-red {
  color: #f80b21 !important;
}
/* progress */
.bg-progress-light {
  background-color: #ccd6a0; /* полупрозрачный синий */
}
.bg-progress-dark {
  background-color: #c4d08c; /* насыщенный синий */
}
/* extension1, extension2 */
.bg-extension-light {
  background-color: #ffa50080; /* полупрозрачный оранжевый */
}
.bg-extension-dark {
  background-color: #e2a15f; /* насыщенный оранжевый */
}
/* completed */
.bg-completed-light {
  background-color: #50db88; /* полупрозрачный зеленый */
}
.bg-completed-dark {
  background-color: #74d89d; /* насыщенный зеленый */
}
/* overdue */
.bg-overdue-light {
  background-color: #f0b9d0; /* полупрозрачный красный */
}
.bg-overdue-dark {
  background-color: #f0acc8; /* насыщенный красный */
}
/* stopped */
.bg-stopped-light {
  background-color: #b8c0c9; /* полупрозрачный серый */
}
.bg-stopped-dark {
  background-color: #aab2bb; /* темный серый */
}
/* canceled */
.bg-canceled-light {
  background-color: #76d7c4; /* полупрозрачный темно-серый */
}
.bg-canceled-dark {
  background-color: #76d7c4; /* очень темный серый */
}
/* TODO: */
.table-tasks {
  margin-bottom: 20px;
  border: 1px solid #d2b4de;
}

.table-tasks th {
  font-weight: bold;
  padding: 8px;
  background: #d2b4de;
  border: 1px solid #dddddd;
  vertical-align: middle !important;
}

.table-tasks td {
  border: 1px solid #dddddd;
  padding: 8px;
}

.table .table td {
  border-color: transparent;
}

.user-greeting {
  padding: 10px 0;
  border-bottom: 1px solid #dee2e6;
  border-radius: 5px;
  background-color: #fafcf1;
  margin-top: 10px;
}

/* Компактные отступы для полей */
.filter-group {
  margin-bottom: 0.5rem;
}
.card .card-title {
  margin-bottom: 0;
}

/* pagination */
.pagination-nav-btn,
.pagination-page-input {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}
.pagination-page-input {
  width: 80px;
  font-size: 0.875rem;
}
.pagination-nav-btn {
  width: 40px;
}
.pagination-nav-btn .fa-solid {
  margin: 0;
  font-size: 0.9em;
}
.pagination-nav-btn-prev {
  border-radius: 0.2rem 0 0 0.2rem;
}
.pagination-nav-btn-next {
  border-radius: 0 0.2rem 0.2rem 0;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Основной контейнер индикатора AJAX загрузки */
.loader-dots {
  display: flex;
  gap: 0.4rem; /* Уменьшенный отступ между точками */
  justify-content: center;
  align-items: center;
}

/* Каждая точка загрузчика */
.loader-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background-color: #0d6efd;
  animation: pulse 1.2s infinite; /* Анимация пульсации */
}

/* Задержка анимации для создания эффекта "волны" */
.loader-dot:nth-child(2) {
  animation-delay: 0.2s;
}
.loader-dot:nth-child(3) {
  animation-delay: 0.4s;
}

/* Анимация: плавное изменение размера и прозрачности */
@keyframes pulse {
  0%,
  100% {
    transform: scale(0.8); /* Уменьшение в начале и конце цикла */
    opacity: 0.6; /* Полупрозрачность в крайних точках */
  }
  50% {
    transform: scale(1.2); /* Увеличение в середине цикла */
    opacity: 1; /* Полная непрозрачность в пике */
  }
}

/* Скрываем исходный select до инициализации */
.js-select2:not(.select2-hidden-accessible) {
  display: none !important;
}

/* Разрешаем перенос текста в тегах Select2 */
.select2-selection__choice,
.select2-selection__choice__display {
  white-space: normal !important;
  word-wrap: break-word !important;
  max-width: 100% !important;
  margin: 2px 4px !important;
  padding: 4px 8px !important;
  line-height: 1.25;
}

/* Для контейнеров с несколькими тегами — разрешаем перенос строк */
.select2-selection--multiple {
  display: flex !important;
  flex-wrap: wrap !important;
}

/* Скрываем опции с aria-disabled="true" в интерфейсе Select2 */
.select2-results__option[aria-disabled="true"] {
  display: none !important;
}

/* Дополнительно: скрываем из списка выбора (если нужно) */
.select2-selection__rendered [aria-disabled="true"] {
  display: none !important;
}

/* Уменьшаем размеры элементов Select2 */
.select2-container .select2-selection--single {
  height: 38px !important;
  font-size: 1rem;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 38px !important;
}
