body {
	font-size: 15px;
	font-family: Arial, sans-serif;
}

a {
	color: #0572D0;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.fa-comment-o:before {
   background: rgba(240, 240, 240, 0.7);
   border-radius: 50%;
   text-shadow: 1px 2px 3px rgba(0,0,0,0.7); 
   box-shadow: 1px 2px 4px 1px rgba(128, 128, 128, 0.6); 
}


*:focus{
	outline: 0;
}

#menu a {
	transition: 0.3s;
}

#edit_cliente  {
	display: none;
}

#edit_cliente .eliminar {
	right: 40px;
}

#edit_cliente .quatro .eliminar {
	right: 60px;
}

a:hover { 
	border-bottom: 1px solid #0572D0;
}


#plus_cliente {
	cursor: pointer;
	font-size: 1em;
	color: #ababab;
} 

/* Formulário de Login */

.login{
	max-width: 250px;
	margin: 100px auto;
	
}

input {
	padding: 8px;
	border: 1px solid silver;
	border-radius: 2px; 
}

.login input[type=text],
.login input[type=password]{
	margin-bottom: 5px;
	width: calc(100% - 20px);
}

.login p{
	margin: 0;
	text-align: right;
	max-width: 100%;
}

input[type=submit]{
	padding: 5px;
}

.menuChart{
	
	text-align: center;
	margin-bottom: 10px;
}

.menuChart a:first-of-type{
	
	margin-right: 20px;
	
	
}

/* SWITCH ON/OFF */
.onoffswitch {
    position: relative; width: 94px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 2px solid #999999; border-radius: 20px;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 30px;
    font-size: 15px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: "ON";
    padding-left: 12px;
    background-color: #66EA5C; color: #FFFFFF;
}
.onoffswitch-inner:after {
    content: "OFF";
    padding-right: 12px;
    background-color: #FFCCCC; color: #7D7B7B;
    text-align: right;
}
.onoffswitch-switch {
    display: block; width: 18px; margin: 6px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 60px;
    border: 2px solid #999999; border-radius: 20px;
    transition: all 0.3s ease-in 0s; 
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px; 
}

#content,
#header {
	max-width: 780px;
	margin: 10px auto;
	background: #F5F5F5;
	border-radius: 5px;
	padding: 10px;
}
#header:after {
	content: '';
	clear: both;
	display: block;
}

#header a{
	text-decoration: none;
}

#header p{
	margin: 0;
}

.direita {
	float: right;
	width: 95px;
	line-height: 30px;
	margin-top: 5px;
}

.esquerda {
	width: calc(100% - 280px);
	min-width: 250px;
	float: left;
}


.onoffswitch{
	float: left;
}

.logout{
	float: right;
}






/* SWITCH CLIENTES */

.onoffswitchC {
    position: relative; width: 67px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
	float: right;
}
.onoffswitch-checkboxC {
    display: none;
}
.onoffswitch-labelC {
    display: block; overflow: hidden; cursor: pointer;
    border: 2px solid #999999; border-radius: 50px;
}
.onoffswitch-innerC {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-innerC:before, .onoffswitch-innerC:after {
    display: block; float: left; width: 50%; height: 13px; padding: 0; line-height: 13px;
    font-size: 11px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-innerC:before {
    content: "ON";
    padding-left: 10px;
    background-color: #29C0E6; color: #FFFFFF;
}
.onoffswitch-innerC:after {
    content: "OFF";
    padding-right: 10px;
    background-color: #EEEEEE; color: #999999;
    text-align: right;
}
.onoffswitch-switchC {
    display: block; width: 19px; margin: -3px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 50px;
    border: 2px solid #999999; border-radius: 50px;
    transition: all 0.3s ease-in 0s; 
}
.onoffswitch-checkboxC:checked + .onoffswitch-labelC .onoffswitch-innerC {
    margin-left: 0;
}
.onoffswitch-checkboxC:checked + .onoffswitch-labelC .onoffswitch-switchC {
    right: 0px; 
}
#pesquisa_cliente{
	text-align: right;
}

#pesquisa_cliente a {
	color: gray;
}
#pesquisa_cliente a:hover {
	color: #5d5d5d;
}

