:root {
	--primary-color: #00DE00;
	--primary-link-color: black;
	--primary-link-hover-color: #818181;
	--primary-color-hover: #17BE17;
	--primary-color-alt: #d33333; /* replaces #d33333 */
	--text-dark: #111; /* replaces #111 */
	--accent-color: #007bff; /* info icon */
}

/* Typography */

html {
	font-size: 12px;
	position: relative;
	min-height: 100%;
}

@media (min-width: 1281px) {
	html {
		font-size: 14px;
	}
}

a {
	color: var(--primary-color);
}

.link-text {
	color: var(--primary-link-color) !important;
	text-decoration: underline !important;
}

	.link-text:hover {
		color: #818181 !important;
		text-decoration: none !important;
	}

a:link {
	text-decoration: none;
}

a:hover {
	color: var(--primary-color-hover);
}

.form-check-input:checked {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

input[type="radio"] {
	accent-color: green !important;
}

.msg {
	color: var(--primary-color);
}

/* Top Nav */

.t-navbar .navbar-nav li {
	padding: 8px 0px;
}

	.t-navbar .navbar-nav li.active {
		border-bottom: 2px solid var(--primary-color);
	}

/* Page Wrapper */

.page-wrapper {
	position: relative;
	transition: width 1s ease-in-out;
	width: calc(100% - 50px);
}

/* Left Nav */

.l-navbar {
	width: 50px;
	position: relative;
	overflow: hidden;
	background-color: #f5f5f5;
	border: 1px solid #dee2e6;
}

	.l-navbar a {
		padding-left: 0.5rem;
	}

	.l-navbar .nl-sp {
		display: none;
	}

	.l-navbar .nl-i {
		width: 32px;
		font-size: 14px;
		text-align: center;
	}

.brand-t1, .brand-t2 {
	display: none;
}

@media (min-width: 768px) {
	.page-wrapper {
		width: calc(100% - 220px);
	}

	.l-navbar {
		width: 220px;
	}

		.l-navbar .nl-sp {
			display: inline;
		}

	.brand-t1, .brand-t2 {
		display: inline;
	}

	body.mini-navbar .l-navbar {
		width: 50px !important;
	}

	body.mini-navbar .page-wrapper {
		width: calc(100% - 50px) !important;
	}

	body.mini-navbar .l-navbar .nl-sp,
	body.mini-navbar .brand-t1,
	body.mini-navbar .brand-t2 {
		display: none !important;
	}
}

@media (min-width: 1740px) and (max-width: 2200px) {
	#public-key-name {
		margin-left: 0%;
	}
}

#file-key {
	min-width: 23%;
	padding-right: 0px;
	padding-left: 0px;
}

#msg {
	color: var(--primary-color-alt);
}

@media (min-width: 740px) {
	#file-key {
		min-width: 31%;
	}
}

/* Brand */

.brand {
	flex: 0 0 auto;
	display: block;
	font-size: 1.8rem;
	font-weight: 300;
	line-height: 1.2;
}

.brand-t2 {
	color: var(--primary-color);
}

#sidebar-closer {
	position: absolute;
	top: 10px;
	right: 10px;
}

.active > .page-link, .page-link.active {
	z-index: 0 !important;
}

/* Right Nav */

.r-s-panel {
	position: absolute;
	top: 0;
	right: 0;
	max-width: calc(100% - 350px);
	min-height: 100vh;
	visibility: hidden;
	overflow: hidden auto;
	background-color: #fff;
	box-shadow: rgba(0, 0, 0, 0.22) 0px 25.6px 57.6px, rgba(0, 0, 0, 0.18) 0px 4.8px 14.4px;
}

#r-s-panel01-content {
	min-width: 400px;
}

.r-s-content-sm {
	min-width: 450px;
}

.r-s-content-md {
	min-width: 550px;
}

.r-s-content-lg {
	min-width: 650px;
}

.r-s-panel-close {
	padding: 0px 0px 20px 14px;
	cursor: pointer;
}

/* Modal */

.modal-dialog.modal-wide {
	max-width: 85%;
	width: 85%;
	margin: auto;
}

.fullscreen-modal {
	width: 100vw !important;
	height: 100vh !important;
	max-width: 100% !important;
	max-height: 100% !important;
	padding: 0;
}

	.fullscreen-modal .modal-content {
		height: 100vh;
		border-radius: 0;
	}

.modal-body-content {
	padding: 20px;
	position: relative;
}

.modal-buttons {
	position: absolute;
	top: 10px;
	right: 10px;
	display: flex;
	gap: 10px;
}

	.modal-buttons .btn {
		padding: 5px 10px;
		font-size: 14px;
	}

/* Tabs */

.nav-tabs .nav-link {
	color: var(--text-dark);
}

	.nav-tabs .nav-item.show .nav-link,
	.nav-tabs .nav-link.active {
		color: var(--primary-color) !important;
	}

/* Other Layout */

.margin-5 {
	margin-left: 5% !important;
	margin-right: 5% !important;
}

#wide-panel-content {
	height: 90vh;
	max-height: 90vh;
	min-height: 75vh;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 0 80px 0 60px;
	margin-left: 6%;
	margin-right: 6%;
	font-size: 1rem !important;
}

.vertical-partition {
	border-left: 1px solid #ccc;
	padding-left: 15px;
}

.readonly-field[readonly] {
	background-color: #e9ecef;
	cursor: not-allowed;
}

