@media only screen and (max-width: 600px) {
	body {
		background-color: white;
		overflow-x: auto;
		overflow-x: scroll;
	}

	div .dropdown-menu {
		min-width: 0rem;
		width: 20rem;
	}

	span .large_text{
		visibility: hidden;
		display: none;
	}

	span .small_text{
		visibility: visible;
		display: inline;
	}
}

@media print {
	@page {
		margin: 1em 1em;
		size: landscape;
	}

	.table {
		font-size: 0.65em !important;
	}

	.sorticon {
		display: none !important;
	}

	tr,
	td,
	th {
		border: none !important;
	}

	tr:nth-of-type(odd) td {
		background-color: #eee !important;
		-webkit-print-color-adjust: exact;
	}

	.editbtnrow,
	.filter {
		display: none !important;
	}

	.custom-control-input {
		position: relative;
		z-index: 100;
		opacity: 1;
	}
}

/*
Redesign idea
.bg-dark {
    background-color: #9bd65b !important;
} */

.disableSelect{
	pointer-events: none;
	background-color: #ecf0f1;
}

.testMargin>* {
	margin-left: 1px !important;
	margin-right: 5px !important;
}

li[class="page-item active"] .page-link {
	background: #007bff !important;
	color: white !important;
}

a[class="page-link disabled"] {
	opacity: 50%;
}

.page-link {
	background: #eee !important;
	color: #007bff !important;
}
.popup-checkbox {
	margin-top: -1.3em;
}
.table {
	zoom: 0.9;
}

.borderLine td {
	border-bottom: 4px solid black !important;
}

.bg-info .active a, .nav-link:hover{
	color: #dfdfdf !important;
}

.word-wrap {
	word-break: normal !important;
	white-space: pre-line;
}

.stickyTableHeader th {
	position: sticky;
	top: -1px;
	z-index: 10;
	background-color: white;
}

.isDone {
	background: #01FF70;
}

select[disabled] {
	pointer-events: none;
}

.isDoneRed {
	background: #fe4c4c;
}

.plusminus {
	width: 1cm;
	height: 1cm;
}

.container {
	min-height: 80px;
}

.navbar {
	padding: 0 !important;
	font-size: 18px;
}

.bgred {
	background-color: #ff6666 !important;
}

.navbar-brand {
	padding: 0 !important;
}

#btndelete {
/* 	margin-top: -3.8rem !important;
	margin-left: 10.75rem !important; */
}

.delbtn {
	border: none;
	background-color: rgba(0, 0, 0, 0);
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
}

.dropdown-menu {
	height: auto !important;
	max-height: 650px !important;
	min-width: 30rem;
	width: auto;
	overflow-x: hidden !important;
}

.small_text{
	visibility: hidden;
	display: none;
}

.smallicon {
	cursor: pointer;
	padding: 0 1px;
}

.form-inline {
	align-content: right;
}

.form-control mr-sm-2 {
	float: right;
}

.form-control {
	color: #000 !important;
}

a.navbar-brand img {
	height: 4rem;
}

.editbtnrow {
	padding: 0.5rem !important;
	width: 3.5rem;
}

.custom-control-label.d-print-none {
	pointer-events: none;
}

.custom-control {
	min-height: 0px !important;
}

.dd-edit{
	padding-right: 1.5rem !important;
}

.dd-edit::after {
	position: absolute;
	right: 0.5em;
	top: 40%;
	zoom: 1.3;
}

.dd-right1,
.dd-right2,
.dd-right3 {
	position: absolute;
}

.dd-right1 {
	right: 0.15rem !important;
}

.dd-right2 {
	right: 1.25rem !important;
}

.dd-right3 {
	right: 2.75rem !important;
}

.hidden {
	display: none;
}

.los {
	width: 2rem;
}

.name {
	width: 20rem;
}

.price {
	width: 7rem;
}

.client {
	width: 20rem;
}

.flatpickr-input {
	background-color: #fff !important;
}

hr.large {
	border-width: medium;
}

.li-nrwp {
	font-style: italic;
}

.li-i {
	padding-right: 8px;
}

.acc-toggler {
	font-weight: 800;
	border-top: solid 3px;
	border-bottom: solid 3px;
	border-color: black;
}

.custom-control-input[disabled] ~ .custom-control-label::before {
    background-color: #fff !important;
}
.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before {
	color: #fff !important;
    border-color: #2c3e50 !important;
    background-color: #2c3e50 !important;
}

.excel-company-picker {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}
.excel-company-toggle {
    display: block;
    width: 30px;
    height: 30px;
    padding: 2px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
}
.excel-company-picker img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: top;
}
.excel-company-options {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    padding: 4px;
    min-width: 12rem;
    width: max-content;
    max-width: min(20rem, 85vw);
    max-height: 50vh;
    overflow: auto;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    box-shadow: 0 3px 8px rgba(0,0,0,.12);
}
.excel-company-options button {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
    padding: 5px 8px;
    border: 0;
    background: white;
    text-align: left;
    cursor: pointer;
}
.excel-company-options button:hover, .excel-company-options button:focus {
    background: #f1f4f5;
}
.excel-company-options button[aria-pressed=true]::after {
    content: "✓";
    margin-left: auto;
}

.settings-page .swal2-container,
.settings-page .swal2-popup,
.settings-page .swal2-icon,
.settings-page .swal2-icon * {
    animation: none !important;
    transition: none !important;
}

.navbar-account {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .2rem .65rem;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 1rem;
    color: white;
    background: rgba(0,0,0,.25);
    font-size: .875rem;
}
.navbar-account-name {
    max-width: 12rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 600;
}
.navbar-account button {
    padding: 0 0 0 .55rem;
    border: 0;
    border-left: 1px solid rgba(255,255,255,.5);
    background: transparent;
    color: inherit;
    cursor: pointer;
}
.navbar-account button:hover, .navbar-account button:focus {
    text-decoration: underline;
}
@media (max-width: 991.98px) {
    #navbarSupportedContent { order: 1; }
    .navbar-account-name { max-width: 22vw; }
}

/* Auftragsliste */
.job-summary {
    cursor: pointer;
    font-weight: 500;
    border-block: 1px solid #c7cfd4;
}
.job-summary .li-name { font-weight: 700; }
.job-summary .li-name::before, .job-summary.job-name-hidden > td:first-child::before {
    content: "";
    display: inline-block;
    width: .45em;
    height: .45em;
    margin: 0 .65em 0 .12em;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(-45deg);
    vertical-align: .12em;
}
.job-summary.open .li-name::before, .job-summary.job-name-hidden.open > td:first-child::before {
    transform: rotate(45deg);
}
.job-lot { --lot-color: #f0f0f0; }
.job-lot.isDone { --lot-color: #a6f4c4; }
.job-lot.isDoneRed { --lot-color: #ffb6b6; }
.table tr.job-lot, .table .job-lot > td {
    background-color: var(--lot-color);
    color: #23313a;
}
.job-lot-number { white-space: nowrap; }
.table .job-action {
    min-width: 10rem;
    width: 11rem;
}
.job-action .btn { max-width: 100%; white-space: normal; }
.job-action-owner { display: block; overflow-wrap: anywhere; }
.job-summary .job-edit, .job-lot .job-edit { color: #354751; border-color: #9caab0; }
.job-summary .job-edit:hover, .job-lot .job-edit:hover { background: #354751; color: white; }
