/*!
Theme Name: shakopeedakota
Theme URI: http://underscores.me/
Author: SMSC Marketing
Author URI: https://smscmarketing.org
Description: A custom theme for the Shakopee Dakota website.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: shakopeedakota
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

shakopeedakota is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
    - Normalize
    - Box sizing
# Base
    - Typography
    - Elements
    - Links
    - Forms
## Layouts
# Components
    - Navigation
    - Posts and pages
    - Comments
    - Widgets
    - Media
    - Captions
    - Galleries
# plugins
    - Jetpack infinite scroll
# Utilities
    - Accessibility
    - Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
     ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
 html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

/* Sections
     ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
    font-size: 2em;
}

/* Grouping content
     ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Text-level semantics
     ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
     ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
    border-style: none;
}

/* Forms
     ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Interactive
     ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Misc
     ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
    display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
    box-sizing: border-box;
    padding: revert;
}

html {
    box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

:root {
    /* --content-width: 1500px;
    --primary-blue: #86ACCB; */
}

html {
    font-size: 18px;
}

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
    color: #404040;
    font-family: 'proxima-nova', serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1;
}

h1 {
    font-size: 35pt;
    font-family: 'garamond-premier-pro', serif;
    font-weight: 400;
}

h2 {
    font-size: 25pt;
    font-family: 'garamond-premier-pro', serif;
    font-weight: 400;
}

h3 {
    font-size: 20pt;
    font-family: 'proxima-nova', serif;
    font-weight: 400;
}

p {
    margin-top: 0;
    margin-bottom: 1.5em;
}
p:only-child,
p:last-child {
    margin-bottom: 0;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", courier, monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
    background-color: #fff;
    position: relative;
    z-index: -1;
}
body::before {
    content: '';
    background-image: 
    url('/'),
        url('https://shakopeedakota.org/wp-content/uploads/2024/11/landing-page-bagkround_top.jpg') !important;
    background-position: center -50px, center !important;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60vh;
    z-index: 2;
}


