/*
Theme Name: TT5 Child Bob Theme
Theme URI: 
Author: Bob Corraro
Author URI: 
Description: Un tema per la FSE
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: tt5-child-bob-theme
Tags: 
*/


/*************
single
**************/


.single nav.rank-math-breadcrumb a {
    text-shadow: black 0px 0px 5px;
    color: white;
    padding: 5px 10px;
    min-width: 80px;
    display: inline-block;
    border: 1px solid;
    border-radius: 25px;
}

/*************
VARIE
**************/

a.popupino.whatsapp img {
    transform: translateY(0);
    transition: .6s;
}

@media(max-width:768px) {

    .home:not(.atf__non_visibile) a.popupino.whatsapp img {
        transform: translateX(15vh);
        transition: .4s;
        position: fixed;
        opacity: 0;
    }

    .atf__non_visibile a.popupino img {
        bottom: 84px;
    }
}

figure.wp-block-media-text__media img {
    border-radius: 16px;
}

.taxonomy-category.wp-block-post-terms a {
    border-radius: 20px;
    border: 1px solid !important;
    border-style: solid;
    font-weight: 400;
    line-height: 2.8;
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 5px;
    text-decoration: none;
    color: #4d917c;
    padding-left: 10px;
    font-size: 13px;
}

.wp-block-navigation__responsive-container-open {
    padding: 10px;
    background: #fff2ea;
}

.wp-block-social-links .wp-social-link a {
    font-size: 2rem;
}


body div div,
body div article {
    box-sizing: border-box !important;
}





/* MEDIA QUERY --------> iPads, Tablets */

@media screen and (min-width:481px) and (max-width:768px) {
    /* START media query */


    /* Fix Voci menu che vanno a capo */
    .wp-block-navigation ul,
    .wp-block-navigation ul li {
        LINE-HEIGHT: 0;
    }


    /* END media query */
}





/*************
MODIFICHE MOBILE + MENU RESPOSIVE 
**************/


/* MEDIA QUERY --------> Mobile */

@media (max-width:768px) {
    /* START media query */

    /* footer {margin-bottom: 77px !important;} */
    footer figure.wp-block-table tr td:nth-child(1) {
        color: #4d917c;
        font-weight: bold;
    }

    .box.orari strong {
        display: inline-block;
        width: 100%;
    }

    footer figure.wp-block-table tr td:nth-child(2) {
        width: 60%;
        /* border-top-left-radius: 10px; */
        /* border-bottom-left-radius: 10px; */
        border-bottom: 2px solid hsl(0deg 0% 0% / 10%);
        padding-left: 1em;
    }


    .header_cta_container {
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 2;
        padding: 1em;
        width: 100%;
        display: flex;
        flex-flow: column wrap;
        background: rgb(255 255 255 / 40%);
        backdrop-filter: blur(31px);
    }

    .header_cta_container a {
        background: white;
    }


    body {
        font-size: 16px;
    }

    /* FIX MENU MOBILE CHE DA PROBLEMI */
    body div#modal-1 {
        height: 100%;
        padding: 0 !important;
        justify-content: center;
        width: 100vw;
        /* display: flex; */
    }



    body .wp-block-navigation__responsive-close {
        height: 100%;
    }

    body .wp-block-navigation__responsive-container-close svg {
        height: 45px;
        width: 45px;
        margin-top: 20px;
    }

    body .wp-block-navigation__responsive-container-close {
        right: 25px;
        top: 25px;
        background: #ffeded;
    }

    body .wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content {
        height: 100%;
    }

    body ul.wp-block-navigation__container.is-responsive.items-justified-center.wp-block-navigation {
        padding: 10vh 0px;
    }

    body ul.wp-block-navigation__container.is-responsive.items-justified-center.wp-block-navigation li {
        border-bottom: 1px solid lightgray;
        width: 100%;
    }

    body ul.wp-block-navigation__container.is-responsive.items-justified-center.wp-block-navigation li a {
        font-size: 1.6rem;
        /*  padding: .4em; */
        text-align: center;
        width: 100%;
    }

    ul.wp-block-navigation__container.items-justified-center.wp-block-navigation {
        gap: 6px;
        margin-bottom: 10px;
    }

    ul.wp-block-navigation__container.items-justified-center.wp-block-navigation li {
        width: 49%;
        justify-content: space-evenly;
    }

    ul.wp-block-navigation__container.items-justified-center.wp-block-navigation li a {
        width: 100%;
    }

    body .wp-block-navigation__responsive-dialog {
        height: 100%;
    }

    body .entry-content.wp-block-post-content p {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    .single-post h1.gb-text {
        padding-bottom: 15px;
        font-size: 1.6rem
    }

    .single-post nav.rank-math-breadcrumb span.separator {
        display: none !important;
    }

    .single-post nav.rank-math-breadcrumb a {
        color: white;
        padding: 4px 10px;
        background: hsl(0deg 0% 0% / 22%);
    }




    /* END media query */
}



