@charset "UTF-8";

/*
Theme Name: EV2024
Theme URI: https://riotactstudios.com/
Author: Matt Harris
Author URI: https://riotactstudios.com/
Description: Custom theme built for Eden Village.
Requires at least: 6.2
Tested up to: 6.2
Requires PHP: 8.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --banner-bgcolor: #476A31;
  --header-bgcolor: #EEEAE3;
  --header-menucolor: #162E09;
  --header-menuhover: #476a31;
  --header-link: #162E09;
  --hero-headingcolor: #eeba47;
  --input-bordercolor: #c2b59b;
  --body-textcolor: #414141;
  --bgcolor-lightgreen: #ccd6c5;
  --button-green: #83ba3b;
  --button-greenhover: #8dd929;
  --button-tan: #D4A65E;
  --button-tanhover: #d4b17a;
  --heading-color: #485652;
  --evgreen: #476a31;
  --evdarkgreen: #162e09;
  --evlightgreen: #b9c0b5;
  --evtan: #D4A65E;
  --evlighttan: #f5f0e7;
  --evorage: #DE8A26;
  --evblack: #000;
  --evgray: #FBFAF8;
  --evicongray: #b9c0b5;
  --evborder: #bdc1af;
  --evdark: #253124;
  --evyellow: #ffb422;
  --bodyfont: Roboto, sans-serif;
  --headingfont: Bebas Neue, sans-serif;
  --evtopbg: rgb(227,231,215,.7); 
  --evheaderbg: #f1f0ec;
}

body {
  background-color: #fff;
  color: var(--body-textcolor);
  font-family: var(--bodyfont);
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  color: var(--evtan);
  text-decoration: none;
}

.container {
  position: relative;
  width: 100%;
  max-width: 1350px;
  margin: auto;
  padding: 0 20px;
}

.wp-block-group {
  padding: 0 20px;
}

.acf-innerblocks-container {
  position: relative;
  max-width: 1350px;
  width: 100%;
  margin: auto;
  padding: 0 20px;
  z-index: 3;
}

.acf-innerblocks-container .grid {
  margin-left: -10px;
  margin-right: -10px;
}

.wp-container-id > * {
  max-width: 840px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.wp-container-id > .alignwide {
  max-width: 1350px;
}

.wp-container-id .alignfull {
  max-width: none;
}

section {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
}

.wp-block-image.aligncenter {
  display: block;
  text-align: center;
}

.wp-block-image.aligncenter img {
  display: inline-block;
}

/*-------------------------------*/
/*- Utilities -------------------*/
/*-------------------------------*/
.row {
  display: flex;
}

.narrow {
  width: 800px;
  max-width: 80%;
  margin: auto;
}

.slim {
  width: 1000px;
  max-width: calc(100% - 40px);
  margin: auto;
}

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

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

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

.rounded, .rounded img {
  border-radius: 20px;
  overflow: hidden;
}

/*-------------------------------*/
/*- Headings --------------------*/
/*-------------------------------*/

h1, h2, h3, h4, h5 {
  font-family: var(--headingfont);
  color: var(--heading-color);
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 0;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

h1 { font-size: 40px; }

h2 { font-size: 35px; }

h3 { font-size: 28px; }

h4 { font-size: 22px; }

h5 { font-size: 18px; }

h6 { font-size: 16px; }

.sub-text {
  font-family: var(--bodyfont);
  font-size: 18px;
  font-weight: 700;
  color: var(--banner-bgcolor);
  text-transform: uppercase;
  letter-spacing: 5px;
}

.location-text {
  position: relative;
  display: inline;
  font-size: 26px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
}

.location-text:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ffb422;
}

/*-------------------------------*/
/*- Buttons ---------------------*/
/*-------------------------------*/

.wp-element-button, .wp-block-button__link {
  line-height: 1;
  text-transform: uppercase;
  padding: 18px 24px;
  font-weight: 700;
  font-size: 12.5px;
  transition: all 0.3s ease;
}
 
.button-green .wp-block-button__link,
.header-menu > li.header-button.button-green > a {
  background-color: var(--button-green);
}