body::after {
    content: '';
    background-image: url('');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    max-height: 900px;
    z-index: 1;
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 0;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

img {
    height: auto;
    max-width: 100%;
}

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/* Links
--------------------------------------------- */
a {
    color: var(--gray-5);
}

/* a:visited {
    color: #800080;
} */

a:hover,
a:focus,
a:active {
    color: var(--gray-3);
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1;
    padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/


/* Posts and pages
--------------------------------------------- */
.sticky {
    display: block;
}

.updated:not(.published) {
    display: none;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

:where(.wp-block-columns) {
    margin-bottom: 0;
}
:where(.is-layout-grid) {
    gap: 1em;
}
.wp-block-group__inner-container {
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
}
.content-width-inner-md .wp-block-group__inner-container {
    max-width: var(--content-width-md);
}

@media screen and (min-width: 37.5rem) {
    .wp-block-group__inner-container {
        padding: 3rem;
    }
    .wp-block-group__inner-container.is-layout-grid .wp-block-group + .wp-block-group {
        margin-top: 0px;
    }
}

/* Comments
--------------------------------------------- */
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
    margin: 0 0 1.5em;
}

.widget select {
    max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
    display: flex;
    align-items: center;
}

/* Captions
--------------------------------------------- */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
    grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
    grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
    outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

    /*rtl:ignore*/
    float: left;

    /*rtl:ignore*/
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {

    /*rtl:ignore*/
    float: right;

    /*rtl:ignore*/
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}


/*--------------------------------------------------------------
# Site Specific Styles
--------------------------------------------------------------*/

h2 {
    position: relative;
    margin-bottom: 20px;
}
h2.has-text-align-left.adorned {
    float: left;
}
h2.adorned::after {
    content: '';
    border-bottom: 1px solid #d4d4d4;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    clear: both;
    display: block;
}
h2.has-text-align-left.adorned + *::before {
    content: '';
    clear: both;
    display: table;
}

.section-subheading {
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: #666;
    font-family: 'montserrat', sans-serif;
    font-weight: 400;
    line-height: 1;
}

.back-to-top, .timeline-back-to-top {
    position: sticky;
    display: flex;
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: #fff;
    /* bottom: 20px; */
    top: calc(100% - 70px);
    left: calc(100% - 70px);
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    z-index: 1001;
    margin-bottom: 1em;
}

.timeline-back-to-top{
    bottom: 20px;
    text-decoration: none;
}

.timeline-back-to-top:active, .timeline-back-to-top:hover, .timeline-back-to-top:focus{
    color: #fff;
}

.back-to-top:hover {
    color: #fff;
}
.back-to-top.active {
    opacity: 1;
    pointer-events: all;
}

/* WordPress Overrides
--------------------------------------------- */
.wp-block-button__link,
.field-wrap input[type=submit],
.nav-previous a,
.nav-next a,
.btn {
    border-radius: 4px;
    text-align: center;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 17px;
    display: inline-block;
}
.wp-block-button__link,
.field-wrap input[type=submit],
.nav-previous a,
.nav-next a,
.btn-primary, .wc-block-cart__submit-container .wp-element-button{
    background-color: var(--primary-blue);
    color: #fff;
}
.btn.btn-outline {
    border: 2px solid var(--primary-blue);
    transition: all 0.4s ease;
}
.btn.btn-outline:hover {
    background-color: var(--primary-blue);
    color: #fff;
}

h3.wp-block-heading {
    margin-bottom: 20px;
}
.wp-block-media-text h3.wp-block-heading {
    margin-top: 20px;
}

#page {
    position: relative;
    z-index: 3;
}

.page-header {
    min-height: 400px;
    padding-top: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(134, 172, 203, 0.58);
    backdrop-filter: blur(3px);
}
body.home .page-header {
    height: 700px;
    background-color: transparent;
    backdrop-filter: none;
}
body.search .entry-header {
    background-color: rgba(134, 172, 203, 1);
}
.page-content {
    background-color: #fff;
    position: relative;
}
.page-header .page-title,
.entry-header .entry-title {
    padding: 0.75rem;
    text-align: center;
}
.entry-title > a {
    text-decoration: none;
}
.entry-title > a:hover {
    text-decoration: underline;
}

.wp-block-media-text + .wp-block-media-text {
    margin-top: 2rem;
}

.wp-block-media-text .wp-block-media-text__content {
    padding: 0;
}

.wp-block-group + .wp-block-group {
    margin-top: 1.5em;
}
.wp-block-group__inner-container.has-aside {
    display: grid;
    grid-template-columns: 1fr;
}
.aside-container {
    margin-top: 2rem;
}
.aside-container--section {
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
}
.aside-container--section + .aside-container--section {
   /*  border-top: 2px solid #cecece; */
} 
.aside-container--section > h5 {
    margin-bottom: 0.5rem;
}

.nav-links {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}
.nav-links:has(.nav-next:only-child) {
    justify-content: flex-end;
}


@media screen and (min-width: 37.5em) {
    .wp-block-media-text + .wp-block-media-text {
        margin-top: 3rem;
    }
    .wp-block-media-text .wp-block-media-text__content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 400px;
        padding: 2rem 8%;
    }
    .wp-block-group + .wp-block-group {
        margin-top: 2em;
    }
}
@media screen and (min-width: 62.5em) {
    .wp-block-group__inner-container.has-aside {
        grid-template-columns: 1fr 300px;
    }
    .wp-block-group__inner-container.has-aside .main-container {
        padding-right: 2rem;
        margin-top: 2rem;
    }
    .main-container {
        border-top: 4px solid var(--gray-2);
    }
}

/* Ninja Forms Overrides
--------------------------------------------- */
.submit-wrap .nf-field-element {
    text-align: right;
}
.recaptcha-wrap .nf-field-label {
    display: none;
}

