/*
********* GERAL *********
*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	background-color: #eeeeee;
	font-family: 'Montserrat', sans-serif !important;
	color: #ffffff !important;
	overflow-x: hidden;
	overflow-y: hidden;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

h1 {
	margin: 0 0 15px 0;
	font-size: 1.7vw;
	text-align: center;
	font-weight: 500;
	margin-block-end: 25px;
}

h2 {
	font-size: 1.2vw;
	font-weight: 400;
	margin-bottom: 20px;
}

h3 {
	font-size: 1vw;
	font-weight: 500;
	color: #4f822d;
	margin: 15px;
}

p {
	font-size: 1vw;
	font-weight: 400;
	margin-bottom: 10px;
}

a {
	margin-bottom: 10px;
	padding: 5px;
	display: inline-block;
}

.svg-inline--fa {
	color: #4f822d;
	margin-right: 10px;
}

button {
	border: none;
	background-color: transparent;
	padding: 0 5px;
}

button:focus {
	outline: none;
}

.box {
	width: 80%;
	background-color: #eeeeee;
	border-radius: 25px;
	border: thick solid #4f822d;
	-webkit-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.15);
	-moz-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.15);
	box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.15);
	padding: 2%;
	position: absolute;
	color: #1c1c1c;
}

.green-box {
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80%;
	background-color: #4f822d;
	border-radius: 25px;
	border: medium solid #eeeeee;
	-webkit-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.15);
	-moz-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.15);
	box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.15);
	padding: 2.5%;
	position: absolute;
	color: #ffffff;
}

.box-2 {
	width: 25%;
	text-align: center;
}

.box-4 {
	width: 30%;
}

.box-6 {
	width: 60%;
	text-align: center;
}

.box-8 {
	width: 80%;
}

.box-4-right {
	right: 5%;
	width: 30%;
	float: right;
	padding: 7.5vh 3vw 2.5vh 3vw;
}

.inside-edit-box {
	overflow-y: auto;
	overflow-x: hidden;
	height: 275px;
	margin-bottom: 10px;
}

.close {
	top: 15px;
	right: 15px;
	position: absolute;
}

.close img {
	width: 25px;
	height: 25px;
}

.icon {
	-webkit-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.15);
	-moz-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.15);
	box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.15);
	border-radius: 50%;
}

.icon:active {
	-webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.15);
	-moz-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.15);
	box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.15);
	transform: translate(1px, 1px);
}

.pointer:hover {
	cursor: pointer;
	text-decoration: none;
}

::-webkit-scrollbar {
	width: 10px;
	height: 10px;
	background-color: #eeeeee;
}

::-webkit-scrollbar-track {
	background-color: #eeeeee;
}

::-webkit-scrollbar-thumb {
	background-color: #4f822d;
	border-radius: 50px;
}

::-webkit-scrollbar-thumb:hover {
	background: #3f6924;
}

::-webkit-scrollbar-corner {
	background: #eeeeee;
}

/* Buttons */
::-webkit-scrollbar-button:single-button {
	background-color: #eeeeee;
	display: block;
	border-style: solid;
	height: 10px;
	width: 10px;
}
/* Up */
::-webkit-scrollbar-button:single-button:vertical:decrement {
	border-width: 0 5px 15px 5px;
	border-color: transparent transparent #4f822d transparent;
	border-radius: 5px;
}

::-webkit-scrollbar-button:single-button:vertical:decrement:hover {
	border-color: transparent transparent #3f6924 transparent;
}
/* Down */
::-webkit-scrollbar-button:single-button:vertical:increment {
	border-width: 15px 5px 0 5px;
	border-color: #4f822d transparent transparent transparent;
	border-radius: 5px;
}

::-webkit-scrollbar-button:vertical:single-button:increment:hover {
	border-color: #3f6924 transparent transparent transparent;
}

/* Up */
::-webkit-scrollbar-button:single-button:horizontal:decrement {
	border-width: 5px 15px 5px 0;
	border-color: transparent #4f822d transparent transparent;
	border-radius: 5px;
}

