
.sidebar-menu {
	position: fixed;
	z-index: 1000;
	width: 220px;
	height: 100%;
	left: 0;
	top: 0;
	background: #fff;
	border-right: 1px solid var(--bs-border-color);
}

.sidebar-collapsed .sidebar-menu {
	width: 30px;
	background: transparent;
	border-right: none;
}

.sidebar-collapsed .sidebar-menu-inner {
	display: none;
}

.sidebar-menu .sidebar-nav,
.sidebar-menu .logged-in-as {
	display: block;
	font-size: 14px;
}

.sidebar-menu .sidebar-nav .nav-link {
	padding: 3px;
}

.container-fluid {
	padding-left: 235px;
	padding-top: 15px;
}

.sidebar-collapsed .container-fluid {
	padding-left: 15px;
	padding-top: calc(var(--bs-gutter-x) * 1);
}

.container-fixed-2000 {
	width: 2000px;
	margin-left: 235px;
}

.sidebar-collapsed .container-fixed-2000 {
	margin-left: 15px;
}

button.settings-button {
	background: #fff;
	border: 1px solid var(--bs-border-color);
	width: 15px;
	height: 20px;
	padding: 0;
	font-size: 12px;
}

button.sidebar-collapse {
	position: absolute;
	top: 5px;
	right: 5px;
}

.sidebar-collapsed button.sidebar-collapse {
	right: auto;
	left: 0px;
}

button.main-orientation {
	float: right;
}

.rotate-90 {
	transform: rotate(90deg);
}

.rotate-90::before {
	transform: rotate(90deg);
}

.manual-input-frame {
	overflow-y: scroll;
	overflow-x: scroll;
	height: calc(100vh - 100px);
	width: 100%;
}

.manual-input-frame iframe {
}

.col-12 > .manual-input-frame {
	height: calc(50vh - 30px);
}

.logged-in-as {
	margin-left: 0.5rem;
}

.table-sm {
	font-size: 70%;
}

.table-meta {
	float: right;
	color: #999;
}

.edit-cell {
	position: relative;
	display: inline;
}

.edit-cell textarea:disabled {
	background: #ccc;
}

.manual-table tr button.add-row-button {
	display: none;
	position: absolute;
	background: #fff;
	border: 1px solid var(--bs-border-color);
	width: 20px;
	height: 20px;
	padding: 0;
	font-size: 12px;
}

.manual-table tr:hover button.add-row-button {
	display: block;
}

.nav-item.active {
	background: #ccc;
}

.data-form {

}

.data-form .save-button {
	float: right;
}

.timeline table.labels {
	width: 100%;
	text-align: center;
}

.timeline table.labels td {
	position: relative;
}

.timeline table.labels td::before {
	content: '';
	width: 2px;
	height: 20px;
	background: #000;
	position: absolute;
	bottom: -20px;
	left: 50%;
	margin-left: -1px;
}

.timeline .sections {
	width: 100%;
	margin-top: 30px;
}

.timeline .sections div {
	height: 5px;
	display: block;
	margin-top: 10px;
}

.arrow {
	width: 100%;
	position: relative;
}

.arrow .line {
	width: calc(100% - 15px);
	height: 2px;
	background: #000;
	position: absolute;
	top: 9px;
}

.arrow .point {
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 15px solid #000;
	position: absolute;
	right: 0;
	top: 0;
}

.box {
	width: 3px;
	height: 10px;
	margin-right: 1px;
	display: inline-block;
	background: #aaa;
}

.box.big {
	width: 7px;
	height: 10px;
	margin-right: 2px;
}

.box.green {
	background: green;
}

.box.red {
	background: red;
}

.box.yellow {
	background: orange;
}

.float-right {
	float: right;
}

.float-left {
	float: left;
}

table.bordered {
	display: table;
	border-collapse: collapse;
	border-spacing: 0px;
	border-color: gray;
}

table.bordered td {
	border: 1px solid 000;
	border-width: 1px;
	display: table-cell;
	vertical-align: inherit;
	font-size: 12px;
	padding: 3px;
	position: relative;
}

.report-source-borsdata::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 5px;
	background: #9999FF;
}

.report-source-serrano::before {
	content: '';
	display: inline-block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 5px 9px 5px;
	border-color: transparent transparent green transparent;
	margin-right: 5px;
}

