:root {
  --gray: #ababab;
  --light: #e6e6e6;
  --bg: #ffffff;
  --accent: #920b0b;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: #ffffff !important;
  color: #000000 !important;
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  line-height: 30px;
}

body,
p,
li,
span,
div,
h1,
h2,
h3,
h4,
h5,
h6,
label,
strong,
em {
  color: #000000 !important;
}

a,
a:link,
a:visited {
  color: var(--accent) !important;
  text-decoration: none;
}

a:hover,
a:active {
  color: #5f0000 !important;
  text-decoration: underline;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

h1 {
  font-size: 40px;
  line-height: 50px;
}

h2 {
  font-size: 30px;
  line-height: 40px;
}

h3 {
  font-size: 25px;
  line-height: 35px;
}

button,
.button,
a.button,
input,
textarea,
select {
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
}

button,
.button,
a.button,
[type=submit] {
  background: #eeeeee !important;
  color: #000000 !important;
  border: 1px solid #cccccc !important;
  padding: 8px 12px;
  border-radius: 2px;
  cursor: pointer;
}

/* HEADER */

header,
.site-title,
#top-nav,
nav {
  background: #ffffff !important;
  color: #000000 !important;
}

header {
  margin: 0;
  position: relative;
  border-bottom: 1px solid #dddddd;
}

h1.site-title {
  font-size: 25px;
  line-height: 32px;
  padding: 15px 30px;
  margin: 0 auto;
  max-width: 1700px;
}

.site-title,
#top-nav {
  max-width: 1700px;
  margin-left: auto;
  margin-right: auto;
  background: #ffffff !important;
}

header nav {
  position: relative;
  padding: 0 30px;
}

header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

header nav a {
  color: #000000 !important;
}

/* MOBILE MENU BUTTON */

#mobile-nav-toggle {
  display: block;
  width: 38px;
  height: 38px;
  border: 1px solid #cccccc;
  background: #ffffff !important;
  color: #000000 !important;
  text-align: center;
  border-radius: 2px;
  position: absolute;
  right: 30px;
  top: -50px;
  cursor: pointer;
  line-height: 38px;
}

#mobile-nav-toggle:before {
  font-family: "Font Awesome 5 Free";
  content: "";
  font-weight: 900;
  color: #000000 !important;
}

header nav.open #mobile-nav-toggle:before {
  content: "";
}

/* DEFAULT MOBILE NAV CLOSED */

header nav ul.navigation {
  height: 0;
  overflow: hidden;
}

header nav.open ul.navigation {
  height: auto;
  overflow: visible;
}

header nav.open ul.navigation li {
  border-top: 1px solid #dddddd;
}

header nav.open ul.navigation a {
  display: block;
  width: 100%;
  padding: 12px 0;
  color: #000000 !important;
}

/* DROPDOWNS */

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content,
.archive-nav .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff !important;
  color: #000000 !important;
  min-width: 200px;
  z-index: 99999;
  border: 1px solid #cccccc !important;
}

.dropdown-content a,
.archive-nav .dropdown-content a {
  display: block;
  padding: 12px 16px;
  color: #000000 !important;
  background: #ffffff !important;
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .08em;
}

.dropdown:hover .dropdown-content,
.archive-nav .dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a:hover,
.archive-nav .dropdown-content a:hover {
  background: #eeeeee !important;
  color: #000000 !important;
}

/* SEARCH */

#search {
  position: relative;
  max-width: 1700px;
  margin-left: auto;
  margin-right: auto;
  background: #ffffff !important;
}

#search form {
  display: flex;
  background: #ffffff !important;
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  padding: 8px 30px;
}

#search form input[type=text] {
  width: 100%;
}

/* CONTENT */

#content {
  max-width: 1700px;
  margin-left: auto;
  margin-right: auto;
  padding: 30px;
  background: #ffffff !important;
  color: #000000 !important;
}

.page,
.page-content,
.site-page,
.blocks,
.block-layout,
.block,
.resource-page,
.resource-list,
.media-render {
  max-width: 100%;
  background: #ffffff !important;
  color: #000000 !important;
}

.banner {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #ffffff !important;
}

.banner img {
  width: 100%;
}

footer {
  max-width: 1700px;
  margin-left: auto;
  margin-right: auto;
  padding: 30px;
  background: #ffffff !important;
  color: #000000 !important;
  border-top: 1px solid #dddddd;
}

/* RESOURCE LISTS */

ul.resource-list {
  list-style-type: none;
  padding-left: 0;
}

ul.resource-list .resource {
  border-bottom: 1px solid #dddddd;
  padding-bottom: 25px;
  margin: 30px 0;
  overflow: hidden;
}

ul.resource-list .resource:first-child {
  border-top: 1px solid #dddddd;
  padding-top: 25px;
}

