/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

/* -- General -- */
:root{
	--black: #000;
	--white: #fff;
	--gray: #E9E9E9;
	--light-gray: #999999;
	--logo-blue: #0D32AC;
	--logo-black: #303030;
}

.wcc-notice .wcc-title{
	display: none;
}

/* -- Header -- */
.header-bar .preload-me{
	max-width: 200px!important;
}

.mobile-logo.preload-me{
	max-width: 150px!important;
	padding: 12px 0;
}

.branding .sticky-logo img{
	max-width: 160px!important;
}

.l-to-r-line > li > a i.underline{
	background-color: transparent;
	background-image: url("https://www.ergocnc.gr/wp-content/uploads/2024/08/horizontal.svg");
	background-repeat: no-repeat;
    background-size: contain;
    height: 12px;
    background-position-x: center;
	bottom: -15px;
	opacity: 1;
}

.main-nav .menu-item-has-children ul li.current_page_item > a,
.main-nav .menu-item-has-children ul li:hover > a{
	background-color: var(--logo-blue)!important;
}

.main-nav .menu-item-has-children ul li.current_page_item > a .menu-text,
.main-nav .menu-item-has-children ul li:hover > a .menu-text{
	color: var(--white)!important;
}

.mini-wpml{
	margin-left: 25px!important;
}

.mini-wpml:before{
	content: '\f7a2';
	font-family: 'Font Awesome 5 Free';
	color: var(--logo-blue);
	position: absolute;
	left: -19px;
	font-size: 15px;
	display: block;
	font-weight: 900;
}

.wpml-ls-sub-menu.mini-sub-nav{
	max-width: fit-content;
}

.inline-header .header-bar > .mini-widgets{
	margin-left: 28px;
}

.mobile-main-nav .next-level-button svg{
	color: var(--logo-black);
	fill: var(--logo-black);
}

/* -- Footer -- */
#bottom-bar .wf-container-bottom .wf-float-left{
	text-align: center;
}

#bottom-bar .wf-container-bottom .wf-float-right{
	display: none;
}

.footer-text-left{
	font-size: 40px!important;
	line-height: 40px;
	font-weight: 700;
}

.footer-right-group{
	margin-left: 80px;
}

.footer-text-right,
.footer-icon-col p{
	font-size: 20px;
}

.footer-text-right{
	line-height: 25px;
}

.footer-text-right a[href="tel:2167002002"]{
	text-decoration: none;
}

.footer-icon-col p{
	margin-left: 10px;
}

.footer-icon-col{
	gap: 0!important;
}

.footer-icons{
	gap: 0;
	margin-top: 25px;
	margin-bottom: 85px;
	max-width: 600px;
}

.footer .custom-menu li{
	display: inline-block;
	font-size: 16px!important;
}

.footer .custom-menu li.first{
	margin-left: 0px!important;
}

.footer .custom-menu li{
	margin: 0 20px;
}

.footer .custom-menu li:last-child{
	margin-right: 0px!important;
}

.footer .widget_presscore-custom-menu-one{
	margin-bottom: 0!important;
}

.footer-icon-col-text a{
	text-decoration: none;
}

/* -- Homepage -- */
.homepage-logos{
	max-width: 700px;
	margin: 0 auto;
}

.homepage-logos img{
	max-width: 200px;
}

.homepage-logos article > a{
	text-align: center;
	pointer-events: none;
}

.homepage-machine-image{
	position: relative;
	top: -110px;
}

.homepage-equipment-title{
	position: relative;
	bottom: 60px;
}

.homepage-logos .owl-dot.active{
	width: 40px!important;
	background: var(--logo-blue);
}

.homepage-logos .owl-dot{
	width: 7px!important;
	height: 7px!important;
	margin: 0 3px!important;
}

.homepage-parenthesis-image img{
	width: 14px;
}

.vc_row.homepage-services-row{
	background-position: top center!important;
}

/* -- Single Product -- */
.product-info table .black-white{
	background: var(--logo-black);
	color: var(--white);
}

.product-info table .gray{
	background: var(--gray);
}

.product-info table .bold{
	font-weight: 500;
}

.product-info table .center{
	text-align: center;
}

.product-info .products-specs table tbody>tr>:nth-child(1),
.product-info .products-specs table thead{ 
	background: var(--logo-black);
	color: var(--white);
}