.button-green .wp-block-button__link:hover,
.header-menu > li.header-button.button-green > a:hover {
  background-color: var(--button-greenhover);
}

.button-tan .wp-block-button__link,
.header-menu > li.header-button.button-tan > a {
  background-color: var(--button-tan);
}

.button-tan .wp-block-button__link:hover,
.header-menu > li.header-button.button-tan > a:hover {
  background-color: var(--button-tanhover);
}

.hero-content .wp-block-button__link.wp-element-button,
.cover-video-content .wp-block-button__link.wp-element-button {
  color: #fff;
  border: 1px solid #fff;
  border-radius: 9999px;
  padding: 0 30px;
  height: 50px;
  line-height: 50px;
  text-transform: uppercase;
  font-family: var(--evbodyfont); 
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-content .wp-block-button__link.wp-element-button:hover,
.cover-video-content .wp-block-button__link.wp-element-button:hover {
  border-color: var(--evyellow);
}

.hero-content .wp-block-button__link.wp-element-button:after,
.cover-video-content .wp-block-button__link.wp-element-button:after {
  content: '\f061';
  font: var(--fa-font-sharp-regular);
  position: relative;
  right: -3px;
  transition: all 0.3s ease;
}

.hero-content .wp-block-button__link.wp-element-button:hover:after,
.cover-video-content .wp-block-button__link.wp-element-button:hover:after {
  right: -8px;
  color: var(--evyellow);
}

.header-menu > li.header-button > a {
  display: block;
  height: 42px;
  line-height: 42px;
  padding: 0 20px;
  background-color: var(--banner-bgcolor);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 0;
  border-radius: 9999px;
}

/*-------------------------------*/
/*- Banner ----------------------*/
/*-------------------------------*/

#banner {
  background-color: var(--banner-bgcolor);
  padding: 10px 0;
  font-size: 14px;
  color: #fff;
}

#banner .row {
  align-items: center;
  flex-wrap: wrap;
}

.banner-left {
  display: none;
  width: 100%;
}

.banner-middle {
  width: 100%;
  text-align: center;
}

.banner-right {
  width: 100%;
}

.banner-large {
  width: 100%;
}

.banner-socials {
  width: 30%;
  display: none;
}

/*-------------------------------*/
/*- Socials ---------------------*/
/*-------------------------------*/

.socials {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.banner-left .socials {
  justify-content: flex-start;
}

.banner-right .socials,
.banner-socials .socials {
  justify-content: flex-end;
}

.banner-slider a {
  color: #fff;
}

.banner-slider span {
  font-weight: 400;
  padding-left: 10px;
}

.socials li {
  list-style: none;
  display: block;
}

.socials li a {
  display: block;
}

.socials li.desktop-msg {
  display: none;
}

.banner-left .socials li {
  margin-right: 10px;
}

.banner-right .socials li,
.banner-socials .socials li {
  margin-left: 10px;
}

.socials li a {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255,255,255,.6);
  transition: all 0.3s ease;
}

.socials li a:hover {
  background-color: rgba(255,255,255,1);
}

.social-icon:after {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  font: var(--fa-font-brands);
  color: var(--banner-bgcolor);
}

.social-icon.facebook:after {
  content: '\f39e';
}

.social-icon.instagram:after {
  content: '\f16d';
}

.social-icon.twitter:after {
  content: '\e61b';
}

.social-icon.tiktok:after {
  content: '\e07b';
}

.social-icon.youtube:after {
  content: '\f167';
}

#top-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

#top-action a {
  color: var(--header-link);
}

#top-action form {
  display: flex;
  align-items: center;
}

#top-action select, #top-action input {
  width: auto;
  margin: 0;
  border-radius: 0;
  border: 1px solid var(--evborder);
}

#top-action .button-header {
  background-color: var(--evgreen);
  color: #fff;
  border: 0;
  height: 31px;
  line-height: 31px;
  padding: 0 10px;
  margin-left: 10px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

#top-action .button-header:hover {
  background-color: var(--evtan);
  color: #fff;
}

/*-------------------------------*/
/*- Header ----------------------*/
/*-------------------------------*/

