@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@700&family=PT+Serif:wght@400;700&display=swap");
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

html {
  background-color: #fff;
  color: #474748;
  margin: 0;
  padding: 0;
  font-size: 16px;
}

html * {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: 'PT Serif', serif;
  font-size: 1rem;
}

h1, h2, h3, h4 {
  font-family: 'Oswald';
}

p {
  font-family: 'PT Serif', serif;
  line-height: 1.3rem;
}

h2 {
  font-size: 2.4rem;
}

h3 {
  font-size: 1.8rem;
}

main {
  width: 100%;
  display: grid;
  margin: 1rem auto;
}

main .logo {
  padding: 0.5rem 1rem;
  border-bottom: 2px solid;
  width: 90%;
  margin: auto;
}

main .logo img {
  width: 250px;
}

@media (max-width: 986px) {
  main {
    width: 95%;
  }
  main .logo img {
    width: 200px;
  }
}

#main-content {
  width: 90%;
  margin: 3rem auto 3rem;
}

#main-content h2 {
  text-align: center;
  margin: 1rem;
  line-height: 2.4rem;
}

#main-content .buttons li {
  color: #ffffff;
  text-decoration: none;
  background-color: #763AC7;
  padding: 0.1rem 1rem;
}

#main-content .buttons a {
  width: 100%;
  font-weight: bold;
  color: #ffffff;
  transition-duration: .3s;
  height: 100%;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: 0.375rem 0.75rem;
  text-decoration: none;
}

#main-content .buttons {
  display: flex;
  /*grid-template-columns: 1fr 1fr 1fr;*/
  align-items: center;
  flex-wrap: wrap;
  width: fit-content;
  height: auto;
  margin: 1rem auto 0rem;
  font-family: Oswald;
  letter-spacing: .07rem;
  justify-content: center;
}

#main-content .buttons li::before {
  display: none;
}

#main-content .buttons li,
#main-content .buttons .field__item {
  list-style: none;
  text-align: center;
  /*background-image: url("/sites/default/files/styles/d04/public/2023-02/Database%20Logo%20Template%20-%201-1.png");*/
  background-size: 100% 100%;
  text-transform: uppercase;
  margin: .5rem .75rem;
  align-items: center;
  display: flex;
  transition: .225s ease all;
}

#main-content .buttons li:hover, #main-content .buttons li:focus, #main-content .buttons li:focus-visible,
#main-content .buttons .field__item:hover,
#main-content .buttons .field__item:focus,
#main-content .buttons .field__item:focus-visible {
  cursor: pointer;
  transform: translate(0, -5px);
  opacity: .88;
  text-decoration: underline;
}

#main-content .buttons li:hover a, #main-content .buttons li:focus a, #main-content .buttons li:focus-visible a,
#main-content .buttons .field__item:hover a,
#main-content .buttons .field__item:focus a,
#main-content .buttons .field__item:focus-visible a {
  color: #ffffff;
  text-decoration-color: #EE263E;
}

#main-content .buttons a {
  width: 100%;
  /* margin: auto; */
  font-weight: bold;
  color: #ffffff;
  transition-duration: .3s;
  height: 100%;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: 0.375rem 0.75rem;
}

#main-content .buttons .field__item:nth-of-type(3n+1) a, #main-content .buttons li:nth-of-type(3n+1) {
  background-color: #763AC7;
}

#main-content .buttons .field__item:nth-of-type(3n+1) a:hover, #main-content .buttons .field__item:nth-of-type(3n+2) a:hover {
  text-decoration-color: #EE263E !important;
  text-decoration: underline;
}

#main-content .buttons .field__item:nth-of-type(3n+2) a, #main-content .buttons li:nth-of-type(3n+2) {
  background-color: #00B6ED !important;
}

#main-content .buttons .field__item:nth-of-type(3n) a, #main-content .buttons li:nth-of-type(3n) {
  background-color: #EE263E;
}

#main-content .buttons .field__item:nth-of-type(3n):hover a, #main-content .buttons li:nth-of-type(3n):hover a {
  text-decoration-color: #763AC7 !important;
}

#hours-block {
  background-color: #00B6ED;
  color: #101921;
  padding: 2rem;
}

.lined-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  width: 95%;
  margin: auto;
}

.lined-title h3 {
  padding: 0 1rem;
  margin: 0;
  font-size: 2.4rem;
}

@media (max-width: 986px) {
  .lined-title {
    width: 100%;
  }
  .lined-title h3 {
    font-size: 2.4em;
  }
}

.lined-title .underlinebackground {
  position: relative;
  width: -webkit-fill-available;
  width: -moz-available;
  content: '';
  top: 1.6rem;
  left: 0;
  border-bottom: 3px solid;
  height: 3px;
  margin: 0 0rem;
}

.center-description {
  text-align: center;
  margin-top: 1rem;
}

#branch-addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 90%;
  margin: 3rem auto;
}

@media (max-width: 986px) {
  #branch-addresses {
    grid-template-columns: 1fr;
  }
}

#branch-addresses div {
  text-align: center;
  margin-bottom: 2rem;
}

#branch-addresses p {
  padding: 0px;
  margin: -0.5rem 0 1rem 0;
}

#branch-addresses h3 {
  font-size: 2rem;
  padding: 0 1rem;
  margin: 0;
}

#branch-addresses h3 a {
  color: #474748;
  text-decoration: none;
}

#branch-addresses h3 a:hover {
  text-decoration: underline;
  text-decoration-color: #763AC7;
}

footer {
  background-color: #101921;
  display: grid;
  color: white;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  align-items: center;
  padding: 1rem 3%;
}

@media (max-width: 986px) {
  footer {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 4rem;
    font-size: 1em;
  }
  footer div {
    padding: 1rem 0;
    width: 100%;
    font: 1em;
  }
}

footer a {
  color: #ffffff !important;
  text-decoration: none;
}

footer a:hover {
  text-decoration-color: #763AC7;
  text-decoration: underline;
}

footer .c-right {
  text-align: right;
}

@media (max-width: 986px) {
  footer .c-right {
    text-align: center;
  }
}

footer .grid-centered {
  display: grid;
  justify-content: center;
  width: auto;
}

footer .footer-logo {
  align-items: center;
}

footer .footer-logo img {
  height: auto;
  width: 138px;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

@media (max-width: 986px) {
  footer .footer-logo img {
    margin-bottom: 0rem;
  }
}
