/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    width: 100%;
  }
}

body {
    line-height: 1.2;
}

a {
    font-family: Helvetica-bd,Verdana,sans-serif;
    color: #008afb;
    font-size: inherit;
    padding: 4px 0px 4px;
    text-decoration: none;
    font-weight: bold;
}

.bringToTop{
  z-index: 10;
}

.debug {
  font-size: 10px;
  color: red;
}

.alert {
  padding: 20px 20px 20px 0px;
  color: red;
}
.active-flight-alert {
  padding: 20px 20px 20px 0px;
  color: red;
  font-size: 28px;
  font-weight: bold;
}
.action {
  padding: 0px 10px 10px 0px;
  color: green;
  font-size: 20px;
  font-weight: bold;
}

#header {
  border-bottom: 1px solid #eee;
  overflow: hidden;
  font-size: 20px;
}

#loggedin {
  float: right;
  font-size: 20px;
}

.menu {
  float: left;
  font-size: 40px;
}

.menu-item {
  float: left;
  font-size: 30px;
  text-align: center;
  width: 60px;
}
.subnote {
    font-size: 10px;
    display: block;
}
.inlinenote {
    font-size: 12px;
    font-weight: normal;
}

#MainContent {
  clear: left;
  padding-top: 10px;
  font-size: 20px;
}



#flights, #fuel, #account, #reports {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    border-collapse: collapse;
    /*width: 800px;*/
    vertical-align: middle;
}
#pilots, #aircraft {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    border-collapse: collapse;
    /*width: 800px;*/
    vertical-align: middle;
}
#pilots td, #aircraft td, #flights td, #fuel td, #account td, #reports td {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 10px 10px 10px 0px;
}
#pilots tr:nth-child(even), #aircraft tr:nth-child(even), #flights tr:nth-child(even), #fuel tr:nth-child(even), #account tr:nth-child(even), #reports tr:nth-child(even) {
    background-color: #f2f2f2;
}

#pilots tr:hover, #aircraft tr:hover, #flights tr:hover, #fuel tr:hover, #account tr:hover, #reports tr:hover {
    background-color: #ddd;
}

#pilots th, #aircraft th, #flights th, #fuel th, #account th, #reports th {
  padding: 3px 15px 3px 0px;
  text-align: left;
  background-color: #336699;
  color: white;
}
#pilots .pre-head th, #aircraft .pre-head th, #flights .pre-head th, #fuel .pre-head th, #account .pre-head th, #reports .pre-head th {
  padding: 3px 15px 3px 0px;
  text-align: left;
  background-color: transparent;
  color: red;
  font-weight: normal;
  font-size: 12px;
  text-align: center;
}
#flight-actions, #fuel-actions {
  padding: 0px 0px;
  text-align: center;
}

#flight-actions td, #fuel-actions td {
  padding: 0px 5px;
  border: 0px;
  border-spacing: 0px;
}

td.n-num {
    font-size: 20px;
}
td.make-model {
    font-size: 20px;
}
td.current-tach{
    font-size: 20px;
}
td.start-flight, td.close-flight, td.delete-flight  {
    font-size: 30px;
    text-align: center;
    padding: 0px;
}
th#th-action {
    text-align: center;
}

.light {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #999;
    border-collapse: collapse;
    /*width: 800px;*/
    vertical-align: middle;
}

.detailbox {
  font-family: Helvetica-bd,Verdana,sans-serif;
  text-align: left;
}
.detailbox thead th {
  font-family: Helvetica-bd,Verdana,sans-serif;
  border-bottom: 1px dotted #aaa;
}
.detailbox td {
  border-bottom: 1px solid #eee;
}

.form-group {
    margin-bottom: 15px;
}
.has-error {
    color: red;
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
}
.help-block {
    display: block;
    margin-top: 5px;
    margin-bottom: 10px
    color: #737373;
}
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    font: inherit;
    margin: 0;
}

