/*
Theme Name: Village of Morton 2025
Author: Central States Media
Author URI: http://www.centralstatesmedia.com/
Description: This site was built by Central States Media
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vm
*/
/***************************************
TABLE OF CONTENTS

01 - BASE
02 - UTILITIES
03 - LAYOUT
04 - COMPONENTS
05 - HEADER / NAVIGATION
06 - PAGES
07 - FOOTER
***************************************/
/*-------------------------------------
  01 - BASE - BASE - BASE - BASE - BASE
--------------------------------------*/
/*
  RESET *****
*/
/*
  HTML / Body
*/
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--primary-font);
  -webkit-text-size-adjust: none;
  line-height: 1.6;
  position: relative;
}

* {
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  margin: 0;
  padding: 0;
}

:after,
:before {
  box-sizing: border-box;
}

button {
  border: none;
  box-shadow: none;
  outline: none;
  background: none;
}

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

/*
  COLORS *****
*/
/*
 Colors / Typography @ root
*/
:root {
  --black-dk: #242424;
  --black: #333;
  --black-20: #4f4f4f;
  --black-40: #828282;
  --black-60: #bdbdbd;
  --white-60: #e0e0e0;
  --white-40: #f2f2f2;
  --white-20: #f5f4f6;
  --white: #fff;
  /*
    Site Specific Color Palette
  */
  --red: #b00000;
  --red-light: #d32f2f;
  --black: #222222;
  --black-light: #444444;
  --grey: #888888;
  --grey-light: #d9d9d9;
  --grey-lightest: #f8f8f8;
  --blue-light: #5994d5;
  --blue-lightest: #74a9dd;
  --gold: #f4a300;
  --primary-font-color: var(--primary-color);
  /*
    Global Font Colors
  */
  --primary-color: var(--black-light);
  --h-color: var(--black-light);
  --p-color: var(--primary-font-color);
  --nav-color: var(--black);
  --accent-color: var(--black);
}

/*
  SIZING *****
*/
/*
    Global Sizing (widths, paddings, etc)
*/
:root {
  --wrapper-max-width: 76.4rem;
}

html {
  /* Gap */
  --gap: 2rem;
  --neg-gap: 2rem;
  /* Fluid Gap */
  --gap-fluid: 5vw;
  --neg-gap-fluid: -5vw;
}
@media (max-width: 1500px) {
  html {
    --gap-fluid: 2rem;
    --neg-gap-fluid: -2rem;
  }
}
@media (min-width: 2000px) {
  html {
    --gap-fluid: 10vw;
    --neg-gap-fluid: -10vw;
  }
}
@media (min-width: 3000px) {
  html {
    --gap-fluid: 15vw;
    --neg-gap-fluid: -15vw;
  }
}
@media (min-width: 3500px) {
  html {
    --gap-fluid: 20vw;
    --neg-gap-fluid: -20vw;
  }
}

/*
  TYPOGRAPHY *****
*/
/*
  Responsive font sizing
*/
html {
  font-size: 17px;
}

@media (max-width: 900px) {
  html {
    font-size: 16px;
  }
}
@media (max-width: 650px) {
  html {
    font-size: 15.5px;
  }
}
@media (max-width: 400px) {
  html {
    font-size: 15px;
  }
}
/*
    Global Font Sizing
*/
:root {
  --baseFontSize: 1rem;
  --baseNavSize: 0.94rem;
  --smallFontSize: 0.8rem;
  --smallestFontSize: 0.512rem;
  --big-boss-heading: 3.052rem;
  --boss-heading: 2.441rem;
  --heading-1: 2.5rem;
  --heading-2: 2rem;
  --heading-3: 1.7rem;
  --heading-4: 1.4rem;
  --heading-5: 1.2rem;
  --heading-6: 1.2rem;
  --heading-7: var(--smallestFontSize);
}

/*
    Global Font Styles
*/
:root {
  --primary-font: "Manrope", sans-serif;
  --h-font: "Manrope", sans-serif;
  --btn-font: "Manrope", sans-serif;
  --p-font: "Manrope", sans-serif;
  --nav-font: "Manrope", sans-serif;
  --accent-font: "Manrope", sans-serif;
}

/*
  Headings
*/
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--h-font);
  color: var(--h-color);
  margin: 0 0 1rem;
  line-height: 1.2;
  text-wrap: balance;
}

h1,
.h1 {
  font-size: var(--heading-1);
  text-rendering: optimizeLegibility;
  font-weight: 600;
  color: var(--h-color);
}

h2,
.h2 {
  font-size: var(--heading-2);
  font-weight: 600;
}

h3,
.h3 {
  font-size: var(--heading-3);
  font-weight: 600;
}

h4,
.h4 {
  font-size: var(--heading-4);
  font-weight: 600;
}

h5,
.h5 {
  font-size: var(--heading-5);
  font-weight: 400;
}

