/*
Theme Name: VMFRP
Theme URI:
Description: A customised version of the Enfold theme, specifically for this project
Author: Agency
Author URI:
Template: enfold
Version: 1.0.0
*/

/*
    Earth Orange:       #e87821;
    Sky Blue:           #4ac9e3;
    Reflection Blue:    #b9d3dc;
    Shadow Green:       #006f62;
    Rivergum Green:     #50a684;
    Grass Green:        #71cc98;
    Grey (Unofficial):  #f0f0f0;
*/

@import url("../enfold/style.css");

/** Global tweaks */
strong {
  color: inherit !important;
}
a {
  transition: 0.2s;
}
.bump-down-icon {
  margin-bottom: -7px !important;
  margin-top: 7px !important;
}
@media screen and (min-width: 767px) {
  span.logo {
    width: 330px;
  }
}

/** Slider control tweaks */
#top .avia-slideshow-arrows a {
  font-size: 50px !important;
}
#top .av-control-minimal .avia-slideshow-arrows a:before {
  border-color: transparent !important;
}
.avia-slideshow-dots {
  display: none !important;
}

/** Layout elements */
#header_main {
  border-width: 0 !important;
}
.responsive #header_main > .container {
  max-width: 1280px;
}
#content-summary > .container::before,
#content-summary > .container > .content::after,
#footer > .container::before,
#footer > .container > .av_one_third:last-child::after,
.green-header::before {
  visibility: visible;
  overflow: hidden;
  content: "";
  display: block;
  position: absolute;
}

.responsive .extra-wide .container {
  max-width: 1480px !important;
}

/** Content summary block */
@media screen and (min-width: 769px) {
  #content-summary {
    min-height: 412px !important;
  }
}
#content-summary > .container::before {
  background-position: 0 -120px;
  background-image: url("./img/leaf-summary-left.png");
  background-repeat: no-repeat;
  height: 432px;
  width: 757px;
  margin-left: -600px;
  top: 0;
  left: 0;
}
#content-summary > .container > .content::after {
  background-image: url("./img/leaf-summary-right.png");
  background-repeat: no-repeat;
  height: 494px;
  width: 887px;
  left: 100%;
  bottom: -1px;
  margin-left: -190px;
}
#title-block-lift .green-summary,
#content-summary .green-summary {
  background-color: #007061 !important;
  color: #ffffff !important;
  padding-top: 30px;
  padding-bottom: 30px;
  margin-top: -150px;
}

#title-block-lift .green-summary {
  margin-top: -100px;
  margin-bottom: 50px;
}
#title-block-lift .green-summary h1 {
  margin-bottom: 0 !important;
}
#first-row-lift
  > .container
  > .content
  > .post-entry
  > .entry-content-wrapper
  > .flex_column_table:first-child {
  margin-top: -100px;
}
#title-block-lift .green-summary::before,
#title-block-lift .green-summary::after,
#content-summary .green-summary::before,
#content-summary .green-summary::after {
  position: absolute;
  top: 0;
  left: 0;
  margin-left: -50px;
  content: "";
  width: 50px;
  height: 100%;
  background: #007061 !important;
  visibility: visible;
}
#title-block-lift .green-summary::after,
#content-summary .green-summary::after {
  left: 100%;
  margin-left: 0;
}

/** Simple Dark Green Summary Style **/
.simple-green-summary {
  background-color: #006f62 !important; /* Shadow Green */
  color: #ffffff !important;
  padding: 40px 60px !important; /* Top/Bottom and Left/Right padding */
  margin: 20px 0 !important;
  border-radius: 4px; /* Optional: slight rounding */
}

.simple-green-summary p {
  color: #ffffff !important;
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}

/** Orange "Quick Links" bar */
#orange-bar {
  background-color: #e87821;
  padding-top: 7px !important;
}
#orange-bar a,
#orange-bar a * {
  text-decoration: none !important;
  color: #ffffff !important;
  opacity: 1 !important;
}
#orange-bar h4 {
  margin-top: 10px;
  font-weight: 400 !important;
}

