/*header*/

.header__login {
    width: 352px;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    box-shadow: 0px 22.3363px 17.869px rgba(0, 0, 0, 0.0298054), 0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0201946);
    border-radius: 4px;
    padding: 20px 24px 24px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.header__login-overlay {
    z-index: 9;
    width: 100vw;
    height: 100vh;
    background-color: rgba(4, 9, 42, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    overflow: hidden;
}

.header__login-head {
    display: flex;
    justify-content: space-between;
}

.header__login-title {
    font-weight: 500;
    font-size: 1.1em;
}

.header__login-password {
    position: relative;
}

.header__login-label {
    font-size: 0.7em;
    margin-top: 20px;
    padding-bottom: 8px;
}

.header__login-label-eye {
    cursor: pointer;
    width: 24px;
    height: 24px;
    background-image: url("/img/icon/line/eye-off.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: inline-block;
    vertical-align: middle;
    transition: all 0.3s ease;
    position: absolute;
    top: calc(50% - 12px);
    right: 10px;
}

.header__login-input {
    border: none;
    background-color: #F8F8F8;
    border-radius: 4px;
    padding: 14px 16px;
    font-family: var(--font-family);
    font-size: 0.7em;
    line-height: 1.3;
    color: var(--text-color);
    width: 100%;
}

.header__login-input-eye {
    display: none;
}

.header__login-input-eye:checked + .header__login-label-eye {
    background-image: url("/img/icon/line/eye.svg");
}

.header__login-close {
    border: none;
    background: none;
    opacity: 0.5;
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
    background-image: url("/img/icon/line/cross.svg");
    background-position: center;
    background-repeat: no-repeat;
    outline: none;
    cursor: pointer;
}

.header__login-close:hover {
    opacity: 1;
}

.header__login-item {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__login-link {
    text-decoration: none;
    color: #0050B2;
    font-size: 0.7em;
    transition: all 0.3s ease;
}

.header__login-link:hover {
    color: #1161C3;
}

.header__login-link:active {
    color: #0D6ADC;
}

.header__login-link--enter {
    border: none;
    background: none;
    background-color: #0050B2;
    border-radius: 6px;
    border: 2px solid transparent;
    color: #FFFFFF;
    font-family: var(--font-family);
    padding: 7px 8px;
    outline: none;
    cursor: pointer;
}

.header__login-link--enter:hover {
    background-color: #1161C4;
    color: #FFFFFF;
}

.header__login-link--enter:active {
    color: #FFFFFF;
    background: linear-gradient(180deg, #0050B2 0%, #1161C3 100%);
}

.header__login-link--enter:focus {
    color: #FFFFFF;
    background-color: #0050B2;
    border-color: #9AABF5;
}

.header__navigation-button {
    text-decoration: none;
}

/*registration*/

.registr__form {
    display: flex;
    flex-direction: column;
}

.registr__form input[type="submit"].registr__form-button {
    margin-top: 56px;
    max-width: 245px;
    padding: 18px;
}

.registr__form input.registr__form-input {
    max-width: 543px;
}

/*page*/

.breadcrumb {
    padding-left: 0;
    padding-bottom: 24px;
}

.page__data {
    font-size: 0.9em;
}

.page__data-head {
    font-size: 0.9em;
    font-weight: 800;
    padding-bottom: 24px;
}

.page__list {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
}

.page__list-item {
    display: flex;
    flex-direction: column;
    margin-left: 36px;
}

.page__list-item-head {
    font-size: 1.1em;
    font-weight: 500;
    margin-bottom: 8px;
    position: relative;
}

.page__list-item-head:before {
    content: '1';
    background-color: #FF004C;
    width: 24px;
    height: 24px;
    border-radius: 11px;
    font-size: 0.6em;
    line-height: 1.2;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: calc(50% - 12px);
    left: -36px;
}

.page__list-item:last-child .page__list-item-head:before {
    content: '2';
}

.page__list-item:not(:first-child) {
    margin-top: 32px;
}

.page__list-item p {
    margin-top: 8px;
}

.page__list-item-img {
    margin-top: 24px;
    margin-bottom: 24px;
}

.page__list-item-docs {
    margin-top: 16px;
    padding: 12px 19px;
    background-color: #F8F8FF;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.page__list-item-link {
    text-decoration: none;
    color: #0050B2;
    transition: all 0.3s ease;
    font-size: 0.7em;
}

.page__list-item-link:not(:first-child) {
    margin-top: 8px;
}

.page__list-item-link:hover {
    color: #1161C3;
}

.page__list-item-link:active {
    color: #0D6ADC;
}

.page__list-item-mail {
  text-decoration: none;
  color: #0050B2;
  transition: all 0.3s ease;
}

.page__list-item-mail:hover {
  color: #1161C3;
}

.page__list-item-mail:active {
  color: #0D6ADC;
}

.page__menu-description {
    font-size: 0.7em;
    margin-top: 12px;
}

.page__menu-description:first-child {
    margin-top: 0;
}

.page__data-label {
    font-size: 0.8em;
    font-weight: 500;
    margin-top: 32px;
    padding-bottom: 10px;
}

.work-group-wrap .file-new {
    font-size: 1.4em;
}

.page__data-label:first-child {
    margin-top: 0;
}

.page__data-label--mt56 {
    margin-top: 56px;
}

/* select2 */
.select2-results__option {
    font-size: 0.8em;
}

.select2-container {
    width: 311px !important;
}

.select2 {
    max-width: 543px !important;
}

.select2-selection__rendered {
    line-height: inherit !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    height: 0;
    left: 50%;
    margin-left: -12px !important;
    margin-top: -5px !important;
    position: absolute;
    top: 50%;
    width: 0;
    border: solid #04092A !important;
    border-width: 0 3px 3px 0 !important;
    transform: rotate(45deg) !important;
    -webkit-transform: rotate(45deg) !important;
    padding: 3px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.newdoc .select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: -22px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    transform: rotate(225deg) !important;
}

.select2-selection, .select2-search__field {
    background-color: var(--background-field) !important;
    border-radius: 4px !important;
    font-size: 0.9em !important;
    line-height: 1.33 !important;
    padding: 16px !important;
    padding-bottom: 18px !important;
    font-family: var(--font-family) !important;
    border: 2px solid transparent !important;
    height: inherit !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 18px !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #0061D9 !important;
    border-radius: 4px;
}

.select2-dropdown {
    box-shadow: 0px 6px 11px rgba(125, 123, 123, 0.04);
}
/* select2 */

#searchCancel {
    top: 0;
    right: -15px;
}

/*news title, filters*/

.page--pb24 {
    padding-bottom: 24px;
}

.page__sort {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    gap: 16px;
    flex-wrap: wrap;
}

.page__sort-title {
    font-size: 0.9em;
    font-weight: 500;
    padding-bottom: 10px;
}

.page__sort-item {
    display: flex;
    flex-direction: column;
}

.page__sort-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page__sort-reset {
    border: none;
    background: none;
    margin-bottom: 10px;
    padding: 0;
    cursor: pointer;
    font-family: 'Golos', Arial, sans-serif;
    font-size: 0.9em;
    font-weight: 400;
    color: #E52E2E;
}

.page__sort-item .newdoc__input {
    max-width: 311px;
    width: 100%;
}

.page__sort-item--width {
    width: 311px;
}

/*datepicker*/

.cal-img {
    position: absolute;
    /*left: 85%;*/
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    cursor: pointer;
    width: 24px;
    height: 24px;
}

/*library*/

.button {
    border: none;
    background: none;
    text-decoration: none;
    cursor: pointer;
    color: #FFFFFF;
    background-color: #0050B2;
    border-radius: 10px;
    padding: 16px;
    font-size: 0.9em;
    font-family: Golos, Arial, sans-serif;
    line-height: 1.33;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    outline: 0;
}

.button:active {
    background-image: linear-gradient(180deg, #0050B2 0%, #1161C3 100%);
}

.button:hover {
    background-color: #1161C4;
}

.button:focus {
    border-color: #9AABF5;
}

.button--find-icon {
    white-space: nowrap;
}

.button--find-icon:before {
    content: '';
    width: 24px;
    height: 24px;
    background-image: url("/img/icon/upload.svg");
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.button--light {
    padding: 7px 8px;
    color: #0050B2;
    background-color: #FFFFFF;
    border-radius: 6px;
    border: 1px solid #0050B2;
    font-size: 0.7em;
    display: flex;
    align-items: center;
}

.button--light:active {
    border-color: #0B63CF;
}

.button--light:hover {
    background: #F1F5FA;
    border-color: #0061D9;
}

.button--light.button--find-icon:before {
    width: 16px;
    height: 16px;
    background-image: url("/img/icon/printer.svg");
    margin-right: 8px;
}

.button--filter-icon {
    display: none;
}

.button--filter-icon:before {
    content: '';
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background-image: url("/img/icon/filter.svg");
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: middle;
}

.button--top {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    color: #0050B2;
    margin-right: 16px;
}

.button--top:hover {
    background-color: #FFFFFF;
    color: #1161c3;
}

.button--top:active {
    color: #0D6ADC;
    background-image: none;
    background-color: #FFFFFF;
}

.button--top svg {
    margin-right: 4px;
}

.button--top svg path {
    transition: all 0.3s ease;
}

.button--top:hover svg path {
    fill: #1161c3;
}

.button--top:active svg path {
    fill: #0D6ADC;
}

.library__head-buttons {
    align-self: stretch;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.library__item {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    padding: 16px 24px 16px 16px;
    margin-top: 2px;
}

.library__item:first-child {
    margin-top: 0;
}

.library__item:hover {
    background: #F8F8FF;
}

.library__item-icon {
    width: 32px;
    height: 32px;
    margin-right: 12px;
}

.library__item-title {
    margin-right: 24px;
    flex-grow: 1;
    color: #04092A;
}

.library__search-form .page__title {
    display: none;
}

.library__search-form .library__close-button {
    display: none;
}

.about__text p:first-child {
    margin-top: 0;
}

.header__user-unread-amount-all:after,
.nav__link-unread-amount--anket.nav__link-unread-amount:after,
.nav__link-unread-amount--work-group.nav__link-unread-amount:after,
.nav__link-unread-amount--profile.nav__link-unread-amount:after {
    content: none;
}

/*profile*/

.page__menu-description--color {
    color: #76767a;
    display: block;
}

.profile__menu-link {
    font-size: 1em;
}

.page__menu-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 12px;
}

.page__menu-links .page__kso-link {
    margin-bottom: 0;
}

.profile {
    padding-bottom: 120px;
}

.profile .page__menu-description:not(:first-of-type) {
    margin-top: 12px;
}

.profile .page__social {
    margin-top: 24px;
}

.profile .page__social .page__social-link {
    margin-top: 0;
}

.profile .page__share-text p {
    margin-top: 8px;
}

.profile .select2 {
    max-width: 100% !important;
}

.profile .page__share-text .profile__menu-link {
    margin-top: 24px;
    display: block;
    margin-bottom: 0;
}

.profile .documents__list {
    width: 100%;
    margin-top: 48px;
}

.profile__wrap p:first-of-type {
    margin-top: 8px;
}

.profile__dep {
    display: flex;
    justify-content: space-between;
}

.profile__img {
    min-width: 192px;
    min-height: 192px;
    width: 192px;
}

.profile__dep-structure {
    font-weight: 500;
    font-size: 1.1em;
    margin-top: 40px;
}

.profile__dep-info {
    margin-left: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.profile__dep-tooltip {
    color: #76767A;
    font-size: 0.7em;
    margin-top: 8px;
}

.profile__dep-tooltip span {
    color: #04092a;
    display: block;
}

.profile__dep-tooltip span:first-child {
    margin-top: 12px;
    margin-bottom: 4px;
}

.profile__dep-info > .page__text {
    margin-top: 32px;
}

.profile__dep-item {
    display: flex;
    flex-direction: column;
    margin-top: 16px;
}

.profile__dep-structure + .profile__dep-item {
    margin-top: 12px;
}

.profile__dep-item h3 {
    font-size: 0.9em;
    font-weight: 500;
}

.profile__dep-item h2 {
    font-size: 1.1em;
    font-weight: 500;
}

.profile__dep-item p {
    font-size: 0.7em;
    color: #76767a;
}

.profile__dep-item h4 {
    font-size: 0.8em;
    font-weight: 500;
}

.profile__dep-link {
    text-decoration: none;
    color: #0050B2;
    font-size: 0.9em;
}

.profile__dep-international {
    margin-top: 48px;
}

.profile__dep-international p {
    font-size: 0.9em;
    color: #04092a;
    margin-top: 12px;
}

.profile__dep-docs {
    display: flex;
    align-items: center;
    margin-top: 14px;
}

.profile__dep-international svg {
    margin-right: 12px;
    width: 24px;
    height: 24px;
}

.profile__active-list {
    margin-top: 48px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 48px;
}

.profile__active-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.7em;
    width: 200px;
}

.profile__active-item svg {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
}

.profile__active-item--count {
    color: #ff004c;
    font-weight: 500;
    font-size: 3.1em;
}

.profile__active-item--count .kso-total-link{
    color: #ff004c;
    font-weight: 500;
    text-decoration: none;
}

.profile__activity .profile__active-item {
    font-size: 0.9em;
}

.profile__indicators {
    margin-top: 72px;
}

.profile__indicators-list .profile__active-item {
    font-size: 0.9em;
    font-weight: 500;
    width: 100%;
    margin-top: 40px;
    margin-right: 0;
}

.profile__indicators-list .profile__active-item:first-child {
    margin-top: 24px;
}

.profile__indicators-list .profile__active-item .profile__active-item--count {
    font-size: 2.4em;
    width: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.profile__indicators-list .profile__active-item .profile__active-item--count .button {
    margin-left: auto;
    font-size: 0.3em;
}

.profile__indicators-table {
    text-align: right;
    width: 100%;
    font-size: 0.9em;
    margin-top: 48px;
}

.profile__indicators-table tr:first-of-type {
    border: 1px solid #D9D9DE;
}

.profile__indicators-table th {
    font-size: 0.8em;
    font-weight: 400;
    color: #76767a;
    padding-left: 24px;
    min-width: 56px;
}

.profile__indicators-table td:first-of-type {
    text-align: left;
    padding-left: 0;
}

.profile__indicators-table td:not(:first-of-type) {
    white-space: nowrap;
}

.profile_kso_list {
    width: 100%;
}

.profile_kso_list .map {
    padding: 0;
    width: 100%;
    margin-right: 0;
    box-shadow: none;
}

.profile_kso_list .map__item .map__item-link {
    font-size: 14px;
}

.profile_kso_list .map__item .map__item-kso-year {
    margin-top: 8px;
    font-size: 0.8em;
}

.profile_kso_list .map__item .map__item-kso-year > span {
    color: #76767a;
}

.profile_kso_list .map__item .button.button--light {
    margin-top: 12px;
    justify-content: center;
    align-self: flex-start;
}

.profile__active-item--tooltip {
    color: #8B91A9;
    cursor: default;
}

/*popup*/

.popup-window {
    box-shadow: 0px 6px 11px rgba(125, 123, 123, 0.04);
    border-radius: 4px;
    max-width: 50%;
    max-height: 90%;
    overflow: auto;
}

.popup-window .popup-window-content .users-list {
    min-height: 340px !important;
}

.popup-window .create-event-form-content h1,
.popup-window .edit-event-form-content h1 {
    padding-bottom: 12px;
}

.popup-window .create-event-form-content .select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: -11px !important;
}

.popup-window .popup-window-content .add-document-form-content > h1 {
    padding-bottom: 12px;
}

/*calendar*/



.bx-calendar {
    font-family: Golos, Arial, sans-serif;
}

.bx-calendar-name-day-wrap {
    background-color: #FFFFFF;
}

.bx-calendar-name-day {
    color: #04092a;
    text-transform: uppercase;
}

.bx-calendar-cell {
    font-size: 14px;
    border-radius: 50%;
}

.bx-calendar-cell.bx-calendar-active {
    background-color: #FF004C;
    color: #FFFFFF;
}

.bx-calendar-cell:hover {
    background-color: #FF004C;
    color: #FFFFFF;
}

.bx-calendar-range {
    margin-top: 2px;
    margin-bottom: 2px;
}



table.forum-quote table.forum-quote, table.forum-spoiler table.forum-spoiler, table.forum-code table.forum-code {
    width: 95%;
    margin: 7px 0px;
}

table.forum-quote, table.forum-spoiler, table.forum-code, div.forum-code-box, div.forum-post-attachments {
    border-left: 5px solid #1b69ca;
    margin-top: 10px;
    padding: 2px 0 0 15px;
}

table.forum-quote, table.forum-spoiler, table.forum-code {

}

table.forum-quote th, table.forum-spoiler th, table.forum-code th, div.forum-code-box {
    margin-right: 10px;
}

table.forum-quote td, table.forum-spoiler td, table.forum-code td, div.forum-code-box {
    padding-left: 0px;
}

table.forum-quote th, table.forum-spoiler th, table.forum-code th {
    font-weight: bold;
    text-align: left;
    padding-left: 10px;
}

table.forum-quote th:after, table.forum-spoiler th:after, table.forum-code th:after {
    content: ":";
}

.forum-post-attachment-files {
    content: ":";
    margin-top: 5px;
}

.forum-post-attachment .forum-post-attachment-files {
    padding: 10px 20px;
}

.blog-p-user-name, .forum-quote a, .file-selectdialog-switcher, .forum-file, .forum-item-pages a {
    font-size: 0.9em;
    text-decoration: none;
    color: #0050B2;
    line-height: 1.33;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.file-selectdialog .file-extended .file-uploader .file-but-text {
    cursor: pointer;
    display: block;
    width: auto !important;
    height: auto !important;
}

.library__head-search .library__head-buttons {
    align-items: center;
}

/*profile-kso (map)*/

.map__stats {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 311px;
    width: 100%;
    margin-left: 32px;
}

.map__head .select2-container {
    width: 100% !important;
    max-width: 524px !important;
    border: 1px solid #D9D9DE;
    border-radius: 6px;
}

.map__head .select2-selection {
    background-color: #FFFFFF !important;
}

.map__head .map__title {
    padding-bottom: 16px;
}

.map__stats-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.map__stats-item:first-child {
    margin-top: 32px;
}

.map__stats--color {
    display: inline-block;
    margin-right: 12px;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    min-width: 16px;
    background-color: #bcc5d6;
    border-radius: 2px;
}

.map__stats-level1 {
    background-color: #F1F5FA;
}

.map__stats-level2 {
    background-color: #8B91A9;
}

.map__stats-level3 {
    background-color: #04092A;
}

.map__tooltip {
    position: absolute;
    background-color: rgba(204, 204, 204, 0.8);
    font-size: .8em;
    display: none;
}

.map__select-wrap {
    margin-top: 16px;
    padding-bottom: 16px;
}

.map__select--flex-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.map__select--flex-col:last-of-type {
    margin-left: 72px;
}

.map__select-district > .select2-container {
    min-width: 343px;
}

.map__select-index .select2-container {
    width: 100% !important;
}

.map__tooltip.show {
    display: block;
}

.map__filters {
    margin-top: 32px;
    padding-bottom: 32px;
    display: flex;
    flex-direction: column;
}

.map__filters-title {
    padding-bottom: 16px;
}

.map__select-flex-start {
    justify-content: flex-start;
}

.map__filters > .button {
    max-width: 200px;
}

.map__item-link {
    word-wrap: break-word;
}

.map__path-level0 {
    fill: #F1F5FA;
}

.map__path-level1 {
    fill: #8B91A9;
}

.map__path-level2 {
    fill: #04092A;
}

/*library date filter*/

.acc__container {
    display: flex;
    flex-direction: column-reverse;
}

.library .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
}

.library__sort-date {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-top: 8px;
}

.library__sort-date:first-child {
    margin-top: 0;
}

.library__sort-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: calc(50% - 4px);
}

.library__sort-item .page__sort-title {
    font-size: 0.75em;
}

.library__sort-date .cal-img {
    right: 7px;
}

.library__search-form {
    margin-bottom: 0;
}

.page__width100 {
    width: 100%;
}

.library__search-form .page__width100 {
    margin-bottom: 16px;
}

.library__search-form .grid-column.page__width100 {
    margin-top: 16px;
}

.page__overflow-auto {
    overflow: auto;
    padding-bottom: 32px;
}

.page__pb32 {
    padding-bottom: 32px;
}

.map__stats--button {
    align-self: flex-end;
    margin-bottom: 16px;
    margin-left: auto;
}


/* table ecs */

.table__ecs-wrap {
    padding-bottom: 20px;
    margin-top: 26px;
}

.table__ecs {
    margin-top: 0;
}

.table__ecs .table__head {
    padding: 0;
    padding-left: 6px;
    padding-bottom: 12px;
    min-width: 100px;
}

.table__ecs-done {
    font-weight: 500;
}

/*ecs in events popup*/

.ecs-file-sign {
    padding: 24px;
    font-family: 'Golos', Arial, sans-serif;
    width: 100%;
    min-width: auto !important;
    min-height: auto !important;
}

.popup-window-close-icon {
    top: 15px;
    right: 15px;
}

.ecs__signs {
    padding-top: 16px;
}

.ecs__signs .page__subtitle {
    margin-top: 16px;
}

.ecs__signs .button.button--light {
    max-width: 220px;
    justify-content: center;
    font-size: 0.9em;
}

.ecs__signs .table__ecs {
    margin-top: 32px;
    width: 100%;
}

.ecs__signs .table__ecs .table__head {
    padding-bottom: 4px;
}

.ecs__signs .table__ecs .table__row-head {
    text-align: left;
}

.ecs__signs .table__ecs .table__cell-flex {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}


.ecs__signs .table__ecs .table__row.table__row--sign .table__cell-pos-rel {
    position: relative;
}

.ecs__signs .table__ecs .table__row.table__row--sign .table__acc-title {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8.7px 5px 0 5px;
    border-color: #000dff transparent transparent transparent;
    cursor: pointer;
}

.ecs__signs .table__ecs .table__row.table__row--sign .table__acc-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 8px;
    background-color: rgba(239, 239, 239, 0.9);
    border-radius: 8px;
    border: 1px solid #ccc;
    z-index: 2;
}

.ecs__signs .table__ecs .table__row.table__row--sign a {
    text-decoration: none;
    color: #0050B2;
    transition: all 0.3s ease;
}

.ecs__signs .table__ecs .table__row.table__row--sign a:hover {
    color: #1161c3;
}

.ecs__signs .table__ecs .table__row.table__row--sign a:active {
    color: #0D6ADC;
}

.ecs-users .table__ecs-wrap .table.table__ecs .table__cell {
    padding: 6px;
}

.table__cell.table__cell--key {
    width: 15%;
}

/*scroll for certificate*/

.elec-signnature-form {
    max-height: 450px;
}

#ecs-popup-content {
    overflow-y: auto;
}


/*users list*/

.users__title {
    font-size: 1em;
    font-family: 'Golos', Arial, sans-serif;
}

/*project/event detail*/

.tooltip-text {
    font-size: 0.7em;
    color: #76767a;
}

.tooltip-text.tooltip-text--org {
    max-width: none;
    margin-right: 0;
    margin-top: 8px;
}

.tooltip-text + div {
    flex-grow: 2;
}

.table__cell.table__cell--author > .tooltip-text {
    display: block;
}

.event__info {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-bottom: 24px;
    width: calc(25% - 16px);
    flex-direction: column;
}

.event__info--flex-col {
    flex-direction: column;
    padding-bottom: 0;
}

.event__info--flex-row {
    flex-direction: row;
}

.event__info--flex-grow {
    flex-grow: 2;
}

.event__info--flex-row.event__info--flex-justify {
    justify-content: space-between;
}

.event__info--flex-wrap {
    flex-wrap: wrap;
    gap: 24px;
}

.event__info-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
}

.event__info--width50 {
    width: calc(50% - 16px);
}

.table__event {
    margin-top: 24px;
}

.table__event td {
    padding: 12px 6px;
}

.table__event .table__head {
    padding-bottom: 8px;
}

.table__event .table__head:last-child {
    min-width: 60px;
}

.organization__newdoc--mr24 {
    margin-right: 24px;
}

.organization__newdoc--ml24 {
    margin-left: 24px;
}

.event__panel {
    padding-left: 0;
    margin-top: 24px;
}

.event__panel a {
    text-decoration: none;
    display: flex;
    align-self: stretch;
    text-align: center;
}

.event__panel .anket__buttons {
    flex-wrap: wrap;
    gap: 7px;
}

.button--newdoc {
    align-self: flex-start;
}

.feed-wrap {
    margin-top: 32px;
}

.feed-comments-block {
    margin-left: 0;
}

/*event dropdown*/

.table__cell--del {
    position: relative;
}

.events__drop {
    outline: none;
    border: none;
    background: none;
    cursor: pointer;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    transition: all 0.3s ease;
}

.events__drop:hover,
.events__drop:active {
    background-color: #A7A8AB;
}

.events__drop.events__drop--active {
    background-color: #A7A8AB;
}

.events__drop-content {
    display: none;
    position: absolute;
    top: 57px;
    right: 0;
    z-index: 2;
    background-color: #F8F8F8;
    box-shadow: 0px 8px 20px -10px rgba(0, 0, 0, 0.35);
    border-radius: 7px;
    padding: 20px 16px;
    min-width: 203px;
}

.events__drop-content.show {
    display: block;
}

.events__drop-btn {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-align: left;
    padding: 0;
    font-size: 0.8em;
    font-family: 'Golos', Arial, sans-serif;
    color: #04092a;
    transition: all 0.3s ease;
}

.events__drop-btn:hover {
    color: #76767a;
}

.events__drop-btn--red {
    background-color: rgba(213, 26, 26, 0.2);
}

.events__drop-btn svg {
    margin-right: 8px;
    transition: all 0.3s ease;
}

.events__drop-btn svg path {
    transition: all 0.3s ease;
}

.events__drop-btn:hover svg path {
    fill: #76767a;
}

.events__btn-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

/*page no menu*/

.page__wrap.page__no-menu {
    max-width: none;
}

/*error*/

.bx-core-adm-dialog,
.bx-core-adm-dialog div,
.bx-core-adm-dialog span {
    font-family: 'Golos', Arial, sans-serif !important;
}

.bx-core-adm-dialog .bx-core-adm-dialog-head {
    background: none;
    border: none;
    box-shadow: none;
}

.bx-core-adm-dialog .bx-core-adm-dialog-head-block {
    border: 0;
}

.bx-core-adm-dialog .bx-core-adm-dialog-head-inner {
    font-size: 1.7em;
    color: #04092a;
    font-weight: 500;
}

.bx-core-adm-dialog .bx-core-adm-dialog-head-icons {
    background: none;
}

.bx-core-adm-dialog .bx-core-adm-icon-expand,
.bx-core-adm-dialog .bx-core-adm-icon-narrow,
.bx-core-adm-dialog .bx-core-adm-icon-close {
    background-color: transparent;
}

.bx-core-adm-dialog .bx-core-adm-dialog-content {
    border: none;
    background-color: transparent;
    min-height: 220px;
}

.bx-core-adm-dialog .bx-core-adm-dialog-head-block {
    font-size: 1.1em;
}

.bx-core-adm-dialog .bx-core-adm-dialog-content-wrap-inner {
    padding: 0;
}

.bx-core-adm-dialog textarea {
    border: none;
    border-radius: 4px;
    background-color: #F8F8F8;
    padding: 14px 16px;
    color: #04092a;
    font-family: 'Golos', Arial, sans-serif;
    width: 100% !important;
    box-shadow: none;
}

.bx-core-adm-dialog .bx-core-adm-dialog-content .bx-core-adm-dialog-content-wrap-inner form > .err__input-file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.bx-core-adm-dialog .bx-core-adm-dialog-content .bx-core-adm-dialog-content-wrap-inner form >
.err__input-file:focus + .err__label-file {
    border: 2px solid #9AABF5;
}

.bx-core-adm-dialog .bx-core-adm-dialog-content .bx-core-adm-dialog-content-wrap-inner form >
.err__label-file {
    border-radius: 4px;
    font-size: 0.9em;
    width: 100%;
    cursor: pointer;
    border: 2px solid transparent;
    background-color: #F8F8F8;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #76767a;
    margin-top: 8px;
    padding-top: 8px;
    padding-bottom: 16px;
}

.bx-core-adm-dialog .bx-core-adm-dialog-content .bx-core-adm-dialog-content-wrap-inner form >
.err__label-file svg {
    width: 20px;
    height: 20px;
    margin-bottom: 8px;
}

.bx-core-adm-dialog .bx-core-adm-dialog-buttons input[type='button'] {
    background: #0050B2 !important;
    border: none;
    box-shadow: none !important;
    text-shadow: none !important;
    color: #FFFFFF;
    font-weight: 400 !important;
    border-radius: 4px;
    padding: 4px 8px;
    font-family: 'Golos', Arial, sans-serif;
    border: 1px solid #0050B2;
    cursor: pointer;
}

.bx-core-adm-dialog .bx-core-adm-dialog-buttons input[type='button']:hover {
    background-color: #1161c3 !important;
}

.bx-core-adm-dialog .bx-core-adm-dialog-buttons input[type='button']:last-child {
    background-color: #FFFFFF !important;
    color: #0050B2 !important;
    margin-left: 12px;
}

.bx-core-adm-dialog .bx-core-adm-dialog-buttons input[type='button']:last-child:hover {
    background-color: #F1F5FA !important;
}

.bx-core-dialog-overlay {
    background-color: rgba(4, 9, 42, 0.8);
}

/*del title for events detail */

.user-plan-detail .page__head > .page__title {
    display: none;
}

/*graph settings*/

.ct-bar {
    stroke-width: 30px !important;
}

.graph__wrap svg {
    overflow: visible;
}

.graph__wrap + h3 {
    margin-bottom: 16px;
}

/*user count*/

.user__msg-count {
    border-radius: 6px;
    background-color: #E52E2E;
    color: #FFFFFF;
    font-weight: 500;
    box-shadow: 0px 2px 4px rgba(155, 132, 135, 0.05);
    display: inline-block;
    margin-left: 4px;
    padding: 0 3px;
}

/*structure skso*/

.composition {
    border: 1px solid #F1F5FA;
    border-spacing: 0px;
    background: #F1F5FA;
    border-radius: 3px;
}

.composition td {
    text-align: center;
    padding: 15px;
    border: 1px solid #F1F5FA;
    background: #fff;
}

.composition td span {
    display: block;
}

.composition tr > th {
    line-height: 46px;
    padding: 0px;
    font-weight: 500 !important;
}

.page__wrap p:first-of-type {
    margin-top: 0px;
}

/*profile-kso tooltip*/


.profile__tooltip--data {
    position: absolute;
    background-color: rgba(204, 204, 204, 0.8);
    font-size: .7em;
    max-width: 220px;
    padding: 5px;
    display: none;
}

.profile__tooltip--data.show {
    display: block;
}

/*social svg*/

.fb-com {
    background-image: url("/img/social/facebook.svg");
}

.vk-com {
    background-image: url("/img/social/vkontakte.svg");
}

.ok-ru {
    background-image: url("/img/social/odnoklassniki.svg");
}

.tw-com {
    background-image: url("/img/social/twitter.svg");
}

.telegram {
    background-image: url("/img/social/telegram.svg");
}

.inst {
    background-image: url("/img/social/instagram.svg");
}

/* work groups */

.forum-table.forum-forum-list,
.forum-table.forum-topic-list {
    margin-top: 24px;
}

.forum-table.forum-topic-list {
    text-align: left;
    vertical-align: top;
}

.forum-table.forum-forum-list tr,
.forum-table.forum-topic-list tr {
    transition: all 0.3s ease;
}

.forum-table.forum-forum-list tr:hover,
.forum-table.forum-topic-list tr:hover {
    background-color: #F8F8FF;
}

.forum-table.forum-forum-list tfoot tr:hover,
.forum-table.forum-topic-list tfoot tr:hover,
.forum-table.forum-forum-list thead tr:hover,
.forum-table.forum-topic-list thead tr:hover{
    background-color: transparent;
}


.forum-table.forum-forum-list tr td,
.forum-table.forum-topic-list tr td {
    padding-left: 12px;
    padding-top: 8px;
    vertical-align: top;
}

.forum-table.forum-topic-list tr td {
    padding-top: 8px;
}

.forum-table.forum-forum-list th.forum-column-title,
.forum-table.forum-topic-list th {
    font-size: 0.9em;
    font-weight: 400;
    text-align: left;
    padding-left: 12px;
    color: #76767a;
    background-color: transparent;
    border-bottom: 1px solid #E5E5EB;
}

.group-table-list {
    flex-grow: 2;
}

.group-table-list .forum-header-box {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: row-reverse;
    padding-bottom: 12px;
    border-bottom: 1px solid #E5E5EB;
}

.group-table-list .forum-user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.group-table-list table .forum-cell-user {
    vertical-align: top;
}

.group-table-list .forum-user-info .forum-user-avatar {
    width: 48px;
    /*height: 48px;*/
}

.group-table-list .forum-user-info .forum-user-name {
    margin-top: 8px;
}

.group-table-list .forum-user-info .forum-user-additional {
    margin-top: 4px;
}

.group-table-list .forum-user-info .forum-user-name a,
.group-table-list .forum-user-info .forum-user-additional {
    font-weight: 400;
    font-size: 0.9em;
}

.group-table-list .forum-cell-post .forum-post-date-input {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: flex-end;
    font-size: 0.9em;
    color: #76767a;
}

.group-table-list .forum-form table {
    border-top: 1px solid #E5E5EB;
}

.group-table-list .forum-form table tbody tr td {
    padding-top: 16px;
    padding-bottom: 10px;
}

.group-table-list .forum-cell-post .forum-post-text {
    font-size: 1.1em;
}

.group-table-list .forum-post-moderate input[type=submit],
.group-table-list .forum-topic-moderate input[type=submit] {
    font-weight: 400;
}

.forum-option-subscribe-svg {
    display: inline-block;
    vertical-align: middle;
}

.forum-footer-option.forum-footer-selectall.forum-footer-option-first .forum-button {
    font-weight: 400;
}

.forum-action-links-wrap .forum-action-links {
    margin-left: auto !important;
}

/*add post text*/

.feed-add-post-text .bx-html-editor .bxhtmled-toolbar {
    border-top: 0 !important;
}

.feed-add-post-text .bx-html-editor .bxhtmled-area-cnt {
    border-top: 1px solid #E5E5EB !important;
}

.feed-add-post a.file-selectdialog-switcher span:before {
    content: '';
    background-image: url("/img/icon/download.svg");
    background-repeat: no-repeat;
    background-position: center;
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

.group-table-list .forum-reply-buttons {
    display: flex;
    align-items: stretch;
    gap: 16px;
}

.group-table-list .forum-reply-buttons input[type=submit] {
    font-size: 0.9em;
    font-weight: 400;
}

.burger__mobile-wrap {
    height: 100%;
    padding-bottom: 80px;
    overflow: auto;
}

/*bx-auth in groups*/

.group__table .group-table-list > p > font.errortext,
.group__table .group-table-list > div.bx-auth,
.group__table .group-table-list > div.bx-auth-serv-icons {
    display: none !important;
}

/*prezidium skso*/

.prezidium__wrap {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}

.prezidium__wrap div:first-child,
.prezidium__wrap div:nth-child(2),
.prezidium__wrap div:nth-child(3),
.prezidium__wrap div:nth-child(4) {
    width: 100%;
}

.prezidium__wrap > div {
    width: 33%;
}

.prezidium__wrap div b {
    font-size: 1.1em;
}

/*auth-error*/

.header__navigation > p > font.errortext {
    display: block;
    position: absolute;
    top: 64px;
    right: 25%;
    transform: translateX(50%);
    background-color: #FFFFFF;
    padding: 24px;
    font-weight: 500;
    z-index: 10;
}

.burger > p > font.errortext {
    display: block;
    position: absolute;
    top: 105px;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFFFFF;
    padding: 16px;
    font-weight: 500;
    z-index: 10;
}

/*document view*/

.header__login.group__form > div > iframe.doc-view {
    max-height: 500px;
}

.events__btn-wrap .library__search-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.events__btn-wrap .library__search-form .page__width33 {
    width: calc(33% - 16px);
}

.events__btn-wrap .library__search-form .page__width33.doc-filter-buttons {
    display: flex;
    gap: 24px;
}

.events__btn-wrap + table.table.table__ecs {
    margin-top: 32px;
}

#searchForm .search-suggest {
    padding-right: 70px;
}

.header__user-link:after {
    transition: all 0.3s ease;
}

.skso-search-ksomuni > .select2-container {
    max-width: 697px !important;
}

.page__content.page__content--news {
    justify-content: flex-start;
}

.newdoc__label-checkbox:before {
    min-width: 40px;
    min-height: 24px;
}

.popup-window-button {
    font-family: 'Golos', Arial, sans-serif !important;
    border-radius: 10px;
    font-weight: 500;
    text-transform: none;
    font-size: 1.1em;
    border: 0;
    display: inline-flex;
    align-items: center;
}

/*dynamic-by-years in kso-profile colors*/

.ct-series.ct-series-a .ct-bar,
.ct-series.ct-series-a .ct-line {
    stroke: #FF004C;
}

.ct-series.ct-series-b .ct-bar,
.ct-series.ct-series-b .ct-line {
    stroke: #8B91A9;
}

.ct-series.ct-series-c .ct-bar,
.ct-series.ct-series-c .ct-line {
    stroke: #22EBDF;
}

.ct-series.ct-series-d .ct-bar,
.ct-series.ct-series-d .ct-line {
    stroke: #9D82EC;
}

.ct-series.ct-series-e .ct-bar,
.ct-series.ct-series-e .ct-line {
    stroke: #FFC09C;
}

.work-group-long .work-group-long__el {
    margin-top: 12px;
}

.work-group-long .work-group-long__el:first-child {
    margin-top: 0;
}

.newdoc__button:last-child {
    white-space: nowrap;
}

.footer__copyright-extra {
    flex-direction: column;
    align-items: flex-start;
    max-width: 322px;
}

.footer__copyright-extra .footer__copyright-extra-text {
    font-size: 0.7em;
}

.footer__copyright-extra .footer__copyright-extra-text + .footer__link-map {
    margin-top: 12px;
}

.footer__copyright-extra .footer__copyright-extra-text span {
    background: #F1F5FA;
    box-shadow: 0px 2px 1px -2px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    padding: 2px 5px;
}

#help_form .help__input {
    border: 0;
    background: #F8F8F8;
    border-radius: 4px;
    box-shadow: none;
    width: 100%;
    height: 86px;
}