#header {
  padding: 10px 0;
  background-color: var(--header-bgcolor);
}

#header .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#logo img {
  height: 87px;
  width: auto;
  max-width: 50%;
  display: block;
}

#header-menu {
  display: none;
  flex-shrink: 0;
}

#mobile-menu a {
  color: #333;
  font-size: 20px;
}

/*-------------------------------*/
/*- Header Menu -----------------*/
/*-------------------------------*/

.header-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
}

.header-menu > li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-block;
  position: relative;
}

.header-menu li:before {
  content: none;
}

.header-menu > li > a {
  position: relative;
  display: block;
  height: 100px;
  line-height: 100px;
  padding: 0;
  margin: 0 20px;
  color: var(--header-menucolor);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.header-menu > li:first-child > a {
  margin-left: 0;
}

.header-menu > li:last-child > a {
  margin-right: 0;
}

.header-menu > li:hover a {
  color: var(--header-menuhover);
}

.header-menu > li.menu-item-has-children > a:after {
  content: '\f078';
  font: var(--fa-font-sharp-solid);
  margin-left: 5px;
}

.header-menu > li > .sub-menu {
  display: none;
  position: absolute;
  left: -20px;
  top: 100%;
  z-index: 99999;
  min-width: 220px;
  border-top: 3px solid var(--evgreen);
  background-color: #fff;
  box-shadow: 0 36px 35px rgba(0,0,0,.08);
  text-align: left;
  margin: 0;
  padding: 0;
}

.header-menu > li > .sub-menu:after {
  content: "";
  position: absolute;
  top: -19px;
  left: 16%;
  transform: translateX(-50%);  
  border: 8px solid transparent;
  border-bottom-color: var(--evgreen);
}

.header-menu > li > .sub-menu > li {
  display: block;
  margin:  0;
  padding: 0 13px;
  border-bottom: 1px solid #C4C4C426;
}

.header-menu > li > .sub-menu > li:last-child {
  border-bottom: 0;
}

.header-menu > li > .sub-menu > li > a {
  display: block;
  font-size: 15px;
  font-weight: 300;
  color: var(--evtan);
  padding: 10px;
  margin: 0;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.header-menu > li > .sub-menu > li a:hover,
.header-menu > li.current-menu-item > a,
.header-menu > li > .sub-menu > li.current-menu-item > a {
  color: var(--evgreen);
}

.header-menu > li.menu-slide {
  cursor: pointer;
}

/*-------------------------------*/
/*- Slide Out Menu --------------*/
/*-------------------------------*/

.panel {
  position: fixed;
  right: -100%; /*left or right and the width of your navigation panel*/
  width: 100%; /*should match the above value*/
  background: #21252e;
  z-index: 999;
}

.wrap {
  position: relative;
}

#menu-body {
  height: 100%;
  overflow-y: scroll;
}

.mobile-menu-header {
  position: relative;
  background: var(--evlighttan);
  text-align: center;
  padding: 5px 0;
  margin-bottom: 10px;
}

.mobile-menu-header img {
  display: inline-block;
  width: 30%;
  max-width: 120px;
  height: auto;
}

.menu-link.close-panel {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--evdarkgreen);
}

.mobile-menu-icon {
  padding: 20px 0;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  width: calc(((100% / 12) * 6) - 20px) !important;
  border: 1px solid rgba(255,255,255,.05);
}

.mobile-menu-icon i {
  font-size: 32px;
  color: rgba(255,255,255,0.7);
}

.mobile-menu-icon span {
  display: block;
}

.mobile-menu-icon a {
  color: #fff;
}

.menu-mobile {
  padding: 0 0 30px 0;
}

.menu-mobile li {
  list-style: none;
  margin: 0;
  border-top: 1px solid rgba(255,255,255, 0.05);
}

.menu-mobile li:before {
  content: none;
}

.menu-mobile li:last-of-type {
  border-bottom: 1px solid rgba(255,255,255, 0.05);
}

.menu-mobile li a {
  position: relative;
  display: block;
  padding: 10px 20px;
  transition: all .3s ease;
  color: var(--button-green);
}

