/*!
 * Theme Name: WiaF Blank
 * Description: Websites in a Flash theme Based on HTML5 Blank WordPress Starter Theme
 * Version: 0.2
 * Author: WiaF
 * Tags: HTML5, CSS3, starter, framework
 *
 * License: MIT
 * License URI: http://opensource.org/licenses/mit-license.php
 */
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */

/* Normalize CSS */
html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-size: 62.5%;
  -webkit-tap-highlight-color: transparent;
}
a,
body {
  color: #444;
}
body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, "Open Sans", sans-serif;
  font-size: 140%;
  line-height: 1.5;
  background-color: #fff;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section {
  display: block;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
figure {
  margin: 1em 40px;
}
hr {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
  text-decoration: none;
}
abbr[title] {
  border-bottom: none;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}
b,
strong {
  font-weight: bolder;
}
dfn {
  font-style: italic;
}
mark {
  background-color: #ff0;
  color: #000;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
audio,
canvas,
video {
  display: inline-block;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
img {
  border-style: none;
  max-width: 100%;
  vertical-align: middle;
}
svg:not(:root) {
  overflow: hidden;
}
button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
[type="reset"],
[type="submit"],
button,
html [type="button"] {
  -webkit-appearance: button;
}
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring,
button:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
legend {
  color: inherit;
  display: table;
  max-width: 100%;
  white-space: normal;
}
progress {
  display: inline-block;
  vertical-align: baseline;
}
textarea {
  overflow: auto;
}
[type="checkbox"],
[type="radio"],
legend {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
summary {
  display: list-item;
}
[hidden],
template {
  display: none;
}
*,
:after,
:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
a:focus,
a:hover {
  text-decoration: underline;
}
input[type="search"],
input[type="text"] {
  font-size: inherit;
  line-height: inherit;
}
::-moz-selection {
  background-color: #04a4cc;
  color: #fff;
  text-shadow: none;
}
::selection {
  background-color: #04a4cc;
  color: #fff;
  text-shadow: none;
}
.alignnone {
  margin: 5px 15px 15px 0;
}
.aligncenter {
  display: block;
  margin: 5px auto;
}
.alignright {
  float: right;
  margin: 5px 0 15px 15px;
}
.alignleft {
  float: left;
  margin: 5px 15px 15px 0;
}
.wp-caption {
  background: #fff;
  border: thin solid #f0f0f0;
  max-width: 95%;
  padding: 5px;
  text-align: center;
}
.wp-caption img {
  width: auto;
  max-width: 98.5%;
  height: auto;
  border: 0;
}
.gallery-caption,
.wp-caption .wp-caption-text {
  margin: 0;
  padding: 0 5px 5px;
  font-size: 140%;
  line-height: 1.5;
}
.clear:after,
.clear:before {
  content: " ";
  display: table;
}
.clear:after {
  clear: both;
}
.reset-box,
.wp-caption img {
  padding: 0;
  margin: 0;
}
.wrapper {
  max-width: 1230px;
  padding: 0 15px;
  margin: 0 auto;
  position: relative;
}
@media print {
  *,
  :after,
  :before {
    background: 0 0 !important;
    color: #000 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  blockquote,
  pre {
    border: 1px solid #999;
  }
  thead {
    display: table-header-group;
  }
  blockquote,
  img,
  pre,
  tr {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  h2,
  h3,
  p {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* --------
Site Styles
-------- */

/* -------------
Site-Wide Styles
------------- */

html,
body {
  overflow-x: hidden;
}

body {
  font-family: 'Josefin Sans', sans-serif;
}

body p {
  font-size: 1.6rem;
  margin: 2.2rem 0;
}

li {
  font-size: 1.6rem;
}

h1 {
  font-size: 4rem;
  color: #044b9b;
  font-weight: 700;
  margin: 2rem 0;
}

h2 {
  font-size: 2.8rem;
}

h3 {
  font-size: 2rem
}

h4 {
  font-size: 1.6rem
}

.full-width {
  width: 100vw;
  position: relative;
  margin-left: -50vw;
  left: 50%;
}

.logo {
  text-align: center;
}

.logo-img {
  max-width: 170px
}

img {
  object-fit: cover;
  height: auto;
}

hr {
  border: 1px solid gray;
}

/* --------
Site Header
-------- */

.header .logo-img {
  margin-bottom: 1.4rem;
  margin-top: 3.6rem;
}

#nav .menu-header-nav-container {
  border-bottom: 1px solid #000;
}

#nav .menu-header-nav-container a {
  text-decoration: none;
  padding: 1rem;
  white-space: nowrap;
  display: inline-block;
  width: 100%;
}

#nav .menu-header-nav-container li:hover a,
#nav .menu-header-nav-container li:focus-within a {
  color: #2742D1;
}

#nav .menu-header-nav-container li ul li:hover {
  background-color: #e7ecff;
}

#nav .menu-header-nav-container ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.5rem;
  background: #fff;
}

#nav .menu-header-nav-container li {
  display: block;
  flex: 0 1 auto;
  background: #fff;
  position: relative;
}

#nav .menu-header-nav-container li ul {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  left: -1px;
  display: none;
  min-width: 15rem;
  border: 1px solid #000;
}

