body {
  font-family: "Segoe UI", "Segoe WP", sans-serif;
  margin: 0;
  padding: 0 0 5px 8px;
  background: #298DCB url("https://drtimmarch.com/images/background.png") repeat-y left top;
}

a {
  color: #0066CC;
  text-decoration: none;
}

a:hover {
  color: #3399FF;
}

.nohover {
  color: #000;
}

.nohover:hover {
  color: #000;
}

#content {
  max-width: 800px;
}

h1 {
  font-family: "Segoe UI Light", "Segoe WP Light", sans-serif;
  font-size: 3.5em;
  font-weight: lighter;
  margin: 0;
}

h2 {
  font-family: "Segoe UI Light", "Segoe WP Light", sans-serif;
  font-size: 2.5em;
  font-weight: lighter;
  margin: 0;
}

h3 {
  font-family: "Segoe UI Light", "Segoe WP Light", sans-serif;
  font-size: 1.5em;
  font-weight: lighter;
  margin: 0;
}

p {
  margin: 0.5em 5px 1.5em 0;
}

.profilephoto {
  float: right;
}

.qualifications {
  font-family: "Segoe UI Light", "Segoe WP Light", sans-serif;
  font-size: 1.5em;
  font-weight: lighter;
  margin: 0;
}

.subheading {
  font-family: "Segoe UI Light", "Segoe WP Light", sans-serif;
  font-size: 1em;
  font-weight: lighter;
  margin: 0;
}

.timetable {
  float: right;
}

.timetable {
  border: 0;
}

.timetable th {
  font-family: "Segoe UI Light", "Segoe WP Light", sans-serif;
  font-size: 1.5em;
  font-weight: lighter;
  text-align: left;
  padding: 0 5px 0 0;
}

.timetable td {
  font-family: "Segoe UI Light", "Segoe WP Light", sans-serif;
  font-size: 1.5em;
  font-weight: lighter;
  text-align: left;
  padding: 0 4px 0 4px;
}

.timetable .eastbound {
  background-color: #CCC1D9;
}

.timetable .langwarrin {
  background-color: #D7E3BC;
}

.timetable .tsic {
  background-color: #E5B9B7;
}

.address {
  margin: 0 0 10px 28px;
  padding: 0;
}

.toplink {
  text-align: right;
}

.toplink img {
  border: 0;
  vertical-align: middle;
  margin-left: 5px;
}

.search {
  float: left;
  margin: 10px 0 0 0;
  border: 0;
}

.dllink {
  margin-bottom: 10px;
  padding: 5px 5px 5px 5px;
  /*-moz-transition: background-color 500ms ease;
  -webkit-transition: background-color 500ms ease;
  -o-transition: background-color 500ms ease;
  transition: background-color 500ms ease;*/
}

/*.dllink:hover {
  background-color: #fff;
}*/

.dllink img {
  border: 0;
  vertical-align: middle;
  margin-right: 5px;
  float: left;
}

img {
  max-width: 100%;
  height: auto;
}

#content {
  box-sizing: border-box;
  overflow-wrap: break-word;
}

@media screen and (max-width: 600px) {
  body {
    padding: 0 8px 5px 8px;
    font-size: 1.05em;
  }

  #content {
    max-width: none;
  }

  h1 {
    font-size: 2.4em;
  }

  h2 {
    font-size: 2em;
    margin-top: 0.4em;
  }

  h3 {
    font-size: 1.4em;
    margin-top: 0.4em;
  }

  .profilephoto {
    width: 110px;
    margin-left: 10px;
  }

  .qualifications {
    font-size: 1.2em;
  }

  /* Larger touch targets for navigation */
  ol {
    padding-left: 1.5em;
  }

  ol li a {
    display: inline-block;
    padding: 6px 0;
  }

  .timetable {
    float: none;
    margin: 0.5em 0;
  }

  .timetable table {
    width: 100%;
  }

  .timetable th,
  .timetable td {
    font-size: 1.2em;
  }

  .address {
    margin-left: 32px;
    min-height: 4.5em;
  }

  .dllink a {
    display: block;
    padding: 4px 0;
  }

  .toplink a {
    display: inline-block;
    padding: 8px 0;
  }
}
