/**
* Theme Name: Diteck Child
* Description: This is a child theme of Diteck, generated by Merlin WP.
* Author: <a href="https://wpopal.com/">Opalthemes</a>
* Template: diteck
* Version: 1.1.2
*/

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Kodchasan' !important;
}
.elementor-8508 .elementor-element.elementor-element-3f55a3e .elementor-heading-title  {
	line-height: 48px!important;
}
input[aria-required="true"][aria-invalid="true"] {
	border: 2px solid red !important;
	border-radius: 16px;
}

.elementor-link-showcase-title.elementor-active .link-showcase-title {
	color: #ff6f00 !important;
}

input[type=email] {
	font-size: 20px;
	line-height: 24px;
}

.wpcf7-not-valid-tip {
	margin-top: 5px;
}

.mail-form {
	position: relative;
	display: inline-block;
	width: 60%;
}

.mail-btn {
	position: absolute;
	right: -14%;
	top: 4px;
}

.mail-form input[type=submit] {
	padding: 10px 15px;
	border-radius: 15px !important;
}

.mail-btn input {
	position: relative;
}

textarea
{
   resize: none;
}
.arrow-button {
	position: relative;
	width: 48px;
	height: 48px;
	padding: 0;
	border: none;
	border-radius: 15px;
	text-indent: -9999px;
	overflow: hidden;
	cursor: pointer;
	background-color: #ff6f00;
	background-image: url('/wp-content/uploads/2025/04/Frame.svg');
	background-repeat: no-repeat;
	background-size: 20px 20px;
	background-position: 15px center;
	transition: background-position 0.4s ease-in-out;
}

.mail-btn:hover .arrow-button {
	background-position: 20px center;
}

.wpcf7-form-control.wpcf7-email::placeholder {
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 24px;
	color: #999;
}

.wpcf7 form .wpcf7-response-output {
	color: #cccccc;
	display: inline-block;
}
.showcase-content:hover .link-showcase-title {
	color: #FF6F00 !important;
}

.project-post-thumbnail:before {
	display: none;
}

#portfolio .grid-item {
	position: relative;
}

#portfolio .grid-item:before {
	content: "";
	position: absolute;
	width: 60px !important;
	height: 60px !important;
	left: auto !important;
	top: auto !important;
	right: 0 !important;
	bottom: 0px !important;
	padding: 14px 0 0 14px;
	border-radius: 20px 0 0;
	background: #efefef !important;
	background-color: var(--background_light);
	z-index: 3;
}

#portfolio .grid-item:after {
	content: "\002B";
	position: absolute;
	width: 48px;
	height: 48px;
	background: white;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 15px;
	font-size: 20px;
	color: black;
	font-weight: bold;
	transition: color 0.3s ease;
	bottom: 0px;
	right: 0;
	z-index: 3;
}

h1 span {
	color: #ff6f00 !important;
}

h2 {
	font-family: Kodchasan !important;
}

p {
	font-family: Roboto !important;
}

.hfe-site-logo-img {
	width: 80% !important;
}

.team-image-inner {
	padding-top: 100% !important;
}

.team-slide .team-image {
	display: none !important;
}

.team-content {
	width: 100% !important;
}

.team-slide {
	padding: 100px 50px !important;
}

.elementor-widget-diteck-team-box .team-image img {
	filter: saturate(1) !important;
	opacity: 1 !important;
}

.team-icon-socials {
	display: none;
}

.portfolio-list .elementor-icon-list-text {
	position: relative !important;
	margin-left: 20px !important;
}

.portfolio-list .elementor-icon-list-icon {
	position: absolute !important;
	left: 1px !important;
	top: 10px !important;
}

h6 span {
	color: #ff6f00 !important;
}

.ct-btn {
	display: none !important;
}

.link-showcase-contnet-wrapper {
	display: block !important;
}

.link-showcase-item {
	height: 700px !important;
}

.details {
	margin-top: 25px !important;
}

.team-popup {
	display: none;
}

.mfp-zoom-in.mfp-ready.mfp-bg {
	opacity: 0;
}

