html {
    width: 100%;
    height: 100%;
    font-family: Helvetica, Arial, sans-serif;
}

body {
    padding-bottom: 50px;
    margin: 0;
    height: 100%;
}

header {
    height: 200px;
    box-shadow: 0 0 10px #000;
    background-image: url("../resources/re-roof.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

ul {
    float: right;
    position: relative;
    right: 10%;
    top: 130px;
}

ul li {
    display: inline;
    list-style: none;
    background-color: goldenrod;
    padding: 20px;
    border-radius: 25px;
}

ul li a {
    text-decoration: none;
    color: #000000;
    font-size: 18px;
    padding: 35px;
}

footer {
    background-color: #f2f2f2;
    box-shadow: 0 0 10px #000;
    padding: 1px;
    bottom: 0;
    position: relative;
    width: 100%;
}

h1 {
    text-transform: uppercase;
    font-size: 48px;
}

p a {
    color: #666;
}

div {
    /*width: 100%;*/
    margin: 0 auto;
    text-align: center;
}

input {
    display: block;
    margin: 20px auto;
    text-align: center;
    box-shadow: 0 0 10px #666;
    width: 240px;
    height: 30px;
    background-color: #f2f2f2;
}

input[type="radio"] {
    display: inline;
    width: 33px;
    height: 13px;
}

button {
    height: 60px;
    background-color: #000000;
    color: #ffffff;
    border-radius: 3px;
    padding: 20px;
}

table {
  margin-left: auto;
  margin-right: auto;
}

table tr td input[type="text"] {
    width: 100px;
    text-align: right;
}
table tr {
    text-align: center;
}

table.lefalTable tr td {
    text-align: left;
}

input[type="button"] {
    color: white;
    background-color: green;
    height: 40px;
    cursor: pointer;
}

input[type="button"]:hover {
  background-color: grey !important;
}

input[type="checkbox"] {
    display: inline;
    width: 55px;
    height: auto;
}

.error {
    color: #FF0000;
}

table tr td.rightScroll {
    width: 200px;    
}

table tr td.rightScroll div {
    height:70px;
    overflow-y: scroll;
}

.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: black;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
  color: black;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: goldenrod;
  color: black;
}

/* Style the tab content */
.tabcontent {
  padding-top: 20px;
  border: 1px solid #ccc;
  border-top: none;
}

.comprof {
  background-color: #fffc66;
}

.comprof tr:first-child {
    background-color: #f9ba00;
    color: white;
}

.comprof tr td:first-child {
    background-color: #96a0ac;
    color: white;
}

.comprof th, td {
  padding: 20px;
}

.add-btn {
  background-image: url("../resources/add.png");
  background-repeat: no-repeat;
  height: 40px;
  background-color: lightseagreen !important;
  background-position: right;
  background-position-x: 180px;
}

.del-btn {
  background-image: url("../resources/trash.png");
  background-repeat: no-repeat;
  height: 40px;
  background-color: lightseagreen !important;
  background-position: right;
  background-position-x: 180px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.del-btn-row {
  background-image: url("../resources/trash.png");
  background-repeat: no-repeat;
  width: 37px;
  background-color: white !important;
}

 /* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: black;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #aaa;
  text-decoration: none;
  cursor: pointer;
} 

.modal-header {
  background-color: goldenrod;
  padding: 3px;
  margin-bottom: 20px;
}

label {
  font-weight: bold;
}

.img-btn-row {
  background-image: url("../resources/img-upload.png");
  background-repeat: no-repeat;
  width: 37px;
  background-color: white !important;
}