dl, ol, ul {
    margin: 0;
}

[class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link.active,
[class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link.active:focus,
[class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link.active:hover {
    background-color: rgba(255, 255, 255, .2);
    color: #fff;
}

.login-page, .register-page {
    background-color: rgb(236, 233, 221, 25%);
}

.login-page > div {
    height: 100vh;
}

.auth-logo {
    display: block;
    margin-bottom: 30px;
    text-align: center;
}

.auth-main {
    width: 450px;
    padding: 40px;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 37px rgba(8, 21, 66, 0.05);
    box-shadow: 0 0 37px rgba(8, 21, 66, 0.05);
    margin: 0 auto;
    background-color: #fff;
}

.auth-main h4 {
    font-size: 26px;
    font-weight: 700;
}

.auth-main p {
    margin-bottom: 25px;
    font-size: 14px;
    color: #898989;
}

.auth-main .form-group {
    margin-bottom: 10px;
}

.auth-main .form-group label {
    letter-spacing: 0.4px;
    font-weight: 500;
    font-size: 14px;
}

.auth-main .form-group input:not([type="checkbox"]) {
    border-color: #eee;
    background-color: #fff;
    font-size: 14px;
    color: #898989;
    padding: 22px 15px;
    appearance: none;
}

.auth-main .form-group .show-hide {
    top: 50%;
    right: 20px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.auth-main .form-group .show-hide div {
    cursor: pointer;
}

.auth-main .form-group .checkbox {
    margin-left: 15px;
}

.auth-main .form-group .checkbox input[type="checkbox"] {
    opacity: 0;
    display: none;
}

.auth-main .form-group .checkbox label {
    padding-left: 10px;
    position: relative;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 10px;
    letter-spacing: 0.4px;
}

.auth-main .form-group .checkbox label::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 19px;
    height: 19px;
    left: 0;
    margin-left: -16px;
    border: 1px solid #efefef;
    border-radius: 3px;
    background-color: #fff;
    -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
}

.auth-main .form-group .checkbox input[type="checkbox"]:checked+label::before {
    font-family: 'Font Awesome 6 Pro';
    content: "\f00c";
    text-align: center;
    line-height: 1.2;
}

.auth-main .form-group .checkbox label::before {
    background-color: #f9f9fa;
    border: 1px solid #eee;
}

.auth-main .form-group a {
    font-size: 14px;
}

.auth-main .form-group a.social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #eee;
    background-color: rgba(92, 97, 242, 0.05);
    color: #17a2b8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 7px;
}

.auth-main .form-group a.social i {
    font-size: 18px;
}

.auth-main .form-group a.social:hover {
    background-color: #17a2b8;
    color: #fff;
}

.auth-main .form-group a.social:hover i {
    color: #fff;
}

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

    .login-page > div {
        padding-top: 40px;
        height: auto;
    }

    .auth-logo {
        margin-bottom: 10px;
    }

    .auth-logo svg {
        width: 100px;
        height: 100px;
    }

    .auth-main {
        width: auto;
        margin: 20px;
        padding: 20px;
        margin-bottom: 40px;
    }

    .auth-main p {
        margin-bottom: 5px;
    }

    .auth-main .form-group {
        margin-bottom: 5px;
    }
}


.login-page .btn.dropdown-toggle {
    border: 1px solid #eee;
    border-right: none;
    border-color .15s ease-in-out;
}

.login-page .btn.dropdown-toggle.focus {
    border-color: #eee;
}

.login-page .btn.dropdown-toggle::after {
    display: none;
}

.login-page .btn.dropdown-toggle svg {
    width: 22px;
    margin-top: -2px;
}

.login-page .dropdown-menu .dropdown-item .mask {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.login-page .dropdown-menu .dropdown-item .mask-flag {
    width: 23px;
}

.login-page .dropdown-menu .dropdown-item .mask-name {
    margin-left: 10px;
    font-size: 14px;
    font-weight: 500;
}

.login-page .dropdown-menu .dropdown-item .mask-code {
    margin-left: 10px;
    font-size: 12px;
    font-weight: 500;
    color: #7d7d7d;
}

.login-page .input-group.is-invalid button {
    border-color: red;
}

.main-sidebar, .main-sidebar::before {
    width: 280px;
}

body:not(.sidebar-mini-md) .content-wrapper,
body:not(.sidebar-mini-md) .main-footer,
body:not(.sidebar-mini-md) .main-header {
    margin-left: 280px;
}

.content-wrapper {
    background-color: rgb(236, 233, 221, 25%);
}

[class*=sidebar-dark-] {
    background-color: #23282f;
}

.nav.nav-treeview .nav-item.has-treeview.menu-open {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.nav-item svg {
    fill: #c2c7d0;
}

.nav-item:hover svg, .sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active svg, .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active svg {
    fill: #fff;
}

.form-control {
    padding: .375rem .5rem;
}

.navbar a {
    color: #000;
}

.sidebar {
    height: 100%;
}

.dragscroll {
    overflow-x: auto;
    cursor: grab;
}

.dragscroll:active {
    cursor: grabbing;
}

.table thead th {
    border-bottom: 0;
    border-top: 0;
}

.right-panel {
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1050;
    background-color: #fff;
    width: 600px;
    overflow-y: auto;
    transform: translate(0px, 0px);
    border-left: 1px solid #ced4da;
    transition: transform 0.5s linear;
}

.right-panel.hide {
    transform: translate(600px, 0px);
}

.right-panel .close {
    outline: none;
}

.school-logotype-image img {
    width: 70px;
    height: 70px;
}

.school-logotype-title {
    color: #fff;
    margin-top: 4px;
}

.sidebar-collapse .school-logotype,
.sidebar-collapse .service-logotype {
    display: none !important;
}

.section-menu {
    background-color: #343a40;
    min-width: 150px;
    width: 100px;
    margin-left: 1px;
}

.section-menu > a {
    display: block;
    padding: 5px 10px;
    color: #fff;
}

.section-menu > a:hover, .section-menu > a.active {
    background-color: #407BFF;
    font-weight: 600;
}

.service-logotype {
    bottom: 0;
    left: 56px;
    right: 0;
    width: 157px;
}

.logotype-title {
    font-size: 20px;
    color: #fff;
    font-weight: 500;
}

.custom-nav-avatar img {
    width: 38px;
    height: 38px;
    border-radius: 100%;
}

.avatar img {
    width: 256px;
    height: 256px;
    border-radius: 100%;
}

.avatar .frontdrop {
    opacity: 0;
    top: 0;
    left: 11px;
    right: 11px;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 100%;
    cursor: pointer;
    margin-bottom: 0;
    transition: opacity 0.2s;
}

.avatar .frontdrop .avatar-change-text {
    margin-top: 170px;
    color: #fff;
    font-weight: 500;
}

.avatar .frontdrop .avatar-img-recommend {
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    width: 70%;
    margin: 0 auto;
    margin-top: 10px;
}

.avatar:hover .frontdrop {
    opacity: 1;
}

.notification-centre .dropdown-menu {
    left: -30px !important;
    min-width: 330px;
}

.user-info {
    line-height: 16px;
    margin-top: 7px;
}

.user-info-names {
    font-weight: 500;
}

.user-info-email {
    font-size: 14px;
    color: #969696;
}

.page-client-search {
    width: 400px;
    position: relative;
    border-radius: 10px;
    padding: 5px 15px;
    background-color: #f6f8fc;
}

.page-client-search .input-group {
    height: 38px;
}

.page-client-search .input-group-prepend .input-group-text {
    background-color: transparent;
    border: none;
    padding: 0;
    height: 40px;
    width: 40px;
    margin-right: 5px;
}

.page-client-search .input-group .input-group-prepend .input-group-text:before {
    position: absolute;
    content: "";
    width: 1px;
    height: 15px;
    background-color: rgba(43, 43, 43, 0.2);
    top: 14px;
    left: 30px;
}

.page-client-search .input-group input {
    z-index: 1000;
    border: none;
    background-color: transparent;
    padding: 0;
    font-size: 14px;
}

.client-search-result {
    position: absolute;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 0 1px rgb(0 0 0 / 13%), 0 1px 3px rgb(0 0 0 / 20%);
    border-radius: 4px;
    z-index: 2;

    max-height: calc(100vh - 166px);
    overflow-y: auto;
}

.client-search-result .result-item {
    padding: 7px 10px;
}

.client-search-result .result-item:hover {
    background-color: #f4f6f9;
}

.client-search-result .result-item a {
    display: block;
    font-weight: 500;
    color: #000;
}

/* FIRST PARAMS */

#first-params .modal {
    overflow-y: auto;
}

.first-params.show .modal-dialog {
    max-width: 800px;
    width: 100%;
}

.present-first,
.tariff-first .svg,
.tariff-first .tariff-first-title,
.location-first .location-first-title,
.requisite-first .requisite-first-title,
.license-first .license-first-title,
.programs-first .programs-first-title,
.admins-first .admins-first-title,
.centres-first .centres-first-title,
.prices-first .prices-first-title,
.settings-first .settings-first-title,
.indexs-first .indexs-first-title,
.finish-first .finish-first-title {
    text-align: center;
}

.present-first-title,
.tariff-first-title,
.location-first-title,
.requisite-first-title,
.license-first-title,
.programs-first-title,
.admins-first-title,
.centres-first-title,
.prices-first-title,
.settings-first-title,
.indexs-first-title,
.finish-first-title {
    font-size: 26px;
    font-weight: 600;
}

.present-first-logo-text,
.tariff-first-logo-text {
    font-size: 32px;
    font-weight: 500;
}

.present-first-text,
.centres-first-text,
.prices-first-text,
.settings-first-text {
    font-size: 20px;
    font-weight: 500;
}

.tariff-list {
    display: flex;
    position: relative;
    justify-content: space-around;
}

.tariff-in {
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
    min-height: 100%;
    border: 3px solid #e8e8e8;
    border-radius: 7px;
    padding: 25px;
    cursor: pointer;
    position: relative;
}

.tariff-in:hover {
    border-color: #007bff;
}

.tariff-in.select {
    border-color: #007bff;
}

.tariff-in.saved::before {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 64px 64px 0 0;
    border-color: #007bff transparent transparent transparent;
    position: absolute;
    left: 0;
    top: 0;
    content: '';
}

.tariff-in.saved::after {
    color: #fff;
    position: absolute;
    left: 9px;
    top: 6px;
    text-shadow: 0 0 2px #007bff;
    font-size: 1.4rem;
    font-family: 'FontAwesome';
    content: '';
}

.tariff-title {
    text-align: center;
    font-size: 40px;
    color: #565656;
}

.tariff-price-month {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #565656;
}

.tariff-price-year {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #565656;
}

.tariff-trial {
    text-align: center;
    padding: 2px 20px;
    color: #007bff;
    font-weight: 600;
    border: 1px solid #e4e4e4;
    border-radius: 20px;
}

.tariff-features > div {
    padding-bottom: 8px;
    font-weight: 500;
    color: #565656;
}

.tariff-features > div > i {
    color: #007bff;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.preload {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    background-color: rgba(255, 255, 255, .4);
    padding-top: 100px;
}

.location-first form, .requisite-first form {
    position: relative;
}

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

.custom-file-label {
    white-space: nowrap;
    overflow: hidden;
}

.requisite-first .result {
    position: absolute;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 6px 0;
    z-index: 3;
}

.requisite-first .result > div {
    cursor: pointer;
    padding-left: 12px;
}

.requisite-first .result > span {
    padding-left: 12px;
    font-weight: 600;
}

.requisite-first .result > div:hover {
    background-color: #efefef;
}

.requisite-first .btn.dropdown-toggle {
    border: 1px solid #ced4da;
    border-right: none;
    border-color .15s ease-in-out;
}

.requisite-first .btn.dropdown-toggle.focus {
    border-color: #80bdff;
}

.requisite-first .btn.dropdown-toggle::after {
    display: none;
}

.requisite-first .btn.dropdown-toggle svg {
    width: 22px;
    margin-top: -2px;
}

.requisite-first #rphone {
    border-left: none;
    padding-left: 0;
}

.requisite-first .dropdown-menu .dropdown-item .mask {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.requisite-first .dropdown-menu .dropdown-item .mask-flag {
    width: 23px;
}

.requisite-first .dropdown-menu .dropdown-item .mask-name {
    margin-left: 10px;
    font-size: 14px;
    font-weight: 500;
}

.requisite-first .dropdown-menu .dropdown-item .mask-code {
    margin-left: 10px;
    font-size: 12px;
    font-weight: 500;
    color: #7d7d7d;
}

#license .custom-file-input {
    height: 1px;
}

#license label i {
    cursor: pointer;
    font-size: 150px;
}

