/* Global Styles */
body {
  max-width: 1500px;
  margin: 0 auto !important;
  padding: 0.5em 2em 2.5em;
  font-family: proxima-nova, sans-serif;
  font-weight: 400;
  font-style: normal;
}

h1 {
  color: #64bc3c;
  font-size: 50px;
  text-transform: uppercase;
}

.page-template-template-landing h1, .home h1, .page-template-template-priority h1 {
  color: white;
  font-size: 55px;
  text-transform: none;
  margin: 15px;
  line-height: 1.2em;
}

h2 {
  font-size: 40px;
  color: #006756;
  font-weight: 700;
  margin: 10px 0;
  line-height: 1em;
}

h3 {
  font-size: 35px;
  font-style: italic;
  font-weight: 400;
  color: #64bc3c;
  margin: 10px 0;
  display: inline;
}

h4 {
  font-size: 30px;
  color: #006756;
  font-weight: 700;
  margin: 10px 0;
  text-transform: uppercase;
  display: inline;
}

h5 {
  font-size: 25px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 0;
  display: inline;
}

p, li {
  line-height: 1.9em;
  font-size: 19px;
}

a {
  color: #e5732f;
  cursor: pointer;
  text-decoration: none;
}

a:visited {
  color: #e5732f;
}

a:hover, a:focus, a:active {
    color: #142829;
}


/* Page Components */
.center {
  text-align: center;
}

.fl-builder-content a.fl-button *, .fl-builder-content a.fl-button:visited * {
  color: white;
}

.btn, .btn:visited, .fl-builder-content a.fl-button, .fl-builder-content a.fl-button:visited, input[type="submit"] {
  padding: 1em 2em 10px;
  width: auto;
  border-radius: 3px;
  border-color: transparent;
  background: #E37339;
  color: white !important;
  text-decoration: none;
  transition: all .5s;
  border-bottom: 5px solid transparent;
  text-transform: uppercase;
  font-weight: 600;
}

.btn:hover, .fl-builder-content a.fl-button:hover, input[type="submit"]:hover {
  color: white !important;
  background: #e24e01;
  border-bottom: 5px solid #fd9b27;
}

/* Navigation */
.site-header {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.main-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-primary-container {
  flex: 1;
  text-align: center;
}

.main-navigation a {
  color: #006756;
  border-bottom: 5px solid transparent;
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
}

.main-navigation a:hover {
  border-bottom: 5px solid #66AD2D;
  color: #66AD2D;
}

#primary-menu li {
  float: none;
  display: inline-block;
}

#primary-menu a {
  padding: 0 1.5em;
}

#primary-menu li:not(:first-of-type)::before {
  content: "|";
  color: #006756;
  display: inline-block;
  padding: 0 10px;
}

#social-menu li {
  padding: 0 .5em;
}

.main-navigation ul ul {
  background: white;
}

.sub-menu li {
  text-align: left;
  line-height: 1.3em;
  padding: 5px 0;
}

#primary-menu .sub-menu li:not(:first-of-type)::before {
  content: "";
  color: transparent;
  display: none;
  padding: 0;
}

.main-navigation ul ul a {
  width: 250px;
}

/* CTA Banner on Nav */
.cta-banner {
  border-top: 1em solid #FD9B27;
  position: relative;
  z-index: 1000;
}

.cta-banner ul {
  list-style-type: none;
  display: flex;
  justify-content: flex-end;
}

.cta-banner li {
  line-height: 1.5em;
}

.cta-banner a {
  padding: 19px 2.5em 11px 2.5em;
  background: #E37339;
  color: white;
  text-decoration: none;
  transition: all .5s;
  border-bottom: 8px solid transparent;
  text-transform: uppercase;
  font-weight: 600;
      right: -1px;
    position: relative;
}

.cta-banner a:hover {
  background: #e24e01;
  border-bottom: 8px solid #fd9b27;
}

/* Global Content Section */
.site-content {
  position: relative;
  bottom: 60px;
}

.entry-header {
  border-bottom: 10px solid #64bc3c;
  position: relative;
}

.entry-content {
  margin: 0;
}

.feat-caption {
  position: absolute;
  bottom: 5px;
  right: 10px;
  text-align: right;
  margin: 0;
  font-size: 14px;
  color: white;
}


/* Default and Blog/Single Page Header */
.entry-header img {
  height: 300px;
  width: 100%;
  object-fit: cover;
}

.entry-header{
  background: #F1F1F1;
  margin: 0;
}