.report-source-auto::before {
	content: '';
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 100%;
	background: purple;
	margin-right: 5px;
}

.report-source-manual::before {
	content: '';
	display: inline-block;
	width: 0px;
	height: 0px;
	border-right: 6px solid transparent;
	border-top: 6px solid orange;
	border-left: 6px solid orange;
	border-bottom: 6px solid orange;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
}

.report-error {
	background: #ffcccb;
}

.table-yellow {
	background: #ccee77;
}

.table-green {
	background: #cceecc;
}

.table-yellow.table-green {
	background: blue;
	color: #fff;
}

.table-variable {
	position: absolute;
	top: 0;
	right: 100%;
	margin-right: 15px;
	padding-right: 2px;
	width: 280px;
	text-align: right;
	font-family: monospace;
}

.table-variable input {
	width: 100%;
}

.table-variable i,
.table-variable span {
	display: none;
}


.table-variable.filled input {
	display: none;
}

.table-variable.filled i {
	position: absolute;
	display: block;
	right: -8px;
	top: -3px;
	font-style: normal;
	text-decoration: underline;
	cursor: pointer;
	user-select: none;
}

.table-variable.filled span {
	display: inline-block;
	user-select: all;
}

.table-suffix {
	position: absolute;
	top: 0;
	left: 100%;
	margin-left: 10px;
	width: 10000px;
	padding: 3px;
	text-align: left;
}

.table-suffix span {
	user-select: all;
}

.rules-data-preview {
	border: 1px solid #ccc;
	padding-left: 300px;
}

.green-ball {
	background: green;
	width: 20px;
	height: 20px;
	border-radius: 100%;
	display: inline-block;
}

.red-ball {
	background: red;
	width: 20px;
	height: 20px;
	border-radius: 100%;
	display: inline-block;
}

.variable-title {
	font-size: 16px;
	font-weight: bold;
}

.variable-box {
	border: 1px solid #ccc;
	padding: 10px;
	margin-bottom: 10px;
}

.text-right {
	text-align: right;
}

.php-warning {
	padding-left: 235px;
}
.sidebar-collapsed .php-warning {
	padding-left: 15px;
}

.variable-box-container textarea {
	white-space: nowrap;
}

.table-inline {
	width: auto;
}

.table-sm {
	font-size: 11.2px;
}

