/* Large Desktop */
@media only screen and (max-width : 1200px) {
#menu-principale li {
    margin: 0px;
}

    .primo-paragrafo p {
        font-size: 16px;
    }

    #rigenerazione p {
        font-size: 15px;
    }

    #icone {
        padding: 15px 0;
    }

    .attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
        width: 200px;
        height: 198px;
    }
    
    footer p {
    font-size: 14px;
}
    
    .alignnone.wp-image-266 {
    width: 100%;
        height: 100%;
}
    
    .alignnone.wp-image-262 {
        width: 100%;
        height: 100%;
}
    
    .alignnone.wp-image-260 {
        width: 100%;
        height: 100%;
}
    
    #il-progetto img {
    height: 410px;
    object-fit: cover;
}
}





/* Desktop */
@media only screen and (max-width : 991px) {

    .post-slider h2 {
        font-size: 12px !important;
    }

    #icone {
        width: 640px;
    }

    #menu-principale li {
        margin: 0px 2px;
    }

    #articolo-singolo {
        width: 100%;
    }
    
    #icone {
    padding: 28px 0;
}
    
    #il-progetto img {
    height: 497px;
    object-fit: cover;
}
}





/* Tablet */
@media only screen and (max-width : 767px) {

.menu-principale-container ul ul {
    display: block;
    position: relative;
    box-shadow: unset !important;
	background: unset;
	margin-top: unset;
}

.menu-principale-container ul ul li a {
    font-size: 18px;
}

.menu-principale-container ul ul li {
    margin-top: 0!important;
	text-align: unset;
	padding: unset;
}

.overlay ul li {
    height: unset;
    height: unset;
    min-height: unset;
	margin: 10px 0;
}

    #coabitare {
        padding-bottom: 30px;
        padding-top: 30px;
    }

    #img-rigenerazione {
        margin-bottom: 10px;
        margin-top: 30px;
    }

    #icone {
        margin: 30px 0px;
    }

    #idea-moderna {
        padding-bottom: 15px;
    }

    .h2rigenerazione {
        font-size: 36px !important;
    }

    #idea-moderna h2 {
        font-size: 36px;
    }

    #gallery h2 {
        font-size: 36px;
    }

    #news h2 {
        font-size: 36px;
    }

    #titoli-paragrafi-1 {
        position: relative;
        top: 0;
    }

    .carousel-slider__post {
        margin: 0px !important;
    }

    #img-rigenerazione {
        position: relative;
        bottom: 0;
        margin-bottom: 0;
        height: 200px;
    }

    #img-idea-moderna {
        height: 200px;
    }

    .h2rigenerazione {
        position: relative;
        font-size: 44px;
        font-weight: 100;
        color: white;
    }

    #icone {
        width: auto;
    }

    #icone span {
        font-size: 45px;
    }

    #icone {
        padding: 15px 0;
    }

    .primo-paragrafo {
        width: 80%;
    }

    .primo-paragrafo p {
        text-align: unset;
    }

    #riga-footer {
        display: unset;
    }

    .attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
        display: none;
    }

    #articolo-singolo {
        background: linear-gradient(300deg, #8cad2b 20%, #eee 20%);
    }

    #articolo-singolo p {
        padding: 10px 0;
    }

    .read-more {
        padding: 2px 16px;
    }
    
    #icona-singola p {
    font-weight: 500;
}
    
    #icone {
    margin-left: -15px;
    margin-right: -15px;
}
    
    #il-progetto img {
    height: 260px;
    object-fit: cover;
}
    
    #anticolo-singolo-post {
    background: #fff;
}
}





/* Mobile */
@media only screen and (max-width : 480px) {
    .primo-paragrafo {
        width: 100%;
    }

    .primo-paragrafo p {
        text-align: justify;
    }

    .gallery-section .image img {
        width: 160px;
        height: 100%;
        transition: 0.4s;
        margin: 0px;
    }

    .gallery-section .image:hover img {
        transform: none;
    }

    #logo-footer {
        width: 100%;
    }

    footer {
        padding: 50px 0px;
    }

    footer ul li p span {
        font-size: 16px;
    }

    footer p {
        font-size: 11px;
    }

    .wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
        width: 100%;
    }

    .wpcf7-form-control.wpcf7-text {
        width: 100%;
    }

    .wpcf7-form-control.wpcf7-textarea {
        width: 100%;
    }

    .wpcf7-form-control.wpcf7-submit {
        width: 100%;
    }
}
