/* ! Grid System */
.grid { margin: 0 auto; padding: 0 15px; max-width: 1250px; display: flex; flex-flow: row; flex-wrap: wrap;}
.grid--center{justify-content: center;}
.col{ flex: 1;}

[class*='col-'] { position: relative;padding: 0 15px;}
.grid .grid [class*='col-'] {padding: 0px;}

.col-20{ width: 20%; }
.col-25{ width: 25%; }
.col-30{ width: 30%; }
.col-33{ width: 33.33%; }
.col-50{ width: 50%; }
.col-70{ width: 70%; }
.col-80{ width: 80%; }
.col-100{ width: 100%; }

.menu_user{
    padding: 0;
    list-style: none;
}

.menu_user li{
    padding: 5px;
    margin: 0 auto 10px;
    border: 1px solid #FFA6B6;
    text-align: center;
    text-decoration: none;
    transition: 500ms;
}

.menu_user li a{
    text-decoration: none;
    transition: 500ms;
}

.menu_user li a:hover{
    text-decoration: underline;
}

.menu_user li:hover{
    background-color: #ffd9e0;
    transform: scale(1.02);
}

.menu_user li.is-active{
    background-color: #ffd9e0;
}

.menu_user li.is-active a{
    font-weight: 600;
}


.woocommerce-MyAccount-navigation #nome{
    color: #c36;
    font-size: 29px;
}

.piano_allenamento .btn_cta{
    margin-left: 25px;
    margin-right: 0px;
    border: 1px solid #FFA6B6;
    padding: 10px;
    border-radius: 10px;
    transition: 500ms;
}

.piano_allenamento .btn_cta:hover{
    border: 1px solid #FFA6B6;
    background-color: #FFA6B6;
}

.piano_allenamento .cont_btn{
    padding-top: 25px;
    padding-bottom: 25px;
    float: right;
}

.piano_allenamento{
    border-radius: 10px;
    margin-bottom: 25px;
    border: 1px solid #FFA6B6;
    transition: 500ms;
}

.piano_allenamento:hover, .piano_allenamento:hover .grid .col-25 img{
    border-radius: 0;
}

.piano_allenamento .grid, .piano_allenamento .grid .col-25{
    padding: 0;
}

.piano_allenamento .grid .col-25 img{
    object-fit: cover;
    height: 100%;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    width: 100%;
    transition: 500ms;
}

.piano_allenamento .grid .col-75{
    width: 75%;
}

.piano_allenamento .grid .col-75 a{
    text-decoration: none;
}


.archivio_articoli, .archivio_articoli .articolo{
    padding: 0;
    margin-bottom: 25px;
}


.archivio_articoli{
    margin-bottom: 50px;
}

.archivio_articoli .articolo .card{
    border: 1px solid #FFA6B6;
    padding: 15px;
    margin: 15px;
    cursor: pointer;
    height: 100%;
    transition: 250ms;
}

.archivio_articoli .articolo .card:hover{
    transform: scale(1.05);
    background-color: #ffd9e0;
    border-radius: 10px;
}

.archivio_articoli .articolo .card img{
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.archivio_articoli .articolo .card:hover img{
    transform: scale(1.02);
}

#filtri_cat li{
    float: left;
    margin-right: 15px;
    text-decoration: none;
    transition: 500ms;
}
#filtri_cat li.active{
    font-weight: bold;
    text-decoration: underline;
}
#filtri_cat li:hover{
    text-decoration: underline;
    cursor: pointer!important;
}
#filtri_cat {
    list-style-type: none;
    padding: 0;
}

#interno_articolo{
    max-width: 1200px;
    margin: 0 auto;
}

#interno_articolo h1{
    text-align: center;
}

#interno_articolo .articolo_contenuto{
    margin-top: 25px;
}

.addresses .u-column2{
    display: none;
}


.addresses .u-column1{
    width: 98%!important;
}

.edit-account{
    color: #c36;
}

.edit-account input, .edit-account fieldset{
    border: 1px solid #c36;
    color: #c36;
}

.woocommerce form .form-row .required{
    color: #c36;
}

:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button{
    font-family: "Poppins", Sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 20px;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-radius: 40px 40px 40px 40px;
    margin-top: 30px;
    color: #FFA6B6;
    background-color: #FFFFFF;
    border-color: #FFA6B6;
}

:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button:hover{
    color: #ffffff;
    background-color: #FFA6B6;
    border-color: #FFF3F5;
}

:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce .edit-account p:last-child{
    text-align: center;
}

.allenamento_video{
    margin-bottom: 50px;
}

.eael-login-form-wrapper, .eael-login-form-wrapper .lr-form-wrapper{
    max-width: 100%;
}

#return_blog{
    margin-bottom: 25px;
    width: 100%;
}

#blog_err{
    text-align: center;
}

#blog_err h3{
    width: 100%;
}

.piano_allenamento h2, .archivio_articoli h3{
    font-size: 1.3rem;
}

@media (max-width: 991px) {
    .tab-20 { width: 20%; }
    .tab-25 { width: 25%; }
    .tab-33 { width: 33.33%; }
    .tab-50 { width: 50%; }
    .sma-75 { width: 100%; }
    .tab-100 { width: 100%; }
    .piano_allenamento .grid .col-75{ width: 100%;}
}

@media (max-width: 768px) {
    [class*='col-'] { width: 100%;}
    .sma-20 { width: 20%; }
    .sma-25 { width: 25%; }
    .sma-33 { width: 33.33%; }
    .sma-50 { width: 50%; }
    .sma-75 { width: 100%; }
    .sma-100 { width: 100%; }
    .cont_btn a{ display: block; margin-bottom: 15px; float: right;}
    .piano_allenamento .grid .col-25 img{ 
        height: 300px; 
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .piano_allenamento h2{
        font-size: 1.05rem;
        font-weight: bold;
    }
}





.article_frontend h1{
    color: #c36;
}
.article_frontend .articolo{
    height: 400px;
    padding: 25px;
    margin-bottom: 25px;
}
.article_frontend .articolo .card .card_inner{
    padding: 25px;
    border: 1px solid #FFA6B6;
    height: 100%;
    transition-duration: 500ms;
}
.article_frontend .articolo:hover .card .card_inner{
    background-color: #FFA6B6;
    border-radius: 10px;
}

.article_frontend .articolo img{
    max-height: 70%;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition-duration: 500ms;
}
.article_frontend .articolo:hover img{
    transform: scale(1.01);
}
.article_frontend .articolo h2{
    font-size: 1.15rem;
    font-weight: bold;
}
.article_frontend .articolo .anteprima_testo{
    max-height: 30%;
    overflow: hidden;
}

@media (max-width: 768px) {
    .article_frontend .articolo, #interno_articolo{
        padding: 0px;
    }
    .article_frontend .articolo .card .card_inner{
        padding: 10px;
    }
}




/* Sistemazione filtri blog interno */
#filtri_cat {
    list-style-type: none;
    padding: 0;
}

#filtri_cat .parent-category {
    cursor: pointer;
}

.child-category.active span{
    font-weight: bold;
    text-decoration: underline;
}

.child-categories {
    list-style-type: none;
    padding-left: 0px;
    background-color: #f8f8f8;
    border-left: 2px solid #ccc;
}

.child-category {
    cursor: pointer;
    margin: 5px 0;    
    float: left;
    margin-right: 15px;
}