/** Newsletter Signup */
#newsletter-subscribe h2 {
  margin-bottom: 15px !important;
}
#newsletter-subscribe input,
.newsletter-subscribe input {
  background: #ffffff !important;
  color: #4ac9e3 !important;
  border-color: #ffffff !important;
}
#newsletter-subscribe input[type="submit"],
.newsletter-subscribe input[type="submit"] {
  font-size: 19px !important;
  padding: 14px 6px 13px 14px !important;
  text-align: left !important;
}
#newsletter-subscribe input[type="submit"]:hover,
#newsletter-subscribe input[type="submit"]:active,
.newsletter-subscribe input[type="submit"]:hover,
.newsletter-subscribe input[type="submit"]:active {
  background-color: #4ac9e3 !important;
  color: #ffffff !important;
  border-color: #4ac9e3 !important;
}
#newsletter-subscribe input::-webkit-input-placeholder {
  color: #4ac9e3 !important;
}
#newsletter-subscribe input:-ms-input-placeholder {
  color: #4ac9e3 !important;
}
#newsletter-subscribe input::placeholder {
  color: #4ac9e3 !important;
}
.newsletter-subscribe input::-webkit-input-placeholder {
  color: #4ac9e3 !important;
}
.newsletter-subscribe input:-ms-input-placeholder {
  color: #4ac9e3 !important;
}
.newsletter-subscribe input::placeholder {
  color: #4ac9e3 !important;
}

/** Footer */
#footer {
  border-width: 0 !important;
  padding-top: 0;
  padding-bottom: 0;
}
.responsive #footer > .container {
  max-width: 1280px;
}
#footer > .container {
  padding-top: 15px;
  padding-bottom: 15px;
}
#footer > .container > .av_one_third.first .widget_media_image {
  margin-top: 1px;
  margin-bottom: 0;
}
#footer > .container > .av_one_third.first .widget_media_image a,
#footer > .container > .av_one_third.first .widget_media_image img {
  float: left;
  position: relative;
  max-width: 100%;
}
#footer > .container > .av_one_third.first .widget_media_image .image-overlay {
  display: none !important;
}
#footer > .container > .av_one_third:nth-child(2) ul,
#footer > .container > .av_one_third:nth-child(2) li,
#footer > .container > .av_one_third:nth-child(2) li * {
  font-weight: 400 !important;
  font-size: 14px;
  line-height: 18px;
}
#footer .sub-menu {
  display: none !important;
}
#footer > .container > .av_one_third:last-child,
#footer > .container > .av_one_third:last-child * {
  font-size: 14px;
  line-height: 18px;
  text-transform: none !important;
}
#footer > .container > .av_one_third:last-child .widgettitle {
  margin-top: 5px;
  font-weight: 400 !important;
}
#footer > .container::before {
  background-position: 0 -120px;
  background-image: url("./img/leaf-footer-left.png");
  background-repeat: no-repeat;
  height: 100%;
  width: 757px;
  margin-left: -570px;
  top: 0;
  left: 0;
}
#footer > .container > .av_one_third:last-child::after {
  background-position: 0 -240px;
  background-image: url("./img/leaf-footer-right.png");
  background-repeat: no-repeat;
  height: calc(100% + 45px);
  width: 887px;
  left: 100%;
  bottom: -30px;
  margin-left: -80px;
}
@media screen and (min-width: 769px) {
  #footer > .container > .av_one_third:nth-child(2) {
    width: 100px;
  }
  #footer > .container > .av_one_third:last-child {
    width: calc(58.666% - 101px);
  }
}
@media screen and (max-width: 768px) {
  #footer > .container::before {
    display: none;
  }
  #footer > .container > .av_one_third:last-child::after {
    background-position: 0 0;
    height: 440px;
    bottom: -40px;
    margin-left: -480px;
  }
}

/** Portfolio Blocks */
.green-header::before {
  left: 0;
  width: 100%;
  background: #006f62;
  height: 263px;
}
.grid-sort-container,
.grid-sort-container .grid-entry {
  border: 15px solid #ffffff !important;
}
@media screen and (max-width: 768px) {
  .grid-sort-container,
  .grid-sort-container .grid-entry {
    border: 10px solid #ffffff !important;
  }
}
.grid-sort-container .grid-entry * {
  border-width: 0 !important;
  box-shadow: none !important;
}
.grid-sort-container .image-overlay {
  display: none !important;
}
.portfolio_preview_container .entry-content-header,
.portfolio_preview_container .entry-content-header *,
.grid-sort-container .grid-entry .grid-content,
.grid-sort-container .grid-entry .grid-content * {
  background-color: #4ac9e3;
  color: #ffffff !important;
  text-align: left;
}
.portfolio_preview_container .entry-content-header {
  padding: 16px 20px;
}
.grid-sort-container .grid-entry .grid-content a {
  text-decoration: none !important;
}
.portfolio_preview_container .entry-content-header h2,
.grid-sort-container .grid-entry .grid-content h3 {
  font-size: 22px;
}
.portfolio_preview_container .entry-content-header .catname,
.grid-sort-container .grid-entry .grid-content h3 .catname {
  display: block;
  font-size: 14px;
  font-weight: 400 !important;
  padding-bottom: 5px;
}
.portfolio_preview_container {
  background: #f0f0f0 !important;
  border: 30px solid #f0f0f0 !important;
  overflow: visible;
}
.portfolio_preview_container * {
  background: transparent;
  box-shadow: none !important;
}
.portfolio_preview_container .avia-gallery-thumb img {
  margin: 0 !important;
  padding: 0 !important;
}
.portfolio_preview_container .avia-gallery-thumb a {
  margin-top: 5px;
  margin-right: 5px;
}
.portfolio_preview_container .ajax_controlls .ajax_previous,
.portfolio_preview_container .ajax_controlls .ajax_next,
.portfolio_preview_container .avia-arrow {
  display: none;
}
.portfolio_preview_container .ajax_controlls {
  margin: -32px -32px auto auto !important;
}
.portfolio_preview_container .avia_close {
  color: #e87821 !important;
  background: transparent !important;
  border: none !important;
  font-size: 30px;
  transition: 0.2s;
}
.portfolio_preview_container .avia_close:hover {
  color: #006f62 !important;
}
@media screen and (min-width: 769px) {
  .portfolio_preview_container .portfolio-preview-image {
    /*width:*/
  }
  .portfolio_preview_container .portfolio-preview-content {
    padding: 0 0 0 30px !important;
  }
}

