@font-face {
    font-family: "Random Grotesque Spacious Book";
    src: url("/fonts/RG-SpaciousBook.ttf") format("truetype");
}

@font-face {
    font-family: Manrope;
    src: url("/fonts/Manrope.ttf") format("truetype");
}

:root,
[data-bs-theme=light] {
    --pirs-blue: #0aa699;
    --pirs-yellow: #fde87a;
    --pirs-gray: #838A93;
    --pirs-pale-gray: #6B7D8A;
    --pirs-dark-gray: #3F3F3F;
    --pirs-orange: #E8A037;
    --pirs-green: #30ab69;
    --pirs-red: #BB4242;
    --pirs-bg1: #1B252C;
    --pirs-bg2: #0B1016;
    --pirs-bg3: #26313A;
    --pirs-bg4: #010101;
    --pirs-white: #FFFFFF;
    --pirs-h-font: 54px;
    --pirs-error: #CE0000;
    --pirs-light-gray: #d5d6de;
    --default-font: Manrope;
}

.breadcrumb {
    --bs-breadcrumb-divider: '>';
    --bs-breadcrumb-divider-color: var(--pirs-gray);
    --bs-breadcrumb-item-active-color: var(--pirs-gray);
}

.table {
    --bs-table-bg: var(--pirs-bg3);
    --bs-table-striped-bg: rgba(0, 0, 0, 0.2);
    --bs-table-color: var(--pirs-gray);
    --bs-table-striped-color: var(--pirs-gray);
}

.alert-danger {
    --bs-alert-color: var(--pirs-error);
    --bs-alert-bg: var(--pirs-bg3);
    --bs-alert-border-color: var(--pirs-error);
}

.form-control::placeholder {
    --bs-secondary-color: var(--pirs-pale-gray);
}

.invalid-feedback {
    --bs-form-invalid-color: var(--pirs-error);
}

html,
body {
    height: calc(100% - 100px);
    font-size: 14px;
    font-family: var(--default-font);
}

body {
    --bs-body-bg: var(--pirs-bg2);
    font-style: normal;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
}

body,
.input-group-text {
    color: var(--pirs-light-gray);
}


body .container {
    max-width: 1530px;
}

a {
    text-decoration: none;
}

.text-justify {
    text-align: justify;
}

.search-line {
    width: 100%;
    border-bottom: 1px solid var(--pirs-pale-gray);
    position: relative;
    top: -15px;
}

.ms-n3 {
    margin-left: -1rem;
}

.pirs-fs-16 {
    font-size: 16px;
}

.pirs-fs-24 {
    font-size: 24px;
}

.required-process a {
    display: inline-block;
    border-radius: 5px;
    background: var(--pirs-gray);
    font-size: 14px;
    line-height: 19px;
    text-align: center;
    color: var(--pirs-white);
    padding: 2px 10px;
    margin: 8px 8px 8px 0px;
}

.required-process a:hover,
.required-process a:focus,
.required-process a:active {
    color: var(--pirs-white) !important;
}

.header-gantt {
    font-size: 16px;
    color: #9dafbd;
}

.popover-x.right {
    position: absolute;
}

textarea {
    resize: none;
    scrollbar-width: thin;
    scrollbar-color: var(--pirs-blue) #4A4A4A;
}

textarea::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background-color: #4A4A4A;
}

textarea::-webkit-scrollbar-thumb {
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background-color: var(--pirs-blue);
}

.form-label {
    margin-bottom: unset;
}

.full-width {
    width: 100%;
}

.pirs-legend {
    marginmargin-top: 5px;
    padding: 10px;
}

.text-break {
    overflow-wrap: break-word;
    word-break: break-word;
}

.outer-container {
    padding-bottom: 20px;
}

.outer-container {
    width: 100%;
}

.inner-container,
.index-container {
    margin-left: auto;
    margin-right: auto;
}

.index-container {
    max-width: calc(100% - 80px);
}

.inner-container {
    max-width: 1530px;
}

.footer-container {
    max-width: 1514px;
}

.pirs-top-menu {
    background: var(--pirs-bg2);
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: 16px;
}

.pirs-top-menu-container {
    height: 56px;
}

.pirs-top-menu-container .navbar-nav {
    align-items: center;
}

.navbar-brand {
    width: 30%;
}

.navbar-brand > img {
    width: 150px;
    height: 28px;
    margin-right: 3rem;
}

.navbar-badge {
    background-color: var(--pirs-orange);
    padding: 2px 6px;
    font-size: 75%;
    font-weight: 700;
    color: #fff;
    border-radius: 5px;
}

.navbar-expand-md .navbar-nav .nav-link {
    padding: 10px 15px;
    color: var(--pirs-light-gray);
}

.navbar-nav > li > a {
    letter-spacing: -0.5px;
    color: var(--pirs-light-gray);
    white-space: nowrap;
}

