.nav-link {
    cursor: pointer;
}

.nav-tabs .nav-link {
    color: #495057;
}

.navbar {
    margin-bottom: 20px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background-color: #f5f5f5;
}

.navbar-brand > span {
    font-size: 1.5rem;
}

#navbar-brand-items {
    display: flex;
    flex-wrap: nowrap;
}

#header-navbar > .navbar-nav {
    flex-wrap: wrap;
}

#header-searchbar {
    flex-wrap: nowrap;
}

@media (min-width: 992px) {
    #loggedout {
        margin-top: 100px;
        margin-bottom: 100px;
    }
}

@media (min-width: 1199px) {
    .table-responsive {
        display: inline-table;
    }
}

.datatables-header-button {
    color: white;
    font-size: 1.5rem;
    padding: 0 .5rem;
}

.datatables-header-button:hover {
    color: white;
    font-size: 1.5rem;
    padding: 0 .5rem;
    cursor: pointer;
}

/*
table.dataTable th {
	background: #343a40;
}
*/
table.dataTable th div {
    min-width: 100px;
}

table.dataTable th div.input-group-prepend {
    min-width: 0;
}

table.dataTable .container-fluid {
    box-sizing: border-box;
}

table.dataTable th .select2-container {
    min-width: 100px;
}

.page-item.active .page-link {
    z-index: auto;
}

div.dataTables_wrapper div.dataTables_info {
    font-weight: normal;
    padding-top: 0;
}

table.datatable th input[class*="datatable-search-input"] {
    box-sizing: border-box;
}

table.datatable th input[class*="datatable-search-date"] {
    box-sizing: border-box;
    width: auto;
}

.nav.application-head li {
    margin-right: .5rem;
}

table.dataTable th .dataTables_length .select2 {
    float: left;
    margin-right: 5px;
}

@media (max-width: 991px) {
    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        justify-content: flex-start;
    }
}

@media (min-width: 1199px) {
    #div-login {
        margin-top: 100px;
    }
}

table.dataTable .options-table {
    font-size: 1em;
    color: black;
    text-decoration: none;
    padding: 0 0.2em;
}

table.dataTable .select2-selection__rendered {
    color: black;
    font-weight: initial;
}

.options-link {
    font-size: 1em;
    color: black;
    text-decoration: none;
    padding: 0 0.2em;
}

.options-link:hover {
    color: black;
}

.black-link {
    color: black;
    text-decoration: none;
}


.black-link:hover {
    color: black;
    text-decoration: none;
}

.table.datatable {
    width: 100% !important;
}

