html, body {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 14px;
}

/*
 * Navbar component
 */
.navbar {
    padding: 10px 30px;
    justify-content: space-between;
    min-height: 55px;
}

.navbar-title {
    font-size: 20px;
    font-weight: 400;
    margin: 0;
}

/*
 * Sidebar component
 */
.nav-sidebar > .nav-item .nav-icon {
    vertical-align: middle;
}

.nav-sidebar .nav-item > .nav-link {
    margin-bottom: .35rem;
    cursor:pointer;
}

.nav-sidebar .nav-item > .nav-link.active {
    background-color: #333 !important;
}

.nav-pills .nav-link.active {
    background-color: #333 !important;
}

.brand-link {
    border: 0 !important;
    margin-bottom: 10px;
    padding: 14px 10px;
}

.brand-text {
    color: #ffffff;
    font-weight: bold;
}

.main-sidebar {
    background: #1c1c1c;
    z-index: 3;
}

.sidebar .active {
    background-color: var(--blue);
}

.sidebar a{
    color: #fff !important;
}

/*
 * Button component
 */
.btn {
    box-shadow: 0 1px 3px hsla(195, 7%, 78%, .4), inset 0 -1px 3px hsla(180, 2%, 53%, .1);
    font-weight: 700;
    font-size: 13px;
}

.btn:focus {
    box-shadow: none !important;
}

.btn-transparent {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.btn-link {
    box-shadow: none;
}

.btn-primary, .btn-primary:focus {
    border-color: #005768;
}

.btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active {
    background: var(--blue);
}

.btn-success {
    border-color: #208537;
}

.btn-info {
    border-color: #0b6b77;
}

.btn-warning {
    border-color: #cc8903;
}

.btn-danger {
    border-color: #B02A37;
    color: #ffffff !important;
}

a.btn:not(.btn-outline-secondary) {
    color: #ffffff !important;
}

.brand-link {
    background: #1c1c1c;
    border: 0;
    padding: 14px;
}

/*
 * Thumbnail component
 */
.thumbnail {
    background-color: #fff;
    border: 1px solid #c4cacc;
    border-radius: 3px;
    box-shadow: inset 0 0 1px 1px #fff;
    color: var(--blue);
    padding: 3px;
}

.thumb .thumbnail {
    height: 30px;
    object-fit: contain;
    width: 30px;
}

/*
 * Table component
 */
.table-striped tbody tr:nth-of-type(even) {
    background-color: #f9f9f9;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #ffffff;
}

.table td .thumb {
    display: inline-block;
    vertical-align: middle;
    padding-right: 30px;
}

.table th.thumb, .table td.td-small {
    width: 1px;
}

.table thead th {
    background: #ffffff;
    border-left: 1px solid rgb(226, 229, 230);
    border-bottom: 1px solid rgb(196, 202, 204);
    color: #00859E;
    font-weight: 700;
    text-align: left;
    line-height: 1;
    padding: 16px 12px;
    white-space: nowrap;
}

.table .active {
    background: red;
}

.table .sortable span {
    position: relative;
}

.table .sortable span:after {
    position: absolute;
    right: -4px;
    top: -8px;
    display: inline-block;
    content: ">";
    font-size: 12px;
    line-height: 16px;
    color: #abb3b3;
    width: 16px;
    height: 16px;
    text-transform: none;
    transform: rotate(-90deg);
}

.table .sortable span:before {
    position: absolute;
    right: -4px;
    top: 2px;
    display: inline-block;
    content: "<";
    font-size: 12px;
    line-height: 16px;
    color: #abb3b3;
    width: 16px;
    height: 16px;
    text-transform: none;
    transform: rotate(-90deg);
}

.table th.sorted-asc span:before {
    color: var(--blue);
}

.table th.sorted-desc span:after {
    color: var(--blue);
}

.table thead th.sortable:hover {
    background: #f1f4f5;
}

.table thead th.sortable span {
    cursor: pointer;
    display: block;
    width: 100%;
}

.table td {
    border-top: 1px solid #e2e5e6;
    padding: 8px 12px;
    vertical-align: middle;
}

.table td a {
    color: inherit;
}

.table td a:hover {
    color: var(--blue);
}

.table-checkbox {
    position: relative;
}

th .checkbox-inline {
    z-index: 2;
}

.table-checkbox .bulk {
    display: none;
    position: absolute;
    left: 4px;
    top: 4px;
    background: #fff;
    padding: 4px 24px 4px 0;
    z-index: 1;
}

.js-bulk-button {
    padding-left: 38px;
    padding-right: 12px;
}

/*
 * Pagination component
 */
.pagination .page-link {
    font-size: 14px;
    padding: 6px 12px;
}

.page-item.disabled .page-link {
    color: #bac2c8;
}

.pagination .page-action {
    padding-left: 8px;
    padding-right: 8px;
}

.pagination i {
    font-size: 14px;
    padding-top: 2px;
    vertical-align: top;
}

.page-link {
    border-color: #CCCCCC;
    color: #454545;
}

/*
 * Form component
 */
.form-control {
    padding-bottom: 6px;
    padding-top: 6px;
    position: relative;
}

.form-control:not([type='checkbox']) {
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05), inset 0 1px 2px rgba(0, 0, 0, .1);
}