.blog-img-cont {
  position: relative;
}

.entry-header-content {
  /* max-width: 1250px; */
  margin: 0 auto;
  padding: 20px 40px;
}

.entry-header-content .entry-title, .breadcrumbs {
  margin: 0;
}

/* Homepage Header */
.home .entry-header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  text-align: center;
  padding: 2em 0 0;
}

.home-subtitle  {
  width: 60%;
  margin-bottom: 0;
}

.home .video-header {
  height: 375px;
}

.home .entry-content {
  border-top: 1em solid #b1dd9d;
}

/* Landing Header */
.page-template-template-landing .entry-header,
.page-template-template-priority .entry-header  {
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  text-align: center;
}

.page-template-template-landing .entry-header *,
.page-template-template-priority .entry-header * {
  width: 50%;
}

/* Video Header */
.video-header {
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  text-align: center;
}

.video-header .entry-header * {
  width: 50%;
}

.video-header video {
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  z-index: -100;
  left: 0;
  top: 0;
  object-fit: cover;
  object-position: center center;
  height: 100%;
  width: 100%;
}

/* Home Header - Icon SVG */
.static, .active {
  width: 123px;
  height: 123px;
}

.static {
  position:absolute;
  background: #64af1f;
}

.static:hover {
  opacity:0;
}

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

/* Footer */
footer {
  background: #006756;
  color: white;
  padding: 1em 3em;
}

.footer-callout {
  border-top: 1em solid #8bcc6c;
  background: #64af1f;
  color: white;
  padding: 4em 0;
  text-align: center;
}

.footer-callout h4 {
  color: white;
}

.footer-callout section {
  margin: 0;
}

.footer-info {
  display: flex;
}

.footer-info > * {
  flex: 1 1 0
}

footer .menu {
  list-style: none;
  text-align: left;
  margin: 2em 0;
  padding: 0;
}

footer .menu li a {
  color: white;
  font-size: 25px;
  background: #fd9b27;
  line-height: inherit;
  transition: all .2s;
  padding: 5px 10px;
  display: inline-block;
  margin-top: 10px;
  min-width: 175px;
}

footer .menu li a:hover {
  color: #fd9b27;
  background: white;
}

footer #menu-social {
  margin-top: 10px;
}

footer #text-6, footer #text-6 p {
  margin-bottom: 0;
}

footer #menu-social li {
  display: inline-block;
  margin-right: 1em;
}

footer #menu-social li a {
  color: white;
  background: transparent;
  line-height: auto;
  min-width: auto;
  margin-top: 0;
}

footer #menu-social li a:hover {
  color: #fd9b27;
}

footer h4 {
  color: white;
}

/* Copyright Footer  */
.copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright > * {
  flex: 1 1 0;
}

.footer-copyright {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.footer-copyright .widget_media_image {
  margin: 0;
}

.footer-copyright img {
  width: 80px;
  margin-left: 2em;
}

/* Recents Posts Grid */
.cat-icon {
  width: 50px;
}

.latest-posts-masonry {
  display: grid;
  grid-gap: 1em;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 400px auto auto;
}

.latest-post {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 2em;
  transition: opacity 500ms;
}

.latest-post:hover {
  opacity: .8;
}

.latest-post h4 {
  color: white;
  margin: 10px;
  text-transform: none;
  font-size: 20px;
}

.latest-post h5 {
  color: white;
  margin: 10px;
  text-transform: none;
}

.latest-post:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1;
}

.latest-post:nth-child(2) {
  grid-column: 1 / 2;
  grid-row: 2;
}

.latest-post:nth-child(3) {
  grid-column: 1 / 2;
  grid-row: 3;
}

.latest-post:nth-child(4) {
  grid-column: 2/2;
  grid-row: 2/4;
}

/* Editorial Cards */
.editorial-cards .latest-post:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1;
}

.editorial-cards .latest-post:nth-child(2) {
  grid-column: 1 / 2;
  grid-row: 2;
}

.editorial-cards .latest-post:nth-child(3) {
  grid-column: 2/2;
  grid-row: 2;
}

.editorial-cards .cat-icon {
  font-size: 40px;
  color: white;
}

/* Blog */
.blog article {
  margin-bottom: 2em;
}

.blog .entry-header {
  margin-bottom: 3em;
}

.blog-header img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Single Post Page / Priority Sidebar Layout */
.single .entry-content, .blog-entry,
.page-template-template-priority .entry-content {
  display: flex;
  justify-content: space-around;
  /* max-width: 1250px; */
  margin: 0 auto;
  padding: 20px 40px;
}

