
table {
  border-collapse: collapse;
  text-align: center;
}

@media only screen {
  body {
    max-width: 1000px;
  }

  /* This container is currently just for the home page */
  body.flex {
    width: 100%;
    display: flex;
    flex-direction: column;
    /*background-color: black;*/
  }

  body#fuel {
    display: flex;
    flex-direction: column;
    padding-left: 12%;
  }

  .incident_disp {
    font-size: 150%;
    width: 100%;
    display: inline;
    flex-direction: column;
    justify-content: left;
    text-align: left;
  }

  img.nav {
    height: 128px;
    width: 128px;
  }

  img.bignav {
    height: 164px;
    width: 164px;
  }

  img.map {
    width: 100%;
  }

  .tbicon {
    height: 72px;
    width: 72px;
  }

  table {
    width:100%;
    font-size: 150%;
    /*background-color: red;*/
  }

  table#fuel {
    width: 75%;
  }

  .unavailable {
      font-size: 180%;
      vertical-align: top;
  }

  .available {
      font-size: 180%;
      vertical-align: top;
  }

}

@media screen and (min-width: 1023px) {
  /* desktop - small */
  table {
    width:100%;
    /*background-color: green;*/
  }
  .unavailable {
      font-size: 120%;
  }

  .available {
      font-size: 120%;
  }
}

@media screen and (min-width: 1024px) {
  /* desktop - large */
  img.nav {
    height: 72px;
    width: 72px;
  }

  img.bignav {
    height: 96px;
    width: 96px;
  }

  img.map {
    width: 800px;
    height: 800px;
  }

  table {
    width:800px;
    font-size: 100%;
    /*background-color: blue;*/
  }

  .tbicon {
    height: 72px;
    width: 72px;
  }
}


.navbar {
  text-align: left;
  display: flex;
  flex-direction: row;
}

.icon {
  text-align: left;
  padding: 10px;
}

.navbar img {
  padding: 10px;
}

@media (max-width : 760px) {
    /*table {width:100%;}*/
  table {
    width:100%
    /*background-color: red;*/
  }
}


td.incident {
  column-span: all;
  padding: 12px;
}

td.uedit {
  text-align: left;
}

td.field_left {
  text-align: left;
}

td.field_right {
  text-align: right;
}

.low {
  color: red;
}

.med {
  color: orange;
}

.full {
  color: green;
}

th.field_left {
  text-align: left;
}

th.field_right {
  text-align: right;
}

td.uchk {
  text-align: left;
}

td.ufield {
  text-align: left;
  column-span: all;
}

th {
  text-align: left;
  background-color: #9f9696;
}

tr.even {
  background-color: #a0d2f1;
}

tr.odd {
  background-color: #ffffff;
}

td.date {
  text-align: left;
  padding: 5px;
  padding-right: 10px;
  padding-left: 10px;
}

td.addr {
  text-align: left;
  padding: 5px;
  padding-right: 10px;
  padding-left: 10px;
}

td.type {
  text-align: left;
  padding: 5px;
  padding-right: 10px;
  padding-left: 10px;
}

td.badge {
  text-align: center;
  padding: 5px;
  padding-right: 10px;
  padding-left: 10px;
}

td.rowicon img {
  height: 24px;
  width: 24px;
}

td.name {
  text-align: left;
  padding: 5px;
  padding-right: 10px;
  padding-left: 2px;
}

td.email {
  text-align: left;
  padding: 5px;
  padding-right: 10px;
  padding-left: 2px;
}

td.phone {
  text-align: left;
  padding: 2px;
}

.responder_row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding-right: 10px;
  align-items: baseline;
  font-size: 130%;
}

.responder {
  padding-top: 5px;
  padding-right: 2em;
  text-align: left;
  display: flex;
  flex-direction: row;
  /*font-size: 150%;*/
}

.driving_map {
  width: 100%;
  display: flex;
  justify-content: center;
}

td.audio {
  text-align: center;
  padding: 0px;
}

/* Fill the line/row */
td.responder_full {
  text-align: left;
  padding: 5px;
  padding-right: 20px;
  padding-left: 5px;
  column-span: all;
}

.Details {
  display: flex;
  flex-direction: row;
  text-align: left;
  font-size: 130%;
  padding-top: 5px;
}

.Description {
  text-align: left;
  white-space: pre-wrap;
  background-color: #afafaf;
  width: 100%;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  font-size: 150%;
}

.DescriptionOfficer {
  text-align: left;
  white-space: pre-wrap;
  background-color: #85858e;
  width: 100%;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  font-size: 150%;
}

