.form_v1 {
    background: #fff;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);
    margin-top: 8px;
    border-radius: 4px;
    padding: 24px;
}

.form_v1 .header {
    display: table;
    overflow: hidden;
    width: 100%;
}

.form_v1 .header > * {
    display: table-cell;
    vertical-align: middle;
    width: 33.3%;
    padding: 0 12px;
    box-sizing: border-box;
}

.form_v1 .header .logo {
    max-height: 90px;
    margin: 8px;
}

.form_v1 hr {
    border-color: rgb(var(--primary-500));
    margin-top: 4px;
    margin-bottom: 4px;
}

.box {
    border: 1px rgb(var(--primary-500)) solid;
    margin-bottom: 4px;
    margin-top: 0;
    padding: 0;
    text-align: inherit;
}

.box.p {
    padding: 8px;
}

.color-red {
    color: rgb(var(--primary-500));
}

.form-control.transparent {
    border: 0;
    box-shadow: 0;
}

.form-control.sm {
    height: 20px;
}

.form-control.md {
    height: 28px;
}

.table.borderless,
.table.borderless tr,
.table.borderless tr td {
    border: 0;
    margin-bottom: 0;
}

.input-group {
    border: 0;
    border-bottom: 1px rgb(var(--primary-500)) solid;
    position: relative;
}

.input-group .input-group-addon {
    border: 0;
    background: transparent;
}

.input-group .form-control {
    border: 0;
    box-shadow: 0;
}

.input-group.borderless {
    border-bottom: 0px;
    margin: 8px 0px;
}

.input-group.borderless .form-control {
    border: 1px rgb(var(--primary-500)) solid;
    border-radius: 0;
}

.table td.input-group {
    width: 110px;
    display: table-cell;
}

.table td.input-group.xl {
    width: 480px;
}

.input-group .percentage {
    position: absolute;
    right: 8px;
    top: 9px;
    z-index: 99;
}

.form-control:disabled {
    background: #e2e2e2;
}

.select2 {
    width: 100% !important;
    height: 34px;
}

.select2-selection {
    margin-top: 3px;
}

article div h4 a {
    font-weight: bold;
}

.panel-heading {
    padding: 0;
}
.panel-title {
    position: relative;
    font-size: 16px;
    line-height: 20px;
}
.panel-title > [data-toggle="collapse"] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    position: relative;
    text-decoration: none !important;
}
.panel-title > [data-toggle="collapse"] > svg {
    align-self: flex-start;
    flex-shrink: 0;
}
.panel-title > [data-toggle="collapse"] .expanded {
    display: none;
}
.panel-title > [aria-expanded="true"] .collapsed {
    display: none;
}
.panel-title > [aria-expanded="true"] .expanded {
    display: block;
}

.panel-title > a > span {
    background: #f5f5f5;
    padding-right: 8px;
    display: inline-block;
    position: relative;
    z-index: 1;
}
.panel-heading > .pull-right {
    background: #f5f5f5;
    padding-left: 9px;
    position: relative;
    margin: 7px 15px 0 0;
    z-index: 1;
}

table label {
    font-weight: normal;
}

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

/* V2
------------------------------------------------- */
.form_v1 .form-control {
    box-shadow: none;
}

.form_v1 input[type=checkbox],
.form_v1 input[type=radio] {
    color: rgb(var(--primary-500));
    margin-top: 0;
    outline: none !important;
    box-shadow: none !important;
    vertical-align: text-bottom;
}

.form_v1 [type='checkbox']:disabled {
    color: #000;
}

.nice-select {
    height: auto !important;
    line-height: 1.35 !important;
    min-height: 34px;
    padding: 6px 36px 6px 12px !important;
    background-color: rgb(255, 246, 246);
    z-index: unset !important;
}

.nice-select-dropdown {
    display: none;
    max-width: 100%;
    min-width: 100%;
}

.nice-select.open .nice-select-dropdown {
    display: block;
}

.nice-select .option {
    line-height: 1.35 !important;
    padding-top: 8px;
    padding-bottom: 8px;
    white-space: normal;
}

.nice-select-search {
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.nice-select-search:focus {
    border-color: rgb(var(--primary-500)) !important;
}

.nice-select:after {
    width: 7px !important;
    height: 7px !important;
}
