/* --- FONTS --- */

/* TODO: verify if all fonts are being used */

/* ~ BebasNeue ~ */

@font-face {
	font-family: 'BebasNeue';
	src: url('../fonts/BebasNeue-Regular.ttf');
}

/* ~ Open Sans ~ */

@font-face {
	font-family: 'Open Sans';
	src: url('../fonts/Open-Sans/OpenSans-Light.ttf') format("ttf");
	font-weight: 300;
}

@font-face {
	font-family: 'Open Sans';
	src: url('../fonts/Open-Sans/OpenSans-Regular.ttf');
}

@font-face {
	font-family: 'Open Sans';
	src: url('../fonts/Open-Sans/OpenSans-SemiBold.ttf');
}

@font-face {
	font-family: 'Open Sans';
	src: url('../fonts/Open-Sans/OpenSans-Bold.ttf');
}

/* ~ Akrobat ~ */

@font-face {
	font-family: 'Akrobat';
	src: url('../fonts/Akrobat/Akrobat-Thin.woff') format("woff");
	font-weight: 100;
}

@font-face {
	font-family: 'Akrobat';
	src: url('../fonts/Akrobat/Akrobat-ExtraLight.woff') format("woff");
	font-weight: 200;
}

@font-face {
	font-family: 'Akrobat';
	src: url('../fonts/Akrobat/Akrobat-Light.woff') format("woff");
	font-weight: 300;
}

@font-face {
	font-family: 'Akrobat';
	src: url('../fonts/Akrobat/Akrobat-Regular.woff') format("woff");
}

@font-face {
	font-family: 'Akrobat';
	src: url('../fonts/Akrobat/Akrobat-SemiBold.woff') format("woff");
	font-weight: 700;
}

@font-face {
	font-family: 'Akrobat';
	src: url('../fonts/Akrobat/Akrobat-Bold.woff') format("woff");
	font-weight: 800;
}

@font-face {
	font-family: 'Akrobat';
	src: url('../fonts/Akrobat/Akrobat-ExtraBold.woff') format("woff");
	font-weight: 900;
}

@font-face {
	font-family: 'Akrobat';
	src: url('../fonts/Akrobat/Akrobat-Black.woff') format("woff");
	font-weight: 1000;
}

/* --- GLOBALS --- */

/* ~ Links ~ */

a {
	text-decoration: none !important
}

/* ~ Rounded ~ */

.__rounded-100 {
	border-radius: 100% !important
}

.__rounded {
	border-radius: 10px !important
}

.__rounded-tl {
	border-top-left-radius: 10px !important
}

.__rounded-tr {
	border-top-right-radius: 10px !important
}

.__rounded-bl {
	border-bottom-left-radius: 10px !important
}

.__rounded-br {
	border-bottom-right-radius: 10px !important
}

/* ~ Shadow ~ */

.__shadow {
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
}

/* ~ Go back button ~ */

.go-back {
	height: 64px;
	cursor: pointer;
	transition: .3s
}

.go-back:hover {
	padding-left: 1rem !important;
	padding-right: 1rem !important;
	background-color: gray;
}

.go-back:hover svg path {
	fill: white;
}

.go-back svg path {
	height: 25px;
	fill: #6DCFF6
}

/* ~ CARD ~ */

.__card {
	background-color: white;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	position: relative;
	z-index: 1;
}

.__card-body {
	padding: 1rem;
}

/* ~ FILTERS ~ */

.filters-content .__card {
	border-bottom: 4px solid #6DCFF6;
}

.filters-handle {
	font-weight: 900;
	color: #6DCFF6;
	background-color: #fff;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	transition: .3s
}

.filters-handle svg {
	fill: #6DCFF6;
}

.filters-handle:hover, .filters-handle:focus {
	color: #fff;
	background-color: #6DCFF6;
}

.filters-handle:hover svg, .filters-handle:focus svg {
	fill: #fff;
}

.filters .btn-filter {
	border-radius: 10px 0 6px 0 !important;
	font-weight: 800;
	font-size: 1.2rem;
	border-color: #6DCFF6;
	background-color: #6DCFF6;
}

@media (max-width: 768px) {
	.filters .btn-filter {
		width: 100%;
		border-radius: 0px 0 6px 6px !important;
	}
}

/* ~ BLOCK UI MESSAGE ~ */

.block-ui-message {
	border-radius: 10px
}

/* ~ SWITCH ~ */

.switch {
	font-size: 1rem;
	position: relative;
}

.switch input {
	position: absolute;
	height: 1px;
	width: 1px;
	background: none;
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	padding: 0;
}

.switch input+label {
	position: relative;
	min-width: calc(calc(2.375rem * .8) * 2);
	border-radius: calc(2.375rem * .8);
	height: calc(2.375rem * .8);
	line-height: calc(2.375rem * .8);
	display: inline-block;
	cursor: pointer;
	outline: none;
	user-select: none;
	vertical-align: middle;
	text-indent: calc(calc(calc(2.375rem * .8) * 2) + .5rem);
}

.switch input+label::before, .switch input+label::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: calc(calc(2.375rem * .8) * 2);
	bottom: 0;
	display: block;
}

.switch input+label::before {
	right: 0;
	background-color: #dee2e6;
	border-radius: calc(2.375rem * .8);
	transition: 0.2s all;
}

.switch input+label::after {
	top: 2px;
	left: 2px;
	width: calc(calc(2.375rem * .8) - calc(2px * 2));
	height: calc(calc(2.375rem * .8) - calc(2px * 2));
	border-radius: 50%;
	background-color: white;
	transition: 0.2s all;
}