.navbar-header {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-header > a {
    padding: 0;
}

.max-width,
.content,
.footer-content,
.navbar > .container-fluid {
    width: 100%;
}

.dropdown-menu {
    background-color: var(--pirs-bg1);
}

.dropdown-menu.kv-checkbox-list .form-check-label,
.dropdown-menu.kv-checkbox-list .form-check-label span,
.dropdown-menu > .dropdown > .dropdown-item,
.dropdown-menu > .dropdown-item {
    color: var(--pirs-light-gray);
    outline: none;
}

.dropdown-menu > .dropdown > .dropdown-toggle:hover:after {
    transform: rotate(270deg);
}

.dropdown-menu > .dropdown:hover > .dropdown-menu {
    display: block !important;
}

.dropdown:hover > .dropdown-submenu {
    left: 100%;
    margin-top: -37px;
}

.dropdown-menu.kv-checkbox-list input[type="checkbox"] {
    display: inline-block;
}

.nav-link:hover,
.nav-link:focus,
.dropdown-item.active,
.dropdown-menu.kv-checkbox-list .form-check-label:active,
.dropdown-menu.kv-checkbox-list .form-check-label:focus,
.dropdown-menu.kv-checkbox-list .form-check-label:hover,
.dropdown-menu.kv-checkbox-list .form-check-label span:active,
.dropdown-menu.kv-checkbox-list .form-check-label span:focus,
.dropdown-menu.kv-checkbox-list .form-check-label span:hover,
.dropdown-menu > .dropdown > .dropdown-item:active,
.dropdown-menu > .dropdown > .dropdown-item:focus,
.dropdown-menu > .dropdown > .dropdown-item:hover,
.dropdown-menu > .dropdown-item:active,
.dropdown-menu > .dropdown-item:focus,
.dropdown-menu > .dropdown-item:hover {
    color: var(--pirs-white);
    background-color: var(--pirs-bg3);
    background-image: none;
    box-shadow: none;
    outline: none;
}

.progresss {
    background: var(--pirs-pale-gray);
    border-radius: 30px;
    box-shadow: none;
    height: 12pt;
}

.progresss-bar {
    background: var(--pirs-orange);
    border-radius: 30px;
    min-width: fit-content;
    font-size: 12px;
    margin: auto;
    color: var(--pirs-bg2);
    padding: 0px 5px;
    height: 12pt;
}


.project-header-card {
    font-weight: normal;
    font-size: 20px;
    line-height: 28px;
    color: var(--pirs-white);
}

.nav-tabs {
    border-bottom: 1px solid var(--pirs-gray);
}

.nav-pills > li > a,
.nav-pills .nav-link,
.nav-pills .show > .nav-link,
.nav-pills > li > a:hover,
.nav-pills > li > a:focus {
    padding: 3px 16px;
    background-color: transparent;
    color: var(--pirs-gray);
    border: 1px solid var(--pirs-light-gray);
    margin-bottom: 10px;
    margin-right: 15px;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link,
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
    border: 1px solid var(--pirs-blue);
    background-color: var(--pirs-blue);
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
    background-color: var(--pirs-bg1);
}

.nav-tabs > li > a:hover {
    border: 1px solid var(--pirs-gray);
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    color: var(--pirs-gray);
    background-color: var(--pirs-bg3);
    border: 1px solid var(--pirs-gray);
    border-bottom-color: transparent;
}

.pirs-flex-center {
    display: flex;
    align-items: center;
    width: 100%;
    padding-top: 5px;
}

.collapse .navbar-collapse {
    margin-top: 15px;
}

.pirs-nav-right-guest {
    position: absolute;
    left: 74%;
    z-index: 1035;
    top: 20px;
    width: 155px;
}

.nav.pirs-left-tabs > li.fake-tab-title > a,
.nav.pirs-left-tabs > li.fake-tab-title > a:focus,
.nav.pirs-left-tabs > li.fake-tab-title > a:hover,
.nav.pirs-left-tabs > li.fake-tab-title > a:active {
    background: none;
    cursor: inherit;
    pointer-events: none;
}

.pirs-left-tabs .bi {
    margin-right: 10px;
}

.pirs-left-tabs_v2 {
    margin-top: 148px;
}

.tab_v2-header {
    height: 128px;
    margin-left: -204px;
}

.pirs-color-blue {
    color: var(--pirs-blue);
}

.pirs-color-light-gray {
    color: var(--pirs-light-gray);
}

.pirs-color-pale-gray {
    color: var(--pirs-pale-gray);
}

.pirs-color-gray,
.pirs-color-gray:active,
.pirs-color-gray:focus,
.pirs-color-gray:hover {
    color: var(--pirs-gray);
}

.pirs-color-dark-gray {
    color: var(--pirs-dark-gray);
}

.pirs-color-bg2 {
    color: var(--pirs-bg2);
}

.pirs-color-bg3 {
    color: var(--pirs-bg3);
}

.pirs-color-white,
.pirs-color-white:active,
.pirs-color-white:hover,
.pirs-color-white:focus {
    color: var(--pirs-white);
}

.pirs-color-red {
    color: var(--pirs-red);
}

.pirs-color-error,
.pirs-color-error:active,
.pirs-color-error:focus,
.pirs-color-error:hover {
    color: var(--pirs-error);
}

.pirs-color-orange {
    color: var(--pirs-orange);
}

.pirs-color-green {
    color: var(--pirs-green);
}

.pirs-color-bg4 {
    color: var(--pirs-bg4);
}

.pirs-blue {
    background: var(--pirs-blue);
}

.pirs-yellow {
    background: var(--pirs-yellow);
}

.pirs-orange {
    background: var(--pirs-orange);
}

.pirs-green {
    background: var(--pirs-green);
}

.pirs-gray {
    background: var(--pirs-gray);
}

.pirs-red {
    background: var(--pirs-red);
}

.pirs-bg3 {
    background: var(--pirs-bg3);
}

.pirs-bg4 {
    background: var(--pirs-bg4);
}

.pirs-bg1 {
    background: var(--pirs-bg1);
}

.pirs-light-gray {
    background: var(--pirs-light-gray);
}

.pirs-pale-gray {
    background: var(--pirs-pale-gray);
}

.pirs-btn,
.pirs-btn:hover,
.pirs-btn:focus,
.pirs-btn:active {
    display: inline-block;
    height: 40px;
    width: 135px;
    margin-right: 12px;
    padding: 12px 20px;
    font-weight: 500;
    line-height: 16px;
    text-align: center;
    color: var(--pirs-white);
    text-decoration: none;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
}

.btn {
    color: var(--pirs-white);
    margin-bottom: 5px;
    padding-inline: 20px;
    height: max-content;
}

.btn-close {
    fill: var(--pirs-gray);
}

.btn-close:hover,
.btn-close:focus,
.btn-close:active {
    box-shadow: none;
    color: var(--pirs-white);
}

.btn:hover,
.btn:focus,
.btn:active {
    color: var(--pirs-white);
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
    border-color: white;
}

.form-group {
    margin: 15px 0;
}

.pirs-btn-save {
    padding: 10px 30px;
}

h1 {
    margin-top: 0;
    font-weight: 900;
    font-size: var(--pirs-h-font);
    line-height: 63px;
    letter-spacing: -1px;
}

h3 {
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -0.318182px;
}

.small-h1 {
    font-weight: normal;
}

.pirs-main-info {
    font-size: 18px;
    line-height: 26px;
    letter-spacing: -0.5px;
}

.pirs-second-header {
    font-size: 18px;
    line-height: 26px;
    letter-spacing: -0.5px;
}

.social-icon {
    margin-left: 3px;
    margin-right: 3px;
}

.social-icon-svg img {
    width: 20px;
    height: 20px;
}

.chat-icon svg {
    height: 14px;
    fill: var(--pirs-gray);
    margin-bottom: -1px;
}

.star-icon {
    height: 26px;
    width: 26px;
    background-color: var(--pirs-gray);
    border-radius: 5px;
}

.star-icon .bi-star-half {
    margin-bottom: 0;
    line-height: normal;
}

a.notice-icon {
    color: var(--pirs-gray);
    font-size: 16px;
}

.active .chat-icon svg {
    fill: var(--pirs-blue);
}

.chat-icon svg:hover {
    fill: var(--pirs-white);
}

.help-link {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 1000;
    font-size: 12px;
    border: 1px solid var(--pirs-blue);
    border-radius: 10px;
    width: 18px;
    height: 18px;
}

.help-link:hover,
.help-link:active {
    border: 1px solid var(--pirs-white);
}

#user-logo {
    width: 40px;
    height: 40px;
    border-radius: 40px;
    object-fit: cover;
    object-position: 50% 50%;
    margin-top: -25%;
}

.footer {
    display: flex;
    margin-top: 20px;
}

