@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap&subset=latin-ext');

body {
	font-family: 'Roboto', sans-serif;
	font-size: 14px !important;
	background-color: #ecf0f5;
}

html {
	height: 100%;
}

body {
	min-height: 100%;
	position: relative;
}

#header h1 {
	margin-top: 10px;
}

.breadcrumb>li+li:before {
	color: #ccc;
	content: ">" !important;
}

.breadcrumb {
	background-color: transparent !important;
	padding: 12px 0px;
}

.breadcrumb a {
	color: #000;
}

#center {
	transition: .3s ease-out;
}

:root {
	--blue: #667bff;
}

.title_div {
	height: 40px;
	cursor: default;
}

.title_div div {
	height: 40px;
	line-height: 40px !important;
	overflow: hidden;
}

.title_capital {
	display: inline-block;
}

.title_hidden {
	display: inline-block;
	transition: all .3s ease-out;
	overflow: hidden;
	max-width: 0px;
}

.alert_notification_line {
	font-size: 12px;
	padding: 3px 5px 3px 20px;
	border-bottom: 1px solid #CCC;
}

.alert_type_1 {}

.alert_type_2 {}

#alert_notifications_container {
	max-height: 300px;
	width: 260px;
	overflow-y: scroll;
	margin-right: 3px;
}

#new_notification_count {
	padding: 1px 3px 2px 2px;
	font-size: 9px;
}

#alert_notifications_container .unread {
	background-color: #EEEEEE;
}

#alert_notifications .dropdown-divider {
	margin: 0px !important;
}

#alert_notifications_container::-webkit-scrollbar {
	width: 3px;
}

#alert_notifications_container::-webkit-scrollbar-track {
	background: #f1f1f1;
}

#alert_notifications_container::-webkit-scrollbar-thumb {
	background: #888;
}

#alert_notifications_container::-webkit-scrollbar-thumb:hover {
	background: #555;
}

#alert_notifications .dropdown-menu {
	padding: 5px 0px 0px 0px !important;
}

.alarm_notification_line {
	font-size: 12px;
	padding: 3px 5px 3px 20px;
	border-bottom: 1px solid #CCC;
}

.alarm_type_1 {}

.alarm_type_2 {}

#alarm_notifications_container {
	max-height: 300px;
	width: 260px;
	overflow-y: scroll;
	margin-right: 3px;
}

#new_alarm_notification_count {
	padding: 1px 3px 2px 2px;
	font-size: 9px;
}

#alarm_notifications_container .unread {
	background-color: #EEEEEE;
}

#alarm_notifications .dropdown-divider {
	margin: 0px !important;
}

#alarm_notifications_container::-webkit-scrollbar {
	width: 3px;
}

#alarm_notifications_container::-webkit-scrollbar-track {
	background: #f1f1f1;
}

#alarm_notifications_container::-webkit-scrollbar-thumb {
	background: #888;
}

#alarm_notifications_container::-webkit-scrollbar-thumb:hover {
	background: #555;
}

#alarm_notifications .dropdown-menu {
	padding: 5px 0px 0px 0px !important;
}

.health_notification_line {
	font-size: 12px;
}

#health_notifications_container {
	max-height: 300px;
	width: 260px;
	overflow-y: scroll;
	margin-right: 3px;
}

#new_health_notification_count {
	padding: 1px 3px 2px 2px;
	font-size: 9px;
}

#health_notifications_container::-webkit-scrollbar {
	width: 3px;
}

#health_notifications_container::-webkit-scrollbar-track {
	background: #f1f1f1;
}

#health_notifications_container::-webkit-scrollbar-thumb {
	background: #888;
}

#health_notifications_container::-webkit-scrollbar-thumb:hover {
	background: #555;
}

#health_notifications .dropdown-menu {
	padding: 5px 0px 0px 0px !important;
}

#health_notifications_wrapper .alert {
	padding: 2px 5px;
	margin: 0px;
	border-radius: 0px;
}

.notifyjs-corner {
	top: 80px !important;
}

.btn-group-xs>.btn,
.btn-xs {
	padding: 2px;
	font-size: 9px;
	line-height: 9px;
	border-radius: 1px;
	margin-bottom: 2px;
}

.btn-xs>.fa {
	font-size: 12px;
}

@media only screen and (max-width: 575px) {}

@media only screen and (min-width: 576px) {
	#top:hover .title_hidden {
		max-width: 200px;
	}
}

@media only screen and (min-width: 576px) and (max-width: 767px) {}

@media only screen and (min-width: 768px) and (max-width: 991px) {}

@media only screen and (min-width: 992px) and (max-width: 1199px) {}

@media only screen and (min-width: 1200px) {}

@media only screen and (max-width: 991px) {
	#header h1 {
		font-size: 26px !important;
	}

	ol.breadcrumb {}
}