.table-checkbox {
    position: relative;
}

.table-checkbox > .checkbox-inline {
    height: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
}

.input-checkbox label {
    font-weight: normal !important;
}

/*
 * Alert component
 */
.alert .errorlist {
    margin-bottom: 0;
}

/*
 * Card component
 */
.card {
    overflow: hidden;
}

.card-footer {
    background: #FFFFFF;
    border-top: 1px solid #CCCCCC;
}

.card-title, .table thead th {
    color: var(--blue);
    font-weight: bold;
}

/*
 * Card (stats) component
 */
.card-stats {
    background-color: #fff;
    border-radius: .25rem;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .14);
    display: flex;
    flex-direction: column;
    overflow: visible;
    position: relative;
    min-width: 0;
    margin-bottom: 30px;
    margin-top: 10px;
}

.card-stats .card-title {
    color: #333;
}

.card-stats .card-header + .card-footer {
    border-top: 1px solid #eee;
    margin-top: 14px;
}

.card-stats [class*=card-header-] {
    border: 0;
    margin: 0 15px;
    padding: 0;
    position: relative;
}

.card-stats .card-header.card-header-icon i {
    color: white;
    font-size: 36px;
    line-height: 56px;
    width: 56px;
    height: 56px;
    text-align: center;
}

.card-stats [class*=card-header-] .card-icon {
    border-radius: 3px;
    background-color: #999;
    padding: 15px;
    margin-top: -20px;
    margin-right: 15px;
    float: left;
    z-index: 1337;
}

.card-stats .card-header .card-icon + .card-category {
    font-weight: 300;
    padding-top: 12px;
    margin-bottom: 4px;
}

.card-stats .card-header .card-title {
    font-size: 25px;
    font-weight: normal;
}

.card-stats .card-header.card-header-icon, .card-stats .card-header.card-header-text {
    text-align: right;
}

.card-stats .card-header .card-category {
    color: #999;
    font-size: 14px;
}
.card-stats .card-header .card-description {
    color: #999;
    font-size: 12px;
}

.card .card-footer .stats a {
    color: #999;
    font-size: 12px;
    font-weight: normal;
    line-height: 22px;
}

.card-stats .card-footer .stats i {
    position: relative;
    top: -1px;
    font-size: 16px;
}

.card-stats .card-header-primary .card-icon {
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, .14), 0 7px 10px -5px rgba(0, 133, 158, 0.4);
}

