/*

Copyright (C) 2012-2015 GNU remotecontrol authors.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

*/

// html { min-height: 101%; }
html { overflow-y: scroll; }

* {
  box-sizing: border-box;
}

body {
	font: normal 62.5% Tahoma, Verdana, sans-serif;
}

#main-container {
  width:940px;
}

#loadimage {
  position: absolute;
  left: 458px;
  top: 134px;
  display: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0px;
  padding: 0px;
}

.active {
  font-weight: bold;
}

thead .active {
  color: lightgreen !important;
}

.required {
  background-color: pink;
}

.nav {
  margin-bottom: 4px;
}

table, th, td {
  border-collapse: collapse;
  /*text-align: center;*/
  border: 1px solid black !important;
}

thead th {
  text-align: center;
  vertical-align: top !important;
}

td {
  height: 2.5em;
  line-height: 2.5em;
  vertical-align: middle;
}

thead * {
  background-color: #555555 !important;
  border-color: #555555 !important;
  color: #eacc76 !important;
}

th {
  padding: 2px;
  white-space: nowrap;
}

th, td {
  /*vertical-align: top;*/
  border: 1px solid black !important;
  padding: 4px;
}

.alt {
  background-color: #c0c0c0 !important;
}

tbody th {
  
  text-align: right !important;
  vertical-align: middle !important;
  
}

tbody td {
  
  text-align: left !important;
  vertical-align: middle !important;
  
}

.update, .cancel {
  display: none;
}

span.view, label.view {
	display: inline-block;
}

span.edit, label.edit {
	display: none;
}

input.view, select.view, div.view {
	display: none;
}

input.edit, select.edit, div.edit {
	display: inline;
}

.error { color: red; text-align: left; }
.success { color: green; text-align: left; }

.correction_select { width: 5em; }

small { font-size: 8px; }

.occupied {
  /* green */
  background-color: #9afa6a !important;
}

.unoccupied {
  /* blue */
  background-color: #a8ddf0 !important;
}

.other {
  /* orange */
  background-color: #d7c39b !important;
}

.occupied, .unoccupied, .other {
  color: #000 !important;
}

.heat {
  background-color: red !important;
}
.cool {
  background-color: blue !important;
}

.heat, .cool {
  color: #fff !important;
}

h2, h3 {
  margin-top: 1em;
}

table { margin-top: 0.5em; }

thead input[type=text] {
  background-color: white !important;
  color: black !important;
}

.teal, a { color: #316164; }

tfoot td { border-top: 2px solid black !important; }
