/*
Theme Name: Divi - Child theme
Theme URI: 
Version: 0.8
Description: Divi - Child 
Author: Social Mind
Author URI: http://www.socialmind.gr
Template: Divi
*/
/*@import url(../Divi/style.css);*/
/* =Theme customization starts here

------------------------------------------------------- */

:root {
	--main: #3a5252;
	--secondary: #7d8a96;
	--gray: #b4b5b7;
	--off-white: #F4F4F1;
}


/*
@font-face {
	  font-family: 'ACGeosansLight';
	  src: URL('./font/ACGeosansLight.otf') format('truetype');
}

body {
	font-family: 'ACGeosansLight' !important;
}
*/

/* By your side, with discretion and professionalism. */
/* With you, with support and respect. */

body.lang-en .main-title h2 {
    text-transform: uppercase;
}
body.lang-en.woocommerce-checkout .entry-content:before {
	content: 'Fill in your details';
}

/** - Main Elements - start **/

sup {
    bottom: .8em;
    font-size: 65%;
}

/* titles */

.main-title.et_pb_text h2 {
    font-weight: 300;
    letter-spacing: 3px;
    font-size: 30px;
}

.main-title.et_pb_text h2::first-letter {
    border: 2px solid currentColor;
    margin-right: 3px;
    padding-left: 3px;
}

/* buttons */
.main-button.et_pb_text, .wpcf7-submit {
    width: fit-content;
    padding: 12px 5%;
    font-size: 16px;
    background-color: var(--main);
    color: white;
    letter-spacing: 3px;
    border: 2px solid var(--main);
    transition: all 0.5s ease;
}

.main-button.et_pb_text:hover, .wpcf7-submit:hover {
    background-color: transparent;
    color: var(--main);
    transform: translate3d(0px, -6px, 0.01px);
}

.main-button.et_pb_text.centered {
	margin-left: auto;
	margin-right: auto;
}

.main-button.et_pb_text.light {
	background-color: white;
	border: 2px solid white;
	color: var(--main);
}

.main-button.et_pb_text.light:hover {
	color: white;	
	background-color: transparent;
}

/* Parallax */

.inside-main-banner h1 {
	font-weight: 300;
}

.cstm-parallax.et_pb_section {
	background-attachment: fixed;
}

@supports (-webkit-overflow-scrolling: touch) {
  .cstm-parallax.et_pb_section {
    background-attachment: scroll;
  }
}

/* Call to action banner */

.call-action-banner .et_pb_row .et_pb_column:nth-child(2) {
	display: flex; 
	flex-wrap: wrap;
	gap: 20px;
}