.footer-row {
    margin: 40px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-row .column {
    width: 33.3333%;
}

.footer-h {
    margin-top: 29px;
    font-weight: 300;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -1px;
}

.footer-h2 {
    font-weight: 500;
    font-size: 20px;
    letter-spacing: -0.318182px;
    margin-bottom: 42px;
}

.footer-info {
    margin-top: 6px;
    font-weight: 300;
    font-size: 14px;
    letter-spacing: -0.318182px;
}

.footer .footer-label a,
.footer-label {
    letter-spacing: -0.318182px;
    font-size: 16px;
    align-self: center;
    color: var(--pirs-gray);
}

.footer a {
    font-size: 16px;
    text-decoration: none;
    color: var(--pirs-blue);
    display: inline-block;
    margin-bottom: 8px;
    outline: none;
}

a.footer-news-item {
    height: 68px;
    display: flex;
    margin-bottom: 30px;
}

.footer-news-item p {
    max-height: 68px;
    max-width: 265px;
    display: flex;
    align-items: center;
    margin: 0;
}

.footer-news-item img {
    height: 68px;
    width: 68px;
    object-fit: cover;
    margin-right: 30px;
    border-radius: 5px;
}

.fase {
    display: flex;
    align-items: center;
    white-space: pre-line;
    min-width: 160px;
    line-height: 17px;
    color: #9dafbd;
}

.fase img {
    width: 167px;
    height: 95px;
}


.search-filters-container .has-success .select2-container--open .select2-selection,
.search-filters-container .has-success .select2-container--krajee.select2-container--focus .select2-selection,
.search-filters-container .has-success .select2-container--krajee-bs5.select2-container--focus .select2-selection {
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px rgba(102, 175, 233, 0.6);
}

.search-filters-container .select2-container--krajee-bs5 .select2-selection--single,
.search-filters-container .select2-container--krajee .select2-selection--single {
    height: 34px;
}

.form-control:focus,
.form-control:active,
.form-control:hover,
.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
    color: var(--pirs-gray);
    background-color: transparent;
}

.block-container {
    width: 100%;
}

.block-container,
.flex-space-between {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.row-duo,
.row-third {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.row-third .form-group {
    width: calc(100% / 3 - 5px * 3);
}

.row-duo .form-group {
    width: calc(100% / 2 - 5px * 2);
}

.block,
.block_v2,
.block_v3 {
    background-color: var(--pirs-bg3);
    border-radius: 5px;
}

.block_v2.pirs-orange,
.block_v2.pirs-orange .progress.pay-progress,
.block.pirs-orange {
    background-color: var(--pirs-orange);
}

.block_v2.pirs-orange,
.block_v2.pirs-orange .block-title,
.block.pirs-orange .project-text-mini,
.block.pirs-orange .project-text-body,
.block.pirs-orange .project-text-big {
    color: var(--pirs-bg3);
}

.block {
    padding: 15px;
    margin-bottom: 20px;
}

.block_v2 {
    padding: 15px;
    min-width: 300px;
}

.block_ligtn,
.block_ligtn .form-control {
    background-color: var(--pirs-pale-gray);
    color: var(--pirs-bg3);
}

.block_ligtn .btn:disabled {
    opacity: unset;
    cursor: not-allowed;
    background-color: inherit;
}

.block_ligtn {
    height: 750px;
}

.block_ligtn .form-label {
    color: white;
}

.block_ligtn .form-control {
    border: 1px solid var(--pirs-bg3);
}

.block_ligtn select.form-control {
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
}

.block_ligtn select.form-control.is-valid {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
}

.block_ligtn .error {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    overflow: hidden;
}

#firm-photo_upload-create {
    display: none;
}

.firm-logo {
    width: 100px;
}

/* main begin */
h1, h2, h4, h5 {
    color: var(--pirs-light-gray);
}

a {
    color: var(--pirs-blue);
}

a:focus,
a:active,
a:hover {
    outline: none;
    color: var(--pirs-blue);
    text-decoration: none;
}

h3,
.footer .footer-label a:hover,
a:hover {
    color: var(--pirs-white);
}

.form-control:disabled,
.fieldin:disabled,
.disabled-link {
    cursor: not-allowed;
}

.breadcrumb {
    margin: 20px auto;
    max-width: 1530px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.control-label {
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: -0.5px;
    cursor: pointer;
}

button {
    border: none;
}

.help-block,
.invalid-feedback {
    display: block;
    text-align: right;
}

.project-params-hint {
    max-height: min-content;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #737373;
}

.form-control {
    background-color: transparent;
    border-radius: 5px;
    border: 1px solid var(--pirs-gray);
    color: var(--pirs-gray);
    padding: 6px;
    font-size: 14px;
}

.input-daterange input:first-child {
    padding: 2px !important;
    text-align: right;
    text-indent: 0;
    border-top-left-radius: 5px !important;
    border-bottom-left-radius: 5px !important;
    border-right: none;
}

.input-daterange input:last-child {
    padding: 2px !important;
    text-align: left !important;
    text-indent: 0;
    border-top-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
    border-left: none;
}

.input-group.input-daterange .input-group-addon,
.input-daterange .kv-field-seperator {
    border: none !important;
}

select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%239DAFBD%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 8px top 50%;
    background-size: 8px;
}

.pirs-left-tabs {
    width: 204px;
    display: block;
}

.nav-item {
    height: max-content;
}

.nav.pirs-left-tabs > li > a,
.nav.pirs-left-tabs > li > a:focus {
    width: 184px;
    height: 40px;
    border: none;
    border-radius: 5px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: transparent;
    padding: 3px 10px;
}

.nav.pirs-left-tabs > li > a.active {
    min-width: min-content;
    transition: width 0.25s;
    background-color: var(--pirs-blue);
    border: 1px solid var(--pirs-blue);
}

.small-alert-dot {
    font-size: 5px;
}

.middle-alert-dot {
    font-size: 8px;
}

.tab-with-alert.double-upper-tab .bi-circle-fill,
.pirs-card-box-toogler .bi-circle-fill {
    margin-right: 7px;
}

.tab-with-alert.double-upper-tab > div {
    margin-left: auto;
    margin-right: auto;
}

.pirs-left-tab-content {
    display: flex;
    width: calc(100% - 204px);
    min-width: 340px;
    scrollbar-width: thin;
    scrollbar-color: var(--pirs-blue) #4A4A4A;
    border-radius: 5px;
}

.pirs-left-tab-content::-webkit-scrollbar {
    width: 5px;
    border-radius: 5px;
    background-color: #4A4A4A;
}

.pirs-left-tab-content::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: var(--pirs-blue);
}

.pirs-left-tabs-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 15px;
    width: 100%;
}

.nav.pirs-left-tabs > li > a.tab-with-alert {
    display: flex;
    justify-content: space-between;
}

/* main end*/

/* grid begin */
.table,
.table.pirs-table-striped,
.table > thead > tr > td.active,
.table > tbody > tr > td.active,
.table > tfoot > tr > td.active,
.table > thead > tr > th.active,
.table > tbody > tr > th.active,
.table > tfoot > tr > th.active,
.table > thead > tr.active > td,
.table > tbody > tr.active > td,
.table > tfoot > tr.active > td,
.table > thead > tr.active > th,
.table > tbody > tr.active > th,
.table > tfoot > tr.active > th {
    background-color: var(--pirs-bg3);
}