h6,
.h6 {
  font-size: var(--heading-6);
  font-weight: 400;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  font-family: inherit;
  color: inherit;
  text-decoration: none;
}

h1 a:focus,
h1 a:hover,
h2 a:focus,
h2 a:hover,
h3 a:focus,
h3 a:hover,
h4 a:focus,
h4 a:hover,
h5 a:focus,
h5 a:hover,
h6 a:focus,
h6 a:hover {
  opacity: 0.65;
}

.content h1 {
  color: unset;
  text-transform: unset;
}

.content h2 {
  color: unset;
  text-transform: unset;
}

.content h3 {
  color: unset;
  text-transform: unset;
}

.content h4 {
  color: unset;
  text-transform: unset;
}

.content h5 {
  color: unset;
  text-transform: unset;
}

.content h6 {
  text-transform: unset;
}

.content h1 a,
.content h2 a,
.content h3 a,
.content h4 a,
.content h5 a,
.content h6 a {
  color: inherit;
  text-decoration: none;
}

.content h1 a:focus,
.content h1 a:hover,
.content h2 a:focus,
.content h2 a:hover,
.content h3 a:focus,
.content h3 a:hover,
.content h4 a:focus,
.content h4 a:hover,
.content h5 a:focus,
.content h5 a:hover,
.content h6 a:focus,
.content h6 a:hover {
  opacity: 0.88;
}

/*
  Links - Global --------------------
*/
a {
  font-family: var(--primary-font);
  font-size: inherit;
  color: inherit;
}
a:hover, a:focus {
  opacity: 0.7;
}

.content a:not(.btn, .button) {
  color: var(--primary-font-color);
  text-decoration: underline;
  text-decoration-thickness: 0.1rem;
  text-underline-offset: 0.2rem;
}

.content a:hover:not(.btn, .button),
.content a:focus:not(.btn, .button) {
  opacity: 0.65;
}

/*
  Text --------------------
*/
/*
  Content class global styles
*/
.content {
  font-family: var(--p-font);
  font-style: normal;
  font-size: var(--baseFontSize);
  color: var(--p-color);
}

/*
  Paragraph text
*/
p {
  margin-bottom: 1.5rem;
}

p:not(.content *) {
  font-family: var(--p-font);
  color: var(--p-color);
  font-size: var(--baseFontSize);
  margin-bottom: 1.5rem;
}
p:not(.content *)::-moz-selection {
  background-color: var(--black-60);
  color: white;
}
p:not(.content *)::selection {
  background-color: var(--black-60);
  color: white;
}

/*
  UL / OL Lists
*/
ul li a,
ol li a {
  font-family: var(--primary-font);
  color: var(--primary-font-color);
  font-size: var(--baseFontSize);
}

.content ul,
.post-content ul {
  padding: 0 0 1.5rem 40px;
}

.content ul li,
.post-content ul li {
  list-style: disc;
}

/*
  Span
*/
span {
  font-family: var(--primary-font);
  font-size: var(--baseFontSize);
}

/*
  Bold Text
*/
b {
  font-weight: 700;
}

strong {
  font-weight: 700;
}

/*
  Accent Text
*/
.accent {
  font-family: var(--accent-font);
  color: var(--accent-color);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.8rem;
}

/*-------------------------------------
  02 - UTILITIES UTILITIES UTILITIES
--------------------------------------*/
/*
  VARIABLES *****
*/
/*
 Random Custom Properties
*/
:root {
  --transition: all 0.2s cubic-bezier(0.47, 0, 0.745, 0.715);
}

/*
  Remove / Show content --------------------
*/
.hide {
  display: none;
}

.show {
  display: block;
}

/*
  Margin / Padding Resets --------------------
*/
.no-margin {
  margin: 0;
}

.no-padding {
  padding: 0;
}

.no-border {
  border: none;
}

/*
  Shadows
*/
.header-shadow {
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2);
}

/*
  Horizontal Rule
*/
hr {
  height: 3px;
  margin: 2rem 0;
  border: none;
  background: var(--black-60);
}

/*
  PAGINATION STYLES for WP
*/
.pagination {
  clear: both;
  padding: 20px 0;
  position: relative;
  font-size: 11px;
  line-height: 13px;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

.pagination span,
.pagination a {
  display: block;
  float: left;
  margin: 2px 2px 2px 0;
  padding: 6px 9px 5px 9px;
  text-decoration: none;
  width: auto;
  color: #666 !important;
  background: #d5d5d5;
}

.pagination a:hover {
  color: #fff !important;
  background: #000;
}

.pagination span {
  background: #666;
  color: #fff !important;
}

.pagination .current {
  padding: 6px 9px 5px 9px;
  background: #000;
  color: #fff !important;
}

/*
  SEARCH RESULTS STYLES for WP
*/
.search-results h1 {
  font-size: 1.2rem;
}

/*
  BREADCRUMBS (Yoast)
*/
#breadcrumbs {
  margin: 0;
  list-style: none;
  border-radius: 4px;
}

