/*
Theme Name: Hello Elementor Child (RedGorilla)
Theme URI: https://redgorillasocial.com.au/
Description: Child theme for Hello Elementor. Includes domain-based hreflang + canonical output for redgorillasocial.com and redgorillasocial.com.au.
Author: Eran Cohen
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child-redgorilla
*/

/* Add your custom CSS below */

p:last-child {
	margin-bottom: 0px !important;
}
.elementor-icon-box-title, .elementor-image-box-title {
	margin-top: 0px;
}
.elementor-widget-icon-box .elementor-icon-box-description {
	text-wrap: balance;
}

.mhStep {
	counter-reset: item;
}
.mhStep .elementor-widget-icon-box {
	counter-increment: item;
}
.mhStep .elementor-widget-icon-box .elementor-icon-box-wrapper {
	flex-direction: row;
	grid-gap: 20px;
	align-items: flex-start;
}
.mhStep .elementor-widget-icon-box .elementor-icon-box-wrapper:before {
	content: counter(item, decimal-leading-zero);
	font-family: 'Hanken Grotesk';
	font-size: 36px;
	line-height: 1;
	color: var(--e-global-color-ef15b58);
	padding-top: 5px;
}
.mhStep .elementor-widget-icon-box .elementor-icon-box-description {
	text-wrap: auto;
}

