html body {
    background: #fff;
    color: #111;
    font-family: Jost, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.35;
    margin: 0;
    padding: 0;
    min-width: 320px;
}
.container {
    margin: 0 25px;
}
.container .container {
    width: auto;
}

* {
    outline: none !important;
}

#wrapper {
    display: flex;
    min-height: 100vh;
}

#page {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    width: 100%;
}
#middle {
    height: 100%;
    min-height: 0;

    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
}
#sidebar {
    background: #2E2E32;
    color: #ffffff;
    min-height: 20px;
}
#sidebar a {
    color: #ffffff;
}
#sidebar .container {
    margin: 0 25px;
}

#center {
    display: flex;
    flex-direction: column;
}

body.sidebar-closed #middle {
    grid-template-columns: minmax(0, 40px) minmax(0, 1fr);
}
body.sidebar-closed #sidebar-content {
    display: none;
}


/* typography */

h1 {
    margin: 0 0 15px;
    font-size: 30px;
    font-weight: 400;
}
h2 {
    margin: 0 0 15px;
    font-size: 25px;
}
h3 {
    margin-bottom: 15px;
    font-size: 20px;
}
a {
    color: #000000;
    text-decoration: none;
}
p {
    margin-bottom: 10px;
}
p:last-child {
    margin-bottom: 0;
}

.html-text a {
    color: var(--color-main);
}
.html-text p {
    margin-bottom: 0;
}
.html-text strong,
.html-text b {
    font-weight: bold;
}
.html-text h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 0;
}
.html-text h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0;
}
.html-text h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 0;
}
.html-text i {
    font-style: italic;
}
.html-text ul {
    list-style: disc;
    margin: 0;
    padding: 0 0 0 1.3em;
}
.html-text ol {
    list-style: decimal;
    margin: 0;
    padding: 0 0 0 1.3em;
}
.html-text li {
    margin: 0;
    padding: 0;
}
.html-text img {
    display: block;
    max-width: 100%;
}

.html-text .ql-editor ul {
    padding: 0;
}
.html-text .ql-editor ol {
    padding: 0;
}


/* flash-messages */

html body > p.flash-message {
    font-size: 15px;
}
html body > p.flash-message button.close {
    height: 29px;
}
html body > p.flash-message {
    width: 500px;
    margin-left: -250px;
    left: 50%;
    box-sizing: border-box;
}
html body > p.flash-message pre {
    text-align: left;
}


/* flex */

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.flex-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.flex-left {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.flex-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.flex-middle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.flex-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
.flex-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}
.flex-nowrap {
    flex-wrap: nowrap;
}
.flex-column {
    flex-direction: column;
}


/* form */

.form-group {
    margin-bottom: 25px;
}
.form-group:last-child {
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: 4px;
    line-height: 1.5;
    color: #a4a4a4;
}
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 0 20px;
    margin: 0;
    height: 50px;
    display: block;
    box-sizing: border-box;
    font-family: Jost, Arial, sans-serif;
    font-size: 16px;
    border: 1px solid #E9E9E9;
    border-radius: 5px;
}

