/*-------------------------------------------------------------
# PAGINA DELLE NEWS
-------------------------------------------------------------*/
.preview-news-dx{
    float: right;
    margin: 0 0 1rem 2rem;
    max-height: 35vh;
    object-fit: cover;
    border-radius: 0.7rem;
}

.preview-news-sx{
    float: left;
    margin: 0 2rem 1rem 0;
    max-height: 35vh;
    object-fit: cover;
    border-radius: 0.7rem;
}

.news-data{
    font-family: var(--holzhof-font-family-roboto);
    font-style: var(--holzhof-font-style-normal);
    letter-spacing: var(--holzhof-character-spacing-0);
    font-weight: var(--holzhof-font-weight-bold);
    font-size: var(--holzhof-font-size-18);
    line-height: var(--holzhof-line-spacing-28);
    color: var(--holzhof-color-grey);
    text-transform: none;
    text-decoration: underline;
    height: 2rem;
}



/*-------------------------------------------------------------
# NEWSLETTER
--------------------------------------------------------------*/
.newsletter {
    min-height: 30vh;
    background-color: var(--holzhof-color-light-grey);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--holzhof-color-grey);
    text-align: center;

    .iscrizione-newsletter {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-content: center;
        width: 50%;

        .email-input {
            width: 65%;
            height: 3rem;
            border-radius: 3rem;
            border: 1px solid var(--holzhof-color-grey);
            padding: 0px 1rem 0px 1rem;
            font-family: var(--holzhof-font-family-roboto);
            font-style: var(--holzhof-font-style-normal);
            letter-spacing: var(--holzhof-character-spacing-0);
            font-weight: var(--holzhof-font-weight-normal);
            font-size: var(--holzhof-font-size-16);
            line-height: var(--holzhof-line-spacing-28);
            background-color: var(--holzhof-color-light-grey);
            color: var(--holzhof-color-grey);
            outline: none;

            &:focus{
                border: 2px solid var(--holzhof-color-grey);
            }
        }

        .invia-email {
            background: url("../images/pulsante_green.png") no-repeat;
            background-size: 20%;
            background-position: center;
            transition: 0.3s;
            border-radius: 3rem;
            border: 2px solid var(--holzhof-color-green);
            height: 3rem;
            width: 5rem;
            margin-left: 1vw;
    
            &:hover {
                background: url("../images/pulsante_white.png") no-repeat;
                background-size: 20%;
                background-position: center;
                transition: 0.3s;
                background-color: var(--holzhof-color-green);
            }
        }
    }
}