::-webkit-scrollbar-button:single-button:horizontal:decrement:hover {
	border-color: transparent #3f6924 transparent transparent;
}
/* Down */
::-webkit-scrollbar-button:single-button:horizontal:increment {
	border-width: 5px 0 5px 15px;
	border-color: transparent transparent transparent #4f822d;
	border-radius: 5px;
}

::-webkit-scrollbar-button:horizontal:single-button:increment:hover {
	border-color: transparent transparent transparent #3f6924;
}

.editar-confirmacao {
	text-align: center;
}

.confirmacao button,
.confirmacao a {
	margin: 20px 10px;
	padding: 0;
}

.cancelar {
	margin: 0 auto;
	width: 50px;
	height: 50px;
	display: inline-block;
	background-image: url('../images/cancelar.png');
	background-size: 50px;
}

/* FORMS */

form {
	margin: 0 auto;
	width: 90%;
}

select:hover {
	cursor: pointer;
}

input {
	color: #1c1c1c;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 1vw;
	margin-bottom: 0.5vh;
	background-color: transparent;
}

input[type='text'],
input[type='textarea'],
input[type='password'],
input[type='number'] {
	width: 100%;
	border: none !important;
	border-bottom: thin solid #4f822d !important;
	padding: 0.5vh;
}

select {
	width: 100%;
	border: none !important;
	border-bottom: thin solid #4f822d !important;
	color: #1c1c1c;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 1vw;
	margin-bottom: 0.5vh;
	padding: 0.5vh;
	background-color: transparent;
	padding: 0.5vh;
}

input[type='date'],
input[type='time'] {
	width: 100%;
	border: none !important;
	border-bottom: thin solid #4f822d !important;
	text-align: center;
	padding: 0.5vh;
}

input[type='button'],
input[type='submit'] {
	border: none;
	width: 50px;
	height: 50px;
	background-size: 50px;
}

input[type='submit']::before {
	content: '';
}

.error {
	color: #960000;
	font-size: 14px;
}

.alerta {
	display: none;
	width: 5px;
}

.labels {
	margin-bottom: 20px;
}

.label-form {
	padding: 5px;
}

.block-input {
	pointer-events: none;
}

/* TABELAS */

.container {
	margin: 2.5px 0;
	width: 100%;
	display: inline-grid;
	text-align: center;
	vertical-align: middle;
}

.container img {
	height: 30px;
}

.container div {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 5%;
}

.container p,
.container select,
.container input {
	margin: 0;
}

.container a {
	margin: 0 5px;
	width: 25%;
}

.container-line-2 {
	grid-template-columns: 1fr 1fr;
}

.container-line-3 {
	grid-template-columns: 1fr 4fr 1fr;
}

.container-line-5 {
	grid-template-columns: 2fr 2fr 1fr;
}

.container-line-6 {
	grid-template-columns: 2fr 2fr 1fr 1fr;
}

.container-line-7 {
	grid-template-columns: 1fr 4fr 1fr 1fr;
}

.container-line-8 {
	grid-template-columns: 1fr 4fr 1fr 1fr 1fr;
}

.container-line-9 {
	grid-template-columns: 3fr 2fr 1fr 1fr 1fr 1fr;
}

.container-line-10 {
	grid-template-columns: 1fr 4fr 2fr 1fr 1fr 1fr;
}

.container-line-11 {
	grid-template-columns: 1fr 4fr 4fr 1fr 1fr;
}

.container-line-12 {
	grid-template-columns: 1fr 4fr 4fr 1fr 1fr 1fr;
}

.container-line-13 {
	grid-template-columns: 1fr 1fr 4fr 4fr 1fr 1fr 1fr;
}

.container-line-15 {
	grid-template-columns: 2fr 2fr 5fr 1fr 4fr 1fr;
}

.container-line-estado {
	grid-template-columns: 1fr 2fr 2fr 2fr 4fr 1fr;
}

.container-line-modo {
	grid-template-columns: 1fr 2fr 2fr 4fr 2fr 1fr;
}

.container-line-cenario {
	grid-template-columns: 1fr 10fr 1fr;
}

.container-line-pausa {
	grid-template-columns: 1fr 2fr 4fr 2fr 1fr 1fr 1fr;
}

