/**
Theme Name: gicgroup
Author: Mohsen Moridi
Author URI: https://mohsenmoridi.com

Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gicgroup
Template: astra
*/


.ast-footer-copyright img {
    margin: 0px 22px;
}
a {
	text-decoration:unset !important
}


body {
    padding: 0 8px;
}


section#slidexection {
  direction: ltr;
  position: relative;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
}
.events h2 {
    font-size: 25px;
    text-align: center;
    margin-top: 12px;
    background: #eee;
    min-width: 100px;
    display: inline-block;
    margin: 61px auto 0;
    padding: 0 32px;
    border-radius: 37px;
}

.events {
    text-align: center;
}
section#slidexection {
  width: 100%;
}

.slide-image:before {
  content: "";
  padding-bottom: 41.7%;.entry-meta {
    display: none;
}
  display: block;
}

.slide-image {
  background-size: cover;
  background-position: center;
  border-radius: 16px;	
    aspect-ratio: 2.3;
}

.lightSlide .slide-footer h2 {
  color: #fff;
}

.slide-in.lightSlide {
  color: #fff;
}

.slide:not(:first-child) .slide-in {
  position: relative;
  display: none;
}

.tns-outer .slide .slide-in {
  display: block;
}

#aboutslider > :not(:first-child) {
  display: none;
}

#aboutslider.tns-slider > :not(:first-child) {
  display: block;
}

.slide-footer {
  position: absolute;
  bottom: 32px;
  right: 10%;
  max-width: 448px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: 0.5s all ease-in-out;
  top: -100px;
  opacity: 0;
  gap: 14px;
  text-shadow: 0px 1px 3px #ffffff;
}

.slide-footer h2 {
  font-size: 44px;
  font-weight: bold;
  margin: 0;
  color: #000000;
  line-height: 1.4em;
  padding: 0px 16px;
  display: inline-block;
  border-radius: 11px;
  background: #ffffffb3;
  backdrop-filter: blur(11px);
}

.slide-footer a {
  line-height: 25px;
  padding: 8px 16px;
  display: inline-block;
  color: #fff;
  border-radius: 11px;
  height: 40px;
}

.slide-footer > div {
  width: 100%;
  text-align: left;
}

.tns-nav {
  position: absolute;
  bottom: 16px;
  left: 0;
  text-align: center;
  right: 0;
  z-index: 9;
  display: flex;
  /*! gap: 16px; */
  justify-content: center;
}
.customslide-nav-in span {
  display: block;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 43px;
  position: absolute;
  top: calc(50% - 20px);
  z-index: 9;
  background: #fff;
  transition: 0.5s all ease-in-out;
  cursor: pointer;
  border-radius: 100px;
  color: #b7bfcc;
  left: 20px;
  border: 2px solid #e8eff0;
}
#prev-slide {
  left: unset;
  right: 20px;
}
.customslide-nav-in span:hover {
  /*! background: #52657f70; */
  color: #009847;
  border-color: #009847;
  box-shadow: 0 0 10px #ff815a3d;
}
.tns-outer [aria-controls],
.tns-outer [data-action] {
  padding: 9px;
  background: unset;
  display: flex;
  justify-content: center;
}
.tns-outer [aria-controls]:before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background: #4055715c;
  border-radius: 10px;
  opacity: 1;
  transition: 0.5s all ease-in-out;
}
.tns-outer [aria-controls]:hover::before {
  background: #fff;
  width: 24px;
}

.tns-nav-active::before {
  width: 24px;
}

#homepageslider-ow {
  overflow: hidden;
}

.tns-nav-active:before {
  width: 24px !important;
}
.slide-footer p {
  color: #000000;
  font-size: 16px;
  margin: 0;
  background: #ffffffb3;
  padding: 7px 16px;
  display: inline-block;
  border-radius: 11px;
  backdrop-filter: blur(11px);
}
.tns-slide-active .slide-footer {
  opacity: 1;
  top: 32px;
}


aside.footer-widget-area.widget-area.site-footer-focus-item.footer-widget-area-inner a {
    filter: grayscale(1);
    opacity: 0.2;
}

aside.footer-widget-area.widget-area.site-footer-focus-item.footer-widget-area-inner a:hover {
    filter: grayscale(0);
    opacity: 1;
}



h2.section-title {
    display: flex;
    font-size: 24px;
    margin-bottom: 39px;
}

h2.section-title a {
    margin-left: auto;
}

.member-list {
    margin: 64px 0;
    padding: 22px;
    border: 2px solid #ff6800;
    border-radius: 19px;
}

.member-list-in {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 100%;
    align-items: center;
}

h2.banner-top-title {
    font-size: 14px;
}

a.member-info img {
    margin-bottom: 19px;
    max-width: 120px;
    height: auto !important;
}

a.member-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px;
    box-shadow: 0 0px 10px #eee;
    border-radius: 16px;
    height: 100%;
    transition: 0.5s all;
	position:relative;
	top:0
}

.member-card {}

.member-card {
    height: 100%;
}

a.member-info:hover {
    box-shadow: 0 0px 14px #a1a1a1;
	top:-10px
}



