/* --- BODY --- */

.navbar {
	display: none;
}

body {
	overflow: hidden;
	-webkit-animation: fadeIn 1.5s;
	animation: fadeIn 1.5s;
	font-family: 'Akrobat';
	font-weight: 400;
}

main {
	padding-top: 0px !important;
}

/* --- HEADER --- */

header {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

header h1 {
	font-family: Helvetica;
	font-weight: normal;
}

header .bloco {
	position: relative;
}

header .area {
	font-family: Helvetica;
	font-weight: normal;
}

header .area select {
	width: 100%;
	color: dimgray;
}

header .gaveta {
	position: relative;
	height: 60px;
	padding-bottom: 60px;
	padding-right: 20px;
	padding-top: 8px;
}

header .apps {
	cursor: pointer;
	fill: rgb(255, 255, 255);
}

header .apps-list {
	list-style-type: none;
	outline: none;
	min-width: 181px;
	width: 100%;
	max-width: 100px;
	margin: 2px -25px;
	border-radius: 10px;
	border: 1px solid #ccc;
	overflow: hidden;
}

.apps-list-item {
	font-size: 14px;
	font-family: Helvetica;
	font-style: normal;
	font-stretch: normal;
	letter-spacing: 0.5px;
	padding: 12px 14px;
	cursor: pointer;
	display: block;
	text-align: center;
	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;
}

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

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

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

header .apps-btn div.arrow-wrapper {
	position: absolute;
	margin: -7px 22px 0 55px;
	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;
}

/* --- MAIN --- */

/* --- table --- */

table {
	width: 100%;
	table-layout: fixed;
}

tbody tr:last-child {
	border-bottom: none
}

th, td {
	text-align: center;
	vertical-align: middle;
}

th:first-child, td:first-child {
	border-left: none;
}

th:last-child, td:last-child {
	border-right: none;
}

.bold {
	font-weight: bold;
}

/* --- Erro de conexão --- */

#connectionProblem {
	position: absolute;
	left: 0;
	top: 0;
	margin-top: calc(50vh - 100px);
	margin-left: calc(50vw - 100px);
	z-index: 99999;
}

#connectionProblem img {
	width:200px;
	height:200px;
}

#paradaProgramada {
	position: absolute;
	top: 30%;
	bottom: 30%;
	margin-left: 0.5%;
	margin-top: 0.5%;
	padding: 0.5% 0.5% 0.5% 0.5%;
	width:99%;
	z-index: 3;
	background:#ccc;
	display: none;
}

#paradaProgramada p {
	width:100%;
	height:100%;
	font-family: sans-serif;
	font-weight: bolder;
	font-size: 8vh;
	text-align: center;
	background: #F9EC31;
	padding: 3%;
}


/* Firefox old*/

@-moz-keyframes blink {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@-webkit-keyframes blink {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* IE */

@-ms-keyframes blink {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* Opera and prob css3 final iteration */

@keyframes blink {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.blink-image {

	-moz-animation: blink normal 2s infinite ease-in-out;
	/* Firefox */
	-webkit-animation: blink normal 2s infinite ease-in-out;
	/* Webkit */
	-ms-animation: blink normal 2s infinite ease-in-out;
	/* IE */
	animation: blink normal 2s infinite ease-in-out;
	/* Opera and prob css3 final iteration */
}

/* --- MÁQUINAS --- */

#maquinas {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	flex: 1;
}

#maquinas>p {
	font-weight: bold;
	text-transform: uppercase;
}

#maquinas ._container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: distribute;
	justify-content: space-around;
	width: 100%;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	flex: 1;
}

.maquina {
	color: white;
	font-weight: 600;
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: inline-block;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.maquina:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
}

/* --- color classes --- */

#maquinas ._green {
	background-color: #00A551
}

#maquinas ._yellow {
	background-color: #F9EC31;
	color: black
}

#maquinas ._red {
	background-color: #F00
}

#maquinas ._blue {
	background-color: #6DCFF6
}

#ordemProducao {
	position: absolute;
	top: 70%;
	bottom: 2%;
	margin-left: 0.5%;
	margin-top: 0.5%;
	padding: 0.5% 0.5% 0.5% 0.5%;
	width:99%;
	z-index: 3;
	background:#ccc;
	display: none;
}

#ordemProducao p {
	width:100%;
	height:100%;
	color: #ffffff;
	font-family: sans-serif;
	font-weight: bolder;
	font-size: 5vh;
	text-align: center;
	background: #ff0000;
	padding: 2%;
}
/* --- GRÁFICO --- */

#grafico {
	position: relative;
}

#grafico_container {
	height: 100%;
}

html, body, body>div.reveal-animation {
	height: 100%;
}

#graficoHora, #graficoOEE {
	height: 100%;
	width: 100%;
}

/* --- DEFAULT COLORS --- */

header, #relatorios, tbody tr, th, td, #maquinas {
	border-color: #6DCFF6 !important;
}

@-webkit-keyframes fadeIn {
	0% {
		opacity: 0
	}
	100% {
		opacity: 1
	}
}

@keyframes fadeIn {
	0% {
		opacity: 0
	}
	100% {
		opacity: 1
	}
}

td:nth-child(4),th:nth-child(4){
    display: none;
}
