* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
html {
	font-size: 16px;
}
body {
	font-size: 1rem;
	overflow-y: scroll;
}

body {
	background-color: #f5f5f5;
}
pre {
	display: block;
	color: #212529;
	border: 1px solid #b3b3b3;
	font-size: 0.7rem;
	padding: 5px 7px;
	border-radius: 4px;
	background-color: #e4e4e4;
	line-height: 0.85rem;
}

.top-0 {
	top: 0;
}

.ms-auto {
	margin-left: auto !important;
}
.me-2 {
	margin-right: 0.5rem !important;
}

.row-merge-after > td {
	border-bottom: 0;
	padding-bottom: 0;
}
.row-merge-before > td {
	border-top: 0;
	padding-top: 0;
}

.translate-middle-x {
	left: 50%;
	transform: translateX(-50%);
}
.btn-close {
	box-sizing: content-box;
	width: 1em;
	height: 1em;
	padding: 0.25em 0.25em;
	color: #000;
	background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
	border: 0;
	border-radius: 0.25rem;
	opacity: 0.5;
}
.btn-close:hover {
	color: #000;
	text-decoration: none;
	opacity: 0.75;
}
.btn-close:focus {
	outline: none;
	box-shadow: 0 0 0 0.25rem rgba(245, 132, 40, 0.25);
	opacity: 1;
}
.btn-close:disabled, .btn-close.disabled {
	pointer-events: none;
	user-select: none;
	opacity: 0.25;
}
.btn-close-white {
	filter: invert(1) grayscale(100%) brightness(200%);
}

.select2-container .select2-selection--single {
	padding: 4px 0;
	height: 38px;
}
.select2-container .select2-selection--single .select2-selection__arrow {
	top: 6px;
}
.select2-container .select2-selection--multiple .select2-search__field {
	padding: 1px 0;
}

.no-result {
	font-size: 0.8rem;
	font-style: italic;
}
.column-no-result {
	text-align: center;
}
.form-group-h > * {
	display: inline-block;
	width: 50%;
}
.form-group-h > label {
	width: 25%;
}
.form-group-h > input {
	width: 75%;
}
/* fieldset {
	padding-left: 30px;
}
fieldset > legend {
	margin-left: -30px;
} */
.table thead th {
	vertical-align: middle;
	position: relative;
}
.table thead th:not(:first-child):before {
	content: '';
	display: block;
	position: absolute;
	width: 1px;
	height: 20px;
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
	left: 0px;
	background: #dee2e6;
}
.header-buttons {
	margin-top: 15px;
	margin-bottom: 15px;
}
.messages {
	margin-bottom: 1rem;
	display: none;
}
.messages .status-error {
	color: red;
}
.messages .status-ok {
	color: green;
}
.login-form .messages {
	text-align: center;
}
.login-form .btn-submit {
	width: 100%;
}
.login-container {
	margin: 50px auto;
}
.settings-container,
.invoices-container {
	background: #fff;
	padding: 3px 20px;
	margin: 10px 0;
	box-shadow: 0px 3px 8px #c3c3c3;
}
.invoices-container table {
	font-size: 0.75rem;
}
.invoices-container ul {
	padding-left: 15px;
	margin: 0;
}
.invoices-container table th,
.invoices-container table td {
	padding: 0.3125rem;
}
.invoices-container table th.sortable {
	padding-right: 0.75rem;
}
.invoices-container table .column-doc-num {
	font-size: 1rem;
}
.settings-container .document-image {
	max-width: 500px;
	width: 100%;
	height: auto;
	border: 2px solid #e5e5e5;
	margin: 5px 0;
}
.sort-link {
	display: inline-block;
	position: relative;
}
.sort-link::after {
	content: "";
	display: block;
	width: 0;
	height: 0;
	position: absolute;
	left: auto;
	bottom: 50%;
	right: -11px;
	top: 50%;
}
.sort-link.order-asc::after {
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid currentColor;
}
.sort-link.order-desc::after {
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid currentColor;
}
.btn-full-width {
	width: 100%;
}
#header .user-info {
	/* max-width: 350px; */
	/* margin: 15px auto; */
	margin: 15px 0;
	text-align: center;
}
.item-name {
	font-weight: bold;
}
input.changed {
	background-color: #48DB66;
}
.checked .check {
	display: none;
}
.btn.disabled {
	opacity: 0.65;
}
.subject-lines .status-pending {
	background-color: #8dff96;
}
.results .not-ready {
	background-color: #d8d8d8;
}
table.tasks {
	table-layout: fixed;
}
table.tasks th,
table.tasks td {
	font-size: 0.7rem;
}
table.tasks th,
table.tasks td {
	word-break: break-all;
}
.tasks .timer-controls {
	display: inline-block;
	margin-right: 5px;
}
.tasks .column-timer {
	text-align: center;
}
.tasks .column-timer > * {
	vertical-align: middle;
}
.tasks .recent-logs {
	max-height: 51px;
	height: auto;
	overflow-y: auto;
}
/* .list-search-form {
	margin: 15px 0;
} */
#content .buttons {
	margin: 15px 0;
}
textarea[name="description"],
textarea[name="notes"] {
	height: 300px;
}
.column-timer .end-date {
	font-size: 0.65rem;
}
ul.assignments {
	list-style: none;
	padding: 0;
	font-size: 0.65rem;
}
.tasks .planned-duration {
	font-size: 0.75rem;
}
.row-total .value {
	font-weight: bold;
}
.pivot {
	border: 1px solid #dee2e6;
	margin: 30px 0;
}
.pivot > * {
	padding: 30px;
}
.pivot .partner-name {
	font-weight: bold;
}
.pivot .btn-collapse {
	text-align: left;
	width: 100%;
}
.pivot-table .bundle-name {
	font-weight: bold;
}
.btn-collapse.collapsed .icon-expanded {
	display: none;
}
.btn-collapse:not(.collapsed) .icon-collapsed {
	display: none;
}
.loader {
	padding: 15px;
	text-align: center;
}
/* .pivots .pivot:not(:first-child):before {
	content: '';
	display: block;
	width: 100%;
	height: 1px;
	background: #ccc;
	margin: 30px 0;
} */
.end-date-over {
	background-color: #ff837e;
}
.end-date-near {
	background-color: #f8ba37;
}
.project-rows-container > table > tbody > tr {
    cursor: pointer;
}
.project-rows-container > table > tbody > tr > td {
    border-style: solid;
    border-width: 2px;
    border-color: transparent;
    transition: border-left-color 0.3s;
}
.project-rows-container > table > tbody > tr:hover {
    background-color: #e5e5e5;
}
.project-rows-container > table > tbody > tr.selected {
    background-color: #0CB6F0;
    transition: background-color 0.3s;
}
.project-rows-container > table > tbody > tr.selected > td:first-child {
    border-left-color: #0069d9;
}