/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 4.27.4.1742843548
Updated: 2025-03-24 19:12:28

*/

/* Typography */
h1,h2,h3,h4,h5,h6,body,html{
    font-family: 'MinervaModern';
}


/* Gallery elements */
.gallery-slider-wrapper .et-pb-controllers a {
    background: #fff !important;
    height: 1px;
    width: 20px;
}

.gallery-slider-wrapper .et-pb-controllers {
    top: 20px;
}

.gallery-slider-wrapper .et-pb-slider-arrows a {
    color: #fff!important;
}

/* form */
.contact-form-input input, .contact-form-input textarea {
    background: unset;
    border: 2px solid #fff !important;
    border-radius: 50px;
    padding: 12px;
    width: 100%;
    color: #fff !important;
}

.contact-form-input textarea {
    max-height: 40px;
    height: 100%;
    overflow: hidden;
}
.contact-form-input label {
    color: #fff;
    text-align: center;
    width: 100%;
    display: block;
}

.contact-form-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form-action input {
    padding: 8px 20px;
    font-size: 20px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: 300ms;
    min-width: 200px;
    border: none;
    margin: 0 auto;
    display: flex;
    background: #C3DECA;
    color: #285F60;
    font-weight: bold;
}

.contact-form-action input:hover {
    transition: 300ms;
    background: #fff;
    color: #285F60;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    max-width: 90%;
    margin: 0 auto;
}

.footer-legal-links a{
    text-transform: uppercase;
    color: #000;
    font-size: 13px;
}
.bottom-footer a {
    color: unset;
}
.footer-main a {
    color: unset;
}
.contact-form-optin label {
    display: flex;
    gap: 20px;
    width: 100%;
}
.contact-form-optin {
    color: #fff;
    font-size: 10px;
    line-height: 14px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
    text-wrap: balance;
    max-width: 500px;
    margin: 20px auto 20px;
}
.contact-form-optin span {
    width: 100%;
    display: flex;
}
.footer-main .wpcf7-response-output {
    color: #fff!important;
}
@media(min-width: 981px){
    .footer-legal-links {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    max-width: 200px;
    margin: 0 0 0 auto;
}
    .footer-legal-links a{
        font-size: 8px;
    }
    .footer-image-wrapper, .footer-image-wrapper span, .footer-image-wrapper img {
    max-height: 100% !important;
    max-width: max-content!important;
    height: 100% !important;
    width: auto;
    object-fit: cover !important;
}
}


/* Header */
.header-desktop .et_pb_menu_inner_container.clearfix {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.header-desktop .et_pb_menu__wrap {
    display: flex!important;
    justify-content: flex-end!important;
    width: 100%;
}

.header-desktop .current-menu-item a{
    font-weight: bold;
}

.header-desktop .clearfix:after{
    display: none;
}

ul#menu-menu-principale {
    display: flex;
    gap: 10px;
}

/* Footer */
.footer-image-wrapper img, .footer-image-wrapper span {
    width: 100% !important;
    object-fit: cover;
    height: 100%;
    display: block;
    max-width: 100%!important;
}

/* Home hero video */
.absolute-row-with-video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;
}

.absolute-row-with-video iframe{
	width: 100vw;
	height: 100vh;
}


/**/
.blog-last-post-wrapper {
    height: 100vh;
    max-height: 500px;
    padding: 60px 20px;
    position: relative;
    background-color: #0000005c;
    background-blend-mode: overlay;
    background-position: center;
    background-size: cover;
}

.news-title {
    font-size: 32px;
    color: #fff;
    line-height: 1;
    position: relative;
    top: 0;
}
.news-text {
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.news-text h4 {
    color: #fff;
    font-size: 36px;
}
.news-text a {
    color: #fff;
    text-decoration: underline;
}

@media(min-width: 981px){
   .blog-last-post-wrapper {
    padding: 50px;
} 
}

/*Popup*/
div#sgpb-popup-dialog-main-div {
    background-image: url(/wp-content/uploads/2025/03/pattern-mare.jpg);
    background-size: cover;
    background-position: center;
}