body {
  font-family:"Helvetica";
  margin: 0px;
}

/* HEADER */
header {
  width: 100%;
  height: 70px;
  background-image: url(/img/repatch.png);
  background-size: auto;
  background-repeat: no-repeat;
  background-position: right;
  background-color: #4D0F60;
  color: #eee;
  padding: 10px;
}

header a {
  color: #eee;
}

/* BODY */
h1, h4 {
  width: 100%;
  text-align: center;
}

h4 {
  margin-top: -20px;
}

.content{
  margin: 1%;
}
p {
  margin: 20px;
}

textarea {
  width: 100%;
  min-height: 50px;
}
code, .code {
  font-family: 'Courier New', Courier, monospace;
}
.red {
  color: #8C001A;
}

.home {
  position: relative;
}

.home h2 {
  margin: 20px;
}

.home a {
  font-weight: bold;
}

.home li {
  margin-bottom: 15px;
}

.home .content {
  display: flex;
  flex-direction: row;
}

.home .leftCol {
  flex-grow: 3;  
}

.loginBox {
  display: flex;
  flex-direction: column;
  border: 1px solid #222;
  padding: 45px;
  border-radius: 20px;
}

.loginBox div {
  margin-bottom: 5px;
}

.home .rightCol {
  flex-grow: 1;  
}

footer {
  clear: both;
}

#loginForm {
  display: flex;
}

/* FOOTER */
footer {
  border-top: 1px solid #ddd;
}

footer ul { margin: 0; padding: 0; }
  
footer li { display: inline-block }
  
footer li a {
  display: block;
  text-align: center;
  font-size: 0.8em;
  padding: 16px;
  text-decoration: none;
  color: #777;
}

.bold {
  font-weight: bold;
}

select, input[type=text] {
  font-size: 12px;
  padding: 5px;
  border-radius: 5px;
}

a.btn, label.btn, button, input.btn {font-size:12px;text-align: center;}
a.tiny.btn, button.tiny { padding: 0;min-width: 15px; }

a.btn, button, input[type=submit] {
  display: inline-block;
  background-color: #efefef;
  padding: 7px 9px 7px 9px;
  border: 1px solid #555;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  transition: all .3s ease-in-out;
  color: #000;
  margin-left: 2px;
  cursor: pointer;
}
a.btn:hover, button:hover, input.btn:hover {
  cursor: pointer;
  background-color: #ccc;
  box-shadow: none;
}

footer li a:hover { color: #333; }

/* SPECIFIC PAGES */
/* /admin */
.flex {
  display:flex;
  flex-direction: row;
}
.flex > * {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 10px 0 10px;
  border-radius: 10px;
  margin-right: 10px;
}
.reference {
  background-color: #ed0;
}
.settings {
  background-color: #e88;
}
.skillsTable tr td, .skillsTable tr th { padding-right: 10px; font-size: 0.8em;}
.skillsTable tr td:nth-child(1) {
  font-size:1em;
}
.formController {
  display:flex;
  flex-direction: row;
}
.formController > * {
  flex: 1;
  margin-right: 10px;
}

.task {
  margin-top: 5px;
  width: 95%;
  border-color: grey;
  border-width: 1px;
  position: relative;
  display: flex;
  flex-direction: row;
}

.taskInfo {
  flex: 1;
}

.taskActions button {
  margin: 5px;
  padding: 10px;
}

.subTasks .task {
  border-color: orange;
  margin: 2px 0 5px 5%;
}

.task.COMPLETED {
  border: 1px solid green;
}
.task.COMPLETED .taskTitle {
  font-weight:bold;
  color: green;
}
.task.STARTED {
  border: 1px solid red;
}
.task.STARTED .taskTitle{
  font-weight:bold;
  color: red;
}
.task.NOTSTARTED {
  border-style: dashed;
}
.task.NOTSTARTED .taskTitle{
  color: grey;
}
.taskTime {
}
.timeEstimate {
  font-weight: bold;
  color: #8B53FF;
}
.timeEstimateDesc, .taskTime, .taskSubTitle {
  font-weight: normal;
  color: grey;
}

.taskTime, .taskSubTitle {
  margin-top: -15px;
  font-size: 0.8em;
}

.taskTitle .arrow {
  position: absolute;
  left: -20px;
}

.actionIcon, button.actionIcon {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  vertical-align: center;
  background-color: #efefef;
  margin: 5px;
  min-width: 25px;
  padding: 0;
  font-size: 20px;
  border: 1px solid #555;
  border-radius: 5px;
  transition: all .3s ease-in-out;
  color: #000;
}
a.btn:hover, button:hover {
  cursor: pointer;
  background-color: #ddd;
  box-shadow: none;
}
#newPwdTr {
  color: red;
}
#newPwdTr td {
  padding: 5px;
}
td.locationTd {
  font-size: 0.8em;
}
td.createdTd {
  font-size: 0.8em;
}
td.phoneTd {
  font-weight: bold;
}
td.customerIDTd p {
  margin: 5px;
}
.proposedCost {
  color: #888;
}
.billIDTd button {
  padding: 2px 5px 2px 5px;
}
.dialogContainer {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}
.dialog {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}
.closeBtn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.closeBtn:hover, .closeBtn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.small {
  font-size: 0.7em;
}
.newLine {

}
.listTable .hideIfList {
  display: none;
}
#billTable td {
  padding: 3px;
}
a.status {
  padding: 5px;
  border-radius: 5px;
  text-decoration: none;
}
a.billPaid {
  background-color: green;
  color: #fff;
}
a.billUnpaid {
  background-color: red;
  color: #fff;
}

.actionArea {
  border: 1px solid #333;
  background-color: #92DCDF;
  border-radius: 10px;
}

.pointer {
  cursor: pointer;
}

.hidden {
  display: none;
}
strong.green {
  color: #009900;
}
strong.red {
  color: #990000;
}

/* TABLE ROW SPACING */
table {
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 10px;
  margin-top: 5px;
}

table tr {
  margin-bottom: 8px;
}

table td, table th {
  padding: 4px 4px;
  vertical-align: top;
}

/* Specific table classes that might need custom spacing */
.skillsTable tr td, .skillsTable tr th {
  padding: 4px 4px;
  font-size: 0.8em;
}

.listTable tr td, .listTable tr th {
  padding: 4px 4px;
}

#billTable td {
  padding: 8px 3px;
}