textarea {
    box-sizing: border-box;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder,
textarea::placeholder {
    color: #999;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
}

input[type="checkbox"] {
    display: none;
}
input[type="checkbox"] + label {
    margin: 0;
    position: relative;
    padding-left: 34px;

    min-height: 24px;

    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}
input[type="checkbox"] + label:before {
    content: '';

    position: absolute;
    left: 0;
    top: -2px;

    min-width: 24px;
    width: 24px;
    height: 24px;

    line-height: 1.5;

    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='22' height='22' rx='2' stroke='%23919191' stroke-width='2'/%3E%3C/svg%3E%0A");
}
input[type="checkbox"]:checked + label:before {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='24' height='24' rx='3' fill='%23309A44'/%3E%3Crect width='20' height='20' transform='translate(2 2)' fill='%23309A44'/%3E%3Cpath d='M18.875 7.62549L10.125 16.3751L5.75 12.0005' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

input[type="radio"] {
    display: none;
}
input[type="radio"] + label {
    margin: 0;
    position: relative;
    padding-left: 34px;

    min-height: 24px;

    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}
input[type="radio"] + label:before {
    content: '';

    position: absolute;
    left: 0;
    top: -2px;

    min-width: 24px;
    width: 24px;
    height: 24px;

    line-height: 1.5;

    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='11' stroke='%23909090' stroke-width='2'/%3E%3C/svg%3E%0A");
}
input[type="radio"]:checked + label:before {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='11' stroke='%23309A44' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='7' fill='%23309A44'/%3E%3C/svg%3E%0A");
}


button:not(.link),
.button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 28px;
    min-height: 48px;
    box-sizing: border-box;
    background: var(--color-main);
    border-radius: 5px;
    color: #ffffff;
    border: none;
    font-size: 16px;
    font-family: Jost, Arial, sans-serif;
    font-weight: 500;
    cursor: pointer;
}

button.link {
    background: none;
    padding: 0;
    margin: 0;
    height: auto;
    display: inline;
    border: none;
    font-family: Jost, Arial, sans-serif;
    text-decoration: none;
    cursor: pointer;
}


/* svg */

.svg-icon {
    width: 24px;
    height: 24px;
    display: block;
    fill: #000;
}


/* header-block */

.header-block {
    height: 70px;

    display: flex;
    justify-content: space-between;

    border-bottom: 1px solid #EBEBEB;
}
.header-block .logo {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: 25px;

    font-size: 30px;
    font-weight: bold;
    color: var(--color-main);
}
.header-block .logo img {
    margin-right: 8px;
    display: block;
}

.header-block .menu-and-profile {
    display: flex;
}

.header-block .menu {
    display: flex;
}
.header-block .menu > li {
    display: flex;
    border-right: 1px solid #EBEBEB;

    position: relative;
}
.header-block .menu > li:last-child {
    border: none;
}
.header-block .menu > li > a {
    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 0 32px;
    font-size: 18px;
    box-sizing: border-box;

    background: #fff;
    position: relative;
    z-index: 5;
}
.header-block .menu > li > a.active,
.header-block .menu > li:hover > a {
    background: #F0F0F0;
}
.header-block .menu > li.has-dropdown > a:after {
    content: '';
    display: block;

    width: 12px;
    height: 12px;

    position: relative;
    top: 1px;
    margin-left: 10px;

    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg width='11' height='7' viewBox='0 0 11 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.39282 1.75L5.64282 5.5L1.89282 1.75' stroke='%23BFBFBF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}
.header-block .menu > li.has-dropdown:hover > a:after {
    transform: rotate(180deg);
}

.header-block .menu li ul {
    position: absolute;
    z-index: 4;
    left: 0;
    top: 100%;
    background: #fff;
    border-top: 1px solid #EBEBEB;
    box-sizing: border-box;

    min-height: 100%;

    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    display: none;
}
.header-block .menu li:hover ul {
    display: block;
}
.header-block .menu ul a {
    font-weight: 500;
    padding: 9px 16px;
    display: block;
    line-height: 1.15;
    white-space: nowrap;
}
.header-block .menu ul a:hover {
    background: #EEEEEE;
}

.header-block .profile {
    background: #309A44;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 42px;
    box-sizing: border-box;
}
.header-block .profile:hover {
    background: var(--color-main-active);
}
.header-block .profile .svg-icon {
    width: 32px;
    height: 32px;

    margin-right: 8px;
}


/* sidebar */

.sidebar-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    padding-left: 25px;
}
.sidebar-box {
    padding: 18px 0;
}
.sidebar-padding {
    padding-left: 25px;
}


/* dropdown */

.dropdown {
    background: #fff;
    padding: 14px 0;
    box-sizing: border-box;

    min-width: 250px;

    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);

    position: absolute;
    z-index: 10;
    top: 100%;
    left: 0;

    display: none;
}
.dropdown a {
    color: #000000 !important;
    font-weight: 500;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding: 7px 20px;
    line-height: 1.18;
    font-size: 16px;
}
.dropdown a .svg-icon {
    margin-right: 11px;
    width: 24px;
    height: 24px;
}
.dropdown a:hover {
    background: #EEEEEE;
}


/* sidebar-toggle-block */

