﻿/* custom css */

.modal {
	overflow-y: auto;
}

.progress-box {
	display: flex;
	gap: 0.25rem;
}

/* progress-short: */
.progress-short::-webkit-progress-bar {
	border: 1px solid green;
	background-color: white;
	border-radius: 6px;
	height: stretch;
}

.progress-short {
	border: 1px solid green;
	background-color: white;
	border-radius: 6px;
	height: stretch;
}

.progress-short::-webkit-progress-value {
	background-color: green !important;
}

.progress-short::-moz-progress-bar {
	background-color: green !important;
}

.progress-short {
	color: green;
}

/* progress-medium: */
.progress-medium::-webkit-progress-bar {
	border: 1px solid orange;
	background-color: white;
	border-radius: 6px;
	height: stretch;
}

.progress-medium {
	border: 1px solid orange;
	background-color: white;
	border-radius: 6px;
	height: stretch;
}

.progress-medium::-webkit-progress-value {
	background-color: orange !important;
}

.progress-medium::-moz-progress-bar {
	background-color: orange !important;
}

.progress-medium {
	color: orange;
}

/* progress-long: */
.progress-long::-webkit-progress-bar {
	border: 1px solid red;
	background-color: white;
	border-radius: 6px;
	height: stretch;
}

.progress-long {
	border: 1px solid red;
	background-color: white;
	border-radius: 6px;
	height: stretch;
}

.progress-long::-webkit-progress-value {
	background-color: red !important;
}

.progress-long::-moz-progress-bar {
	background-color: red !important;
}

.progress-long {
	color: red;
}

.category-short {
	border: 2px solid green;
	border-radius: 6px;
	color: green;
	text-align: center;
}

.category-medium {
	border: 2px solid orange;
	border-radius: 6px;
	color: orange;
	text-align: center;
}

.category-long {
	border: 2px solid red;
	border-radius: 6px;
	color: red;
	text-align: center;
}

.category-standby {
	border: 2px solid gray;
	border-radius: 6px;
	color: gray;
	text-align: center;
}

.status-available {
	background: green;
	border: 2px solid green;
	border-radius: 6px;
	color: white;
	text-align: center;
}

.status-warning {
	background: orange;
	border: 2px solid orange;
	border-radius: 6px;
	color: white;
	text-align: center;
}

.status-blocked {
	background: red;
	border: 2px solid red;
	border-radius: 6px;
	color: white;
	text-align: center;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.gap-025rem {
	gap: 0.25rem;
}

.gap-05rem {
	gap: 0.5rem;
}

/*
Full screen Modal 
*/
.fullscreen-modal .modal-dialog {
	margin: 0;
	margin-right: auto;
	margin-left: auto;
	width: 100%;
}

.modal-xlg {
	max-width: 1100px;
}

@media (min-width: 768px) {
	.fullscreen-modal .modal-dialog {
		width: 750px;
	}
}

@media (min-width: 992px) {
	.fullscreen-modal .modal-dialog {
		width: 970px;
	}
}

@media (min-width: 1200px) {
	.fullscreen-modal .modal-dialog {
		width: 1170px;
	}
}

fieldset {
	border: 1px groove #ddd !important;
	border-radius: 5px;
	padding: 1em 1em 0 1em !important;
	margin: 0 0 1em 0 !important;
	-webkit-box-shadow: 0px 0px 0px 0px #000;
	box-shadow: 0px 0px 0px 0px #000;
}

legend {
	font-size: 1.1em !important;
	font-weight: bold !important;
	text-align: left !important;
	width: auto;
	padding: 0 7px;
	/*padding: 0 10px;*/
	border-bottom: none;
	margin-bottom: 0px !important;
}

.w-1 {
	width: 120px;
}

.w-2 {
	width: 150px;
}

.w-3 {
	width: 180px;
}

.w-4 {
	width: 210px;
}

.w-5 {
	width: 240px;
}

.vertical-center {
	display: flex;
	align-items: center;
	justify-content: center;
}

.picker .btn-danger {
	color: white !important;
}

.select2-container--open {
	z-index: 9999 !important;
}

.page-inner .page-login-wrapper {
	padding-left: 0px !important;
}

.tms-page-footer {
	position: absolute;
	bottom: 15px;
	left: 50%;
	margin-left: -100px;
	width: 200px;
}

.header-btn {
	margin-right: 0px !important;
	padding-left: 0px !important;
}

.page-sidebar-header {
	margin-left: 7px;
}

.page-sidebar-header .user-full-name {
	font-size: 12pt;
}



.nav-menu li a {
	font-size: 0.8125rem !important;
}

.frame-wrap {
	margin-bottom: 1rem;
}

thead .select-checkbox {
	text-align: center;
}

.form-group:last-child, .form-group:only-child {
	margin-bottom: 1.1rem !important;
	/*margin-bottom: 1.5rem !important;*/
}

table.dataTable tbody > tr.selected, table.dataTable tbody > tr > .selected {
	-webkit-box-shadow: unset !important;
	box-shadow: unset !important;
}

.badge-outline-primary {
	color: #405189;
	border: 1px solid #405189
}
.badge-outline-info {
	color: #3da5f4;
	border: 1px solid #3da5f4
}
.badge-outline-danger {
	color: #f1536e;
	border: 1px solid #f1536e
}
.badge-outline-success {
	color: #00c689;
	border: 1px solid #00c689
}
.badge-outline-warning {
	color: #fda006;
	border: 1px solid #fda006
}

/* phone */
@media only screen and (max-width: 600px) {
	body {
		font-size: 12px;
		/*font-size: 13px;*/
	}

	.dataTables_length {
		display: block;
		margin-left: auto;
		margin-right: auto
	}

	.dataTables_filter {
		display: block;
		margin-left: auto;
		margin-right: auto
	}
}
/* tablets and up */
/* impact to panel button
@media only screen and (min-width: 768px) {
	.panel-toolbar .btn {
		width: 125px;
	}
}*/
/* desktop and up */
@media only screen and (max-width: 992px) {
	.nav-menu li a {
		font-size: 14px !important;
		/*font-size: 15px !important;*/
	}

	body, .form-control, .dropdown-menu, .btn {
		font-size: 12px !important;
		/*font-size: 13px !important;*/
	}

	.page-wrapper .page-content .subheader {
		margin-bottom: 0px !important;
	}

	.dataTables_wrapper .dataTables_paginate .pagination .page-item > .page-link {
		padding: 1.1rem !important;
		font-size: 1rem !important;
	}
}

.wait { cursor: wait !important; }

#myOverlay {
	height: 100%;
	width: 100%;
	position: fixed;
	z-index: 10001;
	top: 0;
	left: 0;
	background-color: transparent !important;
	overflow: hidden;
	display: none;
}

#myOverlay-image {
	position: absolute;
	top: 25%;
	left: 50%;
	z-index: 100;
}

.border-left-radius-0 {
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
}

.border-right-radius-0 {
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

.border-radius-0 {
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}