.project-item .project-content {
/* 	padding: 10px 42px 42px 42px !important; */
	background: #ffffff;
	background: transparent;
/* 	position: absolute; */
/* 	bottom: -45%; */
	z-index: 10;
}

.project-item {
	background: transparent !important;
/* 	height: 250px !important; */
}

.project-item:before,
.project-item:after {
	content: "";
	width: 20px;
	height: 20px;
	clip-path: path("M 0 0 Q 0,20 21,21 L -1 21 Z");
	background-color: var(--background_light);
	/* 	background-color:red; */
	position: absolute;
	bottom: 60px;
	right: 0;
	transform: rotate(-90deg);
	z-index: 3;
}

.project-item:after {
	bottom: 0px;
	right: 60px;
}

#portfolio .grid-item {
/* 	height: 360px !important; */
	border-radius: 20px;
	background: #ffffff;
}

.project-icon {
	display: none;
}

 #portfolio .grid-item:hover:after {
	background: #ff6f00 !important;
}
 
#portfolio .grid-item:hover {
	background: #ffffff;
	background: linear-gradient(180deg,
			rgba(255, 255, 255, 1) 0%,
			rgba(255, 111, 0, 1) 100%);
	z-index: 10;
}
/* 
.project-item .project-title a,
.project-item .project-categories,
.project-item .project-categories a {
	color: #000000 !important;
}

.project-item .project-title a {
	font-family: Kodchasan;
	font-weight: 600;
}

.project-item .project-categories,
.project-item .project-categories a {
	font-family: Roboto;
	font-weight: 400;
	font-size: 22px;
	line-height: 28px;
} */

.project-video-container {
	border-radius: 20px;
}

#portfolio .d-grid {
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 40px !important;
}

/* .project-categories {
	margin: 0 !important;
} */

/* .project-post-thumbnail {
	padding: 0;
}

.project-post-thumbnail img {
	border-radius: 20px;
}

.project-post-thumbnail,
.project-item {
	overflow: visible !important;
} */

h5,
.omega {
	font-size: 36px;
}

.grid-item:hover .project-post-thumbnail:after {
	color: white;
}

/* .project-item .project-post-thumbnail>img {
	padding-top:40px;
	object-fit: contain;
} */

/* .project-item .project-post-thumbnail {
	padding: 30% !important;
} */

/* #portfolio .d-grid {
	padding: 0px 0px 50px 0px;
}

#portfolio .grid-item {
	cursor: pointer;
}
 */
.service .link-showcase-title-inner .elementor-link-showcase-title {
	border: 0 !important;
}

.elementor-swiper-button-prev,
.elementor-swiper-button-next {
	position: relative !important;
	bottom: -20px !important;
}

.elementor-swiper-button-next {
	top: unset;
	left: 0px !important;
}

.elementor-swiper-button-next {
	left: 60px !important;
	bottom: 28px !important;
}

.wpcf7-response-output {
	border-radius: 16px;
}

.wpcf7 form.invalid .wpcf7-response-output {
	border-color: red;
}

.main-navigation ul.menu>li.menu-item.current-menu-item>a {
	color: #000000 !important;
}

.main-navigation ul.menu>li.menu-item.current-menu-item>a:hover {
	color: #ff6f00 !important;
}

.service.elementor-service-style-1 .d-grid {
	grid-template-columns: repeat(3, 1fr) !important;
}
.usps .animated-fast .elementor-icon-list-icon{
	top:4px !important;
}
	 .elementor-widget .elementor-icon-list-icon{
	top:-1px !important;
}
/* portfolio section */
.project-content{
	padding:0 0 40px 42px !important;
}
.project-post-thumbnail img{
	position:unset !important;
	width:auto !important;
	padding:40px 25px 20px 20px;
}
.project-post-thumbnail{
	padding-top:0 !important;
	display:flex;
	justify-content:center;
}
.project-categories{
	color:#000 !important;
}

.e-n-accordion-item-title {
		align-items:start!important;
	}
	.e-n-accordion-item-title-icon{
		padding-top:5px;
	}

.service-dot .elementor-widget .elementor-icon-list-icon {
    top: 4px !important;
}