.switch input:checked+label::before {
	background-color: #08d;
}

.switch input:checked+label::after {
	margin-left: calc(2.375rem * .8);
}

.switch input:focus+label::before {
	outline: none;
	box-shadow: 0 0 0 0.2rem rgba(0, 136, 221, 0.25);
}

.switch input:disabled+label {
	color: #868e96;
	cursor: not-allowed;
}

.switch input:disabled+label::before {
	background-color: #e9ecef;
}

.switch.switch-sm {
	font-size: 0.875rem;
}

.switch.switch-sm input+label {
	min-width: calc(calc(1.9375rem * .8) * 2);
	height: calc(1.9375rem * .8);
	line-height: calc(1.9375rem * .8);
	text-indent: calc(calc(calc(1.9375rem * .8) * 2) + .5rem);
}

.switch.switch-sm input+label::before {
	width: calc(calc(1.9375rem * .8) * 2);
}

.switch.switch-sm input+label::after {
	width: calc(calc(1.9375rem * .8) - calc(2px * 2));
	height: calc(calc(1.9375rem * .8) - calc(2px * 2));
}

.switch.switch-sm input:checked+label::after {
	margin-left: calc(1.9375rem * .8);
}

.switch.switch-lg {
	font-size: 1.25rem;
}

.switch.switch-lg input+label {
	min-width: calc(calc(3rem * .8) * 2);
	height: calc(3rem * .8);
	line-height: calc(3rem * .8);
	text-indent: calc(calc(calc(3rem * .8) * 2) + .5rem);
}

.switch.switch-lg input+label::before {
	width: calc(calc(3rem * .8) * 2);
}

.switch.switch-lg input+label::after {
	width: calc(calc(3rem * .8) - calc(2px * 2));
	height: calc(calc(3rem * .8) - calc(2px * 2));
}

.switch.switch-lg input:checked+label::after {
	margin-left: calc(3rem * .8);
}

.switch+.switch {
	margin-left: 1rem;
}

/* ~ Multi Select ~ */

/* Obs.: the "isteven-multi-select" library creates .multiselect to the element itself and a directed span child called .multiSelect */

isteven-multi-select, .multiSelect, .multiSelect .checkboxLayer {
	width: 100% !important
}

/* When items selected */

isteven-multi-select.selected .multiSelect>button {
	border-color: forestgreen;
	color: forestgreen;
	font-weight: 800
}

/* When .multiSelect main button is clicked  */

isteven-multi-select.open .multiSelect>button {
	border-bottom-left-radius: 0px !important;
	border-bottom-right-radius: 0px !important;
}

.multiSelect>button {
	transition: .3s
}

.multiSelect .clearButton, .multiSelect .helperButton {
	transition: .3s;
	font-weight: 700
}

.multiSelect .clearButton:hover {
	color: white;
	background-color: dimgray;
}

/* .multiSelect header lines */

.multiSelect .helperContainer .line {
	max-height: 100px !important
}

.multiSelect .helperContainer .line:first-child {
	display: flex;
	justify-content: space-between;
}

/* .multiSelect header buttons */

.multiSelect .helperButton:hover {
	color: white
}

.multiSelect .helperButton:first-child {
	width: 60%;
}

.multiSelect .helperButton:last-child {
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
	width: 30%;
}

.multiSelect .helperButton:first-child:hover {
	background-color: lightseagreen;
}

.multiSelect .helperButton:last-child:hover {
	background-color: indianred;
}

/* .multiSelect main button | .multiSelect body items:hover */

.multiSelect>button, .multiSelect .multiSelectItem:hover {
	background-image: none !important;
}

/* .multiSelect main button:hover | .multiSelect body items:hover */

.multiSelect>button:hover, .multiSelect .multiSelectItem:hover {
	color: #444 !important;
	background-color: rgba(0, 0, 0, 0.05);
}

/* .multiSelect main button */

.multiSelect button, input, .multiSelect .multiSelectItem:hover, .multiSelect .multiSelectItem.selected, .search-card-footer button {
	/* border-radius: .25rem !important; */
	border-radius: 10px !important;
}

/* .multiSelect main button | .multiSelect body */

.multiSelect>button, .multiSelect .checkboxLayer {
	width: 100% !important
}

.multiSelect .checkboxLayer, .multiSelect .multiSelectItem {
	min-width: auto !important
}

.multiSelect .checkboxLayer {
	border-radius: 0 0 10px 10px;
}

.multiSelect .checkboxLayer.show {
	animation: show .3s;
}

@keyframes show {
	0% {
		opacity: 0;
		height: 0
	}
	100% {
		opacity: 1;
		height: auto
	}
}

/* --- SEARCH CARDS --- */

/* TODO: change to .search class */

.search-card, .search-results {
	position: relative;
	border-radius: 10px;
	background-color: white;
	box-shadow: 0 0px 10px rgba(0, 0, 0, 0.05);
}

.search-card .infos {
	cursor: pointer
}

.search-card .switch label {
	font-weight: 800
}

/* ~ header ~ */

.search-card-header {
	border-radius: 10px 10px 0 0;
	background-color: #6DCFF6;
	color: white;
}

.search-card-header>.wrapper, .search-card-header>.title {
	padding: 10px 20px;
}

.search-card-header .title {
	font-weight: 800
}

/* ~ header type 2 ~ */

