/*
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-color: #98b2cd;*/
	--main-color: #5073A5;
	--gray-color: #fafafa;
}

/* ESPA FIXES */
.projects-hm-wrap .description-wrap h3 {
    color: #4A69A5 !important;
}

.et-pb-controllers .et-pb-active-control{
	color: #497097 !important;
}

/* ESPA FIXES END */

/** Main elements - START **/

#main-content .et_pb_section {
	overflow: hidden;
    position: relative;
    max-width: 100vw;
}

.padding-sections.et_pb_section { 
	padding: 70px 0px;
}

/*title*/
.main-title .et_pb_text_inner {
	padding: 20px 0px;
    position: relative;
}

.main-title, .main-title * {
	width: fit-content;
}

.main-title .et_pb_text_inner:before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--main-color);
    display: block;
    position: absolute;
    top: 0px;
	transition: all 1s ease;
}

.main-title .et_pb_text_inner:after {
    content: '';
    width: 0;
    height: 1px;
    background: var(--main-color);
    display: block;
    position: absolute;
    bottom: 0px;
    left: -24%;
	transition: all 1s ease;
	transition-delay: 100ms !important;
}

.main-title h1 {
	text-align: right;
    line-height: 45px;
	max-width: 340px;
    padding-right: 40px;
    position: relative;
    padding-bottom: 0;
	font-weight: bold;
	letter-spacing: 1px;
}

.main-title h1:before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--main-color);
    display: block;
    position: absolute;
    bottom: 10px;
    right: 0px;
    border-radius: 100%;
	transition-delay: 800ms !important;
	opacity: 0;
	transition: all 1s ease;
}

/*button*/
.main-btn {
	position: relative;
	font-size: 1em;
	letter-spacing: 0.125em;
	line-height: 1;
	margin: 0;
	width: fit-content;
	padding: 1em;
	font-size: 16px;
	cursor: pointer;
}

.main-btn a {
	color: var(--main-color);
	line-height: 1em;
}

.main-btn:hover a {
	color: lighten(var(--main-color), 20%);
}
.main-btn:focus {
	color: lighten(var(--main-color), 10%);
	outline: none;
}
.main-btn:active {
	color: var(--main-color);
}

.main-btn:before,
.main-btn:after {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 1px;
}

.main-btn:before {
	top: 0;
	left: 0;
	box-shadow: inset 1px 1px 0 0 var(--main-color);
}
.main-btn:after {
	right: 0;
	bottom: 0;
	box-shadow: inset -1px -1px 0 0 var(--main-color);
}

.main-btn:hover:before {
	animation: hoverShadowBefore 1s forwards;
}
.main-btn:hover:after {
	animation: hoverShadowAfter 1s forwards;
}

.main-btn.big {
	font-size: 23px;
    color: #000000cf;
}

@keyframes hoverShadowBefore {
  	0% {
    	width: 100%;
		height: 1px;
		
		top: 0;
		left: 0;
  	}
  	33% {
   	width: 1px;
		height: 100%;
		
		top: 0;
		left: 0;
  	}
	66% {
		width: 1px;
		height: 1px;
		
		top: calc(100% - 1px);
		left: 0;
	}
	100% {
   	width: 100%;
		height: 1px;
		
		top: calc(100% - 1px); 
		left: 0;
  	}	
}

@keyframes hoverShadowAfter {
  	0% {
    	width: 100%;
		height: 1px;
  	}
  	33% {
   	width: 1px;
		height: 100%;
		
		bottom: 0;
		right: 0;
  	}
	66% {
		width: 1px;
		height: 1px;
		
		bottom: calc(100% - 1px);
		right: 0;
	}
	100% {
   	width: 100%;
		height: 1px;
		
		bottom: calc(100% - 1px);
		right: 0;
  	}
}

/* main banner */