.container-line-ciclo {
	grid-template-columns: 1fr 2fr 4fr 2fr 2fr 1fr;
}
.diasSem div {
	display: grid;
	align-items: center;
	justify-content: center;
	padding: 5px 15px;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	border-style: solid;
	border-width: 1px;
	border-color: #4f822d;
	cursor: cell;
}

.diasSel {
	background-color: #fff480;
}

.info {
	height: 30vh;
	overflow-y: auto;
}

.center-button {
	margin: 0 auto;
	display: block;
	width: 50px;
}

/* COLOR PICKER */

#color-picker {
	width: 10vw;
	background-color: #eeeeee;
	border-radius: 25px;
	border: thin solid #4f822d;
	-webkit-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.15);
	-moz-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.15);
	box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.15);
	position: fixed;
	color: #1c1c1c;
	z-index: 99;
	padding: 1%;
}

.flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}

.color-preview {
	width: 20px;
	height: 20px;
	border-radius: 50% !important;
	border: solid thin;
	position: absolute;
}

.color-option {
	position: relative;
	margin: 5px;
}

.container .color-preview {
	position: relative !important;
}

.color-off {
	background-image: url('../images/off.png');
	background-size: contain;
	background-position: center;
	border: none !important;
}

/*BOTÕES*/

.buttons-box {
	display: flex;
	justify-content: space-evenly;
}

.botao-add {
	margin: 0 auto;
	width: 50px;
	height: 50px;
	display: block;
	background-image: url('../images/adicionar-white.png');
	background-size: 50px;
}

.botao-edit {
	margin: 0 auto;
	width: 50px;
	height: 50px;
	display: block;
	background-image: url('../images/edit-button.png');
	background-size: 50px;
}

.botao-save {
	margin: 0 auto;
	width: 50px;
	height: 50px;
	display: block;
	background-image: url('../images/save.png');
	background-size: 50px;
}

.other-buttons {
	margin: 5px 0;
	width: 100%;
	background-color: #eeeeee;
	border: solid medium #4f822d;
	border-radius: 25px;
	padding: 5px;
	text-align: center;
}

.other-buttons img {
	width: 35px;
}

.info-buttons {
	margin: 0 10px;
	display: inline-block;
}

.info-apaga {
	background-image: url('../images/apagar-button.png');
}

.info-reset {
	background-image: url('../images/reset.png');
}

.info-edita {
	background-image: url('../images/save.png');
}

/* SWITCH */

.toggle {
	width: 50px;
	height: 30px;
}

.on-off {
	top: 15px;
	left: 15px;
	position: absolute;
}

.on-off-tabela {
	margin: 10px 0;
	position: relative;
	display: inline-block;
}

.on-off-configuracao {
	margin: 0;
	position: relative;
	display: inline-block;
}

.toggle input {
	opacity: 0;
	width: 0;
	height: 0;
}

.switch {
	display: inline-block;
	position: relative;
	width: 50px;
	height: 30px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #d4d4d4;
	-webkit-transition: 0.4s;
	transition: 0.4s;
	border-radius: 25px;
}

.slider:before {
	position: absolute;
	content: '';
	height: 22.5px;
	width: 22.5px;
	left: 3.75px;
	bottom: 3.75px;
	background-color: white;
	-webkit-transition: 0.4s;
	transition: 0.4s;
	border-radius: 50%;
}

input:checked + .slider {
	background-color: #fff480;
}

.avariado + .slider {
	display: none;
}

input:focus + .slider {
	box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
}

input:checked + .slider:before {
	-webkit-transform: translateX(20px);
	-ms-transform: translateX(20px);
	transform: translateX(20px);
}

#ponto-avariado-icone,
#sensor-avariado-icone {
	width: 35px;
	height: 35px;
	display: none;
}

/* SLIDER */

#slider-container {
	width: 50%;
	height: 25px;
	display: inline-block;
}

.sliderRange {
	-webkit-appearance: none;
	width: 100%;
	height: 5px;
	background: #1c1c1c;
	outline: none;
	opacity: 1;
	-webkit-transition: 0.2s;
	border-radius: 25px;
}

.sliderRange::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	background: #4f822d;
	cursor: pointer;
	border-radius: 50%;
}

