.grid-items-azienda {
    width: 100%;
    padding: 0px 16% 0px 16%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: max-content;
    grid-row-gap: 2rem;
    column-gap: 3rem;
    margin-bottom: 4rem;
    margin-top: 5vh;
}

.items-azienda {
    display: flex;
    flex-direction: column;

    img {
        height: 7rem;
        width: 7rem;
        object-fit: cover;
        margin: 0px 0px 1rem 0px;
    }

    h4 {
        font-size: var(--holzhof-font-size-26);
        font-family: var(--holzhof-font-family-roboto);
        font-weight: var(--holzhof-font-weight-normal);
        line-height: var(--holzhof-line-spacing-30);
        font-style: var(--holzhof-font-style-normal);
        color: var(--holzhof-color-grey);
        margin: 0px 0px 1rem 0px;
    }

    p {
        font-size: var(--holzhof-font-size-16);
        font-family: var(--holzhof-font-family-roboto);
        font-weight: var(--holzhof-font-weight-normal);
        line-height: var(--holzhof-line-spacing-28);
        font-style: var(--holzhof-font-style-normal);
        color: var(--holzhof-color-grey);
        margin: 0px 0px 1rem 0px;
    }
}



/*-------------------------------------------------------------
# CERTIFICAZIONI
-------------------------------------------------------------*/

.items-certificazioni {
    display: grid;
    grid-template-columns: calc(25% - 3%) calc(25% - 3%) calc(25% - 3%) calc(25% - 3%);
    grid-column-gap: 4%;
    grid-row-gap: 6vh;
    grid-auto-rows: 45vh;
    margin-bottom: 7vh;
    margin-top: 5vh;

    .item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        height: 100%;
        width: 100%;
        background-image: repeating-linear-gradient(90deg, var(--holzhof-color-green), var(--holzhof-color-green) 3px, transparent 3px, transparent 11px), repeating-linear-gradient(180deg, var(--holzhof-color-green), var(--holzhof-color-green) 3px, transparent 3px, transparent 11px), repeating-linear-gradient(90deg, var(--holzhof-color-green), var(--holzhof-color-green) 3px, transparent 3px, transparent 11px), repeating-linear-gradient(180deg, var(--holzhof-color-green), var(--holzhof-color-green) 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;
        padding: 3vh;

        img {
            /*height: 70%;
            max-width: 100%;
            align-self: center;
            border-radius: 10px;
            object-fit: cover;*/
            flex-grow: 1;
            width: 100%;
            max-width: 100%;
            align-self: center;
            border-radius: 10px;
            object-fit: contain !important;
            overflow: hidden;
            margin-bottom: 2rem;
        }

        .testo-bottone {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            font-style: var(--holzhof-font-style-normal);
            font-weight: var(--holzhof-font-weight-bold);
            font-family: var(--holzhof-font-family-roboto);
            letter-spacing: var(--holzhof-character-spacing-0);
            width: 100%;
	    flex-wrap: wrap;

            h3 {
                font-size: var(--holzhof-font-size-24);
                line-height: var(--holzhof-line-spacing-38);
                color: var(--holzhof-color-grey);
                text-align: left;
                opacity: 1;
                text-transform: uppercase;
                margin: 0px;
            }

            .button {
                background: url("../images/pulsante_green.png") no-repeat;
                background-size: 20%;
                background-position: 35px;
                transition: 0.3s;
                border-radius: 27px;
                border: 2px solid var(--holzhof-color-green);
                margin: 0px 0px 0px 0px;
                height: 50px;
                width: 90px;

                &:hover {
                    background: url("../images/pulsante_white.png") no-repeat;
                    background-size: 20%;
                    background-position: 35px;
                    transition: 0.3s;
                    border-radius: 27px;
                    background-color: var(--holzhof-color-green);
                }
            }
        }
    }
}


/*---------------------------------------------------------------
# CONTATTACI
---------------------------------------------------------------*/