.menu-mobile li.menu-toggle > a:after {
  position: absolute;
  content: '\f107';
  font-family: 'Fontawesome';
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.menu-mobile li.menu-toggle > a.active:after {
  content: '\f106';
}

.menu-mobile li a.active {
  color: #fff;
  background: var(--evyellow);
}

.menu-mobile .sub-menu {
  display: none;
  margin: 0;
  padding: 0;
}

.menu-mobile .sub-menu li a {
  padding: 10px 20px 10px 40px;
}

.menu-mobile .sub-menu li .sub-menu li a {
  padding: 10px 20px 10px 60px;
}

.menu-mobile .current-menu-item a {
  color: var(--evyellow);
}

/*-------------------------------*/
/*- Footer Block ----------------*/
/*-------------------------------*/

#associations .row {
  justify-content: center;
  flex-wrap: wrap;
}

.single-association {
  margin: 20px 10px;
}

.single-association img {
  width: 108px;
  height: 108px;
}

#footer {
  background-color: var(--evdark);
  padding: 40px 0 110px 0;
  color: var(--evlightgreen);
}

#footer .row {
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-block {
  width: calc(100% - 20px);
  margin: 0 0 20px 0;
}

#footer a {
  color: var(--evlightgreen);
  transition: all 0.3s ease;
}

#footer a:hover {
  color: #fff;
}

#footer h5 {
  color: #fff;
  font-size: 30px;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  list-style: none;
  margin: 0 0 10px 0;
}

.footer-menu li:before {
  position: static;
  content: '\f061';
  font: var(--fa-font-sharp-regular);
  margin-right: 10px;
  transition: all 0.3s ease;
}

.footer-menu li:hover:before {
  color: var(--ebdblue);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-contact-item .icon {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--ebdblack);
  color: #fff;
  margin: 0 10px 0 0;
  transition: all 0.3s ease;
}

.footer-contact-item .icon i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-size: 15px;
}

#copyright {
  background-color: var(--evdark);
  color: var(--evlightgreen);
  font-size: 13px;
  text-align: center;
}

#copyright a {
  color: var(--evlightgreen);
}

.copyright {
  border-top: .5px solid var(--evlightgreen);
  padding: 20px 0;
}

#footer .socials li {
  margin-right: 10px;
}

#footer .social-icon:after {
  color: var(--evdark);
} 

/*-------------------------------*/
/*- Hero Block ------------------*/
/*-------------------------------*/

.hero-block {
  position: relative;
  height: 700px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

@keyframes shrink {
  0% {
    background-size: 110%;
  }
  100% {
    background-size: 100%;
  }
}

.hero-block:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient( rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6) );
}

.hero-block .container {
  height: 100%;
}

.hero-content {
  position: absolute;
  left: 0;
  bottom: 50px;
  width: 100%;
  color: #fff;
}

.hero-pre-text {
  font-family: var(--evheadingfont);
  font-size: 20px;
}

.hero-block h1 {
  color: var(--evyellow);
  font-size: 60px;
}

.hero-sub-text {
  font-weight: 400;
  font-size: 18px;
}

/*-------------------------------*/
/*- Card ------------------------*/
/*-------------------------------*/

.wp-block-columns-is-layout-flex.lined-up {
  align-items: stretch !important;
}

.card-block {
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
}

.card-block .icon-block {
  position: relative;
  display: block;
  margin: 0 auto 10px auto;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid var(--button-green);
}

.card-block .icon-block i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-size: 32px;
  color: var(--button-green);
}

/*.card-block p {
  min-height: 110px;
}*/

/*-------------------------------*/
/*- Grid ------------------------*/
/*-------------------------------*/

.grid-block > .acf-innerblocks-container {
  display: block;
  padding: 0 20px;
}

.grid-item-block {
  aspect-ratio: 1/1;
  margin-bottom: 20px;
}

.grid-item-block > .acf-innerblocks-container,
.grid-item-block .wp-block-image {
  width: 100%;
  height: 100%;
  padding: 0;
}

.grid-item-block .video-block {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.grid-item-block .video-block:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(0,0,0,.3);
  transition: all 0.3s ease;
  border-radius: 20px;
}