@media (min-width: 1920px) {
/*   #portfolio .grid-item {
    height: 420px !important;
  }
	.project-item .project-content{
		bottom:-80% !important;
	}
		.project-item:after {
		bottom: -170px;
	}

	.project-item:before {
		bottom: -110px;
	}
 */
}

@media (max-width: 1919px) {
/* 	  #portfolio .grid-item {
    height: 370px !important;
  }
			.project-item:after {
		bottom: -125px;
	}
	.project-item .project-content{
		bottom:-55% !important;
	} */
	.mail-btn {
		right: -15%;
	}
}


@media (max-width: 1680px) {
	.elementor-element.footer-mail {
		width: 55% !important;
	}

	.mail-btn {
		right: -16%;
	}
}

@media (max-width: 1600px) {
/* 	.project-item:before {
		bottom: -61px;
	}
 */
	.mail-btn {
		right: -17%;
	}
}

@media (max-width: 1540px) {
	.mail-btn {
		right: -18%;
	}

/* 	.project-item:before {
		bottom: -60px;
	} */
}

@media (max-width: 1440px) {
	.elementor-element.footer-mail {
		width: 60% !important;
	}

}


@media (max-width: 1366px) {
	.elementor-element.footer-mail {
		width: 65% !important;
	}

	.mail-btn {
		right: -17%;
	}
	
	    .elementor-widget .elementor-icon-list-icon {
        top: -2px !important;
    }

	.service-dot .elementor-widget .elementor-icon-list-icon {
    top: 0px !important;
}
}

@media (max-width: 1280px) {
	.mail-btn {
		right: -18%;
	}
	
	    .dot .elementor-icon-list-icon {
        top: -3px !important;
    }
/* 	.project-item .project-content .project-title{
		font-size:30px;
	}
		.project-item .project-content .project-categories{
		font-size:18px;
	}
	    #portfolio .grid-item {
        height: 320px !important;
    }
	    .project-item:before {
        bottom: -10px !important;
    }
	    .project-item:after {
        bottom: -70px !important;
    }
	    .project-item .project-content {
        bottom: -35% !important;
    } */
}

@media (max-width: 1200px) {
	.elementor-element.footer-mail {
		width: 75% !important;
	}

	#portfolio .d-grid {
		grid-template-columns: repeat(3, 1fr) !important;
	}

	.mail-btn {
		right: -15%;
	}

	.animated-fast .e-con-inner{
		display:flex !important;
		justify-content:right !important;
	}
.service-dot .elementor-widget .elementor-icon-list-icon {
    top: -1px !important;
}
}


@media (max-width: 1084px){
	.service-title{
		font-size:30px;
	}
	.service-content{
		height:auto !important;
	}
}
@media (max-width: 1024px) {
	#testimonials .elementor-swiper-button {
		bottom: -120px !important;
	}

	.elementor-element.footer-mail {
		width: 65% !important;
	}

	.mail-form {
		width: 80%;
	}

	.mail-btn {
		right: -16%;
	}
	.animated-fast .elementor-widget .elementor-icon-list-item .elementor-icon-list-icon{
		margin-top:0px !important;
	}
	    .elementor-widget .elementor-icon-list-icon {
        top: -1px !important;
    }
	.usps .animated-fast .elementor-icon-list-icon {
    top: 0px !important;
}
	.dot .elementor-icon-list-icon {
        top:-3px !important;
    }
	.mobile-navigation ul > li.menu-item.current-menu-item > a{
		color:#000!important;
	}
	.mobile-navigation ul > li.menu-item.current-menu-item > a{
		color:#000000!important;
	}
	.elementor-8508 .elementor-element.elementor-element-42cb2ce .elementor-heading-title,.elementor-8508 .elementor-element.elementor-element-af57320 .elementor-heading-title{
        font-size: 60px;
    }

}
@media (max-width: 995px) {
    .usps .animated-fast .elementor-icon-list-icon {
        top: -1px !important;
    }

}
@media (max-width: 992px) {

	.mail-form {
		width: 85%;
	}
	.testimonial-content .wrap_content .content p{
		font-size:18px !important;
	}
	.testimonial-content{
		display:block !important;
	}
.testimonial-content .elementor-testimonial-image img  {
    width: 170px !important;
    height: 70px !important;
}
	.service-dot .elementor-widget .elementor-icon-list-icon {
    top: 0px !important;
}
}

