:root {
	--primary-color: #202020;
	--primary-color-diff: #505050;
	--secondary-color: #ec0404;
}
body, td {
	user-select: none;
	caret-color: #ec0404;
	overflow-y: hidden;
}
.demo-wrapper { height:400px; background:rgba(0,0,0,.03); border:3px solid black; }
.heatmap { width:100%; height:100%; }

.custom .table-condensed tr {
	font-size : 10px;
}

.custom .table-condensed  {
	color : white;
}

.custom h5 {
	color: white;
}

.custom .form-group label {
	color: white;
	font-size: 10px;
}

.custom .form-group input, .custom .form-group select {
	height : 14px;
	padding: 0 1px;
	font-size: 9px;
}

.custom .list-group-item {
	font-size: 9px;
	padding: 0 1px;
}

.custom .btn-group {
	height: 20px;
}

.custom .btn {
	font-size: 10px;
	padding: 1px 1px;
	border: 0;
	background-color: var(--primary-color);
}

.white, .white a {
	color: #fff;
}

.custom {
	padding-right: 5px;
	padding-left: 5px;
}

#action {
	overflow: hidden;
}

.navbar.custom {
	margin-bottom: 0;
	background-color: var(--primary-color);
}

.navbar-brand.custom {
	padding: 10px 10px;
}

.navbar-default .navbar-fnt {
	color: #FFFFFF;
}
.navbar-default .navbar-backgrnd {
	color: var(--secondary-color);
}

.nav-menu a i, a>i, .btn-default>i{
	color: var(--secondary-color);
}

/* tab color */

.nav-tabs{
	border-bottom: 2px solid #aaa;
	/*margin-top: 2%;*/
}

.nav-tabs>li>a {
	background-image: linear-gradient(to bottom, var(--primary-color-diff) 0%, var(--primary-color) 100%) !important;
	border-color: #777777;
	color:#fff;
	font-size: 1.1em;
}
/* hover tab color */
.nav-tabs>li>a:hover {
	border-color: var(--secondary-color) !important;
	background-color:  var(--primary-color);
	color: var(--secondary-color) !important;
}

.nav-tabs>li>a.active {
	color: var(--secondary-color) !important;
	border-color: var(--secondary-color) !important;
	background-image: none !important;
	background-color: #e0e0e0 !important;
	animation: blinkActiveMenu 2s infinite;
}
@keyframes blinkActiveMenu {
	0%, 50% { opacity: 1; }
	51%, 100% { opacity: 0.7; }
}

.nav-tabs>li>a.active:hover {
	color: var(--primary-color) !important;
	border-color: #777777 !important;
	background-image: none !important;
	background-color: lightgrey;
}

.btn-default{
	box-shadow: none !important;
	background-color: var(--primary-color-diff) !important;
	background-position: 0 -15px !important;
	border-color: white !important;
	color: white;
	border-radius: 3px 3px 3px 3px;
}

button.dt-button:hover,.btn-default:hover, .btn-default:focus {
	background-position: 0 -15px !important;
	border-color: var(--secondary-color) !important;
	background-image: var(--primary-color-diff);
	opacity: 0.7;
}

div.dt-buttons a.dt-button {
	background-image: none;
	background-color: var(--primary-color);
	color: white;
}

button.dt-button.disabled {
	opacity: 0.6;
	cursor: not-allowed;
	background: #404040;
}
.btn-group .btn:first-child {
	border-radius: 3px 0 0 3px;
}

button.dt-button, .btn ,.fg-button {
	box-shadow: none !important;
	background-image:none;
	background-position: 0 -15px !important;
	border-color: white !important;
	background-color:var(--primary-color) !important;
	color: white;
	padding: 8px 16px;
	margin:0 0 0 2px;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	border-radius: 3px 3px 3px 3px;
}

.ui-state-disabled, .btn-default a.active {
	opacity: 0.6;
	box-shadow: none !important;
	background-color: var(--secondary-color) !important;
	background-position: 0 -15px !important;
	background-image: none;
	/*border-color: white !important;     */
	color: white;
	padding: 8px 16px;
	margin:0 0 0 2px;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
}

button.dt-button:hover, button.dt-button:focus {
	background-position: 0 -15px !important;
	border-color: var(--secondary-color) !important;
	background-image: var(--primary-color-diff);
	opacity: 0.7;
}

.fa-spin {
	animation-name: fa-spin !important;
	animation-duration: 0.4s !important;
	animation-timing-function: linear !important;
	animation-iteration-count: 2 !important;
	animation-direction: alternate !important;
}

.fa-spin-infinite {
	animation-name: fa-spin !important;
	animation-duration: 2s !important;
	animation-timing-function: linear !important;
	animation-iteration-count: infinite !important;
	animation-direction: normal !important;
}

.widget {
	overflow: hidden;
}

#container { position: relative; width: 100%; min-height: 100vh; overflow-y: auto; }

table.dataTable tbody tr:hover {
	background-color:#E6E6FA;
}

.ui-slider {
	background-color: white;
	width: 3em;
	height: 1em;
	top: 50%;
	text-align: center;
	line-height: 1.6em;
	border-radius: 2px 2px 2px 2px;
}