ul.resource-list .resource img {
  height: auto;
  width: 120px;
  float: right;
  margin-left: 15px;
}

/* TABLES */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

th,
td {
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid #dddddd;
  color: #000000 !important;
}

/* DESKTOP NAV */

@media screen and (min-width: 800px) {

  #mobile-nav-toggle {
    display: none;
  }

  header nav {
    padding: 0 60px;
  }

  header nav ul.navigation {
    display: flex;
    align-items: center;
    height: auto;
    overflow: visible;
  }

  header nav ul.navigation > li {
    margin-right: 20px;
    position: relative;
  }

  header nav ul.navigation > li > a,
  header nav ul.navigation > li > .parent-link > a {
    display: inline-block;
    padding: 12px 0;
    color: #000000 !important;
  }

  header nav ul.navigation > li > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff !important;
    border: 1px solid #cccccc;
    min-width: 220px;
    z-index: 9999;
  }

  header nav ul.navigation > li:hover > ul {
    display: block;
  }

  header nav ul.navigation > li > ul li {
    display: block;
    width: 100%;
  }

  header nav ul.navigation > li > ul a {
    display: block;
    padding: 12px 16px;
    color: #000000 !important;
    background: #ffffff !important;
  }

  header nav ul.navigation > li > ul a:hover {
    background: #eeeeee !important;
  }

  #content {
    padding: 40px 60px;
  }
}

/* MOBILE */

@media screen and (max-width: 799px) {

  html,
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 16px;
    line-height: 1.55;
  }

  header,
  .site-title,
  #top-nav,
  nav,
  #content,
  footer {
    width: 100%;
    max-width: 100%;
    background: #ffffff !important;
    color: #000000 !important;
  }

  h1.site-title {
    font-size: 22px;
    line-height: 28px;
    padding: 15px 70px 15px 20px;
  }

  h1 {
    font-size: 32px !important;
    line-height: 38px !important;
  }

  h2 {
    font-size: 26px !important;
    line-height: 32px !important;
  }

  h3 {
    font-size: 22px !important;
    line-height: 28px !important;
  }

  #content {
    padding: 20px !important;
  }

  header nav {
    padding: 0 20px 15px;
  }

  header nav ul.navigation,
  header nav.open ul.navigation {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }

  header nav ul.navigation li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    border-top: 1px solid #dddddd;
  }

  header nav ul.navigation a,
  header nav.open ul.navigation a {
    display: block !important;
    width: 100% !important;
    padding: 12px 0 !important;
    color: #000000 !important;
    background: #ffffff !important;
    white-space: normal !important;
    word-break: normal !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    transform: none !important;
  }

  .dropdown,
  .archive-nav .dropdown {
    display: block !important;
    width: 100% !important;
  }

  .dropdown-content,
  .archive-nav .dropdown-content {
    position: static !important;
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    background: #ffffff !important;
    border: none !important;
    border-left: 3px solid #dddddd !important;
    margin-left: 10px;
  }

  .dropdown-content a,
  .archive-nav .dropdown-content a {
    color: #000000 !important;
    background: #ffffff !important;
    padding: 10px 0 10px 12px !important;
    white-space: normal !important;
    font-size: 15px !important;
  }

  ul.resource-list .resource img {
    width: 80px;
  }

  footer {
    padding: 20px;
  }
}
/* MOBILE ONLY HEADER FIX — DOES NOT CHANGE DESKTOP */

@media screen and (max-width: 799px) {

  header[style] {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px !important;
    background: #ffffff !important;
    border-bottom: 2px solid #111 !important;
    position: relative !important;
  }

  header[style] > div:first-child a {
    color: #920b0b !important;
    font-size: 22px !important;
    line-height: 1.1 !important;
  }

  header[style] nav.archive-nav {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    right: 16px !important;
    background: #ffffff !important;
    border: 1px solid #ddd !important;
    padding: 10px 14px !important;
    width: 220px !important;
    z-index: 99999 !important;
  }

  header[style] nav.archive-nav > a,
  header[style] nav.archive-nav .dropbtn {
    display: block !important;
    color: #000000 !important;
    background: #ffffff !important;
    padding: 8px 0 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    text-align: left !important;
    white-space: normal !important;
  }

  header[style] .dropdown {
    display: block !important;
    position: relative !important;
  }

  header[style] .dropdown-content {
    display: block !important;
    position: static !important;
    background: #ffffff !important;
    border: 0 !important;
    padding-left: 14px !important;
    min-width: 0 !important;
  }

  header[style] .dropdown-content a {
    display: block !important;
    color: #000000 !important;
    background: #ffffff !important;
    padding: 7px 0 !important;
    font-size: 13px !important;
    white-space: normal !important;
  }
}