.sidebar-toggle-block {
    border-bottom: 1px solid #444444;
}
.sidebar-toggle-block a {
    font-size: 17px;
    padding: 12px 16px;
    color: #ffffff;
    text-decoration: none;

    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.sidebar-toggle-block a:hover {
    text-decoration: underline;
}
.sidebar-toggle-block a > span {
    display: flex;
    justify-content: center;
    align-items: center;
}
.sidebar-toggle-block .icon {
    width: 24px;
    height: 24px;
    margin-right: 2px;

    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 19.5L7.5 12L15 4.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}
.sidebar-toggle-block .icon:last-child {
    margin-right: 0;
}

body.sidebar-closed .sidebar-toggle-block .close {
    display: none;
}
body:not(.sidebar-closed) .sidebar-toggle-block .open {
    display: none;
}

body.sidebar-closed .sidebar-toggle-block a {
    justify-content: center;
}
body.sidebar-closed .sidebar-toggle-block .icon {
    transform: rotate(180deg);
}


/* search-templates */

.search-templates-block .item {
    display: flex;
    justify-content: space-between;

    border-bottom: 1px solid #444;

    position: relative;
}
.search-templates-block .item:hover {
    background: #3A3A3A;
}
.search-templates-block .item .dropdown {
    left: 100%;
    top: 0;
}
.search-templates-block .item:last-child {
    border: none;
}
.search-templates-block .name-and-count {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    font-weight: 500;
    width: 100%;
    min-width: 0;

    padding-top: 10px;
    padding-bottom: 10px;
}
.search-templates-block .item.has-combinations .name-and-count {
    padding-left: 50px;
}
.search-templates-block .item .name {
    margin-right: 8px;
}
.search-templates-block .item .count {
    white-space: nowrap;
    font-size: 13px;
    color: #bcbcbc;
}
.search-templates-block .item .menu {
    display: flex;
    padding: 10px 5px;
    box-sizing: border-box;
    min-width: 34px;

    opacity: 0;
}
.search-templates-block .item:hover .menu {
    opacity: 1;
}


/* folders-block */

.folders-block .folder {
    border-bottom: 1px solid #444;
    box-sizing: border-box;
    position: relative;
}
.folders-block .folder.dragover {
    background: var(--color-main);
}
.folders-block .folder:last-child {
    border: none;
}
.folders-block .folder .color {
    width: 7px;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    bottom: -1px;
    background: #3c3c40;
}
.folders-block .folder:last-child .color {
    bottom: 0;
}

.folders-block .item {
    display: flex;
    justify-content: space-between;

    border-bottom: 1px solid #444;
    box-sizing: border-box;

    position: relative;
    margin-bottom: -1px;
}
.folders-block .item:hover {
    background: #3A3A3A;
}
.folders-block .item:last-child {
    border: none;
}
.folders-block .name-and-count {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    font-weight: 500;
    width: 100%;
    min-width: 0;

    padding-top: 10px;
    padding-bottom: 10px;
}
.folders-block .item .name {
    margin-right: 8px;
}
.folders-block .item .count {
    white-space: nowrap;
    font-size: 13px;
    color: #bcbcbc;
}

.folders-block .item.employee .name-and-count {
    padding-left: 50px;
}

.folders-block .folder .toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px 5px;
    box-sizing: border-box;
    min-width: 34px;
}
.folders-block .folder:not(.open) .toggle {
    transform: rotate(180deg);
}
.folders-block .folder .toggle .svg-icon {
    width: 12px;
    height: 12px;
}

