
/* Select2 */

/* Fix Select2 in modal with BS */
.form-group .select2-container {
	position: relative;
	z-index: 2;
	width: 100% !important;
	margin-bottom: 0;
	display: table;
	table-layout: fixed;
}

/* Table sorter 2.0 */
th .fa {
	line-height: inherit;
	float: right;
}

table.table input {
	width: 100%;
}

table.table input[type='radio'], table.table input[type='checkbox'] {
	width: auto;
}

.tablesorter-header:not(.sorter-false) {
	cursor: pointer;
}

/* Bootstrap customization */

/* Fit the parent title panel for accordion */
.panel-title > a {
	display: inherit;
}

.panel-title > a:hover {
	text-decoration: none;
}

/* Let the padding to the right items of the top navbar */
.navbar-nav.navbar-right:last-child {
	margin-right: 0;
}

.modal-center {
	position: absolute;
	top: 50%;
	margin: 0;
}

.modal-compact .modal-footer {
	border-top: 0;
	margin-top: 0;
}

.close {
	position: relative;
	z-index: 1;
}

.va-bottom {
	vertical-align: bottom;
}

/* BS5 Compat */
.fs-1 {
	font-size: calc(1.3125rem + 0.75vw) !important;
}

.fs-2 {
	font-size: calc(1.275rem + 0.3vw) !important;
}

.fs-3 {
	font-size: calc(1.25625rem + 0.075vw) !important;
}

.fs-4 {
	font-size: 1.125rem !important;
}

.fs-5 {
	font-size: 0.9375rem !important;
}

.fs-6 {
	font-size: 0.75rem !important;
}

/* Font Awesome customization */
a.fa, .link.fa {
	text-decoration: none;
	color: #000000;
}

button.fa, input[type=button].fa {
	padding: 0;
	border: 0;
	background: none;
}

.input-group-addon.addonbtn {
	padding: 3px;
}

.input-group-addon.addonbtn .btn {
	padding: 2px 7px;
}

/* Radio Panel */
.radiopanel {
	border-radius: 3px;
	padding: 10px;
}

.radiopanel.active {
	background-color: #F3F3F3;
}

/* Blink */
.blink {
	animation: blinker 2s linear infinite;
}

@keyframes blinker {
	50% {
		opacity: 0.1;
	}
}

/* Application */
.logo.enterprise {
	display: block;
	cursor: pointer;
}

.logo.enterprise.mini {
	max-width: 200px;
	max-height: 34px;
}

/* Fatal error style */
body > .panel-danger {
	margin: 10px 10px 0 240px;
}

/* Form Control */
input[type='date']::-webkit-calendar-picker-indicator {
	/* Not compatile with little input & Bootstrap */
	-webkit-appearance: none;
}

input[type='date']::-webkit-inner-spin-button {
	/* display: none; <- Crashes Chrome on hover */
	-webkit-appearance: none;
	margin: 0;
}

/* Upload overlay */
.overlay_wrapper {
	position: relative;
}

.overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	cursor: pointer;
}

.side-nav > li > ul {
	padding: 0;
}

.side-nav > li > ul > li > a {
	display: block;
	padding: 10px 15px 10px 38px;
	text-decoration: none;
	color: #999;
}

.side-nav > li > ul > li > a:hover,
.side-nav > li > ul > li.active > a {
	color: #fff;
}

/* Add feature to SB Admin */
.text-big {
	font-size: 34px;
	line-height: normal;
}

/* Flex features */
.gap-1 {
	gap: .25rem;
}

/* System Notifications */

#SystemNotificationWrapper {
	position: fixed;
	width: 400px;
	top: 0;
	left: 50%;
	margin-left: -200px;
	z-index: 1100;
}

#SystemNotificationContainer {
	padding: 8px 6px 6px 6px;
	background: #FFF;
	border: 1px solid #DDD;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}

.system_notification {
	padding: 4px 8px;
	margin-bottom: 0;
	font-size: 0.85em;
}

.system_notification + .system_notification {
	margin-top: 10px;
}

/* Custom checkbox */
.custom-checkbox .custom-control-input + label .checked {
	display: none;
}

.custom-checkbox .custom-control-input:checked + label .checked {
	display: block;
}

.custom-checkbox .custom-control-input:checked + label .unchecked {
	display: none;
}


.label-checkbox .checked {
	display: none;
}

.label-checkbox .unchecked {
	display: block;
}

.label-checkbox .custom-control-input:checked ~ .checked {
	display: block;
}
.label-checkbox .custom-control-input:checked ~ .unchecked {
	display: none;
}

.column-highlight {
	border-right: 1px solid red !important;
}

.row-highlight td,
.row-highlight + tr td {
	border-top: 1px solid red !important;
}

.row-highlight:last-child td {
	border-bottom: 1px solid red !important;
}
