/*
* Theme Name: zidex child
* Template: zidex
*
* Layout v2: modular styles in assets/css/v2/ (see include/v2/assets.php).
* Legacy rules below kept as fallback until Figma review is complete.
*/

.weight-700 {
	font-weight:700;
}

.row-flex{
	display: flex;
}

.wpcf7-form span.wpcf7-not-valid-tip{
	position: absolute;
    font-size: 12px;
    padding: 0;
	line-height: 1;
}

.wpcf7 form .wpcf7-response-output {
	margin-top:0;
}

.wpcf7 form .wpcf7-response-output.transfer {
	font-size: 12px;
    margin: 0 0 15px;
}

.get_a_quote_black .wpcf7-response-output {
	color:#fff;
}

.cf7-agreement {
	font-size: 12px;
    line-height: 1.3;
    margin-bottom: 15px;
    max-width: 460px;
    color: #999;
	text-align: left;
}

.cf7-agreement a {
	color: #999;
	text-decoration:underline;
}

.product .related.products{
	clear:both;
}

.widget_nav_menu li {
    padding-bottom: 0px;
    padding-top: 0px;
    border-bottom: none;
	margin-top: 11px;
}

.woocommerce div.product div.summary .product_meta > span {
	display:block;
}

.post .article-content .post-category-comment-date {
	margin-bottom: 30px;
}

.post .article-content .post-content a {
	text-decoration:underline;
}

.mt_clients_slider .client_image {
	height: 72px;
    width: auto;
    object-fit: contain;
}

.not-found .page-title a {
	text-decoration: underline;
}

article .wpb_content_element a {
	text-decoration: underline;
}

/************esg-mod-list*************/

.esg-mod-list {
	display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 16px;
}

.esg-mod-list .esg-mod-list_item {
	display: flex;
    flex-direction: column;
	align-items: center;
	background: #FFF;
	box-shadow: 0px 4px 25px 0px rgba(0, 0, 0, 0.08);
	padding-top:30px;
}

.esg-mod-list .esg-mod-list_item .thumb {
	width: 129px;
    height: 120px;
}

.esg-mod-list .esg-mod-list_item .title {
	flex:1;
	font-size: 16px;
	width: 100%;
    font-weight: 600;
    line-height: 1.25;
	position:relative;
	padding:14px 30px 30px;
	margin-top:20px;
	transition:.3s ease;
}

.esg-mod-list .esg-mod-list_item .title span {
	display: block;
	max-width: 171px;
	position:relative;
}

.esg-mod-list .esg-mod-list_item .title:before {
	content: '';
    width: 20px;
    height: 2px;
    position: absolute;
    top: 0;
	left:30px;
    background: #FFB716;
	transition:.3s ease;
}

.esg-mod-list a.esg-mod-list_item .title:after {
	content:'';
	display: block;
    width: 9px;
    height: 17px;
	background-image:url(./assets/images/arrow.svg);
	background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    right: 23px;
    top: 50%;
    transform: translateY(-50%) translateX(-20px);
    opacity: 0;
	transition:.3s ease;
}

@media (hover:hover){
	.esg-mod-list .esg-mod-list_item:hover {
		color:#151515;
	}
	
	.esg-mod-list .esg-mod-list_item:hover .title:before {
		width: 100%;
		height: 100%;
		left: 0;
	}
	
	.esg-mod-list .esg-mod-list_item:hover .title:after {
		opacity:1;
		transform: translateY(-50%) translateX(0px);
	}
}

