#admin-section .card {
	border-radius: 0px;
	border: none;
	margin-bottom: 1rem;
	box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
}

#admin-section .container {
	margin-top: 1rem;
	/* margin-bottom: 1rem; */
}

.z-index-9 {
	z-index: 9999 !important;
}

.custom-input-style {
	width: 40px;
	border: none;
	text-align: right;
}

.custom-select-style {
	width: 80px;
	border: none;
	background: #fff;
}

fieldset {
	position: relative;
	border-radius: 10px;
}

legend {
	position: absolute;
	font-size: 12px;
	top: -10px;
	background: #fff;
	padding: 0 10px;
	font-weight: bold;
}

.preloader {
	width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #f0f0f5;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999 !important;
    overflow: hidden;
}

#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

#scrollToTopBtn:hover {
    background-color: #0056b3; /* По-тъмен цвят при hover */
}


#ui-datepicker-div {
	z-index: 9999 !important;
}

.select2-container {
	z-index: 1069 !important;
}

.offcanvas.show {
	z-index: 9999 !important;
}

.bs-table-color {
	background-color: #f2f2f2;
}

.text-table-color {
	color: #f2f2f2;
}

.select2-container--default .select2-selection--multiple {
  border: 1px solid #ced4da !important;
  padding: 7px !important;
}

.select2-container .select2-selection--single {
  height: 37px !important;
  border: 1px solid #ced4da !important;
  border-radius: 3px !important;
  
}

.ui-widget.ui-widget-content {
  border: 2px solid #d3d3d3;
  z-index: 9999;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 32px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 6px !important;
}

table.dataTable tbody th, table.dataTable tbody td {
  padding: 2px 3px !important;
}

.dt-length {
	float: left;
}

.dt-length label{
	display: none;
}

div.dt-container select.dt-input {
  padding: 7px !important;
}

.dt-buttons{
	float: left;
}

label {
	font-size: small;
	color: #6c757d;
}

/* Кръгче с първата буква на потребителя в хедъра - на мястото на цялото име.
   Цялото име и длъжността излизат в подсказката. */
.user-initial {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #0d6efd;
	color: #fff !important;
	font-weight: 600;
	line-height: 1;
	padding: 0;
	cursor: pointer;
	user-select: none;
	text-decoration: none;
}

/* Надписът следва състоянието на collapse-а: всичко / по-малко */
.todo-more[aria-expanded="false"] .todo-more-hide,
.todo-more[aria-expanded="true"] .todo-more-show {
	display: none;
}

/* Балончето с чакащите задачи седи на ръба на кръгчето */
.user-initial {
	position: relative;
}

.user-initial-badge {
	position: absolute;
	top: -4px;
	right: -6px;
	font-size: .65rem;
	padding: .2em .45em;
	border: 1px solid #fff;
}

.user-initial:hover {
	background: #0b5ed7;
}