.folders-block .folder:not(.open) .employees {
    display: none;
}
.folders-block .add {
    margin: 20px 25px 0;
}
.folders-block .add a {
    color: var(--color-main) !important;
    font-weight: 500;

    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.folders-block .add a:hover {
    text-decoration: underline;
}
.folders-block .add a .svg-icon {
    width: 24px;
    height: 24px;
    fill: var(--color-main);
    margin-right: 10px;

    position: relative;
    top: -1px;
}
.folders-block .empty {
    margin: 0 25px;
}


/* charge-persons-count */

.charge-persons-block .item {
    display: flex;
    justify-content: space-between;

    border-bottom: 1px solid #444;
    box-sizing: border-box;

    position: relative;
}
.charge-persons-block .item:last-child {
    border: none;
}
.charge-persons-block .item:hover {
    background: #3A3A3A;
}
.charge-persons-block .item:last-child {
    border: none;
}
.charge-persons-block .name-and-count {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    font-weight: 500;
    width: 100%;
    min-width: 0;

    padding-top: 10px;
    padding-bottom: 10px;
}
.charge-persons-block .item .name {
    margin-right: 8px;
}
.charge-persons-block .item .count {
    white-space: nowrap;
    font-size: 13px;
    color: #bcbcbc;
}
.charge-persons-block .items:not(.open) .item.employee {
    display: none;
}
.charge-persons-block .items:not(.open) .item {
    border-color: transparent;
}
.charge-persons-block .item.employee .name-and-count {
    padding-left: 50px;
}
.charge-persons-block .item .toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px 5px;
    box-sizing: border-box;
    min-width: 34px;
}
.charge-persons-block .item:not(.open) .toggle {
    transform: rotate(180deg);
}
.charge-persons-block .item .toggle .svg-icon {
    width: 12px;
    height: 12px;
}

.charge-persons-block .item:not(.open) .employees {
    display: none;
}

.charge-persons-block .item.dragover {
    background: var(--color-main);
}


/* filters-form */

.filters-form {
    position: relative;
}
.filters-form .submit {
    position: absolute;
    top: 0;
    left: 100%;
    z-index: 5;
    margin: -18px 0 0 6px;

    background: var(--color-main);
    color: #ffffff;
    font-family: Jost, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 5px;
    height: 36px;
    min-height: 0;
    padding: 0 10px;
}
.filters-form .submit:after {
    right: 100%;
    top: 50%;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border: 6px solid transparent;
    border-right-color: var(--color-main);
    margin-top: -6px;
}
.filters-form .submit:not(.visible) {
    display: none;
}

.filters-form .form-group {
    margin: 12px 0;
}
.filters-form .form-group:first-child {
    margin-top: 0;
}
.filters-form .form-group:last-child {
    margin-bottom: 0;
}

.filters-form .section:not(.checked) .section-content {
    display: none;
}

.filters-form .section-box-name {
    font-size: 18px;
    font-weight: 500;
    padding: 0 25px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    cursor: pointer;
}
.filters-form .section-box.open .section-box-name {
    margin-bottom: 30px;
}
.filters-form .section-box-name:after {
    content: '';

    width: 12px;
    height: 12px;
    min-width: 12px;

    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.75 7.5L6 3.75L2.25 7.5' stroke='%23BFBFBF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}
.filters-form .section-box:not(.open) .section-box-name:after {
    transform: rotate(180deg);
}
.filters-form .section-box:not(.open) .section-box-content {
    display: none;
}


.filters-form .buttons {
    margin: 20px 0;
}
.filters-form .buttons a {
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--color-main);
    border-radius: 5px;
    box-sizing: border-box;
    color: var(--color-main) !important;

    margin-bottom: 10px;
}
.filters-form .buttons a:hover {
    background: var(--color-main);
    color: #ffffff !important;
}
.filters-form .buttons a:hover .svg-icon {
    stroke: #fff !important;
}
.filters-form .buttons a:last-child {
    margin-bottom: 0;
}
.filters-form .buttons a .icon {
    margin-right: 10px;
}
.filters-form .buttons a .svg-icon {
    width: 32px;
    height: 32px;
    stroke: var(--color-main);
}

.filters-form .section-toggle {
    background: #404045;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding: 8px 25px;
    font-weight: 600;
    margin: 25px 0;

    cursor: pointer;
}
.filters-form .section-toggle .checkbox {
    height: 29px;
    width: 54px;
    min-width: 54px;
    margin-right: 12px;
    background: #535357;
    border-radius: 100px;
    border: 2px solid #86868A;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.filters-form .section.checked .section-toggle .checkbox {
    justify-content: flex-end;
    background: var(--color-main);
    border-color: var(--color-main-light);
}
.filters-form .section-toggle .checkbox:before {
    content: '';
    width: 23px;
    height: 23px;
    background: #fff;
    border-radius: 100px;
    margin: 0 1px;
}