#breadcrumbs a {
  color: var(--black-20);
  text-decoration: none;
}
#breadcrumbs a:hover {
  color: var(--white-60);
}

/*-------------------------------------
  03 - LAYOUT LAYOUT LAYOUT LAYOUT LAYOUT
--------------------------------------*/
/*
  wrappers - wraps large sections of content for uniform vertical alignment --------------------
*/
/* Creates a wrapper around main sections of content */
.wrapper {
  margin: 0 auto;
  padding: 0 var(--gap);
  max-width: var(--wrapper-max-width);
}

/* Removes max-width for larger-fluid design */
.wrapper-fluid {
  margin: 0 auto;
  padding: 0 var(--gap-fluid);
}

/*
  Grid Layouts --------------------
*/
.grid-auto-1 {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
}

.grid-1-1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.grid-2-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

@media (max-width: 800px) {
  .grid-auto-1 {
    grid-template-columns: 1fr;
  }
}
/*
  Flex Layouts --------------------
*/
.flex-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.flex-group > * {
  flex: 1; /*  */
  min-width: -webkit-fit-content;
  min-width: -moz-fit-content;
  min-width: fit-content;
}

/*
  Sections  - generally affect vertical spacing --------------------
*/
/* used for normal section to create space between */
.section {
  margin-bottom: 4rem;
}

.section-sm {
  margin-bottom: 3rem;
}

/* used for section within another block or section */
.section-block {
  margin-bottom: 2rem;
}

/* used to create space within a section when 2 sections touch eachother
     eg: 2 sections with diff bg colors */
