/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* General */
:is(h1, h2, h3) strong {
  font-weight: inherit;
  color: var(--e-global-color-secondary);
}

p:only-child, p:last-child {
  margin-bottom: 0;
}

a {
 color: inherit;
}

.elementor-nav-menu .elementor-sub-item {
  border: none !important;
}

.text-vertical {
  margin: 0 !important;
  writing-mode: vertical-rl;
  transform: scale(-1);
}

.text-normal {
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  font-weight: var(--e-global-typography-text-font-weight);
  font-size: var(--e-global-typography-text-font-size);
  line-height: var(--e-global-typography-text-line-height);
  text-transform: initial;
}

.text-x2 {
  font-family: var(--e-global-typography-940743d-font-family), Sans-serif;
  font-size: var(--e-global-typography-940743d-font-size);
  font-weight: var(--e-global-typography-940743d-font-weight);
  line-height: var(--e-global-typography-940743d-line-height);
  text-transform: initial;
}


/* Component: List Posts Home */
.pm__list-posts {
	display: grid;
	grid-template-columns: 1fr; 
	gap: 40px;
} 

/*.pm__list-posts img {
	height: 60vh !important;
} */

/* */
.pm__project--list .elementor-icon-list-item {
  padding-block: 10px;
    border-bottom: 1px solid #61616180;
}

.pm__project--list .elementor-icon-list-text {
  display: grid;
  grid-template-columns: 150px 1fr;
}



/* Component: List Press */
.pm__list-press .e-loop-item img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
} 


/* Slideshow */
.pm__slideshow .elementor-slide-heading {
	margin-bottom: 0 !important;
}

.pm__slideshow .elementor-slide-description {
	margin-block: -5px 0 !important;
}

.pm__slideshow .swiper-slide-contents .elementor-button {
	padding: 6px 22px !important;
	position: absolute;
    left: 50%;
    bottom: 80px;
    transform: translateX(-50%);
}


/*  Component: Dynamic slider  */
.dynamic_acfslider .swiper-slide.swiper-slide-active {
  display: inline-flex;
  justify-content: center;
}

.dynamic_acfslider .swiper-slide {
  background: white !important;
}

.dynamic_acfslider .swiper-pagination {
  bottom: -48px !important;
}

.dynamic_acfslider .swiper-pagination-bullet {
  opacity: 1;
}

/*.dynamic_acfslider .swiper-pagination-bullet {
  position: static !important;
  transform: scale(1) !important;
} */


/* Component: Lightbox */
.dialog-lightbox-widget .elementor-swiper-button {
  width: 40px !important;
  position: absolute;
  top: 50% !important;
  transform: translateY(-50%);
  z-index: 5;
}


/* */
.project-types-list {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0 40px;
  list-style: none;
}

.project-types-list a {
  font-family: var(--e-global-typography-accent-font-family), Sans-serif;
  font-size: var(--e-global-typography-accent-font-size);
  color: var(--e-global-color-text);
  text-transform: var(--e-global-typography-accent-text-transform);
}

.project-types-list a.active {
  font-weight: 700;
}


/* */
.e-load-more-message {
	display: none !important;
}

.e-loop__load-more .elementor-button-text {
	position: relative;
}

.e-loop__load-more .elementor-button-text::before,
.e-loop__load-more .elementor-button-text::after {
	content: '';
    display: inline-block;
	position: absolute;
    background: currentColor;
}

.e-loop__load-more .elementor-button-text::before {
    width: 27px;
    height: 2px;
    top: 50%;
    left: -40px;
    transform: translateY(-50%);
}

.e-loop__load-more .elementor-button-text::after {
	width: 2px;
    height: 26px;
    top: 50%;
    left: -27px;
    transform: translateY(-50%);
}


/* 
.pm__list--awards .e-grid .elementor-widget-text-editor > div > p:not(:first-child) {
  text-transform: capitalize;
}*/


@media (max-width: 767px) {
  /* Component: Nav */
  .elementor-item.has-submenu {
	justify-content: space-between;
  }	
	
  .elementor-item.has-submenu:is(.elementor-item-active, .highlighted, :hover) {
	fill: var(--e-global-color-primary);
  }
	
	
  /* Component: List project types custom */
  .project-types-list {
	flex-wrap: wrap;
    flex-direction: row;
	  gap: 8px 20px;
  }
	
  /* */
	.e-loop__load-more .elementor-button-text::before {
		width: 21px;
		height: 2px;
		left: -30px;
	}

	.e-loop__load-more .elementor-button-text::after {
		width: 2px;
		height: 20px;
		left: -20px;
	}
}


/* 
.pm-grid-awards .elementor-widget-image:has(a[data-elementor-open-lightbox="yes"]) + .elementor-widget-image {
  display: none;
} */


@media (min-width: 768px) {
	/* Component: List Posts Home 
	.pm__list-posts {
		grid-template-columns: repeat(12, 1fr); 
	}

	.pm__list-posts-item {
		grid-column: span 4;
	}

	.pm__list-posts-item:last-child {
		grid-column: span 8;
	} */
	
	/* Component: List Posts Home */
	  .pm__list-posts img {
		height: 55vh !important;
	  }
}


@media (min-width: 1025px) {
	/* Component: List project 
	.pm__project-list .elementor-loop-container {
	  grid-template-columns: repeat(20, 1fr); 
	}

	:is(.post-type-archive-portfolio, .tax-project-types) .elementor-loop-container > div {
	  grid-column: span 10; 
	}

	:is(.post-type-archive-portfolio, .tax-project-types) .elementor-loop-container > div:nth-child(5n) {
	  grid-column: span 8;
	}

	:is(.post-type-archive-portfolio, .tax-project-types) .elementor-loop-container > div:nth-child(5n + 4),
	:is(.post-type-archive-portfolio, .tax-project-types) .elementor-loop-container > div:nth-child(5n + 6) {
	  grid-column: span 6;
	} */
}