/** FAQ's */
.toggle_icon {
  border-color: #e87821 !important;
  border-width: 2px !important;
  background-color: #e87821 !important;
  -webkit-border-radius: 50% !important;
  -moz-border-radius: 50% !important;
  border-radius: 50% !important;
  height: 18px;
  width: 18px;
  margin-top: -9px;
}
.toggle_icon > span {
  border-color: #ffffff !important;
}
.toggle_icon .hor_icon {
  border-top-width: 2px !important;
  top: 6px;
  width: 12px;
}
.toggle_icon .vert_icon {
  border-left-width: 2px !important;
  left: 6px;
  height: 12px;
}
.single_toggle {
  margin-bottom: 10px;
}
.single_toggle > .toggler {
  color: #ffffff !important;
  font-weight: 700;
  background-color: #71cc98 !important;
  padding-right: 20px;
}
.single_toggle .toggle_content {
  margin-bottom: 0;
}

/** Events Calendar */
#tribe-bar-form {
  display: none !important;
}

/** Project overview table */
table.project-overview {
  width: auto;
  max-width: 100%;
  background-color: #bad8e1 !important;
  font-size: 18px;
  padding-bottom: 5px;
}
table.project-overview tr,
td {
  background: transparent !important;
  color: #006f62 !important;
  border: none !important;
  border-width: 0 !important;
  font-size: 18px;
}
table.project-overview td {
  padding: 13px 15px 9px !important;
  line-height: 1.2em;
}
table.project-overview tr:last-child td {
  padding-bottom: 17px !important;
}
table.project-overview td::after {
  content: "";
  display: block;
  width: 100%;
  border-bottom: 1px solid #006f62 !important;
  margin-top: 2px;
}
table.project-overview th {
  color: #ffffff !important;
  background: #006f62 !important;
  border-width: 0 !important;
}

/** Navigation Break Point adjustment */
@media only screen and (max-width: 1270px) {
  /* 1110px */
  #top .av_mobile_menu_tablet .av-main-nav .menu-item {
    display: none !important;
  }
  .av-burger-menu-main {
    display: block !important;
  }
  .av-burger-menu-main > a {
    background: #ffffff !important;
    border-width: 0 !important;
  }
}

#top .btn-font-fix a {
  padding: 12px 20px;
}

#top .btn-font-fix span {
  font-size: 16px;
}

#top .btn-font-fix .avia_button_background {
  padding: 0;
}

.av-main-nav > li > a {
  padding: 0 12px;
}

.av_seperator_small_border .av-main-nav > li > a > .avia-menu-text {
  padding-left: 12px;
  margin-left: -12px;
}

.avia-menu.av_menu_icon_beside {
  padding-right: 10px;
  margin-right: 15px;
}

.white-bg {
  background-color: #fff;
}

/* Home Updates */
.grid-container .entry-content-wrapper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 0 var(--vmfrp-space-4) !important;
  gap: var(--vmfrp-space-3);
}

.grid-container .entry-content-wrapper::before,
.grid-container .entry-content-wrapper::after {
  content: none;
}

.home-video {
  margin: 0 var(--vmfrp-space-4) !important;
}

.home-card {
  background: #006f62;
  margin: 0 !important;
  width: 100%;
  padding: var(--vmfrp-space-3);
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--vmfrp-space-2);
}

.home-card .avia-image-container {
  margin: 0;
  width: 80px;
}

.home-card:nth-child(4),
.home-card:nth-child(5) {
  grid-column: span 3;
}

.home-card p {
  line-height: 1.4;
  font-size: 16px;
}