.news-section {
    height: 70vh;
    width: 100%;
    background-color: var(--holzhof-color-green);
    background-image: url("../svg/solo-bordo.svg");
    background-size: 80%;
    background-repeat: no-repeat;
    background-position-y: 98%;
    background-position-x: -20%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
    align-items: center;

    .svg-clip-path {
        width: 0px;
        height: 0px;
    }

    img {
        clip-path: url("#clipPath-fiore");
        width: auto;
        height: 100%;
        align-self: flex-end;
        overflow: hidden;
	object-fit: cover;
    }

    .news-preview {
        height: 80%;
        width: 30%;
        min-width: 30rem;
        margin-left: 3rem;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        background-color: var(--holzhof-color-green);
        background-image: repeating-linear-gradient(90deg, var(--holzhof-color-white), var(--holzhof-color-white) 3px, transparent 3px, transparent 11px), repeating-linear-gradient(180deg, var(--holzhof-color-white), var(--holzhof-color-white) 3px, transparent 3px, transparent 11px), repeating-linear-gradient(90deg, var(--holzhof-color-white), var(--holzhof-color-white) 3px, transparent 3px, transparent 11px), repeating-linear-gradient(180deg, var(--holzhof-color-white), var(--holzhof-color-white) 3px, transparent 3px, transparent 11px);
        background-position: left top, right top, left bottom, left top;
        background-repeat: repeat-x, repeat-y, repeat-x, repeat-y;
        background-size: 100% 2px, 2px 100%, 100% 2px, 2px 100%;
        border-radius: 10px;
    }

    .mostra-news {
        width: 100%;
        padding: 0rem 3rem 0rem 3rem;
        background-image: url(../images/pulsante_white_xl.png);
        background-position-x: 90%;
        background-repeat: no-repeat;
        background-size: contain;

        .vedi-tutte {
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            transition: 0.3s;
            border-radius: 3rem;
            border: 1px solid var(--holzhof-color-white);
            height: 3rem;
            width: 50%;
            text-align: center;
            margin: 0px;
            text-transform: uppercase;
            font-family: var(--holzhof-font-family-roboto);
            font-style: var(--holzhof-font-style-normal);
            letter-spacing: var(--holzhof-character-spacing-0);
            font-weight: var(--holzhof-font-weight-normal);
            font-size: var(--holzhof-font-size-16);
            line-height: var(--holzhof-line-spacing-28);
            color: var(--holzhof-color-white);
            background-color: var(--holzhof-color-green);
    
            &:hover {
                transition: 0.3s;
                background-color: var(--holzhof-color-white);
                color: var(--holzhof-color-green);
            }
        }
    }

    .ultime-news {
        width: 100%;
        padding: 1.5rem 3rem 1.5rem 3rem;

        .markdown{
            margin: 0rem 0rem 0rem 1.5rem;

            h1{
                margin-top: 7vh;
                font-family: var(--holzhof-font-family-roboto);
                font-style: var(--holzhof-font-style-normal);
                letter-spacing: var(--holzhof-character-spacing-0);
                font-weight: var(--holzhof-font-weight-bold);
                font-size: var(--holzhof-font-size-50);
                line-height: var(--holzhof-line-spacing-58);
                color: var(--holzhof-color-white);
                text-transform: uppercase;
                text-decoration: none;
                position: relative;
                opacity: 1;
            }
        
            em{
                font-style: var(--holzhof-font-style-normal);
                color: var(--holzhof-color-grey);
                text-decoration: none;
            }
        
            h2{
                font-family: var(--holzhof-font-family-roboto);
                font-style: var(--holzhof-font-style-normal);
                letter-spacing: var(--holzhof-character-spacing-0);
                font-weight: var(--holzhof-font-weight-normal);
                font-size: var(--holzhof-font-size-32);
                line-height: var(--holzhof-line-spacing-38);
                color: var(--holzhof-color-white);
                text-transform: none;
                text-decoration: none;
                position: relative;
                opacity: 1;
            }
        
            h3{
                font-family: var(--holzhof-font-family-roboto);
                font-style: var(--holzhof-font-style-normal);
                letter-spacing: var(--holzhof-character-spacing-0);
                font-weight: var(--holzhof-font-weight-normal);
                font-size: var(--holzhof-font-size-26);
                line-height: var(--holzhof-line-spacing-30);
                color: var(--holzhof-color-white);
                text-transform: none;
                text-decoration: none;
                position: relative;
                opacity: 1;
            }
        
            p{
                font-family: var(--holzhof-font-family-roboto);
                font-style: var(--holzhof-font-style-normal);
                letter-spacing: var(--holzhof-character-spacing-0);
                font-weight: var(--holzhof-font-weight-normal);
                font-size: var(--holzhof-font-size-16);
                line-height: var(--holzhof-line-spacing-28);
                color: var(--holzhof-color-white);
                text-transform: none;
                text-decoration: none;
                position: relative;
                opacity: 1;
            }
        
            strong{
                font-style: var(--holzhof-font-style-normal);
                font-weight: var(--holzhof-font-weight-bold);
            }
        
            ul{
                font-family: var(--holzhof-font-family-roboto);
                font-style: var(--holzhof-font-style-normal);
                letter-spacing: var(--holzhof-character-spacing-0);
                font-weight: var(--holzhof-font-weight-normal);
                font-size: var(--holzhof-font-size-16);
                line-height: var(--holzhof-line-spacing-28);
                color: var(--holzhof-color-white);
                text-transform: none;
                text-decoration: none;
        
                li {
                    font-family: var(--holzhof-font-family-roboto);
                    font-style: var(--holzhof-font-style-normal);
                    letter-spacing: var(--holzhof-character-spacing-0);
                    font-weight: var(--holzhof-font-weight-normal);
                    font-size: var(--holzhof-font-size-16);
                    line-height: var(--holzhof-line-spacing-28);
                    color: var(--holzhof-color-white);
                    text-transform: none;
                    text-decoration: none;
                    list-style: none;
                }

                li::before {
                    content: '';
                    display: inline-block;
                    height: 1rem;
                    width: 1.5rem;
                    background-image: url("../svg/fiore-pieno.svg");
                    background-size: 0.7rem;
                    background-repeat: no-repeat;
                    background-position-y: bottom;
                }
            }
        
            a{
                color: var(--holzhof-color-grey);
                font-size: var(--holzhof-font-size-16);
                line-height: var(--holzhof-line-spacing-28);
                height: max-content;
                width: max-content;
        
                &:hover{
                    color: var(--holzhof-color-grey);
                }
            }
        }

        a {
            font-family: var(--holzhof-font-family-roboto);
            font-style: var(--holzhof-font-style-normal);
            letter-spacing: var(--holzhof-character-spacing-0);
            font-weight: var(--holzhof-font-weight-normal);
            font-size: var(--holzhof-font-size-16);
            line-height: var(--holzhof-line-spacing-28);
            color: var(--holzhof-color-white);
            margin: 0rem 0rem 0rem 0.5rem
        }

        p {
            font-family: var(--holzhof-font-family-roboto);
            font-style: var(--holzhof-font-style-normal);
            letter-spacing: var(--holzhof-character-spacing-0);
            font-weight: var(--holzhof-font-weight-normal);
            font-size: var(--holzhof-font-size-16);
            line-height: var(--holzhof-line-spacing-28);
            color: var(--holzhof-color-white);
            margin: 0rem 0rem 0rem 1.5rem
        }

        .titolo-news {
            display: flex;
            flex-direction: row;
            justify-content: left;
            height: max-content;
            margin-bottom: 1rem;
        }

        .riga-sx-news {
            height: auto;
            width: 1rem;
            min-width: 15px;
            border-top-left-radius: 1vw;
            border-top-right-radius: 1vw;
            background-color: var(--holzhof-color-white);
        }

        .punto-sx-news {
            height: auto;
            width: 1rem;
            min-width: 15px;
            border-radius: 1vw;
            background-color: var(--holzhof-color-white);
        }

        .maggiori-info {
            display: flex;
            flex-direction: row;
            justify-content: left;
        }
    }
}