/* Grid layout */
.member-posts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Card styling */.events h2 {
    font-size: 25px;
    text-align: center;
    margin-top: 12px;
    background: #eee;
    min-width: 100px;
    display: inline-block;
    margin: 61px auto 0;
    padding: 0 32px;
    border-radius: 37px;
}

.events {
    text-align: center;
}
.member-post-card {
  position: relative;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  flex: 0 0 calc(216px);
}

.member-post-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.member-post-card-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
  height: 100%;
}

.member-post-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  aspect-ratio: 1.9;
  object-fit: scale-down;
}

.member-post-card h2 {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  margin: 0;
}

.member-post-card .industry {
  margin-top: 5px;
  font-size: 14px;
}

/* Remove link styles */
.member-post-card a {
  text-decoration: none !important;
  color: inherit;
}

/* Remove link styles for industry without link */
.member-post-card .industry a {
  pointer-events: none;
  cursor: default;
}




.member-single {
  /* margin: 20px; */
}

.cover-container {
  position: relative;
}

.cover {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  overflow: hidden;
  /* padding-bottom: 100px; */
}

.cover-title {
  position: absolute;
  top: 50%;
  left: 50%;.entry-meta {
    display: none;
}
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 30px;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.cover-overlay {
  position: relative;
  color: #fff;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: center;
  gap: 16px;
  margin: -110px 0 0 64px;
}

.member-details {
  display: flex;
  grid-gap: 20px;
  margin-top: 20px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
}

.gallery {
  grid-column: span 2;
  margin-top: 20px;
}

.history h2,
.services h2,
.activity h2 {
  margin-bottom: 10px;
  color: #009847;
  font-size: 30px;
}

.color {
  height: 50px;
}

/* Lightbox styles for Astra theme */
.ast-accordion .ast-ac-section {
  display: none !important;
}

.ast-accordion .ast-ac-section.ast-ac-section-open {
  display: block !important;
}

.ast-lightbox-content {
  max-width: 800px !important;
  margin: 0 auto !important;
}

.cover:before {
    content: '';
    display: block;
    position: absolute;
    background-image: linear-gradient(0deg, #343434, var(--b-color));
    left: 0;
    right: 0;
    bottom: 0;
    top: 50%;
}

.cover-overlay h1 {
    font-size: 33px;
    color: #fff;
    margin-top: 30px;
    text-align: left;
}

.cover-overlay .logo {
    background: #fff;
    border-radius: 227px;
    width: 149px;
    padding: 26px;
    aspect-ratio: 1;
	box-shadow: 0 0px 0px 3px var(--a-color);
}


img.gicmembers-icon {
    width: 211px;
    margin-bottom: 33px;
    display: block;
    margin: 10px auto 44px auto;
}

a.show-all-member {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    /* background: #209c3ec9; */
    border: 1px solid #91919173;
    border-radius: 8px;
    color: #1f9c3e;
}

a.show-all-member:hover {
    box-shadow: 0 10px 10px #91919173; 
}

.gic-title h2 {
    position: relative;
    left: -25px;
}

.gic-title h2:before {
    
    content: '';
    display: inline-block;
    width: 24px;
    height: 14px;
    background: #00a749;
    border-radius: 0 30px 0 30px;
    border: 2px solid #fff;
    position: relative;
    left: 14px;
    top: -20px;
}


.member-details .gallery {
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 300px;
    gap: 16px;
    background: #eee;
    padding: 32px;
}

.member-details .gallery img {
    width: 100%;
    border-radius: 9px;
}



.event-list {
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.event-list>a {
    position: relative;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    flex: 0 0 calc(288px);
	display:block
}

.event-list>a:hover {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.event-list>a p {
    margin: 0;
    font-size: 13px;
}

.event-list>a h3 {
    margin: 9px 0 7px;
    font-size: 23px;
}

.event-list>a img {

    border-radius: 16px;
    width: 100%;
    aspect-ratio: 1.3;
	object-fit: cover;
}


.entry-meta {
    display: none !important;
}
.wp-block-gallery.has-nested-images figure.wp-block-image img {
    border-radius: 10px;
}



.elementor-widget-text-editor ul {
  list-style: none; /* Remove default bullets */
}

.elementor-widget-text-editor ul li::before {
  content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color: #ff5a00; /* Change the color */
  font-weight: bold; /* If you want it to be bold */
  display: inline-block; /* Needed to add space between the bullet and the text */
  width: 1em; /* Also needed for space (tweak if needed) */
  margin-left: -1em;
    font-size:20px/* Also needed for space (tweak if needed) */
}


.events h2 {
    font-size: 25px;
    text-align: center;
    margin-top: 12px;
    background: #eee;
    min-width: 100px;
    display: inline-block;
    margin: 61px auto 0;
    padding: 0 32px;
    border-radius: 37px;
}

.events {
    text-align: center;
}

.services-list figure.elementor-image-box-img {
    min-width: 65px;
}


@media only screen and (max-width: 1260px) {
	
	.main-header-menu .menu-link {
		padding: 0 8px;
	}
	
	.site-above-footer-wrap[data-section="section-above-footer-builder"] .ast-builder-grid-row {
		gap: 32px;
	}
	
	.cover-overlay {
		margin-left: 0;
	}

}


@media only screen and (max-width: 1080px) {
	
	.ast-mobile-header-wrap .ast-primary-header-bar, .ast-primary-header-bar .site-primary-header-wrap {
		padding: 0 16px;
	}
	
	.cover-overlay {
		margin-left: 0;
	}

	.cover-overlay {
		margin: 0;
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		align-items: center;
	}

	.cover-overlay h1 {
		margin: 0;
		text-shadow: 0 1px 1px #000;
	}

	.cover-overlay .logo {
		padding: 16px;
		width: 100px;
	}

	.cover-container {
		margin-bottom: 32px;
	}

}

@media only screen and (max-width: 1032px) {
	
	header .ast-builder-grid-row {
		gap: 0;
	}

	header .custom-logo-link img {
		max-width: 100px;
	}

}

@media only screen and (max-width: 940px) {
	
	.main-header-menu .menu-link {
		font-size: 16px;
	}

}

@media only screen and (max-width: 922px) {

	.main-header-menu .menu-link {
		font-size: 16px;
	}

	body {
		padding: 0;
	}

	.site-branding.ast-site-identity {
		padding: 0;
	}

	.ast-button-wrap .menu-toggle.main-header-menu-toggle {
		padding: 0;
	}

	.ast-header-break-point .main-header-bar {
		line-height: unset;
		min-height: 60px;
		margin: 0 0 24px!important;
	}
	
	section#slidexection {
		max-width: calc(100% - 40px);
		margin: auto;
	}

	section#slidexection .customslide-nav-in {
		display: none;
	}

	.tns-nav {
		position: unset;
		margin-top: 8px;
		justify-content: center;
	}

	.tns-outer {
		display: flex;
		flex-direction: column-reverse;
	}
	
	.member-list {
		max-width: calc(100% - 40px);
		margin: 0px auto;
	}
	
	.entry-content {
		padding: 0 20px;
	}
	
	.pic-top .elementor-container {
		flex-direction: column-reverse;
	}

	.pic-top .elementor-container .elementor-element {
		width: 100%;
	}
	
	header.entry-header .entry-title {
		font-size: 22px;
		line-height: 32px;
	}

	.single .entry-header {
		margin-bottom: 16px;
	}

	.single .entry-content {
		padding: 0;
	}

	.tns-outer [aria-controls]:hover::before {
		background: #4055715c;
	}
	
}

@media only screen and (max-width: 768px) {
	
	.site-above-footer-wrap[data-section="section-above-footer-builder"] .ast-builder-grid-row {
		gap: 32px;
	}

	.site-above-footer-wrap[data-section="section-above-footer-builder"] .ast-builder-grid-row {
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	.site-footer-above-section-2.site-footer-section.site-footer-section-2 {
		order: 1;
	}

	.site-footer-above-section-1.site-footer-section.site-footer-section-1 {
		order: 2;
		margin-top: 16px!important;
	}

	.site-footer-above-section-3.site-footer-section.site-footer-section-3 {
		order: 3;
	}

	.site-above-footer-wrap[data-section="section-above-footer-builder"].ast-footer-row-mobile-stack .site-footer-section {
		margin: 0;
	}

	.site-footer-above-section-3 figure.wp-block-image {
		margin: 0;
	}
	
	.member-post-card {
		flex: 0 0 calc(100%);
	}
	
	button.frm_button_submit {
		width: 100%!important;
	}
	
	.events h2 {
		margin: 16px auto;
		font-size: 20px;
		width: 100%;
	}

	.event-list>a {
		flex: 0 0 calc(100%);
		padding: 16px;
	}

	.event-list>a h3 {
		font-size: 18px;
	}
	
	header.entry-header .entry-title {
		font-size: 20px;
	}

	figure.wp-block-gallery.has-nested-images {
		display: grid;
		gap: 16px;
	}

	.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
		width: 100%!important;
	}

	.single .post-navigation a {
		font-size: 14px;
	}
	
	.history h2, .services h2, .activity h2 {
		font-size: 24px;
	}
	
	.cover-overlay {
		flex-direction: column;
		align-items: self-start;
	}

	.cover-overlay .logo {
		width: 80px;
	}

	.cover-overlay h1 {
		font-size: 26px;
	}
	
	.gic-title h2:before {
		top: -8px;
		width: 20px;
		height: 12px;
	}
	
	.gic-title h2:before {
		top: -8px;
		width: 20px;
		height: 12px;
	}

	.services-list figure.elementor-image-box-img {
		min-width: 65px;
	}

	.services-list figure.elementor-image-box-img {
		margin-bottom: 16px!important;
		min-width: 80px;
	}

	.services-list .elementor-image-box-title {
		font-size: 16px!important;
	}

	.services-list .elementor-widget-container {
		border-radius: 16px!important;
	}

	.services-list .elementor-image-box-wrapper {
	    text-align: center!important;
	}

}