#nav .menu-header-nav-container .sub-menu {
  z-index: 2;
}

#nav .menu-header-nav-container > ul > li.menu-item-has-children:hover,
#nav .menu-header-nav-container > ul > li.menu-item-has-children:focus-within {
  padding-bottom: 1px;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  margin: -1px;
}

#nav .menu-header-nav-container > ul > li.menu-item-has-children:hover::after,
#nav .menu-header-nav-container > ul > li.menu-item-has-children:focus-within::after {
  content: "";
  border-bottom: 1px solid #fff;
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
}

#nav .menu-header-nav-container li:hover > ul,
#nav .menu-header-nav-container li:focus-within > ul,
#nav .menu-header-nav-container li ul:hover,
#nav .menu-header-nav-container li ul:focus {
  visibility: visible;
  opacity: 1;
  display: block;
}

#nav .menu-header-nav-container li ul a {
  color: #2742D1;
  text-transform: none;
  font-weight: 400;
}

#nav .menu-header-nav-container li ul li {
  clear: both;
  width: 100%;
}

#nav .menu-header-nav-container li ul li ul {
  left: 100%;
  top: -1px;
}

#nav .menu-header-nav-container li ul li ul li:first-of-type::after {
  content: "";
	position: absolute;
	left: -1px;
	height: 100%;
	border-left: 1px gray;
	border-left-style: solid;
}

/* ------
Home Page
------ */

.home .page-title {
  display: none;
}

.home p {
  font-size: 2.6rem;
}

.home h1 {
  color: #044b9b;
  font-size: 5rem;
  margin: 0;
  font-weight: 400;
}

.home h2 {
  color: #044b9b;
  font-size: 5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}

.home h3 {
  font-size: 3.2rem;
  font-weight: 400;
  margin-top: 28px;
  margin-bottom: 68px;
  text-transform: uppercase;
}

.home h5 {
  font-size: 3.2rem;
  margin-top: 0;
  margin-bottom: 2.4rem;
  font-weight: 400;
}

.home .wp-block-separator.is-style-full {
  margin-bottom: 45px;
  margin-top: 30px;
}

.home .wp-block-button__link {
  font-size: 2rem;
  padding: 0.4em 1.333em;
  border-radius: 0.5em;
  background-color: #044b9b;
  white-space: nowrap;
}

