/* CSS Document */
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro');

body {
    min-height: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 15px;
	background-color:#000;
	color: #FFF;
}
.wrapper {
    vertical-align: top;
    width:340px;
    margin:auto;
}
.title {
    width: 100%;
    padding: 5px;
    color: #FFF;
    text-align:center;
}
.titulos{
	background-color: #1F1F1F;
	height:30px;
	line-height: 30px;
	width:330px;
	margin:auto;
	margin-top:10px;
}
.laranja{
	color: #EB5701;
}
.temporizadores{
	background-color: #1F1F1F;
	width:330px;
	margin:auto;
	margin-top:10px;
	padding-bottom: 10px;
}
.camposNome{
	text-align:left;
	padding-left: 10px;
	margin-top:10px;
	height: 27px;
	line-height: 27px;
	color: #EB5701;
}
.camposForm{
	text-align: right;
	padding-right:10px;
	margin-top:9px;
}
.boxes {
    width:338px;
    text-align:center;
}
.halfBox{
    width:165px;
    display:inline-block;
    vertical-align:top;
	text-align: center;
}
.halfBox2{
    width:158px;
    display:inline-block;
    vertical-align:top;
	text-align: center;
}
.halfBox3{
    width:105px;
	height:50px;
    display:inline-block;
    vertical-align:top;
	text-align: center;
}
.inline{
    display:inline-block;
}
.link{
	text-decoration: none;
}
.botaoLuzes {
    width: 162px;
    height: 100px;
    background-color: #1F1F1F;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    cursor: pointer;
    display: block;
	margin-top:5px;
    color: #EB5701;
    font-size:16px;
	margin-left:0px;
    position: relative; /* necessário para posicionamento do filho absoluto */
}
.cornerIndicator {
    width: 15px;
    height: 15px;
    background-color: #EB5701;
    position: absolute;
    top: 6px;
    right: 6px;
    border-radius: 3px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 15px;
}
.botaoEstores {
    width: 340px;
    height: 100px;
    padding: 5px;
    background-color: #1F1F1F;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    cursor: pointer;
    display: block;
    margin: 3px;
    color: #EB5701;
    font-size: 16px;
}
#sala, #cozinha, #escritorio, #rua, #quintal, #wc, #wcvent, #escadas, #quartopequeno, #quartomedio, #quartogrande, #quartograndetecto, #varanda, #wc1, #wcvent1 {
    width: 100%;
    text-align: center;
    display: block;
    margin-top:5px;
}
.login{
	width:320px;
	margin:auto;
	margin-top:30px;
	background-color: #1F1F1F;
	height:260px;
	text-align:center;
	padding:10px;
}
.forms{
	padding:5px;
	border: solid 1px #FFF; 
	outline: none;	
	box-shadow: 0px 2px 4px 0px #000;
	width:135px;
}
.timers{
	padding:5px;
	border: solid 1px #FFF; 
	outline: none;	
	box-shadow: 0px 2px 4px 0px #000;
	width:25px;
}

.botao{
	margin:auto; 
	display:block;
	width:155px;
	line-height:50px;
	height:50px;
	vertical-align: middle;
	cursor: pointer;
	color: #EB5701;
	background-color:#000;
	border: none;
	font-size:16px;
}
.dis{pointer-events:none}

/* The container */
.container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
/* Create a custom checkbox */
.checkmark {
	position: absolute;

	height: 25px;
	width: 25px;
	background-color: #eee;
	border: 1px solid #000;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
	background-color: #ccc;
	border: 1px solid #000;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
	background-color: #EB5701;
	border: 1px solid #000;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.estado-online {
    background-color: #d4edda;
    border: 1px solid #28a745;
    border-radius: 5px;
    padding: 10px;
}

.estado-offline {
    background-color: #f8d7da;
    border: 1px solid #dc3545;
    border-radius: 5px;
    padding: 10px;
}