.table.no-border > thead > tr > th,
.table.no-border > tbody > tr > th,
.table.no-border > tfoot > tr > th,
.table.no-border > thead > tr > td,
.table.no-border > tbody > tr > td,
.table.no-border > tfoot > tr > td {
    border: none;
}

.table-striped > tbody > tr:nth-of-type(2n+1) {
    background-color: var(--pirs-bg1);
}

.table.pirs-table-striped > thead > tr,
.pirs-table-striped > tbody > tr:nth-of-type(4n),
.pirs-table-striped > tbody > tr:nth-of-type(4n-1) {
    background-color: var(--pirs-bg1);
}

.table-bordered,
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
    border: 1px solid var(--pirs-gray);
}

.pagination {
    margin: 0;
}

.container,
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus,
.pagination > li,
.pagination > li > a {
    color: var(--pirs-gray);
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus,
.pagination > li,
.pagination > li > a,
.pagination > li.disabled > span {
    height: 32px;
    width: 32px;
    font-size: 14px;
    line-height: 15px;
    text-align: center;
    margin-left: 4px;
    margin-right: 4px;
    background-color: transparent;
}

.pagination > li > a,
.pagination > li > span {
    border-radius: 5px;
    padding-top: 9px;
    height: 32px;
    display: inline-block;
    border: none;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    background-color: var(--pirs-bg3);
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background-color: var(--pirs-blue);
    color: var(--pirs-white);
}

a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    line-height: 1;
}

a.asc:after,
a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: none;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: none;
    border-top-width: 0;
}

a.desc:after {
    border-top: none;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: break-spaces;
}

/* grid end */

/* datePicker start*/

.datepicker {
    z-index: 1065 !important; /* обязательно сопоставлять с формой исполнения процессов и исполнения тасков */
    font-size: 14px;
}

.datepicker table tr td.today:hover,
.datepicker {
    color: var(--pirs-gray);
}

.datepicker table tr td.day:hover,
.datepicker table tr td span:hover,
.datepicker .datepicker-switch:hover,
.datepicker .prev:hover,
.datepicker .next:hover,
.datepicker tfoot tr th:hover {
    background: var(--pirs-bg3) !important;
}

.datepicker table tr td.focused,
.datepicker table tr td span.focused {
    background: var(--pirs-bg2) !important;
}

.datepicker table tr td.today {
    color: var(--pirs-gray);
    background-color: #423929;
    border-color: #ffb733;
}

.datepicker table tr td.range {
    background-color: var(--pirs-blue) !important;
}

.input-group-text,
.has-error .input-group-addon,
.has-success .input-group-addon,
.input-group-addon {
    background-color: transparent;
}

.kv-date-picker {
    border-radius: 5px 0 0 5px;
}

.kv-date-picker {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%239BACB9" class="bi bi-calendar3" viewBox="0 0 16 16"><path d="M14 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM1 3.857C1 3.384 1.448 3 2 3h12c.552 0 1 .384 1 .857v10.286c0 .473-.448.857-1 .857H2c-.552 0-1-.384-1-.857V3.857z"/><path d="M6.5 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/></svg>');
}

.kv-date-remove {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%239BACB9" class="bi bi-" viewBox="0 0 16 16"><path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"/></svg>');
}

.fa-ban {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M13.854 2.146a.5.5 0 0 1 0 .708l-11 11a.5.5 0 0 1-.708-.708l11-11a.5.5 0 0 1 .708 0Z"/><path fill-rule="evenodd" d="M2.146 2.146a.5.5 0 0 0 0 .708l11 11a.5.5 0 0 0 .708-.708l-11-11a.5.5 0 0 0-.708 0Z"/></svg>');
}

.fa-check {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-check-lg" viewBox="0 0 16 16"><path d="M12.736 3.97a.733.733 0 0 1 1.047 0c.286.289.29.756.01 1.05L7.88 12.01a.733.733 0 0 1-1.065.02L3.217 8.384a.757.757 0 0 1 0-1.06.733.733 0 0 1 1.047 0l3.052 3.093 5.4-6.425a.247.247 0 0 1 .02-.022Z"/></svg>');
}

.datepicker-dropdown.datepicker-orient-top::after,
.datepicker-dropdown.datepicker-orient-top::before,
.datepicker-dropdown.datepicker-orient-bottom::before,
.datepicker-dropdown.datepicker-orient-bottom::after {
    border: none;
}

/* datePicker end */

/* rating begin */
.rating-container .empty-stars {
    color: var(--pirs-gray);
}

.rating-container .filled-stars {
    color: var(--pirs-orange) !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
}

.rating-sm {
    font-size: 24px;
    line-height: 1;
}

.rating-container .rating-stars {
    vertical-align: inherit;
}

.rating-container .star {
    margin: 0;
}

/* rating end */

/* range slider begin */
.irs--round .irs-bar,
.irs--round .irs-line {
    top: 15px;
    height: 5px;
}

.irs--round .irs-line {
    background-color: var(--pirs-gray);
}

.irs-begin,
.irs-end {
    position: relative;
    top: 31px;
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 4px solid var(--pirs-gray);
    background-color: var(--pirs-white);
    border-radius: 24px;
    z-index: 1;
}

.irs-begin {
    float: left;
}

.irs-end {
    float: right;
}

.irs--round .irs-max,
.irs--round .irs-min,
.irs--round .irs-from,
.irs--round .irs-to,
.irs--round .irs-single {
    background-color: transparent !important;
    top: 30px;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: -0.5px;
}

.irs--round .irs-from::before,
.irs--round .irs-to::before,
.irs--round .irs-single::before {
    display: none;
}

.irs--round .irs-from,
.irs--round .irs-to,
.irs--round .irs-single {
    color: var(--pirs-blue);
}

.irs--round .irs-max,
.irs--round .irs-min {
    color: var(--pirs-gray);
}

.irs--round .irs-bar {
    background-color: var(--pirs-blue);
}

.irs--round .irs-handle {
    top: 10px;
    width: 15px;
    height: 15px;
    border: 4px solid var(--pirs-blue);
    background-color: var(--pirs-white);
}

.irs-label {
    margin-left: -15px;
}

/* range slider end */

.project-software .select2-selection,
.project-software .select2-selection--multiple,
.project-software .select2-selection:focus,
.project-software .select2-selection--multiple:focus,
.task-view .select2-selection,
.task-view .select2-selection--multiple,
.task-view .select2-selection:focus,
.task-view .select2-selection--multiple:focus {
    border: 0 !important;
    background: none !important;
    box-shadow: none;
}

.avatar {
    height: 100px;
    width: 100px;
    border-radius: 50px;
    object-fit: cover;
    object-position: 50% 50%;
}