.section-spacer {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-spacer-lg {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.section-spacer-top {
  padding-top: 3rem;
}

.section-spacer-bottom {
  padding-top: 3rem;
}

/* used to center section inside parent element as well as center align the text */
.section-centered {
  text-align: center;
  display: flex;
  justify-content: center;
}

.section-prefooter {
  margin-bottom: 7rem;
}

.section-title {
  margin-bottom: 2rem;
}

.section-subtitle {
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

/*
  Page Headers --------------------
*/
/* if outside a parent container - add the left and right padding */
.page-header {
  margin-bottom: 2.25rem;
}

.page-header-title {
  margin-bottom: 2rem;
}

.page-header-subtitle {
  margin-bottom: 1rem;
  max-width: 80%;
  font-size: 1.1rem;
}

/*
  Alignment --------------------
*/
.align-left {
  text-align: left;
}

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

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

/*
  Text Blocks --------------------
*/
.text-block {
  margin: 0 0 3rem;
}

.text-block-narrow {
  margin: 0 0 3rem;
  /* Adjust max-width as needed */
  max-width: 43rem;
}

.text-block-center {
  margin: 0 auto 3rem;
  /* Adjust max-width as needed or eliminate if already in a parent container */
  max-width: 43rem;
}

/*
  Full Width --------------------
*/
/* Breaks out of wrapper for full-width content - extending bg color for example*/
.full-width {
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  position: relative;
  padding: 0;
}

body:has(.full-width) {
  overflow-x: hidden;
}

/* Kadence Blocks - adds back the 2rem inline pad needed */
.full-width .kt-row-column-wrap .kt-row-column-wrap {
  padding-inline: 2rem;
}

/* Kadence Blocks - when using the full-width class this fixes extra padding */
.full-width.kt-row-has-bg > .kt-row-column-wrap {
  padding-inline: 0;
}

.full-width-fluid {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0 var(--gap-fluid);
}

/*-------------------------------------
  04 - COMPONENTS COMPONENTS COMPONENTS COMPONENTS COMPONENTS
--------------------------------------*/
/*
  Buttons --------------------
*/
.btn,
a.btn,
.wp-block-button__link,
input[type=submit] :not(.search-form),
.gform_button {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  border-radius: 30px;
  padding: 1.1rem 2rem;
  max-width: 20rem;
  min-width: 10rem;
  text-decoration: none;
  line-height: 1.1;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  transition: none !important;
}
.btn:hover, .btn:focus,
a.btn:hover,
a.btn:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
input[type=submit] :not(.search-form):hover,
input[type=submit] :not(.search-form):focus,
.gform_button:hover,
.gform_button:focus {
  background: var(--red-light);
  opacity: 1;
  transition: none !important;
}

.btn.btn--secondary {
  background: none;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn.btn--secondary:hover, .btn.btn--secondary:focus {
  opacity: 0.65;
}

.btn-full {
  width: 100%;
  margin: 0 0 10px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.btn-group > * {
  flex: 1; /*  */
  min-width: -webkit-fit-content;
  min-width: -moz-fit-content;
  min-width: fit-content;
}

/*
  Links - Text links similar to buttons ------------------
*/
/*
  Basic text link usually inline
*/
.link {
  display: inline-block;
  color: var(--black-20);
  text-align: center;
}
.link:hover, .link:focus {
  color: var(--black-60);
}

/*
  Icons --------------------
*/
/*
  Icon before text
*/
.icon-before {
  position: relative;
}
.icon-before::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 15px;
  margin-bottom: 5px;
  vertical-align: middle;
  background: url("img/icon-arrow-right.svg") center no-repeat;
}

/*
  Icon after text
*/
.icon-after {
  position: relative;
}
.icon-after::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 15px;
  margin-left: 0.5rem;
  vertical-align: middle;
  background: url("img/icons/icon-arrow-right-black.svg") center/100% no-repeat;
  transition: var(--transition);
}

.icon-after.white::after {
  background: url("img/icons/icon-arrow-right-white.svg") center/100% no-repeat;
}

/*
  Social Icons
*/
/*
  Animations --------------------
*/
/*-------------------------------------
  05 - HEADER HEADER HEADER HEADER HEADER
       NAVIGATION NAVIGATION NAVIGATION
--------------------------------------*/
/*
  Top Bar
*/
.top-bar {
  padding: 0.5rem 2rem;
  background: var(--grey);
}
.top-bar .inner ul {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
}
.top-bar .inner ul li {
  color: var(--white);
}
.top-bar .inner ul li a {
  color: var(--white);
  font-size: 0.85rem;
}
.top-bar .inner ul li.fb a {
  display: inline-block;
  width: 20px;
  height: 30px;
  background: url("img/icons/icon-fb.svg") center/70% no-repeat;
}
@media (max-width: 600px) {
  .top-bar .inner ul {
    justify-content: center;
  }
  .top-bar .inner ul li:not(:nth-last-child(-n+2)) {
    display: none;
  }
}
/*
  Site Header
*/
.site-header {
  /* use below for sticky header */
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.site-header .inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0px 10px;
  align-items: center;
  position: relative;
}
.site-header .main-logo {
  padding-block: 1rem;
}
.site-header .main-logo img {
  width: 10rem;
}

/* Add styles here to shrink down header after scroll */
/*
  Main Navigation
*/
.main-nav {
  align-self: end;
  height: 100%;
}
.main-nav .menu-main-menu-container {
  height: 100%;
}
.main-nav .menu-main-menu-container > ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}
.main-nav .menu-main-menu-container > ul > li {
  display: flex;
  align-items: center;
  margin-left: 3%;
  padding-bottom: 1rem;
  height: 100%;
  position: relative;
}
.main-nav .menu-main-menu-container > ul > li > a {
  display: inline-block;
  display: flex;
  align-items: flex-end;
  height: 100%;
  font-family: var(--nav-font);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--nav-color);
  padding: 3px 10px 3px 10px;
  margin-bottom: 0;
  position: relative;
}
.main-nav .menu-main-menu-container > ul > li > a:hover, .main-nav .menu-main-menu-container > ul > li > a:focus {
  color: var(--red);
  opacity: 1;
}
.main-nav .menu-main-menu-container > ul > li:last-of-type a {
  padding-right: 0;
  margin-right: 0;
}
.main-nav .menu-main-menu-container > ul > li.menu-item-has-children:hover > a {
  color: var(--red);
}

/*
  Dropdown area
*/
/* second level */
.main-nav ul ul {
  display: none;
  margin: 0;
  position: absolute;
  padding: 0;
  opacity: 0;
  top: 100%;
  left: 0;
  width: 100%;
  min-width: -webkit-max-content;
  min-width: -moz-max-content;
  min-width: max-content;
  height: auto;
  background-color: var(--red);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
  z-index: 99999 !important;
}

.main-nav ul li:hover > ul,
.main-nav ul li:focus-within > ul {
  display: block;
  opacity: 1;
}

.main-nav ul ul li {
  margin: 0;
  height: auto;
}

.main-nav ul ul li:hover {
  background: var(--red-light);
}
.main-nav ul ul li:hover a {
  color: var(--white);
  opacity: 1;
}

.main-nav ul ul li a {
  display: block;
  color: var(--white);
  padding: 13px 12px 13px 12px;
  text-align: left;
  font-size: 0.85rem;
  text-align: left;
}

.main-nav ul ul li:first-of-type {
  position: relative;
}

/* third level */
.main-nav ul ul ul {
  top: 0;
  left: 100%;
  margin-top: 0;
}

/* End Dropdown area */
/*
  MOBILE-MENU-ICON / MOBILE SEARCH ICON --------------
*/
/*
  Mobile Menu Icon
*/
.menu-icon {
  cursor: pointer;
  display: none;
  z-index: 6000;
}
.menu-icon span {
  display: block;
  width: 40px;
  height: 3px;
  margin-block: 9px;
  background: var(--black);
  transition: var(--transition);
}

.site-header .inner:has(.mobile-nav.open) .menu-icon span {
  background: var(--black-40);
}

.site-header .inner:has(.mobile-nav.open) .menu-icon span:nth-of-type(1) {
  transform: translate(0, 12px) rotate(-45deg);
}

.site-header .inner:has(.mobile-nav.open) .menu-icon span:nth-of-type(2) {
  opacity: 0;
}

.site-header .inner:has(.mobile-nav.open) .menu-icon span:nth-of-type(3) {
  transform: translate(0, -12px) rotate(45deg);
}

/*
  Mobile Navigation
*/
.mobile-nav {
  display: grid;
  justify-items: center;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 2rem 2rem 2rem 2rem;
  margin-bottom: 3rem;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  width: 100%;
  height: 95vh;
  background: var(--black-light);
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  overflow-y: scroll;
  z-index: 100;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  transition: var(--transition);
}

body:has(.mobile-nav.open) {
  overflow: hidden;
  height: 100vh;
}

.mobile-nav nav {
  align-self: start;
  width: 100%;
  margin-top: 3rem;
  padding-bottom: 5rem;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mobile-nav ul li {
  text-align: center;
  margin-bottom: 15px;
  width: 100%;
}

.mobile-nav ul li.menu-item-has-children > ul.sub-menu {
  background: rgba(186, 32, 37, 0.3);
}

.mobile-nav ul li a {
  display: inline-block;
  font-size: 1.1rem;
  color: var(--white);
  padding: 8px 15px;
  text-transform: uppercase;
  position: relative;
}

.mobile-nav li a:hover,
.mobile-nav li a:focus {
  opacity: 0.65;
}

/*
  Mobile DropDown
*/
.mobile-nav ul.sub-menu li {
  border-bottom: none;
}

.mobile-nav ul ul {
  display: none;
}

.mobile-nav li.open-submenu > ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

.mobile-nav ul ul li {
  display: block;
  margin-bottom: 5px;
}

.mobile-nav ul ul li a {
  font-size: 0.85rem;
  font-weight: 400;
  border-bottom: none;
}

.mobile-nav .btn {
  border: none;
  margin-bottom: 1rem;
}
.mobile-nav .btn:hover, .mobile-nav .btn:focus {
  opacity: 0.65;
}

/*
  Search Form
*/
.search-wrap {
  position: absolute;
  top: 115%;
  right: 0;
}

.search-wrap.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.search-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 999px;
  overflow: hidden;
}

.search-box {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  outline: none;
  font-size: 1rem;
}
.search-box::-moz-placeholder {
  font-size: 0.8rem;
}
.search-box::placeholder {
  font-size: 0.8rem;
}

.search-btn {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 0 1.5rem;
  font-weight: 600;
  cursor: pointer;
}

.search-btn:hover {
  background: var(--red-light);
}

/*
  MOBILE RESPONSIVE MEDIA QUERIES - specific to general
    page layout at specific screen width
*/
@media (max-width: 1050px) {
  .site-header .inner {
    grid-template-columns: auto 1fr;
  }
  .main-nav {
    display: none;
  }
  .menu-icon {
    justify-self: end;
    align-self: center;
    display: inline-block;
  }
}
@media (min-width: 1050px) {
  .mobile-nav,
  .mobile-overlay {
    display: none;
  }
  .search-trigger {
    display: none;
  }
}
/*-------------------------------------
  06 - PAGES PAGES PAGES PAGES PAGES
--------------------------------------*/
/**************************************
  GLOBAL REUSABLE PAGE COMPONENTS
***************************************/
/**************************************
  HOME PAGE
***************************************/
/*
  HERO
  -- Used for Home Hero (front-page.php)
  -- Used for Department Hero (page.php)
*/
.hero {
  display: grid;
  grid-template-columns: 1fr;
  height: auto;
  position: relative;
  min-height: 80vh;
  overflow: hidden;
}
.hero.departments-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
  z-index: 5;
}
.hero img,
.hero video {
  grid-column: 1/-1;
  grid-row: 1;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 45% 50%;
     object-position: 45% 50%;
  height: auto;
  min-height: 80vh;
  max-height: 700px;
  width: 100%;
}
.hero .hero-cta {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  padding-block: 2rem;
  background-color: rgba(0, 0, 0, 0.4);
  text-align: center;
  text-wrap: balance;
  z-index: 20;
}
.hero .hero-cta a.icon-after {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}
.hero .hero-cta a.icon-after::after {
  width: 30px;
  height: 25px;
  margin-left: 1.2rem;
}
.hero .hero-cta a.icon-after:hover::after {
  transform: translateX(0.5rem);
}
.hero img.department-logo {
  justify-self: center;
  align-self: center;
  -o-object-fit: contain;
     object-fit: contain;
  width: 100%;
  height: auto;
  max-width: 400px;
  z-index: 10;
}