.license-first .preload {
    padding-top: calc(92px - 25px);
}

.license-first-result-image {
    max-width: 100%;
    border-radius: 4px;
}

.program-first-checkbox {
//width: calc(12.5% - 8px);
//margin: 4px;
}

.program-first-checkbox label {
    width: 100%;
    height: 50px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    line-height: 50px;
    margin-bottom: 0;
    cursor: pointer;
}

.programs-first-other label {
    width: 100%;
    border-radius: 4px;
    border: 1px solid transparent;
    padding: 4px 8px;
    cursor: pointer;
}

#programs label:hover {
    border-color: #007bff;
}

.admins-first .add-admin i {
    cursor: pointer;
    font-size: 150px;
}

.admins-first .btn.dropdown-toggle {
    border: 1px solid #ced4da;
    border-right: none;
    border-color .15s ease-in-out;
}

.admins-first .btn.dropdown-toggle.focus {
    border-color: #80bdff;
}

.admins-first .btn.dropdown-toggle::after {
    display: none;
}

.admins-first .btn.dropdown-toggle svg {
    width: 22px;
    margin-top: -2px;
}

.admins-first #phone {
    border-left: none;
    padding-left: 0;
}

.admins-first .dropdown-menu .dropdown-item .mask {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.admins-first .dropdown-menu .dropdown-item .mask-flag {
    width: 23px;
}

.admins-first .dropdown-menu .dropdown-item .mask-name {
    margin-left: 10px;
    font-size: 14px;
    font-weight: 500;
}

.admins-first .dropdown-menu .dropdown-item .mask-code {
    margin-left: 10px;
    font-size: 12px;
    font-weight: 500;
    color: #7d7d7d;
}

#admin .day {
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    border-radius: 4px;
}

