/* Large Desktop */
@media only screen and (max-width : 1200px) {
    #sezione2home img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

#team .col-md-6 .membro {
    height: 740px;
}

.membro {
    height: 900px;
}
    
}





/* Desktop */
@media only screen and (max-width : 991px) {
    .membro {
    height: auto;
}
    #team .col-md-6 .membro {
    height: auto;
}

    .testo1home {
    margin: 0 30px;
}

.testo2home {
    margin: 0 30px;
}

.vertical-line {
    left: 15px;
    bottom: 250px;
}

.testo2home .vertical-line {
    left: 96% !important;
}

    .articolo-singolo img {
    width: 200px!important;
    height: 300px;
}
    
    .contenuto-articolo {
    padding: 0 15px;
}
    
     
    
}





/* Tablet */
@media only screen and (max-width : 767px) {
    .membro {
    height: auto;
}
    #team .col-md-6 .membro {
    height: auto;
}
   
    
    .articolo-singolo img {
    height: 170px!important;
}
    
    .articolo-singolo p {
    display: none;
}
    
    
    .wpcf7-form {
    margin-bottom: 15px;
}

    .background-thumbnail {
    margin-bottom: 30px;
}

    .mobile {
    height: 86px;
}

.vertical-line{
    display: none;
}

#sezione2home img {
    height: 280px;
}

.testo1home {
    margin: 0 15px;
}

.testo2home {
    margin: 0 15px;
}

.vertical{
    display: block;
    align-items: unset;
    justify-content: unset;
}

#sezione2home {
    background: #12898F;
}

#sezione2home h2 {
    padding-bottom: 15px;
}

.testo1home p {
    padding-bottom: 15px;
}

.testo2home p {
    padding-bottom: 15px;
}

.prima-palestra {
    top: 360px;
}

.mobile img {
    width: 100px;
    padding: 15px 0px 0 15px;
}

#sezione3home {
    margin: 15px 0;
}

.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-home.menu-item-20 {
    display: none !important;
}

footer {
    text-align: center;
}

.right-text {
    text-align: unset;
}

.logo-footer {
    padding: 30px 0 15px 0;
}
}





/* Mobile */
@media only screen and (max-width : 480px) {
    
    .membro {
    margin-bottom: 40px;
}
    
    .box-attivita {
    padding: 30px 15px;
}
    
    .articolo-singolo h4 {
    font-size: 22px!important;
}

    .articolo-singolo img {
    width: 120px !important;
}

    .wpcf7-form-control.wpcf7-submit {
    width: 100%;
}

    .wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required, .wpcf7-form-control.wpcf7-textarea, .wpcf7-form-control.wpcf7-text {
    width: 100%;
}

}