/*
  MAIN
*/
main {
  margin-top: -3px;
}

/*
  HOME RESOURCE CTAS SECTION (Template Part)
  -- Also used on Department Pages
*/
.resource-ctas {
  background: var(--red);
}
.resource-ctas .inner .resource-ctas-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
}
.resource-ctas .inner .resource-ctas-list .cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem 2rem;
}
.resource-ctas .inner .resource-ctas-list .cta:hover {
  opacity: 1;
}
.resource-ctas .inner .resource-ctas-list .cta .cta-icon-wrap {
  padding: 0.2rem;
  border-radius: 50%;
  border: 2px solid var(--grey-light);
  background: var(--white);
}
.resource-ctas .inner .resource-ctas-list .cta .cta-icon-wrap .cta-icon {
  display: grid;
  place-items: center;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  border: 3px solid var(--grey-light);
}
.resource-ctas .inner .resource-ctas-list .cta .cta-icon-wrap .cta-icon img {
  width: 50px;
  height: 60px;
}
.resource-ctas .inner .resource-ctas-list .cta .cta-name {
  margin: 0;
  color: var(--white);
  font-size: 1rem;
  max-width: 10ch;
  text-align: center;
}
.resource-ctas .inner .resource-ctas-list .cta:hover .cta-icon-wrap {
  background: var(--blue-light);
  border-color: transparent;
  opacity: 1;
}
.resource-ctas .inner .resource-ctas-list .cta:hover .cta-icon-wrap .cta-icon {
  border-color: transparent;
  filter: brightness(0) invert(1);
}

