body {
	padding-bottom: 40px;
}

h1, h2, h3, h4, h5, h6 {
	text-shadow: 0 0 1px var(--bg);
}

.content {
	margin: 80px 20px 20px 20px;
}

.overlay {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	opacity: 0.5;
	filter: alpha(opacity=50);
	background-color: black;
}

.spinner {
	left: calc(50% - 35px);
	top: calc(50% - 35px);
	position: absolute;
}

.scrollToTop {
	position: fixed;
	bottom: 70px;
	right: 20px;
	width: 45px;
	height: 45px;
	background-color: black;
	color: var(--bg);
	border: 1px solid var(--bg);
	border-radius: 50%;
	text-align: center;
	line-height: 43px;
	font-size: 20px;
	z-index: 1000;
	display: none;
	transition: all 0.3s ease;
	text-decoration: none !important;
	box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.scrollToTop:hover {
	background-color: var(--bg);
	color: black;
	transform: translateY(-5px);
}

textarea:focus, input:focus, #month_selection_select:focus, .input-select:focus {
	border-color: var(--bg70) !important;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px var(--bg50) !important;
	outline: 0 none;
}

textarea, .input-group-text {
	border-color: black !important;
	background-color: black;
	color: var(--bg);
	font-size: 22px;
	width: 50px;
}

textarea {
	resize: none;
}

td input, .input-select {
	width: 100%;
}

.input-select {
	height: 30px;
}

select.user_data_input[multiple] option:checked {
	background: black linear-gradient(0deg, black 0%, black 100%) !important;
	color: var(--bg) !important;
}

select.user_data_input[multiple]:focus {
	outline: 1px solid var(--bg) !important;
}

.hidden {
	display: none;
}

.menu-logo {
	color: var(--bg);
	font-size: 1.25em;
}

.year-selection-div {
	width: 100%;
	padding: 10px;
}

#year_selection {
	width: 75px;
	text-align: center;
}

#month_selection_select {
	margin-bottom: 5px;
}

.fixed-bottom a {
	color: black;
}

.loggedin-user {
	text-shadow: 0 0 2px var(--bg);
	color: black;
}

.btn {
	margin: 2px;
}

.btn-outline-primary {
	color: var(--bg);
	border-color: var(--bg);
	background-color: black;
}

.btn-outline-primary:active, .btn-outline-primary:hover, .btn-outline-primary:focus {
	color: black;
	border-color: black;
	background-color: var(--bg);
}

.input-group-append a i, .input-group-prepend a i {
	border-radius: 0px !important;
}

.tooltip-inner {
	white-space: pre-wrap;
}

.tooltip {
	pointer-events: none;
	z-index: 10000 !important;
}

.navbar form a {
	min-width: 43px;
}

.nav-link, .nav-link:hover {
	color: black;
	font-weight: bold;
}

.iziToast > .iziToast-body .iziToast-texts {
	display: flex !important;
	flex-direction: column !important;
}

.iziToast-texts .iziToast-title {
	margin-right: 0 !important;
	display: block !important;
	margin-bottom: 5px;
}

.iziToast-texts .iziToast-message {
	display: block !important;
	margin-left: 0 !important;
}

.iziToast-inputs select {
	background-color: rgba(255, 249, 178, .7) !important;
}

.flag-icon {
	font-size: 40px !important;
	margin: 5px;
}

.flag-icon:hover {
	cursor: pointer;
	opacity: 50%;
}

#accordion .card {
	margin-bottom: 10px;
}

#accordion .card-body .card {
	border: none;
	box-shadow: none;
}

.card {
	border-color: var(--bg);
	box-shadow: 0 0 0 1px black;
	padding: 20px;
	border-radius: 8px;
}

.card-header h5 button, .card-header h5 button:hover {
	color: black;
	font-weight: bold;
	}

.card-body select {
	width: 100%;
}

.centered-form.card {
	position: fixed;
	width: 100%;
	max-width: 560px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	margin: 0;
	border: none !important;
	box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
	padding: 20px !important;
}

.centered-form .card-title {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 2px solid #f0f0f0;
}

.card-icon {
	color: var(--bg);
	background-color: #000000;
	border-radius: 50%;
	font-size: 30px;
	width: 50px;
	height: 50px;
	line-height: 50px;
	padding-top: 0;
	margin-top: 0;
	margin-right: 15px;
	float: none;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-shrink: 0;
}

.centered-form .card-title h3 {
	margin: 0;
	font-size: 20px;
	padding: 0;
	text-shadow: none;
}

.card-body select:focus {
	border-color: var(--bg70) !important;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px var(--bg50) !important;
	outline: 0 none;
}

#button_register_company, #button_goto_login, #button_reset_password, #google_sso_login {
	color: black;
	font-size: 14px;
}

#button_register_company:hover, #button_goto_login:hover, #button_reset_password:hover, #google_sso_login:hover {
	color: var(--bg);
}


#button_register_company, #button_reset_password {
	margin-right: 5px;
}

.btn-full-width {
	width: 100%;
	margin-top: 10px;
}