strong {
  text-align: left;
}

td.icon {
  text-align: left;
  padding: 10px;
}

td.bigicon {
  text-align: center;
  padding: 15px;
  width: 33%;
}

div.closed {
  color: red;
}

.unavailable {
  color: red;
  font-weight: bold;
  text-transform: uppercase;
}

.available {
  color: green;
  font-weight: bold;
  text-transform: uppercase;
}

tr.Responding {
  background-color: #8bf679;
}

tr.NotResponding {
  background-color: #ffffff;
  color: red;
  font-weight: bold;
}

.available img {
  vertical-align: middle;
}

.unavailable img {
  vertical-align: middle;
}

tr.ul_available {
  background-color: #8bf679;
}

tr.ul_unavailable {
  background-color: #ffffff;
}

tr.ul_active {
  background-color: #97d0ef;
}

.statusbar {
  border-radius: 16px;
  vertical-align: middle;
  display: flex;
  height: 50px;
}

.availability {
  border-radius: 16px;
  display: inline;
  padding-left: 25%;
  padding-top: 5px;
}

.username {
  padding-top: 2%;
  border-radius: 16px;
  display: table-cell;
  vertical-align: bottom;
  padding-left: 2%;
}

.formlabel {
  font-weight: bold;
  vertical-align: top;
  padding-right: 10px;
  padding-top: 10px;
  font-size: 140%;
}

textarea.note {
  font-size: 150%;
  width: 95%;
}

input.note {
  font-size: 220%;
  border: 0px;
  width: .75em;
  height: .75em;
}

label.note {
  font-size: 220%;
}

.choices {
  font-weight: bold;
  padding: 10px;
  display: inline-block;
  background-color: #afafaf;
  border-radius: 4px;
}

.headerline {
  display: inline-flex;
  vertical-align: top;
  padding-bottom: 10px;
}

.value {
  display: inline;
  vertical-align: middle;
  padding-top: 10px;
  padding-right: 15px;
}

.formline {
  display: inline;
  vertical-align: top;
  padding-bottom: 10px;
  padding-top: 10px;
}

#error_message {
  display: inline;
  text-align: left;
  font-weight: bold;
  color: red;
}

/*
.usermenu {
  display: inline-block;
  position: relative;
}

.usermenu-content {
  display: none;
  position: absolute;
  width: 100%;
  overflow: auto;
  box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.4);
}
*/

/*
.usermenu:hover .usermenu-content {
  display: block;
}
*/

/* Styling for login page */
input.button {
    font-size: 240%;
}

input.note_button {
    font-size: 280%;
    width: 4em;
    height: 2em;
    /*padding: 10px;*/
}

input.login {
    font-size: 140%;
}

/* Begin styling for home page */

/* Drop-down menu */
.dropdowninput, .dropdown {
  display:none;
  background-color: #cecaca;
  border-radius: 12px;
  /*width: 70%;*/
  z-index: 2;
}

.dropdown li {
  list-style-type: none;
  text-align: left;
  font-size: 170%;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 1em;
  z-index: 2;
}

.dropdownbox label.avail {
  color: green;
  font-weight: bold;
  font-size: 150%;
  text-align: left;
}

.dropdownbox label.unavail {
  color: red;
  font-weight: bold;
  font-size: 150%;
  text-align: left;
}

.dropdowninput:checked + .dropdownbox .dropdown {
  display: block;
  z-index: 2;
}

div.menu {
  display: flex;
  z-index: 2;
  padding-top: 150px;
  position: absolute;
  font-size: 150%;
}

img.menu {
  height: 1em;
  width: 1em;
}


/* Top of page - header with logo/text */
div.header {
  display: flex;
  width: 100%;
}

div.header.info {
  flex-direction: column;
}

div.line {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.logo {
  height: 150px;
  width: 150px;
}

.headertext {
  display: flex;
  font-size: 200%;
  padding: 20px;
  font-weight: bold;
  align-items: center;
  flex-grow: 1;
  justify-content: center;
}

#location {
  display: none;
}

/* List of incidents */
div.incident_list {
  display: flex;
  position: relative;
  padding-top: 3em;
  z-index: 1;
  flex-direction: column;
  align-items: center;
  flex-grow: 4;
}

div.incident {
  padding-top: 1em;
  display: flex;
  align-items: center;
  font-size: 180%;
}

.incident a {
  display: flex;
  flex-direction: column;
  align-items: center;
}

audio {
  width: 100%;
  height: 1.5em;
  padding: 0px;
  padding-top: 5px;
  display: inline;
  align-items: center;
  border-radius: 8px;
}