.search-card-header-type-2 {
	border-radius: 10px 10px 0 0;
	color: grey;
}

.search-card-header-type-2>.wrapper, .search-card-header-type-2>.title {
	padding: 5px 25px;
}

.search-card-header-type-2 .title {
	font-weight: 700
}

/* ~ header badge ~ */

.search-card-header-badge {
	border-top-right-radius: 10px;
	transition: .3s
}

.search-card-header-badge .switch input+label::before, .search-card-header-badge .switch input:checked+label::before {
	background-color: #dee2e6;
}

#search-input-dest {
	height: 18px;
	padding: 17px;
  	padding-left: 8px;
  	width: 300px;
  	border: 1px solid #f5f5f5;
  	font-size: 16px;
  	color: black;
 	outline: 0;
}

.inner-addon {
	position: relative;
  }

  /* style glyph */
.inner-addon .glyphicon {
	position: absolute;
	padding: 10px;
	padding-left: 25px;
	pointer-events: visibleFill;
}

  /* align glyph */
.left-addon .glyphicon  { left:  0px;}
.right-addon .glyphicon { right: 0px;}

  /* add padding  */
.left-addon input  { padding-left:  38px; }
.right-addon input { padding-right: 30px; }

.fa-search {
	color: #000;
}

.opacity-fifty-percent {
	opacity: 50%;
}

.table-responsive-md {
	table-layout: auto;
}

/* ~ wrapper ~ */

.search-card>.wrapper, .search-results .wrapper {
	padding: 20px;
}

/* ~ wrapper ~ */

.search-card-body label {
	font-weight: 800
}

.search-card-body input[type="date"] {
	border-radius: 10px 0 0 10px !important;
}

.search-card-body input[type="date"] {
	border-radius: 10px 0 0 10px !important;
}

.search-card-body input[type="time"] {
	border-radius: 0 10px 10px 0 !important;
}

/* ~ footer ~ */

.search-card-footer .btnPesquisar {
	border-radius: 10px 0 10px 0 !important;
	font-weight: 800;
	font-size: 1.2rem
}

/* --- SEARCH RESULTS --- */

.search-results {
	transition: .3s border-color;
	border-top: 10px solid #6DCFF6;
}

.search-results-header .title {
	color: #6DCFF6;
	font-weight: 800
}

.search-results .results-options {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 10;
}

.search-results .results-options .export .handler:hover, .search-results .results-options .view-graphs:hover, .search-results .results-options .export .handler:focus, .search-results .results-options .view-graphs:focus {
	padding-left: 25px !important;
	padding-right: 25px !important;
}

.search-results table th, .search-results table td {
	text-align: center;
	vertical-align: middle;
}

.search-results table .actions button img {
	width: 20px
}

/* --- RESULTS OPTIONS --- */

.results-options>div {
	display: flex;
	justify-content: flex-end;
}

.results-options>div img, .results-options>div svg {
	width: 20px
}

.results-options .export .handler, .results-options .view-graphs, .results-options .export .dropdown-item {
	cursor: pointer;
}

.results-options .export .handler, .results-options .view-graphs {
	color: white;
	transition: all .4s, background .3s;
}

.results-options .export .handler {
	background-color: #6DCFF6;
	border-radius: 0 0 0 10px;
}

.results-options .view-graphs {
	background-color: darkorange;
	border-radius: 10px 0 0 10px;
}

/* --- MODALS --- */

/* ~ Exportable modals ~ */

.modal.exportable .modal-header {
	padding: 0;
	align-items: center;
}

.modal.exportable .modal-header .close {
	border-top-right-radius: 10px;
	transition: .3s;
	margin: 0;
}

.modal.exportable .modal-header .results-options .export .handler {
	padding: 1rem;
	border-radius: 10px 0 0 0;
	background-color: white;
	transition: .3s
}

.warning-icon {
	filter: invert(67%) sepia(45%) saturate(6146%) hue-rotate(12deg) brightness(110%) contrast(105%);
	width: 1.3rem;
	vertical-align: top;
}

.checkbox-sm {
	width: 1.2rem;
	height: 1.2rem;
	vertical-align: middle;
}

.modal.exportable .modal-header .results-options .export .handler p {
	color: darkorange;
	font-weight: 900;
	transition: .3s
}

.modal.exportable .modal-header .results-options .export .handler svg {
	fill: darkorange;
	transition: .3s
}

.dark-icon {
	filter: invert(30%) ;
}

/* Hovers */

.modal.exportable .modal-header .results-options .export .handler:hover {
	background-color: darkorange;
}

.modal.exportable .modal-header .results-options .export .handler:hover p {
	color: white;
}

.modal.exportable .modal-header .results-options .export .handler:hover svg {
	fill: white;
}

/* ~ Configs for echarts ~ */

.modal-body .graph.echarts {
	height: 450px;
	width: 100%
}

/* ~ Large modals ~ */

@media (min-width: 768px) {
	.modal-xl {
		width: 90%;
		max-width: 1200px;
	}
}

.modal .comparativos .title, .modal .maquina-especifica .title {
	font-weight: 800;
	background-color: dimgray;
	color: white;
	/* border-left: calc(1.75rem / 2) solid white; */
	/* padding: 5px 10px */
}

/* --- ECHARTS --- */

@media (max-width: 768px) {
	.graph.echarts {
		min-height: 100%
	}
}

/* --- BODY --- */

body {
	background-color: whitesmoke;
	font-family: 'Akrobat';
}

