@import url("https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&family=Zilla+Slab:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap");
:root {
  --color-primary: #056CB6;
  --color-secondary: #B4D1ED;
  --color-tertiary: #6CAEDF;
}

body {
  background-color: #f8fafc;
}

.main {
  font-family: "Archivo", Arial, sans-serif !important;
  font-size: 18px;
  color: #505d6e;
}

.main h1, .main h2, .main h3, .main h4 {
  font-family: "Zilla Slab", Times New Roman, serif;
}

.main h1, .main h2, .main h3 {
  font-weight: 600;
}

.main h4 {
  font-weight: 400;
}

.main h1.or-page-title {
  font-size: 38px;
  border-bottom: none;
}

.main h2 {
  font-size: 30px;
}

.main h3 {
  font-size: 26px;
}

.main h4 {
  font-size: 22px;
}

.main p, main li {
  line-height: 1.8;
}

.main h1 {
  color: var(--color-primary);
}

.main h2, .main h3, .main h4 {
  color: #2777B4;
}

.main a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: #6caedf;
  text-decoration-style: dotted;
  text-underline-offset: 0.2em;
  transition: all 0.4s ease-out;
  text-decoration-thickness: 0.1em;
  font-weight: bold;
}

.main a:active, .main a:hover {
  color: #c64c00;
  text-decoration: underline;
  text-decoration-color: #e48000;
  text-decoration-style: dotted;
  text-underline-offset: 0.3em;
  text-decoration-thickness: 0.1em;
  font-weight: bold;
}

.main a:visited {
  color: #5c306a;
  text-decoration: underline;
  text-decoration-color: #5c306a;
  text-decoration-style: dotted;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.1em;
  font-weight: bold;
}

section.callout {
  background-color: var(--color-primary);
  padding: 15px 30px 40px;
  border-radius: 10px;
  color: #fff;
  background-image: url("/SiteCollectionImages/sos-tree-lgrey.png");
  background-repeat: no-repeat;
  background-position: 94% 95%;
}

section.stripe {
  background-color: var(--color-primary);
  color: #fff;
}

section.callout2, section.stripe2 {
  background-color: #e7edf4;
}

section.callout2 h2, section.stripe2 h2 {
  color: var(--color-primary);
}

section.callout h2, section.callout h3, section.stripe h2, section.stripe h3 {
  color: #f8fafc;
}

section.callout a, section.stripe a {
  color: #f5f2dd;
  text-decoration-color: #f5f2dd;
}

section.callout a:active, section.callout a:hover, section.stripe a:active, section.stripe a:hover {
  color: #ecaf66;
  text-decoration-color: #ecaf66;
}

section.callout a:visited {
  color: #dbdbff;
  text-decoration-color: #dbdbff;
}

section.callout2 a {
  color: #0362A6;
  text-decoration-color: #6caedf;
}

.main .btn-default, .main .btn-default:hover, .main .btn-default:visited {
  background-size: 220%;
  color: #f8fafc !important;
  background-color: var(--color-primary);
  border: 2px solid var(--color-primary);
  cursor: pointer;
  text-decoration: none;
}

.main .btn-default > i {
  transition: transform 0.4s;
}

.main .btn-default:hover > i {
  transform: translate(4px, 0);
}

.main .btn-primary, .main .btn-primary:hover, .main .btn-primary:visited {
  background-size: 220%;
  color: #035691;
  background-color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  cursor: pointer;
  text-decoration: none;
}

.main .btn-primary > i {
  transition: transform 0.4s;
}

.main .btn-primary:hover > i {
  transform: translate(4px, 0);
}

.main .btn-info, .main .btn-info:hover, .main .btn-info:visited {
  background-size: 220%;
  color: #f8fafc;
  background-color: #c64c00;
  border: 2px solid #c64c00;
  cursor: pointer;
  text-decoration: none;
}

.main .btn-info > i {
  transition: transform 0.4s;
}

.main .btn-info:hover > i {
  transform: translate(4px, 0);
}

nav-heading-grid-webpart .gov-priority .gov-priority-content > * {
  color: var(--color-primary);
}

nav-heading-grid-webpart .gov-priority > span {
  color: var(--color-primary);
}

nav-heading-grid-webpart .gov-priority:hover {
  background: #fcf2e6;
}

.flipcard-front-heading h2, .flipcard-front-heading h3 {
  color: var(--color-primary);
}

.flipcard-back-heading h2, .flipcard-back-heading h3 {
  color: #e7edf4;
}

button.flipcard-button-link {
  color: #e7edf4;
  text-decoration: underline;
  text-decoration-color: #e7edf4;
  text-decoration-style: dotted;
  text-underline-offset: 0.2em;
  transition: all 0.4s ease-out;
  text-decoration-thickness: 0.1em;
  font-weight: bold;
}

button.flipcard-button-link:hover {
  color: #ecaf66;
  text-decoration: underline;
  text-decoration-color: #ecaf66;
  text-decoration-style: dotted;
  text-underline-offset: 0.3em;
  text-decoration-thickness: 0.1em;
  font-weight: bold;
}

/* New Temporary Styling not on stage2-sos.oregon.gov */
figure img { /* Making IMG in figures responsive */
  width: 100%;
}

figcaption {
  font-size: 14px;
}

cta-hero-slideshow-webpart { /* Reducing height of slideshows */
  min-height: calc((50vh + 28.125vw) / 2);
}

.elections-pages-default-aspx .row:has(h1.or-page-title) { /* Hiding the row that contains the H1 page title on full width pages used for home*/
  display: none;
}

.photoframe { /*Give photos rounded corners*/
  border-radius: 6px;
}

.photoframe-left { /*Give photos rounded corners and pull left*/
  float: left;
  margin: 0 20px 5px 0;
  border-radius: 6px;
}

.photoframe-right { /*Give photos rounded corners and pull right*/
  float: right;
  margin: 0 0 5px 20px;
  border-radius: 6px;
}

.upper-nav-link.active.electionsNav {
  font-weight: bold;
  color: var(--color-primary);
}

.or-navbar {
  background: var(--color-primary);
}

.or-header {
  background-position-y: top;
}

.or-navbar-search-wrapper {
  background-color: var(--color-primary);
}

.or-header {
  background-image: url("/elections/SiteCollectionImages/Luckiamute%20River.jpg");
}

@media screen and (max-width: 767px) {
  .navbar-offcanvas {
    background-color: var(--color-primary) !important;
  }
}
.or-navbar-search-submit-button {
  background: var(--color-primary) !important;
}

.or-navbar-search-input-wrapper.or-navbar-search-open .or-navbar-search-close-button:hover {
  background-color: rgba(5, 108, 182, 0.5) !important;
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
  background: var(--color-secondary);
}

.or-navbar-search-wrapper, .or-navbar-toggle-button {
  height: calc(100% - 43px);
  bottom: 0;
  top: unset;
}

footer .col-sm-3:first-child .top-image {
  background-image: url("/elections/SiteCollectionImages/Footer%20Image.png") !important;
}