.contattaci {
    background-image: url("../svg/bordo-fiore-dotted-verde.svg");
    background-position-x: left;
    background-position-y: calc(100% + 25vh);
    background-repeat: no-repeat;
    background-size: 45vw;
    height: fit-content;
    width: 100%;
    display: flex;
    flex-direction: row;
    padding-left: 15%;
    padding-right: 15%;
    text-align: left;
    font-family: var(--holzhof-font-family-roboto);
    font-weight: var(--holzhof-font-weight-normal);
    font-style: var(--holzhof-font-style-normal);
    letter-spacing: var(--holzhof-character-spacing-0);
    opacity: 1;
    align-items: stretch;

    .left {
        width: 50%;
        padding-right: 4vw;
        display: grid;
        align-items: start;
    }

    .right {
        display: grid;
        align-items: start;
        grid-row-gap: 2rem;
        padding-top: 7vh;
        margin-bottom: 7vh;
        grid-auto-rows: min-content;

        input {
            height: 3.5rem;
            border-radius: 0.7rem;
            background-color: var(--holzhof-color-light-grey);
            width: 100%;
            border: none;
            padding: 0 1rem 0 1rem;

            &:focus-visible {
                border: 2px solid var(--holzhof-color-light-grey);
            }
        }

        select {
            height: 3.5rem;
            border-radius: 0.7rem;
            background-color: var(--holzhof-color-light-grey);
            width: 100%;
            border: none;
            padding: 0 1rem 0 1rem;

            &:focus-visible {
                border: 2px solid var(--holzhof-color-light-grey);
            }
        }

        textarea {
            height: 11rem;
            border-radius: 0.7rem;
            background-color: var(--holzhof-color-light-grey);
            width: 100%;
            border: none;
            padding: 1rem 1rem 1rem 1rem;

            &:focus-visible {
                border: 2px solid var(--holzhof-color-light-grey);
            }
        }

        .checkbox-contattaci{
            margin-bottom: 2vh;
            display: flex;
            grid-column-gap: 1vw;
            align-items: center;
            margin: 0;
        
            p{
                margin: 0 !important;
            }
        
            input[type="checkbox"] {
                padding: 12px 15px;
                font-size: 1rem;
                border: 1px solid;
                border-radius: 10px;
                outline: none;
                transition: border-color 0.3s;
                accent-color: var(--holzhof-color-green);
                height: 1.5rem;
                width: 1.5rem;
            }
        }

        .invia-contattaci{
            justify-self: end;
            font-style: var(--holzhof-font-style-normal);
            font-weight: var(--holzhof-font-weight-bold);
            font-family: var(--holzhof-font-family-roboto);
            letter-spacing: var(--holzhof-character-spacing-0);
            font-size: var(--holzhof-font-size-24);
            line-height: var(--holzhof-line-spacing-38);
            color: var(--holzhof-color-grey);
            background-color: var(--holzhof-color-white);
            text-align: center;
            opacity: 1;
            transition: 0.3s;
            border-radius: 27px;
            border: 1px solid var(--holzhof-color-green);
            padding: 5px 4vw 5px 4vw;
            width: fit-content;

            &:hover {
                transition: 0.3s;
                background-color: var(--holzhof-color-green);
                color: var(--holzhof-color-white);
            }
        }
    }
}


/*--------------------------------------------------------------------
# CONTATTI
--------------------------------------------------------------------*/