@media (max-width: 1050px) {
  .resource-ctas .inner .resource-ctas-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .resource-ctas .inner .resource-ctas-list {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .resource-ctas .inner .resource-ctas-list .cta {
    flex-direction: row;
    justify-self: center;
    width: min(28rem, 100%);
    border-bottom: 1px solid var(--grey-light);
    padding-bottom: 2rem;
  }
  .resource-ctas .inner .resource-ctas-list .cta .cta-name {
    max-width: unset;
  }
}
/*
  HOME DEPARTMENTS SECTION
*/
.departments h2 {
  text-align: center;
  margin-bottom: 5rem;
}
.departments .departments-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 2rem;
}
.departments .departments-grid .card {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  height: 100%;
}
.departments .departments-grid .card p {
  margin: 0;
  color: var(--white);
  text-align: center;
  font-weight: 800;
}
.departments .departments-grid .card p.bottom-title {
  grid-column: 1/-1;
  grid-row: 1;
  align-self: end;
  padding: 2rem 1rem;
  background: rgba(0, 0, 0, 0.45);
  transition: var(--transition);
}
.departments .departments-grid .card .middle-title-wrap {
  grid-column: 1/-1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.departments .departments-grid .card .middle-title-wrap p,
.departments .departments-grid .card .middle-title-wrap .arrow {
  transform: translateY(1rem);
  transition: var(--transition);
/*   transition-delay: 0.15s; */
}
.departments .departments-grid .card .middle-title-wrap .arrow {
  background: url("img/icons/icon-arrow-circle.svg") center/100% no-repeat;
  width: 40px;
  height: 40px;
}
.departments .departments-grid .card:hover {
  opacity: 1;
}
.departments .departments-grid .card:hover p.bottom-title {
  opacity: 0;
  transition: var(--transition);
}
.departments .departments-grid .card:hover .middle-title-wrap {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.departments .departments-grid .card:hover .middle-title-wrap p,
.departments .departments-grid .card:hover .middle-title-wrap .arrow {
  transform: translateY(0);
}
.departments .departments-grid .public {
  grid-column: 1/2;
  grid-row: 1/3;
  background: url("img/departments/public.png") center/50% no-repeat;
  background-size: cover;
}
.departments .departments-grid .fire {
  grid-column: 2/3;
  grid-row: 1/2;
  background: url("img/departments/fire.jpg") center/50% no-repeat;
  background-size: cover;
}
.departments .departments-grid .police {
  grid-column: 2/3;
  grid-row: 2/3;
  background: url("img/departments/police.png") center/50% no-repeat;
  background-size: cover;
}
.departments .departments-grid .admin {
  grid-column: 3/4;
  grid-row: 1/3;
  background: url("img/departments/admin.png") center/50% no-repeat;
  background-size: cover;
}

@media (max-width: 800px) {
  .departments .departments-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 2rem;
  }
  .departments .departments-grid .public,
  .departments .departments-grid .fire,
  .departments .departments-grid .police,
  .departments .departments-grid .admin {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
  }
}
/*
  HOME STATS SECTION (Template Part)
  -- Also used on Living in Morton Inside page
  -- can be dropped into any page via shortcode
*/
.stats {
  background-color: rgba(136, 136, 136, 0.8);
  position: relative;
}
.stats::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  background: url("img/village-bg.png") center/100% no-repeat;
  background-position: 20% 40%;
  z-index: 10;
}
.stats .inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 3rem 3rem;
  justify-items: center;
}
.stats .inner .stat {
  text-align: center;
}
.stats .inner .stat p {
  margin: 0;
}
.stats .inner .stat .number {
  color: var(--red);
  font-size: 2.5rem;
  font-weight: 700;
}
.stats .inner .stat .number span {
  color: var(--red);
  font-size: 2.5rem;
  font-weight: 700;
}
.stats .inner .stat .text {
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.2;
  max-width: 20ch;
  font-weight: 700;
}