@media only screen and (min-width: 992px) {
	#header-breadcrumb {
		height: 70px;
	}

	#header h1 {
		float: left;
		font-size: 26px !important;
	}

	ol.breadcrumb {
		float: right;
	}
}

/* TOP BAR */
#top {
	height: 80px;
	background-color: #222d32;
	color: #FFF;
	line-height: 40px;
}

#top .left {
	float: left;
}

#top .center {
	float: left;
	font-size: 24px;
}

#top .right {
	float: right;
}

#sidebarCollapse {
	width: 40px;
	height: 40px;
	background-color: transparent;
	color: #FFF;
	border: 0px none;
	padding: 0px;
}

/* MENU */
#sidebar {
	background-color: #222d32;
	height: 100%;
	max-width: 240px;
	float: left;
	position: absolute;
}

#sidebar_menu {
	max-width: 240px;
	transition: .3s ease-out;
	color: #FFF;
}

#sidebar_menu ul {
	padding: 0px;
	margin: 0px;
}

#sidebar_menu li {
	list-style: none;
	padding: 0px;
	margin: 0px;
	display: block;
}

#sidebar_menu i:not(.dropdown-arrow) {
	font-size: 16px;
	width: 18px;
}

#sidebar_menu a {
	padding: 0 0 0 10px;
	color: #b8c7ce;
	width: 100%;
	overflow: hidden;
	display: block;
}

#sidebar_menu>ul>li>a {
	height: 40px;
	line-height: 40px !important;
}

#sidebar_menu>ul ul {
	background-color: #333e43;
}

#sidebar_menu>ul ul i {
	font-size: 12px;
}

#sidebar_menu>ul ul li a {
	height: 30px;
	line-height: 30px;
}

#sidebar_menu a:hover {
	background-color: rgb(26, 34, 38);
	text-decoration: none;
	color: #FFF;
}

#sidebar_menu>ul>li>a>span {
	display: none;
}

@media only screen and (max-width: 991px) {
	#page {
		position: relative;
	}

	#sidebar {
		position: absolute;
		top: 80px;
		left: 0px;
		width: 240px;
		min-height: 100%;
		transition: .3s ease-out;
		z-index: 10000;
	}

	#sidebar_menu>ul>li {
		position: relative;
	}

	#sidebar_menu span {
		display: inline !important;
		padding-left: 5px;
	}

	#middle:not(.menu_expand) #sidebar {
		transform: translateX(-100%);
	}

	#sidebar_menu>ul>li>ul {
		transition: .3s;
	}

	#sidebar_menu>ul>li:not(.expand) ul {
		max-height: 0px;
		overflow: hidden;
	}

	/* active */
	#middle.menu_expand #sidebar {
		transform: translateX(0);
	}

	#middle.menu_expand #sidebar_menu>ul>li.expand ul {
		max-height: 300px;
	}

	#middle.menu_expand #sidebar_menu li span {}

	#middle #sidebar_menu>ul>li>a>.dropdown-arrow {
		position: absolute;
		right: 10px;
		top: 15px;
		font-size: 10px;
		transition: .3s;
	}

	#middle.menu_expand #sidebar_menu>ul>li.expand>a>.dropdown-arrow {
		transform: rotate(90deg);
	}
}

@media only screen and (min-width: 992px) {
	#sidebar_menu {
		width: 40px;
		float: left;
	}

	#sidebar_menu * {}

	/* active */
	#middle.menu_expand #center {
		margin-left: 240px;
	}

	#middle.menu_expand #sidebar_menu {
		width: 240px;
	}

	#middle.menu_expand #sidebar_menu li span {
		display: inline;
		padding-left: 5px;
	}

	#middle.menu_expand #sidebar_menu>ul>li>ul {
		max-height: 300px;
		overflow: hidden;
		transition: .5s ease-out;
	}

	#middle.menu_expand #sidebar_menu>ul>li:not(.expand)>ul {
		max-height: 0px;
		transition: .5s ease-out;
	}

	#middle.menu_expand #sidebar_menu>ul>li>a {
		position: relative;
	}

	#middle.menu_expand #sidebar_menu>ul>li>a>.dropdown-arrow {
		position: absolute;
		right: 10px;
		top: 15px;
		font-size: 10px;
		transition: .3s;
	}

	#middle.menu_expand #sidebar_menu>ul>li.expand>a>.dropdown-arrow {
		transform: rotate(90deg);
	}

	/* not active */
	#middle:not(.menu_expand) #center {
		margin-left: 40px;
	}

	#middle:not(.menu_expand) #sidebar_menu>ul>li {
		position: relative;
	}

	#middle:not(.menu_expand) #sidebar_menu>ul>li>a>span {
		position: absolute;
		top: 0px;
		left: 40px;
		background-color: #000;
		width: 180px;
		display: none;
		padding-left: 10px;
		color: #FFF;
		z-index: 10000;
	}

	#middle:not(.menu_expand) #sidebar_menu>ul>li>ul {
		position: absolute;
		top: 40px;
		left: 40px;
		background-color: #333e43;
		width: 180px;
		display: none;
		z-index: 10000;
	}

	#middle:not(.menu_expand) #sidebar_menu>ul>li>ul span {
		padding-left: 5px;
	}

	#middle:not(.menu_expand) #sidebar_menu>ul>li:hover>a>span {
		display: block;
	}

	#middle:not(.menu_expand) #sidebar_menu>ul>li:hover>ul {
		display: block;
	}

	#middle:not(.menu_expand) #sidebar_menu>ul>li>a>.dropdown-arrow {
		display: none;
	}
}