.sliderRange::-moz-range-thumb {
	width: 25px;
	height: 25px;
	background: #4caf50;
	cursor: pointer;
}

.sliderValue {
	margin: 0 2.5%;
	width: 30% !important;
	text-align: center;
}

/*
********* HEADER *********
*/

header {
	top: 0;
	left: 0;
	width: 100%;
	height: 10%;
	background-color: #4f822d;
	position: fixed;
	z-index: 99;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	font-size: 1.5vh;
	padding: 0.5%;
}

header div {
	height: 90%;
}

#logo-header {
	display: block;
	height: 90%;
	cursor: pointer;
}

.logo-tecit {
	height: 60%;
	margin-bottom: 2.5%;
}

.header-info .svg-inline--fa {
	color: #fff !important;
}

/*
********* FOOTER *********
*/

footer {
	position: fixed;
	left: 0.5%;
	bottom: 0.5%;
	color: #000;
	font-size: 12px;
	z-index: 98;
}

/*
********* LOGIN *********
*/

#wrapper-login {
	margin-top: 5%;
	width: 100%;
	display: block;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.box-login {
	width: 50%;
	height: auto;
	position: relative;
}

#logo_login {
	width: 25%;
	height: auto;
	margin-bottom: 5%;
}

/* FORM LOGIN */

.password {
	width: 25px;
	margin-top: -35px;
	float: right;
	position: relative;
	z-index: 99;
	height: 100%;
}

.show-password {
	display: block;
}

.hide-password,
#emailss,
#recover {
	display: none;
}

.recuperar {
	float: right;
	font-size: 14px;
	text-decoration: underline;
}

.recuperacao-password {
	width: 100%;
	padding: 5%;
}

#login-btn {
	margin: 0 auto;
	width: 65px;
	height: 65px;
	display: block;
	background-image: url('../images/login.png');
	background-size: 65px;
}

/* FORM RECUPERAÇÃO PASSWORD*/
#box-recover-pass {
	display: none;
}

.box-recuperacao {
	left: 50%;
	transform: translateX(-50%);
	width: 80%;
	height: 60%;
	background-color: #eeeeee;
	border-radius: 25px;
	border: thick solid #4f822d;
	-webkit-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.15);
	-moz-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.15);
	box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.15);
	padding: 5%;
	position: absolute;
	color: #1c1c1c;
}

#btnNovaPass {
	margin: 0 auto;
	width: 65px;
	height: 65px;
	display: block;
	background-image: url('../images/save.png');
	background-size: 65px;
	color: #ffffff;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 16px;
}

/*
********* MENU *********
*/

#menu-bar {
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	width: 620px;
	height: 55px;
	position: fixed;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
	justify-items: center;
	border-bottom: none;
	padding: 0;
	border-radius: 25px 25px 0 0;
	z-index: 97;
}

.hover-menu {
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	width: 400px;
	height: 55px;
	position: fixed;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
	justify-items: center;
	align-items: flex-start;
	border-bottom: none;
	padding: 0;
	padding-top: 5px;
	border-radius: 25px 25px 0 0;
	z-index: 96;
	transition: ease 0.5s;
	background-color: #eeeeee;
	border: #4f822d medium solid;
}

.menu-hover-open {
	height: 100px;
}

.menu-icon {
	margin-top: 7.5px;
	width: 40px;
	height: 40px;
}

.menu-icon img {
	width: 40px;
	height: 40px;
}

.sec-button {
	width: 35px;
	height: 35px;
	margin: 0 5px;
}

/*
********* HOMEPAGE *********
*/

#wrapper {
	width: 100%;
	height: 100vh;
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#svg,
#svgSimulador {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 1400px;
	height: 800px;
	position: absolute;
}

.pontos:hover,
.grupos:hover,
.sensores:hover {
	cursor: pointer;
}

.elements-hide {
	display: none !important;
}

/*
********* UTILIZADORES *********
*/

#lista-utilizadores,
#adiciona-utilizadores,
#edita-utilizadores,
#apaga-utilizadores,
#logout,
#listar-layouts-utilizadores,
#confirmar-layout {
	display: none;
}

#lista-utilizadores {
	z-index: 1;
}