.product-info .products-specs table tbody>:nth-child(even){
	background: #F1F1F1;
}

.product-info .products-specs table tbody>:nth-child(odd){
	background: var(--white);
}

.product-info .products-specs{
	max-width: 800px;
}

.product-info .products-specs table{
	margin-top: 20px;
	border: none;
}

.product-info .products-specs table,
.product-info .products-specs table thead,
.product-info .products-specs table tbody{
	display: block;
	width: 100%;
	border: none;
}

.product-info .products-specs table thead>tr,
.product-info .products-specs table tbody>tr{
	display: flex;
	border: none;
}

.product-info .products-specs table thead>tr th,
.product-info .products-specs table tbody>tr td{
	width: 100%;
	max-width: 400px;
	border: none;
	padding: 8px 15px;
}

.prev_next_buttons{
	display: grid;
	grid-template-areas: 'left center right';
	grid-template-columns: 150px auto 150px;
}

.prev_next_buttons a{
	text-decoration: none;
	color: var(--white);
}

.prev_next_buttons a:hover{
	cursor: pointer;
}

.prev_next_buttons a i{
	background: var(--logo-blue);
	border-radius: 30px;
	margin-left: 5px;
	padding: 10px;
}

.prev_next_buttons div.prev{
	grid-area: left;
}

.prev_next_buttons div.next{
	grid-area: right;
	text-align: right;
}

.prev_next_buttons .category-name{
	grid-area: center;
	text-align: center;
	color: var(--white);
}

.specs-table-title{
	font-size: 40px;
	line-height: 45px;
	font-weight: 700;
	text-transform: uppercase;
}

.single-product #main .wf-wrap{
	width: 100%;
	padding: 0;
}

.single-product #main .wf-wrap .wpb-content-wrapper,
.single-product #main .wf-wrap .product-specs-container,
.prev_next_buttons_container_inner{
	width: 1300px;
	padding: 0 50px;
	margin: 0 auto;
}

.single-product #main .wf-wrap .product-specs-container-inner{
	width: 100%;
	background: #D9D9D9;
	padding-top: 60px;
	padding-bottom: 10px;
	margin-top: 80px;
}

.prev_next_buttons_container{
	width: 100%;
	background: #D9D9D9;
	padding-bottom: 60px;
	padding-top: 10px;
}

.prev_next_buttons{
	max-width: 770px;
	background: #303030;
	padding: 10px 15px;
	align-items: baseline;
}

.single-product #main{
	padding-bottom: 0;
	padding-top: 140px;
}

/* -- Search Page -- */
.search-results .entry-meta{
	display: none;
}

/* -- Category Pages -- */
.products-list{
	list-style: none!important;
	margin-left: 0!important;
}

.products-list li{
	padding-left: 15px;
}

.products-list li:nth-child(odd){
	background-color: rgba(255,255,2555,0.7);
}

.products-list li a{
	text-decoration: none;
	--s: 0.1em;
	--c: var(--logo-blue);
	color: var(--logo-black);
	background: 
    linear-gradient(90deg,var(--c) 50%,var(--logo-black) 0) calc(100% - var(--_p,0%))/200% 100%,
    linear-gradient(var(--c) 0 0) 0% 100%/var(--_p,0%) var(--s) no-repeat;
	-webkit-background-clip: text,padding-box;
	background-clip: text,padding-box;
	transition: all 0.5s;
}

.products-list li a:hover{
	--_p: 100%;
	color: var(--logo-blue);
}

ul.products-list{
	margin-top: 20px;
}

.product-category-col .vc_column-inner{
	background-color: #d9d9d9;
	clip-path: polygon(100% 0, 100% 100%, 4% 100%, 0 93%, 0 0);
}

.product-category-col .wpb_single_image{
	background-color: var(--white);
	margin-bottom: 30px;
}

/* -- Services Page -- */
.inline-label p{
	display: flex;
    gap: 10px;
    align-items: flex-start;
}

.inline-label .wpcf7-form-control-wrap{
	flex: 1 1 80%;
}

.inline-label label{
	flex: 1 1 20%;
}

.wpcf7-spinner{
	position: absolute;
	right: 0;
	bottom: -25px;
	display: block;
}

.right-submit p{
	text-align: right;
}

.services-above-title-image img{
	width: 60px;
}

.services-form-row select,
.services-form-row input,
.services-form-row textarea{
	border-color: var(--white);
}