.call-action-banner .et_pb_row .et_pb_column:nth-child(2) > * {
    flex: 1;
    text-align: center;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-action-banner p {
    padding-bottom: 0px;
}

/** - Main Elements - end **/


/** - Homepage - start **/
.hm-main-slider .slogan.et_pb_text strong, .hm-main-slider .slogan.et_pb_text h2 {
    font-weight: 300;
    color: white;
}

.hm-main-slider .slogan.et_pb_text p {
	font-size: 4em;
    line-height: 1.1em;
    font-weight: 300;
}

.hm-services.et_pb_column {
    display: flex;
    flex-wrap: wrap;
    gap: 1.3%;
    row-gap: 10px;
}

.hm-services.et_pb_column .et_pb_blurb {
    padding: 28px 10px;
    flex: 0 1 32.3%;
    background-color: white;
    background-size: 90%;
    background-position: 100px 80px;
    transition: all 0.5s ease;
}

.hm-services.et_pb_column .et_pb_blurb:hover {
    background-color: var(--main);
    transform: translatey(-6px);
}

.hm-services .et_pb_blurb .et_pb_main_blurb_image {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hm-services .et_pb_blurb h4.et_pb_module_header {
    padding: 0;
    margin: 0 auto;
    font-size: 18px;
	transition: all 0.5s ease;
}

.hm-services .et_pb_blurb:hover h4.et_pb_module_header {
	color: white;
}

.hm-services .et_pb_blurb .et_pb_image_wrap img {
	transition: all 0.5s ease;
}

.hm-services .et_pb_blurb:hover .et_pb_image_wrap img {
    filter: brightness(0) invert(1);
}

.blog-style .et_pb_ajax_pagination_container {
    display: flex;
    flex-wrap: wrap;
    gap: 3%;
	justify-content: center;
}

.blog-style .et_pb_post {
    flex: 0 1 31.3%;
    background-color: white;
}

.blog-style .et_pb_post p.post-meta {
    color: var(--gray);
    font-size: 14px;
	font-weight: 700;
}

.blog-style .et_pb_post > *:not(.entry-featured-image-url) {
	padding: 0 25px;
}

.blog-style .et_pb_post h2.entry-title {
	font-size: 18px;
}

.blog-style .et_pb_post .post-content-inner p {
    font-size: 15px !important;
    line-height: 1.4em;
}

.blog-style .et_pb_post .post-content {
    padding-bottom: 25px;
}

.blog-style .et_pb_post img {
	transition: all 5s ease-in-out;
}

.blog-style .et_pb_post:hover img {
    transform: scale(1.5);
}

.blog-style .et_pb_post .entry-featured-image-url {
	overflow: hidden;
}
/** - Homepage - end **/

/** - TEAM - start **/

@media all and (min-width: 981px) {
	.team-blurb-row .et_pb_column {
		display: flex;
		justify-content: center;
	}

	.team-blurb-row .et_pb_column .et_pb_blurb {
		flex: 1;
		max-width: 400px;
		padding: 0 30px;
	}

	.team-blurb-row .et_pb_column .et_pb_blurb:not(:last-of-type) {
		border-right: 1px solid currentColor;
	}

	.team-blurb-row .et_pb_blurb .et_pb_blurb_content {
		max-width: none;
	}
}

.team-blurb-row .et_pb_blurb ul {
    list-style: none;
    padding-left: 0;
}

.team-blurb-row .et_pb_blurb ul li {
    position: relative;
    padding-left: 16px;
	line-height: 1.4em;
}

.team-blurb-row .et_pb_blurb ul li:before {
    content: '';
    width: 5px;
    height: 5px;
    position: absolute;
    border: 2px solid currentColor;
    left: 0;
    top: 7px;
}

/** - TEAM - end **/

/** - SERVICES - start **/

.inside-main-banner.services.et_pb_section {
	background-size: 100%;
    background-repeat: repeat-y;
    background-position: 50% -8%;
    min-height: 60vh;
}

.list-style-2 ul {
	list-style: none;
    margin-top: 20px;
}

.list-style-2 ul li {
    position: relative;
    padding-bottom: 10px;
    padding-left: 33px;
}

.list-style-2 ul li:before {
    content: '\4e';
    font-family: 'ETmodules';
    font-size: 29px;
    color: var(--secondary);
    position: absolute;
    top: 0;
    left: 0;
}
.services-carousel .dica_divi_carousel .dica_divi_carouselitem {
    display: flex;
    aspect-ratio: 5 / 7;
    width: 100%;
    height: auto;
    max-height: 572px;
}

.services-carousel .dica_divi_carousel .dica_divi_carouselitem .dica-item {
    justify-content: flex-end;
    padding: 10%;
}

.services-carousel .dica_divi_carousel .dica_divi_carouselitem .dica-item-content .item-title {
    font-size: 25px;
    font-weight: normal;
    max-width: 149px;
}

.services-carousel .dica_divi_carousel .dica_divi_carouselitem .dica-item:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: black;
    opacity: 0.7;
    pointer-events: none;
	transition: all 1s ease;
}

.dica_divi_carousel .dica_divi_carouselitem .dica-item:after {
    content: '\24';
    font-family: 'ETmodules';
    color: white;
    z-index: 1;
    background-color: var(--secondary);
    width: fit-content;
    padding: 10px;
    height: auto;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    font-size: 24px;
    position: absolute;
    bottom: 11%;
    right: 20%;
    transition: all 1s ease;
    opacity: 0;
}

.services-carousel .dica_divi_carousel .dica_divi_carouselitem:hover .dica-item:before {
	opacity: 0.3;
}

.dica_divi_carousel .dica_divi_carouselitem:hover .dica-item:after {
	right: 11%;
	opacity: 1;
}

/** - SERVICES - end **/

/** - CLIENTS - start **/

.logo-row .et_pb_column {
	display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.logo-row .et_pb_image {
    flex: 0 1 calc(33.3% - 4px);
    margin: 0;
    border: 1px solid var(--gray);
    filter: grayscale(1);
	transition: all .5s ease;
}

.logo-row .et_pb_image:hover {
	filter: grayscale(0);
}

/** - CLIENTS - end **/

/** - FOOTER - start **/
.footer-main-row.et_pb_row {
    display: flex;
    justify-content: space-between;
    max-width: 900px;
}

.footer-main-row.et_pb_row:after {
	display: none;
}

.footer-main-row.et_pb_row .et_pb_column {
    width: 100%;
    margin: 0;
    width: auto;
}

.footer-main-row.et_pb_row .border-col {
    border: 1px solid var(--main);
}

.footer-main-row.et_pb_row .logo-col {
	display: flex;
	align-items: center;
	justify-content: center;
}

.fixed-date.et_pb_section {
	position: fixed;
    bottom: 5%;
    right: 5%;
    width: fit-content;
    z-index: 99;
}

.fixed-date .main-button.et_pb_text {
    text-align: center;
    width: max-content;
    letter-spacing: 0px;
}

.fixed-date .main-button.et_pb_text:hover {
    background-color: var(--off-white);
}

.fixed-date .main-button.et_pb_text p {
	font-size: 18px;
}

/** - FOOTER - end **/

header.et-fixed-header#main-header {
    background-color: var(--main);
}

body.woocommerce-order-received #main-content .container {
    max-width: none;
    padding: 0 !important;
    width: 100%;
}