#adiciona-utilizadores,
#edita-utilizadores,
#apaga-utilizadores {
	z-index: 3;
}

#listar-layouts-utilizadores {
	z-index: 4;
}

#confirmar-layout {
	z-index: 5;
}

#logout {
	z-index: 98;
}

.layout-utilizador {
	margin: 5px;
	padding: 5px;
	text-align: center;
}

/*
********* LAYOUT *********
**/
#seleciona-layout {
	width: 100vw;
	height: 100vh;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-content: center;
	overflow-y: auto;
	position: absolute;
}

#pick-working-set {
	display: none;
	z-index: 99;
}

.flexbox {
	margin: 10px;
	min-width: 250px;
	width: 20%;
	text-align: center;
	color: #1c1c1c;
	position: relative;
}

.flexbox > a {
	margin-bottom: 10px;
	padding: 0;
	width: 100%;
	height: 300px;
	overflow: hidden;
	border: #4f822d solid medium;
	border-radius: 25px;
}

.flexbox > a > img {
	height: 100%;
	transform: translate(-50%, -50%);
	top: 50%;
	left: 50%;
	position: relative;
}

.layout-buttons {
	position: absolute;
	width: 100%;
	height: 55px;
	padding: 5px;
	background-color: rgba(238, 238, 238, 0.75);
	bottom: 0;
	transform: translateY(-50%);
	transition: ease 0.2s;
	opacity: 0;
}

.flexbox:hover .layout-buttons {
	opacity: 1;
}

.flexbox > div > button > img {
	width: 25px;
	height: 25px;
}

#layout-reload,
#layout-reload-res,
#adiciona-layout,
#edita-layout,
#apaga-layouts {
	display: none;
	z-index: 90;
}

.botao-layout {
	position: absolute;
	right: 50px;
	bottom: 50px;
}

.botao-layout img {
	width: 75px;
	height: 75px;
}

.image-input {
	display: flex;
	justify-content: space-evenly;
}

.layout-permissoes {
	display: flex;
	flex-wrap: wrap;
	align-content: space-evenly;
	justify-content: space-evenly;
	width: 45%;
}

.layout-permissoes div {
	display: flex;
	margin: 7.5px;
	padding: 5px;
	align-items: center;
	border-bottom: solid thin #4f822d;
	border-radius: 25px;
	width: 40%;
}

.layout-permissoes div p {
	margin: 0;
	width: 65%;
}

.preview {
	margin: 5px auto 15px auto;
	width: 100px;
	height: 100px;
	overflow: hidden;
	border: thin solid #4f822d;
	border-radius: 25px;
	cursor: pointer;
}

.preview img {
	height: 100%;
	transform: translateX(-50%);
	left: 50%;
	position: relative;
}

.layout-settings {
	display: flex;
	justify-content: space-between;
}

#epoca-setting,
#edit-epoca-setting {
	display: none;
}

/********** PONTOS **********/

#lista-pontos,
#adiciona-pontos,
#edita-pontos,
#apaga-pontos,
#info-pontos,
#adiciona-multiplos-pontos,
#confirmar-reiniciar-ponto,
#apaga-pontos-erro {
	display: none;
}

#lista-pontos {
	z-index: 1;
}

#edita-pontos,
#apaga-pontos,
#info-pontos,
#adiciona-multiplos-pontos {
	z-index: 3;
}

#confirmar-reiniciar-ponto,
#apaga-pontos-erro {
	z-index: 4;
}

#adiciona-pontos {
	z-index: 6;
}

.seleciona-icon li {
	display: inline-block;
}

.seleciona-icon input[type='radio'] {
	display: none;
}

.seleciona-icon img {
	width: 40px;
	transition: ease 0.1s;
	border-radius: 50%;
	cursor: pointer;
}

.seleciona-modo li {
	display: inline-block;
}

.seleciona-modo input[type='checkbox'] {
	display: none;
}

.seleciona-modo img {
	width: 40px;
	cursor: pointer;
}

.seleciona-modo-info {
	margin-top: 5px;
	list-style-type: none;
}

.seleciona-modo-info li {
	display: inline-block;
}

.seleciona-modo-info img {
	width: 40px;
}