.services-form-row select,
.services-form-row input{
	height: 45px;
}

.services-form-row select.wpcf7-not-valid,
.services-form-row textarea.wpcf7-not-valid{
	border-color: #f55b5f!important;
}

/* -- Company Page -- */
.company-commitment-seperator h4{
	line-height: 4px;
	font-size: 20px;
	font-weight: 400!important;
}

.company-why-us-middle-col{
	position: relative;
	top: 60px;
}

/* -- Contact Page -- */
.wpcf7-textarea.wpcf7-not-valid{
	border-color: #f55b5f;
}

.contact-row .wpcf7-form{
	max-width: 650px;
	margin: 0 auto;
}

.contact-row .wpcf7-form .wpcf7-submit{
	width: 100%;
}

.contact-row .wpcf7-form .wpcf7-spinner{
	position: relative;
}

.contact-row .wpcf7-form input::placeholder,
.contact-row .wpcf7-form textarea::placeholder{
	color: var(--logo-blue);
	opacity: 1;
}

.contact-row .wpcf7-form input{
	min-height: 45px;
}

.contact-row a{
	text-decoration: none;
	color: var(--logo-blue);
}

/* -- Error 404 -- */
.error404 .content{
    text-align: center;
    max-width: 580px;
    margin: 0 auto;
	padding-top: 100px;
}

/* -- Tools Page -- */
.tools-logo-image img{
	max-width: 200px;
	width: 200px;
}

/* -- Responsive -- */
@media(max-width: 1400px){
	/* -- Product Page -- */
	.single-product #main .wf-wrap .wpb-content-wrapper,
	.single-product #main .wf-wrap .product-specs-container,
	.prev_next_buttons_container_inner{
		width: auto;
	}
}

@media(max-width: 1336px){
	/* -- Footer -- */
	#footer.solid-bg{
		background-position-x: right;
	}
}

@media(max-width: 1200px){
	/* -- Company Page -- */
	.vc_row.company-main-content{
		padding-left: 0!important;
		padding-right: 0!important;
	}
	
	.company-why-us-col{
		width: 100%;
	}
	
	.company-why-us-middle-col{
		position: unset;
	}
	
	/* -- Homepage -- */
	.vc_custom_heading.homepage-equipment-title{
		font-size: 25px!important;
		line-height: 30px!important;
	}
	
	.home-years-of-experience .wpb_column{
		width: 100%!important;
		margin-bottom: 15px;
	}
}

@media (max-width: 991px){
	#footer.solid-bg{
		background-position-x: left;
		background-color: var(--white);
	}
	.footer-text-left,
	.footer-text-right,
	.footer .custom-menu{
		text-align: center;
	}
	
	.footer-icons{
		max-width: 450px;
		margin: 45px auto;
	}
	
	.footer-right-group{
		margin-left: 0;
	}
	
	/* -- Homepage -- */
	.vc_custom_heading.homepage-equipment-title{
		font-size: 22px!important;
		line-height: 26px!important;
		padding-left: 10px!important;
		padding-right: 10px!important;
	}
}

@media (max-width: 782px){
	/* -- Footer -- */
	.footer-icons{
		flex-wrap: nowrap!important;
	}
	
	.footer-icon-col{
		flex-wrap: nowrap!important;
	}
	
	.footer-icons{
		margin: 60px auto 45px;
	}
	
	.footer-icons .footer-icon-col .footer-icon-col-text{
		flex-basis: 80%!important;
	}
	
	.footer-icons .footer-icon-col .footer-icon-col-image{
		flex-basis: 20%!important;
	}
}

@media (max-width: 778px){
	/* -- Product Page -- */
	.single-product #main .wf-wrap .wpb-content-wrapper,
	.single-product #main .wf-wrap .product-specs-container,
	.prev_next_buttons_container_inner{
		padding: 0 20px;
	}
}