#admin table.graphic {
    width: 100%;
    margin-top: 38px;
}

#admin table tr td {
    line-height: 40px;
}

#admin .day-0 .row,
#admin .day-1 .row,
#admin .day-2 .row,
#admin .day-3 .row,
#admin .day-4 .row,
#admin .day-5 .row,
#admin .day-6 .row {
    margin: 0 auto;
}

.schedule-separator {
    text-align: center;
    line-height: 34px;
    font-weight: 700;
}

.centres-first-icon i {
    cursor: pointer;
    font-size: 150px;
    position: relative;
}

.centres-first-icon i:after {
    position: absolute;
/ / background-color: #fff;
    content: "\f067";
    font-size: 60px;
    padding: 30px;
    bottom: 16px;
    right: -86px;
    width: 120px;
    border-radius: 100%;
    cursor: default;
}

#centres-select-format .modal-body {
    min-height: 421px;
}

.centres-first-items > div {
    display: block;
    width: 400px;
    margin: 0 auto;
}

#centres-add .modal-body > div {
    display: none;
}

#centres-add .modal-body.office .office-form {
    display: block;
}

#centres-add .modal-body.class .class-form {
    display: block;
}

#centres-add .modal-body.any .any-form {
    display: block;
}

#centres-add .result {
    position: absolute;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 6px 0;
    z-index: 3;
}

#centres-add .result > div {
    cursor: pointer;
    padding-left: 12px;
}

#centres-add .result > span {
    padding-left: 12px;
    font-weight: 600;
}

#centres-add .result > div:hover {
    background-color: #efefef;
}

#centres-add .day {
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    border-radius: 4px;
}

#centres-add table.graphic {
    width: 100%;
}

#centres-add table tr th {
    text-align: center;
}

#centres-add table tr td {
    line-height: 40px;
}

#centres-add .day-0 .row,
#centres-add .day-1 .row,
#centres-add .day-2 .row,
#centres-add .day-3 .row,
#centres-add .day-4 .row,
#centres-add .day-5 .row,
#centres-add .day-6 .row {
    margin: 0 auto;
}

.prices-first-programs .prices-first-program {
    flex-basis: 50%;
    padding: 10px;
}

.prices-first-programs .prices-first-program div {
    padding: 20px;
    width: 100%;
}

.prices-first-list > div, .prices > div {
    margin: 10px 0;
}

.add-string {
    display: inline;
    cursor: pointer;
}

.add-string:after {
    display: none;
}

.cursor-danger {
    cursor: no-drop;
}

.prices-first-select-price:after,
.prices-first-select-credit-period:after {
    display: none;
}

.prices-first-delete-item i, .tariff-price-delete-item i {
    color: #dc3545;
    cursor: pointer;
}

.extras > div {
    margin: 8px 0;
}

.extras .row > div {
    padding: 0;
}

.extra-first-delete-item i {
    color: #dc3545;
    cursor: pointer;
    margin-top: 11px;
}

.btn-group div.dropdown-toggle {
    cursor: pointer;
}

.settings-first-programs .settings-first-program {
    flex-basis: 50%;
    padding: 10px;
}

.settings-first-programs .settings-first-program div {
    padding: 20px;
    width: 100%;
}

#settings-first-create-modal .btn.btn-default input {
    opacity: 0;
}

.indexs-centres-groups,
.indexs-centres-reggroups {
    flex-wrap: wrap;
}

.indexs-centres-groups > div,
.indexs-centres-reggroups > div {
    width: 20%;
}

/* END FIRST PARAMS */

.tabs .tabs-header {
    display: flex;
}

.tabs .tabs-header .tab-item {
    padding: 10px 28px;
    cursor: pointer;
    border: 1px solid rgba(92, 97, 242, 0.06);
    font-weight: 500;
    background-color: rgba(225, 230, 239, 0.5);
    font-size: 14px;
    color: #000;
}