/* CARD */

.card {
	display: block;
	margin-bottom: 15px;
}

.card-primary {
	border-top: 3px solid #333e43;
}

.card-header {
	font-size: 18px;
	background-color: transparent;
	font-weight: 700;
}

/* OFFLINE DEVICE */
.device_offline {
	animation: blinkingBackground 5s infinite;
}

@keyframes blinkingBackground {
	0% {
		background-color: #FFFFFF;
	}

	50% {
		background-color: #FF9999;
	}

	100% {
		background-color: #FFFFFF;
	}
}

/* CHECKBOX */
.switch {
	position: relative;
	display: inline-block;
	height: 34px;
	padding-left: 65px;
	padding-top: 6px;
	margin: 0px;
}

.switch input {
	display: none !important;
	opacity: 0 !important;
	width: 0 !important;
	height: 0 !important;
}

.switch input:checked+.slider {
	background-color: #17a2b8;
}

.switch .slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	transition: .4s;
	background-color: #CCC;
	width: 60px;
}

.switch .slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: #FFF;
	transition: .4s;
}

.switch input:checked+.slider:before {
	transform: translateX(26px);
}

.switch_sm {
	position: relative;
	display: inline-block;
	height: 21px;
	padding-left: 36px;
	padding-top: 0px;
	margin: 0px;
}

.switch_sm input {
	display: none !important;
	opacity: 0 !important;
	width: 0 !important;
	height: 0 !important;
}

.switch_sm input:checked+.slider {
	background-color: #17a2b8;
}

.switch_sm .slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	transition: .4s;
	background-color: #CCC;
	width: 32px;
}

.switch_sm .slider:before {
	position: absolute;
	content: "";
	height: 13px;
	width: 13px;
	left: 4px;
	bottom: 4px;
	background-color: #FFF;
	transition: .4s;
}

.switch_sm input:checked+.slider:before {
	transform: translateX(11px);
}


/* INPUT, BUTTON, TEXTBOX */
input,
textarea,
button,
select,
a.btn,
.select2-selection,
.dropdown-menu {
	border-radius: 0px !important;
	font-size: 14px !important;
}

.select2 {
	width: 100% !important;
}

.select2-selection {
	border-color: #ced4da !important;
	padding: 6px 4px;
	height: auto !important;
}

.select2-selection__rendered {
	line-height: unset !important;
}

.select2-selection__arrow {
	height: 34px !important;
}

/* PAGING */
#paging {}

#paging ul:before {
	content: " ";
}

#paging ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
	display: inline-block;
}

#paging li {
	float: left;
	text-align: center;
	margin: 1px;
	padding: 0px;
}

#paging li a {
	border: 1px solid #CCC;
	padding: 5px 10px;
	float: left;
	text-align: center;
}

#paging li.current {}

#paging li.active a {
	border: 1px solid #666;
	background-color: #666;
	color: #FFF;
}

/* USER MENU */
#top_menus {
	padding-right: 10px;
}

#top_menus button {
	background-color: transparent;
	border: 0px none;
}

#top_menus .dropdown-menu {
	line-height: normal;
}

#new_notification_count {
	transform: translateY(-7px);
}

button:focus,
button.form-control:focus,
textarea:focus,
textarea.form-control:focus,
input.form-control:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=number]:focus,
[type=text].form-control:focus,
[type=password].form-control:focus,
[type=email].form-control:focus,
[type=tel].form-control:focus,
[contenteditable].form-control:focus {
	box-shadow: inset 0 0px 0 #ddd !important;
}

button:focus {
	outline: none !important;
}

/* TABS */
.nav-tabs .nav-item a {
	border-top: 3px solid transparent;
}

.nav-tabs .nav-item .active {
	border-top: 3px solid #333e43 !important;
}

.tab-content {
	border: 1px solid rgb(222, 226, 230);
	border-top: 0px none;
	padding: 15px;
	background-color: #FFF;
	margin-bottom: 15px;
}

/* LABEL */
label {
	font-weight: 700 !important;
}

/* LINK */
a {
	color: #17a2b8;
}

/* WORKING ICON */
.working {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background-color: rgba(255, 255, 255, .8);
}

.working .center {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
}

/* BADGE */
.badge-pill i {
	width: 20px;
}