@media (max-width: 767px){
	/* -- General -- */
	.swap-on-mobile{
		display: flex!important;
		flex-direction: column-reverse!important;
	}
	
	/* -- Single Product -- */
	.product-info .products-specs table thead>tr th,
	.product-info .products-specs table tbody>tr td{
		max-width: unset;
	}
	.product-info .products-specs table{
		display: block;
		width: 100%;
	}
	
	.product-info .products-specs table thead>tr>:nth-child(1){
		display: none;
	}
	
	.product-info .products-specs table thead{
		display: block;
	}
	
	.product-info .products-specs table thead>tr{
		display: flex;
	}
	
	.product-info .products-specs table thead>tr>:not(:first-child){
		width: 50%;
	}
	
	.product-info .products-specs table tbody{
		display: block;
		width: 100%;
	}
	
	.product-info .products-specs table tbody tr{
		display: flex;
    	flex-wrap: wrap;
    	width: 100%;
		justify-content: space-between;
	}
	
	.product-info .products-specs table tbody tr>td:nth-child(1){
		width: 100%;
		border: none!important;
		background: var(--logo-black)!important;
	}
	
	.product-info .products-specs table tbody tr>:not(:first-child){
		width: 45%;
		border: none!important;
	}
	
	.product-info .products-specs table tbody> tr td:nth-child(even){
		background: #F1F1F1;
		width: 100%;
	}

	.product-info .products-specs table tbody> tr td:nth-child(odd){
		background: var(--white);
		width: 100%!important;
	}
	
	.prev_next_buttons a{
		font-size: 0;
		line-height: 0;
		color: transparent;
	}
	
	.prev_next_buttons a i{
		font-size: initial;
		color: var(--white);
	}
	
	.prev_next_buttons{
		grid-template-columns: 50px auto 50px;
	}
	
	/* -- Homepage -- */
	.vc_row.homepage-slider-row,
	.vc_row.homepage-services-row{
		margin-top: 0!important;	
	}
	
	.vc_row.homepage-services-row{
		padding-top: 190px!important;
		padding-bottom: 80px!important;
	}
	
	.vc_row.homepage-efficient-row,
	.vc_row.homepage-products-row,
	.vc_row.homepage-partners-row{
		margin-top: 90px!important;
	}
	
	.vc_row.homepage-products-first-row,
	.homepage-product-col.last-col{
		margin-bottom: 0!important;
	}
	
	.homepage-product-col{
		max-width: 500px;
		margin: 0 auto 120px!important;
	}
	
	.homepage-products-heading,
	.homepage-our-partners-heading,
	.homepage-our-services-heading{
		font-size: 25px!important;
		line-height: 35px!important;
	}
	
	.years-of-experience-num{
		font-size: 65px!important;
		line-height: 70px!important;
	}
	
	.years-of-experience-text{
		font-size: 25px!important;
	}
	
	.homepage-our-services-service-heading,
	.homepage-our-services-maintenance-heading,
	.homepage-our-services-trainning-heading{
		font-size: 35px!important;
		line-height: 40px!important;
	}
	
	.homepage-our-services-maintenance-heading,
	.homepage-our-services-trainning-heading{
		margin-top: 20px!important;
	}
	
	/* -- Services Page -- */
	.inline-label p{
		display: block;
	}
	
	.wpcf7-submit{
		width: 100%;
	}
	
	/* -- Company Page -- */
	.company-main-heading{
		font-size: 30px!important;
		line-height: 35px!important;
	}
	
	.company-history-heading.company-main-heading{
		margin-bottom: 35px!important;
	}
	
	.homepage-our-partners-heading.fixed-mobile-margin{
		margin-bottom: 10px!important;
	}
	
	.wpb_text_column.company-history-text{
		margin-bottom: 25px!important;
	}
	
	.vc_row.company-history-first-row{
		margin-bottom: 60px!important;
	}
	
	.vc_row.company-history-second-row{
		margin-bottom: 90px!important;
	}
	
	.company-commitment-text{
		font-size: 23px!important;
		line-height: 32px!important;
	}
	
	.company-commitment-text.vc_custom_heading{
		padding-left: 30px!important;
		padding-right: 30px!important;
		padding-top: 25px!important;
		padding-bottom: 25px!important;
	}
	
	/* -- Footer -- */
	.footer-icons{
		gap: 5px;
		flex-flow: column;
		max-width: 150px;
		margin: 40px auto 25px;
	}
	
	.footer .custom-menu li{
		margin: 0 10px;
	}
	
	.footer .custom-menu li:last-child{
		margin-right: 10px!important;
	}
	
	.footer .custom-menu li.first{
		margin-left: 10px!important;
	}
}

@media (max-width: 545px){
	/* -- Footer -- */
	.footer .custom-menu li.first{
		margin-left: 10px!important;
	}
	
	.footer .custom-menu li:last-child{
		margin-right: 10px!important;
	}
}