/*********************************/
/* NAVBAR                        */
.tc-navbar{
    .container{
        nav{
            transition: all 1s;
            border-bottom-left-radius: 2rem;
            border-bottom-right-radius: 2rem;
            padding-top: 2rem;
            padding-bottom: 1rem;
            padding-left: 1rem;
            padding-right: 1rem;
            background: rgba(255, 255, 255, 0.32);

            .brand{
                img{
                    transition: all 1s;
                    height: 20px;
                    @media (min-width: 768px) {
                        height: 50px;
                    }
                }
            }

            a{
                color: #000;
            }

            .actions{
                svg{
                    vertical-align: sub;
                    width: 1.5rem;
                    height: 1.5rem;
                }
                .menu {

                }
                .search{
                    margin-left: 0.5rem;
                }
                .locale{
                    margin-left: 1.5rem;
                    font-size: 1.5rem;
                    &:hover{
                        .dropdown-menu {
                            display: block;
                            margin-top: 0;
                            margin-left: -70px;
                        }
                    }
                }
                .tc-user-link{
                    margin-left: 0.5rem;
                    display: inline-block;
                    &:hover{
                        .dropdown-menu {
                            display: block;
                            right: 0;
                        }
                    }
                }
            }

            &.scrolled{
                padding-top: 2rem;
                padding-bottom: 0.5rem;
                background: #fff;
                .brand{
                    img{
                        height: 20px;
                        @media (min-width: 768px) {
                            height: 40px;
                        }
                    }
                }
            }
        }
    }
}

/* Sticky top sotto la navbar */
/* $navbar-height: 5.5rem; */
.sticky-top:not(.nav-bar):not(.admin-bar){
    top: 6rem;  /*$navbar-height+0.5rem; */
}

.top-anchor {
    display: block;
    position: relative;
    top: -9.5rem; /* -($navbar-height+4rem); */
    visibility: hidden;
}


/* Menù di navigazione ad albero */
ul.tree {
    list-style: none;
    padding-left: 0;

    li {
        &.lvl-2 {
            text-transform: uppercase;
            font-weight: bold;
            padding-bottom: 1rem;
        }

        &:not(.lvl-2){
            font-weight: normal;
            font-size:0.8rem;
        }

        &:not(.lvl-2):not(.lvl-3){
            text-transform: none;
            padding-left: 1em;
        }

        a.active {
            color: var(--fabas-color-navale-light-2);
        }
    }
}



/* Modal full screen */
.modal-fullscreen{
    top: 5%;
    height: 90%;
    margin: 0;
    left: 5vw;
    width: 90vw;
    max-width: none;
}
.modal-close{
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 2rem;
    height: 2rem;
}