.filters-form .field {
    margin-bottom: 40px;
}
.filters-form .field:last-child {
    margin-bottom: 0;
}
.filters-form .field-name {
    margin-bottom: 12px;
    font-weight: 500;
}

.filters-form .checkboxes .item,
.filters-form .radios .item {
    margin-bottom: 10px;
}
.filters-form .checkboxes .item:last-child,
.filters-form .radios .item:last-child {
    margin-bottom: 0;
}

.filters-form input[type="checkbox"] + label {
    font-weight: 500;
}
.filters-form input[type="radio"] + label {
    font-weight: 500;
}

.filters-form .laws label button {
    color: var(--color-main) !important;
    font-size: 14px;
    border-bottom: 1px dashed;
    margin-left: 10px;
    display: block;
    line-height: 1.1;
    position: relative;
    top: 4px;
}

.filters-form .between {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    margin-bottom: 12px;
}
.filters-form .between:last-child {
    margin-bottom: 0;
}
.filters-form .between input {
    font-family: Jost, Arial, sans-serif;
    font-size: 16px;
    background: #2E2E32;
    color: #ffffff;
    padding: 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    height: 34px;
    text-align: center;

    border: 1px solid #fff;
    border-radius: 5px 0 0 5px;
}
.filters-form .between .item:last-child input {
    border-left: none;
    border-radius: 0 5px 5px 0;
}
.filters-form .between input.datepicker {
    text-align: left;
    padding-left: 12px;

    background-repeat: no-repeat;
    background-position: right 9px center;
    background-color: #2E2E32;
    background-image: url("data:image/svg+xml,%3Csvg width='13' height='13' viewBox='0 0 13 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' width='3' height='3' fill='%23C4C4C4'/%3E%3Crect x='5' y='5' width='3' height='3' fill='%23C4C4C4'/%3E%3Crect x='5' y='10' width='3' height='3' fill='%23C4C4C4'/%3E%3Crect y='5' width='3' height='3' fill='%23C4C4C4'/%3E%3Crect y='10' width='3' height='3' fill='%23C4C4C4'/%3E%3Crect x='10' width='3' height='3' fill='%23C4C4C4'/%3E%3Crect x='10' y='5' width='3' height='3' fill='%23C4C4C4'/%3E%3C/svg%3E%0A");
}
.filters-form .between label {
    font-size: 14px;
    margin: 0 0 2px;
}

.filters-form .radios {
    margin-bottom: 12px;
}
.filters-form .radios:last-child {
    margin-bottom: 0;
}

.filters-form .tooltip-label {
    display: block !important;
}
.filters-form .tooltip {
    position: relative;
    margin-left: 28px;
}
.filters-form .tooltip span {
    position: absolute;
    top: 50%;
    right: 0;
    width: 24px;
    height: 24px;
    margin-top: -12px;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z' stroke='%239F9F9F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M11.25 11.25H12V16.5H12.75' stroke='%239F9F9F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 9C12.6213 9 13.125 8.49632 13.125 7.875C13.125 7.25368 12.6213 6.75 12 6.75C11.3787 6.75 10.875 7.25368 10.875 7.875C10.875 8.49632 11.3787 9 12 9Z' fill='%239F9F9F'/%3E%3C/svg%3E%0A");
}


/* filters-placing-ways-form */

.filters-placing-ways-form .item {
    padding: 11px 0 9px;
    border-bottom: 1px solid #EBEBEB;
}
.filters-placing-ways-form .item:last-child {
    border: none;
}
.filters-placing-ways-form .grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}
.filters-placing-ways-form .title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}
.filters-placing-ways-form .item-actions {
    margin-top: 30px;
}


/* filters-placing-ways-form */

.filters-placing-ways-form .item {
    padding: 10px 0;
    border-bottom: 1px solid #EBEBEB;
}


/* filters-sites-form */