.grid-item-block .wp-block-image img,
.grid-item-block .video-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.block-player {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9;
  text-align: center;
}

.icon-play {
  position: relative;
  display: block;
  width: 100px;
  height: 100px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  background: radial-gradient( rgba(134, 171, 63, 0.8) 60%, rgba(255, 255, 255, 1) 62%);
  box-shadow: 0px 0px 25px 3px rgba(134, 171, 63, 0.8);
}

.icon-play:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%,-50%);
  transform-origin: center center;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 25px solid #fff;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.icon-play:before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation: pulsate1 2s;
  animation: pulsate1 2s;
  -webkit-animation-direction: forwards;
  animation-direction: forwards;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: steps;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, .75);
  top: -30%;
  left: -30%;
  background: rgba(198, 16, 0, 0);
}

@keyframes pulsate1 {
  0% {
    -webkit-transform: scale(0.6);
    transform: scale(0.6);
    opacity: 1;
    box-shadow: inset 0px 0px 25px 3px rgba(255, 255, 255, 0.75), 0px 0px 25px 10px rgba(255, 255, 255, 0.75);
  }
  100% {
    -webkit-transform: scale(1, 1);
    transform: scale(1);
    opacity: 0;
    box-shadow: none;

  }
}

/*-------------------------------*/
/*- Cover Video -----------------*/
/*-------------------------------*/

.cover-video-block {
  position: relative;
  min-height: 500px;
  width: 100%;
  overflow: hidden;
}

.cover-video-block .video-bg {
  height: 100%;
  background-color: #000;
}

.cover-video-block .video-bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-video-block .video-wrapper {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 0;
  width: 100%;
  padding: 0;
  padding-bottom: 56.25%;
}

.cover-video-block .video-wrapper iframe {
  display: none;
  height: calc(100% + 250px);
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  pointer-events: none;
  margin-top: -200px;
  filter: grayscale(50%);
}

.cover-video-block .video-wrapper:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.4);
  z-index: 9;
} 

.cover-video-content {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1350px;
  width: 100%;
}

.cover-video-block h1 {
  color: var(--evyellow);
  font-size: 40px;
}

.block-player-link {
  display: flex;
  align-items: center;
  padding: 0 20px;
  margin-bottom: 20px;
}

.block-player-link .icon-play {
  margin: 0;
}

.block-player-link h5 {
  color: #fff;
  margin: 0 0 0 20px;
}

/*-------------------------------*/
/*- CTA Block -------------------*/
/*-------------------------------*/

.cta-block {
  background-size: cover;
  background-position: left center;
}

/*-------------------------------*/
/*- Media Image -----------------*/
/*-------------------------------*/

.media {
  display: flex;
  flex-wrap: wrap;
}

.media-image {
  position: relative;
  width: 100%;
  text-align: center;
}

.media-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.has-image .media-body {
  margin-top: 20px;
}

.media .media-body {
  width: 100%;
  display: block;
}

/* Larger than phablet */
@media (min-width: 550px) {

  .media {
    justify-content: space-between;
  }

  .image-left .media-image {
    max-width: 45%;
    margin-right: auto;
  }
  
  .image-right .media-image {
    max-width: 45%;
    margin-left: auto;
    order: 2;
  }  

  .has-image .media-body {
    margin-top: 0;
    max-width: 45%;
  }
}

/*-------------------------------*/
/*- Featured Image --------------*/
/*-------------------------------*/

.featured .media-image {
  position: relative;
  width:85%;
  margin: 0 auto 70px auto;
}

.featured .media-image:before {
  content: "";
  position: absolute;
  top: -30px;
  z-index: -1;
  background: #ccd6c5;
  border-radius: 20px;
  width: 100%;
  height: 100%;
  opacity: .3;
}

.featured .image-left .media-image:before {
  right: -30px;
}

.featured .image-right .media-image:before {
  left: -30px;
}

.featured .media-image .img-2 {
  position: absolute;
  bottom: -50px;
  width: 60%;
  border-radius: 40px;
  border: 5px solid #fff;
}