.material-avatar {
    height: 50px;
    width: 150px;
    object-position: 50% 50%;
    object-fit: scale-down;
}

.material-avatar-small {
    height: 32px;
    width: 107px;
    object-position: 50% 50%;
    object-fit: scale-down;
}

.contact-link:hover ~ .contact-title {
    display: block;
}

.contact-title {
    display: none;
    position: absolute;
    border: 1px solid var(--pirs-blue);
    padding: 5px;
    background-color: var(--pirs-bg3);
    margin-top: 10px;
    border-radius: 5px;
    z-index: 5000;
}

.contact-title:before {
    content: '';
    position: absolute;
    left: calc(50% - 5px);
    top: -20px;
    border: 10px solid transparent; /* Прозрачные границы */
    border-bottom: 10px solid var(--pirs-blue); /* Добавляем треугольник */
}

.avatar-small {
    width: 30px;
    height: 30px;
    object-fit: cover;
    object-position: 50% 50%;
}

.avatar-chat-contacts,
.avatar-gv {
    width: 40px;
    height: 40px;
    object-fit: cover;
    object-position: 50% 50%;
    border-radius: 20px;
}

.is-self-employed {
    height: 63.5px;
    cursor: not-allowed;
}

.btn-file,
.fileinput-remove-button {
    border-radius: 5px;
}

.progress .progress-bar {
    min-width: 35px;
}

.deadlines progress {
    width: 100%;
    height: 6px;
    margin-bottom: 3px;
    margin-left: 5px;
    margin-right: 5px;
    border-color: var(--pirs-bg3);
    border-radius: 6px;
    background-color: var(--pirs-bg3);
}

.deadlines progress::-moz-progress-bar {
    height: 5px;
    background: var(--pirs-orange);
    border-radius: 6px;
}

.deadlines progress::-webkit-progress-bar {
    height: 5px;
    background-color: var(--pirs-bg3);
    border-radius: 6px;
}

.deadlines progress::-webkit-progress-value {
    background: var(--pirs-orange);
    border-radius: 6px;
}

.fileinput-remove {
    background: inherit;
}

.file-caption-name {
    margin-right: 10px;
    border-top-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
}

.turbo-btn {
    font-size: 16px;
}

.turbo-btn,
.turbo-btn:hover,
.turbo-btn:focus,
.turbo-btn:active {
    border-radius: 20px;
    min-width: 100px;
}

.chat-btn,
.chat-btn:hover,
.chat-btn:focus,
.chat-btn:active {
    border-radius: 20px;
    width: 80px;
}

.pirs-btn-border-blue,
.pirs-btn-border-blue:hover,
.pirs-btn-border-blue:active,
.pirs-btn-border-blue:focus,
.pirs-btn-border-blue.btn:hover,
.pirs-btn-border-blue.btn:active,
.pirs-btn-border-blue.btn:focus {
    color: var(--pirs-white);
    border: 1px solid var(--pirs-blue);
    --bs-btn-font-weight: 500;
}

.pirs-btn-border-red,
.pirs-btn-border-red:hover,
.pirs-btn-border-red:active,
.pirs-btn-border-red:focus,
.pirs-btn-border-red.btn:hover,
.pirs-btn-border-red.btn:active,
.pirs-btn-border-red.btn:focus {
    color: var(--pirs-white);
    border: 1px solid var(--pirs-red);
    --bs-btn-font-weight: 500;
}

.pirs-btn-blue,
.pirs-btn-blue:hover,
.pirs-btn-blue:active,
.pirs-btn-blue:focus,
.pirs-btn-blue.btn:hover,
.pirs-btn-blue.btn:active,
.pirs-btn-blue.btn:focus {
    color: var(--pirs-bg2);
    background: linear-gradient(90deg, var(--pirs-blue) 0%, #46C6E9 100%);
    --bs-btn-font-weight: 500;
}

.pirs-btn-red,
.pirs-btn-red:hover,
.pirs-btn-red:active,
.pirs-btn-red:focus,
.pirs-btn-red.btn:hover,
.pirs-btn-red.btn:active,
.pirs-btn-red.btn:focus {
    color: var(--pirs-white);
    background-color: var(--pirs-red);
}

.pirs-btn-gray,
.pirs-btn-gray:hover,
.pirs-btn-gray:active,
.pirs-btn-gray:focus,
.pirs-btn-gray.btn:hover,
.pirs-btn-gray.btn:active,
.pirs-btn-gray.btn:focus {
    color: var(--pirs-white);
    background-color: var(--pirs-gray);
}

.pirs-btn-pale-gray,
.pirs-btn-pale-gray:hover,
.pirs-btn-pale-gray:active,
.pirs-btn-pale-gray:focus,
.pirs-btn-pale-gray.btn:hover,
.pirs-btn-pale-gray.btn:active,
.pirs-btn-pale-gray.btn:focus {
    color: var(--pirs-white);
    background-color: var(--pirs-pale-gray);
}

.pirs-btn-dark-gray,
.pirs-btn-dark-gray:hover,
.pirs-btn-dark-gray:active,
.pirs-btn-dark-gray:focus,
.pirs-btn-dark-gray.btn:hover,
.pirs-btn-dark-gray.btn:active,
.pirs-btn-dark-gray.btn:focus {
    color: var(--pirs-white);
    background-color: var(--pirs-dark-gray);
}

.pirs-btn-green,
.pirs-btn-green:hover,
.pirs-btn-green:active,
.pirs-btn-green:focus,
.pirs-btn-green.btn:hover,
.pirs-btn-green.btn:active,
.pirs-btn-green.btn:focus,
.btn.show.pirs-btn-green {
    color: var(--pirs-white);
    background-color: var(--pirs-green);
}

.pirs-btn-green-dark,
.pirs-btn-green-dark:hover,
.pirs-btn-green-dark:active,
.pirs-btn-green-dark:focus,
.pirs-btn-green-dark.btn:hover,
.pirs-btn-green-dark.btn:active,
.pirs-btn-green-dark.btn:focus {
    color: var(--pirs-bg3);
    background-color: var(--pirs-green);
}

.pirs-btn-orange,
.pirs-btn-orange:hover,
.pirs-btn-orange:active,
.pirs-btn-orange:focus,
.pirs-btn-orange.btn:hover,
.pirs-btn-orange.btn:active,
.pirs-btn-orange.btn:focus {
    color: var(--pirs-white);
    background-color: var(--pirs-orange);
}

::placeholder,
::-webkit-input-placeholder,
::-moz-placeholder {
    color: var(--pirs-pale-gray);
    opacity: 1;
}

input {
    outline: none;
    text-indent: 10px;
}

input[type='number'] {
    -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type="checkbox"],
input[type="radio"] {
    display: none;
}

.slider-label:before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 4px solid var(--pirs-gray);
    background-color: var(--pirs-white);
    border-radius: 24px;
    vertical-align: middle;
    cursor: pointer;
}