/*--------------------------------------------------------------
# About-green sezione
--------------------------------------------------------------*/

.about-green {

   background: url("../svg/symbol_dotten_white.svg") no-repeat;
    background-size: 110%;
    background-position: -800px;
   /* background: url("../svg/solo-bordo.svg") no-repeat;*/
    background-attachment: local;
    height: 700px;
    background-color: var(--holzhof-color-green);
}

.clipped {
    clip-path: url(#blob);
    top: -350px;
    left: -150px;
    position: relative;
}

.about-green .lo_sfondo {
    position: relative;
    top: -500px;
    margin: -500px 0px 0px 700px;

}

.about-green .right {
    flex-direction: column;
    margin-left: 40%;
    margin-top: -8% ;


}


.about-green .barra_white {
    background: url("../images/barra_white.png") no-repeat;
    background-size: 70%;
    height: 75px;
    width: 20px;
    position: relative;

}

/* Testi sinitra */
.about-green .titolo-sx {
    background-color: var(--holzhof-color-green);
    /*border: 2px dotted var(--holzhof-color-white);*/
    background-image: repeating-linear-gradient(90deg, var(--holzhof-color-white), var(--holzhof-color-white) 3px, transparent 3px, transparent 11px), repeating-linear-gradient(180deg, var(--holzhof-color-white), var(--holzhof-color-white) 3px, transparent 3px, transparent 11px), repeating-linear-gradient(90deg, var(--holzhof-color-white), var(--holzhof-color-white) 3px, transparent 3px, transparent 11px), repeating-linear-gradient(180deg, var(--holzhof-color-white), var(--holzhof-color-white) 3px, transparent 3px, transparent 11px);
    background-position: left top, right top, left bottom, left top;
    background-repeat: repeat-x, repeat-y, repeat-x, repeat-y;
    background-size: 100% 2px, 2px 100%, 100% 2px, 2px 100%;
    border-width: 3px;
    border-radius: 10px;
    opacity: 1;
    padding: 10px;
    margin: 70px 30px 0px 0px;
    padding: 50px 20px 50px 20px;
    position: relative;
    left: -5%;
}

.about-green .titolo-sx p {
    font-size: 22px;

    padding: 0;
    text-align: left;
    margin: -80px 60px 50px 40px;
    letter-spacing: 0px;
    color: var(--holzhof-color-white);
    opacity: 1;
}

.about-green .titolo-sx .ps {
    font-size: 16px;
    font-weight: 300;
    padding: 0;
    text-align: left;
    margin: -40px 60px 50px 40px;
    letter-spacing: 0px;
    color: var(--holzhof-color-white);
    opacity: 1;
}



/*----------------------------------------------------------
                        VISTA MOBILE
----------------------------------------------------------*/
@media (max-width: 999px){
    .newsletter{
        h3{
            padding: 0 0.7rem 0 0.7rem;
        }

        .iscrizione-newsletter{
            width: 100%;
        }
    }


}

@media (max-width: 900px){
    .news-section {
        align-items: center;
        justify-content: center;
        padding: 0 1rem 0 1rem;
        height: auto;
        min-height: 70vh;

        img{
            display: none;
        }

        .news-preview{
            width: auto;
            min-width: auto;
            min-height: 55vh;
            margin: 0;

            .ultime-news{
                padding: 1rem;
            }
        }

        .mostra-news{
            margin-bottom: 1rem;
            padding: 0 0 0 1rem;

            .vedi-tutte{
                width: fit-content;
                padding: 0 0.5rem 0 0.5rem;
            }
        }
    }
}