.tabs .tabs-header .tab-item:first-child {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

.tabs .tabs-header .tab-item:last-child {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

.btn {
    border-radius: 30px;
}

.tabs .tabs-header .tab-item:not(:first-child) {
//margin-left: -1px;
}

.tabs .tabs-header .tab-item:hover, .tabs .tabs-header .tab-item.active {
    background-color: #e1e6ef;
    border-color: rgba(92, 97, 242, 0.05);
}

.tabs .tabs-body .tab-block .tab-border-block {
    padding: 10px;
    border: 1px solid #17a2b8;
}

.tabs .tabs-body .tab-block .tab-title {
    font-size: 26px;
    font-weight: 500;
}

.rating .rating-star {
    color: #000;
}

.rating .rating-star.full {
    color: orange;
}

.rating .rating-star.half {
    background: linear-gradient(to right, orange 50%, #000 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.widgets .info-box {
    padding: 0;
    margin: 0 5px;
    display: block;
    cursor: pointer;
}

.widgets .info-box:first-child {
    margin-left: 0;
}

.widgets .info-box:last-child {
    margin-right: 0;
}

.widgets .info-box .widget-title {
    text-align: center;
    margin-top: 8px;
}

.widgets .info-box .widget-digits h1 {
    text-align: center;
    font-size: 60px;
}

.lock .modal-dialog {
    max-width: 800px;
}

.lock .pincode-title {
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
}

.lock .pincode-text {
    text-align: center;
    font-size: 20px;
    font-width: 500;
    margin-bottom: 20px;
}

.lock .pincode {
    text-align: center;
    padding: 20px 0;
    position: relative;
}

.lock .pincode input[type="number"] {
    display: inline-block;
    width: 100px;
    line-height: 20px;
    text-align: center;
    padding: 16px 0px;
    margin: 0 10px;
    font-size: 20px;
    font-weight: 700;
}

.lock .pincode .preload {
    padding-top: 20px;
}

.general-info .result {
    position: absolute;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 6px 0;
    z-index: 3;
}

.general-info .result > div {
    cursor: pointer;
    padding-left: 12px;
}

.general-info .result > span {
    padding-left: 12px;
    font-weight: 600;
}

.general-info .result > div:hover {
    background-color: #efefef;
}

.pushlist form .item label {
    cursor: pointer;
}

.form-select-file-document {
    width: 100%;
    border: 4px dashed #d4d4d4;
    height: 400px;
    cursor: pointer;
}

.form-select-file-document input[type="file"] {
    width: 1px;
    height: 1px;
    margin: 0 278px;
}

label.form-select-file-document:not(.form-check-label):not(.custom-file-label) {
    font-weight: 500;
}

.form-select-file-document-texts {
    text-align: center;
    color: #8c8c8c;
    margin-top: 150px;
}

.load-document-title {
    font-size: 40px;
}

.documentlist label.btn,
.documentlist a.btn {
    width: 340px;
    font-weight: 700;
}

.tab-block .documentlist .inline label.btn,
.tab-block .documentlist .inline a.btn {
    width: 200px;
}

.my-tariff-title {
    font-size: 24px;
    font-weight: 500;
}

.my-tariff-info {
    display: flex;
    font-size: 18px;
    font-weight: 500;
}

.my-tariff-item {
    margin-right: 20px;
}

.settings-tariff-list {
    display: flex;
    position: relative;
}

.settings-tariff {
    font-weight: inherit !important;
}

.settings-tariff > div {
    background-color: #fff;
}

.settings-tariff input[type=radio] {
    width: 1px;
    height: 1px;
    opacity: 0;
}

.settings-tariff-in {
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
    min-height: 100%;
    border: 3px solid #e8e8e8;
    border-radius: 7px;
    padding: 25px;
    cursor: pointer;
    position: relative;
}

.settings-tariff-in:hover {
    border-color: #007bff;
}

.settings-tariff-in.select {
    border-color: #007bff;
}

.settings-tariff-in.saved::before {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 64px 64px 0 0;
    border-color: #007bff transparent transparent transparent;
    position: absolute;
    left: 0;
    top: 0;
    content: '';
}

.settings-tariff-in.saved::after {
    color: #fff;
    position: absolute;
    left: 10px;
    top: 4px;
    text-shadow: 0 0 2px #007bff;
    font-size: 20px;
    content: '✓';
}

.settings-tariff-title {
    text-align: center;
    font-size: 26px;
    color: #565656;
}

.settings-tariff-price-month {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #565656;
}

.settings-tariff-price-year {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #565656;
}

.settings-tariff-trial {
    text-align: center;
    padding: 2px 20px;
    color: #007bff;
    font-weight: 600;
    border: 1px solid #e4e4e4;
    border-radius: 20px;
}

.settings-tariff-features > div {
    padding-bottom: 8px;
    font-weight: 500;
    color: #565656;
}

.settings-tariff-features > div > i {
    color: #007bff;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.my-location {
    font-size: 20px;
    font-weight: 500;
}

.requisite {
    position: relative;
}

.requisite .result,
.juri-data .result {
    position: absolute;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 6px 0;
    z-index: 3;
}

.requisite .result > div,
.juri-data .result > div {
    cursor: pointer;
    padding-left: 12px;
}

.requisite .result > span,
.juri-data .result > span {
    padding-left: 12px;
    font-weight: 600;
}

.requisite .result > div:hover,
.juri-data .result > div:hover {
    background-color: #efefef;
}

.requisite .btn.dropdown-toggle {
    border: 1px solid #ced4da;
    background-color: #fff;
    border-right: none;
    border-color .15s ease-in-out;
}

.requisite .btn.dropdown-toggle.focus {
    border-color: #80bdff;
}

.requisite .btn.dropdown-toggle::after {
    display: none;
}

.requisite .btn.dropdown-toggle svg {
    width: 22px;
    margin-top: -2px;
}

.requisite #rphone {
    border-left: none;
    padding-left: 0;
}

.requisite .dropdown-menu .dropdown-item .mask {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.requisite .dropdown-menu .dropdown-item .mask-flag {
    width: 23px;
}

.requisite .dropdown-menu .dropdown-item .mask-name {
    margin-left: 10px;
    font-size: 14px;
    font-weight: 500;
}

.requisite .dropdown-menu .dropdown-item .mask-code {
    margin-left: 10px;
    font-size: 12px;
    font-weight: 500;
    color: #7d7d7d;
}

label.btn {
    text-align: center;
}

label.btn input[type=radio],
label.btn input[type=checkbox] {
    opacity: 0;
    width: 0;
}

.program-label {
    display: block;
    width: 100%;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
}

.program-label input {
    opacity: 0;
}

.program-label:hover {
    background-color: #007bff !important;
    color: #fff;
}

.programlist a {
    font-weight: 700;
}

.user-action a {
    font-weight: 400;
}

.newSchoolList {
    width: 400px;
    border-radius: 4px;
}

.newSchoolList > div {
    background-color: #f4f6f9;
    border-radius: 4px;
    font-weight: 500;
}

.newSchoolList > div:hover {
    background-color: #007bff;
}

.newSchoolList > div:hover a {
    color: #fff;
}

.subblock {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin: 0 20px;
}

.subtitle {
    text-align: center;
    font-weight: 500;
}

.sub-search, .user-search {
    position: relative;
}

.sub-search-result,
.user-search-result {
    position: absolute;
    top: 38px;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 0 1px rgb(0 0 0 / 13%), 0 1px 3px rgb(0 0 0 / 20%);
    border-radius: 4px;
    z-index: 2;
}

.sub-search-result .result-item,
.user-search-result .result-item {
    padding: 7px 10px;
}

.sub-search-result .result-item:hover,
.user-search-result .result-item:hover {
    background-color: #f4f6f9;
}

.sub-search-result .result-item a,
.user-search-result .result-item a {
    display: block;
    font-weight: 500;
}

.status-bar {
    margin: 5px;
    padding: 5px 15px;
    cursor: pointer;
    border: 1px solid transparent;
    font-weight: 500;
}

.status-bar.new {
    border-color: #28a745;
}

.status-bar.inpro {
    border-color: #007bff;
}

.status-bar.subs {
    border-color: #ffc107;
}

.status-bar.missed {
    border-color: #dc3545;
}

.status-bar.new.selected,
.status-bar.new:hover {
    background-color: #28a745;
    color: #fff;
}

.status-bar.inpro.selected,
.status-bar.inpro:hover {
    background-color: #007bff;
    color: #fff;
}

.status-bar.subs.selected,
.status-bar.subs:hover {
    background-color: #ffc107;
}

.status-bar.missed.selected,
.status-bar.missed:hover {
    background-color: #dc3545;
    color: #fff;
}

.alert-title {
    font-size: 26px;
    font-weight: 500;
}

.alert-text {
    font-size: 20px;
    font-weight: 500;
}

.instructor-schedule-day {
    width: 160px;
    text-align: center;
}

.instructor-schedule-day-title {
    font-weight: 500;
}

.instructor-schedule-add-item i {
    text-align: center;
    cursor: pointer;
    color: #007bff;
}

.instructor-schedule-day-items .day-item {
    background-color: #fff;
    border: 1px solid #007bff;
    border-radius: 4px;
    padding: 5px 0;
    margin: 5px;
    position: relative;
    cursor: move;
}

.instructor-schedule-day-items .day-item .delete {
    position: absolute;
    right: 0;
    top: 0;
    color: #dc3545;
    cursor: pointer;
    font-size: 14px;
}

.client-header-photo {
    width: 120px;
    height: 120px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    margin: 0 auto;
}

.client-header-names {
    font-size: 26px;
    font-weight: 500;
}

.client-header-phone a:first-child {
    width: 150px;
}

.client-header-phone a,
.client-header-email a {
    font-weight: 500;
    color: #000;
}

.client-header-button {
    text-align: right;
}

.client-header-progress-select:after,
.add-exam-status:after,
.user-action:after,
.free-action:after {
    display: none;
}

.client-block,
.parent-block,
.instructor-block,
.personal-block {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 20px;
}

.client-block-title,
.parent-block-title {
    font-size: 20px;
    font-weight: 500;
}

.parent-info > div {
    width: 194px;
}

.parent-info-place > div {
    width: 122px;
}

.parent-info .parent-passport-series,
.parent-info .parent-passport-number {
    width: 87px;
}

.parent-info .parent-passport-office {
    width: 406px;
}

.pay-amount-info > div span {
    font-weight: 600;
}

.dogovor-number-info {
    font-style: italic;
    font-weight: 500;
    color: #6d6d6d;
}

.price-title,
.pays-history-title {
    font-size: 22px;
    font-weight: 500;
}

.price-total-info {
    font-weight: 500;
    color: #28a745;
}

.price-debt-info {
    font-weight: 500;
    color: #6d6d6d;
}

.pay-graph,
.pays-history-graph {
    font-size: 14px;
}

.pay-graph tr td {
    border: 1px solid #ced4da;
    line-height: 35px;
    padding-left: 2px;
}

.pay-graph tr td:first-child {
    border-left: none;
}

.pay-graph tr td:last-child {
    border-right: none;
}

.pay-graph span,
.pays-history-graph span {
    font-weight: 600;
}

.pays-history-graph tr {
    border: 1px solid #ced4da;
    line-height: 35px;
    border-left: none;
    border-right: none;
}

.pays-history-graph tr:first-child {
    border-top: none;
}

.image-preview-link {
    height: 170px;
    display: block;
    position: relative;
}

.image-preview-block {
    width: inherit;
    height: inherit;
    background-size: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 6px;
    transition: background-size 0.2s linear;
}

.image-preview-link .image-preview-title {
    position: absolute;
    bottom: 0;
    color: #fff;
    background-color: #007bff;
    width: 100%;
    padding: 3px 0;
    text-align: center;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.image-preview-link:hover .image-preview-block {
    background-size: 120%;
}

.image-preview-action {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    color: #fff;
    font-weight: 500;
    padding: 3px 7px;
    display: none;
}

.image-preview-link:hover .image-preview-action {
    display: flex;
}

.image-preview-action label:not(.form-check-label):not(.custom-file-label) {
    margin-bottom: 0;
    font-weight: 500;
    cursor: pointer;
}

.image-preview-action .image-delete {
    padding-top: 3px;
}

.image-preview-link .loader {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
}

.btn-brown {
    color: #fff;
    background-color: #964b00;
    border-color: #964b00;
    box-shadow: none;
}

.btn-brown:hover {
    color: #fff;
    background-color: #884501;
    border-color: #4c2701;
}

.payment-close {
    cursor: pointer;
    color: #007bff;
}

.info-box-group {
    margin-left: 7px;
    margin-right: 7px;
    display: flex;
}

.info-icon-group {
    width: 16px;
    height: 16px;
    margin-top: 12px;
    border-radius: .25rem;
}

.info-text-group {
    margin-left: 6px;
    margin-top: 7px;
    white-space: nowrap;
}

.grouplist .info-box {
//width: 320px;
    min-height: 50px;
    margin-bottom: 6px;
    box-shadow: none;
    text-align: left;
}

.grouplist .table thead th {
    border-bottom: 0;
    min-width: 320px;
}

.theory-group-clientlist .table td,
.theory-group-clientlist .table th {
    vertical-align: middle;
}

.theory-group-clientlist .custom-checkbox label {
    cursor: pointer;
}

.info-box-schedule {
    margin: 7px;
    display: flex;
}

.info-icon-schedule {
    width: 24px;
    height: 24px;
    margin-top: 7px;
    border-radius: .25rem;
}

.info-icon-schedule.bg-default {
    border: 1px solid #b1b1b1;
    background-color: #fff;
}

.info-text-schedule {
    margin-left: 6px;
    margin-top: 7px;
    white-space: nowrap;
}

.schedule-day {
    width: 100%;
    border: 4px solid transparent;
    border-radius: 6px;
}

.schedule-day:not(.border-custom-current-day) {
    border-left-width: 0;
    border-right-width: 0;
}

.schedule-day .btn-group {
    display: block;
}

.schedule-day-header {
    padding: 2px 1px;
    font-size: 15px;
}

.schedule-day-time {
    min-height: 50px;
    cursor: pointer;
    padding: 10px 5px;
    border: 1px solid #dee2e6;
    margin: 2px 1px;
    border-radius: 4px;
}

.schedule-day-time:hover {
    color: #000;
}

.schedule-day-time-period {
    font-weight: 500;
}

.schedule-day-time-status {
    margin-top: 5px;
    font-size: 15px;
}

.schedule-day-time .dropdown-menu {
    width: 250px;
}

.search-clients-schedule {
    margin-bottom: 8px;
}

.search-clients-schedule input {
    margin: 0 8px 8px;
    width: 232px;
}

.payment-form-step-2 iframe {
    min-height: 376px;
    height: 100%;
}

#info .blockText, #pay .blockText {
    font-weight: 500;
    font-size: 24px;
}

#pay .block-info span {
    font-weight: 500;
}

.btn-cancel {
    cursor: pointer;
}

.client-new-contract-progress {
    display: flex;
    justify-content: space-between;
}

.client-new-contract-progress .contract-progress-item {
    width: 10%;
}

.client-new-contract-progress .contract-progress-item .progress-circle {
    display: flex;
    position: relative;
}

.client-new-contract-progress .contract-progress-item .progress-circle div {
    width: 30px;
    height: 30px;
    border: 2px solid #007bff;
    border-radius: 50%;
    margin: auto;
}

.client-new-contract-progress .contract-progress-item .progress-title {
    font-size: 14px;
    text-align: center;
    padding: 5px 10px;
}

.client-new-contract-progress .contract-progress-item.complete .progress-circle div {
    background-color: #007bff;
}

.client-new-contract-progress .contract-progress-item.complete .progress-title {
    font-weight: 600;
    cursor: pointer;
}

.client-new-contract-progress .contract-progress-item .progress-circle:before,
.client-new-contract-progress .contract-progress-item .progress-circle:after {
    content: "";
    width: calc(100% - 26px);
    position: absolute;
    left: calc(50% + 13px);

}

.client-new-contract-progress .contract-progress-item:not(:last-child) .progress-circle:after {
    height: 6px;
    top: calc(50% - 3px);
    background-color: #f4f6f9;
    border: 2px solid #007bff;
    border-left: none;
    border-right: none;
    z-index: 1;
}

.client-new-contract-progress .contract-progress-item.complete:not(:last-child) .progress-circle:after {
    background-color: #007bff;
}

.client-new-contract-progress .contract-progress-item.complete.progress-active .progress-circle div {
    background-color: #28a745;
    border-color: #28a745;
    z-index: 2;
}

.client-new-contract-progress .contract-progress-item.complete.progress-active .progress-title {
    color: #28a745;
}

.client-new-contract-title {
    font-size: 24px;
    font-weight: 500;
}

.client-new-contract-data .centres .btn-default:hover {
    background-color: #007bff;
    color: #fff;
}

.client-new-contract-data .groups div label {
    font-weight: inherit;
}

.client-new-contract-data .groups div label input {
    width: 0;
}

.client-new-contract-data .groups .info-box {
    min-height: 50px;
    margin-bottom: 6px;
    box-shadow: none;
    text-align: left;
    cursor: pointer;
}

.clientlist {
    padding: 15px 0;
}

.clientpage {
    display: flex;
}

.clientpage .list {
    width: 100%;
}

.clientpage .list > .d-flex {
    max-width: 534px;
    width: 100%;
}

.clientpage .list .client-item {
    display: flex;
    justify-content: space-between;
    width: calc(100% - 34px);
    border: 1px solid #007bff;
    border-radius: 6px;
    padding: 10px;
    margin: 10px 0;
    cursor: pointer;
}

.clientpage .list a {
    margin: 10px;
}

.clientpage .list .client-item:hover,
.clientpage .list .client-item.selected {
    color: #fff;
    background-color: #007bff;
}

.clientpage .list:nth-child(even) > div {
    margin-left: 9px;
}

.reggrouplist a {
    display: block;
    max-width: 400px;
    width: 100%;
    border: 1px solid #007bff;
    border-radius: 6px;
    padding: 10px;
    margin: 10px 0;
    cursor: pointer;
    color: #000;
}

.reggrouplist a:hover {
    color: #fff;
    background-color: #007bff;
}

@-webkit-keyframes moveBall {
    0% {
        left: 0
    }
    to {
        left: 100%
    }
}

@keyframes moveBall {
    0% {
        left: 0
    }
    to {
        left: 100%
    }
}

@-webkit-keyframes moveFiller {
    0% {
        width: 0
    }
    to {
        width: 100%
    }
}

@keyframes moveFiller {
    0% {
        width: 0
    }
    to {
        width: 100%
    }
}

@-webkit-keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(5, 69, 78, 0.7);
        background-color: #05454e
    }
    30% {
        box-shadow: 0 0 0 10px rgba(241, 30, 32, 0);
        background-color: #05454e
    }
    to {
        box-shadow: 0 0 0 0 rgba(241, 30, 32, 0);
        background-color: #05454e
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(5, 69, 78, 0.7);
        background-color: #05454e
    }
    30% {
        box-shadow: 0 0 0 10px rgba(241, 30, 32, 0);
        background-color: #05454e
    }
    to {
        box-shadow: 0 0 0 0 rgba(241, 30, 32, 0);
        background-color: #05454e
    }
}