/* --- .side-nav / NAV --- */

.side-nav {
	position: fixed;
	z-index: 1000;
	transition: .6s;
	height: 100%;
	margin-top: 64px
}

.side-nav nav {
	box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.3);
}

.side-nav nav {
	/* font-family: 'Open Sans', sans-serif; */
	background-color: #6DCFF6;
	/* TODO: verify necessity */
	flex: 0 0 auto;
	white-space: nowrap;
	/* --- */
	height: 100%;
	position: relative;
	z-index: 1;
	max-width: 211px;
	min-width: 70px;
	transition: box-shadow .6s;
}

/* .side-nav:hover nav {
  box-shadow: none;
} */

.side-nav nav .nav-body .nav-item p {
	font-weight: 500
}

.side-nav._hide {
	transform: translateX(-100%);
}

.side-nav .compressed {
	width: 70px;
}

.side-nav .expanded {
	width: 211px;
}

.side-nav nav .nav-header img, .side-nav nav .nav-footer img {
	width: 100%;
	max-width: 80px;
	display: block;
}

.side-nav nav .nav-body .nav-item {
	border-radius: 10px;
	cursor: pointer;
	transition: .3s;
	width: 100%;
}

.side-nav nav .nav-body .nav-item:hover {
	background-color: rgba(0, 0, 0, 0.08);
}

.side-nav nav .nav-body .nav-item svg {
	min-width: 24px;
	max-width: 24px;
	fill: white
}

.side-nav nav .nav-body .nav-item p {
	color: white;
}

.side-nav nav .nav-body .nav-item.active {
	background-color: white;
	color: #6DCFF6;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.08)
}

.side-nav nav .nav-body .nav-item.active svg {
	fill: #6DCFF6;
}

.side-nav nav .nav-body .nav-item.active:not(:first-child) svg {
	stroke: #6DCFF6;
}

.side-nav nav .nav-body .nav-item.active p {
	color: #6DCFF6;
	font-weight: 900
}

.side-nav nav .nav-body .nav-item .dropdown-toggle::after {
	display: none !important
}

.side-nav nav .nav-body .nav-item .dropdown-toggle::after {
	color: white;
}

.side-nav nav .nav-body .nav-link {
	display: flex;
	align-items: center;
	width: 100%;
}

.side-nav nav .nav-body p {
	opacity: 1;
	padding-left: 10px;
	overflow: hidden;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	white-space: nowrap;
}

.side-nav nav .nav-body hr {
	display: block;
	padding: .5rem 1rem;
	/* width: 20%; */
	border-top: 2px solid rgba(255, 255, 255, .4);
}

.side-nav nav .nav-footer {
	position: relative;
	overflow: hidden;
	/* height: 50px; */
}

.side-nav nav .nav-footer div {
	border-right: 2px solid rgba(255, 255, 255, 0.5);
	height: 70%;
}

.side-nav nav:hover~.splitter, .splitter:hover, .splitter:active {
	padding: 8px;
}

.splitter {
	flex: 0 0 auto;
	transition: .5s;
	padding: 0;
	/* background-color: #e6e7e8; */
	/* background-color: white; */
	cursor: col-resize;
	position: relative;
	z-index: 1001;
	height: 100vh;
}

.splitter .handle, .splitter .arrow {
	position: absolute;
}

.splitter .arrow {
	width: 200%;
	height: 40px;
	cursor: pointer;
	fill: dimgray;
	transition: width .6s, fill .3s;
	border-radius: 10px;
	background-color: white;
	transform: translateX(-25%);
	box-shadow: 0 0 10px rgba(0, 0, 0, .05);
}

.splitter .arrow:hover, .splitter .arrow.active {
	fill: #6DCFF6;
}

.splitter .arrow.expanded {
	transform: translateX(-25%) rotate(180deg);
}

/* --- NAVBAR --- */

.navbar {
	background-color: white;
	color: dimgray;
	/* padding: .5rem 1rem; */
	padding: 0;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	z-index: 999
}

.navbar a {
	color: inherit;
}

.navbar a:hover {
	text-decoration: none
}

.navbar .init {
	background-color: #6DCFF6;
}

.navbar .toggle-menu {
	width: 70px;
	cursor: pointer;
	transition: .3s;
}

.navbar .toggle-menu svg {
	fill: #fff
}

.navbar .logo, .navbar .produto {
	color: white
}

.navbar .logo {
	/* height: 40px */
	font-family: "BebasNeue";
}

.navbar .produto h2 {
	font-weight: 600
}

.navbar .module {
  font-weight: 600;
  color: #6DCFF6;
}

.navbar .secao {
	font-weight: 300;
}

.navbar .vertical-line {
	width: 3px;
	height: 30px;
	border-right: 3px solid white
}

.navbar .notifications, .navbar .apps, .navbar .configs, .navbar .user {
	cursor: pointer;
	fill: dimgray
}

.navbar-left, .navbar-right {
	height: 64px;
	position: relative;
}

.navbar-left {
	width: calc(100vw - 320px);
}

.navbar .user {
	border-radius: 10px;
	transition: .3s;
	position: relative;
}

.navbar .user:hover {
	background-color: rgba(0, 0, 0, 0.05);
}

.navbar .user .avatar {
	background-color: dimgray;
	padding-left: 12px;
	padding-right: 12px;
	border-radius: 10px;
}

.navbar .user .role {
	font-size: .8rem
}

.user-popover {
	width: 140px
}