/* Header
--------------------------------------------- */
.site-header {
    position: fixed;
    z-index: 1000;
    display: flex;
    top: 0;
    left: 0;
    width: 100%;
    transition: background 0.25s ease;
    background: var(--transparent-white-58);
    -webkit-backdrop-filter: blur(3px);
            backdrop-filter: blur(3px);
}
body.navOpen .site-header {
    background-color: #fff;
    border-bottom: 1px solid #cecece;
}
.site-header.scrolled {
    background-color: #fff;
    box-shadow: 0 3px 6px #cecece;
}
.site-header--inner {
    display: flex;
    width: 100%;
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    padding: 0.5rem 0.5rem;
}
.site-branding {
    display: flex;
    z-index: 1001;
}
header .site-branding {

}
.site-branding a {
    height: auto;
    display: flex;
    width: fit-content;
}
.site-branding img {
    width: 200px;
    height: auto;
}

@media screen and (min-width: 1154px) {
    header .site-branding {

    }
    .site-branding a {

    }
}


/* Navigation
--------------------------------------------- */
.main-navigation ul {
    margin: 0;
    padding: 0;
}
.main-navigation ul li {
    position: relative;
    list-style-type: none;
}
.main-navigation ul li a {
    text-decoration: none;
}
.main-navigation ul ul {
    display: none;
}
.main-navigation ul li:hover ul,
.main-navigation ul li.focus ul {
 /*   display: block;*/
    height:fit-content;
}
#site-navigation {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.menu-toggle {
    background: transparent;
    outline: 0;
    border: 0;
    z-index: 1001;
}
#hamburger {
    position: relative;
    height: 18px;
    width: 22px;
}
#hamburger div {
    position: absolute;
    width: 22px;
    height: 2px;
    left: 0;
    background-color: #000;
    transform: rotate(0);
    transition: .25s ease-in-out;
}
#hamburger div.first {
    top: 0;
}
#hamburger div.second {
    top: calc(50% - 2px);
}
#hamburger div.third {
    top: calc(100% - 4px);
}
.main-navigation.toggled #hamburger div.first {
    top: calc(50% - 2px);
    transform: rotate(135deg);
}
.main-navigation.toggled #hamburger div.second {
    opacity: 0;
}
.main-navigation.toggled #hamburger div.third {
    top: calc(50% - 2px);
    transform: rotate(-135deg);
}
.main-nav-container {
    position: absolute;
    top: 87px;
    left: 0;
    right: 0;
    transform: translateY(-100%);
    transition: transform 0.25s ease;
    opacity: 0;
    background-color: #fff;
    display: none;
    border-bottom: 1px solid #cecece;
    padding: 25px;
    box-shadow: 0px 9px 9px 0px #00000033;
    transition: all 0.2s ease-in-out;
}
.main-navigation.toggled .main-nav-container{
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    opacity: 1;
}
#primary-menu > .menu-item, #careers-menu > .menu-item {
    border-bottom: 1px solid #cecece;
}
#primary-menu > .menu-item:first-child, #careers-menu > .menu-item:first-child {
    border-top: 1px solid #cecece;
}
.menu-item > a {
    font-family: 'tablet-gothic';
    font-size: 16px;
    font-weight: 400;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 35px;
    width: 100%;
}
.menu-item.menu-item-has-children > a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 200;
    border-radius: 2px;
    font-size: 12px;
    background: rgba(50,50,50,0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    padding: 4px 8px;
}

.menu-item.menu-item-has-children.active > a::after
 {
    content: '\f077';
 }