.checkbox-label:before,
.radio-label span:before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #0AA699;
    border-radius: 5px;
    vertical-align: text-bottom;
    cursor: pointer;
}

input[type="checkbox"]:disabled + .checkbox-label:after,
input[type="radio"]:disabled + span:after,
input[type="checkbox"]:disabled + .checkbox-label:before,
input[type="radio"]:disabled + span:before {
    cursor: not-allowed;
}

.radio-label span:after,
.checkbox-label:after {
    content: "";
    display: block;
    position: relative;
    top: -14px;
    left: 4px;
    width: 10px;
    height: 5px;
    border-left: 2px solid var(--pirs-white);
    border-bottom: 2px solid var(--pirs-white);
    transform: rotate(-45deg);
    cursor: pointer;
}

.checkbox-label.label-published:after {
    top: -32px;
}

.article-715 .radio-label span {
    font-weight: normal;
}

.article-715 .radio-label {
    display: inline;
}


.radio-label span:before,
.checkbox-label:before {
    margin-right: 7px;
}

input[type="checkbox"]:checked + .checkbox-label:after,
input[type="radio"]:checked + span:after {
    opacity: 1;
}

input[type="checkbox"]:not(:checked) + .checkbox-label:after,
input[type="radio"]:not(:checked) + span:after {
    opacity: 0;
}

.slider-label:before {
    position: relative;
    left: 0;
    z-index: 2;
}

.slider-label:after {
    content: "";
    display: inline-block;
    position: relative;
    width: 28px;
    height: 15px;
    background: var(--pirs-bg1);
    border-radius: 13px;
    left: -13px;
    vertical-align: middle;
    z-index: 1;
    cursor: pointer;
}

input[type="checkbox"]:disabled + .slider-label:before {
    visibility: hidden;
}

input[type="checkbox"]:disabled + .slider-label:after {
    cursor: not-allowed;
}

input[type="checkbox"]:checked + .slider-label:before {
    border: 4px solid var(--pirs-green);
}

input[type="checkbox"]:checked + .checkbox-label:before,
input[type="radio"]:checked + span:before {
    background: inherit;
}

input[type="checkbox"]:checked + .slider-label:after {
    background: var(--pirs-pale-gray);
}

input[type="checkbox"]:checked + .slider-label:before {
    left: 15px
}


.skills {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.skill-container {
    line-height: 2.5 !important;
}

.skill {
    padding: 3px 8px;
    margin: 3px;
    background-color: transparent;
    border: 1px solid var(--pirs-gray);
    border-radius: 5px;
    font-weight: 300;
    font-size: 13px;
    line-height: 15px;
    text-align: start;
    letter-spacing: -0.272727px;
    color: var(--pirs-gray);
}

.skill:first-child {
    margin-left: 0;
}

.skill.is_ok {
    border: 1px solid var(--pirs-green);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px var(--pirs-green);
}

.skill.is_need {
    border: 1px solid #E17838;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px #E17838;

}

.tested-image {
    margin-left: 2px;
    width: 16px;
    height: 16px;
}

.rating {
    display: flex;
    align-items: center;
    font-weight: 300;
    font-size: 34px;
    line-height: 46px;
    letter-spacing: -0.1px;
    color: var(--pirs-blue);
}

.rating i {
    margin-right: 5px;
    font-size: 26px;
    color: var(--pirs-orange);
}

.rating svg {
    margin-left: 20px;
}

.list-view-container {
    margin-top: 8px;
}

.list-item {
    margin: 10px 0;
    padding: 10px 0;
}

.list-view-control.summary {
    white-space: nowrap;
}

.list-view-control ul.sorter {
    margin: 0;
    padding: 0;
}

.list-view-control .sorter li {
    display: inline-block;
    list-style-type: none;
    padding: 10px 0;
    margin-left: 10px;
    margin-top: 8px;
}

.list-view-control .sorter a {
    color: var(--pirs-gray);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    letter-spacing: -0.272727px;
    background-color: transparent;
    border-radius: 5px;
    padding: 10px;
}

.list-view-control .sorter a:hover {
    background-color: var(--pirs-bg3);
}

.list-view-control .sorter a.desc,
.list-view-control .sorter a.asc {
    color: var(--pirs-gray);
    border: 2px solid var(--pirs-pale-gray);
}

.customer-align-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
}

.list-view-control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

fieldset {
    border: 1px solid var(--pirs-pale-gray);
    border-radius: 5px;
    min-height: 55px;
}

.type-input > .form-group {
    margin-bottom: 0;
}

.compact {
    min-height: auto;
}

.filters fieldset {
    min-height: auto;
}

.fieldin-new,
.fieldin {
    width: 100%;
    height: 100%;
    padding: 8px;
    color: var(--pirs-gray);
    background: transparent;
    box-shadow: none;
}

.fieldin {
    border: none;
}

.fieldin-new {
    border: 1px solid var(--pirs-gray);
    border-radius: 4px;
}

.has-error,
.help-block:not(:empty),
.help-block:not(:empty) + fieldset > legend > label,
.invalid-feedback:not(:empty) + fieldset > legend > label {
    color: var(--pirs-error);
}

.help-block:not(:empty) + fieldset,
.invalid-feedback:not(:empty) + fieldset,
.is-invalid + legend + fieldset {
    border: 1px solid var(--pirs-error);
}

.hide-errors .invalid-feedback {
    display: none;
}

.pirs-input-label {
    position: relative;
    top: 12px;
    left: 12px;
    font-size: 14px;
    max-width: max-content;
}

.fieldin:focus {
    outline: none;
}

select.fieldin {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%239DAFBD%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 8px top 50%;
    background-size: 8px;
}

legend,
.control-label {
    color: var(--pirs-light-gray);
}

legend {
    float: none;
    font-weight: 300;
    font-size: 14px;
    border-width: 0 0 0;
    margin: 0 14px;
    padding: 0 5px;
    width: auto;
}

legend > label {
    margin: 0;
}

fieldset > .date input,
fieldset > .date span,
fieldset > .input-daterange input,
fieldset > .input-daterange .kv-field-seperator,
fieldset .has-success .select2-container--open .select2-selection,
fieldset .has-success .select2-container--krajee.select2-container--focus .select2-selection,
fieldset .has-success .select2-container--krajee-bs5.select2-container--focus .select2-selection,
fieldset .select2-container--krajee .select2-selection,
fieldset .select2-container--krajee.select2-container--open .select2-selection,
fieldset .select2-container--krajee .select2-selection:focus,
fieldset .select2-container--krajee-bs5 .select2-selection,
fieldset .select2-container--krajee-bs5.select2-container--open .select2-selection,
fieldset .select2-container--krajee-bs5 .select2-selection:focus {
    box-shadow: none !important;
    border: none !important;
}


.tab-pane .outer-container {
    background-color: var(--pirs-bg3);
    padding-bottom: 0;
}

.tab-pane .inner-container {
    padding-bottom: 0;
}

.btn-default {
    background-position: 0 !important;
}