@media (max-width: 800px) {
  .stats .inner {
    grid-template-columns: 1fr;
  }
}
/*
  HOME NEWS  SECTION
*/
.news {
  background-color: var(--grey-lightest);
  padding-bottom: 3rem;
}
.news .inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem 3rem;
}
.news .inner header {
  grid-column: 1;
  align-self: end;
}
.news .inner header p {
  color: var(--grey);
}
.news .inner a.btn {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
}

/*
  News Feed (Template Part)
  -Used on Home, and department template
*/
.news-feed.content {
  grid-column: 2;
  grid-row: 1/3;
  padding-block: 2rem;
}
.news-feed.content article {
  display: grid;
  grid-template-rows: 250px auto;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  height: 100%;
}
.news-feed.content article img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}
.news-feed.content article .bottom {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1.5rem 1.5rem 1.5rem;
  background-color: rgba(241, 241, 241, 0.6);
  text-decoration: none;
}
.news-feed.content article .bottom p {
  margin: 0;
}
.news-feed.content article .bottom .date {
  margin-bottom: 0.5rem;
  padding: 0.3rem 0.5rem;
  transform: translateY(-1.5rem);
  background: var(--blue-light);
  color: var(--white);
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
}
.news-feed.content article .bottom .cat-title-wrap {
  margin-bottom: 1.2rem;
}
.news-feed.content article .bottom .cat-title-wrap .category {
  color: var(--grey);
  margin-bottom: 0.2rem;
  font-weight: 500;
}
.news-feed.content article .bottom .title {
  font-size: 1.1rem;
  font-weight: 600;
}
.news-feed.content article .bottom .continue {
  display: inline-block;
  margin-top: auto;
  font-size: 0.9rem;
}
.news-feed.content article .bottom:hover {
  opacity: 1;
  background-color: rgba(241, 241, 241, 0);
}
.news-feed.content article .bottom:hover .date {
  background: var(--blue-lightest);
}
.news-feed.content article .bottom:hover .continue::after {
  margin-left: 0.75rem;
  transition: var(--transition);
}

.news-feed.splide {
  overflow-x: hidden;
}
.news-feed.splide .splide__track {
  overflow: unset !important;
  overflow-x: hidden;
}

@media (max-width: 900px) {
  .news .inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .news .inner header {
    grid-row: 1;
    grid-column: 1;
    text-align: center;
  }
  .news .inner a.btn {
    grid-row: 3;
    grid-column: 1;
    justify-self: center;
  }
  .news-feed.splide {
    grid-row: 2;
    grid-column: 1;
    max-width: 300px;
  }
}
/*
  HOME EVENTS SECTION
*/
.events {
  background-color: rgba(241, 241, 241, 0.6);
  background-image: url("img/bg-wave.png");
  background-repeat: no-repeat;
  background-size: cover;
  padding-block: 8rem 8rem;
  min-width: 100vw;
  min-height: 500px;
}
.events h4 {
  padding-block: 3rem;
  text-align: center;
}
.events .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}
.events .inner .calendar {
  align-self: start;
  background: var(--white);
  padding: 1rem;
  border-radius: 15px;
}
.events .inner .calendar img {
  -o-object-fit: contain;
     object-fit: contain;
  width: 100%;
  height: 100%;
}
.events .inner .right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}
.events .inner .right .events-feed article {
  margin-bottom: 1rem;
}
.events .inner .right .events-feed article a {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.75rem;
  background: var(--white);
  border-radius: 15px;
}
.events .inner .right .events-feed article a p {
  margin-bottom: 0;
}
.events .inner .right .events-feed article a p.date {
  display: flex;
  flex-direction: column;
  color: var(--white);
  background: var(--blue-light);
  border-radius: 15px;
  padding: 1rem;
  text-align: center;
  line-height: 1.1;
}
.events .inner .right .events-feed article a p.date span.month {
  font-size: 0.85rem;
  font-weight: 400;
}
.events .inner .right .events-feed article a p.date span.day {
  font-size: 1.2rem;
  font-weight: 700;
}
.events .inner .right .events-feed article a p.title {
  width: 100%;
  padding-block: 1rem;
  border-top: 1px solid var(--grey-light);
  border-bottom: 1px solid var(--grey-light);
}
.events .inner .right .events-feed article a:hover {
  opacity: 1;
}
.events .inner .right .events-feed article a:hover p.date {
  background: var(--blue-lightest);
}
.events .inner .right .events-feed article a:hover p.title {
  color: var(--red);
}
.events .inner a.btn {
  width: 100%;
  max-width: unset;
}