.navbar #navbarToggle path {
	fill: dimgray
}

.navbar .more {
	transition: .3s;
	cursor: pointer;
	position: absolute;
	top: 0;
	right: 0;
	height: 64px
}

.navbar .more[aria-expanded="true"] {
	transform: rotate(90deg);
}

/* --- MAIN --- */

main {
	flex: 1 1 auto;
	padding-top: 64px;
}

/* --- MEDIAS QUERIES --- */

@media (max-width: 768px) {
	.search-card-body .form-row>div:not(:last-child) {
		margin-bottom: 1rem
	}
	._pagination {
		display: flex;
		justify-content: center;
	}
	.results-options {
		position: relative !important;
	}
	.results-options .export {
		margin-bottom: 0 !important
	}
	.results-options .export .handler {
		width: 100%;
	}
	.results-options .export .handler, .results-options .view-graphs {
		border-radius: 0 !important;
	}
	.search-results-header #paginacao {
		display: flex;
		justify-content: center;
	}
}

/* --- RESTO --- */

.my-custom-scrollbar {
	position: relative;
	height: 200px;
	overflow: auto;
	}

.table-wrapper-scroll-y {
	display: block;
	}

@media print {
	.noPrint {
		display: none;
	}
	.yesPrint {
		display: block;
	}
}

.navbar {
	margin-bottom: 0px;
}

input.ng-dirty.ng-invalid {
	border-color: red;
}

.label-as-badge {
	border-radius: 1em;
}

#menu li a, #menu li button {
	padding: 15px 20px;
	color: #777;
}

#menu li button {
	border: 0;
	background-color: inherit;
}

button .caret {
	margin-left: 5px;
}

.space {
	margin-bottom: 30px;
}

.container {
	max-width: 98%;
}

.right {
	float: right;
	line-height: 2;
}

.scroller {
	position: relative;
	padding: 5px;
}

.ps-scrollbar-x-rail, .ps-scrollbar-y-rail {
	border-radius: 6px;
}

.sortable th:hover {
	cursor: pointer;
}

.modal-body .row:first-child {
	margin-bottom: 15px;
}

.zoom-content {
	font-size: 14px;
	text-align: right;
}

.zoom-content i {
	font-size: 27px;
	vertical-align: middle;
	margin: 0 5px;
	color: #337ab7;
}

.zoom-content .zoom {
	width: 100px;
	display: inline-block;
	text-align: center;
}

.zoom-content i:hover {
	cursor: pointer;
	color: #286090;
}

.zoom-content i:active {
	color: #204d74;
}

.noselect, i, .sortable th {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.modal-dialog {
	width: 85%;
}

.tab-row {
	margin: auto 10px;
}

.modal-body .row h3 {
	text-align: left;
}

.tab-content {
	border: 1px solid #dee2e6;
    border-top: 0;
    padding: 7px;
    padding-top: 0;
}

.uib-tab-content {
	margin-top: 25px;
}

.legend {
	display: inline-block;
	margin-left: 13px;
}

.vertical-middle tr td {
	vertical-align: middle !important;
}

.no-margin {
	margin: 0;
}

table tr .actions-header {
	min-width: 120px;
}

table tr .actions-header:hover, table tr .color-header:hover {
	cursor: default;
}

.row-fix-margin {
	margin: 20px 0;
}

.row-fix-margin-right {
	margin: 20px 0 20px 15px;
}

.form-multiselect button:first-child {
	border-radius: 0 3px 3px 0;
}

.form-thin-multiselect button:first-child {
	border-radius: 0 3px 3px 0;
	min-height: 30px !important;
}

.table-panel {
	overflow: auto;
}

.float-right {
	float: right;
}

.btn-hover:hover {
	cursor: pointer;
}

.table-th-min-width th {
	min-width: 100px;
}

.colorpicker-2x .colorpicker-saturation {
	width: 200px;
	height: 200px;
}

.colorpicker-2x .colorpicker-hue, .colorpicker-2x .colorpicker-alpha {
	width: 30px;
	height: 200px;
}

.colorpicker-2x .colorpicker-color, .colorpicker-2x .colorpicker-color div {
	height: 30px;
}

#logo {
	padding: 5px;
}

#logo img {
	height: 40px;
}

.corSpan {
	min-width: 150px !important;
}

.tab-icon {
	margin-left: 5px;
	top: 3px;
	font-size: 18px;
	color: #337ab7;
}

.tab-icon:hover {
	color: #23527c;
	cursor: pointer;
}

.popover {
	max-width: none;
	color: #555 !important;
	border-radius: 10px
}

.popover .popover-header {
	border-radius: 10px 10px 0 0
}

.popover .popover-body {
	border-radius: 0 0 10px 10px
}

.width-750 {
	width: 750px;
}

.width-790 {
	width: 790px;
}

.nav-tabs li:not(.active):hover {
	cursor: pointer;
}

#maquinaInfo h2 {
	margin: 10px 0 25px 0;
	text-align: center;
}

#maquinaInfo img {
	max-width: 100%;
	max-height: 400px;
}

.display {
	border: 2px solid;
	border-radius: 7px;
	min-width: 60%;
	max-width: 100%;
	font-size: 20px;
	margin-bottom: 10px;
	display: inline-block;
}

.display span {
	width: 100%;
	display: inline-block;
	padding: 5px 6px;
}

.fix-mt8 {
	margin-top: 8px;
}

.bg-red {
	background-color: #F00;
	border-color: #A00;
}