/*************
SINGOLO ARTICOLO
**************/

hr.wp-block-separator.has-alpha-channel-opacity {
    margin: 30px 0;
}

.wp-block-search__label {
    display: none !important;
}

.wp-block-search__inside-wrapper {
    border-radius: 35px;
    border: 1px solid #4ebd9a;
}

.single .entry-content.wp-block-post-content h2 {
    /* background: red; */
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.4rem;
    line-height: 1.6;
    margin-top: 2em !important;
    margin-bottom: 1.6em !important;
}

.single .wp-block-post-featured-image img {
    border-radius: 16px;
}

.single .entry-content.wp-block-post-content figure {
    margin: 2em auto !important
}

.single nav.rank-math-breadcrumb span.last {
    display: none;
}

.single nav.rank-math-breadcrumb a {
    font-weight: bold;
    text-decoration: none;
}

.single nav.rank-math-breadcrumb a:hover {
    color: #5ffcca
}

/*************
LOOP
**************/



.entry-content.wp-block-post-content .gb-loop-item a {
    text-decoration: none;
    color: #4d917c;
}

.entry-content.wp-block-post-content .gb-loop-item a:hover {
    color: #35ba91;
}

/*************
FOOTER
**************/

footer {
    border-radius: 20px;
}

footer .wp-block-group.is-vertical p.has-text-color {
    /* background: red; */
    min-width: 80px;
}

div#footer_menu ul li a {
    background: #e0eeea;
    min-width: 100px;
    text-align: center;
    margin: 0 4px;
    border-radius: 30px;
    padding: .6em .3em;
    gap: 0 !important;
    line-height: 1;
}

a.box svg {
    margin-left: 10px;
}

.box.orari svg {
    margin-right: 5px;
}



/*************
PAGINE
**************/

#forminator-module-903 {
    margin-bottom: 0 !important;
}

.forminator-row {
    margin-bottom: 10px !important;
}

.forminator-button-submit {
    width: 100% !important;
    border-radius: 8px !important;
}

/*
div#footer_menu {
    margin-bottom: 1em;
}
*/
.page-template-pagine-interne nav.rank-math-breadcrumb A {
    COLOR: WHITE;
}

.bottone_figo span {
    margin-left: 5px;
}

nav.rank-math-breadcrumb a {
    color: var(--wp--preset--color--accent-4, #4d917c);
    font-weight: bold;
}

a.wp-block-button__link.has-accent-4-color.has-base-background-color.has-text-color.has-background.has-link-color.wp-element-button span.wp-rich-text-font-awesome-icon.wp-font-awesome-icon svg {
    transform: rotate(317deg);
    display: flex;
    margin-left: 10px;
    /* border: white 1px solid; */
}

a.wp-block-button__link.has-accent-4-color.has-base-background-color.has-text-color.has-background.has-link-color.wp-element-button {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    border: white 1px solid;
}

.entry-content.wp-block-post-content a {
    text-decoration: NONE;
}

nav.rank-math-breadcrumb p {
    margin-bottom: 0
}

.entry-content.wp-block-post-content * {
    box-sizing: border-box;
}

.box_centrati {
    DISPLAY: FLEX;
    FLEX-FLOW: row WRAP;
    JUSTIFY-CONTENT: center;
    ALIGN-ITEMS: center;
    PADDING: 0;
}

/* Forza le righe ad avere la stessa altezza */
.wp-block-group-is-layout-grid {
    display: grid;
    grid-auto-rows: 1fr;
    /* Tutte le righe hanno la stessa altezza */
}

a[class^="gb-element-"]:hover .freccia {
    color: var(--wp--preset--color--accent-1, #FFFFFF);
    filter: invert(100%);
    box-shadow: 0px 10px 20px rgba(240, 240, 240, 0.67);
    transform: translate3d(0px, -8px, 0px);
    transition: transform 0.5s ease 0s;
    /*background-color: #000000; */
}