/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.sub-heading span {
    font-family: Giaza;
    font-weight: 600;
	font-size: 52px;
}

/*Home Page*/
.service-list .elementor-cta__bg-overlay {
    background: linear-gradient(0deg, rgba(56, 95, 88, 0.8) 30%, rgba(56, 95, 88, 0) 100%) !important;
    width: 100%;
    height: 100%;
}
.service-list .elementor-cta__content {
    position: absolute;
    left: 0;
    top: calc(100% - 90px);
    transition: 0.8s;
}
.service-list .elementor-cta__content .elementor-cta__description {
    margin-top: 25px;
	min-height: 130px;
}
.service-list:hover .elementor-cta__content {
    top: calc(100% - 292px);
}
.service-list:hover .elementor-cta__content .elementor-cta__description {
    margin-top: 0px;
}
.service-list .elementor-cta__button {
    display: flex;
    gap: 8px;
}
.service-list .elementor-cta__button img {
    width: 22px;
}
/*.arrive_box .elementor-cta:hover .elementor-icon svg {
    fill: var(--e-global-color-accent) !important;
}*/

/*About Us*/
.cu-title span {
    font-family: "Giaza", Sans-serif;
    font-size: 90px;
    font-weight: 600;
}
.team-container {
    position: relative;
}
.team-container .elementor-widget-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(56, 95, 88, 0.8) 20%, rgba(56, 95, 88, 0.4) 50%, rgba(56, 95, 88, 0) 60%);
	transition: 0.5s;
}
.team-container .team-text {
    position: absolute;
    bottom: -55%;
    left: 0;
	transition: 0.5s;
}
.team-container:hover .team-text {
    bottom: 0;
}
.team-container .team-text .elementor-widget-text-editor {
    min-height: 210px;
}
.team-container .team-text .elementor-widget-text-editor {
    margin-top: 20px;
    transition: 0.5s;
}
.team-container:hover .team-text .elementor-widget-text-editor {
    margin-top: 0;
}
.team-container .mem-position p {
    font-size: 90% !important;
    transition: 0.8s;
}
.team-container:hover .mem-position p {
    font-size: 100% !important;
}


/*Contact Form*/
#contact-form .wpforms-container-full {
    margin: 0;
}
#contact-form .wpforms-container-full .wpforms-field:not(.wpforms-field-layout) {
    padding: 0;
	margin-bottom: 25px;
}
#contact-form .wpforms-field:not(.wpforms-field-checkbox) label {
    margin: 0;
    font-size: var(--wpforms-field-size-font-size);
    line-height: 100%;
    font-weight: 500;
    position: absolute;
    top: 14px;
    left: 20px;
    background: transparent;
    padding: 3px 5px;
    border-radius: 4px;
	transition: 0.5s;
}
#contact-form .wpforms-field:not(.wpforms-field-checkbox) input {
    min-height: 50px;
    padding: 0 0 0 25px;
}

#contact-form .wpforms-field.active:not(.wpforms-field-checkbox) label {
    top: -10px;
    font-size: 75%;
    background: var(--e-global-color-primary);
    color: var(--e-global-color-accent);
}
#contact-form .wpforms-submit {
    padding: 10px 32px;
	border: 2px solid var(--e-global-color-primary);
    border-radius: 360px;
	color: var(--e-global-color-b757de8);
	font-family: var(--e-global-typography-accent-font-family);
	font-size: var(--e-global-typography-accent-font-size);
	font-weight: var(--e-global-typography-accent-font-weight);
	line-height: var(--e-global-typography-accent-line-height);
	height: unset;
	transition: 0.5s;
}
#contact-form .wpforms-submit:hover {
	color: var(--e-global-color-primary);
	background: var(--e-global-color-b757de8);
}
#contact-form textarea {
    min-height: 150px;
}
#contact-form input[type=checkbox]:before {
    border-radius: 50%;
}
.wpforms-field-checkbox .wpforms-field-required .wpforms-field-label-inline a {
    color: var(--e-global-color-primary);
}


@media all and (max-width: 770px) {
	.cu-title span {
		font-size: 45px;
	}
	.sub-heading span {
		font-size: 36px;
	}
	.team-container:hover .team-text .elementor-widget-text-editor {
		min-height: 0px;
	}
}

@media all and (max-width: 440px) {
	.cu-title span {
		font-size: 36px;
	}
}

@media all and (max-width: 380px) {
	.team-container .elementor-widget-image:after {
		background: linear-gradient(0deg, rgba(56, 95, 88, 0.8) 20%, rgba(56, 95, 88, 0.4) 55%, rgba(56, 95, 88, 0) 70%);
	}
	.team-container.nicole .team-text {
		bottom: -60%;
	}
	.team-container.patrizia .team-text {
		bottom: -60%;
	}
	.team-container.sarah .team-text {
		bottom: -66%;
	}
	.team-container.nicole:hover .team-text,
	.team-container.sarah:hover .team-text,
	.team-container.patrizia:hover .team-text {
		bottom: 0;
	}
}