.status-bar__new {
    display: flex;
    margin-bottom: 60px;
}

.status-bar__status {
    position: relative;
    display: flex;
    flex-grow: 1;
    flex-basis: 0;
    justify-content: center;
    align-items: center
}

.status-bar__status--current .status-bar__point,
.status-bar__status--done .status-bar__point {
    background-color: #05454e;
    padding: 6px;
    z-index: 3;
}

.status-bar__status--current .status-bar__point {
    animation: pulse 2s infinite;
    animation-delay: 2s
}

.status-bar__status--done .status-bar__point:after {
    content: url('/assets/img/check.svg');
    position: relative;
    top: -4px
}

.status-bar__status--current .status-bar__point:after {
    content: url('/assets/img/ring.svg');
    position: relative;
    top: -4px
}

.status-bar__status--done .status-bar__line {
    background-color: #05454e
}

.status-bar__status--done .status-bar__line:after {
    display: none;
}

.status-bar__point {
    width: 30px;
    height: 30px;
    padding: 3px;
    border-radius: 50%;
    background: #f4f6f9;
    border: 2px solid #05454e;
    z-index: 1;
}

.status-bar__point_wrapper {
    display: flex;
    width: 100%;
    justify-content: center
}

.status-bar__line {
    display: flex;
    align-items: center;
    position: absolute;
    top: calc(50% - 3px);
    left: calc(50% + 13px);
    width: calc(100% - 26px);
    background-color: #f4f6f9;
    border: 2px solid #05454e;
    border-left: 0;
    border-right: 0;
    height: 6px;
    z-index: 2;
}