@media (max-width: 900px) {
	.elementor-element.footer-mail {
		width: 75% !important;
	}

	#portfolio .d-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}

/* 	#portfolio .grid-item {
		height: 360px !important;
	}

	.project-item:after {
		bottom: -110px !important;
	}

	.project-item:before {
		bottom: -50px !important;
	}

	.project-item .project-content {
		bottom: -45% !important;
	} */
}
@media (max-width: 912px){
	.service-title{
		font-size:26px !important;
	}
}
@media (max-width: 890px) {
	.elementor-element.footer-mail {
		width: 80% !important;
	}

	.mail-btn {
		right: -15%;
	}

/* 	.project-item .project-content {
		padding-left: 30px !important;
	} */
}

@media (max-width: 880px) {
	.elementor-element.footer-mail {
		width: 85% !important;
	}

	.mail-form {
		width: 70%;
	}
	.elementor-8508 .elementor-element.elementor-element-3f55a3e .elementor-heading-title  {
	line-height: 35px!important;
}
}


@media (max-width: 834px) {
/* 	.project-item .project-content {
		padding-left: 30px !important;
	}

	.project-item .project-post-thumbnail {
		padding: 35% !important;
	} */

	.mail-btn {
		right: -15%;
	}

	.mail-form {
		width: 75%;
	}
	.elementor-8508 .elementor-element.elementor-element-bef4787{
		padding-left:0px!important;
	}
}

@media (max-width: 767px) {
	#testimonials .elementor-swiper-button {
		bottom: -90px !important;
	}

	.link-showcase-item {
		height: auto !important;
	}

	.team-slide {
		padding: 50px 25px !important;
	}

	.team-popup .mfp-close.team-popup-close {
		position: absolute;
		right: 0px;
		top: 0px;
	}

	.mail-btn {
		right: -15%;
	}

	.mail-form {
		width: 85%;
	}

	.service.elementor-service-style-1 .d-grid {
		grid-template-columns: auto !important;
	}
	.service .service-item.service-style-1 .service-content {
       min-height: auto;
    }

		.elementor-8508 .elementor-element.elementor-element-3f55a3e .elementor-heading-title  {
	line-height: 31px!important;
}
	.elementor-8508 .elementor-element.elementor-element-42cb2ce .elementor-heading-title,.elementor-8508 .elementor-element.elementor-element-af57320 .elementor-heading-title{
        font-size: 47px;
    }
	.link-showcase-title-inner .elementor-link-showcase-title {
    gap: 40px;
	}

}

@media (max-width: 730px) {
	.mail-btn {
		right: -16%;
	}
}

@media (max-width: 700px) {
	.mail-form {
		width: 90%;
	}
	    .elementor-widget .elementor-icon-list-icon {
        top: -2px !important;
    }
}

@media (max-width: 640px) {
	.mail-btn {
		right: -18%;
	}
	.grid-item .project-content .project-categories{
		font-size:16px !important;
	}
	.grid-item .project-content .project-title{
		font-size:30px !important;
	}
/* 	#portfolio .grid-item{
		height:320px !important;
	}
	.project-item .project-content{
		bottom:-35% !important;
	}
	.project-item:before{
		bottom: -10px !important;
	}
	    .project-item:after{
        bottom: -70px !important;
    } */
	
		.project-content{
	padding:20px !important;
}
	.project-post-thumbnail img{
	padding:30px 20px 0 20px !important;
}
	    .elementor-8508 .elementor-element.elementor-element-42cb2ce .elementor-heading-title, .elementor-8508 .elementor-element.elementor-element-af57320 .elementor-heading-title {
        font-size: 40px;
    }
}



