.d-flex {
	display:flex;
}
.items-baseline {
	align-items:baseline;
}

.gallery-columns-items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto;
	grid-column-gap: 5px;
	grid-row-gap: 5px;
}


.gallery-item {
  position: relative;
  overflow: hidden;
  display: inline-block;
}
@media (max-width: 767px) {
    figure.gallery-item {
        margin-top: 0px !important;
    }
	p.logged-in-as {
		font-size: 12px;
	}
}

.gallery-item img {
  display: block;
  height: auto;
}

/* Overlay */
.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 128, 96, 0.75); /* green overlay */
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none; /* allow clicks to pass through */
}

/* Icon */
.gallery-item::after {
  content: "\f0c1"; /* Font Awesome link icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none; /* allow clicks to pass through */
}


/* Show on hover */
.gallery-item:hover::before,
.gallery-item:hover::after {
  opacity: 1;
}




/* Card Style */
.service-card-footer {
  position: relative;
  transition: all 0.5s ease-in-out;
}

.service-card-footer2 {
  opacity: 0;
  display: none;
}

.service-card:hover .service-card-footer1 {
  opacity: 0;
  display: none;
}
.service-card:hover .service-card-footer2 {
  opacity: 1;
  display: block;
}
.service-card:hover .service-card-img img{
   transform: scale(1.1);
}
.service-card:hover .service-card-content{
  background: #664F83 !important;
}
.service-card:hover .service-card-content h2,
.service-card:hover .service-card-content p {
  color: #fff !important;
}



.counter-holder:before,
.counter-holder:after {
    border-width: 2px;
    border-style: solid;
    content: "";
    position: absolute;
    height: 50px;
    width: 50px;
    border-color: #664F83;
    transition: border-width 0.3s ease; /* smooth transition */
}

.counter-holder:before {
    top: 0;
    left: 0;
    border-bottom-color: transparent;
    border-right-color: transparent;
}

.counter-holder:after {
    bottom: 0;
    right: 0;
    border-top-color: transparent;
    border-left-color: transparent;
}

/* On hover make border 5px */
.counter-holder:hover:before,
.counter-holder:hover:after {
    border-width: 5px;
}

.client-caro-title h4.elementor-heading-title.elementor-size-default:after {
    content: "\201D";
    position: absolute;
    top: -15px;
    text-align: center;
    font-size: 32px;
    font-family: system-ui;
    line-height: normal;
}
.client-caro-qoute p:before{
	content: '\f1b2';
    font-family: 'Material-Design-Iconic-Font';
    font-size: 50px;
    font-style: normal;
    font-weight: 400;
    position: absolute;
	top: -10px;
	left: -70px;
    right: auto;
    margin: auto;
    line-height: normal;
}


.ddh-gallery-item:hover img{
	transform:scale(1.3);
}

.ddh-gallery-item img {
	overflow: hidden;
    border-radius: 0px;
    transition: all 1.5s ease;
    -webkit-transition: all 1.5s ease;
    transform: scale(1);
}
.ddh-gallery-content.e-flex.e-con-boxed.e-con.e-child {
    width: 94%;
    height: 94%;
    margin: 10px;
	visibility: hidden;
	transition: all 0.3s linear 0s;
}
.ddh-gallery-item:hover .ddh-gallery-content.e-flex.e-con-boxed.e-con.e-child{
	visibility: visible;
}



.gallery-thumbs {
    margin-top: 15px;
}
.gallery-thumbs .swiper-slide {
    width: 100px;
    height: auto;
    opacity: 0.5;
    cursor: pointer;
}
.gallery-thumbs .swiper-slide img{
	width: 100%;
	height: 100%;
}
.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}
.gallery-thumbs .swiper-slide-thumb-active img{
    border:1px solid #664f83;
	padding:3px;
}


.post-navigation:before {
    content: '';
    position: absolute;
    left: 0px;
    width: 100%;
    height: 1px;
    background: rgb(0 0 0 / 10%);
}
.prev-post, .next-post {
    z-index: 9;
    background: #fff;
}
a.btn-prev, a.btn-next {
	color: #000;
    font-size: 13px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    border: 1px solid #000;
    padding: 6px 20px 5px;
	transition: all 0.3s linear 0s;
}

a.btn-prev:before {
        content: '';
        position: absolute;
        background: currentcolor;
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='50px' height='50px' viewBox='0 0 1024 1024' class='icon' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentcolor' d='M529.408 149.376a29.12 29.12 0 0141.728 0 30.592 30.592 0 010 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 01-.512 43.264 29.12 29.12 0 01-41.216-.512L197.76 534.272a32 32 0 010-44.672l331.648-340.224zm256 0a29.12 29.12 0 0141.728 0 30.592 30.592 0 010 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 01-.512 43.264 29.12 29.12 0 01-41.216-.512L453.76 534.272a32 32 0 010-44.672l331.648-340.224z'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg width='50px' height='50px' viewBox='0 0 1024 1024' class='icon' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentcolor' d='M529.408 149.376a29.12 29.12 0 0141.728 0 30.592 30.592 0 010 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 01-.512 43.264 29.12 29.12 0 01-41.216-.512L197.76 534.272a32 32 0 010-44.672l331.648-340.224zm256 0a29.12 29.12 0 0141.728 0 30.592 30.592 0 010 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 01-.512 43.264 29.12 29.12 0 01-41.216-.512L453.76 534.272a32 32 0 010-44.672l331.648-340.224z'/%3E%3C/svg%3E");
        -webkit-mask-position: center;
        -webkit-mask-size: 12px auto;
        -webkit-mask-repeat: no-repeat;
        mask-position: center;
        mask-size: 12px auto;
        mask-repeat: no-repeat;
        width: 14px;
        height: 14px;
        top: 50%;
	    left: 7px;
        transform: translateY(-50%);
        transition: all 0.3s linear 0s;
    }
a.btn-next:after {
        content: '';
        position: absolute;
        background: currentcolor;
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='50px' height='50px' viewBox='0 0 1024 1024' class='icon' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentcolor' d='M529.408 149.376a29.12 29.12 0 0141.728 0 30.592 30.592 0 010 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 01-.512 43.264 29.12 29.12 0 01-41.216-.512L197.76 534.272a32 32 0 010-44.672l331.648-340.224zm256 0a29.12 29.12 0 0141.728 0 30.592 30.592 0 010 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 01-.512 43.264 29.12 29.12 0 01-41.216-.512L453.76 534.272a32 32 0 010-44.672l331.648-340.224z'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg width='50px' height='50px' viewBox='0 0 1024 1024' class='icon' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentcolor' d='M529.408 149.376a29.12 29.12 0 0141.728 0 30.592 30.592 0 010 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 01-.512 43.264 29.12 29.12 0 01-41.216-.512L197.76 534.272a32 32 0 010-44.672l331.648-340.224zm256 0a29.12 29.12 0 0141.728 0 30.592 30.592 0 010 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 01-.512 43.264 29.12 29.12 0 01-41.216-.512L453.76 534.272a32 32 0 010-44.672l331.648-340.224z'/%3E%3C/svg%3E");
        -webkit-mask-position: center;
        -webkit-mask-size: 12px auto;
        -webkit-mask-repeat: no-repeat;
        mask-position: center;
        mask-size: 12px auto;
        mask-repeat: no-repeat;
        width: 14px;
        height: 14px;
        top: 50%;
	    right: 7px;
        transform: translateY(-50%) rotate(180deg);
	    transition: all 0.3s linear 0s;
    }
a.btn-prev:hover, a.btn-next:hover {
    background: #664F83;
    color: #fff;
}