.seleciona-tipo input[type='radio'] {
	display: none;
}

.seleciona-tipo li {
	display: inline-block;
}

.seleciona-tipo img {
	width: 40px;
	cursor: pointer;
}

.seleciona-icon,
.seleciona-modo,
.seleciona-tipo {
	margin: 5px 0;
	list-style-type: none;
	border: solid thin #4f822d;
	border-radius: 25px;
	padding: 5px;
	text-align: center;
}

/********** GRUPOS **********/

#lista-grupos,
#adiciona-grupos,
#edita-grupos,
#apaga-grupos,
#info-grupos,
#adiciona-pontos-grupos,
#confirmar-adicionar-ponto-grupo,
#apaga-grupos-erro {
	display: none;
}

#lista-grupos {
	z-index: 1;
}

#edita-grupos,
#apaga-grupos,
#info-grupos {
	z-index: 3;
}

#apaga-grupos-erro {
	z-index: 4;
}

#adiciona-grupos {
	z-index: 6;
}

#adiciona-pontos-grupos {
	z-index: 10;
}

#confirmar-adicionar-ponto-grupo {
	z-index: 20;
}

#botao-editar-grupo {
	margin: 0 10px;
	width: 50px;
	height: 50px;
	display: inline-block;
	background-image: url('../images/save.png');
	background-size: 50px;
}

#botao-cancelar-grupo {
	margin: 0 10px;
	width: 50px;
	height: 50px;
	display: inline-block;
	background-image: url('../images/cancelar.png');
	background-size: 50px;
}

.box-listas {
	margin: 2.5px 0;
	width: 100%;
	display: inline-grid;
	text-align: center;
	vertical-align: middle;
	justify-items: center;
	grid-template-columns: 5fr 1fr 5fr;
}

.inside-box {
	margin-bottom: 25px;
	width: 100%;
	height: 32vh;
	padding: 0 5%;
	background-color: #eeeeee;
	border-radius: 25px;
	border: medium solid #4f822d;
	-webkit-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.15);
	-moz-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.15);
	box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.15);
	color: #000000;
	font-size: 14px;
	text-align: center;
}

.box-listagem {
	height: 18vh;
	overflow-y: auto;
}

.box-lista-pontos {
	grid-template-columns: 1fr 1fr;
	margin: 2.5px 0;
	padding: 2.5px 0;
}

.box-listas .inside-box {
	margin: 0;
}

.setas {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
}

.selected-row {
	background-color: #4f822d;
	border-radius: 25px;
}

.seta {
	width: 100%;
	height: 50px;
	padding: 0;
}

.seta img {
	margin: 0;
	width: 50px;
	height: 50px;
}

.esq {
	transform: rotateZ(180deg);
}

.button-pontos-grupo {
	width: 40px;
	height: 40px;
}

.grupo-configuracao {
	margin-top: 10px;
	text-align: center;
}

.botoes-grupos {
	margin: 0 auto 10px auto;
	background-color: #4f822d;
	border-radius: 25px;
	display: inline-grid;
	grid-template-columns: 1fr 2fr;
}

.botoes-grupos div {
	height: 40px;
	display: flex;
	justify-content: center;
}

.grupo-button {
	margin-right: 0px;
	margin-left: 5px;
	width: 40px;
	height: 40px;
	vertical-align: middle;
}

.grupo-button-on-off:active {
	transform: translate(1px, 1px);
}

.grupo-button-on-off {
	margin-right: 0px;
	margin-left: 5px;
	width: 30px;
	height: 30px;
	align-self: center;
}

#onOffGrupo {
	text-align: center;
	width: 100%;
}

/********** SENSORES **********/
#lista-sensores,
#adiciona-sensores,
#seleciona-ponto-grupo-cenario-sensores,
#info-sensores,
#edita-sensores,
#apaga-sensores,
#confirmar-reiniciar-sensor,
#apaga-cenarios-erro {
	display: none;
}

#lista-sensores {
	z-index: 1;
}

#info-sensores,
#edita-sensores,
#apaga-sensores {
	z-index: 3;
}

#seleciona-ponto-grupo-cenario-sensores,
#apaga-cenarios-erro {
	z-index: 10;
}