.menu-item.menu-item-has-children.focus > a::after {
    content: '\f077';
}
.menu-item.focus > a {
    background-color: #cecece;
}
.menu-main-navigation-container, .menu-careers-menu-container {
    order: 2;
}
.sub-menu {
    height: 0;
}
.sub-menu .menu-item a {
    font-size: 14px;
    padding-left: 55px;
}
.secondary-nav {
    padding-bottom: 25px;
    display: flex;
    flex-direction: column;
    order: 1;
}
.secondary-nav--links {
    display: flex;
    margin-top: 10px;
    background-color: var(--primary-blue);
    border-radius: 4px;
    padding: 4px;
}
.secondary-nav--links a {
    font-size: 10pt;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    padding: 3px 10px;
    border-right: 1px solid #cecece;
    width: 33.333%;
    text-align: center;
}
.secondary-nav--links a:last-child {
    border-right: 0;
}
.secondary-nav a:hover {
    text-decoration: underline;
}
.header-search-container {
    order: 3;
}
.header-search-container {
    margin-top: 15px;
}
.header-search-container label {
    position: relative;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(100,100,100,0.58) inset;
    padding: 4px 8px;
    display: block;
}
.header-search-container input {
    position: relative;
    font-size: 12pt;
    outline: 0;
    border: 0;
    padding: 0;
    width: calc(100% - 25px);
}
.header-search-container button[type="submit"] {
    position: absolute;
    right: 8.5px;
    width: 25px;
    height: 100%;
    background-color: transparent;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: 0;
    border: 0;
    top: 0;
}
@media screen and (min-width: 1550px) {
    .site-header--inner {
        padding-left: 0px;
        padding-right: 0px;
    }
}
@media screen and (min-width: 1154px) {
    #site-navigation {
        justify-content: center;
    }
    .main-navigation .menu-toggle {
        display: none;
    }
    .main-navigation ul#primary-menu, .main-navigation ul#careers-menu {
        display: flex;
        width: 100%;
        justify-content: space-evenly;
        align-items: center;
        height: 100%;
    }
    .main-navigation ul li ul li a {
        padding: 20px 25px;
    }
    .main-navigation ul li:hover ul,
    .main-navigation ul li.focus ul {
        position: absolute;
        top: calc(100% - 1px);
        z-index: 10000;
        background-color: #fff;
        height: auto;
        width: 300px;
        box-shadow: 0 3px 6px #cecece;
        transition: background 0.25s ease;
    }
    .site-header.scrolled .main-navigation ul li:hover ul,
    .site-header.scrolled .main-navigation ul li.focus ul {
        background-color: #fff;
    }
    .main-nav-container{
        position: relative;
        flex-grow: 1;
        left: unset;
        right: unset;
        opacity: 1;
        background-color: transparent;
        display: grid;
        grid-template-columns: 1fr 230px;
        align-items: center;
        transform: translateY(0);
        top: 0;
        border-bottom: 0;
        box-shadow: none;
        padding: 0;
    }
    .menu-main-navigation-container, .menu-careers-menu-container {
        order: 1;
        grid-row: span 2;
        height: 100%;
    }
    .menu-item.menu-item-has-children > a::after {
        background: transparent;
        color: #000;
        font-weight: 800;
    }
    .menu-item > a {
        padding: 0 15px;
        height: 100%;
    }
    .menu-item.focus > a {
        background-color: transparent;
    }
    .sub-menu .menu-item a {
        padding-left: 35px;
    }
    #primary-menu > .menu-item, #careers-menu > .menu-item {
        border-bottom: 0;
        height: 100%;
    }
    #primary-menu > .menu-item:first-child,  #careers-menu > .menu-item:first-child {
        border-top: 0;
    }
    .secondary-nav {
        padding-bottom: 0;
    }
    .secondary-nav--links {
        margin-top: 0;
        background-color: transparent;
        border-radius: 0;
        padding: 0;
        justify-content: space-between;
    }
    .secondary-nav--links a {
        color: #333;
        width: auto;
        border-right: 0;
        padding: 0;
    }
    .header-search-container {
        margin-top: 5px;
    }
}

/* Hero
--------------------------------------------- */
#hero {
    height: 400px;
    padding-top: 110px;
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    position: relative;
}
#hero::after {
    content: '';
    background-image: url('https://shakopeedakota.org/wp-content/themes/shakopeedakota/images/cloud_full_3.png');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;

}
body.home #hero {
    height: 72vh;
    max-height: 900px;
}