.input-icon {
  position: relative;
    width: 170px;
}

.input-icon i {
  position: absolute;
  display: block;
  transform: translate(0, -50%);
  top: 50%;
  pointer-events: none;
  width: 20px;
  text-align: center;
  font-style: normal;
}

.input-icon input {
    padding-left: 15px;
    padding-right: 0;
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}
div.PilotLoggedIn {
    font-weight: bold;
    margin-bottom: 0px;
}

/*
#editForm {
  float: right;
}
*/

div.editForm {
    display:grid;
    grid-template-columns: max-content max-content;
    grid-gap:5px;
}
div.editForm label {
  text-align:right;
}
div.editForm label:after {
  content: ":";
}
div.editForm input {
    width: 190px;
}

div.editFlightForm {
    display:grid;
    grid-template-columns: max-content max-content;
    grid-gap:5px;
    margin-bottom: 5px;
}
div.editFlightForm label {
  text-align:right;
  width: 150px;
}
div.editFlightForm label:after {
  content: ":";
}
div.editFlightForm input {
    width: 190px;
}

div.editFuelForm {
    display:grid;
    grid-template-columns: max-content max-content;
    grid-gap:5px;
    margin-bottom: 5px;
}
div.editFuelForm label {
  text-align:right;
  width: 150px;
}
div.editFuelForm label:after {
  content: ":";
}
div.editFuelForm input {
    width: 190px;
}

div.loginForm {
    margin-bottom: 15px;
    display:grid;
    font-size: 15px;
    grid-template-columns: max-content max-content;
    grid-gap:5px;
}
/*
div.loginForm label       { text-align:right; }
div.loginForm label:after { content: ":"; }
*/

div.AddCoinForm {
    display:grid;
    grid-template-columns: max-content max-content;
    grid-gap:5px;
}
div.AddCoinForm label       { text-align:right; }
div.AddCoinForm label:after { content: ":"; }

div.EditCoinForm {
    display:grid;
    grid-template-columns: max-content max-content;
    grid-gap:5px;
}
div.EditCoinForm label       { text-align:right; }
div.EditCoinForm label:after { content: ":"; }

.relative {
  position: relative;
}

.absolute-center {
  position:absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.text-center{
  text-align: center;
}

p {
  font-size: 1.5rem;
}

.red {
  color: red;
}
.green {
  color: green;
}

.btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.btn-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}
.btn-link {
    border-color: transparent;
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-weight: 400;
    color: #337ab7;
    border-radius: 0;
}

.maint_container, .fuel_container  {
  display: block;
  position: relative;
  padding-left: 15px;
  margin-bottom: 0px;
  cursor: pointer;
  /*font-size: 22px;*/
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-weight: inherit;
}
.maint_container input, .fuel_container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
/* Create a custom checkbox */
.maint_checkmark, .fuel_checkmark {
  position: absolute;
  top: .21em;
  left: 0px;
  height: 10px;
  width: 10px;
  background-color: #eee;
  border: solid black 1px;
}
/* On mouse-over, add a grey background color */
.maint_container:hover input ~ .maint_checkmark, .fuel_container:hover input ~ .fuel_checkmark {
  background-color: #ccc;
}
/* When the checkbox is checked, add a blue background */
.maint_container input:checked ~ .maint_checkmark, .fuel_container input:checked ~ .fuel_checkmark {
  background-color: #2196F3;
}
/* Create the checkmark/indicator (hidden when not checked) */
.maint_checkmark:after, .fuel_checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
/* Show the checkmark when checked */
.maint_container input:checked ~ .maint_checkmark:after, .fuel_container input:checked ~ .fuel_checkmark:after {
  display: block;
}
/* Style the checkmark/indicator */
.maint_container .maint_checkmark:after, .fuel_container .fuel_checkmark:after {
  left: 3px;
  top: 1px;
  width: 3px;
  height: 5px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}