.main-banner {
	display: flex;
	background-image: url(http://ek-engineering.gr/wp-content/uploads/2023/07/main-banner4.jpg) !important;
    align-items: center;
} 

.main-banner h1 {
	padding-bottom: 0;
    font-weight: bold;
    color: #494b4d;
    width: fit-content;
    margin: 0 auto;
    position: relative;
}

.main-banner h1:before {
	content: '';
    width: 10px;
    height: 10px;
    background: var(--main-color);
    position: absolute;
    border-radius: 100%;
    right: -23px;
    bottom: 0;
}

/* image with border */

.img-with-border {
	position: relative;
}

.img-with-border:before {
	content: '';
    width: 55%;
    height: 70%;
    display: block;
    position: absolute;
    border: 6px solid #efefef;
    z-index: 10;
    right: -5%;
    top: -18%;
	pointer-events: none;
}

.img-with-border.agelies:before {
	height: 330px;
}

.img-with-border.agelies.bottom:before {
    bottom: -17%;
}

.img-with-border.bottom:before {
	top: auto;
    bottom: -10%;
}

.img-with-border.bottom:before {
    top: auto;
    bottom: -10%;
}

.img-with-border.left:before {
    right: auto;
    left: -10%;
}

.img-with-border.behind:before {
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 30px;
    left: 5%;
}
.img-with-border.behind {
	width: fit-content;
	margin: 0 auto;
}

/* list style */
.list-custom-style li:before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--main-color);
    position: absolute;
    border-radius: 100%;
    z-index: -1;
    left: -12px;
    opacity: 0.4;
    top: 0;
}

.list-custom-style li {
	position: relative;
	margin-top: 9px;
}

.list-custom-style ul {
	list-style: none;
}

/* side border */

.side-border .et_pb_text_inner:before {
    content: '';
    width: 0;
    height: 2px;
    position: absolute;
    bottom: -50px;
    right: 0%;
    background: var(--main-color);
    opacity: 1;
	transition: all 1s ease;
}

.side-border.small .et_pb_text_inner:before {
	bottom: 0;
	right: 0%;
}

.side-border .et_pb_text_inner:after {
    content: '';
    width: 2px;
    height: 0;
    position: absolute;
    bottom: -72px;
    right: -4%;
    background: var(--main-color);
    opacity: 1;
	transition: all 1s ease;
}

.side-border.small .et_pb_text_inner:after {
	top: 25%;
	height: 0;
}


/** Main elements - END **/

/** Header - START **/

.mobile_menu_bar:before, .mobile_menu_bar:after, #top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a {
    color: var(--main-color);
}

header li {
	position: relative;
    display: flex;
    align-items: center;
	padding: 20px 0px !important;
	margin-right: 14px;
}

header #et-top-navigation {
	padding: 0px !important;
}

header li a {
	position: relative;
	padding: 15px 16px !important;
	transition: all 0.5s ease !important;
}

@media screen and (min-width: 981px) {
	header.et-fixed-header li a {
		padding: 8px 16px !important;
	}
}

header li a:before {
	border-width: 2px 0 0 2px !important;
	z-index: -1;
}

header li:hover a:before, 
header li:hover a:after {
	width: 100% !important;
    height: 100% !important;
	opacity: 1;
    transition: opacity .002s,width .4s,height .4s;
}

header li a:before, 
header li a:after {
	content: '';
	opacity: 0;
	background: 0 0;
	left: 0;
    top: 0;
    bottom: 0;
	display: block;
    position: absolute;
	box-sizing: border-box;
    right: 0;
    border: 2px solid var(--main-color);
	width: 2px;
    height: 2px;
	-webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    -webkit-transition-timing-function: cubic-bezier(.58,.3,.005,1);
    -o-transition-timing-function: cubic-bezier(.58,.3,.005,1);
    transition-timing-function: cubic-bezier(.58,.3,.005,1);
}

header li a:after {
    top: initial;
    bottom: 0;
    left: initial;
    right: 0;
    border-width: 0 2px 2px 0 !important;
}

#top-menu-nav>ul>li>a:hover {
    opacity: 1;
}

header li.current-menu-item a:before, 
header li.current-menu-item a:after {
    width: 16px !important;
    height: 16px !important;
	opacity: 1;
}

header #logo {
	max-height: 100%;
	padding: 5px 0px;
}

/** Header - END **/

/** Homepage - START **/

/*consulting*/
.consulting-texthm h5 {
	display: flex;
    gap: 15px;	
	line-height: 1.7em;
}

.consulting-texthm span {
	font-size: 20px;
    font-weight: bold;
}

/*construction*/
.projects-hm-wrap .big-wrap {
	height: 600px;
	position: relative;
	z-index: 9;
}

.projects-hm-wrap .small-wrap {
	height: 252px;
	width: 100%;
}

.projects-hm-wrap .description-wrap {
	position: relative;
}