.featured .image-left .media-image .img-2 {
  right: -40px;
}

.featured .image-right .media-image .img-2 {
  left: -40px;
}


@media (min-width: 750px) {

  .featured .media-image {
    width: 40%;
    margin: 0;
  }

  .featured .image-left .media-image .img-2 {
    right: -70px;
  }

  .featured .image-right .media-image .img-2 {
    left: -70px;
  }

}

/*-------------------------------*/
/*- FAQ -------------------------*/
/*-------------------------------*/

.faq-block .row {
  flex-wrap: wrap;
}

.single-question:first-child {
  border-top: 1px solid var(--input-bordercolor);
}

.single-question {
  width: 100%;
  border-bottom: 1px solid var(--input-bordercolor);
  margin: 0;
}

.question {
  cursor: pointer;
}

.question h4 {
  position: relative;
  text-transform: none;
  margin: 20px 0;
  font-size: 18px;
}

.question h4:after {
  font: var(--fa-font-sharp-light);
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.question h4:after {
  content: '\2b';
}

.question.active h4:after {
  content: '\f068';
}

.answer {
  margin-left: 20px;
}

/*-------------------------------*/
/*- Timeline --------------------*/
/*-------------------------------*/

.timeline-event-block {
  position: relative;
}

.timeline-event-block:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background-color: #fff;
}

.timeline-body {
  position: relative;
  width: 100%;
  padding: 10px 0 10px 40px
}

.timeline-body:before {
  
}

.timeline-body-wrapper {
  position: relative;
  padding: 15px;
  background-color: var(--button-green);
  color: #fff;
  border-radius: 16px;
}

.timeline-body-wrapper h4 {
  color: #fff;
}

.timeline-body-wrapper a {
  color: #fff;
  font-weight: 400;
  text-decoration: underline;
}

.timeline-body-wrapper:before {
  content: '';
  position: absolute;
  top: 20px;
  left: -15px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 16px 16px 16px 0;
  border-color: transparent #83ba3b transparent transparent;
}

.timeline-body-wrapper:after {
  content: '';
  position: absolute;
  top: 20px;
  left: -40px;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #83ba3b;
  border: 2px solid #fff;
}

.timeline-date {
  width: 50%;
  padding: 34px 0 0 40px;
  font-size: 20px;
  font-family: var(--headingfont);
}

@media (min-width: 750px) {

  .timeline-event-block {
    display: flex;
  }

  .timeline-event-block:before {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline-body {
    width: 50%;
  }

  .timeline-event-block:nth-child(odd) .timeline-date {
    order: 2;
  }

  .timeline-event-block:nth-child(odd) .timeline-body {
    padding: 10px 40px 10px 0;
  }

  .timeline-event-block:nth-child(odd) .timeline-body-wrapper:before {
    right: -15px;
    left: auto;
    border-width: 16px 0 16px 16px;
    border-color: transparent transparent transparent #83ba3b;
  }

  .timeline-event-block:nth-child(odd) .timeline-body-wrapper:after {
    right: -75px;
    left: auto;
  }

  .timeline-event-block:nth-child(even) .timeline-date {
    text-align: right;
    padding: 34px 40px 0 0;
  }

}

/*-------------------------------*/
/*- News ------------------------*/
/*-------------------------------*/

.news-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 -20px;
}

.news-article {
  display: none;
  width: 100%;
  padding: 20px;
  margin: 0 10px 20px 10px;
  box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
  text-align: center;
  border-radius: 20px;
}

.news-article img {
  display: block;
  width: 90px;
  height: auto;
  margin: auto;
  transition: all 0.3s ease;
}

.news-article:hover img {
  scale: 1.15;
}

.news-article-title {
  min-height: 150px;
  font-weight: 400;
  transition: all 0.3s ease;
}

.news-article:hover .news-article-title {
  color: var(--button-green);
}

.news-article-date {
  color: var(--body-textcolor);
  font-size: 14px;
}

@media (min-width: 750px) {
  .news-article { width: calc(((100% / 12) * 6) - 20px); }
}

@media (min-width: 1000px) {
  .news-article { width: calc(((100% / 12) * 3) - 20px); }
}