.table.datatable td {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.list-group-item.list-group-item-sm {
    padding: .25rem .50rem;
}

.line-through {
    text-decoration: line-through;
}

.select2-container {
    width: auto !important;
    flex-grow: 100;
    display: block;
    max-width: 100%
}

.select2-results__option {
    color: initial;
}

.alert {
    word-wrap: break-word;
}

div.dataTables_wrapper {
    padding-right: 0;
    padding-left: 0;
}

.modal-header {
    padding: 0.5rem 1rem;
}

.modal-xl {
    max-width: 1500px;
}

.modal-xxl {
    max-width: 1500px;
    max-height: 1000px;
}

.modal-h-100 {
    height: 100%;
}

.modal-h-100 div.modal-content, div.modal-body {
    height: 100%;
}

.modal-h-100 div.modal-body {
    height: 100%;
}

.modal-h-100 div.container-fluid {
    height: 100%;
}

.modal-xxl .modal-body {
    max-width: 100%;
    overflow-x: auto;
}

@media (max-width: 991px) {
    .modal-sm-xxl {
        max-width: 1500px;
        max-height: 1000px;
    }

    .modal-sm-xxl .modal-body {
        max-width: 100%;
        overflow-x: auto;
    }
}

@media (max-width: 1199px) {
    .modal-md-xxl {
        max-width: 1500px;
        max-height: 1000px;
    }

    .modal-md-xxl .modal-body {
        max-width: 100%;
        overflow-x: auto;
    }
}

.scoll-tree {
    /*width:5000px;*/
}

li > span > div > .datatables-column-search-input {
    display: none;
}

.popover {
    max-width: 600px;
}

div.form-validation-error {
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
    display: block;
}

i.disabled {
    padding: 0 0.2em;
    color: grey;
}

table.dataTable i.disabled {
    padding: 0 0.2em;
    color: grey;
}

.datatable-search-toggler {
    font-size: 2em;
    color: white;
    text-decoration: none;
}

.datatable-search-toggler:hover {
    font-size: 2em;
    color: white;
    text-decoration: none;
}

@media (max-width: 1199px) {
    table.dataTable table {
        display: block;
    }

    div.dt-container div.dt-search input {
        margin-left: 0;
    }

    table.dataTable thead {
        display: block;
    }

    table.dataTable tbody {
        display: block;
    }

    table.dataTable th {
        display: block;
    }

    table.dataTable tr {
        display: block;
    }

    table.dataTable td {
        display: block;
        border-top: 0;
    }

    table.dataTable td::before {
        padding-right: 1rem;
        content: attr(data-coltitle) ":";
        word-break: break-word;
    }

    table.dataTable .options-table {
        font-size: 2em;
        text-decoration: none;
        padding: 0 0.5em;
    }

    table.dataTable .datatable-searchbar {
    }

    table.dataTable .thead-dark th {
        width: 100% !important;
    }

    .dt-paging .page-link:not(.first,.previous,.next,.last) {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    table.dataTable .options-table {
        font-size: 1.5em;
        text-decoration: none;
        padding: 0 0.5em;
    }
}

.cordova-app {
    display: none;
}

.camera-upload-row {
    background: #f7f7f7;
    color: #4d4d4c;
    padding: 10px;
    margin-top: 15px;
    font-weight: bold;
}

.remove-camera-file {
    color: #4d4d4c;
    text-decoration: none;
}

.remove-camera-file:hover {
    color: #4d4d4c;
    text-decoration: none;
}

.jFiler-input-button {
    display: none !important;
}

.jFiler-theme-default .jFiler-input {
    margin: 0px;
}

select[readonly].select2 + .select2-container {
    pointer-events: none;
    touch-action: none;
}

.custom-control-sm {
    min-height: 1rem;
}

.custom-control-2x {
    min-height: 2.5rem;
}

.custom-control-label-2x::before {
    width: 2rem;
    height: 2rem;
}

.custom-control-label-2x::after {
    width: 2rem;
    height: 2rem;
}

.dropdown-sub > a:after {
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: -5px;
}

.select2-container--bootstrap4 .select2-selection--single {
    height: calc(1.7rem + 2px) !important;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__placeholder {
    line-height: 1.8rem;
}

.select2-search--dropdown .select2-search__field {
    padding: 0px;
}

.select2-results__option {
    padding: 2px 6px;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    line-height: 1.8rem;
}

.select2-container--bootstrap4 .select2-selection__clear {
    margin-top: .25em;
    color: black;
    background-color: white;
}

.select2-selection.select2-selection--single.autoheight {
    height: auto !important;
    min-height: calc(1.7rem + 2px) !important;
}

.item-image-picker-placeholder {
    position: relative;
}

.item-image-picker-placeholder:before {
    position: absolute;
    font-family: 'Font Awesome 5 Pro';
    top: 0;
    left: 10px;
    content: "\f03e";
    font-size: 4rem;
}

.item-image-picker {
    height: 100px;
    width: 100px;
}

.lg-backdrop {
    z-index: 7040 !important;
}

.lg-outer {
    z-index: 7050 !important;
}

.blinking-alert {
    animation: blinkingAlert 0.4s infinite;
}

@keyframes blinkingAlert {
    0% {
        background-color: black;
    }
    50% {
        background-color: red;
    }
    100% {
        background-color: black;
    }
}

.custom-control {
    z-index: unset;
}

@media (max-width: 767px) {
    .order-addresscontainer {
        display: none;
    }
}

.fa-stack-container {
    position: relative
}

.fa-stack-overlay {
    position: absolute;
    top: -8px;
    left: -10px;
    font-size: 200%;
}

/*
.nav-tabs {
	display:none;
}

@media(min-width:768px) {
	.nav-tabs {
		display: flex;
	}

	.card {
		border: none;
	}

	.card .card-header {
		display:none;
	}

	.card .collapse{
		display:block;
	}
}

@media(max-width:767px){
	.tab-content > .tab-pane {
		display: block !important;
		opacity: 1;
	}
}
*/

.categorytree {
    --spacing: 1.5rem;
    --radius: 10px;
}

.categorytree li {
    display: block;
    position: relative;
    padding-left: calc(2 * var(--spacing) - var(--radius) - 2px);
}

.categorytree ul {
    margin-left: calc(var(--radius) - var(--spacing));
    padding-left: 0;
}

.categorytree ul li {
    border-left: 2px solid #ddd;
}

.categorytree ul li:last-child {
    border-color: transparent;
}

.categorytree ul li::before {
    content: '';
    display: block;
    position: absolute;
    top: calc(var(--spacing) / -2);
    left: -2px;
    width: calc(var(--spacing) + 2px);
    height: calc(var(--spacing) + 1px);
    border: solid #ddd;
    border-width: 0 0 2px 2px;
}

.categorytree summary {
    display: block;
    cursor: pointer;
}

.categorytree summary::marker,
.categorytree summary::-webkit-details-marker {
    display: none;
}

.categorytree summary:focus {
    outline: none;
}

.categorytree summary:focus-visible {
    outline: 1px dotted #000;
}

.categorytree li::after,
.categorytree summary::before {
    content: '';
    display: block;
    position: absolute;
    top: calc(var(--spacing) / 2 - var(--radius));
    left: calc(var(--spacing) - var(--radius) - 1px);
    width: calc(2 * var(--radius));
    height: calc(2 * var(--radius));
    border-radius: 50%;
    background: #ddd;
}

.categorytree summary::before {
    content: '+';
    z-index: 1;
    background: #696;
    color: #fff;
    line-height: calc(2 * var(--radius) - 2px);
    text-align: center;
}

.categorytree details[open] > summary::before {
    content: '−';
}

#shipment-international-warning {
    display: none;
}

@media (min-width: 768px) {
    .col-md-1-5 {
        -ms-flex: 0 0 12.5%;
        flex: 0 0 12.5%;
        max-width: 12.5%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

.tab-invalid-feedback {
    background-color: rgb(220, 53, 69) !important;
}

div.dt-container div.dt-info {
    padding-top: 0;
    white-space: wrap;
}

.input-group .input-group-text .toggle-on,
.input-group .input-group-text .toggle-off {
    position: absolute;
}

.input-group-text-js-toggle {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.select2-lg > .select2-container--bootstrap4 .select2-selection--single {
    height: calc(2.5rem + 2px) !important;
}

.select2-lg > .select2-container--bootstrap4 .select2-selection--single .select2-selection__placeholder {
    line-height: 2.5rem;
}

.select2-lg > .select2-search--dropdown .select2-search__field {
    padding: 0px;
}

.select2-lg > .select2-results__option {
    padding: 4px 10px;
}

.select2-lg > .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    line-height: 2.8rem;
}

.select2-lg > .select2-container--bootstrap4 .select2-selection__clear {
    margin-top: .25em;
    color: black;
    background-color: white;
}

.select2-lg > .select2-selection.select2-selection--single.autoheight {
    height: auto !important;
    min-height: calc(2.5rem + 2px) !important;
}