/* Home Page
--------------------------------------------- */
.who-we-are .wp-block-columns {
    margin-top: 60px;
}
.who-we-are .wp-block-image {
    margin-bottom: 16px;
}
.who-we-are .wp-block-image figure {
    padding: 10px;
    border-radius: 64px;
    width: fit-content;
    border: 1px solid #707070;
}
.who-we-are .wp-block-image figure img {
    width: 40px;
    height: 40px;
}


/* Search Page
--------------------------------------------- */
body.search  .page-content article {
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #cecece;
}
body.search .page-content article:first-of-type {
    padding-top: 0;
}
body.search .page-content article:last-of-type {
    margin-bottom: 2rem;
}
body.search .search-container label {
    display: flex;
    width: 100%;
    position: relative;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #cecece;
    padding-right: 40px;
}
body.search .search-container label > input {
    outline: 0;
    background: transparent;
    border: 0;
    width: 100%;
    padding: 5px 10px;
}
body.search .search-container label > button {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 100%;
    background: var(--primary-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: 0;
    border: 0;
    border-left: 1px solid #cecece;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}
body.search .search-container label > button:hover {
    box-shadow: 0 0 100px rgba(0,0,0,0.3) inset;
}
.returned-posts-meta {
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--gray-3);
}
body.search .dashicons-before {
    width: 36px;
    height: 34px;
    margin: 0;
    text-align: center;
    color: var(--gray-3);
    display: inline-block;
}

@media screen and (min-width: 62.5em) {
    body.search .search-container {
        grid-column: span 2;
    }
}


/* Top Initiatives
--------------------------------------------- */
.top-initiatives-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}

.permanent-content .top-initiatives-wrapper{
    align-items: center;
}

.top-initiatives-wrapper > h4.section-subheading {
    order: 1;
}
.top-initiatives--left-panel {
    order: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right:1em;
}
.top-initiatives--right-panel {
    order: 2;
}
.top-initiatives--navigation {
    order: 4;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}
a.navigation-link {
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-blue);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}
a.navigation-link.slick-disabled {
    background-color: #B4B4B4
}

@media screen and (min-width: 820px) {

   .top-initiatives-wrapper {
        grid-template-columns: 50% 50%;
        grid-template-rows: auto 1fr;
        gap: 20px;
    }

    .featured-content.permanent-content .top-initiatives-wrapper{
        grid-template-columns: 60% 40%;
    } 

    .top-initiatives--right-panel {
        padding-right: 2rem;
    }
    .top-initiatives--right-panel {
        grid-row: span 2;
    }

}