@media (max-width:991px){
	.esg-mod-list {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width:767px){
	.esg-mod-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width:480px){
	.esg-mod-list {
		grid-template-columns: 1fr;
		grid-gap:8px;
	}
	
	.esg-mod-list .esg-mod-list_item {
		padding:25px 24px 25px 20px;
		flex-direction: row-reverse;
	}
	
	.esg-mod-list .esg-mod-list_item .title {
		padding:14px 0 0;
		margin-top: 0;
	}
	
	.esg-mod-list .esg-mod-list_item .thumb {
		width: 105px;
		height: 98px;
	}
	
	.esg-mod-list .esg-mod-list_item .title:before {
		left:0;
	}
}

/************esg-mod-list*************/

/************tpl-cf7form-peach*************/

.tpl-cf7form-peach {
	background:#fbf3e3;
	padding: 25px 10px 30px;
}

.tpl-cf7form-peach input:not([type="submit"]), .tpl-cf7form-peach textarea {
	
}

/************tpl-cf7form-peach*************/

/************tpl-cf7form*************/

.tpl-cf7form .tpl-cf7form-head {
    margin-bottom: 15px!important;
}

.tpl-cf7form .tpl-cf7form-head .title {
	font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.tpl-cf7form .tpl-cf7form-head .title-sub {
	line-height: 1.4;
}

.tpl-cf7form .cf7-field_captcha {
	display: flex;
    justify-content: center;
}

.tpl-cf7form .cf7-field {
	margin-bottom:15px;
}

.tpl-cf7form .cf7-field input:not([type="submit"]), .tpl-cf7form-peach textarea {
	border:none;
	background:#fff;
	padding: 0 15px;
    height: 50px;
}

.tpl-cf7form .cf7-field-file {
	font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    border: 1px dashed #ffffff;
    padding: 8px 15px;
	color:#666666;
	cursor:pointer;
	position: relative;
}

.tpl-cf7form .cf7-field-file span.text {
	display: flex;
    align-items: center;
    gap: 10px;
}

.tpl-cf7form .cf7-field-file span.text:before{
	content:'';
	background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQuMDE5IDBjMS45NSAwIDMuMTI5IDEuMjcxIDMuMTI4IDIuODUzdjYuODQ0Yy4wMDIgMS4yMjMtLjc3MyAyLjE1LTIuMTE1IDIuMTM5LTEuMzU4LS4wMTItMi4xMDItMS4wMS0yLjA5Ni0yLjMyMlY1Ljc0OWEuNjUuNjUgMCAxMTEuMy0uMDAyVjkuNTJjLS4wMDMuNjYzLjI1NyAxLjAxMi44MDcgMS4wMTcuNTYuMDA1LjgwNS0uMjg5LjgwNC0uODM3VjIuODUzYzAtLjg4NS0uNjItMS41NTMtMS44MjgtMS41NTMtMS4yMzYgMC0xLjkyOS42OTktMS45MzIgMS41NTF2OC41MDNjLjAwOCAxLjU3NiAxLjA2MyAyLjY2MyAzLjAyMiAyLjY5MyAyLjIzNC4wMzMgMi45NDYtMS4wMTkgMi45OTMtMy40ODdsLjAwMy0uMjM2Yy4wMDMtMS40My4wMDMtMi43NyAwLTQuMDJhLjY1LjY1IDAgMDExLjMtLjAwM2wuMDAyIDEuOTQ2YzAgLjY3IDAgMS4zNjQtLjAwMiAyLjA4LS4wMDggMy4yNjctMS4xMSA1LjA2OC00LjMxNSA1LjAyLTIuNjczLS4wNC00LjI5MS0xLjcwOC00LjMwMy0zLjk4N1YyLjg0N0MuNzkzIDEuMjggMi4wNjMgMCA0LjAxOSAweiIgZmlsbD0iI0I1QkFCRSIvPjwvc3ZnPg==);
	width: 22px;
    height: 24px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    position: static;
}

.cf7-field-file .wpcf7-form-control-wrap {
	display:none;
}

.tpl-cf7form .cf7-field-file .info {
	overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
	font-size:13px;
}

.tpl-cf7form .cf7-field-file .info.add {
	margin-top:8px;
}

/************tpl-cf7form*************/

/************gallery_photos-sargon*************/

.gallery_photos-sargon .items {
	display:grid;
	grid-template-columns:repeat(4,1fr);
	grid-gap:20px;
}

.gallery_photos-sargon .items a {
	height: 250px;
	display:flex;
}

.gallery_photos-sargon .items a img {
	width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width:991px){
	.gallery_photos-sargon .items {
		grid-template-columns:repeat(2,1fr);
	}
}

@media (max-width:480px){
	.gallery_photos-sargon .items a {
		height: 200px;
	}
}

@media (max-width:360px){
	.gallery_photos-sargon .items {
		grid-template-columns:repeat(1,1fr);
	}
}

/************gallery_photos-sargon*************/

/************block-sargon-portfolio*************/

.block-sargon-portfolio .portfolio__head {
	border-bottom: 1px solid rgba(0, 0, 0, 0.20);
	margin-bottom:40px;
}

.block-sargon-portfolio .portfolio__head .items {
	display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.block-sargon-portfolio .portfolio__head .items .item {
	font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
	color:#151515;
	line-height: 1.56;
	padding: 10px 0;
	position:relative;
	cursor: pointer;
}

.block-sargon-portfolio .portfolio__head .items .item.active {
	color: #ECA300;
}

.block-sargon-portfolio .portfolio__head .items .item.active:before {
	content:'';
	position:absolute;
	height: 3px;
    width: 100%;
    background: #FFB716;
    bottom: -1px;
}

.block-sargon-portfolio .portfolio__content .portfolio__content_block .items {
	display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px 30px;
}

.sargon-card-portfolio {}

.sargon-card-portfolio .thumb {
	height: 280px;
	position:relative;
	
}

.sargon-card-portfolio .thumb .bg {
	background: linear-gradient(208deg, rgba(255, 183, 22, 0.00) 76.33%, rgba(183, 126, 0, 0.70) 94.58%);
}

.sargon-card-portfolio .thumb a {
	position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
	background-size: cover;
	
}

.sargon-card-portfolio .thumb .thumb-img {
	filter: grayscale(0.8);
	width: 100%;
    height: 100%;
    z-index: -100;
	background-size: cover;
	background-position: center;
    position: relative;
	transition:2s ease;
}

.sargon-card-portfolio .thumb:hover .thumb-img {
	filter: grayscale(0);
}

.sargon-card-portfolio .text {
	margin-top: 16px;
    font-weight: 600;
    line-height: 1.32;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
	font-size: 16px;
}

@media (max-width:991px){
	.block-sargon-portfolio .portfolio__content .portfolio__content_block .items {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width:767px){
	.block-sargon-portfolio .portfolio__content .portfolio__content_block .items {
		grid-gap: 24px 15px;
	}
	
	.block-sargon-portfolio .portfolio__head .items {
		flex-wrap: nowrap;
		overflow: auto;
	}
	
	.block-sargon-portfolio .portfolio__head .items .item {
		text-wrap: nowrap;
		font-size:14px;
	}
}

@media (max-width:480px){
	.block-sargon-portfolio .portfolio__content .portfolio__content_block .items {
		grid-template-columns: repeat(1, 1fr);
	}
}

/************block-sargon-portfolio*************/

@media (max-width:1199px){
	.woocommerce div.product .group_info {
		flex-wrap: wrap;
		gap: 8px 30px;
	}
}

@media (max-width:991px){
	.container {
		width: 100%;
	}
}

@media (max-width:767px){
	.woocommerce div.product .group_info {
		flex-wrap: nowrap;
	}
}

@media (max-width:640px){
	.woocommerce div.product .group_info {
		flex-wrap: wrap;
	}
}

@media (max-width:480px){
	.title-center {
		text-align:center!important;
	}
}

@media (max-width:375px){
	.woocommerce div.product .group_info {
		gap: 15px;
		flex-direction: column;
		align-items: normal;
	}
}