#confirmar-reiniciar-sensor {
	z-index: 5;
}

#adiciona-sensores {
	z-index: 6;
}

.sensorAddrControl {
	width: 100%;
	background-color: transparent;
	border: none !important;
	border-bottom: thin solid #4f822d !important;
	color: #1c1c1c;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 16px;
	margin-bottom: 10px;
	padding: 5px;
	line-height: 26px;
}

.sensorAddrControl:hover,
.sensorAddrControlImg:hover {
	cursor: pointer;
}

.sensor-modo-hide {
	display: none;
}

#botao-editar-sensor {
	margin: 0 10px;
	width: 50px;
	height: 50px;
	display: inline-block;
	background-image: url('../images/save.png');
	background-size: 50px;
}

#botao-reset-sensor {
	margin: 0 10px;
	width: 50px;
	height: 50px;
	display: inline-block;
	background-image: url('../images/reset.png');
	background-size: 50px;
}

#botao-cancelar-sensor {
	margin: 0 10px;
	width: 50px;
	height: 50px;
	display: inline-block;
	background-image: url('../images/cancelar.png');
	background-size: 50px;
}

.estado-sensor {
	top: 15px;
	left: 70px;
	position: absolute;
}

.estado-sensor p {
	top: -3px;
	left: 50px;
	position: absolute;	
	font-weight: bold;
	font-size: 30px;
	font-family: 'Montserrat', sans-serif !important;	
}

.estado-sensor img {
	width: 30px;
	height: 30px;	
}

/********** CENÁRIOS **********/

#lista-cenarios,
#adiciona-cenarios,
#configura-cenarios,
#edita-cenarios,
#apaga-cenarios,
#seleciona-ponto-grupo,
#confirmar-adicionar-configuracao,
#confirmar-ativar-configuracao,
#copia-cenarios,
#seleciona-backup,
#confirmar-compilacao {
	display: none;
}

#lista-cenarios {
	z-index: 1;
}

#adiciona-cenarios,
#configura-cenarios,
#edita-cenarios,
#apaga-cenarios,
#seleciona-ponto-grupo,
#seleciona-backup,
#copia-cenarios {
	z-index: 3;
}

#confirmar-adicionar-configuracao,
#confirmar-ativar-configuracao,
#confirmar-compilacao {
	z-index: 4;
}

.mini-button img {
	width: 20px !important;
	height: 20px !important;
}

#configuracoes select {
	width: 100%;
}

#configuracoes .coluna-configuracao {
	width: 100%;
	min-height: 45px;
}

.linha-hide {
	display: none;
}

.select-buttons {
	text-align: center;
}

.select-buttons img {
	border: solid thin white;
}

#configuracoes {
	height: 325px;
	overflow-y: auto;
}

.lista-pontosGrupos {
	overflow-y: auto;
	margin: 10px;
	height: 28vh;
}

.add-mini-button {
	position: absolute;
}

.add-mini-button img {
	width: 35px;
	height: 35px;
}

.lista-backups {
	overflow-y: auto;
	margin: 10px;
	height: 28vh;
}
/********** TIMERS **********/

#lista-timers,
#seleciona-ponto-grupo-cenario,
#adiciona-timers,
#dados-timers,
#edita-timers,
#apaga-timers {
	display: none;
}

#lista-timers {
	z-index: 1;
}

#adiciona-timers,
#dados-timers,
#edita-timers,
#apaga-timers {
	z-index: 3;
}

#seleciona-ponto-grupo-cenario {
	padding-top: 2%;
	z-index: 4;
}

.timer-box {
	height: 33vh;
}

.timer-col {
	grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
	margin-bottom: 25px;
}

.timer-config-modo {
	grid-template-columns: 2fr 2fr 3fr 1fr;
	margin-bottom: 25px;
}

.timer-config-estado {
	grid-template-columns: 1fr 1fr 1fr 1fr;
	margin-bottom: 25px;
}

.day-checkbox {
	width: 1.3em;
	height: 1.3em;
	background-color: #4f822d;
	border-radius: 50%;
	vertical-align: middle;
	border: medium solid white;
	-webkit-appearance: none;
	outline: none;
	cursor: pointer;
}