/*-------------------------------*/
/*- Accordion -------------------*/
/*-------------------------------*/

.accordion-block .details {
  display: flex;
  flex-wrap: wrap;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0,0,0,.05);
  border-left: 15px solid var(--button-green);
  padding: 15px;
  margin-bottom: 20px;
  cursor: pointer;
}

.accordion-block summary {
  position: relative;
  width: 100%;
  font-size: 20px;
}

.accordion-block summary:after {
  content: '\f078';
  font: var(--fa-font-sharp-regular);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.accordion-block .details.active summary:after {
  content: '\f077';
}

.accordion-block .details.active summary {
  font-weight: 700;
}

/*-------------------------------*/
/*- Resources -------------------*/
/*-------------------------------*/

.resources-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.resource-item {
  width: calc(100% - 20px);
  margin: 0 10px 20px 10px;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
}

.resource-item ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.resource-item li {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.resource-icon {
  width: 30px;
  text-align: center;
  margin-right: 10px;
}

.resource-content {
  width: calc(100% - 40px);
}

/*-------------------------------*/
/*- Blog ------------------------*/
/*-------------------------------*/

.featured-post {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.featured-post-content {
  order: 2;
  width: 100%;
  padding: 40px 0;
}

.featured-post-image {
  position: relative;
  width: 100%;
}

.featured-post-image img {
  border-radius: 20px;
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.single-articles {
  display: flex;
  flex-wrap: wrap;
  margin: 20px -10px;
}

.single-article {
  width: calc(100% - 20px);
  margin: 0 10px 20px 10px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
}

.single-article-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.single-article-image img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.single-article:hover .single-article-image img {
  scale: 1.1;
}

.single-article-image .category-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  border-radius: 12px;
  background-color: var(--evdarkgreen);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  padding: 5px 20px;
}

.single-article-content {
  position: relative;
  padding: 30px;
  min-height: 250px;
}

.single-article-date {
  position: absolute;
  left: 30px;
  bottom: 30px;
  font-size: 12px;
  text-transform: uppercase;
}

.post-image {
  position: relative;
}

.post-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  color: #666;
  margin-bottom: 20px;
}

/*-------------------------------*/
/*- Tabs ------------------------*/
/*-------------------------------*/

.tabs-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tabs-nav li {
  list-style: none;
  display: inline-block;
  background-color: #eee;
  margin-right: 2px;
  padding: 12px 30px;
  cursor: pointer;
}

.tabs-nav li:hover,
.tabs-nav li.active {
  background-color: #fff;
}

.tabs-nav li a {
  text-transform: uppercase;
  color: #83ba3b;
  font-weight: 600;
}

.tab-content {
  padding: 20px;
  background-color: #fff;
}

.tab-content > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tab-content > ul > li {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 10px 0;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.tab-content h5 {
  width: 100%;
}

.tab-content .itinerary-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
}

.tab-content .itinerary-items li {
  display: block;
  margin-right: 20px;
}

.tab-content .itinerary-items li i {
  padding-right: 5px;
}

/*-------------------------------*/
/*- Partner Card ----------------*/
/*-------------------------------*/

.partner-card {
  width: calc(50% - 10px);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  padding: 20px 10px;
  box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
  aspect-ratio: 1 / 1;
  font-weight: 600;
}

.partner-card .wp-block-image {
  text-align: center;
}

.partner-card img {
  display: inline-block;
  width: 80%;
  height: auto;
}

/*-------------------------------*/
/*- Sponsor Card ----------------*/
/*-------------------------------*/

.sponsor-card {
  width: calc(50% - 10px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
}

.sponsor-card .wp-block-image {
  text-align: center;
}

.sponsor-card img {
  display: inline-block;
  width: 100%;
  height: auto;
}

.sponsor-grow {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/*-------------------------------*/
/*- Map -------------------------*/
/*-------------------------------*/

.map-block {
  margin: 0;
}

#large-map {
  height: 400px;
  width: 100%;
  margin: 0;
}

/*-------------------------------*/
/*- Newsletter ------------------*/
/*-------------------------------*/

#newsletter {
  background-color: var(--evdark);
  padding: 50px 0 0 0;
  color: var(--evlightgreen);
}

.newsletter-form {
  border-bottom: 0.5px solid var(--evlightgreen);
  padding: 0 0 40px 0;
}

.newsletter-form .row {
  flex-wrap: wrap;
  justify-content: space-between;
}

.newsletter-input {
  width: 100%;
}

.newsletter-input input {
  width: 100%;
  height: 47px;
  background-color: #fff;
  border-radius: 3px;
  padding: 0 12px;
  border: 1px solid var(--input-bordercolor);
  margin: 0 0 20px 0;
}

.newsletter-section {
  width: 100%;
}

.newsletter-form ul {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.newsletter-form li {
  display: block;
  margin-right: 20px;
}

.newsletter-form li.label {
  width: 100%;
}

.newsletter-form input[type=submit] {
  line-height: 1;
  text-transform: uppercase;
  padding: 18px 24px;
  font-weight: 700;
  font-size: 12.5px;
  transition: all 0.3s ease;
  background-color: var(--button-green);
  border: 0;
  border-radius: 9999px;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
}

@media (min-width: 750px) {
  .newsletter-input { width: 30%; }
  .newsletter-section { width: auto; }
  .newsletter-form ul { margin: 0; }
  .newsletter-form li.label { width: auto; }
}

/*-------------------------------*/
/*- Forms -----------------------*/
/*-------------------------------*/

.gform-theme--foundation .gform_footer {
  justify-content: flex-end;
}



.gform-theme--foundation .gform-text-input-reset {
  background-color: #fff;
  border-radius: 3px;
  width: 100%;
  height: 47px !important;
  border: 1px solid var(--input-bordercolor);
  padding: 0 12px;
}


/*-------------------------------*/
/*- Mobile First Media Queries --*/
/*-------------------------------*/

/* Larger than mobile */
@media (min-width: 400px) {}

/* Larger than phablet */
@media (min-width: 550px) {

}

/* Larger than tablet */
@media (min-width: 750px) {
  #logo img { max-width: 100%; }
  .media.image-right .media-image { margin-left: 40px; }
  .media.image-left .media-image { margin-right: 40px; }
  .media .media-body { min-width: 40%; }
  .cover-video-block .video-wrapper iframe { display: block; }
  .grid-block > .acf-innerblocks-container { display: grid; }
  .grid-item-block { margin-bottom: 0; }
  .banner-large { width: 70%; }
  .banner-socials { display: block; }
  .banner-right { width: 30%; }
  .banner-left { width: 30%; display: block; }
  .banner-middle { width: 40%; }
  #top-action { justify-content: center; }
  .resource-item { width: calc(((100% / 12) * 6) - 20px); }
  .featured-post-content {
    order: 0;
    width: 60%;
    padding: 40px;
  }
  .featured-post-image { width: 40%; }
  .single-article { width: calc(((100% / 12) * 6) - 20px); }
  .partner-card { width: calc((100% / 3) - 20px);
}

/* Larger than desktop */
@media (min-width: 1000px) {
  #top { display: block; }
  #logo { width: calc(((100% / 12) * 3) - 20px); }
  #navigation { width: calc(((100% / 12) * 9) - 20px); }
  .footer-block { width: auto; max-width: 50%; }
  .hero-content { width: 50%; }
  .hero-block h1 { font-size: 60px; }
  .cover-video-block h1 { font-size: 40px; }
  .socials li.desktop-msg { display: block; }
  .resource-item { width: calc(((100% / 12) * 4) - 20px); }
  .single-article { width: calc(((100% / 12) * 4) - 20px); }
  .sponsor-card { width: calc((100% / 3) - 20px);
}

/* Larger than Desktop HD */
@media (min-width: 1350px) {
  .hero-wrapper { width: 100%; max-width: 1350px; padding: 0 20px; }
  .hero-block { animation: shrink 10s ease-in-out 0s infinite alternate; }
  #header { padding: 0; }
  #header-menu { display: block; }
  #mobile-menu { display: none; }
  .partner-card { width: calc((100% / 4) - 20px);
}