#lista_clientes {
	
    padding: 7px;
    border: 1px solid silver;
    float: left;
    border-radius: 2px;

}

#add_cliente {
	display: none;
}

#pesquisa_cliente i {
	
    font-size: 1.1em;
    background: #EFEEEE;
    padding: 7.5px;
    position: relative;
    top: 1px;
    border-radius: 2px;
    border-radius: 2px;
    border: 1px solid silver;

}

#resultado_pesquisa, .caixinha {
    margin-top: 10px;
    font-size: 1.1em;
}

#resultado_pesquisa .linha, .linha {
	margin-bottom: 10px; 
	padding: 10px;
	background: #FBFAFA;
	border-radius: 2px;
	box-shadow: 0px 0px 1px #CCC; 
	position: relative;
}

#resultado_pesquisa .linha:after, .linha:after {
	content: '';
	clear: both;
	display: block;
}

.linha .total {
	position: absolute;
	right: 10px;
}

.linha .horas{
	display: inline-block;
	width: 200px;
}



/* 
	MENU
*/

#menu {max-width: 800px; margin: 0 auto; text-align: center; background: #F1F0F0; box-shadow: 0px 0px 1px #CCC; padding: 10px 0; }
#menu ul {list-style-type: none; padding: 0; margin: 0;}
#menu ul li {display: inline-block;}
#menu ul li a {margin-right: 20px; text-transform: uppercase; font-size: 1.1em;}

form p:first-of-type{
	margin-top: 0;
	
}

#pTextarea{
	
	width: 100%;
    display: block;
    margin: 0 auto;
	
}
form textarea{
	width: calc(100% - 5px);
    height: 50px;
}

#send_report{
	
    position: relative;
    display: block;
    text-align: right;
    margin-right: 5px;
	cursor: pointer;
	font-size: 18px;

}

#form_feedback {
    width: 200px;
    position: fixed;
    bottom: 0px;
    right: -220px;
	transition: 0.4s;
	border-radius: 5px 5px 0 0;
	background-color: #f5f5f5;
	padding: 10px;
}

#comment_icon {
	position: absolute;
	left: -50px;
	bottom: 20px;
	font-size: 2em;
	cursor: pointer;
}

#closeIcon{
	position: absolute;
	right: 5px;
	top: 8px;
	cursor: pointer;
	transition: 0.4s;
	color: #fff;
}

#closeIcon:hover{
	transform: rotate(90deg) scale(1.2); 
	color: #66EA5C;
}

#form_feedback .titulo{
	padding: 15px;
	border-radius: 5px 5px 0 0;
	background-color: #0572D0;
	position: relative;
	top: -10px;
	left: -10px;
	width: calc(100% - 10px);
}

#modal {
	position: fixed;
	width: 280px;
	min-height: 80px;
	top: calc(50% - 110px);
	left: calc(50% - 150px);
	background: #FFF;
	box-shadow: 0 0 5px rgba(150, 150, 150, 0.5);
	border-radius: 2px;
	padding: 10px;
	display: none;
}

#modal .titulo {
	font-size: 1.1em;
	font-weight: bold;
}

#modal a {
	background: green;
	padding: 5px 10px;
	text-transform: uppercase;
	position: absolute;
	right: 10px;
	bottom: 10px;
	border-radius: 5px;
	font-size: 0.9em;
	color: #4f524f;
	background: #dadada;
	cursor: pointer;
}

#modal a:hover {
	border-color: gray;
}

/* Colunas */
	.colunas {
		text-align: center;
	}
	.dois,#fix_clientes {
		width: 50%;
		float: left;
	}
	
	.tres {
		width: 33%;
		float: left;
	}
	
	.quatro {
		width: calc(33% - 50px);
		float: left;
	}
	
	.quatro:last-of-type {
		width: 150px;
	}
	
	.quatro .onoffswitchA {
		margin: 0;
		margin-left: 20px;
	}
	
	.admin .quatro select{
		width: 100%;
		margin: 0;
		padding: 4px;
		border: 1px solid silver;
	}
	
	.quatro .salvar {
		right: 15px;
	}
	
	.colunas:after {
		content: '';
		clear: both;
		display: block;
	}
	

