/*
    WFA checkout fields
*/

/* pre-hided */
.wfa-group-details{
    display: none;
}



.wfa-form-title{
    margin-top: 0;
    border-bottom: 1px solid;
    margin-bottom: 30px;
    padding-bottom: 10px;
    font-size: 50px;
}

.extra-fields{
    clear: both;
    box-sizing: border-box;
    border: 1px solid rgb(226, 226, 226);
    overflow: hidden;
    padding: 30px;
    margin-bottom: 30px;
}

.extra-fields .columns{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    max-height: 400px;
}



@media only screen  and (max-width: 800px){
    .extra-fields .columns{
        max-height: unset;
    }
}

.woocommerce-checkout abbr{
    text-decoration: none;
    color: red;
}

.extra-fields p{
    margin-bottom: 10px!important;
}



/* law page */
body.page-template-law #main{
    padding-top: 0px;
}

/* law menu */

.wfa-law-menu{
    overflow: visible!important;
    float: none;
    width: 100%;
    display: flex;
    clear: both;
    justify-content: center;
}

/* mobile law menu */

@media only screen  and (max-width: 800px){
    .wfa-law-menu{
        float: none;
        width: 100%;
        display: flex;
        clear: both;
        justify-content: center;

        visibility: hidden;
        opacity: 0;
        
        max-height: 0;
        transition: opacity 0.2s, visibility 0.2s, max-height 0.25s ease-out;
    }

    .wfa-law-menu.active{
        visibility: visible;
        opacity: 1;
        max-height: 1000px;
    }

    .wfa-law-menu #menu-law > li{
        width: 100%;
        padding: 0;
        padding-right: 5px;
        padding-left: 5px;
        
    }

    .wfa-law-menu #menu-law > li >.sub-menu{
        visibility: visible;
        opacity: 1;
        position: relative;
        width: 100%;
        margin: 0;
        background: white;
        border: none;
        display: flex;
        justify-content: end;
        padding-top: 6px;
        padding-bottom: 4px;

    }
    .wfa-law-menu #menu-law > li > a{
        height: 20px;
        justify-content: end;
        margin-top: 7px;
    }
    .wfa-law-menu #menu-law > li >.sub-menu > li > a{
        padding: 0;
        padding-right: 5px;
        padding-left: 5px;
        line-height: 20px;
        border: 1px solid #4ebcd4;
        background: aliceblue;
    }

    

}

/* LAW PAGES */

.law-articles-list{

}
.law-articles-list .law-articles-list-item{
    display: flex;
    align-items: flex-end;
    margin-bottom: 30px;
}
.law-articles-list .law-articles-list-item .list-content{
    max-width: 70%;
}
.law-articles-list .law-articles-list-item>a{
    margin-right: 20px;
}

/* mobile law PAGES */

@media only screen  and (max-width: 800px){

    .law-articles-list .law-articles-list-item{
        display: flex;
        flex-direction: column;
        align-items: start;
        margin-bottom: 30px;
    }
    .law-articles-list .law-articles-list-item h5{ 
        margin-top: 7px;
        margin-bottom: 7px;
    }
    .law-articles-list .law-articles-list-item .list-content{
        max-width: 90%;
    }
}
