/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

#main {
  position: relative;
  z-index: 200;
}

body.mobile-open {
  overflow-y: hidden !important;
}

.mobile-contact-list a {
  color: #fff !important;
}

#awb-oc-700 .awb-off-canvas .off-canvas-close {
  border: 2px solid #fff !important;
  padding: 13px !important;
}

.mobile-contact-list a {
  color: #fff !important;
}

.desktop-menu a span,
.mobile-menu a span {
  display: flex;
  align-items: center;
  gap: 15px;
}

.desktop-menu a span:before,
.mobile-menu a span:before {
  transition: 0.3s ease-in-out;
/*   content: ""; */
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 1px solid #fff;
}

.desktop-menu a span:before {
  border: 1px solid #2b2a29;
}

.mobile-menu li:hover a span:before,
.mobile-menu li.current-menu-item a span:before {
  background: #fff !important;
}

.desktop-menu li:hover a span:before,
.desktop-menu li.current-menu-item a span:before {
  background: #2b2a29 !important;
}

/* 

#project-fixed-bar {  
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  align-items: center;
  transform: translateY(110%);
  transition: 0.3s ease-in-out;
}

#project-fixed-bar.show-bar {
    transform: translateY(0);
} */

.form-form-submit {
  width: 100%;
}

.container-map {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.container-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.fusion-form > .fusion-fullwidth {
  padding: 0 !important;
}

#project-wrapper ul.fusion-grid {
  /*grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)) !important;*/
  grid-template-columns: repeat(4, 1fr) !important;
  display: grid !important;
}
#project-wrapper fusion-post-cards > .fusion-grid > .fusion-grid-column,
#project-wrapper ul li.fusion-grid-column {
  width: 100% !important;
}

.project-card-with-image .fusion-image-element,
.project-card-with-image .fusion-image-element img,
.project-card-with-image .fusion-imageframe {
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  z-index: 4;
}
.project-card-with-image {
  position: relative !important;
}
.project-card-with-image .fusion-title {
  z-index: 5;
  position: absolute;
  bottom: 5px;
  left: 5px;
}

.project-title {
  transform: translateY(120%);
  transition: 0.3s ease-in-out;
  z-index: 8 !important;
}

.project-card-with-image:hover .project-title,
#project-card:hover .project-title {
  transform: translateY(0);
}

.project-card-with-image {
  overflow: hidden;
}
.project-card-with-image .fusion-column-wrapper:before {
  content: "";
  background: rgba(0, 0, 0, 0.4);
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 100%;
  z-index: 7;
  transition: 0.3s ease-in-out;
}

.project-card-with-image .fusion-column-wrapper {
  z-index: 4;
}

.project-card-with-image:hover .fusion-column-wrapper:before {
  top: 0;
}

#global-header.header-has-shadow {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Project Gallery */

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.grid-gallery a {
  display: block;
}

.grid-gallery img {
  width: 100%;
  height: auto;
  max-height: 550px;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center !important;
}

/* Make every 1st, 4th, 7th... image span 2 columns (full width) */
.grid-gallery a:nth-child(3n - 2) {
  grid-column: span 2;
}

#project-fixed-bar {
  position: fixed;
  bottom: 0;
  background: #fff;
  width: 100%;
  z-index: 2001;
  display: flex;
  align-items: center;
  /*transform: translateY(110%);*/
  transition: 0.3s ease-in-out;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#project-fixed-bar.show-bar {
  background: #fff;
  /*transform: translateY(0);*/
  opacity: 1;
  pointer-events: all;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  pointer-events: none;
}

.no-preloader #preloader {
  display: none !important;
}

/* Filters */

.fusion-post-cards .fusion-filters {
  border: 0;
}

.fusion-post-cards .fusion-filters li.fusion-active a {
  border-top: 0 !important;
  border-bottom: 2px solid var(--awb-active-filter-border-color);
  border-color: var(--awb-active-filter-border-color);
  border-bottom-width: var(--awb-active-filter-border-size);
  color: var(--awb-filters-active-color);
}

@media (max-width: 1600px) {
  #project-wrapper ul.fusion-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 1200px) {
  #project-wrapper ul.fusion-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 1024px) {
  #main {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  #project-wrapper fusion-post-cards > .fusion-grid > .fusion-grid-column,
  #project-wrapper ul li.fusion-grid-column {
    width: 100% !important;
  }
  .mob-padding-left-0 {
    padding-left: 0 !important;
  }
  .project-card-with-image .fusion-title {
    left: 15px;
    font-size: 20px !important;
  }
}

@media only screen and (max-width: 800px) {
  .fusion-post-cards .fusion-filters {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px 20px;
  }
  .fusion-post-cards .fusion-filters li {
    border-bottom: 0;
  }
}

@media (max-width: 768px) {
  #project-wrapper ul.fusion-grid {
    grid-template-columns: 1fr !important;
  }
  .grid-gallery {
    grid-template-columns: 1fr;
  }

  .grid-gallery a:nth-child(3n - 2) {
    grid-column: span 1;
  }
  .heading-h2 h2 {
    font-size: 28px !important;
  }
  .project-card-with-image .fusion-title {
    transform: translateY(0);
  }
  .project-card-with-image .fusion-column-wrapper:before {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 70%,
      rgba(0, 0, 0, 0.41) 100%
    );
    top: 0;
  }
  .sidebar-title p {
    font-size: 25px !important;
    max-width: 75vw;
  }
}

@media (max-width: 675px) {
  .sinlge-project-title * {
    font-size: 26px !important;
  }
  .mob-xs-full {
    width: 100% !important;
  }
  .fusion-flex-container .mob-jc-start .fusion-flex-justify-content-flex-end {
    justify-content: flex-start !important;
  }
  .mob-jc-start .fusion-button {
    padding-left: 0;
  }
  .mob-font-s i,
  .mob-font-s span {
    font-size: 14px;
  }
}
