@charset "UTF-8";
/* CSS Document */
/*
Theme Name: Crown Staffing
Theme URI: https://crownstaffingllc.com/
Author: Grigg
Author URI: https://grigg.com/
Description: Custom theme for Crown Staffing Solutions
Tags: 
Version: 1.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4

Text Domain: crownstaffing
*/
body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif; }

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

a {
  text-decoration: none;
  font-weight: bold;
  transition: all .25s;
  color: #113759; }

a:hover {
  text-decoration: underline; }

a:visited {
  color: #0074b8; }

small {
  font-size: .75em; }

h1 {
  font-size: 3em; }
  @media (max-width: 980px) {
    h1 {
      font-size: 2.5em; } }

h2 {
  font-size: 2.5em; }
  @media (max-width: 980px) {
    h2 {
      font-size: 2em; } }

h3 {
  font-size: 2em; }
  @media (max-width: 980px) {
    h3 {
      font-size: 1.5em; } }

h4 {
  font-size: 1.5em; }
  @media (max-width: 980px) {
    h4 {
      font-size: 1.25em; } }

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2em;
  color: #113759;
  margin-bottom: 1rem; }

hr, .wp-block-separator {
  border: 0.5px solid rgba(115, 120, 124, 0.2) !important;
  margin: 1em 0 !important;
  clear: both; }

.col2 {
  columns: 2; }

.col3 {
  columns: 3; }

@media (max-width: 781px) {
  .col2, .col3 {
    columns: 1; } }

blockquote {
  font-size: 2em;
  line-height: 1.2em;
  font-style: italic;
  font-weight: 200;
  border-left: 10px solid #0074b8;
  padding-left: 1rem; }

.container {
  margin: 0 auto;
  width: 1200px;
  box-sizing: border-box; }
  @media (max-width: 1299px) {
    .container {
      width: 940px; } }
  @media (max-width: 980px) {
    .container {
      width: 740px; } }
  @media (max-width: 781px) {
    .container {
      width: 100%;
      padding: 0 1rem; } }

.button {
  display: inline-block;
  border: 1px solid #113759;
  text-transform: uppercase;
  padding: 1em;
  font-size: .9em;
  font-weight: normal;
  transition: all .25s; }

.button:hover {
  text-decoration: none; }

.button:visited {
  border: 1px solid #0074b8; }

.top-swoosh {
  width: 100vw;
  height: auto;
  pointer-events: none; }

#breadcrumbs {
  margin-bottom: 0;
  font-size: .75em; }

article, .tribe-events-pg-template, .tribe-events-l-container {
  margin-top: -8rem !important;
  position: relative; }
  @media (max-width: 1299px) {
    article, .tribe-events-pg-template, .tribe-events-l-container {
      margin-top: -4rem !important; } }
  @media (max-width: 781px) {
    article, .tribe-events-pg-template, .tribe-events-l-container {
      margin-top: -1rem !important; } }

header .ribbon {
  z-index: 100;
  position: relative; }
  header .ribbon img {
    width: 170px;
    position: fixed;
    /*right: calc(50% - 780px); @include laptop {right: calc(50% - 650px);};*/
    right: 1rem; }
    @media (max-width: 1299px) {
      header .ribbon img {
        width: 150px; } }
    @media (max-width: 781px) {
      header .ribbon img {
        right: 0;
        width: 100px; } }
header .whitebar {
  margin: 0 auto;
  width: 1200px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 15rem 1fr; }
  @media (max-width: 1299px) {
    header .whitebar {
      width: 940px; } }
  @media (max-width: 980px) {
    header .whitebar {
      width: 740px; } }
  @media (max-width: 781px) {
    header .whitebar {
      width: 100%;
      padding: 0 1rem; } }
  @media (max-width: 1299px) {
    header .whitebar {
      grid-template-columns: 1fr 1fr;
      padding: 0 6rem;
      justify-items: center; } }
  @media (max-width: 781px) {
    header .whitebar {
      grid-template-columns: 1fr;
      padding-top: 1rem; } }
  @media (max-width: 980px) {
    header .whitebar {
      padding-top: .75rem;
      padding-bottom: .75rem; } }
  @media (max-width: 781px) {
    header .whitebar {
      padding-top: 2rem;
      padding-bottom: 3rem; } }
  header .whitebar .searchbox {
    width: 100%; }
    @media (max-width: 781px) {
      header .whitebar .searchbox {
        display: none; } }
    header .whitebar .searchbox input {
      font-size: .75em;
      padding: .5em;
      margin: 1em 0; }
  header .whitebar .contact {
    display: flex;
    /*text-align: right;*/
    font-size: .75em;
    align-items: center;
    /*justify-content: flex-end; padding-right: 1rem;*/
    padding-left: 1em; }
    @media (max-width: 781px) {
      header .whitebar .contact {
        display: none; } }
    header .whitebar .contact span:first-of-type {
      margin-right: 1em;
      padding-right: 1em;
      border-right: 1px solid #949598; }
header .mainmenu {
  background-color: #dc1d83;
  border-bottom: 1px dashed white;
  text-transform: uppercase; }
  header .mainmenu .inner {
    margin: 0 auto;
    width: 1200px;
    box-sizing: border-box; }
    @media (max-width: 1299px) {
      header .mainmenu .inner {
        width: 940px; } }
    @media (max-width: 980px) {
      header .mainmenu .inner {
        width: 740px; } }
    @media (max-width: 781px) {
      header .mainmenu .inner {
        width: 100%;
        padding: 0 1rem; } }
    @media (max-width: 781px) {
      header .mainmenu .inner {
        display: none; } }
  header .mainmenu a {
    color: white; }
  header .mainmenu a:visited {
    color: white; }
  header .mainmenu ul {
    list-style: none;
    margin: 0;
    padding: 0 125px 0 0;
    /*display: grid; grid-template-columns: repeat(auto-fit, minmax(1em, 1fr));*/
    display: flex;
    justify-content: space-between; }
    @media (max-width: 781px) {
      header .mainmenu ul {
        padding: 0; } }
    header .mainmenu ul li {
      text-align: center;
      flex: 1 1 auto;
      transition: all .25s; }
      header .mainmenu ul li a {
        display: block;
        padding: 1rem 0;
        line-height: 1.2em; }
        @media (max-width: 1299px) {
          header .mainmenu ul li a {
            font-size: .8em; } }
      header .mainmenu ul li a::before {
        display: inline-block;
        height: 1.75em;
        width: 1.75em;
        background-image: url("/wp-content/themes/crownstaffing/images/icon-home.svg");
        content: "";
        margin-right: .5em;
        vertical-align: middle; }
        @media (max-width: 980px) {
          header .mainmenu ul li a::before {
            display: block;
            margin: 0 auto; } }
    header .mainmenu ul li:hover {
      background-color: #113759; }
    header .mainmenu ul li:hover {
      /*@include lb-bg;*/ }
    header .mainmenu ul li:not(:last-of-type) {
      border-right: 1px dashed white; }
    header .mainmenu ul li:nth-of-type(2) a::before {
      background-image: url("/wp-content/themes/crownstaffing/images/icon-services.svg"); }
    header .mainmenu ul li:nth-of-type(3) a::before {
      background-image: url("/wp-content/themes/crownstaffing/images/icon-search.svg"); }
    header .mainmenu ul li:nth-of-type(4) a::before {
      background-image: url("/wp-content/themes/crownstaffing/images/icon-about.svg"); }
    header .mainmenu ul li:nth-of-type(5) a::before {
      background-image: url("/wp-content/themes/crownstaffing/images/icon-blog.svg"); }
    header .mainmenu ul li:nth-of-type(6) a::before {
      background-image: url("/wp-content/themes/crownstaffing/images/icon-contact.svg"); }
    header .mainmenu ul ul {
      display: none; }
    header .mainmenu ul ul ul {
      display: none; }
    header .mainmenu ul li:hover ul {
      display: flex;
      position: absolute;
      background-color: #0074b8;
      flex-direction: column;
      padding: 0;
      box-shadow: 0rem 0.5rem 2rem rgba(0, 0, 0, 0.25);
      text-transform: none;
      font-size: .9em;
      border-bottom: 1px solid #dc1d83;
      min-width: 25em;
      z-index: 100; }
      header .mainmenu ul li:hover ul li {
        text-align: left;
        border: none; }
        header .mainmenu ul li:hover ul li a {
          padding: .5em;
          font-weight: normal;
          padding: 1rem; }
        header .mainmenu ul li:hover ul li a::before {
          display: none; }
        header .mainmenu ul li:hover ul li a:hover {
          background-color: #113759;
          text-decoration: none; }
header .secondary-photo {
  /*height: 500px; */
  position: relative; }
  header .secondary-photo .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    aspect-ratio: 3.3/1; }
    @media (max-width: 980px) {
      header .secondary-photo .photo img {
        aspect-ratio: 2.75/1; } }
    @media (max-width: 781px) {
      header .secondary-photo .photo img {
        aspect-ratio: 2/1; } }
  header .secondary-photo .top-swoosh {
    position: absolute;
    bottom: 0; }
  header .secondary-photo .overlay2 {
    background: #113759;
    background: linear-gradient(315deg, rgba(17, 55, 89, 0.5) 0%, rgba(0, 116, 184, 0.5) 100%);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0; }
    header .secondary-photo .overlay2 img {
      height: auto;
      width: 30rem;
      margin-left: -2rem; }
      @media (max-width: 1299px) {
        header .secondary-photo .overlay2 img {
          width: 20rem;
          margin-left: -1rem; } }
      @media (max-width: 980px) {
        header .secondary-photo .overlay2 img {
          width: 15rem; } }
      @media (max-width: 781px) {
        header .secondary-photo .overlay2 img {
          margin-left: 0; } }
    header .secondary-photo .overlay2 .inner {
      margin: 0 auto;
      width: 1200px;
      box-sizing: border-box;
      height: 50%;
      display: flex; }
      @media (max-width: 1299px) {
        header .secondary-photo .overlay2 .inner {
          width: 940px; } }
      @media (max-width: 980px) {
        header .secondary-photo .overlay2 .inner {
          width: 740px; } }
      @media (max-width: 781px) {
        header .secondary-photo .overlay2 .inner {
          width: 100%;
          padding: 0 1rem; } }
      @media (max-width: 781px) {
        header .secondary-photo .overlay2 .inner {
          height: 70%; } }

.choose-intro {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
  text-align: center;
  margin: -3rem auto -5rem auto;
  position: relative;
  z-index: 2; }
  @media (max-width: 781px) {
    .choose-intro {
      grid-template-columns: 1fr;
      margin: -3rem auto 0 auto; } }
  .choose-intro .col img {
    border: 1px solid white;
    aspect-ratio: 16/9;
    width: 100%;
    object-fit: cover; }
  .choose-intro .col .title {
    font-size: 2em;
    line-height: 1.2em;
    color: #113759;
    font-weight: bold;
    margin: 1em 0 0;
    display: inline-block; }
    @media (max-width: 781px) {
      .choose-intro .col .title {
        font-size: 1.5em; } }
  .choose-intro .col p {
    font-size: .9em;
    line-height: 1.2em; }
    @media (max-width: 781px) {
      .choose-intro .col p {
        font-size: .8em; } }
  .choose-intro .col .button {
    background-color: #0074b8;
    color: white;
    border: none;
    opacity: 1; }
  .choose-intro .col .button:hover {
    opacity: .75; }
  .choose-intro .col:last-of-type .button {
    background-color: #dc1d83; }

.home-bar {
  background-color: #113759;
  color: white;
  margin-top: 0;
  /*.wp-block-columns {margin: 0;}*/ }
  .home-bar p {
    margin: 0; }
  .home-bar a, .home-bar a:visited {
    color: white; }
  .home-bar .button {
    border-color: white;
    margin-top: 1rem; }
    .home-bar .button a {
      font-weight: normal; }
  .home-bar .container {
    display: grid;
    grid-template-areas: "title photo" "story photo";
    grid-gap: 0 1rem;
    grid-template-columns: 3fr 1fr; }
    @media (max-width: 980px) {
      .home-bar .container {
        grid-template-areas: "title photo" "story story";
        grid-template-columns: 1fr 1fr; } }
    @media (max-width: 781px) {
      .home-bar .container {
        grid-template-areas: "photo" "title" "story";
        grid-template-columns: 1fr;
        text-align: center; } }
    .home-bar .container .wp-block-columns {
      grid-area: story; }
    .home-bar .container h1 {
      grid-area: title;
      margin: 1rem 0;
      color: white; }
      @media (max-width: 980px) {
        .home-bar .container h1 {
          align-self: end; } }
    .home-bar .container .home-thumb {
      grid-area: photo; }
      .home-bar .container .home-thumb img {
        aspect-ratio: 1/1;
        width: 100%;
        height: auto;
        border-radius: 100rem; }
        @media (max-width: 980px) {
          .home-bar .container .home-thumb img {
            width: 65%; } }
        @media (max-width: 781px) {
          .home-bar .container .home-thumb img {
            width: 50%;
            margin: 0 auto; } }
    @media (max-width: 781px) {
      .home-bar .container .wp-block-image img {
        margin: 2rem auto; } }

.services {
  margin: 0 auto;
  width: 1200px;
  box-sizing: border-box;
  display: grid;
  grid-auto-rows: auto;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 1rem 2rem;
  text-align: center;
  margin-bottom: 3rem; }
  @media (max-width: 1299px) {
    .services {
      width: 940px; } }
  @media (max-width: 980px) {
    .services {
      width: 740px; } }
  @media (max-width: 781px) {
    .services {
      width: 100%;
      padding: 0 1rem; } }
  @media (max-width: 781px) {
    .services {
      grid-template-columns: 1fr;
      grid-gap: 1rem; } }
  .services h3 {
    grid-column: 1/6;
    margin: 0; }
    @media (max-width: 781px) {
      .services h3 {
        grid-column: 1; } }
  .services img {
    max-width: 100%; }
  .services p {
    font-size: .9em; }
    @media (max-width: 781px) {
      .services p {
        text-align: left;
        padding-left: 1rem; } }
  .services a {
    opacity: 1;
    transition: .25s all; }
  .services a:hover {
    opacity: .75; }
  @media (max-width: 781px) {
    .services div a {
      display: grid;
      grid-template-columns: 1fr 2fr;
      align-items: center;
      padding: .5rem 15%; } }

.lower-row {
  margin: 0 auto;
  width: 1200px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 2fr 1fr;
  margin-top: 3rem;
  font-size: .9em;
  margin-bottom: -5rem;
  z-index: 1;
  position: relative; }
  @media (max-width: 1299px) {
    .lower-row {
      width: 940px; } }
  @media (max-width: 980px) {
    .lower-row {
      width: 740px; } }
  @media (max-width: 781px) {
    .lower-row {
      width: 100%;
      padding: 0 1rem; } }
  @media (max-width: 781px) {
    .lower-row {
      grid-template-columns: 1fr;
      margin-bottom: 0rem; } }
  .lower-row .left-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
    border-right: 1px solid #ddd;
    margin-right: 2rem;
    padding-right: 2rem; }
    @media (max-width: 781px) {
      .lower-row .left-grid {
        border: none;
        margin: 0;
        grid-gap: 1rem;
        grid-template-columns: 1fr; } }
    .lower-row .left-grid .image {
      border-right: 5px solid #113759;
      padding: 0 2rem 0 5rem; }
      @media (max-width: 1299px) {
        .lower-row .left-grid .image {
          padding: 0 2rem; } }
      @media (max-width: 980px) {
        .lower-row .left-grid .image {
          padding: 0 1rem 0 0; } }
      @media (max-width: 781px) {
        .lower-row .left-grid .image {
          border-right: 0;
          padding: 0 0 1rem 0;
          border-bottom: 5px solid #113759; } }
      .lower-row .left-grid .image img {
        object-fit: cover;
        aspect-ratio: 1/1;
        width: 100%;
        border-radius: 100rem; }
        @media (max-width: 781px) {
          .lower-row .left-grid .image img {
            width: 50%;
            margin: 0 auto; } }
    .lower-row .left-grid .text {
      align-self: center; }
      .lower-row .left-grid .text h4 {
        margin: 0; }
      .lower-row .left-grid .text p {
        margin-top: 0; }
      .lower-row .left-grid .text .button {
        background-color: #113759;
        color: white;
        border: none; }
      .lower-row .left-grid .text .button:hover {
        opacity: .75; }
      @media (max-width: 781px) {
        .lower-row .left-grid .text {
          margin-bottom: 2rem; } }
    .lower-row .left-grid div:nth-of-type(3) {
      border-right-color: #0074b8; }
    .lower-row .left-grid div:nth-of-type(4) .button {
      background-color: #0074b8; }
    .lower-row .left-grid div:nth-of-type(4) h4 {
      color: #0074b8; }
    .lower-row .left-grid div:nth-of-type(5) {
      border-right-color: #dc1d83; }
    .lower-row .left-grid div:nth-of-type(6) .button {
      background-color: #dc1d83; }
    .lower-row .left-grid div:nth-of-type(6) h4 {
      color: #dc1d83; }
  .lower-row .form {
    align-self: center; }
    .lower-row .form h4 {
      margin: 0; }
    .lower-row .form p {
      margin-top: 0; }

.featured-posts {
  background-color: rgba(115, 120, 124, 0.2);
  padding: 3rem 0;
  box-sizing: border-box; }
  .featured-posts .list-grid {
    margin: 0 auto;
    width: 1200px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    padding: 0;
    grid-gap: 2rem; }
    @media (max-width: 1299px) {
      .featured-posts .list-grid {
        width: 940px; } }
    @media (max-width: 980px) {
      .featured-posts .list-grid {
        width: 740px; } }
    @media (max-width: 781px) {
      .featured-posts .list-grid {
        width: 100%;
        padding: 0 1rem; } }
    @media (max-width: 781px) {
      .featured-posts .list-grid {
        grid-template-columns: 1fr; } }
    .featured-posts .list-grid img {
      width: 100%;
      height: 260px;
      object-fit: cover; }
      @media (max-width: 781px) {
        .featured-posts .list-grid img {
          height: 200px; } }
  .featured-posts .thumb-wrap img {
    margin-bottom: 1rem; }
  .featured-posts .blog-posts p {
    margin-top: 0; }
  .featured-posts .upcoming-events {
    background-color: white;
    padding: 1em;
    line-height: 1.2em; }
    .featured-posts .upcoming-events h4 {
      margin: 0;
      font-size: 1.25em; }
    .featured-posts .upcoming-events ul {
      list-style: none;
      margin: 0;
      padding: 0; }
      .featured-posts .upcoming-events ul li {
        margin: 1em 0; }
    .featured-posts .upcoming-events time {
      display: block;
      font-size: .75em;
      line-height: 1.2em; }

footer {
  background-color: #113759;
  color: white;
  font-size: .9em;
  line-height: 1.2em;
  clear: both;
  margin-top: -4rem; }
  @media (max-width: 781px) {
    footer {
      margin-top: -1rem; } }
  footer .top-swoosh {
    height: 200px; }
    @media (max-width: 1299px) {
      footer .top-swoosh {
        height: 150px; } }
    @media (max-width: 980px) {
      footer .top-swoosh {
        height: auto; } }
  footer .inner {
    margin: 0 auto;
    width: 1200px;
    box-sizing: border-box;
    display: grid;
    grid-template-areas: "career corporate footermenu accessibility" "seals seals social accessibility" "logo logo logo logo";
    grid-template-columns: repeat(4, auto);
    grid-gap: 1rem 3rem;
    padding: 1rem 0 3rem; }
    @media (max-width: 1299px) {
      footer .inner {
        width: 940px; } }
    @media (max-width: 980px) {
      footer .inner {
        width: 740px; } }
    @media (max-width: 781px) {
      footer .inner {
        width: 100%;
        padding: 0 1rem; } }
    @media (max-width: 1299px) {
      footer .inner {
        grid-template-areas: "career footermenu accessibility" "corporate footermenu accessibility" "seals social accessibility" "logo logo logo";
        grid-template-columns: repeat(3, auto); } }
    @media (max-width: 781px) {
      footer .inner {
        grid-template-columns: 1fr;
        grid-template-areas: "footermenu" "career" "corporate" "logo" "social" "accessibility" "seals";
        text-align: center;
        padding-bottom: 3rem;
        grid-gap: 1rem; } }
    footer .inner img {
      opacity: .75;
      transition: all .25s; }
    footer .inner img:hover {
      opacity: 1; }
  footer .career {
    grid-area: career; }
  footer .corporate {
    grid-area: corporate; }
  footer .footermenu {
    grid-area: footermenu; }
    footer .footermenu ul {
      list-style: none;
      padding: 0;
      margin-bottom: 0; }
      footer .footermenu ul ul {
        display: none; }
  footer .accessibility {
    grid-area: accessibility;
    font-size: .9em; }
  footer .seals {
    grid-area: seals; }
    footer .seals img {
      width: 20em;
      display: inline-block; }
  footer .social {
    grid-area: social; }
    footer .social img {
      height: 2rem;
      width: auto;
      display: inline-block;
      margin-right: .25rem; }
  footer .logo {
    grid-area: logo;
    display: flex;
    justify-content: center;
    align-items: center; }
    @media (max-width: 781px) {
      footer .logo {
        flex-wrap: wrap; } }
    footer .logo img {
      height: 2rem;
      display: inline-block;
      margin: 1rem; }
  footer a {
    color: white;
    font-weight: normal; }
  footer a:visited {
    color: white; }

/*   Search Results, 404   */
.search-results, .errorpage {
  min-height: 12rem;
  margin: 0 auto;
  width: 1200px;
  box-sizing: border-box; }
  @media (max-width: 1299px) {
    .search-results, .errorpage {
      width: 940px; } }
  @media (max-width: 980px) {
    .search-results, .errorpage {
      width: 740px; } }
  @media (max-width: 781px) {
    .search-results, .errorpage {
      width: 100%;
      padding: 0 1rem; } }
  .search-results h1, .errorpage h1 {
    margin-top: 0; }

.search-results section {
  padding: 2rem 1rem;
  margin-left: -1rem;
  display: grid;
  grid-template-areas: "searchtext searchimage"; }
  @media (max-width: 781px) {
    .search-results section {
      grid-template-areas: "searchtext"; } }
  .search-results section .image {
    grid-area: searchimage; }
    @media (max-width: 781px) {
      .search-results section .image {
        display: none; } }
    .search-results section .image img {
      border-radius: 10rem;
      height: 200px;
      width: auto;
      margin-left: 3rem; }
  .search-results section .text {
    grid-area: searchtext;
    align-content: center; }
    .search-results section .text h3 {
      margin-top: 0; }
.search-results section:nth-of-type(even) {
  background-color: rgba(115, 120, 124, 0.1); }

/*   Blog   */
.blog h1 {
  margin-top: 0; }
.blog .blog-grid {
  display: grid;
  grid-template-areas: "blog1 blog2 blog3" "blog1 blog4 blog5";
  grid-template-columns: 2fr 1fr 1fr;
  grid-gap: 1rem;
  align-items: start; }
  @media (max-width: 980px) {
    .blog .blog-grid {
      grid-template-areas: "blog1 blog1" "blog2 blog3" "blog4 blog5";
      grid-template-columns: 1fr 1fr; } }
  @media (max-width: 781px) {
    .blog .blog-grid {
      grid-template-areas: "blog1" "blog2" "blog3" "blog4" "blog5";
      grid-template-columns: 1fr; } }
  .blog .blog-grid .post {
    border-radius: 1rem;
    border: 1px solid rgba(115, 120, 124, 0.2);
    background-color: rgba(115, 120, 124, 0.05);
    box-shadow: 0 0 0.75rem rgba(115, 120, 125, 0.1); }
    .blog .blog-grid .post h3 {
      margin: 0 1rem 1rem;
      font-size: 1.25em; }
    .blog .blog-grid .post .excerpt {
      display: none;
      margin: 0 1rem 1rem; }
    .blog .blog-grid .post img {
      height: 150px;
      width: 100%;
      object-fit: cover;
      margin-bottom: 1em;
      border-radius: 1rem 1rem 0 0; }
    .blog .blog-grid .post small {
      margin: 0 1rem; }
  .blog .blog-grid .post:nth-of-type(1) {
    grid-area: blog1; }
    .blog .blog-grid .post:nth-of-type(1) .excerpt {
      display: block; }
    .blog .blog-grid .post:nth-of-type(1) img {
      height: 275px; }
    .blog .blog-grid .post:nth-of-type(1) h3 {
      font-size: 2rem; }
  .blog .blog-grid .post:nth-of-type(2) {
    grid-area: blog2; }
  .blog .blog-grid .post:nth-of-type(3) {
    grid-area: blog3; }
  .blog .blog-grid .post:nth-of-type(4) {
    grid-area: blog4; }
  .blog .blog-grid .post:nth-of-type(5) {
    grid-area: blog5; }
.blog .events-blog {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 1rem;
  border: 1px solid rgba(115, 120, 124, 0.2);
  background-color: rgba(115, 120, 124, 0.05);
  box-shadow: 0 0 0.75rem rgba(115, 120, 125, 0.1); }
  @media (max-width: 781px) {
    .blog .events-blog {
      grid-template-columns: 1fr; } }
  .blog .events-blog li {
    padding: 1rem; }
  .blog .events-blog li:nth-of-type(even) {
    background-color: rgba(115, 120, 124, 0.075); }
  .blog .events-blog time {
    display: block; }

/*   Post template   */
.single-post {
  display: flex; }
  @media (max-width: 980px) {
    .single-post {
      flex-direction: column; } }
  .single-post section {
    flex: 3; }
  .single-post time {
    color: #999; }
  .single-post aside {
    flex: 1;
    border-top: 1px solid rgba(115, 120, 124, 0.2);
    margin: 5rem 0 0 3rem;
    padding: 1rem 0; }
    @media (max-width: 980px) {
      .single-post aside {
        margin: 1rem 0; } }
    @media (max-width: 980px) {
      .single-post aside .wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 1rem; } }
    @media (max-width: 781px) {
      .single-post aside .wrapper {
        grid-template-columns: 1fr; } }
    .single-post aside h2 {
      margin-top: 0;
      font-size: 1.5rem; }
    .single-post aside h3 {
      margin-top: 0;
      font-size: 1rem; }
    .single-post aside .post {
      margin-bottom: 1rem;
      border-bottom: 1px solid rgba(115, 120, 124, 0.2); }
    .single-post aside .thumb {
      margin-bottom: .5rem; }
      .single-post aside .thumb img {
        object-fit: cover;
        height: 8rem;
        width: 100%; }
        @media (max-width: 980px) {
          .single-post aside .thumb img {
            height: 10rem; } }

/*   The Events Calendar   */
.tribe-compatibility-container article, .tribe-common article {
  margin: 0 !important; }

.tribe-common-l-container {
  padding-bottom: 0 !important; }

/*   Wordpress misc.   */
.eltd-post-excerpt:after {
  content: ''; }

@media (max-width: 781px) {
  .wp-block-image .alignright {
    float: none;
    width: 100% !important;
    margin: 1em 0; }
    .wp-block-image .alignright img {
      margin: 0 auto; } }

@media (max-width: 980px) {
  .post-22 .wp-block-column .wp-block-columns {
    flex-direction: column;
    /*Stacks Services main page*/ }
    .post-22 .wp-block-column .wp-block-columns img {
      width: 50%;
      margin: 0 auto; }
  .post-22 h2 {
    margin-top: 0;
    font-size: 1.5rem; } }

/*   Formstack   */
.hGsbrM, .hjaXRz {
  margin: 0 !important;
  padding: 0 !important; }

.hGsbrM, .drOgC {
  background-color: unset !important; }

#fsSubmit6105771 {
  margin-top: 0; }

.kwuoPU {
  min-width: 0 !important; }

/*.ea11y-widget-container--open {right: auto !important; left: 24px !important;}
#ea11y-widget-container {display: none !important;}*/
.wp-block-media-text > .wp-block-media-text__content {
  padding: 0 2rem !important; }

.wp-block-media-text h2 {
  font-size: 2rem; }

.pagination .nav-links {
  margin-top: 1rem; }
.pagination .page-numbers {
  margin-left: .5rem; }

/*   Sliding Slideshow   */
#slideshow {
  overflow: hidden;
  height: 700px;
  width: 100vw;
  margin: 0 auto; }
  @media (max-width: 1299px) {
    #slideshow {
      height: 500px; } }
  @media (max-width: 781px) {
    #slideshow {
      height: 300px; } }

.overlay {
  position: absolute;
  z-index: 1;
  background: #113759;
  background: linear-gradient(315deg, rgba(17, 55, 89, 0.5) 0%, rgba(0, 116, 184, 0.5) 100%);
  height: 100%;
  width: 100%;
  top: 0;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center; }
  .overlay img {
    height: auto;
    width: 40rem; }
    @media (max-width: 781px) {
      .overlay img {
        width: 20rem; } }

.slide-wrapper {
  width: 400vw;
  animation: slide 20s ease infinite; }

.slide {
  float: left;
  height: 700px;
  width: 100vw; }
  @media (max-width: 1299px) {
    .slide {
      height: 500px; } }
  @media (max-width: 781px) {
    .slide {
      height: 300px; } }
  .slide img {
    object-fit: cover;
    width: 100%;
    height: 100%; }

/*.slide:nth-child(1) {
  background: #D93B65;
}

.slide:nth-child(2) {
  background: #037E8C;
}

.slide:nth-child(3) {
  background: #36BF66;
}

.slide:nth-child(4) {
  background: #D9D055;
}*/
@keyframes slide {
  20% {
    margin-left: 0px; }
  30% {
    margin-left: -100vw; }
  50% {
    margin-left: -100vw; }
  60% {
    margin-left: -200vw; }
  70% {
    margin-left: -200vw; }
  80% {
    margin-left: -300vw; }
  90% {
    margin-left: -300vw; } }
/*   Mobile Menu   */
.mobile-menu {
  display: none; }
  @media (max-width: 781px) {
    .mobile-menu {
      display: block;
      color: white;
      padding: 1rem; } }
  .mobile-menu span {
    cursor: pointer; }

/* The side navigation menu */
.sidenav {
  height: 100%;
  width: 0;
  /* 0 width - change this with JavaScript */
  position: fixed;
  z-index: 1000000000000;
  top: 0;
  left: 0;
  background-color: #113759;
  color: white;
  overflow-x: hidden;
  padding-top: 60px;
  transition: 0.5s; }

/* The navigation menu links */
.sidenav a {
  padding: .5rem .5rem .5rem 2rem;
  text-decoration: none;
  font-size: 1.5rem;
  color: white;
  display: block;
  transition: 0.3s;
  font-weight: normal; }

.sidenav .menu-item-has-children > a::after {
  content: "▼";
  float: right;
  margin-right: 2rem;
  font-size: .75em; }

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #eee; }

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 2rem;
  font-size: 4rem;
  margin-left: 50px;
  color: white; }

.sidenav ul {
  list-style: none;
  padding: 0;
  margin: 0; }
  .sidenav ul ul {
    display: none;
    padding: 0 2rem; }

.sidenav ul li:hover ul {
  display: flex;
  flex-direction: column; }
  .sidenav ul li:hover ul a {
    font-size: 1.25rem; }

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
  transition: margin-left .5s;
  /*padding: 20px;*/ }

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px; }

  .sidenav a {
    font-size: 18px; } }
