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

Theme Name:   Divi Child Theme
Theme URI:    https://www.elegantthemes.com/gallery/divi/
Description:  This is a Divi child theme.
Author:       Elegant Themes
Author URI:   https://www.elegantthemes.com
Template:     Divi
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html

------------------------------ ADDITIONAL CSS HERE ------------------------------*/

@font-face {
	font-family: 'La Luxes Script';
	src: url('fonts/LaLuxesScript.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'La Luxes Serif';
	src: url('fonts/LaLuxesSerif.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

.la-luxes-script {
	font-family: 'La Luxes Script';
	font-weight: normal;
	font-style: normal;
}

.la-luxes-serif {
	font-family: 'La Luxes Serif';
	font-weight: normal;
	font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'La Luxes Serif', sans-serif;
}


/* LAYOUT STYLES */

.pb-1 {
	padding-bottom: 1em;
}

.pb-2 {
	padding-bottom: 2em;
}

.d-flex {
	display: flex;
}

.align-center {
	text-align: center;
	margin: 0 auto;
}

.align-items-center {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

/* photo layout */
@media only screen and (max-width: 767px) {
	.et_pb_gutters1.et_pb_row .mr-5 {
		margin-right: 5.5% !important;
		width: 47.25% !important;
	}
}

@media only screen and (max-width: 980px) {
	.half-mobile .et_pb_column {
		width: 47.25% !important;
	}
	.half-mobile .et_pb_column:nth-child(2n+1) {
		margin-right: 5.5% !important;
	}	
	.full-mobile {
		width: 100% !important;
		margin: 0 !important;
	}
}

@media only screen and (max-width: 980px) {
	.wrap-reverse {
		display: flex;
		flex-wrap: wrap-reverse;
	}

	.wrap-reverse .et_pb_column:first-child {
		margin-bottom: 0 !important;
	}

	.wrap-reverse .et_pb_column:last-child {
		margin-bottom: 30px !important;
	}
}

@media only screen and (min-width: 768px) {
	.inline-button .et_pb_button_module_wrapper {
		display: inline-block;
	} 
}

.et_pb_text ul li:not(:last-child) {
	margin-bottom: 15px;
}

/* FORMS */

.mb-1 {
	margin-bottom: 1em;
}

.row {
	display: flex;
	margin-bottom: 1em;
}

.column {
	flex: 50%;
	margin-right: 2em;
}

.row .column:last-child {
	margin-right: 0 !important;
}

@media screen and (max-width: 600px) {
	.row {
		flex-direction: column;
	}

	.column {
		width: 100%;
		margin-right: 0 !important;
	}
}

.wpcf7-form-control {
	width: 100% !important;
}

.wpcf7-text, .wpcf7-number {
	height: 62px;
}

.wpcf7-textarea {
	height: 141px;
}

.wpcf7-text, .wpcf7-textarea, .wpcf7-number {
	padding: 1em !important;
	font-size: 16px;
	letter-spacing: 0.8px;
}

#contact-form .wpcf7-text, #contact-form .wpcf7-textarea, #contact-form .wpcf7-number {
	color: #000 !important;
	border: 1px solid #000 !important;
	background: transparent;
}

#contact-form ::-webkit-input-placeholder { /* WebKit browsers */
	color: #000 !important;
	opacity: 1;
}

.wpcf7-submit {
	max-width: 203px;
	margin-right: 0;
	margin-left: auto;
	text-transform: uppercase;
	font-size: 18px;
	font-weight: 600;
	color: #fff;
	background: #2A2F26;
	border: none;
	padding: 15px;
	display: block;
	cursor: pointer;
	transition: all 0.3s;
}

.wpcf7-submit:hover {
	background: #fff;
	color: #2A2F26;
}

@media only screen and (max-width: 980px) {
	.wpcf7-submit {
		margin: 0 auto;
	}
}

/* HOME */

.welcome-div{
	display:flex;
	flex-direction:row;
	align-items: center;
}
.welcome-title{
	flex-grow:0;
	margin-right: 2.5%;
}

.welcome-divider{
	flex-grow:1;
	height: 2px;
	background-color: #fff;
}

/* VILLA */
@media only screen and (min-width: 981px) {
	.villa-carousel {
		overflow: visible;
		position: relative;
	}

	.villa-carousel .swiper-slide {
		transition: transform 0.3s ease, opacity 0.3s ease;
		transform: scale(0.9);
		opacity: 0.7;
	}

	.villa-carousel .swiper-slide-next {
		transform: scale(1.2);
		opacity: 1;
		z-index: 2;
	}

	.villa-carousel .swiper-slide img {
		width: 100%;
		height: auto;
		object-fit: cover;
	}

	.villa-carousel .dipl_swiper_navigation, .villa-carousel .dipl_swiper_pagination {
		display: none;
	}
}

.w-90 > div {
	width: 100%;
	margin: auto;
}

@media only screen and (min-width: 981px) {
	.w-90 > div {
		width: 90%;
		margin: auto;
	}
}

.custom-section {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.8s ease, padding 0.4s ease;
	padding: 0;
}

.custom-section.section-open {
	max-height: 6000px;
}

.trigger-section-button {
	background: #617157;
	border: none;
	color: #fff;
	font-size: 18px;
	text-transform: uppercase;
	font-weight: 600;
	padding: 15px 45px;
	display: block;
	cursor: pointer;
}