.outer-container.search-header {
    position: sticky;
    top: -98px;
    margin-bottom: 4px;
    z-index: 5;
    padding-bottom: 0;
}

.iti {
    display: block;
}

#user-phone, #registration-phone {
    padding-right: 0;
}

.feedback-item {
    padding: 10px;
    border-bottom: 1px solid #888;
}

.pirs-row {
    display: flex;
    width: 100%;
    margin: 10px 0;
}

.like-label {
    font-weight: bold;
    font-size: 14px;
    color: var(--pirs-gray);
}

.pirs-label {
    width: 25%;
    margin-right: 15px;
    font-weight: bold;
}

.value,
.pirs-label {
    font-size: 14px;
    letter-spacing: -0.272727px;
    color: var(--pirs-gray);
}

.value {
    font-weight: 300;
    width: calc(75% - 15px);
    overflow: hidden;
}

.value-flex {
    display: flex;
    flex-wrap: wrap;
}

.empty {
    max-width: 1140px;
    margin: auto;
}

#await {
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 5000;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0, 0.5);
}

#await img {
    position: fixed;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
}

.user-avatar {
    width: 100px;
    height: 100px;
    border-radius: 4px;
}

.user-avatar.premium {
    box-shadow: 0 0 15px var(--pirs-gray);
}

.hidden-container,
.compare-comments,
.mobile {
    display: none;
}

.not-set {
    color: #c55;
    font-style: italic;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: var(--pirs-error);
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.file-input .explorer-frame:hover {
    background-color: var(--pirs-bg3);
}

#contactform-verifycode {
    border: 1px solid var(--pirs-pale-gray);
    border-radius: 5px
}

.file-preview-image {
    font: inherit;
    color: var(--pirs-gray);
}

/* новости */
.news-item {
    min-height: 160px;
}

.news-item .content {
    padding: 10px;
    background-color: var(--pirs-bg3);
}

.news-item .content img {
    padding: 5px;
    border: 1px solid var(--pirs-blue) !important;
    object-fit: cover;
    opacity: 1;
    width: auto;
    margin: 0 auto;
    position: relative;
    display: block;
    height: auto;
    max-width: 100%;
}

#data-range-values .form-group {
    display: flex;
    align-items: center;
}

#data-range-values fieldset {
    width: 100%;
}

#data-range-values .remove-range-value {
    margin: 10px 10px 0 10px;
}

/* chat css */
.note-input {
    width: calc(100% - 12px);
    height: 70px;
    border: 1px solid var(--pirs-gray);
    background-color: var(--pirs-bg2);
    border-radius: 5px;
    margin: 5px 5px -15px 5px;
    padding: 5px 30px 5px 5px;
    scrollbar-width: thin;
    scrollbar-color: var(--pirs-blue) #4A4A4A;
}

.message-input .btn-send-note {
    position: relative;
    left: calc(100% - 37px);
    top: -30px;
    z-index: 2;
    cursor: pointer;
}

.notes {
    height: 50vh;
    padding: 5px;
    overflow-y: auto;
    max-height: 150px;
    scrollbar-width: thin;
    scrollbar-color: var(--pirs-blue) #4A4A4A;
}

.expertise-comment-body {
    height: 50vh;
    padding: 5px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--pirs-blue) #4A4A4A;
}

.expertise-comment-body::-webkit-scrollbar,
.note-input::-webkit-scrollbar,
.notes::-webkit-scrollbar {
    width: 5px;
    border-radius: 5px;
    background-color: #4A4A4A;
}

.expertise-comment-body::-webkit-scrollbar-thumb,
.note-input::-webkit-scrollbar-thumb,
.notes::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: var(--pirs-blue);
}

.note {
    width: 100%;
    padding-right: 15%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    text-align: left;
    margin: 5px 0 5px 0;
}

.note-container {
    background-color: var(--pirs-bg2);
    padding: 10px;
}

.note > .note-container {
    overflow-wrap: anywhere;
    border-radius: 15px 15px 15px 0;
}

.my-note.note > .note-container {
    border-radius: 15px 15px 0 15px;
}

.note.my-note {
    padding-right: 0;
    padding-left: 15%;
    justify-content: flex-end;
    text-align: right;
}

.right-control-btn {
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
    margin-bottom: -10px;
}

.my-note .note-author {
    display: none;
}

.note .note-author {
    text-align: left;
    color: var(--pirs-pale-gray);
    margin-bottom: 5px;
}

.note .note-footer {
    text-align: right;
    color: var(--pirs-pale-gray);
}

.note .chat-avatar {
    width: 30px;
    height: 30px;
    border-radius: 15px;
    object-fit: cover;
    object-position: 50% 50%;
    margin-right: 5px;
}

.date-hr {
    text-align: center;
}

.date-hr span {
    padding: 5px 10px;
    background-color: var(--pirs-bg2);
    border-radius: 15px;
}

.note .glyphicon-ok {
    display: none;
    margin-left: 5px;
}

.my-note.note .glyphicon-ok.status-1,
.my-note.note .glyphicon-ok.status-0 {
    display: inline;
}

.note .glyphicon-ok.status-1 {
    color: var(--pirs-green);
}

.note .glyphicon-ok.status-0 {
    color: var(--pirs-bg3);
}

.compare-comment {
    text-align: center;
    font-size: 25px;
}

.compare-comment .glyphicon-comment:hover {
    color: var(--pirs-blue);
    cursor: pointer;
}

.three-lines,
.compare-comment span {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    overflow: hidden;
}

/* chat css */

.chart-container {
    height: 500px;
}

button.edit-submit {
    margin: 0 5px 0 5px;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    appearance: none;
}

.edit-submit {
    color: var(--pirs-gray);
    text-shadow: 0 1px 0 var(--pirs-gray);
    opacity: 0.5;
    font-size: 12px;
}

.edit-submit:hover,
.edit-submit:focus,
.edit-submit:focus {
    color: var(--pirs-blue);
    text-shadow: 0 1px 0 var(--pirs-blue);
    outline: none;
}

.kv-editable-parent .help-block {
    display: block;
    max-height: max-content !important;
    font-size: 14px;
}

.modal-content .explorer-frame:not(.kv-zoom-body):hover {
    background-color: var(--pirs-bg3);
}


#secure-missing-attributes {
    margin: 0 0 10px;
}

.template-group,
.template-provider-selected,
.template-provider,
.provider-name > a {
    color: var(--pirs-bg2);
}

.template-provider-selected,
.template-provider {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: -8px;
    padding: 8px;
    align-items: center;
}

.template-group,
.template-provider {
    background-color: var(--pirs-pale-gray);
}

.template-provider-selected {
    background-color: var(--pirs-blue);
}

#secure-missing-attributes p {
    margin: 0;
}


#obsessive-modal .modal-body {
    hyphens: auto;
}

#obsessive-modal p {
    text-indent: 25px;
}

.card-item {
    width: 457px;
    min-width: 300px;
}