.mhReview .elementor-main-swiper {
	padding-top: 20px;
	padding-inline: 10px;
	padding-bottom: 0px !important;
}
.mhReview .swiper-pagination {
	position: relative;
	bottom: auto !important;
	line-height: 0;
	margin-top: 40px;
}
.mhReview .swiper-pagination .swiper-pagination-bullet {
	transition: all 0.3s;
	border-radius: 50px;
}
.mhReview .swiper-pagination .swiper-pagination-bullet-active {
	width: 30px !important;
}
.mhReview .swiper-slide {
	padding: 30px;
	box-shadow: 0px 0px 8px 0px rgb(0 0 0 / 25%);
}
.mhReview .elementor-testimonial {
	display: flex;
	flex-direction: column;
	grid-gap: 40px;
	justify-content: center;
	height: 100%;
}
.mhReview .elementor-testimonial .elementor-testimonial__icon.elementor-icon {
	margin-left: 0px;
}
.mhReview .elementor-testimonial .iconText {
	display: flex;
	flex-direction: column;
	grid-gap: 15px;
}
.mhReview .elementor-testimonial .iconText .elementor-star-rating {
	line-height: 1;
}
.mhReview .elementor-testimonial .author {
	display: flex;
	grid-gap: 20px;
	align-items: center;
}
.mhReview .elementor-testimonial .author .nameTitle {
	display: flex;
	flex-direction: column;
	grid-gap: 0px;
}
.mhReview .elementor-testimonial__image {
    width: 40%;
}
.journeySlider .swiper-slide {
	max-width: 550px;
}
.journeySlider .swiper-slide .elementor-widget-image-box {
	height: 100%;
}
.journeySlider .swiper-slide .elementor-image-box-wrapper {
	display: flex;
	flex-direction: column-reverse;
	justify-content: center;
	grid-gap: 30px;
	height: 100%;
}
.journeySlider .swiper-slide .elementor-image-box-wrapper .mhIcon {
	--icon-height: 36px;
	line-height: 0;
	position: relative;
	height clac(var(--icon-height) * 2);
}
.journeySlider .swiper-slide .elementor-image-box-wrapper .mhIcon:after, .journeySlider .swiper-slide:first-child .elementor-image-box-wrapper .mhIcon:before {
	content: "";
	position: absolute;
	width: calc(100% + var(--padding-left) + var(--padding-right));
	height: 2px;
	left: 50%;
	background-image: linear-gradient(90deg, #ffffff, #ffffff 70%, transparent 70%, transparent 100%);
	background-size: 20px 1px;
	transform: rotate(5deg) translatey(-50%);
	top: 50%;
}
.journeySlider .swiper-slide:first-child .elementor-image-box-wrapper .mhIcon:before {
	left: calc(0px - var(--padding-left));
	transform: rotate(-5deg) translatey(-50%);
	width: calc(50% + var(--padding-left));
	top: 25%;
}
.journeySlider .swiper-slide .elementor-image-box-wrapper .mhIcon img {
	z-index: 1;
	position: relative;
	filter: invert(1);
	height: var(--icon-height);
	transform: translateY(50%);
}
.journeySlider .swiper-slide:not(:nth-child(2n + 2)) .elementor-image-box-wrapper .mhIcon img {
	transform: translateY(-50%);
	top: -10px;
}
.journeySlider .swiper-slide:nth-child(2n + 2) .elementor-image-box-wrapper {
	flex-direction: column;
}
.journeySlider .swiper-slide:nth-child(2n + 2) .elementor-image-box-wrapper .mhIcon:after {
	transform: rotate(-5deg) translatey(-50%);
}
.journeySlider .swiper-slide:nth-last-child(2) .elementor-image-box-wrapper .mhIcon:after {
	width: calc(100% + var(--padding-left));
}

/*Conatct page start*/
.contact-form .elementor-field {
    padding: 0;
    min-height: 45px;
}
.contact-form .elementor-field::placeholder {
	opacity: 1 !important;
}
.contact-form .elementor-field:focus-visible {
    outline: unset;
	border-bottom-color: #A91515 !important;
}
.contact-form .elementor-field:focus {
	box-shadow: unset;
}
.contact-form  .elementor-field-textual {
    resize: none;
}
.contact-form .elementor-field-type-submit {
    margin-top: 15px;
}
.word-wrap .elementor-icon-box-description {
    word-wrap: break-word;
}
.service-image {
    height: 100%;
}
.gredient-color .elementor-heading-title {
    background: linear-gradient(95.45deg, #FF0000 4.02%, #FFFFFF 98.91%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
/*Conatct page end*/
/* News page start */
.post-navigation .elementor-post-navigation {
    position: relative;
	gap: 10px;
}
.post-navigation .elementor-post-navigation::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #CF1226;
}
.client-slider .swiper-slide{
    aspect-ratio: 1 / 0.5;
    background: #feffff;
	border-radius:12px;
}
.client-slider figure.swiper-slide-inner {
    height: 100%;
    display: flex;
    justify-content: center;
}
.client-slider figure.swiper-slide-inner img.swiper-slide-image {
    object-fit: contain;
}
/* News page end */

@media screen and (min-width: 1025px) {
	.mhMenu .menuBtn {
		display: none !important;
	}
}
@media screen and (max-width: 1024px) {
	.mhMenu .elementor-nav-menu--dropdown .elementor-nav-menu {
	  padding-bottom: 10px;
	}
	.mhReview .swiper-pagination {
		margin-top: 30px;
	}
}
@media screen and (max-width: 767px) {
	.mhReview .swiper-pagination {
		margin-top: 20px;
	}
	.contact-form .elementor-field-group {
		margin-bottom: 20px !important;
	}
	.mhReview .swiper-slide .author{
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	.mhReview .elementor-testimonial__image {
		width: 60%;
	}
}
@media screen and (max-width: 575px) {
	.mhReview .swiper-slide {
		padding: 30px 20px;
	}
	.mhReview .elementor-testimonial {
		grid-gap: 20px;
	}
	.mhAbout.mhStep .elementor-widget-icon-box .elementor-icon-box-wrapper {
		flex-direction: column;
		grid-gap: 5px;
	}
	.mhAbout.mhStep .elementor-widget-icon-box .elementor-icon-box-wrapper::before {
		padding-top: 0px;
	}
}
@media screen and (max-width: 460px) {
	.journeySlider .swiper-slide:not(:nth-child(2n + 2)) .elementor-image-box-wrapper .mhIcon img {
		top: auto;
	}
}