[data-layout="vertical"] .page-content {
    padding: calc(50px + 1.5rem) 0 60px 0!important;
}
.title-bar {
    margin: -1.5rem 0 0 ;
    padding: .5rem 2rem;
    background-color: #101756;
    display: flex;
}
.title-bar .title-bar-title {
    margin: 0 52px 0 0;
    padding: 0.25rem 0;
    font-size: 1rem;
    color: #fff;
}
.title-bar .buttons {
    flex: auto;
}
.title-bar .buttons .btn:not(:last-child) {
    margin-right: .25rem;
}
.account-create {
    margin-top: 5px;
    border: none;
    border-radius: 3px;
    color: #fff;
    background-color: #95C0E9;
    font-size: 0.765625rem;
    padding: 0.25rem 0.5rem 0.25rem 0.5rem;
    border-radius: 0.2rem;
}
.account-delete {
    border: none;
    border-radius: 3px;
    color: #fff;
    background-color: #f78383;
    font-size: 0.765625rem;
    padding: 0.25rem 0.5rem 0.25rem 0.5rem;
    border-radius: 0.2rem;
}
.account-create:hover, .account-delete:hover {
    opacity: 0.7 !important;
}
.btn.btn-success2:hover, .btn.btn-success2:focus {
    color: #fff !important;
    background-color: #37961f !important;
}
.page-description {
    background-color: #fff;
    padding: 30px 60px;
}
.text-check {
    font-weight: bold;
    color: #ff0202;
    margin-bottom: 0;
}
#company-registration-form,
#company-register-confirm-form,
#company-update-confirm-form {
    font-size: 12px !important;
    padding-top: 10px;
    padding-left: 30px;
    padding-right: 10px;
    .card-header {
        background-color: #4B6CB7;
        padding: 5px 20px;
        h6 {
            color: #ffffff;
            margin-bottom: 0;
            font-size: 14px;
        }
        label {
            color: #ffffff;
        }
    }
    .card-header.inner-header {
        background-color: #F1F1FF;
        border-top: 1px solid #C5CEEF;
        border-bottom: 1px solid #C5CEEF;
        h6 {
            color: #000;
        }
        .notice {
            margin-left: 1em;
            color: #3050C3;
            font-size: 10px;
        }
    }
    .card-body {
        border: 1px solid #848282;
        border-top: none;
        background-color: #ffffff;
        .inner-group {
            .form-label {
                font-weight: bold;
            }
        }
    }
    .company-attributes {
        .card-body {
            dl {
                margin: -5px 0;
                padding: 0;
                .hstack {
                    margin: 10px 0;
                    dt {
                        min-width: 80px;
                    }
                    dd {
                        margin-bottom: 0;
                    }
                }
            }
            dl:has(~hr) {
                .hstack {
                    dt {
                        min-width: 115px;
                    }
                    dd {
                        min-width: 100px;
                    }
                }
            }
        }
    }
    .right-pane {
        .company-attributes {
            .card-body {
                dl {
                    .hstack {
                        dt {
                            min-width: 140px;
                        }
                        dd.date-value {
                            min-width: 100px;
                        }
                    }
                }
            }
        }
    }
}
#company-registration-form .form-label {
    font-size: 12px !important;
}
#company-registration-form .form-label:nth-child(1) {
    margin-bottom: 0;
}
#company-registration-form .modal-form .form-label:nth-child(1) {
    min-width: 108px;
    margin-bottom: 0;
}
.modal-form .card-body {
    background-color: #f3f3f7 !important;
}
#company-registration-form #registered-contacts .form-label:nth-child(1),
#company-registration-form #registered-phones .form-label:nth-child(1) {
    min-width: 60px;
}
#company-registration-form .col-auto:not(:first-child) .form-label:nth-child(1) {
    min-width: 3em;
    padding-left: 0.5em;
    margin-bottom: 0;
}
#company-registration-form .table td .form-label {
    min-width: 3em !important;
}
#company-registration-form .table td .required .form-label:after {
    display: none;
}
#company-registration-form .right-pane .form-label:nth-child(1) {
    min-width: inherit;
    margin-bottom: 0;
    margin-right: 1em;
}
#company-registration-form .right-pane .hstack .form-group:nth-child(2) .form-label {
    margin: 0 0.3em;
}
#company-registration-form .right-pane .items-wrapper .form-label {
    margin-left: 0;
}
#company-registration-form .form-text.text-muted {
    color: #777777 !important;
}
.required > .form-label:after,
.form-label.required:after {
    content: '※';
    color: #ff0202;
    font-weight: bold;
    display: inline-block;
    padding-left: 1em;
}
#company-registration-form .card-header .state-text,
.card-header .system-in-use {
    margin-left: 3em;
    padding: .2em .8em;
    background-color: #ffffff;
    color: #13A718;
}
#system-administrator-registration-card .hstack .required label:after {
    display: none;
}
#system-administrator-registration-card .card-body .form-label:nth-child(1) {
    min-width: 135px;
}
#system-administrator-registration-card .card-body .hstack .form-group .form-label {
    min-width: 2em;
}
.width-default {
    width: 10em !important;
}
.input-group.width-default {
    width: 10em !important;
}
.width-default-plus,
.form-select.width-default {
    width: 15em !important;
}
#registered-contacts .width-default-plus {
    width: 20em !important;
}
#registered-contacts .form-select.width-default {
    width: 10em !important;
}
#registered-phones .form-select.width-default {
    width: 8.5em !important;
}
.width-half-wide {
    width: 25em !important;
}
.width-semi-wide {
    width: 30em !important;
}
.width-wide {
    width: 50em !important;
}
.gap-2.row-gap-0 {
    row-gap: 0 !important;
}
.flex-break {
    flex-basis: 100%;
    height: 0;
}
.table tr th .form-label {
    margin-bottom: 0;
}
#company-registration-form .table tr th,
#company-register-confirm-form .table tr th,
#company-update-confirm-form .table tr th {
    background-color: #8a8888;
    color: #fff;
    border-color: #fff;
    width: 180px;
}
.view-footer {
    background-color: #cdece3;
    padding: 20px 0 20px 50px;
}
#company-registration-form .form-footer,
#company-register-confirm-form .form-footer,
#company-update-confirm-form .form-footer {
    background-color: #cdece3;
    padding: 20px 0 20px 50px;
    margin-left: -50px;
    margin-right: -10px;
}
#company-registration-form .form-footer .btn,
#company-register-confirm-form .form-footer .btn,
#company-update-confirm-form .form-footer .btn {
    min-width: 100px;
    text-align: center;
}
.btn-submit-next {
    --vz-btn-color: #fff !important;
    --vz-btn-bg: #ee8830 !important;
    --vz-btn-border-color: #e1802d !important;
    --vz-btn-hover-color: #fff;
    --vz-btn-hover-bg: #f39645;
    --vz-btn-hover-border-color: #e38c40;
    --vz-btn-focus-shadow-rgb: 90,140,231;
    --vz-btn-active-color: #fff;
    --vz-btn-active-bg: #f39645;
    --vz-btn-active-border-color: #e38c40;
    --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --vz-btn-disabled-color: #fff;
    --vz-btn-disabled-bg: #ef984c;
    --vz-btn-disabled-border-color: #e59e61;
}
.right-pane {
    padding-left: 20px !important;
}
.right-pane .text-muted {
    display: inline-block;
}
.right-pane .items-wrapper {
    background-color: #fff;
    padding: 10px 10px 10px 20px;
    border: 1px solid #3050C3;
    border-radius: 4px;
}
.right-pane .items-wrapper.is-invalid {
    border: 1px solid #dd0000;
}
.is-invalid+.invalid-feedback:empty {
    width: 0
}
[data-sidebar-size="sm"] .right-pane .items-wrapper {
    padding-left: 30px;
}
.right-pane .contract-row .required .form-label:after {
    display: none;
}
#company-registration-form .right-pane .items-wrapper .hstack .form-label {
    margin-right: 0;
}