.woocommerce-order-received .et_pb_section.inside-main-banner {
    background-color: var(--main);
    padding-top: 9%;
}

.woocommerce-order-received .et_pb_section.inside-main-banner h1 {
    text-align: center;
    color: white;
    font-size: 40px;
}

.woocommerce-order-received .et_pb_section.content .et_pb_column {
    float: unset;
}

body.woocommerce-order-received .entry-content:before {
	display: none;
}

@media all and (max-width: 980px) {
	.mobile-col-reverse.et_pb_row {
		display: flex;
		flex-direction: column-reverse;
		gap: 30px;
	}
	
	.blog-style .et_pb_ajax_pagination_container {
		flex-direction: column;
	}
	
	.footer-main-row.et_pb_row {
	    flex-direction: column;
	}
	
	.footer-main-row.et_pb_row .logo-col {
	    padding-bottom: 25px;
    	border-bottom: 2px solid var(--main);
	}
	
	.footer-main-row.et_pb_row .info-col {
	    display: flex;
		flex-direction: column;
		align-items: center;
		padding-top: 25px;
	}
	
	.hm-main-slider .slogan.et_pb_text p {
		font-size: 3em;
	}
	
	.inside-main-banner.services.et_pb_section {
	    min-height: 100vh;
    	background-size: cover;
    	background-position: center;
	}
	
	.inside-main-banner.decisions.services.et_pb_section {
	       background-position-x: 58%;
	}
	
	.inside-main-banner .et_pb_text h1 {
		font-size: 30px;
	}
	
	.inside-main-banner.services .arrow img, .inside-main-banner  img {
		width: 24px;
	}
	
	.call-action-banner.et_pb_section {
		background-position-x: 57%;
	}
	
	.inside-main-banner.services.et_pb_section.astiko {
	    background-position-x: 42%;
	}
	
	.inside-main-banner.services.et_pb_section.contact {
	    background-position-x: 56%;
	}
	
	.inside-main-banner.services.et_pb_section.family {
	    background-position-x: 30%;
	}
	
	.inside-main-banner.services.et_pb_section.company {
	    background-position-x: 31%;
	}
	
	.inside-main-banner.services.et_pb_section.depts {
	    background-position-x: 77%;
	}
}

@media all and (max-width: 875px) {
	.hm-services.et_pb_column .et_pb_blurb {
		flex: 0 1 49%;
	}
}

@media all and (max-width: 660px) {
	.logo-row .et_pb_image {
    	flex: 0 1 calc(50% - 4px);
	}
}

@media all and (max-width: 580px) {
	.hm-services.et_pb_column .et_pb_blurb {
		flex: 100%;
	}
}

@media all and (max-width: 500px) {
	.services-carousel .dica_divi_carousel .swiper-buttton-container {
		display: none;
	}
}