.home-page-hero-image {
  overflow: hidden;
  background-image: url(/wp-content/uploads/2021/06/Dicks-Hero-Image-FINAL.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  margin-bottom: 8.5rem;
}

.home-page-hero-image > .wp-block-group__inner-container {
  max-width: 1230px;
  height: 100%;
  padding: 0 25px;
  margin: 0 auto;
  overflow: hidden;
}

.home-page-hero-caption {
  border: 2px solid black;
  background: rgba(255, 255, 255, 0.8);
  padding: 40px;
  margin-bottom: 50px;
  margin-top: 400px;
  width: 80%;
  margin-left: 10%;
}

.home .milgard-logo {
  position: absolute;
  right: 5%;
  bottom: 5%;
  width: 10%;
}

.home-page-hero-caption p {
  margin: 0;
}

.home-page-hero-caption > .wp-block-group__inner-container {
  position: relative;
}

.home-page-hero-caption .wp-block-buttons {
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
}

.home .wp-block-columns {
  margin-bottom: 0;
}

.home .home-gallery figure {
  margin: 0;
  height: 0;
  width: 100%;
  padding-top: 65%;
  overflow: hidden;
  position: relative;
}

.home .home-gallery figure img {
  width: 100%;
  margin: auto;
  height: auto;
  position: absolute;
  top: -100%;
  right: -100%;
  bottom: -100%;
  left: -100%;
}

.home .home-gallery .wp-block-column h3:last-child {
  margin-bottom: 24px;
}

.home hr {
  border: #000 solid 7px;
}

.partner-logos {
  height: 140px;
}

.partner-logos .wp-block-column {
  position: relative;
}

.partner-logos .wp-block-image {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 1350px) {
  .milgard-logo {
    top: 5%;
    left: 5%;
  }
}

@media (max-width: 1200px) {
    .home-page-hero-image {
      background-position: top;
    }

    .home-page-hero-caption {
      margin-top: calc(65% - 50px);
      margin-bottom: 0;
    }
}

@media (max-width: 780px) {
  .home h2 {
    font-size: 4rem;
  }

  .partner-logos {
    height: auto;
  }

  .partner-logos .wp-block-image {
    position: static;
    transform: none;
  }
}

/* -------------
Single Blog Post
------------- */

.post h1 {
  text-align: center;
  color: #003366;
  font-size: 3rem;
}

.post .date {
  font-size: 1.8rem;
  text-align: center;
  display: block;
}
.featured_img img {
  max-height: 500px;
  object-fit: cover;
}
.wp-post-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

article a {
  text-decoration: underline;
  color: #0044F1;
}
/* ----
Archive
---- */

.featured-post {
  display: flex;
  min-height: 400px;
}

.featured-post-image-container {
  flex-basis: 65%;
  position: relative;
  height: 500px;
}

.featured-post-image-container .wp-post-image {
  position: absolute;
  margin: auto;
  height: 100%;
  top: -100%;
  right: -100%;
  bottom: -100%;
  left: -100%;
}

.featured-post-title-container {
  flex-basis: 35%;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  background: #044b9b;
  padding: 15px;
  overflow: hidden;
  min-width: 350px;
}

.featured-post-title-container h2 {
  font-size: 3.4rem;
  text-align: center;
  flex-basis: 50%;
  position: relative;
}

.featured-post-title-container h2 a {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
}

.featured-post-title-container a {
  color: #fff;
}

.featured-post-title-container a:hover {
  text-decoration: none;
}

.featured-post-title-container .wp-block-button {
  margin: 0 auto;
}

.featured-post-title-container .wp-block-button a {
  border: 1px solid #fff;
  border-radius: 5px;
  background: #044b9b;
}

.featured-post-title-container .wp-block-button a:hover {
  background: #fff;
  color: #044b9b;
}

.blog-post-sections {
  padding-top: 55px;
}

.posts-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 70%;
  float: left;
}

.posts-container .post {
  flex: 0 1 33%;
  padding: 0 20px 20px 20px;
}

.posts-container .post-thumbnail-container {
  height: 0;
  padding-top: 74%;
  position: relative;
  overflow: hidden;
}

.posts-container .wp-post-image {
  height: auto;
  width: 100%;
  position: absolute;
  top: -100%;
  left: -100%;
  right: -100%;
  bottom: -100%;
  margin: auto;
}

.posts-container h2 {
  font-size: 1.8rem;
}

.sidebar {
  display: flex;
  align-self: flex-end;
  padding-left: 30px;
}