@media all and (max-width: 767px) and (min-width: 0px){
	.direita {
		width: 80px;
		position: absolute;
		right: 30px;
	}
	
	.colunas .dois, .colunas .tres {
		width: 100%;
		float: none;	
	}
	

}












	/* Página ADMIN */
	.admin {
		margin: 10px 0;
	}
	.admin select {
		width: 250px;
		font-size: 1.1em;
		border-top: 0;
		border-left: 0;
		margin-top: 10px;
		padding: 5px;
	}
	
	.admin p {
		font-size: 1.1em;
	}
	
	.admin p i {
		font-size: 1.5em;
		color: #4F524F;
		text-shadow: 0px 0px 1px white;
	}
	
	
	
	.cliente select {
		width: 200px;
		border: 1px solid silver;
		border-radius: 2px;
		font-size: 0.95em;
		margin-right: 10px;
	}
	
	.cliente input {
		width: 70px;
		text-align: center;
		margin-right: 10px;
	}
	
	
	#operacoes_colaborador,
	#operacoes_clientes,
	.fix_clientes{
		display: none;
	}
		
	.colunas {
		position: relative;
	}

	
	.dois:last-of-type {
		float: right;
	}
	
	.onoffswitchA {
    position: relative; width: 67px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
	top: 10px;
	margin: 0 auto;
}
.onoffswitch-checkboxA {
    display: none;
}
.onoffswitch-labelA {
    display: block; overflow: hidden; cursor: pointer;
    border: 2px solid #999999; border-radius: 13px;
}
.onoffswitch-innerA {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-innerA:before, .onoffswitch-innerA:after {
    display: block; float: left; width: 50%; height: 12px; padding: 0; line-height: 12px;
    font-size: 11px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-innerA:before {
    content: "ON";
    padding-left: -5px;
    background-color: #5395E0; color: #FFFFFF;
}
.onoffswitch-innerA:after {
    content: "OFF";
    padding-right: 10px;
    background-color: #EEEEEE; color: #999999;
    text-align: right;
}
.onoffswitch-switchA {
    display: block; width: 19px; margin: -3.5px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 51px;
    border: 2px solid #999999; border-radius: 13px;
    transition: all 0.3s ease-in 0s; 
}
.onoffswitch-checkboxA:checked + .onoffswitch-labelA .onoffswitch-innerA {
    margin-left: 0;
}
.onoffswitch-checkboxA:checked + .onoffswitch-labelA .onoffswitch-switchA {
    right: 0px; 
}


.relative {
	position: relative;
}


#adicionar_registro,
#adicionar_registro_cliente {
	display: none;
}

#adicionar_send {
	position: absolute;
	right: 10px;
	top: 25px;
	cursor: pointer;
}


	.salvar_alteracao, 
	.salvar_alteracao_cliente,
	.salvar {
		position: absolute;
		top: 25px;
		font-size: 1.1em;
		padding: 0px 5px;
		background: #8AFF8A;
		border-radius: 10px;
		border: 2px solid #538C4E;
		color: #457939;
		cursor: pointer;
		transition: 0.3s;
	}
	
	.salvar_alteracao:hover,
	.salvar_alteracao_cliente:hover,	.salvar:hover{
		background: #8CCA87;
	}
	
	.eliminar_registo, .eliminar_registo_cliente, .eliminar {
		position: absolute;
		top: 25px;
		right: 0;
		font-size: 1.1em;
		padding: 0px 7px;
		background: #FFCCCC;
		border-radius: 10px;
		border: 2px solid #cd0a0a;
		color: #F35252;
		opacity: 0.7;
		transition: 0.3s;
		cursor: pointer;
	}
	
	.eliminar_registo:hover,
	.eliminar_registo_cliente:hover,	.eliminar:hover {
		opacity: 1;
	}
	
	.conteudo_linha {
		font-size: 0.9em; margin-top: 10px; margin-left: 20px;
		margin-bottom: 5px;
	}
	
	.conteudo_linha strong {
		display: inline-block;
	}
	
	.conteudo_linha .label {
		width: 100px;
		display: inline-block;
	}