#help_form .err__label-file {
    height: 126px;
    width: auto;
    font-size: 1.1em;
}

#help_form .err__label-file svg {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
}

.main-news__text.main-news__text--map {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.main-news__text.main-news__text--map .event__link.event__link--mt52 {
    margin-top: auto;
}

svg.ct-chart-line .ct-label.ct-vertical.ct-start {
    padding-right: 12px;
}

.library__item .library__item-type {
    display: flex;
    align-items: flex-start;
}

.page__apps-item.library__item .library__item-type > div {
    max-width: 378px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.library__item-buttons {
    display: flex;
    margin-left: auto;
}

div.text a {
    text-decoration: none;
    color: #0050B2;
    transition: all 0.3s ease;
}

div.text a:hover {
    color: #1161C3;
}

div.text a:active {
    color: #0D6ADC;
}

/*vote*/
.page__wrap.vote__wrap {
    margin-left: auto;
    margin-top: 32px;
}

.voting-form-box {
    padding: 0;
    margin: 0;
}

.vote-form .vote-items-list.vote-question-list > li.vote-item-vote {
    margin-top: 32px;
    display: flex;
}

.vote-form .vote-items-list.vote-question-list > li.vote-item-vote.vote-item-vote-first {
    margin-top: 0;
}

.vote-form .vote-items-list.vote-question-list > li.vote-item-vote .vote-items-list.vote-answers-list > li.vote-item-vote {
    margin-top: 12px;
    font-size: 0.9em;
}

.vote-form .vote-items-list.vote-question-list > li.vote-item-vote .vote-items-list.vote-answers-list > li.vote-item-vote.vote-item-vote-first {
    margin-top: 0;
}

.vote-form ol.vote-answers-list li {
    margin: 0;
}

.vote-form .vote-items-list .vote-item-vote .vote-answer-item.vote-answer-item-textfield input[type=text],
.vote-form .vote-items-list .vote-item-vote .vote-answer-item.vote-answer-item-textfield textarea {
    border: 0;
    background: 0;
    border-radius: 4px;
    background-color: #F8F8F8;
    margin-top: 16px;
    font-family: Golos, Arial, sans-serif;
    padding: 16px;
    width: 100%;
}

.vote-form .vote-items-list .vote-item-vote .vote-answer-item.vote-answer-item-textfield textarea {
    height: 174px;
    resize: none;
}

.vote-form .vote-items-list .vote-item-vote .vote-item-title {
    font-weight: 500;
    font-size: 1.1em;
}

.vote-form-box-buttons.vote-vote-footer {
    display: flex;
    align-items: center;
}

.vote-form-box-buttons.vote-vote-footer .vote-form-box-button {
    float: none;
    margin-right: 16px;
}

.vote-form-box-buttons.vote-vote-footer .vote-form-box-button.vote-form-box-button-last {
    margin-right: 0;
}

.vote-form > ol.vote-items-list {
    counter-reset: myCounter;
}

.vote-form > ol.vote-items-list > li:before {
    counter-increment: myCounter;
    content: counter(myCounter);
    color: white;
    background: #FF004C;
    text-align: center;
    margin-top: 4px;
    margin-right: 12px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: 0.7em;
    font-weight: 500;
    line-height: 1;
    flex-shrink: 0;
}

.vote-form .vote-item-vote .vote-item-header .vote-item-title em {
    display: block;
    font-style: normal;
    font-size: 0.8em;
    font-weight: 400;
    margin-top: 12px;
    line-height: 1.3;
}

/*anket*/

.vote-items-list.voting-list-box li.vote-item-vote-first {
    border: 0;
    border-bottom: 1px solid #E5E5EB;
}

.vote-items-list.voting-list-box li {
    border: 0;
    border-bottom: 1px solid #E5E5EB;
}

.vote-items-list.voting-list-box .vote-item-header > .vote-item-title {
    max-width: 673px;
    font-weight: 400;
    display: inline-block;
}

.vote-items-list.voting-list-box .vote-item-footer > .vote-item-description {
    max-width: 673px;
}

.vote-items-list.voting-list-box .vote-item-header > .vote-item-links.float-links .button.button--light:not(:last-child) {
    margin-right: 8px;
}

.vote-items-list.voting-list-box .vote-item-below .vote-item-lamp.vote-item-lamp-red .disable,
.vote-items-list.voting-list-box .vote-item-below .vote-item-lamp.vote-item-lamp-green .active {
    display: inline-block;
    vertical-align: middle;
    color: #FFFFFF;
    background-color: #FF004C;
    padding: 7px 8px;
    border-radius: 6px;
    font-size: 0.7em;
}

.vote-items-list.voting-list-box .vote-item-below .vote-item-lamp.vote-item-lamp-green .active {
    background-color: #1EAF87;
}

.vote-items-list.voting-list-box .vote-item-vote .vote-item-counter,
.vote-items-list.voting-list-box .vote-item-vote div.vote-item-date {
    font-size: 0.9em;
    font-style: normal;
}

.vote-items-list.voting-list-box .vote-item-header > div.vote-item-links {
    display: flex;
}

.vote-items-list.voting-list-box .vote-item-header > div.vote-item-links button.vote-reassignment-open {
    margin-left: 0;
}

.vote-item-below {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 600px;
}

.vote-item-below div.vote-item-date {
    order: 1;
}

.questionnaire__head .anket__buttons .anket__button {
    margin-right: 4px;
}

.questionnaire__head .anket__buttons .anket__button:last-child {
    margin-right: 0;
}

.questionnaire__head .anket__buttons .anket__button.active {
    color: #04092A;
    background-color: #FFFFFF;
}

.questionnaire__head .anket__buttons .anket__button.active:hover {
    color: #04092a;
    top: 0;
    left: 0;
}

.questionnaire__form .form {
    margin-top: 32px;
}

.questionnaire__form .form form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.questionnaire__form .form form .questionnaire__form-submit {
    flex-direction: column;
    margin-top: 16px;
}

.questionnaire__form .form form input[type=file] {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.questionnaire__form .form form input[type=submit] {
    margin-top: 16px;
}

.questionnaire__form .form form label {
    background-color: #F8F8FF;
    border-radius: 8px;
    min-height: 278px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    font-size: 1.1em;
}

.questionnaire__form .form form label:hover {
    border: 2px solid #9AABF5;
}

.questionnaire__form .form form label svg {
    margin-bottom: 16px;
}

.questionnaire__form .form form label span {
    font-size: 0.8em;
    margin-top: 32px;
}

.page__wrap > p:not(:first-child) {
    margin-top: 16px;
}

.page__wrap > p {
    text-align: justify;
}

.page__text-wrapper {
    flex-shrink: 0;
}

.page__share {
    margin-right: 32px;
}

.questionnaire__head .anket__buttons + .button {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*media queries */

@media (max-width: 1024px) {

    .questionnaire__head .anket__buttons + .button {
        max-width: 160px;
    }

    .footer__copyright-extra .footer__copyright-extra-text {
        display: none;
    }

    .footer__copyright-extra .footer__copyright-extra-text + .footer__link-map {
        margin-top: 0;
    }

    .page--margin-top {
        margin-top: 24px;
    }

    .button {
        padding: 8px;
    }

    .map__head .select2-container {
        max-width: 485px !important;
    }

    .library__head-buttons {
        align-self: center;
    }

    .table__ecs-wrap {
        overflow-x: auto;
    }

    .map__select--flex-col:last-of-type {
        margin-left: 32px;
    }

    .group__table {
        flex-direction: column-reverse;
    }

    .skso-search-ksomuni > .select2-container {
        max-width: 616px !important;
    }

}

@media (max-width: 991px) {

    .questionnaire__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .questionnaire__head .button {
        display: inline-block;
    }

    .questionnaire__head .anket__buttons + .button {
        max-width: none;
        white-space: normal;
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .page__sort-item--width {
        max-width: none;
        width: 100%;
    }

    .profile__active-list {
        gap: 24px;
    }

    .profile_kso_list .map__item .map__item-link {
        font-size: 1.4em;
    }

    .map__select--flex-col:last-of-type {
        margin-left: 0;
    }

    .map__head .select2-container {
        max-width: 100% !important;
    }

    .map__select-flex-start {
        align-items: flex-start;
        flex-direction: column;
    }

    .map__stats--button {
        margin-left: 0;
        align-self: flex-start;
    }

    .page__sort {
        flex-direction: column;
        margin-top: 24px;
    }

    .page--margin-top {
        margin-top: 16px;
    }

    .page__sort-item input[type=text].newdoc__input {
        max-width: none;
        width: 100%;
    }

    .page__sort-item .select2.select2-container.select2-container--default {
        max-width: none !important;
        width: 100% !important;
    }

    #searchForm_mobile .burger__input-search {
        width: 100%;
    }

    form.search-form .button {
        max-width: 200px;
    }

    .library__head > .library__head-buttons .button {
        width: 100px;
        margin-right: 0 !important;
        text-align: center;
        line-height: 1.4;
    }

    .library__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .library__button--dis-none {
        display: none;
    }

    .library__head-buttons {
        margin-top: 16px;
        align-self: stretch;
    }

    .button {
        font-size: 0.7em;
        padding: 7px;
        border-radius: 6px;
    }

    .button--filter-icon {
        display: block;
    }

    .library__search-form {
        position: absolute;
        bottom: 0;
        left: -100%;
        overflow: auto;
        z-index: 9;
        background-color: #FFFFFF;
        border-radius: 20px 20px 0 0;
        width: 100vw;
        height: calc(100vh - 130px);
        padding: 24px 32px 48px;
        margin-right: 0;
        max-width: none;
        transition: all 0.8s ease;
    }

    .library__search-form--show {
        left: 0;
    }

    .library:before {
        content: '';
        width: 100vw;
        height: 100vh;
        background-color: #000000;
        opacity: 0.6;
        position: absolute;
        top: 0;
        left: -100%;
        z-index: 9;
        transition: all 0.8s ease;
    }

    .library--show:before {
        left: 0;
    }

    .library__item {
        padding: 8px;
    }

    .library__item > .button {
        display: none;
    }

    .library__item-title {
        margin-right: 0;
    }

    .library__search-form .page__title {
        display: block;
        padding-bottom: 16px;
    }

    .library__search-form .library__close-button {
        display: block;
    }

    .library__search-form .library__close-button:after {
        top: -30px;
        width: 27px;
        height: 27px;
        font-size: 19px;
        line-height: 1.33;
    }
    
    .events__drop {
        display: none;
    }

    .events__drop-content {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        position: static;
        box-shadow: none;
        background-color: transparent;
        padding: 0;
        padding-top: 8px;
    }

    .events__drop-content .events__drop-btn {
        margin-top: 0;
        border-radius: 6px;
        color: #0050B2;
        border: 1px solid #0050B2;
        padding: 4px 8px;
    }

    .events__drop-content .events__drop-btn svg path {
        fill: #0050B2;
    }

    .events__btn-wrap {
        flex-wrap: wrap;
        gap: 8px;
    }

    .popup-window .popup-window-content .users-list {
        min-width: 350px !important;
    }

    .event__panel .anket__buttons {
        gap: 4px;
    }

    .table__cell.table__cell--key {
        width: 100%;
    }

    .prezidium__wrap > div {
        width: 100%;
    }

    .footer__copyright-extra {
        flex-shrink: 0;
    }

    .page__share {
        margin-right: 0;
    }
}

@media (max-width: 767px) {

    .display-document {
        display: none;
    }

    .header__login.group__form {
        width: calc(100% - 12px) !important;
    }

    .page__apps .page__apps-item.library__item {
        flex-direction: column;
    }

    .page__apps .page__apps-item.library__item .library__item-buttons {
        margin-top: 12px;
        margin-left: 0;
    }

    .footer__copyright-extra .footer__copyright-extra-text + .footer__link-map {
        margin-top: 12px;
    }

    .footer__copyright-extra {
        margin-right: auto;
        margin-left: 40px;
    }

    .tooltip-text {
        max-width: 115px;
    }

    .map__stats--button {
        margin-left: 0;
    }

    .map__select--flex-col:last-of-type {
        margin-left: 0;
    }

    .map__head .select2-container {
        max-width: 311px !important;
    }

    .profile .map__choice > .select2 {
        max-width: 311px !important;
    }

    .map__select-district > .select2-container {
        min-width: 200px;
        max-width: 311px !important;
    }

    .library__head-buttons {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .library__head-buttons .button {
        width: calc(50% - 8px);
    }

    .library__search-form {
        padding: 16px 16px 48px;
    }

    .event__info-wrapper {
        flex-direction: column;
        padding-bottom: 16px;
    }

    .event__info {
        width: 100%;
        padding-bottom: 0;
    }

    .event__info .tooltip-text {
        max-width: none;
    }

    .table__event td {
        padding: 6px;
    }

    .profile__dep {
        flex-direction: column;
    }

    .profile__dep-info {
        margin-left: 0;
        margin-top: 16px;
    }

    .profile__active-list {
        gap: 8px;
    }

    .profile__active-item {
        width: calc(50% - 4px);
    }

    .profile__activity .profile__active-list {
        gap: 12px;
    }

    .profile__activity .profile__active-item {
        width: 100%;
    }

    .profile__indicators-table td {
        font-size: 0.9em;
    }

    .graph__wrap + h3 {
        font-size: 0.9em;
    }

    /*stucture skso table*/

    .composition {
        background: none;
        border: none;
    }

    .composition tr {
        display: flex;
        flex-direction: column;
        margin-top: 24px;
    }

    .composition tr:first-child {
        margin-top: 0;
    }

    .composition tr td:first-child {
        font-weight: 500;
        font-size: 1.1em;
    }

    .composition tr td:last-child {
        font-size: 0.9em;
        margin-top: 4px;
    }

    .composition td {
        width: 100%;
        border: none;
        padding: 0;
        text-align: left;
    }

    .composition td span {
        display: inline-block;
    }

    .page__sort-item .select2.select2-container.select2-container--default {
        max-width: 361px !important;
        width: 100% !important;
    }

    .footer__copyright {
        flex-direction: column;
        align-items: center;
    }

    .footer__copyright .footer__link-map {
        margin-top: 24px;
    }

    .skso-search-ksotext {
        max-width: 350px;
    }
}

@media (max-width: 463px) {

    .questionnaire__head .anket__button {
        height: auto;
    }

    .library__head-buttons .button:last-child {
        margin-left: auto;
        margin-top: 8px;
    }

    .profile__indicators-table th {
        padding-left: 4px;
        min-width: 48px;
    }
}

@media (max-width: 375px) {
    .event__info {
        flex-direction: column;
    }

    .tooltip-text {
        max-width: none;
    }

    .event__info .tooltip-text + div {
        margin-top: 4px;
    }

    .header__login {
        width: calc(100% - 12px);
    }

    .page__sort-item .select2.select2-container.select2-container--default {
        max-width: 311px !important;
        width: 100% !important;
    }
}

@media (max-width: 363px) {
    .library__head-buttons .button:nth-last-child(2) {
        margin-top: 8px;
    }

    .library .newdoc__input,
    .library .select2-container--default .select2-selection--single {
        max-width: 288px;
    }

    .map__head .select2-container {
        max-width: 255px !important;
    }

    .page__sort .page__sort-item .select2.select2-container.select2-container--default {
        max-width: 255px !important;
    }

    .library__item .library__item-type {
        font-size: 0.8em;
    }
}