@media (max-width: 575px) {
	.swiper-slide-active .team-image-inner {
		padding-top: 0% !important;
	}

	.elementor-element.footer-mail {
		width: 100% !important;
		padding: 20px 15px !important;
	}

	.elementor-element.footer-mail input {
		border-radius: 12px !important;
	}

.grid-item .project-content .project-title{
		font-size:26px !important;
	}
	.project-item .project-post-thumbnail>img {
		padding: 10px 10px;
		top: 5px;
		object-fit: scale-down;
	}

	h5,
	.omega {
		font-size: 30px;
	}



	.mail-btn {
		left: 86%;
	}

	.wpcf7-form .row [class*=column-50], .wpcf7-form .row [class^=column-50] {
    flex: 100%;
}
	p{
		line-height:25px!important;
	}
	.service-item .description,.showcase-description { 
 
    line-height: 25px!important;
}
}

@media (max-width: 540px) {
	.mail-btn {
		left: 85%;
	}
}

@media (max-width: 530px) {
	.mail-form {
		width: 95%;
	}
}

@media (max-width: 510px) {

	#portfolio .d-grid {
		grid-template-columns: auto !important;
	}

	h5,
	.omega {
		font-size: 32px;
	}

	 .elementor-8508 .elementor-element.elementor-element-42cb2ce .elementor-heading-title, .elementor-8508 .elementor-element.elementor-element-af57320 .elementor-heading-title {
        font-size: 35px;
    }
}

@media (max-width: 490px) {
	.mail-form {
		width: 100%;
	}
}

@media (max-width: 470px) {
	.mail-btn {
		left: 84%;
	}
	.wpcf7-form .row [class*=column-50], .wpcf7-form .row [class^=column-50]{
    	flex: 100%;
	}
	 	.wpcf7-form-control-wrap .wpcf7-form-control{
	font-size:16px !important;
} 
	 .elementor-8508 .elementor-element.elementor-element-42cb2ce .elementor-heading-title, .elementor-8508 .elementor-element.elementor-element-af57320 .elementor-heading-title {
        font-size: 33px;
    }
}

@media (max-width: 440px) {
	.elementor-element.footer-mail #mail-field {
		width: 90% !important;
	}

/* 	.project-item .project-post-thumbnail>img {
		top: 10px;
	} */

	.mail-btn {
		left: 83%;
	}
}

@media (max-width: 430px) {
	.elementor-element.footer-mail #mail-field {
		width: 90% !important;
	}

	.mail-btn {
		left: 82%;
	}
 .elementor-8508 .elementor-element.elementor-element-42cb2ce .elementor-heading-title, .elementor-8508 .elementor-element.elementor-element-af57320 .elementor-heading-title {
        font-size: 32px;
    }
}

@media (max-width: 420px) {

	.mail-btn {
		left: 81%;
	}

}

@media (max-width: 400px) {

	.mail-btn {
		left: 80%;
	}

}

@media (max-width: 393px) {

	.mail-btn {
		left: 80%;
	}
.elementor-8508 .elementor-element.elementor-element-42cb2ce .elementor-heading-title, .elementor-8508 .elementor-element.elementor-element-af57320 .elementor-heading-title {
        font-size: 30px;
    }
}

@media (max-width: 375px) {

	.mail-btn {
		left: 78%;
	}

}

@media (max-width: 370px) {


	.mail-btn {
		left: 77%;
	}

	   .elementor-8508 .elementor-element.elementor-element-42cb2ce .elementor-heading-title, .elementor-8508 .elementor-element.elementor-element-af57320 .elementor-heading-title {
        font-size: 28px;
    }
}

@media (max-width: 350px) {
	.mail-btn {
		left: 76%;
	}

}

@media (max-width: 340px) {


	.mail-btn {
		left: 75%;
	}
	.elementor-8508 .elementor-element.elementor-element-42cb2ce .elementor-heading-title, .elementor-8508 .elementor-element.elementor-element-af57320 .elementor-heading-title {
        font-size: 26px;
    }
}

@media (max-width: 320px) {
	.product .project-content {
		padding-right: 0px !important;
	}

	.product .project-title {
		font-size: 20px !important;
		padding: 0 5px !important;
	}

	.product .project-categories,
	.project-item .project-categories a {
		width: 46% !important;
		font-size: 15px !important;
	}

	.mail-btn {
		left: 72%;
	}
}