.file-icon svg {
    width: 48px;
    height: 64px;
}

.file-name {
    padding-top: 8px;
    font-size: 12px;
    line-height: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    overflow: hidden;
}

.file-container .file-link {
    width: 48px;
    height: 118px;
}

.breadcrumb-item {
    padding-top: 16px;
}

.breadcrumb-item a {
    font-size: 18px;
    color: var(--pirs-blue);
}

.was-validated .form-check-input:valid ~ .form-check-label,
.form-check-input.is-valid ~ .form-check-label {
    color: inherit;
}

.form-check {
    margin-bottom: -5px;
}

.form-check-input {
    border: 1px solid var(--pirs-gray);
    background-color: inherit;
}

.was-validated .form-check-input:valid,
.form-check-input.is-valid,
.form-switch .form-check-input:focus {
    border-color: var(--pirs-gray);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' stroke-width='5%' stroke='%239BACB9' fill='%239BACB9'/%3e%3c/svg%3e");
}

.form-switch .form-check-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' stroke-width='5%' stroke='%239BACB9' fill='%239BACB9'/%3e%3c/svg%3e");
}

.form-check-input:checked,
.was-validated .form-check-input:valid:checked,
.form-check-input.is-valid:checked,
.form-switch .form-check-input:checked {
    border-color: var(--pirs-green);
    background-color: var(--pirs-green);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23FFFFFF'/%3e%3c/svg%3e");
}


.form-check-input:focus,
.was-validated .form-check-input:valid:focus,
.form-check-input.is-valid:focus {
    box-shadow: none;
}

#project-dependencies {
    display: revert;
}

.info-radio {
    margin: 10px 0;
}


.reasons.export .form-check-label {
    color: var(--pirs-gray) !important;
}

.reasons > label, .reasons > input {
    margin-left: 14px;
    margin-top: 3px !important;
}

.reasons .form-check-input[type="radio"] {
    background-color: inherit;
    border: 1px solid var(--pirs-green);
    background-image: none;
    margin-top: 0;
    border-radius: 3px !important;
}

.reasons .form-check-input[type="radio"]:checked {
    background-color: inherit;
    border: 1px solid var(--pirs-green) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
    border-radius: 3px;
}

.reasons .form-check-input[type="radio"]:disabled {
    filter: none;
    opacity: unset;
    border-radius: 3px;
}

.file-actions input[type="checkbox"],
.reasons input[type="radio"],
.reasons.form-check input[type="radio"] {
    display: flex !important;
    border-radius: 3px;
}

.reasons .form-check-label {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    flex-direction: row;
    column-gap: 10px;
}

.info-checkbox {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.info-checkbox label {
    margin-left: 14px;
}

.info-checkbox .form-check-input {
    background-color: inherit;
    border: 1px solid var(--pirs-white);
    background-image: none;
    margin-top: 0;
}

.info-checkbox .form-check-input:checked {
    background-color: inherit;
    border: 1px solid var(--pirs-green) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.info-checkbox .form-check-input:disabled {
    filter: none;
    opacity: unset;
}

.field-project-dependencies.info-checkbox .form-check-input[disabled] ~ .form-check-label,
.field-project-dependencies.info-checkbox .form-check-input:disabled ~ .form-check-label {
    opacity: unset;
}

.kv-table-header {
    background: inherit;
}

.td-remarkrow {
    width: 20%;
}

.td-comment {
    width: 45%;
}

.td-reason {
    width: 35%;
}

.td-action, .td-num {
    width: 30px;
}

.pirs-card-toggle {
    cursor: pointer;
}


/* fake-checkbox */
.fake-checkbox {
    display: flex;
    align-items: center;
    height: 28px;
    line-height: 28px;
    margin-right: 10px;
    position: relative;
    user-select: none;
}

.fake-checkbox .fake-checkbox-switch {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    width: 36px;
    height: 22px;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 30%/50%;
    vertical-align: top;
    background: var(--pirs-pale-gray);
    transition: .2s;
}

.fake-checkbox .fake-checkbox-switch:before {
    content: '';
    position: absolute;
    top: 1px;
    left: 2px;
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--pirs-gray);
    box-shadow: 1px 3px 5px rgba(0, 0, 0, .5);
    transition: .15s;
}

.fake-checkbox input[type="checkbox"] {
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.fake-checkbox input[type="checkbox"]:not(:disabled):active + .fake-checkbox-switch:before {
    box-shadow: inset 0 0 2px rgba(0, 0, 0, .3);
}

.fake-checkbox input[type="checkbox"]:checked + .fake-checkbox-switch {
    background: var(--pirs-green);
}

.fake-checkbox input[type="checkbox"]:checked + .fake-checkbox-switch:before {
    transform: translateX(12px);
}

/* Hover */
.fake-checkbox input[type="checkbox"]:not(:disabled) + .fake-checkbox-switch {
    cursor: pointer;
    border-color: rgba(0, 0, 0, .3);
}

/* Disabled */
.fake-checkbox input[type="checkbox"]:disabled + .fake-checkbox-switch {
    filter: grayscale(70%);
    border-color: rgba(0, 0, 0, .1);
}

.fake-checkbox input[type="checkbox"]:disabled + .fake-checkbox-switch:before {
    background: #eee;
}

/* Focus */
.fake-checkbox.focused .fake-checkbox-switch:before {
    box-shadow: inset 0 0 4px #ff5623;
}

@media screen and (max-width: 1250px) {

    #obsessive-modal .modal-dialog {
        width: 80%;
    }

    :root {
        --pirs-h-font: 38px;
    }

    .footer .footer-row {
        justify-content: center;
        margin-bottom: 50px;
    }

    .footer .footer-row .column {
        width: 340px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .footer-news-item p {
        max-width: 230px;
    }
}

@media screen and (max-width: 1170px) {
    .inner-container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media screen and (max-width: 767px) {
    .pirs-nav-right-guest {
        display: none;
    }

    #obsessive-modal .modal-dialog {
        width: 100%;
    }

    .pirs-top-menu-container {
        height: auto;
    }

    .pirs-top-menu-container .navbar-nav {
        align-items: unset;
    }

    .outer-container.search-header {
        position: static;
    }

    #user-logo {
        margin-top: 0;
    }

    .project-gantt {
        display: none;
    }

    .mobile {
        display: inline-block;
    }

    .not-mobile {
        display: none;
    }

    .list-view-control .sorter li {
        margin-left: 0;
    }
}

@media screen and (max-width: 576px) {

    .pirs-left-tabs .bi.middle-alert-dot,
    .pirs-left-tabs .bi.small-alert-dot {
        font-size: 20px;
        position: relative;
        top: 18px;
        right: 14px;
        width: 0;
    }

    .pirs-left-tab-content {
        width: 100%;
    }

    .modal-dialog {
        margin-bottom: 45px;
    }

    /* Использовать только для перевода Tab в иконки */
    .desktop {
        display: none;
    }
}
