.m-8 { margin: 8px; }
.mt-8 { margin-top: 8px; }
.mr-8 { margin-right: 8px; }
.mb-8 { margin-bottom: 8px; }
.ml-8 { margin-left: 8px; }

.m-16 { margin: 16px; }
.mt-16 { margin-top: 16px; }
.mr-16 { margin-right: 16px; }
.mb-16 { margin-bottom: 16px; }
.ml-16 { margin-left: 16px; }

.m-24 { margin: 24px; }
.mt-24 { margin-top: 24px; }
.mr-24 { margin-right: 24px; }
.mb-24 { margin-bottom: 24px; }
.ml-24 { margin-left: 24px; }

.b-8 { border: 1px solid #EBEDFA; border-radius: 8px; }
.b-12 { border: 1px solid #EBEDFA; border-radius: 12px; }
.b-16 { border: 1px solid #EBEDFA; border-radius: 16px; }

body.blank {
    background: #FAFBFF;
}

.table {
    color: #525254;
    margin-bottom: 0px;
}

.table > thead > tr {
    background-color: #F3F3F4;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    border-top: none;
}

.table > thead > tr > th {
    border-bottom: none;
    font-weight: 500;
}

.table > thead > tr > th > a {
    color: #525254;
}

.table > thead > tr > th:nth-child(1),
.table > thead > tr > td:nth-child(1),
.table > tbody > tr > th:nth-child(1),
.table > tbody > tr > td:nth-child(1),
.table > tfoot > tr > th:nth-child(1),
.table > tfoot > tr > td:nth-child(1) {
    padding-left: 24px;
}

.table > thead > tr > th:last-child,
.table > thead > tr > td:last-child,
.table > tbody > tr > th:last-child,
.table > tbody > tr > td:last-child,
.table > tfoot > tr > th:last-child,
.table > tfoot > tr > td:last-child {
    padding-right: 24px;
}

.table > tbody > tr > th:nth-child(1),
.table > tbody > tr > td:nth-child(1) {
    color: #1E1E24;
    font-weight: 700;
}

.grid-dropdown > .btn.dropdown-toggle {
    background: url("../img/ellipsis.svg") no-repeat center center;
    padding: 8px;
}

.grid-dropdown > .btn.dropdown-toggle::after,
.grid-dropdown > .btn.dropdown-toggle::before {
    background-color: #FAFBFF;
    border: 0;
    width: 16px;
}

.gridview-footer {
    border-top: 1px dashed #C5C5C6;
    color: #1E1E24;
    margin: 0px;
    padding: 16px 9px 16px 9px;
}
.project-attachments .gridview-footer {
    display: none;
}

.modal-content {
    background-color: #FAFBFF;
    border-radius: 16px;
    color: #212438;
}

.modal-header {
    border-bottom: 0;
    border-color: #D8DBF0;
    padding: 32px 32px 0px 32px;
}

.modal-body {
    padding: 16px 32px 32px 32px;
}

.modal-footer {
    justify-content: space-between;
    padding: 24px;
}

.modal-title {
    margin-bottom: 0;
    line-height: 35px;
    font-size: 28px;
    font-weight: 700;
}

.alt-modal .modal-title {
    font-size: 21px;
    line-height: 26px;
}

.alt-modal .modal-footer {
    justify-content: flex-end;
}

.btn {
    border-radius: 6px;
    padding: 8px 16px;
    line-height: 1rem;
}

.navbar-minimalize, .navbar-minimalize:hover, .navbar-minimalize-focus {
    background: #233BB6 !important;
    color: #FDFDFD !important;
}

.navbar-minimalize-right {
    display: none;
}

body.body-small .navbar-minimalize-left {
    display: none;
}

body.mini-navbar .navbar-minimalize-right,
body.body-small .navbar-minimalize-right {
    display: inline-block;
}

form.omni-search-form div.form-group {
    float: left;
    margin-bottom: 0;
    margin-right: 16px;
    position: relative;
    width: 230px;
}

form.omni-search-form div.form-group > label {
    margin: 0;
    padding: 9px 8px;
    position: absolute;
    z-index: 1;
}

form.omni-search-form div.form-group > input {
    padding-left: 30px;
}

.form-control::placeholder {
    color: #525775;
}

.omni-search-form .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    padding-left: 30px;
}

.select2-container--bootstrap4 .select2-selection {
    border: 1px solid #A3A8C7 !important;
    border-radius: 6px !important;
    color: #525775 !important;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b {
    background: url("../img/chevron-down.svg") no-repeat center center;
    border: none !important;
    width: 16px !important;
    height: 17px !important;
    margin-top: -8px !important;
    margin-left: -8px !important;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
    background: #EBEDFA !important;
}

.navbar-top-links .btn-default {
    border-color: #D8DBF0;
}

.nav.metismenu > li > a {
    padding: 12px 16px 12px 16px;
    margin: 0 32px;
}

a.text-danger {
    color: #991B1B !important;
}

.card {
    background-color: #FAFBFF;
    background-clip: border-box;
    border: 1px solid #D3D8F0;
    border-radius: 16px;
}
.card-body {
    color: #212438;
    padding: 24px 24px 24px 24px;
}
.card-body h1, .card-body h2, .card-body h3 {
    margin: 0px 0px 16px 0px;
}
.card-body h4, .card-body h5, .card-body h6 {
    margin: 0px 0px 4px 0px;
}

.card-body h1 {
    font-size: 21px;
    font-weight: 700;
    line-height: 26px;
}

.card-body h1.big-h1 {
    font-size: 28px;
    line-height: 35px;
}

.card-body.gridview > div.grid-view {
    margin: 0px -24px -24px -24px;
}

.card-body iframe {
    /*
    border: 1px solid #D3D8F0;
    border-radius: 8px;
    */
    border: none;
}

.card-2 {
    border: 1px solid #EBEDFA;
    border-radius: 12px;
    text-align: left;
}

.card-2 .card-title {
    color: #525775;
    font-size: 16px;
    font-weight: 700;
    line-height: 19px;
}

.card-2 .card-text {
    color: #212438;
    font-size: 28px;
    font-weight: 700;
    line-height: 35px;
}

.card-3 {
    border: 1px solid #D8DBF0;
    border-radius: 8px;
}

.nav-tabs {
    border: 0;
    margin-bottom: 16px;
}

.nav-tabs .nav-link {
    color: #525775;
    font-weight: 400;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    color: #212438;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #212438;
}

.breadcrumb > .breadcrumb-item:first-child {
    color: #151724;
}

label {
    font-weight: 700;
    margin-bottom: 5px;
}

p.form-label {
    font-weight: 700;
    margin-bottom: 5px;
}

div.form-field {
    border: 1px solid #D8DBF0;
    border-radius: 8px;
    color: #525775;
    margin-bottom: 16px;
    min-height: 36px;
    padding: 8px 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pseudo-form h1:not(:first-child) {
    margin-top: 24px;
}

.custom-tools {
    margin-bottom: 16px;
}
.custom-tools:empty {
    margin-bottom: 0;
}

.custom-tools a.btn + a.btn,
.custom-tools a.btn + div.dropdown.btn-group,
.custom-tools div.dropdown.btn-group + a.btn {
    margin-left: 8px;
}

.custom-control.custom-radio {
    display: inline-block;
    min-height: 1.5rem;
    min-width: 100px;
    text-align: center;
    border: 1px solid #D8DBF0;
    border-radius: 8px;
    padding: 16px 16px 16px 2rem;
}

.badge {
    background-color: transparent;
    color: inherit;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 4px;
    padding-right: 4px;
    text-shadow: none;
    white-space: nowrap;
}
.badge.badge-success {
    background-color: #4F62C5;
    color: #FAFBFF;
}
.badge.badge-primary {
    background-color: #73C892;
    color: #116531;
}
.badge.badge-warning {
    background-color: #FAE0AA;
    color: #7D5607;
}
.badge.badge-danger2 {
    color: #F87171;
    padding-left: 0;
    padding-right: 0;
}

.project-tabs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.project-tabs-container .list-view-summary {
    display: none;
}

.project-tabs {
    height: 119px;
    width: 280px;
}
.workspace-view .project-tabs {
    width: 260px;
}

.project-tabs .project-tabs-badge {
    border-radius: 8px;
    padding: 2px;
    font-size: 28px;
    line-height: 32px;
    height: 36px;
}

.project-tabs .project-tabs-label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 19px;
    margin-top: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* === Yii2 default stylesheet === */

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

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings', 'FontAwesome';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\f063";
}

a.desc:after {
    content: "\f062";
}

.sort-numerical a.asc:after {
    content: "\f063";
}

.sort-numerical a.desc:after {
    content: "\f062";
}

.sort-ordinal a.asc:after {
    content: "\f063";
}

.sort-ordinal a.desc:after {
    content: "\f062";
}

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

/* fixes */
input[type="file"].form-control,
input[type="file"].single-line {
    border: 0;
    font-size: inherit;
    height: auto;
    line-height: inherit;
    padding: 0;
    width: auto;
}

tr.filters td {
    position: relative;
}

.bootstrap-datetimepicker-widget table tbody tr:nth-of-type(odd) {
    background: none !important;
}

.bootstrap-datetimepicker-widget table td,
.bootstrap-datetimepicker-widget table th {
    background: none;
    border: 0;
    padding: 0px;
    vertical-align: middle;
}

.bootbox-close-button {
    position: absolute;
    right: 20px;
}

#side-menu .dropdown-toggle::after {
    display: none;
}

/* theme fixes */
label.col-form-label,
label.col-form-label-lg,
label.col-form-label-sm {
    font-weight: bold;
}

.required > label.col-form-label:after,
.required > label.col-form-label-lg:after,
.required > label.col-form-label-sm:after {
    color: red; content: '*';
}

.required > label:after,
.required > label:after,
.required > label:after {
    color: red; content: '*';
}

.ibox-tools .btn-primary,
.ibox-tools .btn-secondary,
.ibox-tools .btn-success,
.ibox-tools .btn-info,
.ibox-tools .btn-warning,
.ibox-tools .btn-danger,
.ibox-tools .btn-dark {
    color: #ffffff !important;
}

.ibox-tools .btn-default,
.ibox-tools .btn-light {
    color: #212529 !important;
}

.nav-subheader {
    color: #a7b1c2;
    font-size: 1.1em;
    font-weight: bold;
    padding: 0 25px 10px 25px;
}

.navbar-top-links li .dropdown-menu a.dropdown-item {
    min-height: inherit;
    padding: 10px;
}

.navbar-top-links li .dropdown-menu a.dropdown-item + a.dropdown-item {
    padding-top: 0px;
}

.icmn-fw {
    display: inline-block;
    text-align: center;
    width: 1.28571429em;
}

.text-success2 {
  color: #28a745 !important;
}