.status-bar__line-ball {
    width: 10px;
    height: 10px;
    background-color: #05454e;
    position: relative;
    transform: translateX(-50%);
    border-radius: 50%;
    animation: moveBall 1s cubic-bezier(.55, .055, .675, .19);
    animation-iteration-count: 1;
    z-index: 2;
}

.status-bar__line-filler {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: #05454e;
    animation: moveFiller 1s cubic-bezier(.55, .055, .675, .19);
    animation-iteration-count: 1;
    z-index: 2;
}

.status-bar__label {
    position: absolute;
    font-size: 14px;
    text-align: center;
    padding: 5px 10px;
    top: 32px;
}

.status-bar__status--done .status-bar__label {
    font-weight: 600;
    cursor: pointer;
}

.form-control.is-valid:not(.amount):not(.practices):not(.amount-app):not(.practices-app),
.was-validated .form-control:valid {
    border-color: #ced4da;
    background-image: none;
    padding-right: inherit;
}

.phis-title,
.juri-title,
.moth-title {
    font-size: 20px;
    font-weight: 500;
}

.form-control.is-wrong {
    border-color: #dc3545;
    padding-right: 2.25rem;
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e);
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.wrong-phone {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}

.is-wrong~.wrong-phone {
    display: block;
}

.client-new-contract-tariff-list {
    display: flex;
}

.client-new-contract-step .discount-block {
    min-height: 70px;
    height: 100%;
}

.client-new-contract-step .discount-manual {
    display: none;
}

.client-new-contract-step .select.saved .discount-manual {
    display: block;
}

.client-new-contract-step .paytypes .contract-amount {
    font-size: 24px;
}

/*.client-new-contract-data .pdf embed {
    width: 100%;
    min-height: 1212px;
    height: 100%;
}*/

.client-currentlist .progress-column {
    min-width: 400px;
    width: 100%;
}

.client-currentlist .progress-column .progress-title {
    font-size: 16px;
    padding: 10px;
    font-weight: 700;
    text-align: center;
    border-right: 1px solid rgba(0, 0, 0, .125);
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.client-currentlist .progress-column:last-child .progress-title {
    border-right: none;
}

.current-page-clients {
    height: calc(100vh - 178px) !important;
}

.current-page-clients .current-page-client,
.subscriber-item {
    margin: 5px;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 4px;
}

.current-page-clients .current-page-client:hover,
.subscriber-item:hover {
    background-color: #007bff;
}

.current-page-clients .current-page-client a,
.subscriber-item a {
    width: 100%;
    display: block;
    padding: 5px 10px;
}

.current-page-clients .current-page-client:hover a,
.current-page-clients .current-page-client:hover a .text-green,
.current-page-clients .current-page-client:hover a .text-custom-red,
.current-page-clients .current-page-client:hover a .text-gray,
.subscriber-item:hover a {
    color: #fff !important;
}

.new-subscriber-list-header {
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.client-header-progress-select .dropdown-menu {
    z-index: 1050;
}

.new-coupon-list-header {
    font-weight: 500;
}

.instructor-photo img {
    max-width: 100%;
}

.notification {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #F1F1F1;
}

.notification-title {
    cursor: pointer;
}

.notification-hide {
    display: none;
    margin: 10px;
}

.potential-table .header .border-bottom {
    border-bottom-width: 2px!important;
}

.scrolled-blocks > div {
    height: calc(100vh - 230px);
    overflow-y: auto;
}

.scrolled-blocks.scrolled-blocks-alert > div {
    height: calc(100vh - 330px);
    overflow-y: auto;
}

.scrolled-blocks > div::-webkit-scrollbar {
    background-color: transparent;
    width: 6px;
}

.scrolled-blocks > div::-webkit-scrollbar-track {
    background-color: transparent;
}

.scrolled-blocks > div::-webkit-scrollbar-thumb {
    background-color: #babac0;
    border-radius: 4px;
    border: 1px solid #fff;
}

.scrolled-blocks > div::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
}

.scrolled-blocks > div::-webkit-scrollbar-button {
    display: none;
}

.potential-table a {
    border-radius: 6px;
}

option:disabled {
    background-color: #e9ecef;
}

.modal button.close {
    outline: none;
}

.card-header[data-card-widget="collapse"] {
    cursor: pointer;
}

.alert:last-child {
    margin-bottom: 0;
}

.comments-block > div {
    height: calc(100vh - 464px) !important;
}

.col-fix {

}

.loader {
    width: 40px;
    height: 40px;
    margin: 10px auto 0;
}

.loader .circle {
    position: absolute;
    width: 38px;
    height: 38px;
    opacity: 0;
    transform: rotate(225deg);
    animation-iteration-count: infinite;
    animation-name: orbit;
    animation-duration: 5.5s;
}

.loader .circle:after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 5px;
    background: #000;
}