.sidebar h3 {
  font-size: 2.4rem;
  font-weight: 400;
  margin: 0;
}

.sidebar p {
  margin: 0;
}

.sidebar img {
  width: 200px;
  height: auto;
  margin: 0;
}

.sidebar .review-links {
  font-size: 1.2rem;
}

.sidebar ul {
  padding: 0;
  margin-top: 50px;
}

.sidebar li {
  list-style: none;
  font-size: 2.4rem;
  padding-bottom: 2rem;
}

.pagination {
  margin: 68px 0;
  display: flex;
  justify-content: center;
  clear: both;
}

.pagination span,
.pagination a {
  border: solid 1px #e2e6df;
  display: inline-block;
  padding: 12px;
  min-height: 50px;
  min-width: 55px;
  text-align: center;
  font-size: 2rem;
  color: #044b9b;
}

.pagination a:hover {
  text-decoration: none;
  background: #e7ecff;
}

.pagination .current {
  color: #fff;
  background: #044b9b;
}

.pagination span:not(:first-child),
.pagination a:not(:first-child) {
  border-left: 0;
}

.pagination span:first-child,
.pagination a:first-child {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.pagination span:last-child,
.pagination a:last-child {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.pagination .dots,
.pagination .current {
  cursor: default;
}

@media (max-width: 1000px) {
  .posts-container .post {
    flex-basis: 100%;
  }

  .posts-container h2 {
    font-size: 3rem;
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .posts-container {
    width: 100%;
  }

  .featured-post-image-container {
    display: none;
  }

  .featured-post-title-container {
    flex-basis: 100%;
  }

  .home h1 {
    font-size: 3rem;
  }

  .home-page-hero-caption p {
    font-size: 2rem;
  }
}

/* ---
Footer
--- */

.footer {
  background: #000;
  color: #fff;
  text-transform: uppercase;
  font-size: 2rem;
  line-height: 4.5rem;
  font-weight: 400;
}

.footer .logo {
  background: #fff;
  border-top: solid 14px #000;
  padding: 4rem;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer p {
  color: #a1a1a1;
  font-size: 2rem;
}

.footer li {
  font-size: 2rem;
}

.footer h3 {
  font-weight: 400;
}

.footer .sub-menu a {
  color: #a1a1a1;
}

.footer-widget {
  display: flex;
  flex-direction: row;
  padding: 0 115px;
}

.footer-widget > div:last-child {
  flex-grow: 0;
}

.footer-widget .widget_nav_menu,
.footer-widget .widget_block {
  margin-top: 40px;
  padding: 0 10px;
  flex: 0 1 300px;
}

.footer-widget .widget_block p:first-child {
  margin: 0;
  color: #fff;
}

.footer-widget .menu,
.footer-widget h3 {
  margin: 0;
}

.footer-widget .sub-menu,
.footer-widget .textwidget {
  margin-top: 24px;
}

.footer-widget a,
.footer-widget h3 {
  display: inline-block;
}

.footer-widget ul {
  list-style: none;
  padding-left: 0;
}

.footer-widget .wp-block-latest-posts li {
  line-height: 3rem;
  margin: 1.5rem 0;
}

.social-links {
  margin-bottom: 2.4rem;
  margin-top: 7.2rem;
  height: 50px;
  text-align: right;
  padding: 0 160px;
}

.social-link {
  display: inline-block;
  position: relative;
  height: 50px;
  line-height: 0;
}

.social-link:not(:last-child) {
  margin-right: 3.2rem;
}

.social-link::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.social-links .social-icon {
  filter: invert(100%);
  height: 50px;
  display: inline-block;
}

.footer .copyright {
  margin: 0;
  background-color: #0044f1;
  font-size: 2.2rem;
  text-align: center;
  color: #fff;
}

@media (max-width: 1200px) {
  .footer-widget {
    flex-direction: column;
    padding: 0 15%;
  }

  .footer .social-links {
    text-align: left;
    padding: 0 15%;
  }
}