.color-selection {
	width: 25px;
	height: 25px;
	border: 1px solid black;
}

.calendar {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
}

.calendar-employee-name, .calendar-employee-name-inactive, .calendar-month-name {
	display: inline-block;
	font-weight: bold;
	border: 1px solid black;
	padding-left: 5px;
}

.calendar-employee-name a, .calendar-employee-name-inactive a, .calendar-month-name a, .calendar-day a, .calendar-day-inactive a {
	color: black;
}

.calendar-employee-name a:hover, .calendar-month-name a:hover {
	color: var(--bg);
}

.calendar-day, .calendar-day-inactive {
	display: inline-block;
	width: 30px;
	margin-left: -1px;
	text-align: center;
	font-weight: bold;
	border: 1px solid black;
}

.comment_gold {
	background-image: url("../img/comment_gold.png");
}

.comment_red {
	background-image: url("../img/comment_red.png");
}

.calendar-day-highlight {
	background-color: black !important;
	box-shadow: inset 2px 2px 1.5em #ff0000;
}

.absence-type {
	float: left;
	margin-right: 7px;
	margin-bottom: 7px;
	padding-left: 10px;
	padding-right: 10px;
	text-align: center;
	border: 1px solid black;
	border-radius: 5px;
	font-weight: bold;
}

.absence-type-preview {
	width: 200px;
	margin-top: 3px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
	color: #000000;
}

.nowrap {
	white-space: nowrap;
}

.red {
	color: #a94442;
}

.green {
	color: #3c763d;
}

.lime {
	color: #01ff70;
}

.fixed-table-toolbar .input-group .input-group-append .btn, .page-list .btn-group .btn {
	margin: 0;
	color: var(--bg);
    background-color: black;
    border-color: black;
}

.page-item.active .page-link {
	color: var(--bg);
    background-color: black;
    border-color: black;
}

.page-item .page-link {
	color: black;
    background-color: #fffff;
    border-color: black;
}

.highlight-line {
    background-color: #fce4e4 !important;
	border-left: 2px solid #f8a3a3;
}

#qr_code_inputX, #qr_code_inputX:focus {
	color: #ffffff !important;
    background-color: #ffffff !important;
    border: 0 solid #ffffff !important;
	box-shadow: 0 0 0 0 !important;
}

#qr_code_input {
	caret-color: transparent !important;
	color: transparent !important;
	selection-background-color: transparent !important;
	outline: none !important;
	border: none !important;
	user-select: none !important;
}

.sidebar-wrapper {
	position: fixed;
	right: 0;
	z-index: 9999;
	display: flex;
	transition: transform 0.3s ease;
	transform: translateX(calc(100% - 40px));
}

.sidebar-wrapper:hover, .sidebar-wrapper.is-open {
	transform: translateX(0);
}

#colorSidebar {
	top: 150px;
}

#recruitSidebar {
	top: 200px;
}

.sidebar-handle {
	width: 40px;
	height: 40px;
	background: #212529;
	color: var(--bg);
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 5px 0 0 5px;
	cursor: pointer;
	box-shadow: -2px 0 5px rgba(0,0,0,0.1);
}

.sidebar-content {
	background: white;
	padding: 10px;
	border: 1px solid #ddd;
	box-shadow: -2px 0 5px rgba(0,0,0,0.1);
	min-width: 150px;
}

.recruit-sidebar .sidebar-content {
	min-width: 200px;
}

.recruit-sidebar h6 {
	text-shadow: none;
	color: #333;
}

.color-grid {
	display: grid;
	grid-template-columns: repeat(3, 30px);
	gap: 5px;
}

.color-box-wrapper {
	width: 30px;
	height: 30px;
	overflow: hidden;
	border-radius: 3px;
	border: 1px solid #ddd;
}

.legal-consent-container {
	background-color: #f8f9fa;
	padding: 15px;
	border: 1px solid black;
	border-radius: 8px;
	margin-bottom: 20px;
}

.legal-consent-container .custom-control-label {
	line-height: 1.5;
	color: #333;
	cursor: pointer;
}

.legal-consent-container a {
	color: black;
	text-decoration: none;
}

.legal-consent-container a:hover {
	border-bottom: 1px solid var(--bg);
	transition: all 0.2s;
}

.legal-checkbox-card {
	padding-left: 20px !important;
	font-size: 16px;
}

.custom-control-input:checked ~ .custom-control-label::before {
	background-color: black !important;
	border-color: black !important;
}

@media (hover: none) {
	.navbar .btn-outline-primary:hover, 
	.navbar .btn-outline-primary:active {
		background-color: #000000 !important;
		color: var(--bg) !important;
	}
}

@media (max-width: 1089px) {
	#month_selection_navtabs {
		display: none;
	}
}

@media (min-width: 1090px) {
	#month_selection_select {
		display: none;
	}
}

@media (max-width: 675px) {
	.navbar form {
		margin-left: auto;
		width: auto;
		max-width: 100%;
		overflow-x: auto;
		white-space: nowrap;
	}
	
	.content {
		margin-left: 7px;
		margin-right: 7px;
	}
}