.loader .circle:nth-child(2) {
    animation-delay: 240ms;
}

.loader .circle:nth-child(3) {
    animation-delay: 480ms;
}

.loader .circle:nth-child(4) {
    animation-delay: 720ms;
}

.loader .circle:nth-child(5) {
    animation-delay: 960ms;
}

@keyframes orbit {
    0% {
        transform: rotate(225deg);
        opacity: 1;
        animation-timing-function: ease-out;
    }
    7% {
        transform: rotate(345deg);
        animation-timing-function: linear;
    }
    30% {
        transform: rotate(455deg);
        animation-timing-function: ease-in-out;
    }
    39% {
        transform: rotate(690deg);
        animation-timing-function: linear;
    }
    70% {
        transform: rotate(815deg);
        opacity: 1;
        animation-timing-function: ease-out;
    }
    75% {
        transform: rotate(945deg);
        animation-timing-function: ease-out;
    }
    76% {
        transform: rotate(945deg);
        opacity: 0;
    }
    100% {
        transform: rotate(945deg);
        opacity: 0;
    }
}

@media (max-width: 991.98px) {
    body:not(.sidebar-mini-md) .content-wrapper,
    body:not(.sidebar-mini-md) .content-wrapper::before,
    body:not(.sidebar-mini-md) .main-footer,
    body:not(.sidebar-mini-md) .main-footer::before,
    body:not(.sidebar-mini-md) .main-header,
    body:not(.sidebar-mini-md) .main-header::before {
        margin-left: 0;
    }
    .sidebar-collapse .main-sidebar,
    .sidebar-collapse .main-sidebar::before {
        margin-left: -280px;
    }
}

.checkbox-custom {
    display: inline-block;
    height: 20px;
    line-height: 20px;
    margin-right: 10px;
    position: relative;
    vertical-align: middle;
    font-size: 14px;
    user-select: none;
}

.checkbox-custom .checkbox-custom-switch {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    width: 40px;
    height: 20px;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 25%/50%;
    vertical-align: top;
    background: #eee;
    transition: .2s;
}

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

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

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

.checkbox-custom input[type=checkbox]:checked + .checkbox-custom-switch {
    background: limegreen;
}

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

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

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

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

.checkbox-custom.focused .checkbox-custom-switch:before {
    box-shadow: inset 0px 0px 4px #ff5623;
}

.svg-vk {
    margin-top: 15px;
    width: 136px;
    height: 24px;
}

@media (max-width: 766px) {
    .client-header-photo {
        width: 80px;
        height: 80px;
    }

    .client-header-info {
        font-size: 14px;
    }

    .client-header-names {
        font-size: 16px;
    }

    .client-header-button {
        text-align: left;
        margin-top: 20px;
    }

    .client-header-button-tt small {
        width: 100%;
    }

    .profile-categories a {
        font-size: 12px;
    }

    .schedule-counters {
        font-size: 14px;
        justify-content: space-between;
        width: 100%;
    }

    .page-client-search {
        width: 100%;
    }

    .payment-buttons button {
        width: 100%;
    }

    .svg-vk {
        width: 24px;
    }

    .scrolled-blocks > div, .scrolled-blocks.scrolled-blocks-alert > div {
        height: auto;
    }

    .main-comments, .medical .manager {
        font-size: 14px
    }

    .main-comments button, .medical .btn {
        font-size: 13px;
        padding: 4px 7px;
    }

    .client-search-result {
        left: auto;
        width: calc(100vw - 110px);
        right: -30px;
        max-height: 300px;
    }

    .price-title, .pays-history-title {
        font-size: 18px;
    }

    .price-total-info, .price-debt-info {
        font-size: 14px;
    }

    .client-action > div, .client-documents > div {
        max-height: 300px;
        overflow-y: auto;
    }

    .daterangepicker.ltr.show-calendar.opensright {
        top: 60px !important;
        right: 18px !important;
        width: 340px !important;
    }

    .daterangepicker .drp-calendar {
        max-width: 340px !important;
    }

    .daterangepicker.opensright:before, .daterangepicker.opensright:after {
        display: none !important;
    }

    #payment-modal .form-group, #other-modal .form-group {
        display: block;
        margin-bottom: 8px;
    }

    #payment-modal .form-group > *, #other-modal .form-group > * {
        max-width: 100%;
        margin-left: auto;
    }

    .tabs .tabs-header .tab-item[data-tabs="notification"] {
        padding: 5px 10px;
    }

    .notification-block {
        font-size: 12px;
    }

    .notification-block .btn {
        font-size: 12px;
        padding: 4px 7px;
    }

    .notification-hide {
        margin: 10px 0;
    }

    .avatar img {
        width: 100px;
        height: 100px;
    }
}

.directions label {
    width: 32px;
    margin-bottom: 0;
}

.sys-input {
    display: none;
}

.result .sys-input {
    display: block;
}

.conversion td span {
    cursor: pointer;
}

.question-themes .card .card-body .card.card-primary.card-outline:hover, .video-themes .card .card-body .card.card-primary.card-outline:hover, .categories .card:hover {
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
}

.documents > .document:last-child {
    margin-bottom: 0!important;
}

.table-groups {
    margin-top: 10px;
}

.table-rows > * {
    margin-bottom: 5px;
}

.row-title {
    min-width: 400px;
    width: 100%;
    max-width: 400px;
    margin-right: 10px;
}

.row-input {
    min-width: 130px;
    width: 100%;
    max-width: 130px;
    margin-right: 10px;
}

.custom-top-10 .custom-control-label::before, .custom-top-10 .custom-control-label::after {
    top: 10px;
}

.tooltip-inner.tariff {
    text-align: left !important;
    max-width: 400px !important;
}

.questions > div:hover {
    background-color: #eee!important;
}

.image_resized {
    height: auto!important;
}

.instruction-tooltip {
    position: relative;
}

.instruction-tooltip .instruction-tooltip-block {
    visibility: hidden;
    background-color: rgba(52, 58, 64, 0.9);
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 30px;
    position: absolute;
    z-index: 1;
    width: 320px;
}