.bg-yellow {
	background-color: #FF0;
	border-color: #CC0;
}

.white-text, .bg-red span {
	color: #FFF;
}

.black-text, .bg-yellow span {
	color: #000;
}

input[type="file"] {
	display: none;
}

#thumb-container {
	width: 100%;
	height: 160px;
	display: table-cell;
	vertical-align: middle;
}

#thumb-photo {
	max-width: 100%;
	max-height: 160px;
}

.panel-header-btn {
	line-height: 30px;
	vertical-align: middle;
	display: flow-root;
}

.panel-header-btn label {
	margin: 0;
}

button i {
	font-size: 14px !important;
	margin-right: 5px;
}

.label {
	padding: .3em .6em;
}

.legenda dl {
	margin: 0;
}

.legenda dt {
	display: inline-block;
}

.legenda dd {
	display: inline;
}

.multiselect .checkBoxContainer {
	overflow-y: auto;
	max-height: 200px;
}

.uib-datepicker-popup {
	top: 30px !important;
}

@media (min-width: 768px) and (max-width: 1158px) {
	.container-fluid>.navbar-collapse, .container-fluid>.navbar-header {
		margin-right: -15px !important;
		margin-left: -15px !important;
	}
	.navbar-toggle {
		display: block !important;
	}
	.navbar>.container-fluid .navbar-brand {
		margin-left: 0px !important;
	}
	.navbar-nav {
		margin: 7.5px -15px !important;
		float: none !important;
	}
	.navbar-nav>li, .navbar-header {
		float: none !important;
	}
	/* .navbar-right {
		float: none !important;
		margin-right: -15px !important;
	} */
	/* .navbar-collapse.collapse {
		display: none !important;
	} */
	/* .collapse.in {
		display: block !important;
	} */
}

#echartsA4 {
	display: none;
	width: 450px;
	height: 300px;
}

.max-width-25vw {
	max-width: 25vw;
	word-wrap: break-word;
}

.nav-logo {
	display: flex;
}

.nav-logo img:first-child {
	margin: 0 10px 0 0;
}

@media (max-width: 595px) {
	.navbar-right .notifications, .navbar-right .apps, .navbar-right .configs, .navbar-right .user, .infoTurno {
		display: none !important;
	}
	.navbar .more {
		display: flex !important;
	}
}

@media (min-width: 521px) {
	.navbar .collapse {
		background-color: red !important;
		display: none !important;
	}
}

@media (max-width: 790px) {
	.navbar .secao {
		display: none !important;
	}
}

@media (max-width: 992px) {}

@media (max-width: 1200px) {}

/* --- KEYFRAMES --- */

@keyframes fade-in {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@keyframes show-up {
	0% {
		transform: translateY(100%);
	}
	100% {
		transform: translateY(0%);
	}
}

@keyframes show-down {
	0% {
		transform: translateY(-100%);
	}
	100% {
		transform: translateY(0%);
	}
}

.multiSelect .helperButton.reset:last-child {
	width: 100%;
}

#paradaDisponibilidade {
	margin-top: 5px;
	margin-right: 10px;
}

.m-title {
	font-weight: 800;
	background-color: dimgray;
	color: white;
}

/* Definições de css para gaveta de aplicativos, mantendo o mesmo estilo do popover.
 * Por algum motivo cliques feitos dentro do popover não tinham efeito, fazendo o popover sumir.
 * Infelizmente estas definições têm "números mágicos" que se aplicam à gaveta no momento que foi
 * criada. Se a gaveta crescer lateralmente, deixa de ser centralizada.
 */

 @keyframes fade {
	0% {
		display: none;
		opacity: 0;
	}
	1% {
		display: flex;
		opacity: 0;
	}
	100% {
		display: flex;
		opacity: 1;
	}
}

.apps {
	padding: 0 4px 0 12px;
	border-radius: 10px;
}

.apps-btn {
	background-color: white;
	border: 0;
	margin: 0;
	font-weight: bold !important;
	text-align: center;
}

.apps-btn:focus-within {
	border: none;
	outline: none;
}

.apps-btn > div.only-active {
	display: none;
	position: absolute;
	margin: 70px -20px 0;
	z-index: 1;
	opacity: 0;
	animation: fade 0.25s ease-out;
}

.apps-btn:focus-within > div.only-active {
	display: flex;
	opacity: 1;
}

.apps-btn div.arrow-wrapper {
	position: absolute;
	margin: -17px 0 0 44px;
	max-height: 10px;
	overflow: hidden;
}

.apps-btn div.arrow {
	border: solid #ccc;
	border-width: 0 1px 1px 0;
	display: inline-block;
	padding: 5px;
	transform: rotate(-135deg);
	background-color: white;
	z-index: 2;
}

.apps-list {
	list-style-type: none;
	min-width: 120px;
	width: 100%;
	padding: 0;
	margin: -8px -12px;
	border-radius: 10px;
	border: 1px solid #ccc;
}

.apps-list-item {
	padding: 12px 14px;
	cursor: pointer;
	display: block;
	color: black;
	background-color: white;
	border-bottom: 1px solid #ddd;
}

.apps-list-item:last-child {
	border: 0;
}

.apps-list-item:hover {
	background-color: #6DCFF6;
	color: white;
}