@media (max-width: 800px) {
  .events .inner {
    grid-template-columns: 1fr;
  }
}
/**************************************
  CONTENT
***************************************/
/**************************************
  INSIDE PAGES
***************************************/
/*
  FEATURE IMAGE
*/
.feature {
  display: grid;
  position: relative;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 50;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
}

.feature img {
  grid-column: 1/-1;
  grid-row: 1/-1;
  width: 100%;
  min-height: 30vh;
  max-height: 500px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.feature .title {
  grid-column: 1/-1;
  grid-row: 1/-1;
  align-self: center;
  justify-self: center;
  display: inline-block;
  z-index: 100;
}
.feature .title h1 {
  color: var(--white);
  margin-bottom: 0;
  font-size: clamp(2rem, 1.464rem + 1.429vw, 2.75rem);
  font-weight: 500;
  text-wrap: balance;
}

/*
  MAIN SIDEBAR STYLES
*/
.main-sidebar-widget ul {
  background: var(--black-60);
  padding: 10px;
}

.main-sidebar-widget ul li {
  color: var(--white);
}

.main-sidebar-widget ul li a {
  color: var(--white);
}

/*
  CONTENT / CONTENT-POSTS STYLES
*/
/* Styles for post entry meta - (date) */
.entry-meta {
  margin-bottom: 30px;
}

/* Styles for WP category list */
.entry-category {
  display: inline-block;
}

.entry-category ul {
  display: inline-block;
}

.entry-category ul li {
  display: inline-block;
  margin-left: 5px;
}

/*-------------------------------------
  07 - FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER
--------------------------------------*/
/* Main Footer Area */
.site-footer {
  background: var(--red);
}
.site-footer *,
.site-footer p {
  color: var(--white);
  text-wrap: pretty;
}
.site-footer p {
  margin: 0;
}
.site-footer .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 2rem;
}
.site-footer .top .footer-nav ul {
  display: flex;
  gap: 1.5rem;
}
.site-footer .top .footer-nav ul li a {
  color: var(--white);
}
.site-footer .top .connect {
  color: var(--white);
}
.site-footer .top .connect .fb {
  display: inline-block;
  width: 20px;
  height: 30px;
  margin-left: 0.5rem;
  margin-bottom: 0.2rem;
  vertical-align: middle;
  background: url("img/icons/icon-fb.svg") center/70% no-repeat;
}
.site-footer .bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}
.site-footer .bottom .inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 3rem;
  padding-block: 3rem;
}
.site-footer .bottom .inner .contact {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.site-footer .bottom .inner .contact p.address,
.site-footer .bottom .inner .contact span {
  font-weight: 200;
  text-wrap: pretty;
}
.site-footer .bottom .inner .contact .footer-logo {
  display: inline-block;
  max-width: fit-content;
}
.site-footer .bottom .inner .contact .hours,
.site-footer .bottom .inner .contact .phone {
  display: flex;
  gap: 0.5rem;
}
.site-footer .bottom .inner .contact .hours::before,
.site-footer .bottom .inner .contact .phone::before {
  content: "";
  display: inline-block;
  height: 20px;
  width: 20px;
  margin-top: 5px;
}
.site-footer .bottom .inner .contact .hours::before {
  background: url("img/icons/icon-hours.svg") center/100% no-repeat;
}
.site-footer .bottom .inner .contact .phone::before {
  width: 15px;
  height: 20px;
  background: url("img/icons/icon-phone.svg") center/100% no-repeat;
}
.site-footer .bottom .inner .contact .phone span {
  display: block;
}
.site-footer .bottom .inner .help-links {
  display: flex;
  justify-content: flex-end;
  gap: 20%;
  padding-top: 5rem;
}
.site-footer .bottom .inner .help-links .title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.site-footer .bottom .inner .help-links ul li a {
  display: inline-block;
  padding-block: 0.4rem;
  font-weight: 200;
  line-height: 1.1;
}
.site-footer .bottom .inner .help-links ul li:hover a {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}
.site-footer .cred {
  padding: 1.5rem 2rem;
  background: rgb(136, 136, 136);
  text-align: center;
}
.site-footer .cred p {
  text-align: center;
  text-wrap: balance;
}

@media (max-width: 800px) {
  .site-footer .top {
    display: none;
  }
  .site-footer .bottom .inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .site-footer .bottom .inner * {
    text-align: center;
  }
  .site-footer .bottom .inner .contact {
    align-items: center;
  }
  .site-footer .bottom .inner .contact .hours,
  .site-footer .bottom .inner .contact .phone {
    flex-direction: column;
    align-items: center;
  }
  .site-footer .bottom .inner .help-links {
    display: none;
  }
}
/* Plugins */

/*# sourceMappingURL=style.css.map */