.single .post-content, .blog-entry-content,
.page-template-template-priority .post-content {
  padding-right: 6em;
}

.single h1 {
  text-transform: none;
  font-size: 40px;
}

.single .widget_categories ul, .blog .widget_categories ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.single .widget_categories a, .blog .widget_categories a {
  font-size: 22px;
}

.page-template-template-priority .widget-area {
  margin: 40px 40px 0 0;
}

/* Post comments */
.comment-meta {
  background: white;
  padding: 0;
}

.comment-content p {
  padding: 10px 0;
  margin: 0;
}

.comment-list {
  padding: 10px 0 0 0;
  margin: 0;
  list-style-type: none;
}

.comment-author {
  color: black;
}

.comment-respond {
  margin-top: 1em;
}

.comments-area {
  margin-top: 3em;
}

/* Post Navigation Next and Previous  */
.nav-links {
  display: flex;
  margin: 2em 0 0 0;
}

.post-navigation .nav-previous, .post-navigation .nav-next {
  float: none;
  width: auto;
}

.nav-previous::before {
  content:"« ";
}

.nav-previous::after {
  content:" — ";
  white-space: pre;
}

.nav-next::after {
  content:" »";
}

.breadcrumbs {
  font-size: 16px;
}


/* Custom Pages- Board Listing */
.board p {
  line-height: 1.2em;
}


/* Media Queries */
@media (max-width: 1200px) {
  .page-template-template-landing h1, .home h1, .page-template-template-priority h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 35px;
  }

  h3 {
    font-size: 28px;
  }

  h4 {
    font-size: 25px;
  }

  h5 {
    font-size: 23px;
  }

  .home .entry-header p {
    width: 80%;
  }
}

@media (max-width: 767px) {
  body {
    padding: 0;
  }

  .latest-post {
    padding: 10px;
  }
  
  .entry-header img {
      height: 150px;
  }

  .site-footer {
    padding: 10px;
  }

  .home .entry-header h1, .home .entry-header p {
    width: 100%;
  }

  .home .video-header {
    height: auto;
    padding: 1.5em 0;
  }

  .home-subtitle {
    width: 100%;
  }

  .cta-banner a {
    padding: 10px 1.5em 5px 1.5em;
    bottom: 10px;
    position: relative;
    top: -8px;
  }

  /* Single Post Page / Priority Sidebar Layout */
  .single .entry-content, .blog-entry,
  .page-template-template-priority .entry-content {
    flex-direction: column;
  }

  .single .post-content, .blog-entry-content,
  .page-template-template-priority .post-content {
    padding-right: 6em;
  }

  .page-template-template-priority .widget-area {
    margin: 0 0 0 20px;
  }

  footer .menu li a {
    font-size: 20px;
  }

  .single .entry-content, .blog-entry, .page-template-template-priority .entry-content {
    padding: 0;
  }

  .footer-right {
    display: none;
  }

  .footer-center {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  
  .fl-node-5ce2f8e0a10a3 > .fl-module-content {
      margin: 0;
  }
}

.acf-field-5ce2ea8887575 {
	padding-left: 30px;
}


@media(max-width: 600px) {
  .main-navigation {
    display: block;
  }
  
  .menu-toggle {
    position: absolute;
    top: 15px;
    right: 30px;
    z-index: 1000000;
    background: white;
  }
  
  .toggled .menu-primary-container {
    flex: 1;
    text-align: center;
    position: absolute;
    z-index: 10000;
    background: white;
    top: 60px;
    left: 0;
    width: 100%;
  }
  
  .main-navigation .toggled {
    position: relative; 
  }
  
  .toggled #primary-menu li {
      display: block;
      text-align: left;
  }
  
  .toggled #primary-menu li:not(:first-of-type)::before {
      content: "";
      padding: 0;
  }
  
  .footer-copyright img {
      margin-left: 0;
  }
  
  .toggled .menu-social-container {
      display: none;
  }
  
  .main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul {
    left: auto;
    position: relative;
    float: none;
    box-shadow: none;
    background: #64af1f;
   }
   
   .main-navigation .sub-menu a {
     color: white;
   }
   
   .main-navigation a:hover {
     border-color: transparent;
    }
   
   .main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul {
     left: 0;
     background: #fd9b27;
    }
   
   .latest-posts-masonry {
       display: block;
   }
}