.instruction-tooltip .instruction-tooltip-block::after {
    content: " ";
    position: absolute;
    bottom: 100%;
    left: 20%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent rgba(52, 58, 64, 0.9) transparent;
}

.instruction-tooltip .instruction-tooltip-block button {
    background-color: #DEF7E5;
    border-radius: 100px;
    box-shadow: none;
    outline: none;
    border: none;
    padding: 5px 30px;
}

.ck-content .image > figcaption {
    background-color: #fff !important;
}

.btn-custom-documents, .btn-custom-documents:hover {
    background-color: #7b5739;
    border-color: #7b5739;
    color: #fff;
}
.btn-custom-action, .btn-custom-action:hover, .btn-custom-action:not(:disabled):not(.disabled).active, .btn-custom-action:not(:disabled):not(.disabled):active, .show>.btn-custom-action.dropdown-toggle, .btn-custom-action.disabled, .btn-custom-action:disabled, .btn-custom-action.focus, .btn-custom-action:focus, .btn-outline-custom-action.active {
    background-color: #00935d;
    border-color: #00935d;
    color: #fff;
}

.btn-outline-custom-action {
    border: 1px solid #00935d;
    color: #00935d;
}
.btn-outline-custom-action:hover {
    border: 1px solid #00935d;
    background-color: #00935d;
    color: #fff;
}


.btn-custom-red, .btn-custom-red:hover, .bg-custom-red, .bg-custom-red:hover {
    background-color: #cf2b54;
    color: #fff;
}
.btn-custom-photo, .btn-custom-photo:hover, .btn-custom-category, .btn-custom-category:hover {
    background-color: #406c70;
    color: #fff;
}
.bg-custom-info > .card-header {
    background-color: #00899f;
    color: #fff;
}
.bg-custom-yellow, .bg-custom-yellow:hover, .btn-custom-yellow, .btn-custom-yellow:hover {
    background-color: #e8c22c;
    color: #000;
}
.bg-custom-gray, .bg-custom-gray:hover {
    background-color: #e1e6ef;
    color: #000;
}
.bg-custom-current-day {
    background-color: #05454e;
    color: #fff;
}
.bg-custom-inner-card .card-header {
    background-color: #406c70;
    color: #fff;
}
.border-custom-current-day {
    border-color: #05454e !important;
}
.border-custom-category {
    border-color: #406c70 !important;
}
.text-custom-red {
    color: #cf2b54;
}
.text-custom-info {
    color: #00899f;
}
.text-custom-green {
    color: #00935d;
}
.text-custom-brown {
    color: #7b5739;
}
.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active, .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #548f95;
}
.bg-custom-green {
    background-color: #00935d;
    color: #fff;
}
.dropdown-item.active, .dropdown-item:active {
    background-color: #00899f;
}
.custom-control-input:checked~.custom-control-label::before {
    background-color: #17a2b8;
    border-color: #17a2b8;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #17a2b8;
    border-color: #17a2b8;
}
.card-info:not(.card-outline)>.card-header {
    background-color: #548f95;
}
.pricing-block {
    margin-bottom: 0;
    -webkit-box-shadow: 0px 4px 30px rgba(95, 94, 231, 0.07);
    box-shadow: 0px 4px 30px rgba(95, 94, 231, 0.07);
    border-radius: 20px;
}
.pricing-block .pricing-header {
    position: relative;
    height: 170px;
}
.pricing-block .pricing-header:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0% 50% 0% 50%;
    background-color: rgba(92, 97, 242, 0.05);
}
.pricing-block .pricing-header h2 {
    color: #17a2b8;
    font-weight: 600;
    font-size: 30px;
    text-transform: uppercase;
    margin: 50px 30px 0;
}
.pricing-block .price-box {
    background-color: #17a2b8;
    border-radius: 30px;
    padding: 5px 15px;
    max-width: 150px;
    margin: 20px auto;
}
.pricing-block .price-box h3 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1;
    font-size: 24px;
}
.pricing-block .price-box p {
    color: #fff;
    text-transform: capitalize;
    line-height: 1;
    font-weight: 600;
}
.pricing-block .pricing-list {
    margin-top: 30px;
    margin-bottom: 30px;

    overflow-y: auto;
    max-height: 200px;
    min-height: 200px;

    padding-left: 20px;
    padding-right: 20px;
}
.pricing-block .discount-block {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 20px;
}
.pricing-block .pricing-list ul {
    padding: 0;
    list-style-type: none;
}
.pricing-block .pricing-list .pricing-inner {
    margin-bottom: 30px;
}
.settings-tariff > div {
    background-color: transparent;
    border: 5px solid transparent;
    border-radius: 20px;
}
.saved > div {
    border-color: #17a2b8;
}
.table-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 24px;
}
.table td, .table th {
    padding: 10px;
}
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[aria-selected]:hover {
    background-color: #17a2b8;
}
.balance {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(8, 21, 66, 0.05);
    padding: 30px;
    letter-spacing: 0.5px;
    overflow: hidden;
    position: relative;
}

.balance-buttons .col {
    z-index: 2;
}
.balance-buttons .col h6 {
    width: max-content;
    margin: auto;

}

.balance-buttons .col:not(:first-child) {
    border-left: 1px solid rgb(238, 238, 238);
}

.balance-icon {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background-color: #5c61f2;
    color: #fff;
    border-radius: 50%;
}

.balance-icon.color1 {
    background-color: #00935d;
}

.balance-icon.color2 {
    background-color: #00899f;
}

.balance-icon.color3 {
    background-color: #7b5739;
}

.balance-icon i.fa-solid {
    font-size: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.balance-icon .shap-block .rounded-shap i {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    opacity: 0.3;
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
    -webkit-animation: ripple1 3s linear infinite;
    animation: ripple1 3s linear infinite;
    position: absolute;
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
    right: 0;
}

.balance-icon.color1 .shap-block .rounded-shap i {
    background-color: rgba(4, 144, 98, 0.4);
}

.balance-icon.color2 .shap-block .rounded-shap i {
    background-color: rgba(1, 136, 158, 0.4);
}

.balance-icon.color3 .shap-block .rounded-shap i {
    background-color: rgba(116, 89, 95, 0.4);
}

.balance-icon .shap-block .rounded-shap i:nth-child(2) {
    -webkit-animation: ripple2 3s linear infinite;
    animation: ripple2 3s linear infinite;
}

@keyframes ripple1 {
    0% {
        transform: scale(5.5);
        opacity: 0.3;
    }
    100% {
        transform: scale(8.5);
        opacity: 0;
    }
}
@keyframes ripple2 {
    0% {
        transform: scale(3.5);
    }
    100% {
        transform: scale(5.5);
    }
}
@keyframes ripple3 {
    0% {
        transform: scale(1.5);
    }
    100% {
        transform: scale(2.5);
    }
}

.custom-switch.custom-switch-on-success .custom-control-input:checked~.custom-control-label::before {
    background: #00935d;
    border-color: #00935d;
}

.custom-switch.custom-switch-on-success .custom-control-input:checked~.custom-control-label::after {
    background: #fff;
}

@media (max-width: 766px) {
    h3 {
        font-size: 20px;
    }

    .balance {
        padding: 20px 30px;
    }

    .table-card {
        padding: 16px;
    }
}