.apps-list-item:first-child {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

.apps-list-item:last-child {
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

.navbar .logout-btn {
	border-radius: 5px;
	cursor: pointer;
	box-sizing: content-box;
	border: 1px solid rgba(0, 0, 0, 0);
	padding: 0.375rem 0.75rem;
}

.navbar .logout-btn:active, .navbar .logout-btn:hover {
	border: 1px solid #ddd;
}

.user {
	background-color: #696969;
	padding: 0 4px 0 12px;
	border-radius: 10px;
}

.user-btn {
	background-color: white;
	border: 0;
	margin: 0;
	text-align: center;
	border-radius: 10px;
	/* padding: 1px; */
}

/*Botão do Usuario na NavBar */
.user-btn .name {
	max-width: 100px;
	text-overflow: ellipsis;
}

.user-btn:focus-within, .user-btn:hover {
	border: none;
	outline: none;
}

.foto-operador {
	padding: 0 12px 0 12px;
	border-radius: 10px;
}

.user-btn img.avatar {
	background-color: #696969;
	padding: 0 12px 0 12px;
	border-radius: 5px;
	width: 50px;
}

.p-header {
	padding: 0.20rem;
}

.user-btn a.avatar {
	background-color: #696969;
	background-image: url("../icons/user.svg");
	background-repeat: no-repeat;
	background-position: 15px;
	background-position-x: center;
	background-size: 26px;
	padding: 0 12px 0 12px;
	border-radius: 5px;
	width: 50px;
}

.user-btn > div.only-active {
	display: none;
	position: absolute;
	margin: 70px -20px 0;
	z-index: 1;
	opacity: 0;
	animation: fade 0.25s ease-out;
}

.user-btn:focus-within > div.only-active {
	display: flex;
	opacity: 1;
}

.user-btn div.arrow-wrapper {
	position: absolute;
	margin: -17px 0 0 104px;
	max-height: 13px;
	overflow: hidden;
}

.user-btn div.arrow {
	border: solid #ccc;
	border-width: 0 1px 1px 0;
	display: inline-block;
	padding: 5px;
	transform: rotate(-135deg);
	background-color: white;
	z-index: 2;
}

.user-list {
	list-style-type: none;
	min-width: 120px;
	width: 100%;
	padding: 0;
	margin: -8px 0 0 20px;
	border-radius: 10px;
	border: 1px solid #ccc;
}

.user-list-item {
	padding: 12px 14px;
	cursor: pointer;
	display: block;
	color: black;
	background-color: white;
	border-bottom: 1px solid #ddd;
}

.user-list-item:last-child {
	border: 0;
}

.user-list-item:hover {
	background-color: #6DCFF6;
	color: white;
}

.user-list-item:first-child {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

.user-list-item:last-child {
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

.main-view {
	min-width: calc(100vw - 90px); /* 90px devido a largura da sidebar e do scroll vertical */
	margin-left: 70px; /* largura da sidebar */
	transition: all 0s ease 0s, min-width 0.4s ease-out, margin-left 0.4s ease-out;
}

.main-view.no-sidebar {
	min-width: 100vw;
	margin-left: 0px;
}

.draggable {
    cursor: -webkit-grab;
	cursor: -moz-grab;
	cursor: -o-grab;
	cursor: -ms-grab;
	cursor: grab;
}

.draggable:active {
	cursor: -webkit-grabbing;
	cursor: -moz-grabbing;
	cursor: -o-grabbing;
	cursor: -ms-grabbing;
	cursor: grabbing;
}

.login-panel {
	position: absolute;
	width: 95%;
	max-width: 440px;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
}

.loading {
	margin: 0 auto;
	display: block;
	/* width: 300px; */
	height: 64px;
}

.multiselect[disabled] span.multiSelect button {
	background: #e9ecef;
	pointer-events: none;
}

/* SWITCH */

.switch {
	font-size: 1rem;
	position: relative;
}

.switch input {
	position: absolute;
	height: 1px;
	width: 1px;
	background: none;
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	padding: 0;
}

.switch input+label {
	position: relative;
	min-width: calc(calc(2.375rem * .8) * 2);
	border-radius: calc(2.375rem * .8);
	height: calc(2.375rem * .8);
	line-height: calc(2.375rem * .8);
	display: inline-block;
	cursor: pointer;
	outline: none;
	user-select: none;
	vertical-align: middle;
	text-indent: calc(calc(calc(2.375rem * .8) * 2) + .5rem);
}

.switch input+label::before, .switch input+label::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: calc(calc(2.375rem * .8) * 2);
	bottom: 0;
	display: block;
}

.switch input+label::before {
	right: 0;
	background-color: #dee2e6;
	border-radius: calc(2.375rem * .8);
	transition: 0.2s all;
}

.switch input+label::after {
	top: 2px;
	left: 2px;
	width: calc(calc(2.375rem * .8) - calc(2px * 2));
	height: calc(calc(2.375rem * .8) - calc(2px * 2));
	border-radius: 50%;
	background-color: white;
	transition: 0.2s all;
}

.switch input:checked+label::before {
	background-color: #08d;
}

.switch input:checked+label::after {
	margin-left: calc(2.375rem * .8);
}

.switch input:focus+label::before {
	outline: none;
	box-shadow: 0 0 0 0.2rem rgba(0, 136, 221, 0.25);
}

.switch input:disabled+label {
	color: #868e96;
	cursor: not-allowed;
}

.switch input:disabled+label::before {
	background-color: #e9ecef;
}

.switch.switch-sm {
	font-size: 0.875rem;
}

.switch.switch-sm input+label {
	min-width: calc(calc(1.9375rem * .8) * 2);
	height: calc(1.9375rem * .8);
	line-height: calc(1.9375rem * .8);
	text-indent: calc(calc(calc(1.9375rem * .8) * 2) + .5rem);
}

.switch.switch-sm input+label::before {
	width: calc(calc(1.9375rem * .8) * 2);
}

.switch.switch-sm input+label::after {
	width: calc(calc(1.9375rem * .8) - calc(2px * 2));
	height: calc(calc(1.9375rem * .8) - calc(2px * 2));
}

.switch.switch-sm input:checked+label::after {
	margin-left: calc(1.9375rem * .8);
}

.switch.switch-lg {
	font-size: 1.25rem;
}

.switch.switch-lg input+label {
	min-width: calc(calc(3rem * .8) * 2);
	height: calc(3rem * .8);
	line-height: calc(3rem * .8);
	text-indent: calc(calc(calc(3rem * .8) * 2) + .5rem);
}

.switch.switch-lg input+label::before {
	width: calc(calc(3rem * .8) * 2);
}

.switch.switch-lg input+label::after {
	width: calc(calc(3rem * .8) - calc(2px * 2));
	height: calc(calc(3rem * .8) - calc(2px * 2));
}

.switch.switch-lg input:checked+label::after {
	margin-left: calc(3rem * .8);
}

.switch+.switch {
	margin-left: 1rem;
}

.loading-div:not(:first-child) {
	border-top: 1px solid rgba(0,0,0,.125);
}

.loading-bar {
	background-color: rgb(220, 220, 220);
	height: 30px;
	animation: 2s loading-bar-animation linear infinite;
}

@keyframes loading-bar-animation {
	0% {
		opacity: 0.95;
	}
	50% {
		opacity: 0.5;
	}
	100% {
		opacity: 1;
	}
}

.fc-center h2 {
	text-transform: capitalize;
}

.dia-circle {
	margin: 10px;
	background-color: rgba(0, 0, 0, .05);
	border-radius: 50px;
	padding: 8px 16.5px;
	cursor: pointer;
	animation: dia-circle-background-normal .3s ease;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
}

.dia-circle:not(.selected):hover {
	background-color: rgba(0, 0, 0, .065);
}

.dia-circle.selected {
	background-color: #08D;
	font-weight: bold;
	color: white;
	animation: dia-circle-background-selected .3s ease;
}

@keyframes dia-circle-background-selected {
	0% {
		background-color: rgba(0, 0, 0, .065);
	}
	100% {
		background-color: #08D;
	}
}

@keyframes dia-circle-background-normal {
	0% {
		background-color: #08D;
	}
	100% {
		background-color: rgba(0, 0, 0, .065);
	}
}

table {
	table-layout: fixed;
}

.table-sm {
	table-layout: auto;
}

.cut-text {
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.fc-content {
	cursor: pointer;
}

.fc-widget-content {
	cursor: pointer;
}

/* ~ Multiselect preferências do Módulo Comum ~ */

.ph-0 th:not(:first-child), .ph-0 td:not(:first-child) {
	padding-left: 0 !important;
}

.ph-0 th:not(:last-child), .ph-0 td:not(:last-child) {
	padding-right: 0 !important;
}

.ph-0 .loading-bar {
	margin-right: 5px;
	margin-left: 5px;
}

input:disabled {
	cursor: not-allowed;
}

.pagination {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	list-style: none;
	background-color: white;
}

#available-data {
	position: fixed;
	z-index: 999;
	bottom: 0px;
	margin: 0;
	padding: 4px;
	width: 100%;
	text-align: center;
	font-weight: bold;
	color: #383d41;
	background-color: #e2e3e5;
	border: 1px solid #d6d8db;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

body:has(> #available-data) {
	padding-bottom: 40px;
}

#lista-funcionalidades {
	max-height: calc(100vh - 400px);
	min-height: 100px;
	overflow-y: auto;
}

#sobreposicoes-ordem-producao {
	height: 600px;
	max-height: calc(100vh - 400px);
	overflow-y: auto;
}

.selectable-badge {
	border-radius: 5px;
	padding: 5px;
}

.selected-badge {
	background-color: #6DCFF6;
	color:white;
}

.turno-1, .turno-2, .turno-3, .turno-4, .turno-5 {
	color: #FFF;
}

.turno-1 {
	background-color: #6DCFF6;
	border-color: #6DCFF6;
}

.turno-2 {
	background-color: #28A745;
	border-color: #28A745;
}

.turno-3 {
	background-color: #7D6F86;
	border-color: #7D6F86;
}

.turno-4 {
	background-color: #212922;
	border-color: #212922;
}

.turno-5 {
	background-color: #0E131F;
	border-color: #0E131F;
}

.search-results table td.fc-event-container {
	vertical-align: unset;
}

.align-sub {
	vertical-align: sub;
}

.text-black {
	color: black;
}

.text-red {
	color: red;
}

.pre-wrap {
	white-space: pre-wrap;
}

.lh-22px {
	line-height: 22px;
}

.lh-23 {
	line-height: 2.3 !important;
}

.h-20px {
	height: 20px;
}

.w-50px {
	width: 50px;
}

.w-30 {
	width: 30%;
}

.w-8em {
	width: 8em;
}

.w-10em {
	width: 10em;
}

.w-10-5em {
	width: calc(10% - 5em);
}

.mw-5em {
	max-width: 5em;
}

.no-module {
	opacity: 0.4 !important;
	cursor: not-allowed !important;
}
