/* CSS Document */

.autocomplete {
	position: relative;
	display: inline-block;
}

.search{
	width: 90%;
	margin: auto;
}

.center{
	margin-left: auto;
	margin-right: auto;
}

.login-block{
	margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
	width: 50%;
}

.menu-block{
	margin-top: 30px;
	margin-left: auto;
    margin-right: auto;
	align-items: center;
	width: 70%;
		margin-bottom: 90px;

}

.centered-block{
	margin-left: auto;
    margin-right: auto;
	margin-bottom: 5px;
	align-items: center;
	width: 90%;
}

.centered-content-block{
	margin-left: auto;
    margin-right: auto;
	align-items: center;
	width: 90%;
		margin-bottom: 90px;

}

.accordion-block{
	margin-left: auto;
    margin-right: auto;
	align-items: center;
	width: 90%;
}

.menu-tree{
	min-height: 60px;
	line-height: 60px;
}

.spinner{
	margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
 
	width: 50%;
}

.close {display: none;}

.table-bordered {
  border-radius: 5px;
}

.td-hover-table td.td-hover {
    background-color: #FFF;
}

.td-hover-table td.td-hover:hover {
    background-color: #CDCDCD;
}

/* The only required styling is position: absolute */
.drag-box {
	position: absolute;
	overflow: hidden;
}

/* Prevents inconsistent highlighting of element while being dragged
   Copied from https://stackoverflow.com/questions/826782 */
.noselect {
	-webkit-user-select: none; /* Safari */
	user-select: none; /* Every other browser */
}

.nodrag {
	user-drag: none;
	-webkit-user-drag: none;
}

#container {
	position: relative;
}

#designerDiv {
	-webkit-user-select: none;
	user-select: none;
}


#svg{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

div.kanban-column::-webkit-scrollbar {
	width: 5px;
}

/* Customize the track of the scrollbar */

div.kanban-column::-webkit-scrollbar-track {
	background: #fff;
}

/* Customize the thumb (the draggable part) */

div.kanban-column::-webkit-scrollbar-thumb {
	background-color: #797979;
	border-radius: 6px;
	border: none;
}

/* Customize the thumb when hovered */

div.kanban-column::-webkit-scrollbar-thumb:hover {
	background: magenta;
}

@media (max-width: 767px) {
	div.kanban-column {
		max-height: calc(100vh - 150px);
		overflow-y: auto;
		min-height: calc(100vh - 150px);
	}
}

@media (min-width: 768px) {
	div.kanban-column {
		max-height: calc(100vh - 150px);
		overflow-y: auto;
		min-height: calc(100vh - 150px);
	}
}

div.kanban-card.dragging {
	opacity: .5;
	transform: scale(.8);
}

div.kanban-column.drop {
	background-color: #f0f0f0;
}

#mobile-kanban-menu {
	font-size: 0.9em;
}

@media (min-width: 768px) {
	.nav-tabs {
		display: none;
	}
}

@media (min-width: 768px) {
	.tab-content > .tab-pane {
		display: block;
		opacity: 1;
	}
}

@media (min-width: 768px) {
	.kanban-col > .card {
		background-color: var(--bs-primary-bg-subtle)!important;
	}
}

@media (min-width: 768px) {
	div.kanban-column::-webkit-scrollbar-track {
		background: var(--bs-primary-bg-subtle);
	}
}

@media (max-width: 767px) {
	.kanban-col > .card {
		background-color: #fff;
	}
}

.kanban-card .info {
	font-size: 0.9em;
	color: var(--bs-gray);
}

.tree ul {
	padding-top: 20px; position: relative;

	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

.tree li {
	float: left; text-align: center;
	list-style-type: none;
	position: relative;
	padding: 20px 5px 0 5px;

	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

/*We will use ::before and ::after to draw the connectors*/

.tree li::before, .tree li::after{
	content: '';
	position: absolute; top: 0; right: 50%;
	border-top: 1px solid #ccc;
	width: 50%; height: 20px;
}
.tree li::after{
	right: auto; left: 50%;
	border-left: 1px solid #ccc;
}

/*We need to remove left-right connectors from elements without
any siblings*/
.tree li:only-child::after, .tree li:only-child::before {
	display: none;
}

/*Remove space from the top of single children*/
.tree li:only-child{ padding-top: 0;}

/*Remove left connector from first child and
right connector from last child*/
.tree li:first-child::before, .tree li:last-child::after{
	border: 0 none;
}
/*Adding back the vertical connector to the last nodes*/
.tree li:last-child::before{
	border-right: 1px solid #ccc;
	border-radius: 0 5px 0 0;
	-webkit-border-radius: 0 5px 0 0;
	-moz-border-radius: 0 5px 0 0;
}
.tree li:first-child::after{
	border-radius: 5px 0 0 0;
	-webkit-border-radius: 5px 0 0 0;
	-moz-border-radius: 5px 0 0 0;
}

/*Time to add downward connectors from parents*/
.tree ul ul::before{
	content: '';
	position: absolute; top: 0; left: 50%;
	border-left: 1px solid #ccc;
	width: 0; height: 20px;
}

.tree li a{
	border: 2px solid #ccc;
	padding: 5px 10px;
	text-decoration: none;
	color: #666;
	font-family: arial, verdana, tahoma;
	font-size: 11px;
	display: inline-block;

	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;

	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

/*Time for some hover effects*/
/*We will apply the hover effect the the lineage of the element also*/
.tree li a:hover {
	background: #c8e4f8; color: #000; border: 1px solid #94a0b4;
}
/*Connector styles on hover*/
.tree li a:hover+ul li::after,
.tree li a:hover+ul li::before,
.tree li a:hover+ul::before,
.tree li a:hover+ul ul::before{
	border-color:  #94a0b4;
}