.projects-hm-wrap .big-wrap > *, .projects-hm-wrap .small-wrap > * {
	height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}

.projects-hm-wrap .current-big {
	background-image: url(http://ek-engineering.gr/wp-content/uploads/2023/07/20190506_170721.jpg);
	z-index: 7;
    position: relative;
}

.projects-hm-wrap .next-big {
	background-image: url(http://ek-engineering.gr/wp-content/uploads/2023/07/e1512f4f-98c9-4a54-ba8f-2da4ffcf4622.jpeg);
	z-index: 6;
}


.projects-hm-wrap .small-img-current {
	background-image: url(http://ek-engineering.gr/wp-content/uploads/2023/07/20190402_075542.jpg);
}


.projects-hm-wrap .small-img-next {
	background-image: url(http://ek-engineering.gr/wp-content/uploads/2023/07/20191206_121343.jpg);
	z-index: 6;
}

.projects-hm-wrap .next-big, 
.projects-hm-wrap .small-img-next {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
	z-index: -1;
}

.projects-hm-wrap .description-wrap {
	width: 400px;
	z-index: 10;
    padding: 29px;
    position: absolute;
    top: 50%;
    background: #efefef;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border: 3px solid var(--main-color);
    right: 3%;
	height: 450px;
    overflow: auto;
}

.projects-hm-wrap .small-wrap {
	position: relative;
    z-index: 8;
}

.projects-hm-wrap .small-img-current {
	z-index: 5;
    position: relative;
}
.projects-hm-wrap .small-img-next {
	z-index: 4;
}

.projects-hm-wrap .description-wrap h3,
.projects-hm-wrap .description-wrap p {
	text-align: center;
}

.projects-hm-wrap .description-wrap h3 {
	color: var(--main-color);
	padding-bottom: 0px;
    font-size: 20px;
}

.projects-buttons-wrap .prjct-btn.inactive {
	pointer-events: none;
    cursor: default;
}

.projects-buttons-wrap a {
    border: 1px solid var(--main-color);
    border-radius: 30px;
	color: var(--main-color);
    padding: 7px 15px;
	transition: all 0.5s ease;
	background: transparent;
}

.projects-buttons-wrap a.current {
	background: var(--main-color);
	color: white;
}

.projects-buttons-wrap {
	margin-top: 20px;
    display: flex;
    gap: 9px;
}

.hm-contact-row:before {
	content: '';
    width: 19%;
    display: block;
    position: absolute;
    border: 6px solid #efefef;
    top: 0;
    aspect-ratio: 1/1;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 0;
    z-index: 0;
}

/* slider */

.home-slider .et-pb-arrow-prev {
	left: 15% !important;
    padding: 10px;
    background: black;
}

.home-slider .et-pb-arrow-next, .home-slider .et-pb-arrow-prev {
    top: auto;
	opacity: 1;
    bottom: 10%;
}

.home-slider .et-pb-arrow-next {
	left: calc(15% + 76px) !important;
    padding: 10px;
    background: black;
    width: fit-content;
}

.home-slider .et_pb_slide_content p {
    max-width: 700px;
}

.home-slider .et_pb_slide_description h2 {
    margin-bottom: 20px;
	font-size: 30px;
    position: relative;
    padding-bottom: 20px;
	font-weight: bold;
}

.home-slider .et_pb_slide_description h2:before {
    content: '';
    width: 30px;
    height: 2px;
    background: white;
    position: absolute;
    bottom: 0;
}

.home-slider .et-pb-slider-arrows a:before {
	-webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: black;
}

.home-slider .et-pb-active-slide .et_pb_slide_description {
	animation-name: fadeRight;
}

/** Homepage - END **/


/** Consulting - START **/

.consulting-row1 .et_pb_column {
	display: flex;
    flex-wrap: wrap;
	justify-content: center;
    gap: 3%;
	row-gap: 30px;
}

.consulting-row1 .et_pb_column .et_pb_blurb {
	flex: 0 0 22%;
	background-color: var(--gray-color);
    padding: 5% 3%;
	display: flex;
    margin-bottom: 0px !important;
}
/*
.consulting-row1 .et-waypoint:not(.et_pb_counters) {
    opacity: 1;
}
*/
.consulting-row1 .et_pb_blurb_content {
    display: flex;
    flex-direction: column;
}

.consulting-row1 .et_pb_blurb_container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.consulting-row1 .et_pb_blurb_content .et_pb_blurb_container {
    flex: 1;
}

.consulting-row1 .et_pb_blurb_content .et_pb_main_blurb_image {
	height: 60px;
}

.consulting-row1 .et_pb_image_wrap {
	position: relative;
	width: fit-content;
}

.consulting-row1 .et_pb_image_wrap img {
	z-index: 2;
    position: relative;
}

.consulting-row1 .et_pb_image_wrap:before {
    content: '';
    width: 120%;
    position: absolute;
    aspect-ratio: 1/1;
    border-radius: 100%;
    background: var(--main-color);
    z-index: 1;
	display: block;
	left: 40%;
    top: 16%;
    opacity: 0.4;
}

.consulting-row1 h4.et_pb_module_header {
    font-weight: bold;
    color: var(--main-color);
    line-height: 1.2em;
    font-size: 17px;
}

/** Consulting - END **/

/** Construction - START **/

.consulting-row1.four .et_pb_blurb_content {
	gap: 10px;
}

.consulting-row1.four .et_pb_blurb_container {
	justify-content: center;
}

.contrusction-row-contact:before {
	content: '';
    width: 20%;
    aspect-ratio: 1/1;
    display: block;
    position: absolute;
    border: 6px solid #efefef;
    z-index: 10;
    right: 13%;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 0;
}

/** Construction - END **/

/** Company - START **/

.consulting-row1.light .et_pb_column .et_pb_blurb {
    background-color: #ffffff9e !important;
}

/** Company - END **/

/** Real Estate - START **/

.consulting-row1.two .et_pb_column .et_pb_blurb {
    flex: 0 0 34%;
}


.consulting-row1.two:before {
    content: '';
    width: 40%;
    height: 110%;
    display: block;
    position: absolute;
    border: 6px solid #efefef;
    z-index: 10;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 01;
}

/** Real Estate - END **/

/** Contact - START **/

.contact-icons .et_pb_main_blurb_image {
	padding: 35px;
    background: white;
    border-radius: 100%;
    margin-bottom: 10px;
}

.contact-form form {
	width: 80%;
    max-width: 700px;
    margin: 0 auto;
}

.contact-form input[type='text'], .contact-form textarea, .contact-form input[type='email'] {
    width: 100%;
    margin-bottom: 20px;
	transition: all 0.5s ease;
    padding: 20px;
	border: 1px solid;
	border-color: transparent;
    background-color: #98b2cd1a;
}

.contact-form input[type='text']:focus, .contact-form textarea:focus, .contact-form input[type='email']:focus {
	border-color: var(--main-color);
}

.contact-form .main-btn {
	margin: 0 auto;
}

.contact-form input[type='submit'] {
	border: none;
    cursor: pointer;
    text-shadow: none;
    box-shadow: none;
    background: none;
    font-size: 17px;
}

.contact-form .wpcf7-spinner {
	position: absolute;
}

.map-section {
	position: relative;
}

.map-section:before {
    content: '';
    width: 18%;
    aspect-ratio: 1/1;
    position: absolute;
    top: -10vw;
    z-index: 3;
    border: 6px solid #efefef;
    right: 5%;
	pointer-events: none;
}

.map-filter {
	filter: grayscale(1);
	transition: all 0.5s ease;
}

.map-filter:hover {
	filter: grayscale(0);
}

/** Contact - END **/

/** Portfolio - START **/

.porfolio-gallery.et_pb_module.et_pb_gallery .et_pb_grid_item {
	width: 24.5%;
    margin-right: 0.5%;
    margin-bottom: 0.5%;
}

.real-estate-slider .et_pb_container {
	height: auto !important;
}

.real-estate-slider .et_pb_slide_image {
	margin: 0 !important;
	display: block !important;
}

.real-estate-slider .et_pb_slide, .real-estate-slider .et_pb_slide_description {
	padding: 0 !important;
}

.real-estate-slider .et_pb_slide img {
	max-height: unset !important;
}

.real-estate-slider.et_pb_slider {
	overflow: visible !important;
}

.real-estate-slider .et-pb-arrow-next, .real-estate-slider .et-pb-arrow-prev {
	opacity: 1;
}

.real-estate-slider.et_pb_slider .et-pb-arrow-prev {
	left: -8%;
}

.real-estate-slider.et_pb_slider .et-pb-arrow-next {
	right: -8%;
}

.real-estate-slider.et_pb_slider:hover .et-pb-arrow-prev {
    left: -8%;
    opacity: 1;
}

.real-estate-slider.et_pb_slider:hover .et-pb-arrow-next {
    right: -8%;
    opacity: 1;
}

/** Portfolio - END **/

/** Footer - START **/

.footer-row-1 .et_pb_column {
	display: flex;
    gap: 8%;
    align-items: center;
}

.footer-row-1 .et_pb_column > * {
	flex: 1;
	margin-bottom: 0px !important;
}

.footer-row-1 .et_pb_space {
	height: 2px;
}

.footer-row-2 p {
    text-align: center;
    font-size: 16px;
}

.footer-row-2 .et_pb_text {
    margin-bottom: 10px !important;
}

.footer-row-2 {
	display: flex;
}

.footer-row-2 .icons-column {
	display: flex;
    justify-content: space-evenly;
    gap: 30px;
    padding-top: 10px;
}

.footer-row-2 .icons-column .et_pb_icon.et_pb_module {
	margin-bottom: 0;
}

.footer-row-2 .icons-column:before {
	content: '';
    position: absolute;
    width: 2px;
    height: 25%;
    bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
    background: var(--main-color);
}

.footer-row-3 .et_pb_column {
	padding-top: 70px;
}

.footer-row-3 .et_pb_column:before {
	content: '';
    position: absolute;
    width: 2px;
    height: 43px;
    top: 0;
	left: 0;
	right: 0;
	margin: auto;
    background: var(--main-color);
}

.footer-row-3 .et_pb_main_blurb_image {
    margin-bottom: 20px;
}

.footer-row-3 .et_pb_module.et_pb_blurb {
	margin-bottom: 35px;
}

/** Footer - END **/

/** Responsive - START **/

@media screen and (max-width: 1098px) {
	.consulting-row1.two .et_pb_column .et_pb_blurb {
		flex: 1 0 34%;
	}
}
 
@media screen and (max-width: 980px) {
	.reverse-columns {
		display: flex;
		flex-direction: column-reverse;		
		gap: 20px;
	}
	
	.main-btn, .main-title.et_pb_text {
		margin-left: auto;
		margin-right: auto;
	}
	
	.projects-hm-wrap .description-wrap {
		position: relative;
		top: unset;
		right: unset;
		margin-top: -18%;
		padding: 15px;
		max-width: 80%;
		margin-left: auto;
		margin-right: auto;
		height: 300px;
	}
	
	.projects-hm-wrap .big-wrap {
    	height: 300px; 
	}
	
	.projects-hm-wrap .small-wrap {
		height: 100%;
		min-height: 130px;
	}
	
	.projects-buttons-wrap {
		justify-content: center;
		flex-wrap: wrap;
	}
	
	.hm-contact-row:before {
		width: 46%;
		aspect-ratio: unset;
		max-width: 229px;
	}
	
	.consulting-row1 .et_pb_column .et_pb_blurb {
		min-width: 221px;
	}
	
	.side-border.small .et_pb_text_inner:after {
		height: 300px;
		top: unset;
		bottom: -20px;
	}
	
	.consulting-row1 .et_pb_blurb_container {
		justify-content: space-evenly;
	}
	
	.real-estate-calltoaction-row .main-btn {
		width: fit-content;
		margin: 0 auto !important
	}
	
	.consulting-row1.two:before {
		width: 50%;
	}
	
	.footer-row-2 .icons-column.et_pb_column {
		margin-bottom: 0px
	}
	
	header li {
		justify-content: center;
		padding: 0px !important;
	}
	
	header .et_mobile_menu {
		border-top: 1px solid var(--main-color);
	}
	
	.et_header_style_left header #et-top-navigation .mobile_menu_bar {
		padding-bottom: 12px;
		padding-top: 12px;
	}
	
	.home-slider .et_pb_slide_0 {
		background-position: 21% 51%;
	}
	
	.home-slider .et_pb_slide_1 {
		background-position: 36% 50%;
	}
	
	.contrusction-row-contact:before {
		width: 100%;
		right: 0%;
	}
	
	 #main-header.et-fixed-header {
        position: fixed;
		 top: 0;
    }
	
	.main-title .et_pb_text_inner:after {
		left: 0;
	}
}

@media screen and (max-width: 571px) {
	.consulting-blurb.et_pb_blurb .et_pb_blurb_content .et_pb_blurb_container {
		text-align: center;
	}
	
	.consulting-row1 .et_pb_blurb_content {
		align-items: center;
	}
	
	.consulting-row1 .et_pb_column .et_pb_blurb {
		flex: 1 0 30%;
	}
	
	.side-border .et_pb_text_inner:after {
		height: 0%;
	}
}

@media screen and (max-width: 550px) {
	.footer-row-2 {
		flex-direction: column;
	}
	
	.footer-row-2 .et_pb_column {
		margin-bottom: 0;
		padding: 20px 0px;
	}
	
	.footer-row-2 .icons-column:before {
		height: 100%;
	}
}

/** Responsive - END **/


/** animations - START **/

.main-title.et_had_animation .et_pb_text_inner:before {
	width: 25px;
}

.main-title.et_had_animation .et_pb_text_inner:after {
	width: 50%;
}

.main-title.et_had_animation h1:before {
	opacity: 1;
}

.img-with-border:before {
	transform: translate(30%,-30%);
	transition: all 1s ease;
	opacity: 0;
}

.img-with-border .et_pb_image_wrap {
	opacity: 0;
	transform: translate(-30%,30%);
	transition: all 1s ease;
}


.img-with-border.bottom:before {
	transform: translate(30%,30%);
}

.img-with-border.bottom .et_pb_image_wrap {
	transform: translate(-30%,-30%);
}

.img-with-border.left.bottom:before {
	transform: translate(-20%, 20%);
}

.img-with-border.left.bottom .et_pb_image_wrap {
	transform: translate(20%, -20%);
}

.img-with-border.right.bottom:before {
	transform: translate(20%, 20%)
}

.img-with-border.right.bottom .et_pb_image_wrap {
	transform: translate(-20%, -20%);
}

.img-with-border.et_had_animation:before, .img-with-border.et_had_animation .et_pb_image_wrap {
	transform: translate(0,0) !important;
	opacity: 1 !important;
}

.vertical-animation:before {
	transform: translateY(-30%);
	transition: all 1s ease;
	opacity: 0;
}

.vertical-animation .vertical-animation-column {
	transform: translateY(30%);
	transition: all 1s ease;
	opacity: 0;
}

.vertical-animation.et_had_animation .vertical-animation-column , .vertical-animation.et_had_animation:before {
	transform: translateY(0);
	opacity: 1;
}

.lines-animation.et_had_animation .side-border .et_pb_text_inner:before {
	width: 200px;
}

.lines-animation.et_had_animation .side-border .et_pb_text_inner:after {
	height: 120%;
}

@media screen and (max-width: 571px) {
	.lines-animation.et_had_animation .side-border .et_pb_text_inner:after {
		height: 300px;
	}
}

.main-banner h1 {
	animation: opacityUp 1s linear;
}

@keyframes opacityUp {
	from {
		opacity: 0;
		transform: translateY(100px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/** animations - END **/

.footer-espa-badge {
    position: fixed;
    right: 20px;
    bottom: 20px;
}

@media screen and (max-width: 980px) {
	#main-header.et-fixed-header {
		animation: headeranimation 0.8s linear;
	}
}

@keyframes headeranimation {
	from {
		opacity: 0;	
		transform: translatey(-10px);
	}
	to {
		opacity: 1;	
		transform: translatey(0px);
	}
}

.aggelies-wrap .et_pb_ajax_pagination_container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.aggelies-wrap .project {
    flex: 0 1 calc(33.3% - 7px);
    background-color: #eceff3;
}

.aggelies-wrap .project h2.et_pb_module_header {
    font-size: 18px;
    padding: 25px 20px;
    font-weight: bold;
    margin: 0;
    text-align: center;
}

.aggelies-wrap .project span.et_portfolio_image {
	position: relative;
	overflow: hidden;
}

.aggelies-wrap .project span.et_portfolio_image img {
	transition: all 5s ease;
	max-height: 374px;
    object-fit: cover;
}

.aggelies-wrap .project:hover span.et_portfolio_image img {
	transform: scale(1.18);
}


.real-estate-slider .et_pb_slide img {
    max-height: unset !important;
    width: inherit;
}