/*
Theme Name: Hello Elementor Child
Theme URI: https://wp-themes.com/hello-elementor
Author: ChildThemeWP.com
Author URI: https://childthemewp.com
Description: My WordPress Hello Elementor child theme.
Template: hello-elementor
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Version: 1.0.0
Text Domain: hello-elementor-child
*/

.img-to-white img {
	filter: brightness(0) invert(1);
}

.header-design.scrolled {
	background-color: #07384b;
}

.hamburger-menu {
    cursor: pointer;
}

.form-fields input, .form-fields select, .form-fields textarea {
    background-color: #F1F1F1;
    border: none !important;
    padding: 15px;
}

.form-submit input {
    width: 100%;
    background-color: #D2AE96 !important;
    border: none !important;
    padding: 15px 15px;
    color: #ffffff;
    text-transform: uppercase;
}

.form-fields textarea {
    height: 150px;
}

.form-fields span.wpcf7-list-item.first.last {
    margin-left: 0 !important;
}

.custom-testimonials-slider {
    width: 100%;
    max-width: 100%;
    position: relative;
    text-align: center;
}

/* Slides container */
.testimonial-slides {
    position: relative;
    width: 100%;
    min-height: 180px;
    overflow: hidden;
}

/* Individual slide */
.testimonial-slide {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity 0.5s ease,
        transform 0.5s ease,
        visibility 0.5s ease;
}

/* Active slide */
.testimonial-slide.active {
    position: relative;

    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

/* Testimonial text */
.testimonial-content {
    max-width: 750px;
    margin: 0 auto;

    padding: 20px 20px 30px;

    font-size: 24px;
    line-height: 1.5;

    font-weight: 400;
    font-style: italic;

    color: #8a8a8a;
}

.testimonial-dots button.testimonial-dot {
    width: 10px !important;
    height: 10px !important;
    padding: 0 !important;
    border-radius: 50%;
    background-color: #D2AE96;
    border: none !important;
}

.testimonial-dots button.testimonial-dot.active {
    background-color: #cccccc;
}

/* Dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 12px;

    margin-top: 45px;
}

/* Individual dot */
.testimonial-dot {
    width: 10px;
    height: 10px;

    padding: 0;
    margin: 0;

    border: 0;
    border-radius: 50%;

    background: #cccccc;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.wpbs-legend {
    position: relative !important;
    width: 100% !important;
}

.wpbs-calendars-wrapper {
    padding-right: 0 !important;
}

.wpbs-calendar {
    width: 99% !important;
    max-width: 100% !important;
}

.wpbs-legend {
    display: flex;
    gap: 20px;
}

.wpbs-container.wpbs-calendar-1 .wpbs-legend-item-icon-2 div:first-of-type {
    background-color: #D2AE96 !important;
}

.wpbs-container.wpbs-calendar-1 .wpbs-legend-item-icon-1 div:first-of-type {
    background-color: #eaeaea !important;
}

.cf7-date-field {
    position: relative;
}

.cf7-date-field .date-placeholder {
    position: absolute;
    left: 15px;
    top: 21px;
    transform: translateY(-50%);
    color: #555;
    font-size: 16px;
    pointer-events: none;
    z-index: 10;
    width: 150px;
    height: 40px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
}

.cf7-date-field input[type="date"] {
    position: relative;
    z-index: 1;
    background: #fff;
}

/* Hide the native dd/mm/yyyy text */
.cf7-date-field input[type="date"] {
    color: transparent;
}

/* Show selected date */
.cf7-date-field input[type="date"].has-value {
    color: #333;
}


/* Active dot */
.testimonial-dot.active {
    background: #000000;
    transform: scale(1);
}

/* Hover */
.testimonial-dot:hover {
    background: #777777;
}

@media only screen and (min-width:768px){
	
	.form--two-columns {
		display: flex;
		flex-wrap: wrap;
		gap: 20px;
	}
	
	.form--two-columns .form-fields {
		width: calc(100% / 2 - 20px);
	}
	
	.form-fields {
		width: calc(100% - 20px);
	}
	
}

/* Mobile */
@media (max-width: 767px) {
	
	.header-design.scrolled, .header-design {
		background-color: #07384b !important;
	}

    .testimonial-slides {
        min-height: 160px;
    }

    .testimonial-content {
        font-size: 18px;
        line-height: 1.5;
        padding: 15px;
    }

    .testimonial-dots {
        gap: 9px;
        margin-top: 30px;
    }

    .testimonial-dot {
        width: 8px;
        height: 8px;
    }
}

/* End */

.custom-image-slider {
    position: relative;
    width: 100%;
    max-width: 670px;
    margin: 0 auto;
    overflow: hidden;
}

.slider-track {
    position: relative;
    width: 100%;
    aspect-ratio: 670 / 750;
    overflow: hidden;
}

.slider-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
}

.slider-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* ARROWS */
.slider-arrows {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: flex;
    gap: 2px;
}

.slider-arrows button {
    width: 65px;
    height: 55px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #063e56;
    color: #fff;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: Arial, sans-serif;
    font-size: 40px;
    font-weight: 300;
    line-height: 1;

    transition: background .3s ease;
}

.slider-arrows button:hover {
    background: #082f40;
}


/* TABLET */
@media (max-width: 768px) {

    .slider-track {
        aspect-ratio: 4 / 5;
    }

    .slider-arrows button {
        width: 55px;
        height: 50px;
        font-size: 34px;
    }
}


/* MOBILE */
@media (max-width: 480px) {

    .slider-track {
        aspect-ratio: 4 / 5;
    }

    .slider-arrows button {
        width: 48px;
        height: 45px;
        font-size: 30px;
    }
}

/* End */