/* DataTables */
/*
@media (max-width: 575px) {
	.r-s-panel {
		width: 100%;
		margin-left: 0;
	}
}

@media (min-width: 576px) and (max-width: 767px) {
	.r-s-panel {
		width: calc(100% - 260px);
		margin-left: 260px;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.r-s-panel {
		width: calc(100% - 250px);
		margin-left: 250px;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	.r-s-panel {
		width: calc(100% - 450px);
		margin-left: 450px;
	}
}

@media (min-width: 1200px) and (max-width: 1399px) {
	.r-s-panel {
		width: calc(100% - 600px);
		margin-left: 600px;
	}
}

@media (min-width: 1400px) and (max-width: 1699px) {
	.r-s-panel {
		width: calc(100% - 750px);
		margin-left: 750px;
	}
}

@media (min-width: 1700px) {
	.r-s-panel {
		width: calc(100% - 1000px);
		margin-left: 1000px;
	}
}
*/



/*  */

#addReportNote .reportlbl {
	display: inline-block;
	margin-bottom: 10px;
}

.dataTables_wrapper {
	font-size: 12px;
}

	.dataTables_wrapper a {
		color: var(--primary-color);
	}

		.dataTables_wrapper a:hover {
			color: var(--primary-hover-color) !important;
		}

	.dataTables_wrapper div.dataTables_filter input {
		width: 307px !important;
	}

	.dataTables_wrapper .row:first-child {
		margin-bottom: 5px;
	}

.dataTables_paginate .page-link {
	font-size: 12px;
}

.dataTables_paginate .active > .page-link,
.page-link.active {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

table.dataTable td.dt-control:before {
	background-color: var(--primary-link-color) !important;
}

table.dataTable tr.dt-hasChild td.dt-control:before {
	background-color: var(--primary-link-hover-color) !important;
}

.dt-row {
	margin-bottom: 10px;
	min-height: 235px;
}

.dataTable tbody tr {
	height: 20px;
}

@media (min-width: 1200px) {
	.dataTable tbody tr {
		height: 25px;
	}
}

.dataTable tbody tr td {
	padding-right: 10px;
}

/* Tags & Info */
.info-icon {
	cursor: pointer;
	margin-top: 7px;
}

.info-label {
	position: relative;
	display: inline-block;
}

	.info-label:hover .info-popup {
		display: block;
	}

.info-popup {
	display: none;
	position: absolute;
	background-color: #fff;
	border: 1px solid #ccc;
	padding: 10px;
	width: 250px;
	z-index: 1;
	top: 100%;
	left: 0;
}


.bootstrap-tagsinput {
	background-color: #fff;
	border: 1px solid #ccc;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	display: inline-block;
	padding: 4px 6px;
	color: #fff;
	vertical-align: middle;
	border-radius: 4px;
	width: 100%;
	line-height: 22px;
	cursor: text;
}

	.bootstrap-tagsinput input {
		border: none;
		box-shadow: none;
		outline: none;
		background-color: transparent;
		padding: 0 6px;
		margin: 0;
		width: auto;
		max-width: 100%;
		min-width: 15.625rem;
	}

	.bootstrap-tagsinput.form-control input::-moz-placeholder {
		color: #fff;
		opacity: 1;
	}

	.bootstrap-tagsinput.form-control input:-ms-input-placeholder {
		color: #fff;
	}

	.bootstrap-tagsinput.form-control input::-webkit-input-placeholder {
		color: #fff;
	}

	.bootstrap-tagsinput input:focus {
		border: none;
		box-shadow: none;
	}

	.bootstrap-tagsinput .tag {
		margin-right: 2px;
		color: #1a1818;
	}

		.bootstrap-tagsinput .tag [data-role="remove"] {
			margin-left: 8px;
			cursor: pointer;
		}

			.bootstrap-tagsinput .tag [data-role="remove"]:after {
				content: "x";
				padding: 0px 2px;
			}

			.bootstrap-tagsinput .tag [data-role="remove"]:hover {
				box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
			}

				.bootstrap-tagsinput .tag [data-role="remove"]:hover:active {
					box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
				}

/* Labels & Tooltip */

.label {
	display: inline;
	padding: 0.2em 0.6em 0.3em;
	font-size: 75%;
	font-weight: 500;
	line-height: 1;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: 0.25em;
}

.label-info {
	background-color: var(--primary-color-hover);
}

.info-icon {
	color: var(--accent-color);
	font-size: 18px;
	cursor: pointer;
}

.tooltip {
	position: relative;
	display: inline-block;
	border-bottom: 1px dotted black;
}

	.tooltip .tooltiptext {
		visibility: hidden;
		width: 120px;
		background-color: var(--text-dark);
		color: #fff;
		text-align: center;
		border-radius: 6px;
		padding: 5px 0;
		position: absolute;
		z-index: 1;
		bottom: 100%;
		left: 50%;
		margin-left: -60px;
	}

	.tooltip:hover .tooltiptext {
		visibility: visible;
	}

/* Errors & Loaders */

.is-invalid-date {
	border-color: var(--primary-color);
}

.loader-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 9999;
}

.loader {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	z-index: 10000;
	pointer-events: none;
}

/* Subscriptions */

#clearPackageList {
	position: absolute;
	top: 39px;
	right: 370px;
}

@media (min-width: 1281px) {
	#clearPackageList {
		top: 45px;
	}
}

/* Select2 Dropdown */

.select2-container .select2-selection--single {
	font-size: 12px;
}

.select2-container--default .select2-results__option {
	font-size: 12px;
}
