:root {
    --bs-border-radius: .7rem; /* Новый радиус границы */

    --bs-dark: #231F20;
    --bs-dark-rgb: 35, 31, 32;

    --bs-link-color: #3357E4;
    --bs-link-color-rgb: 51, 87, 228;

    --bs-primary: #3357E4;
    --bs-btn-bg: #3357E4;
    --bs-primary-rgb: 51, 87, 228;

    --bs-btn-color: #4869EF;
    --bs-btn-border-color: #4869EF;
}

body {
    background-color: #eaebed;
}

#footer {
    font-size: 12px;
    line-height: 24px;
}

main > .container {
    padding: 100px 15px 20px;
}
main .scrollable {
    overflow-x: auto;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    min-height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

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

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

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

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

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

.auth-clients {
    padding-left: inherit;
}

.nav-link {
    padding: 8px 16px!important;
    color: #fff;
}
.nav-link.active {
    border: 1px solid #fff;
    border-radius: var(--bs-border-radius);
}
.nav-item .dropdown-menu.show {
    background: #fff;
}
.nav-item .dropdown-menu .dropdown-item {
    color: #0A0A0A;
    background: transparent;
}
.nav-item .dropdown-menu .dropdown-item:active, .nav-item .dropdown-menu .dropdown-item.active {
    color: #3357E4;
    background: transparent;
}
.navbar-collapse {
    background: #3357E4;
    margin: 0 -15px;
}

.custom-table {
    color: #0A0A0A;
    border-collapse: separate;
    border-spacing: 0 12px;
    width: 100%;
}
.custom-table thead {
    background: transparent;
}
.custom-table thead th {
    background: #D4DCFF;
    font-weight: 500;
}
.custom-table tbody tr {
    background: transparent;
}
.custom-table tr th, .custom-table tr td {
    padding: 12px 10px;
}
.custom-table tr td {
    background: #fff;
}
.custom-table tr th:first-child, .custom-table tr td:first-child {
    padding-left: 16px;
    border-radius: var(--bs-border-radius) 0 0 var(--bs-border-radius);
}
.custom-table tr th:last-child, .custom-table tr td:last-child {
    padding-right: 16px;
    border-radius: 0 var(--bs-border-radius) var(--bs-border-radius) 0;
}

.caption {
    font-size: 24px;
    margin-top: 30px;
}

input[type="checkbox"] {
    height: 24px;
    width: 24px;
    vertical-align: bottom;
}
input[type="checkbox"] + label {
    margin-left: 7px;
}
.form-check {
    margin-bottom: 0.5rem;
}

.search-field .input-group-text {
    background: #fff;
    color: #5E5E61;
}
.search-field input {
    border-left: 1px solid #fff;
    padding: 0;
}
.search-field input:focus {
    box-shadow: none;
}
.checkbox-list {
    background: #fff;
    border-color: #5E5E61;
    color: #5E5E61;
}
.btn-outline-primary {
    background: #fff;
}
.btn-primary {
    background: #3357E4!important;
    border-color: #3357E4!important;
}
.btn-outline-primary {
    color: #3357E4!important;
    border-color: #3357E4!important;
}
.btn-outline-primary:hover, .btn-outline-primary:checked, .btn-outline-primary:active, .btn-outline-primary:focus {
    color: #fff!important;
    background: #3357E4!important;
    border-color: #3357E4!important;
}
.btn-outline-secondary, .btn-outline-secondary:active, .btn-outline-secondary:focus {
    color: #5E5E61!important;
    background: #fff!important;
    border-color: #5E5E61!important;
}
.btn-outline-secondary:hover {
    color: #fff!important;
    background: #5E5E61!important;
    border-color: #5E5E61!important;
}
.card {
    border: none;
}
.page-link.active, .active > .page-link {
    background-color: #3357E4!important;
    border-color: #3357E4!important;
}

.is-invalid .invalid-feedback {
    display: block;
}