.filters-sites-form .title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}
.filters-sites-form .item {
    padding: 11px 0 9px;
    border-bottom: 1px solid #EBEBEB;

    display: flex;
    align-items: center;
    justify-content: space-between;
}
.filters-sites-form .item:last-child {
    border: none;
}
.filters-sites-form .item-actions {
    margin-top: 30px;
}
.filters-sites-form .item .link {
    min-width: 30px;
    margin-left: 15px;
}
.filters-sites-form .item .link .svg-icon {
    width: 20px;
    height: 20px;
    stroke: var(--color-main);
}


/* .flatpickr-months */

.flatpickr-months {
    margin: 5px 0 12px;
}
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    margin-top: 5px;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
    background: var(--color-main);
    border-color: var(--color-main);
}
.flatpickr-clear {
    margin: 5px 0;
    cursor: pointer;
    color: #777777;
}
.flatpickr-clear:hover {
    color: var(--color-main);
}


/* select2 */

.select2 {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;

    border: 1px solid #fff;
    border-radius: 5px;
    cursor: pointer;
}
.select2 .selection {
    display: block;
}
.select2-hidden-accessible {
    display: none;
}
.select2-selection--single {
    display: flex;
}
.select2-selection__rendered {
    width: 100%;
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding: 0 12px;
    box-sizing: border-box;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.select2-selection__arrow {
    width: 34px;
    height: 34px;
    min-width: 34px;

    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.125 5.75L5 8.875L1.875 5.75' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}
.select2-search--dropdown {
    display: none;
}
.select2-dropdown {
    border: 1px solid #fff;
    box-sizing: border-box;
    background: #fff;
    display: block;
    border-radius: 5px;
    overflow: hidden;
}
.select2-dropdown li {
    padding: 4px 12px;
    border-bottom: 1px solid #ededed;
}
.select2-dropdown li:last-child {
    border: none;
}
.select2-dropdown li:hover {
    background: #dedede;
    cursor: pointer;
}

.select2.select2-container--inline {
    display: inline-block !important;
    width: auto !important;
    border-radius: 0;
    box-shadow: 0 2px 0 0 #000;
}
.select2.select2-container--inline.select2-container--open {
    box-shadow: none;
}
.select2.select2-container--inline .select2-selection__rendered {
    padding: 0;
}
.select2.select2-container--inline .select2-selection__arrow {
    margin-left: 4px;
    min-width: 20px;
    width: 20px;
    height: 26px;

    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.125 5.75L5 8.875L1.875 5.75' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}
.select2-container--inline .select2-dropdown {
    width: auto !important;
}
.select2-container--inline .select2-dropdown {
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
    margin-top: 2px;
}
.select2-container--inline .select2-dropdown li {
    white-space: nowrap;
}
.select2-container--inline .select2-dropdown li:hover {
    background: #eee;
}

body > .select2-container {
    z-index: 10;
}


/* home-page */

.home-page {
    display: flex;
    height: 100%;
}
.home-page .page-inner {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.home-page .page-left,
.home-page .page-right {
    padding: 40px 50px;
}
.home-page .page-right {
    background: #F4F4F4;
}

.home-page .actions-and-sort {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 40px;
}


/* sort-form */

.sort-form .item-sort {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.sort-form label {
    margin: 0 8px 0 0;
}


/* search-form */

.search-form .form-inner {
    display: flex;
}
.search-form .item-search {
    width: 100%;
    min-width: 0;
    margin-right: 10px;
    background: #F4F4F4;
    border-radius: 5px;
    padding: 6px 6px 0 6px;

    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;

    position: relative;
    z-index: 1;
}
.search-form .item-search .placeholder {
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 16px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    color: #999999;
}
.search-form .item-search input:not([size='1']) + .placeholder,
.search-form .item-search input:not(:first-child) + .placeholder {
    display: none;
}
.search-form .item-search .overlay {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.search-form input[type="text"] {
    height: 32px;
    line-height: 32px;
    box-sizing: border-box;
    margin: 0 0 6px;
    padding: 0;
    border: none;
    font-family: Jost, Arial, sans-serif;
    font-size: 16px;
    color: #000000;
    border-radius: 0;
    width: auto;
    background: none !important;
}
.search-form input[type="text"]:first-child {
    margin-left: 10px;
}
.search-form input[type="text"]::placeholder {
    color: #999;
}
.search-form .item-actions .button {
    min-height: 44px;
    font-size: 16px;
    padding: 0 18px;
    font-weight: normal;
}
.search-form .item-actions .button .svg-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-left: 8px;

    position: relative;
    top: 1px;
}

.search-form .keyword {
    padding: 4px 8px;
    border-radius: 5px;
    background: #CDE4D1;
    margin: 0 6px 6px 0;
    max-width: 85%;

    display: flex;
    align-items: center;
    justify-content: center;
}
.search-form .keyword span {
    display: block;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-form .keyword .close {
    content: '';
    min-width: 20px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin: 0 -1px 0 1px;

    background-size: 10px 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.375 1.625L1.625 8.375' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.375 8.375L1.625 1.625' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}
.search-form .or {
    background: #F6DD9C;
}
.search-form .or:first-child {
    display: none;
}


/* .tenders-list */

.tenders-list .list-date {
    font-size: 25px;
    font-weight: bold;
    margin: 20px 0 10px;
}
.tenders-list .list-date:first-child {
    margin-top: 0;
}


/* tenders-list-item */

.tenders-list-item {
    padding: 18px;
    margin-left: -18px;
    box-sizing: border-box;
    position: relative;
    border-top: 1px solid #EBEBEB;
    border-bottom: 1px solid #EBEBEB;
    margin-bottom: -1px;
}
.tenders-list-item .actions-and-info {
    display: grid;
    grid-template-columns: minmax(0, 24px) minmax(0, 1fr);
    gap: 16px;
}

.tenders-list-item .header {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;

    margin: 0 0 10px 40px;
}
.tenders-list-item .header .item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-right: 20px;
    font-weight: 500;
}
.tenders-list-item .header .item .label {
    color: #909090;
    margin-right: 5px;
}
.tenders-list-item .header .item:last-child {
    margin-right: 0;
}
.tenders-list-item .header .item .value {
    position: relative;
}
.tenders-list-item .header .item .value .link {
    color: var(--color-main);
    white-space: nowrap;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}
.tenders-list-item .header .item .value .link:after {
    content: '';
    z-index: 1;
    display: block;
    position: absolute;
    bottom: 1px;
    left: 0;
    right: 0;
    border-bottom: 1px dashed;
}
.tenders-list-item .header .item .value a.no-selected {
    color: #909090;
}

.tenders-list-item .folder-line {
    position: absolute;
    width: 4px;
    top: -1px;
    bottom: -1px;
    left: 0;
    background: #f3f3f3;
}

.tenders-list-item .name {
    font-weight: 600;
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 12px;
}
.tenders-list-item .name a:hover {
    color: var(--color-main);
}
.tenders-list-item .actions {
    margin-top: 1px;
}
.tenders-list-item .actions .action {
    margin-bottom: 8px;
}
.tenders-list-item .actions .action:last-child {
    margin-bottom: 0;
}
.tenders-list-item .actions .svg-icon {
    width: 24px;
    height: 24px;
}

.tenders-list-item .charge-person .dropdown .svg-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}
.tenders-list-item .charge-person .dropdown a {
    white-space: nowrap;
}

.tenders-list-item .customer {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    font-size: 18px;
    margin-bottom: 12px;
}
.tenders-list-item .customer .label {
    margin: 0 6px;
}
.tenders-list-item .customer .value a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tenders-list-item .customer .value a:hover {
    color: var(--color-main);
}

.tenders-list-item .fields {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;

    font-weight: 500;
    color: #909090;

    line-height: 1.2;
    margin-bottom: 6px;
}
.tenders-list-item .fields:last-child {
    margin-bottom: 0;
}
.tenders-list-item .fields a {
    color: #909090;
    text-decoration: underline;
}
.tenders-list-item .fields a:hover {
    color: var(--color-main);
}
.tenders-list-item .field {
    white-space: nowrap;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.tenders-list-item .field:after {
    content: '';
    display: block;
    width: 1px;
    min-width: 1px;
    height: 16px;
    background: #909090;
    margin: 0 10px;
}
.tenders-list-item .field:last-child:after {
    display: none;
}


/* company-menu */

.company-menu {
    width: 24px;
    height: 24px;
    min-width: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
}
.company-menu .link .svg-icon {
    width: 24px;
    height: 24px;
}


/* add-to-folder-link */

.add-to-folder-link {
    position: relative;
}

.add-to-folder-link-dropdown a {
    display: flex;
    justify-content: flex-start;
}
.add-to-folder-link-dropdown .color {
    background: #eee;
    width: 20px;
    min-width: 20px;
    height: 20px;
    margin-right: 10px;
    border-radius: 100px;
}
.add-to-folder-link-dropdown .svg-icon {
    width: 20px;
    min-width: 20px;
    height: 20px;
    margin-right: 10px;
}


/* folder-form */

.folder-form-modal .mfp-container .mfp-content {
    width: 550px;
}

.folder-form .item-color label:before {
    display: none;
}
.folder-form .item-color label {
    width: 34px;
    height: 34px;
    padding: 0 !important;
    margin: 0;
    text-indent: -9999px;
    border-radius: 4px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}
.folder-color-orange {
    background: #ffc051 !important;
}
.folder-color-blue {
    background: #768fee !important;
}
.folder-color-green {
    background: #43c89b !important;
}
.folder-color-pink {
    background: #db77d5 !important;
}
.folder-color-red {
    background: #fe5f5f !important;
}
.folder-color-green2 {
    background: #b1d06d !important;
}
.folder-color-brown {
    background: #ed967c !important;
}
.folder-color-purple {
    background: #af85da !important;
}
.folder-color-brown2 {
    background: #ab8d9c !important;
}
.folder-color-blue2 {
    background: #74d1f0 !important;
}

.folder-form .item-color input:checked + label:after {
    content: '';

    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    background-position: center;
    background-repeat: no-repeat;
    background-size: 22px 22px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='9 9 15 15' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-width='0.22' stroke='%23white' d='M15,21a1,1,0,0,1-.71-.29l-4-4a1,1,0,0,1,1.42-1.42L15,18.59l6.29-6.3a1,1,0,0,1,1.42,1.42l-7,7A1,1,0,0,1,15,21Z' fill='white' /%3E%3C/svg%3E");
}

.folder-form .item-color {
    display: flex;
}
.folder-form .item-color .form-group {
    margin: 0 10px 0 0;
}


/* tenders-block */

.tenders-block .links {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;

    margin-bottom: 20px;
}
.tenders-block .links a {
    margin-right: 35px;
    font-weight: 500;
    color: var(--color-main);

    display: flex;
    align-items: center;
    justify-content: center;
}
.tenders-block .links a:last-child {
    margin-right: 0;
}
.tenders-block .links a:hover {
    text-decoration: underline;
}
.tenders-block .links a .svg-icon {
    margin-right: 5px;
    width: 32px;
    height: 32px;
}
.tenders-block .pagination {
    margin-left: -18px;
}


/* note-form */

.note-form textarea {
    padding: 0;
    margin: 0;
    border: none;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    font-family: Jost, Arial, sans-serif;
    display: block;
    width: 700px;
    color: #ff7e00;
    resize: none;
    outline: none !important;
}
.note-form textarea::placeholder {
    text-decoration: underline;
    color: #909090;
}
.note-form textarea:focus::placeholder {
    text-decoration: none;
}


/* counter */

[data-counter-max] + .counter {
    font-size: 13px;
    color: #777;
    margin-top: 6px;
    display: none;
    font-weight: 300;
}
[data-counter-max]:focus + .counter {
    display: block;
}


/* search-count */

.search-count {
    padding: 14px 25px;
    font-weight: 600;
    font-size: 24px;
    border-bottom: 1px solid #444;
}


/* pagination */

.pagination {
    display: flex;
    justify-content: flex-start;
    border: 1px solid #EBEBEB;
}
.pagination li {
    border-right: 1px solid #EBEBEB;
}
.pagination li a,
.pagination li span {
    padding: 0 4px;
    box-sizing: border-box;

    min-width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;
}
.pagination li a:hover {
    background: #EBEBEB;
}
.pagination li.active {
    background: #EBEBEB;
}