/* BASE */

body {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  font-size: 1.125rem;
  text-decoration: underline;
}

a:active {
  text-decoration-thickness: 3px;
}

a:hover {
  color: #001c71;
}

a.current-page {
  text-decoration: underline;
  text-decoration-thickness: 3px;
}

div.tpl-main-content h1,
div.tpl-main-content h2,
div.tpl-main-content h3 {
  font-weight: 700;
  margin-bottom: 1rem;
}

div.tpl-main-content h1 {
  font-size: 2.5rem;
}

div.tpl-main-content h2 {
  font-size: 2rem;
}

div.tpl-main-content h3 {
  font-size: 1.125rem;
}

div.tpl-main-content li {
  padding-left: 1rem;
}

div.tpl-main-content p {
  font-size: 1.125rem;
}

div.tpl-main-content ul {
  font-size: 1.125rem;
  line-height: 1.8;
}

div.tpl-main-content ul li a {
  font-size: 1.125rem;
}

dt {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 2rem 0 1rem 0;
}

footer {
  line-height: 1.8;
  margin: 100px 0 0 0;
  padding: 0;
  text-align: center;
}

footer a {
  color: #f0f0f0;
  font-weight: 500;
}

footer a:hover {
  color: #f0f0f0;
  text-decoration-thickness: 3px;
}

footer img {
  height: 18px;
}

footer .flex-columns div,
footer .flex-columns section {
  margin-top: 2rem;
}

footer .flex-columns {
  align-items: baseline;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

footer .footer--blue,
footer .footer--white {
  padding: 2rem;
}

footer .footer--blue {
  background: #001c71;
  color: #f0f0f0;
}

footer .footer--blue h2 {
  font-size: 1.125rem;
  font-weight: 700;
}

footer .footer--white {
  background: #f0f0f0;
  color: #0a0a0a;
}

footer ul {
  font-size: 1.125rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2em;
}

nav a {
  font-size: 1rem;
  text-decoration: none;
}

nav#site-nav {
  height: 4.375rem;
  box-sizing: border-box;

  align-items: center;
  justify-content: center;
}

nav#site-nav .flex--container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 16px;
  height: 100%;
  box-sizing: border-box;
}

nav#site-nav .flex--container > a {
  color: white;
  padding: 0.5rem 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

nav#site-nav .flex--container > a:hover {
  color: white;
  text-decoration: none;
  background-color: #005cb9;
}

.top-bar .title img {
  height: 60px;
}

ul {
  list-style-type: disc;
}

ul li a {
  font-size: 1.125rem;
}

ul.icon-list {
  line-height: 1.5;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

ul.icon-list li {
  margin: 0;
  padding: 0 0 0 0.5rem;
}

ul.icon-list li p {
  display: inline-block;
  margin: 0;
}

ul.icon-list .location:before {
  background-image: url("https://torontopubliclibrary.typepad.com/update/images/location.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: inline-block;
  height: 20px;
  margin-right: 10px;
  scale: 1;
  vertical-align: middle;
  width: 20px;
}

ul.icon-list .phone:before {
  background-image: url("https://torontopubliclibrary.typepad.com/update/images/phone.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: inline-block;
  height: 20px;
  margin-right: 10px;
  scale: 1;
  vertical-align: middle;
  width: 20px;
}

ul.icon-list .wheelchair-access:before {
  background-image: url("https://torontopubliclibrary.typepad.com/update/images/wheelchair.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: inline-block;
  height: 20px;
  margin-right: 8px;
  scale: 1;
  vertical-align: middle;
  width: 20px;
}

ul.icon-list .wireless-access:before {
  background-image: url("https://torontopubliclibrary.typepad.com/update/images/wifi.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: inline-block;
  height: 20px;
  margin-right: 8px;
  scale: 1;
  vertical-align: initial;
  width: 20px;
}

ul.no-bullet {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.no-bullet li {
  padding-left: 0;
}

/* CLASS */

.back-to-top {
  margin-top: 100px;
  text-align: center;
}

.branch-messages {
  background-color: #fff9e3;
  border-top: 2px solid #fed253;
  line-height: 1.5rem;
  margin-bottom: 1rem;
  padding: 1rem;
}

.branch-messages img {
  height: 22px;
  vertical-align: bottom;
  width: auto;
}

.branch-hours td,
.branch-hours th {
  padding: 0.25rem 1rem 0.25rem 0;
}

.branch-hours th.days {
  font-weight: 600;
}

.breadcrumbs {
  font-weight: 700;
  margin: 2rem 0;
}

.logo-bar {
  background-color: #fff;
}

.mt--3 {
  margin-top: 3rem;
}

.navigation--branches {
  background: #efefef;
  padding: 1.25rem 0.5rem;
}

.navigation--branches > p {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-around;
  margin: 0;
}

.navigation--branches > p a {
  font-size: 1.875rem;
}

.text-align--center {
  text-align: center;
}

.text-align--left {
  text-align: left;
}

.text-align--right {
  text-align: right;
}

.top-nav--flex {
  display: flex;
  justify-content: space-between;
}

.top-nav--flex .desktop-only img {
  height: 60px;
}

.tpl-main-content .five.columns {
  margin-left: 0;
}

/* MEDIA QUERY */

@media screen and (max-width: 768px) {
  footer .flex-columns {
    flex-direction: column;
  }

  .logo-bar {
    background-color: #001c71;
    height: 60px;
  }

  .logo-bar .container {
    padding: 7px 20px;
  }
}

@media screen and (min-width: 769px) {
  button.mobile-only {
    display: none;
  }

  nav#site-nav {
    display: flex;
  }

  .top-bar .title img {
    margin: 2.03125rem 0 1.71875rem;
  }

  .top-nav--flex {
    justify-content: center;
  }

  .top-nav--flex > div {
    padding: 30px 0;
  }
}

@media screen and (min-width: 769px) and (max-width: 1159px) {
  .navigation--branches > p {
    gap: 2rem;
  }
}

/* ph=1 */

/* ph=1 */
