body {
  color: #444;
  margin: 1em auto 2em auto;
  max-width: 46em;
  line-height: 1.5em;
  padding: 0 1em;
  font-family: "Times New Roman", serif;
}

a {
  color: #0074D9;
}

a:visited {
  color: #8366c1;
}

a, a:link, a:active, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h2 {
  margin-top: 1.25em;
  margin-bottom: 0.5em;
}

p {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

img {
  user-select: none;
}

header img:first-of-type {
  width: 100%;
  border-bottom: 1px solid #000;
  padding: 0 0 1em 0;
}

header h1 {
  text-align: center;
  margin-bottom: 1em;
}

header nav a, header nav a:visited {
  color: inherit;
}

#tagline {
  text-align: center;
  font-style: italic;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

#banner {
  margin-top: 2em;
}

#location img {
  max-width: 100%;
  filter: drop-shadow(3px 3px 5px #222);
}

.two-col > div:first-child {
  padding-right: 1em;

}

.two-col > div {
  box-sizing: border-box;
  flex: 50%;
}

#mass-times h2 {
  margin-top: 0;
}

#mass-times h3 {
  margin-top: 0.5em;
  margin-bottom: 0;
}

#mass-times tr:first-of-type h3:first-of-type {
  margin-top: 0;
  margin-bottom: 0;
}

#mass-times td h3 {
  text-align: left;
}

#mass-times td:first-child {
  padding-right: 1em;
  text-align: right;
}

.link-list {
  font-family: Arial, sans-serif;
  font-weight: bold;
  list-style-type: none;
  padding-left: 0;
  text-underline-position: under;
}

.link-list i {
  padding-right: 0.3em;
  vertical-align: middle;
}

.link-list span {
  vertical-align: middle;
}

.link-list li + li {
  margin-top: 1em;
}

#sap-life {
  text-align: center;
}

#sap-life h2 {
  font-weight: normal;
  font-style: italic;
}

#sap-life h3 {
  font-style: italic;
  margin-bottom: 0.25em;
}

#sap-life ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-buttons {
  font-family: Arial, sans-serif;
  font-weight: bold;
  padding-left: 0;
  margin-top: 1.25em;
  list-style: none;
  display: flex;
  flex-flow: row wrap;
  gap: 1em;
  justify-content: left;
}

.social-buttons li {
  display: flex;
}

.social-buttons li a {
  border: 1px solid;
  padding: 0.5em;
  border-radius: 10px;
  white-space: nowrap;
  box-sizing: border-box;
  width: 10em;
}

.social-buttons a:hover {
  text-decoration: none;
  outline: 1px solid;
}

.social-buttons li a i {
  margin-right: 0.2em;
  vertical-align: middle;
}

.social-buttons li a span {
  width: 100%;
  vertical-align: middle;
}

article img {
  filter: drop-shadow(3px 3px 5px #222);
}

/* Desktop Browsers */
@media only screen and (min-width: 768px) {
  .two-col {
    display: flex;
    align-items: stretch;
  }

  #sap-life > div{
    display: flex;
    align-items: stretch;
  }

  #sap-life > div > div {
    flex: 33%;
  }

  #sap-life h3 {
    margin-top: 0.5em;
  }

  #location {
    text-align: center;
  }

  #tagline {
    font-size: 1.25em;
  }

  article h2 {
    text-align: left;
  }

  article img {
    max-height: none;
    max-width: 50%;
  }

  article section {
    clear: both;
    overflow: hidden;
  }

  article img.right {
    margin-left: 1.5em;
    margin-bottom: 1em;
    float: right;
  }

  article img.left {
    margin-right: 1.5em;
    margin-bottom: 1em;
    float: left;
  }
}

/* Mobile Browsers */
@media only screen and (max-width: 767px) {
  .mobile-hidden {
    display: none;
  }

  #location img {
    max-height: 18em;
    margin-top: 1em;
  }

  #sap-life h3 {
    margin-top: 1em;
  }

  article h2 {
    text-align: center;
  }

  article img {
    max-height: 18em;
    max-width: 95%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}