.final-step-page {
	border: 1px solid #ccc;
	width: 100%;
	min-height: 100px;
	margin-bottom: 15px;
	box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.report-mapping-function-set {
	text-decoration-line: underline;
	text-decoration-style: double;
}

.report-mapping-function-subtotal {
	text-decoration-line: underline;
	text-decoration-style: dotted;
}

.report-mapping-function-set .inner::before {
}

.report-mapping-function-set .inner::after {
}

.report-mapping-function-add .inner::before {
	font-size: 14px;
	font-weight: bold;
	content: '+';
	line-height: 0;
}

.report-mapping-function-subtract .inner::before {
	font-size: 14px;
	font-weight: bold;
	content: '-';
	line-height: 0;
}

.report-mapping.is-local {
	font-weight: bold;
}

.tiny-map-header {
	font-size: 10px;
	margin-top: 10px;
}

.tiny-map-header span {
	display: inline-block;
	max-width: 50%;
	text-overflow: ellipsis;
	overflow: hidden;
}

.report-mapping.is-transparent {
	opacity: 0.6;
}

.report-mapping.is-void {
	text-decoration: line-through;
}

.report-mapping.is-void.is-local {
	font-weight: normal;
}

.report-mapping-kpi {
	padding: 10px;
	position: relative;
}

.collapse-kpi-box {
	font-size: 18px;
	font-weight: bold;
	position: absolute;
	top: 5px;
	right: 5px;
	height: 18px;
	line-height: 15px;
	background: #fff;
	border-radius: 100%;
}

.kpi-box-collapsed .hidden-when-collapsed {
	display: none;
}

.visible-when-collapsed {
	display: none;
}

.kpi-box-collapsed .visible-when-collapsed {
	display: block;
}

.report-mapping {
	padding: 3px 7px;
	margin: 0 3px;
	border-radius: 10px;
	white-space: nowrap;
	border: 1px solid #ccc;
	font-size: 11.2px;
	margin-bottom: 5px;
}

.mapping-input {
	z-index: 2;
	position: relative;
	border-radius: 0.375rem 0.375rem 0 0;
}

.mapping-bg {
	background: #fff;
	padding: 10px;
	position: relative;
	top: -10px;
	z-index: 0;
	border: 1px solid #ccc;
}

.mapping-bg.locked {
	background: #e9ecef;
}

.report-ifrs-mapping {
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 200px;
	white-space: nowrap;
}

.report-ifrs-mapping a {
	color: #212529;
}

a.comment-open {
	color: #ccc;
}

a.comment-open.has-comment {
	color: #8888FF;
}

.category-comment {
	font-size: 32px;
	float: left;
}

.report-file-settings {
	float: left;
	margin-left: 15px;
}

.report-file-next {
	float: right;
	margin-left: 15px;
}

.report-mapping-open {
	padding: 0 5px;
	opacity: 0;
}

.report-mapping-table-header {
	margin: 5px 0 0 5px;
}

.final-step-page hr:first-child {
	display: none;
}

.report-final-step-top-comment {
	width: 100%;
}

.final-step-snippet {
	position: relative;
}

.final-step-snippet.collapsed .hide-when-collapsed {
	display: none;
}

.collapse-snippet-box {
	font-size: 18px;
	font-weight: bold;
	height: 18px;
	line-height: 15px;
	background: #fff;
	border-radius: 100%;
}

.snippet-page-link {
	font-size: 20px;
}

.snippet-page-input {
}

.text-green {
	color: green;
}

.text-red {
	color: maroon;
}

.prev-value {
	color: #aaa;
	margin-left: 10px;
}

.final-step-main-table {
	font-size: 12px;
}

.circle-info {
	width: 10px;
	height: 10px;
	background: #0d6efd;
	border-radius: 100%;
	display: inline-block;
	opacity: 0.5;
}

.table .table-info-opaque {
	background-color: rgba(207, 244, 252, 0.5);
}

.table .table-warning-opaque {
	background-color: rgba(255, 243, 205, 0.5);
}

.table .table-secondary-opaque {
	background-color: rgba(226, 227, 229, 0.5);
}

.table .table-purple-opaque {
	background-color: rgba(213, 184, 255, 0.2);
}

.table .bg-highlight-row {
	background: rgba(0, 255, 0, 0.5);
}

.table .bg-highlight-row-dark {
	background: rgba(0, 150, 0, 0.7);
}

.table .bg-highlight-row-neon {
	background: #008080;
}

.table .bg-purple-row {
	background: rgba(90, 34, 139, 0.5);
}

.table .bg-maroon-row {
	background: rgba(255, 0, 0, 0.5);
}

.table .bg-highlight-row .table-info-opaque {
	font-weight: bold;
}

.mark-as-complete {
	width: 100%;
}

.report-switcher {
	font-size: 14px;
	width: 300px;
	display: inline-block;
}

.final-step-set-num-months {
	width: 30px;
}

.missing-report {
	width: 100%;
	display: block;
	color: #000;
	text-align: center;
}

.missing-report-gray {
	background: #ccc;
}

.missing-report-red {
	background: #F55555;
}

.missing-report-green {
	background: green;
}

.missing-report-purple {
	background: #F555F5;
}

.missing-report-yellow {
	background: orange;
}

.missing-reports-table td {
	padding: .1rem .1rem;
}

table.error-events {
	.error-event-td {
		vertical-align: top;
	}

	.error-event-dividend-auto {
		background: #F8CB3F;
	}

	.error-event-dividend-manual {
		background: #BFE547;
	}

	.error-event-split {
		background: #BFE547;
	}

	.error-event-manual-split {
		background: #BFA547;
	}

	.error-event-comment {
		background: #BFE547;
	}

	.error-event-overlay {

	}
}

.bounding-box {
	background: rgba(0, 0, 0, 0.25);
	position: absolute;
}

.data-view-table th {
	position: sticky;
	top: 0;
	background: #ccc;
	border: 1px solid #aaa;
}

.final-step-page-indicator {
	color: #555;
	margin-left: 7px;
}

.final-step-page-menu {
	margin-left: 7px;
}

.data-form-edit_portfolio textarea {
	max-height: 100px;
}

.pretty-pre {
	font-size: 11px;
	border: 1px solid #ccc;
}