.day-checkbox:checked {
	background-color: white;
}
.backup-checkbox {
	width: 1.3em;
	height: 1.3em;
	background-color: white;
	border-radius: 50%;
	vertical-align: middle;
	border: medium solid white;
	-webkit-appearance: none;
	outline: none;
	cursor: pointer;
}

.backup-checkbox:checked {
	background-color: #4f822d;
}

input[type="file"] {
	display: none;
}

.selectDias {
	width: 75%;
}

/********** FERIADOS **********/

#lista-feriados,
#adiciona-feriados,
#edita-feriados,
#apaga-feriados,
#copia-feriados {
	display: none;
}

#lista-feriados {
	z-index: 10;
}

#adiciona-feriados,
#edita-feriados,
#apaga-feriados {
	z-index: 11;
}

#copia-feriados {
	z-index: 12;
}

.box-lista-feriados {
	margin: 2.5px 0;
	padding: 2.5px 0;
}

#listar-feriados-copiados {
	text-align: center;
}

/********** COMANDOS **********/

#lista-comandos,
#adiciona-comandos,
#seleciona-ponto-grupo-cenario-comando,
#edita-comandos,
#apaga-comandos,
#ver-token {
	display: none;
}

#lista-comandos {
	z-index: 1;
}

#adiciona-comandos,
#edita-comandos,
#apaga-comandos {
	z-index: 3;
}

#seleciona-ponto-grupo-cenario-comando {
	padding-top: 5%;
	z-index: 4;
}

#ver-token {
	z-index: 99;
}

.comando-col {
	grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
}

/*
**********
	SIMULADOR 
			 **********
*/

#settings {
	position: absolute;
	width: 100vw;
	height: 45px;
	left: 0;
	bottom: 45px;
	background-color: #eeeeee;
	border-top: medium #4f822d solid;
	padding: 0 15%;
	grid-template-columns: 4fr 4fr 2fr 1fr 1fr 1fr 1fr;
}

#settings div {
	margin: 0 5%;
}

#timeline {
	position: absolute;
	width: 100vw;
	height: 45px;
	left: 0;
	bottom: 0;
	background-color: #4f822d;
	z-index: 99;
}

#tempoRunning {
	position: absolute;
	width: 100%;
	text-align: center;
	bottom: 0;
}

.botao-executa {
	margin: 0 auto;
	width: 35px !important;
	height: 35px !important;
	display: block !important;
	background-image: url('../images/start.png');
	background-size: 35px !important;
}

.botao-pausa {
	margin: 0 auto;
	width: 35px !important;
	height: 35px !important;
	display: block !important;
	background-image: url('../images/pausa.png');
	background-size: 35px !important;
}

.botao-para {
	margin: 0 auto;
	width: 35px !important;
	height: 35px !important;
	display: block !important;
	background-image: url('../images/stop.png');
	background-size: 35px !important;
}

.botao-seguinte {
	margin: 0 auto;
	width: 35px !important;
	height: 35px !important;
	display: block !important;
	background-image: url('../images/forward.png');
	background-size: 35px !important;
}

.pontosSimulador {
	transition-property: all;
	transition-timing-function: linear;
	opacity: 1;
}

.apagado {
	opacity: 0;
}

.timeline {
	-webkit-appearance: none;
	margin: 0 2.5%;
	width: 95%;
	height: 45px;
	background: transparent;
	outline: none;
	position: absolute;
	cursor: pointer;
}

.timeline::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 1px;
	height: 45px;
	background: #000000;
	cursor: pointer;
}

.timeline::-moz-range-thumb {
	width: 1px;
	height: 45px;
	background: #000000;
	cursor: pointer;
}

#markers {
	margin: 0 2.5%;
	width: 95%;
	height: 45px;
	justify-content: space-between;
	display: flex;
	position: absolute;
	pointer-events: none;
}

#markers p {
	position: absolute;
	transform: translateX(-50%);
}

.timelineHour {
	height: 20px;
	width: 1px;
	background-color: #ffffff;
}

.timelineHalf {
	height: 10px;
	width: 1px;
	background-color: #ffffff;
}