.container-contatti{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-auto-rows: max-content;
    grid-gap: 2rem;
    row-gap: 1rem;

    .contatto{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        background-image: repeating-linear-gradient(90deg, var(--holzhof-color-green), var(--holzhof-color-green) 3px, transparent 3px, transparent 11px), repeating-linear-gradient(180deg, var(--holzhof-color-green), var(--holzhof-color-green) 3px, transparent 3px, transparent 11px), repeating-linear-gradient(90deg, var(--holzhof-color-green), var(--holzhof-color-green) 3px, transparent 3px, transparent 11px), repeating-linear-gradient(180deg, var(--holzhof-color-green), var(--holzhof-color-green) 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;
        padding: 1rem;
        text-align: center;
        font-family: var(--holzhof-font-family-roboto);
        font-weight: var(--holzhof-font-weight-normal);
        line-height: var(--holzhof-line-spacing-28);
        font-style: var(--holzhof-font-style-normal);
        color: var(--holzhof-color-grey);

        .dipartimento{
            font-size: var(--holzhof-font-size-14);
            margin: 0 0 1rem 0;
        }

        .nominativo{
            font-size: var(--holzhof-font-size-24);
            margin: 0;
        }

        .telefono{
            font-size: var(--holzhof-font-size-16);
            margin: 0;
        }

        .email{
            font-size: var(--holzhof-font-size-16);
            color: var(--holzhof-color-green);
            margin: 0;
        }
    }
}

/*--------------------------------------------------------
                        MAPPA
--------------------------------------------------------*/
.container-mappa{
    display: flex;
    justify-content: center;
    margin-bottom: 7vh;

    .mappa{
        width: 68%;
        height: 40vh;
        border: 0;
    }
}


/*--------------------------------------------------------
                    LAVORA CON NOI
--------------------------------------------------------*/
.lavora-con-noi{
    display: grid;
    align-items: start;
    grid-row-gap: 2rem;
    padding-top: 7vh;
    margin-bottom: 7vh;
    grid-auto-rows: min-content;
    grid-template-columns: auto 1fr;
    grid-column-gap: 1vw;

    h2{
        grid-column: 2;
    }

    input {
        height: 3.5rem;
        border-radius: 0.7rem;
        background-color: var(--holzhof-color-light-grey);
        width: 100%;
        border: none;
        padding: 0 1rem 0 1rem;
        grid-column: 2;

        &:focus-visible {
            border: 2px solid var(--holzhof-color-light-grey);
        }
    }

    select {
        height: 3.5rem;
        border-radius: 0.7rem;
        background-color: var(--holzhof-color-light-grey);
        width: 100%;
        border: none;
        padding: 0 1rem 0 1rem;
        grid-column: 2;

        &:focus-visible {
            border: 2px solid var(--holzhof-color-light-grey);
        }
    }

    textarea {
        height: 11rem;
        border-radius: 0.7rem;
        background-color: var(--holzhof-color-light-grey);
        width: 100%;
        border: none;
        padding: 1rem 1rem 1rem 1rem;
        grid-column: 2;

        &:focus-visible {
            border: 2px solid var(--holzhof-color-light-grey);
        }
    }
}

.consenso-privacy-lcn{
    margin-bottom: 2vh;
    display: flex;
    grid-column-gap: 1vw;
    align-items: center;

    p{
        margin: 0 !important;
    }

    input[type="checkbox"] {
        padding: 12px 15px;
        font-size: 1rem;
        border: 1px solid;
        border-radius: 10px;
        outline: none;
        transition: border-color 0.3s;
        accent-color: var(--holzhof-color-green);
        height: 1.5rem;
        width: 1.5rem;
    }
}

.invia-candidatura{
    float: right;
    font-style: var(--holzhof-font-style-normal);
    font-weight: var(--holzhof-font-weight-bold);
    font-family: var(--holzhof-font-family-roboto);
    letter-spacing: var(--holzhof-character-spacing-0);
    font-size: var(--holzhof-font-size-24);
    line-height: var(--holzhof-line-spacing-38);
    color: var(--holzhof-color-grey);
    background-color: var(--holzhof-color-white);
    text-align: center;
    opacity: 1;
    transition: 0.3s;
    border-radius: 27px;
    border: 1px solid var(--holzhof-color-green);
    padding: 5px 4vw 5px 4vw;

    &:hover {
        transition: 0.3s;
        background-color: var(--holzhof-color-green);
        color: var(--holzhof-color-white);
    }
}

.testo-sotto{
    align-content: baseline;
    margin-bottom: 7vh;
}

/*--------------------------------------------------------
                        VISTA MOBILE
--------------------------------------------------------*/
@media (min-width: 999px) and (max-width: 1800px){
    /* RIQUADRI CERTIFICAZIONI (tablet) */
        .items-certificazioni{
            grid-template-columns: calc(50% - 3%) calc(50% - 3%);
            width: 100%;
        }
    }

@media (max-width: 1199px){
/* PARAGRAFI CON ICONA (pagina azienda e certificazioni) */
    .grid-items-azienda{
        grid-template-columns: 1fr;
    }

    .items-azienda{
        align-items: center;
    }

/* RIQUADRI CERTIFICAZIONI */
    .items-certificazioni{
        grid-template-columns: 1fr;
        width: 100%;
    }
    .container-contatti{
        grid-template-columns: auto auto;
    }
    .contattaci{
        flex-direction: column;
        height: auto;
        .left{
            width: 100%;
        }
        .right{
            width: 100%;
        }
    }
    
}
@media (max-width: 500px){

    .container-contatti{
        grid-template-columns: auto;
    }

    .container-mappa .mappa{
        width: 100%;
    }

    .lavora-con-noi{
        grid-template-columns: 1fr;
        grid-row-gap: 0rem;

        h2{
            grid-column: 1;
        }

        input{
            grid-column: 1;
        }

        select{
            grid-column: 1;
        }

        textarea{
            grid-column: 1;
        }

        p{
            margin-top: 2rem;
        }
    }
}