/* Latest News
--------------------------------------------- */
.latest-news--tile {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.latest-news-tile--img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.latest-news-tile--img img {
    width: 100%;
    height: auto;
}
.latest-news-tile--meta {
    display: flex;
    flex-direction: column;
}
.latest-news-tile-meta--source {
    font-size: 14px;
    color: #24373E;
}
.latest-news-tile-meta--date {
    font-size: 14px;
    color: #757575;
}
.latest-news-tile--title {
    font-size: 16px;
    font-weight: bold;
}
.latest-news--navigation {
    order: 4;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

@media screen and (min-width: 600px) {
    .latest-news-wrapper {
        margin-left: -2rem;
        margin-right: -2rem;
    }
    .latest-news--slide {
        padding-left: 10px;
        padding-right: 10px;
    }
}


/* Donation Report Highlight
--------------------------------------------- */
.donation-report-highlight-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.latest-report-excerpt {
    margin-bottom: 20px;
}
.donation-report-actions-row {
    display: flex;
    gap: 10px;
}
.donation-report-actions-row > a {
    width: 50%;
    display: inline-block;
}
.donation-report-highlight-archive-list {
    margin-left: 1rem;
    padding-left: 1rem;
}
.donation-report-highlight-archive-list li {
    margin-bottom: 10px;
}
.donation-report-archive-title {
    display: block;
    margin-bottom: -3px;
}

@media screen and (min-width: 37.5rem) {
    .donation-report-highlight-wrapper {
        grid-template-columns: 60% 40%;
    }
    .donation-report-highlight--right-panel {
        padding-left: 15px;
        border-left: 1px solid #cecece;
    }
}
@media screen and (min-width: 960px) {
    .donation-report-highlight-wrapper {
        display: grid;
        grid-template-columns: 1fr auto;
    }
    .donation-report-highlight--left-panel {
        display: grid;
        grid-template-columns: 250px 1fr;
        gap: 15px;
    }
    .donation-report-highlight--left-panel > * {
        order: 2;
    }
    .donation-report-highlight--left-panel h3 {
        grid-column: 2;
    }
    .donation-report-highlight--left-panel .latest-report-link {
        order: 1;
        grid-row: span 3;
    }
    .donation-report-actions-row {
        display: block;
    }
    .donation-report-actions-row > a {
        width: auto;
    }
    
}


/* FAQs
--------------------------------------------- */
.faq-row {
    padding: 0 2rem;
    background-color: #fff;
}
.faq-row__inner-container {
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 0;
}
.faq-row + .faq-row .faq-row__inner-container {
    border-top: 1px solid #cecece;
}
.faq-row__inner-container h3 {
    margin-bottom: 0.6em;
}
.faq-row__inner-container h3 a {
    color: #222;
    text-decoration: none;
}
.faq-row__inner-container h3 a:hover {
    text-decoration: none;
}
.faq-row__inner-container h3 span {
    color: var(--primary-blue);
    font-size: 0.65em;
    font-weight: 200;
    vertical-align: middle;
}
.faq-row__inner-container h3 span::before {
    content: 'show';
}
.faq-row__inner-container h3 span::after {
    content: '\f055';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 400;
    margin-left: 10px;
}
.faq-row__inner-container.active h3 span::before {
    content: 'hide';
}
.faq-row__inner-container.active h3 span::after {
    content: '\f056';
}
.faq-row__answer {
    padding-bottom: 2em;
    height: 50px;
    overflow: hidden;
    position: relative;
}
.faq-row__answer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(to top, #fff 0%, #fff 10%, rgba(255,255,255,0) 100%);
}
.faq-row__inner-container.active .faq-row__answer {
    height: auto;
    overflow: unset;
    padding-bottom: 0;
}
.faq-row__inner-container.active .faq-row__answer::after {
    content: unset;
}

/* Footer
--------------------------------------------- */
.site-footer {
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.1);
}
.site-footer a {
    color: #1f1f1f;
    text-decoration: none;
}
.site-footer a:hover,
.site-footer a:focus {
    text-decoration: underline;
}
.site-footer--primary {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.site-footer-primary--left-panel {
    display: flex;
    flex-direction: column;
}
.site-footer-primary--left-panel .custom-logo-link {
    max-width: 300px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}
.site-footer-primary--left-panel > p {
    text-align: center;
}
.site-footer-primary--social-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.site-footer-primary--social-row a {
    color: #3F3F3f;
}
.site-footer-primary--right-panel {
    display: flex;
    gap: 20px;
    padding-left: 40px;
    padding-right: 40px;
    justify-content: center;
}
.site-footer-primary--right-panel .footer-menu > .footer-menu--title {
    font-size: 18pt;
    font-weight: bold;
}
.site-footer-primary--right-panel .footer-menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}
.site-footer--secondary {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-top: 2rem;
}

@media screen and (min-width: 820px) {
    .site-footer {
        padding: 3rem;
    }
    .site-footer--primary {
        flex-direction: row;
    }
    .site-footer-primary--left-panel {
        width: 50%;
        gap: 1rem;
    }
    .site-footer-primary--left-panel .custom-logo-link {
        margin-left: 0;
        max-width: 250px;
    }
    .site-footer-primary--left-panel > p {
        text-align: left;
        padding-left: 85px;
    }
    .site-footer-primary--social-row {
        justify-content: flex-start;
        padding-left: 85px;
    }
    .site-footer-primary--right-panel {
        width: 50%;
        justify-content: flex-end;
    }
    .site-footer--secondary {
        flex-direction: row;
        gap: 20px;
    }
    .site-footer--secondary .copyright {
        text-align: left;
        flex-grow: 1;
    }
}