.dl-horizontal {
    background-color: #fff;
    padding: 20px;
}
.dl-horizontal .hstack {
    align-items: center;
    margin: 7px 0;
}
.dl-horizontal .hstack.bottom-bordered {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #c2c2c9;
}
.dl-horizontal .hstack dt {
    width: 140px;
    line-height: 1.8em;
}
.right-pane .dl-horizontal .hstack dt {
    width: 100px;
}
.dl-horizontal .hstack dd {
    font-weight: bold;
    line-height: 1.8em;
    margin-bottom: 0;
}
#registration-complete {
    padding: 20px 100px 100px;
}
#registration-complete .dl-horizontal {
    background-color: transparent;
    padding: 20px 0 40px;
}
#registration-complete .dl-horizontal .hstack {
    margin: 25px 0
}
.complete-message {
    color: #3050C3;
}
#registration-complete+.form-footer {
    background-color: #CBECE2;
    padding: 20px 0 20px 100px;
}
.grid-view {
    max-height: calc(100vh - 115px);
}
.grid-view .table-wrapper {
    max-height: calc(100vh - 175px);
}
.table-wrapper>.table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}
.table-wrapper>.table>:not(caption)>*>* {
    padding: .4rem .6rem;
    vertical-align: middle;
}

.icon-map {
    display: inline-block;
    background: url(/images/svg/icon-map.svg) no-repeat center center;
    background-size: contain;
    width: 18px;
    height: 18px;
    border: none;
    margin-left: 10px;
}
.related-company-info {
    font-size: 12px;
    .table {
        tr {
            background-color: #fff;
        }
        th,td {
            border: 1px solid #848282;
            padding: .25rem .75rem
        }
        th {
            background-color: #F1F1FF;
        }
        td:has(.btn-edit) {
            vertical-align: middle;
            text-align: center;
            .btn-edit {
                font-size: 12px;
                color: #000;
                background-color: #c9c9c9;
                padding: .125rem .5rem;
            }
        }
        .col-link {
            width: 12%;
        }
        .col-title {
            width: 18%;
        }
        .col-phone {
            width:26%;
        }
    }
    .chheck {
        background-color: #f3f3f7;
    }
}
.right-pane textarea.form-control {
    min-height: 145px;
    font-size: 12px;
}
#registered-phones .btn-group-sm>.btn, #registered-phones .btn-group-sm>.btn.btn-sm,
#registered-contacts .btn-group-sm>.btn, #registered-contacts .btn-group-sm>.btn-sm {
    --vz-btn-padding-y: 0.15rem !important;
    --vz-btn-padding-x: 0.4rem !important;
    --vz-btn-font-size: 0.765625rem;
    --vz-btn-border-radius: 0.2rem;
    margin-bottom: .5rem;
}
#persons-grid-wrapper {
    background-color: #fff;
    overflow: auto;
}
#persons-grid-wrapper .grid-view .table tr>*:nth-child(1) {
    width: 210px;
}
#persons-grid-wrapper .grid-view .table tr>*:nth-child(2) {

}
#persons-grid-wrapper .grid-view .table tr>*:nth-child(3) {
    width: 120px;
}
#persons-grid-wrapper .grid-view .table tr>*:nth-child(4) {

}
#persons-grid-wrapper .grid-view .table tr>*:nth-child(5) {

}
#persons-grid-wrapper .grid-view .table tr>*:nth-child(6) {

}
#persons-grid-wrapper .grid-view .table tr>*:nth-child(7) {
    width: 120px;
}
#persons-grid-wrapper .grid-view .table thead th {
    background-color: #F1F1FF;
    color: #000748;
}
#persons-grid-wrapper .grid-view .table>:not(caption)>*>* {
    padding: .125rem .6rem;
    background-color: #fff;
    border-bottom-width: 1px;
    -webkit-box-shadow: inset 0 0 0 9999px var(--vz-table-accent-bg);
    box-shadow: inset 0 0 0 9999px var(--vz-table-accent-bg);
    vertical-align: middle;
}
#contacts-persons-modal {
    .modal-content {
        border: 1px solid #4B6CB7;
    }
    .modal-header {
        padding: 10px 20px;
        background-color: #4B6CB7;
        .modal-title {
            color: #ffffff;
            font-size: 14px;
        }
        .btn-close {
            color: #ffffff;
        }
    }
    .inner-content {
        #header-collapse {
            margin-bottom: 1em;
            .btn-new-contact, .btn-new-person {
                border: 1px solid #848282;
                padding: 4px 18px;
                margin-right: 150px;
            }
            .checkbox-inline-wrapper {
                display: flex;
                align-items: center;
                border: 1px solid #C5CEEF;
                margin-right: 10px;
                padding: 4px 15px;
                line-height: 1.5;
                .form-check {
                    margin-bottom: 0;
                    input[type="checkbox"] {
                        display: inline-block;
                        margin-bottom: 0;
                    }
                }
            }
            .btn-contacts-filered, .btn-persons-filered {
                padding: 4px 18px;
            }
        }
    }
    .nav-tabs .nav-link {
        background-color: #E4E2E2;
        margin-right: 5px;
    }
    .nav-tabs .nav-link.active {
        background-color: #FBF5F5;
    }
    .table-contact tbody tr {
        border-top: none;
    }
    .table-contact tr th {
        background-color: #FBF5F5;
        color: #000000;
        padding: .5rem .4rem;
    }
    .table-contact tr td {
        padding: .2rem .4rem!important;
    }
    .table-contact tr th,
    .table-contact td:not(:has(.display-content)) {
        span {
            display: block;
            padding: 5px;
            line-height: 1.5;
        }
        input[type="checkbox"] {
            display: inline-block;
            vertical-align: middle;
        }
    }
    .table-contact td .display-content {
        display: inline-block;
        span {
            display: inline-block;
            padding: 4px;
            line-height: 1.5;
            vertical-align: baseline;
        }
    }
    .table-contact td .form-content {
        display: none;
    }
    .table-contact tr:has(.on-edit) td .display-content {
        display: none;
    }
    .table-contact tr:has(.on-edit) td .form-content {
        display: inline-block;
        width: 100%;
    }
    .table-contact tr:has(.on-edit) td .form-content .dashboardcode-bsmultiselect {
        width: 100%!important;
    }

    .table-contact .col-check,.table-person .col-check {
        width: 80px;
    }
    .table-contact .col-btn, .table-person .col-btn {
        width: 13%;
    }
    .table-contact .col-attr {
        max-width: 100px;
    }
    .table-contact .col-recp {
        max-width: 100px;
    }
    .table-contact .col-name, .table-person .col-name {
        max-width: 150px;
    }
    .table-contact .col-contact, .table-person .col-contact {
        max-width: 200px;
    }
    .table-person .col-status {
        max-width: 60px;
    }
    .table-person .col-role {
        max-width: 80px;
    }
    .table-person .col-date {
        max-width: 80px;
    }
    .table-person .person-row {
        position: relative;
    }
    .table-person tbody tr {
        border-top: none;
    }
    .table-person tr th {
        background-color: #FBF5F5;
        color: #000000;
        padding: .5rem .4rem;
    }
    .table-person tr td {
        padding: .2rem .4rem!important;
    }
    .table-person tr th,
    .table-person td:not(:has(.display-content)) {
        span {
            display: block;
            padding: 5px;
            line-height: 1.5;
        }
        input[type="checkbox"] {
            display: inline-block;
            vertical-align: middle;
        }
        .created {
            color: #4B6CB7;
            font-size: 0.765625rem;
        }
        .created::before {
            content: '\f00c';
            color: #00d982;
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            padding: 0 4px 0 0
        }
    }
    .table-person td .display-content {
        display: inline-block;
        span {
            display: inline-block;
            padding: 4px;
            line-height: 1.5;
            vertical-align: baseline;
        }
    }
    .table-person td .form-content {
        display: none;
    }
    .table-person tr:has(.on-edit) td .form-content {
        display: block;
        width: 800px;
        position: absolute;
        top: 38px;
        right: calc(50% - 400px);
        z-index: 1100;
        background-color: #f3f3f7;
        padding: 15px;
        box-shadow: 0px 2px 10px -4px rgba(0, 0, 0, 0.6);
        .form-label {
            font-size: 12px;
        }
        .col-auto .form-group.mb-2 {
            margin-bottom: 0!important;
        }
        .col-auto:nth-child(1) .form-label:nth-child(1) {
            min-width: 110px !important;
        }
        .hstack:not(.form-group)>label:first-child {
            min-width: 110px !important;
        }
        .col-auto:not(:nth-child(1)) .form-label {
            min-width: 40px;
        }
        .required > .form-label:after,
        .form-label.required:after {
            content: '※';
            color: #ff0202;
            font-weight: bold;
            display: inline-block;
            padding-left: 1em;
        }
    }
    .btn-light.on-edit {
        background-color: #cfd1d4;
    }
}