.ui-slider-range {
	background-color:white;
}

.ui-slider-handle{
	background-color: #f2f2f2;
	border-radius: 2px 2px 2px 2px;
	width: 2px;

}

table.dataTable td {
	box-sizing:border-box;
}


.navbar-dark {
	width: 100%;
	background-image: linear-gradient(to bottom, var(--primary-color) 0%, var(--primary-color-diff) 100%);
}

.nav-menu a{
    color: white;
	font-size: 1.3em;
}





.nav-menu .nav-link span {
    font-size: inherit;
    color: inherit;
}

@media (max-width: 768px) {
    .nav-menu a {
        font-size: 14px !important;
    }
}

.ui-selecting { background: #FECA40; }
.ui-selected { background: #F39814;  }

#editor {
	height:100%;
	background-color: grey;
	background-image: linear-gradient(rgb(153, 153, 153) 1%, transparent 20%), linear-gradient(90deg, rgb(153, 153, 153) 1%, transparent 20%);
	background-size: 0.5em 0.5em;
}

#toolbar{
	height:100%;
	background-color: white;
}
.state {
	background-color:#404040;
	height: 50px;
	width: 120px;
	border-radius: 5px;
	border: 2px solid #ff6666;
	position : relative;
}

.stateName {
	color: white;
	font-weight: 500;
}

.state .ui-selected { background: #F39814; color: white; }

.state_selected {
	background-color:#cccccc;
}


.modal-dialog {
	max-width: 80%; /* New width for default modal */
	width: 80%;
}

#toolbar-head {
	margin-top :5%;
}

.editor-datetime{
	width:20%;
}
div.DTED_Lightbox_Wrapper {
	left: 10%;
	right: 10%;
	margin-left: 0;
	width: auto;
	z-index: 1001 !important;
}
.DTED_Lightbox_Background {
	z-index: 1000 !important;
}

.tableTopFilterContainer{
	width:100%;
	height: 3vw;
	padding:0;
	margin:0;
}
#tableBottomFilterContainer {
	position: fixed;
	bottom: 2vw;
	height:2vw;
	left: 0;
	width: 100%;
	z-index: 100;
	padding: 0 1vw;
	/*background-color: var(--primary-color);*/
	/*border-top: 1px solid var(--secondary-color);*/
}
.tableBottomFilterContainer{
	width:100%;
	height: 3vw;
	padding:0;
	margin:0;
}
.table-menu-left{
	position:absolute;
	left:0;
	width:40%;
	padding: 0.5vw;
}
.table-menu-page-length{
	position:absolute;
	left:36%;
	width:14%;
}
.table-menu-center{
	position:absolute;
	width:20%;
	left:50%;
	padding: 0.5vw;
}
.table-menu-right{
	position:absolute;
	right:0;
	width:20%;
	height:100%;
	padding: 0.6vw;
}

.paginate_button {
	padding: 0.5vw;
}

.previous{
	margin-right:1em;
 }
.next{
	margin-left:1em;
}

.tab-css.even{
	background-color: #ece197 !important;
	color:dimgrey !important;
}
.tab-css.odd{
	background-color: #fcf1ae !important;
	color:grey !important;
}
.menu-css.odd{
	background-color: #8ff5db !important;
}
.menu-css.even{
	background-color: #9ff8e5 !important;
}

.span-account{
	background-color:lightgrey;
	opacity:0.5;
	margin:1px;
	padding:2px;
	border-radius: 4px;
	color: black;
}

.group-user-css.odd .group-user-css.even{
	background-color: #7b7b7b !important;
	color:white !important;
}
.group-account-css.odd .group-account-css.even{
	background-color: #a2a2a2 !important;
	color:white !important;
}

.acl-permission-crud-create-css {
	font-weight: bold;
}
.acl-permission-crud-update-css{
	background-color: #a2a2a2 !important;
}
.acl-permission-crud-delete-css{
	color: #c20000 !important;
}
.acl-permission-crud-read-css{
	font-style: italic;
}
.acl-permission-crud-execute-css {
	color: #157EFB !important;
}

.grid-stack-item-content.card {
    display: flex;
    flex-direction: column;
}

.card-img-container {
    width: 100%;
    aspect-ratio: 450 / 243;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0; /* Optional: light gray background for empty spaces */
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dashboard-title { text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;  font-size: 1.2rem;
}
.dashboard-description { font-size: 0.9rem; display: flex; flex-direction: column; flex: 1; min-height: 0; overflow-y: auto; }

.nav-tabs li + li {
    margin-top: 0 !important;
}

.nav-menu li + li {
    margin-top: 0 !important;
}





.nav-menu .dropdown-menu {
    background-color: black !important;
}
.nav-menu .dropdown-item:hover {
    background-color: #333 !important;
    color: white !important;
}
/* Select2 ZoomBox/SearchBox truncation */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
	max-width: 150px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding-right: 20px !important; /* Make room for the 'x' */
}

.node-selected-text {
	fill: red !important;
}






.grid-stack > .grid-stack-item > .grid-stack-item-content {
    overflow-y: hidden !important;
}












#selectionGridTitle { flex-shrink: 0; }