.card-stats .card-header-primary .card-icon, .card-stats .card-header-warning .card-text {
    background: linear-gradient(60deg, #0094ae, #00859E);
}

/*
 * Badge component
 */
.badge {
    padding: .5em 1em;
}

.badge-default {
    background-color: #f4f4f4;
    color: #444;
    border-color: #ddd;
}

/*
 * Omnibox component
 */
.omnibox {
    margin-bottom: 30px;
}

.omnibox .omnibox-tags li {
    background: #f8eec8;
    border: 1px solid #e5d185;
    border-radius: 3px;
    color: #6c6c65;
    display: inline-block;
    font-size: 12px;
    height: 24px;
    margin-right: 4px;
    padding: 0 30px 0 6px;
    line-height: 24px;
    position: relative;
    text-shadow: 0 1px 1px hsla(0, 0%, 100%, .5);
}

.omnibox .popover-target {
    align-items: center;
    display: flex;
}

.omnibox .close {
    border-left: 1px solid #efe0a7;
    color: #6c6c65;
    display: inline-block;
    height: 24px;
    font-size: 18px;
    position: absolute;
    right: 0;
    top: 2px;
    text-align: center;
    width: 24px;
}

/*
 * Popover component
 */
.popover-container {
    position: relative;
}

.popover.visible {
    display: block;
    opacity: 1;
    top: calc(100% + 4px);
}

.popover {
    position: absolute;
    background: #fff;
    border-radius: 3px;
    min-width: 160px;
    line-height: 24px;
    font-size: 14px;
    text-align: left;
    font-weight: 400;
    box-shadow: 0 2px 16px 0 rgba(0, 0, 0, .2);
    border: 1px solid #c4cacc;
    z-index: 100;
    text-shadow: none;
    max-width: 500px;
    display: none;
    opacity: 0;
    transition: all .15s ease-in-out;
}

.popover h3 {
    border-bottom: 1px solid #e2e5e6;
    font-size: 11px;
    text-transform: uppercase;
    margin: 8px 12px 1px;
    padding-right: 16px;
    line-height: 24px;
    letter-spacing: .5px;
}

.popover ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.popover ul a {
    border-radius: 2px;
    color: #00859E;
    display: block;
    font-size: 13px;
    padding: 2px 6px;
    text-decoration: none;
    width: 100%;
}

.popover ul a:hover {
    background-color: rgba(0, 136, 162, 0.10);
}

/*
 * Window component
 */
.window-frame {
    min-width: 240px;
}

.window-frame > .window-window {
    display: none;
}

.window-frame > .window-window.show {
    display: block;
}

.window-window .window-header {

}

.window-window .window-content {
    padding: 12px 8px 8px 8px;
}

.window-window .window-footer {
    border-top: 1px solid #e2e5e6;
    margin: 6px 12px;
}

/*
 * Icons
 */
.material-icons {
    vertical-align: middle;
}

.icon > .material-icons {
    font-size: 94px;
}

/*
 * Miscellaneous
 */
.product-img {
    display: inline-block;
}

.product-img {
    margin: 4px 4px 6px 4px;
}

.product-img .thumbnail {
    height: 100px;
    object-fit: contain;
    padding: 8px;
    width: 100px;
}

.stack .stack-main {
    display: block;
    font-weight: 700;
}

.stack-stack .stack-sub {
    display: block;
    font-weight: 700;
    color: #2775c6;
}

.paddock {
    border-bottom: 1px solid #c4cacc;
    float: left;
    padding: 20px;
    width: 100%;
}

.paddock p {
    margin-bottom: 0;
}

.paddock:last-of-type {
    border: 0;
}

/*
 * Breadcrumbs
 */
.breadcrumb > li {
    margin-left: 10px;
}

.breadcrumb > li.active {
    color: #8f8f8f;
}

.breadcrumb > li + li:before {
    content: '>\00a0';
}

/*
 * Variant Bulk Edit
 */
.bulk_variant {
    border: 1px solid #C4CACC;
}

.bulk_variant .bulk_form_left {
    background-color: #f9f9f9;
    border-right: 1px solid #C4CACC;
    padding: 1.2em;
}

.bulk_variant .bulk_form_right {
    padding: 1em;
}

.select-category,
.select-category ul {
    padding-left: .75rem;
    list-style: none;
}

.select-category ul {
    margin-left: 5px;
    padding-left: 20px;
    border-left: 1px solid #eee
}

.select-category label,
ul.form-control label {
    font-weight: normal !important;
}

.select-category input[type=checkbox] {
    margin-right: 5px;
}

ul.form-control {
    list-style: none;
    border: none;
    box-shadow: none !important;
}

ul.form-control label {
    display: block;
    font-weight: normal !important;
}

ul.form-control .form-control[type=checkbox] {
    display: inline-block;
    width: auto;
    margin-right: 10px;
}

.inline {
    display: inline;
}

/*
 * Property list
 */
.property-list > .property {
    display: flex;
    padding-top: 6px;
    padding-bottom: 6px;
}

.property-label {
    color: #545f7c;
    font-weight: 600;
    /*flex: 0 0 20%;*/
    min-width: 140px;
    max-width: 240px;
}

.property-value {
    color: #2b2f40;
}

/*
 * Commons
 */
.common-list {
    list-style: none;
    margin-left: 0;
    padding-left: 1em;
}

.common-list > li:before {
    display: inline-block;
    content: "-";
    width: 1em;
    margin-left: -1em;
}

/*
 * Select2
 */
.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #ced4da;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05), inset 0 1px 2px rgba(0, 0, 0, .1);
    padding: 6px .75rem;
    height: 35px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 35px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
}

/*
 * Timeline
 */
.events--timeline {
    padding: 0;
    list-style-type: none;
    font-size: 14px;
    position: relative;
}

.event {
    padding-bottom: 16px;
    position: relative;
}

.event--date {
    margin-top: 2px;
}

.events--vertical-line {
    position: absolute;
    top: 14px;
    bottom: 0;
    color: #c1c1c1;
    -webkit-transform: translateX(-21px);
    transform: translateX(-21px);
    height: 100%;
    z-index: 0;
}

.event--status {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 5px;
    left: 0;
    -webkit-transform: translateX(-28px);
    transform: translateX(-28px);
    background-color: #c1c1c1;
    border-radius: 50%;
    border: 4px solid #f4f6f9;
}

.events--status--success {
    background-color: #00859E;
}

.loading {
    display: none;
}

.spinner {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.sidebar li .submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-left: 1rem;
    padding-right: 1rem;
}