
* {
    margin: 0px;
    padding: 0px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}


ul#hormenu ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ul#hormenu li {
    float: left;
    margin: 0;
    padding: 0;
}

ul#hormenu a {
    display: block;
    padding: 5px;
    text-decoration: none;
}

    ul#hormenu a:hover {
        text-decoration: none;
    }

ul#hormenu li ul {
    display: none;
}

ul#hormenu li li {
    border: none;
    width: 100%;
}

ul#hormenu li ul {
    position: relative;
    display: none;
    z-index: 1;
    width: 100%;
    padding: 0;
    margin: 0 0 0 -1px;
}


#topnav {
    float: left;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    clear: both;
    width: 100%;
    background: white;
    border-bottom: 1px solid #ccc;
        min-height: 70px;
}

    #topnav nav {
        display: none;
        /* position: static;*/
        width: 100%;
        top: 70px;
        right: auto;
        position: absolute;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        z-index: 999;
    }

        #topnav nav ul li {
            float: none;
            margin: 0;
        }

            #topnav nav ul li a {
                padding: 10px 20px;
                display: block;
                transition: 0.5s all;
                -webkit-transition: 0.51s all;
                -moz-transition: 0.5s all;
                -o-transition: 0.5s all;
                font-size: 22px;
                color: #262626;
                width: 100%;
                line-height: normal;
                border: 0;
                box-sizing: border-box;
                -moz-box-sizing: border-box;
                -webkit-box-sizing: border-box;
                -webkit-transition: all 0.3s ease-out;
                -moz-transition: all 0.3s ease-out;
                -ms-transition: all 0.3s ease-out;
                -o-transition: all 0.3s ease-out;
                transition: all 0.3s ease-out;
                font-weight: 300;
                font-family: 'Yanone Kaffeesatz', sans-serif;
                background: white;
                border-bottom: 1px solid #ccc;
            }

                #topnav nav ul li a.camicia, #topnav nav ul li a.camicia:hover {
                    padding-left: 35px;
                    background-image: url(../img/icon/needle5_2.png);
                    background-repeat: no-repeat;
                    background-position: 10px center;
                    background-size: auto 24px;
                }

                #topnav nav ul li a.armadio, #topnav nav ul li a.armadio:hover {
                    padding-left: 40px;
                    background-image: url(../img/icon/bedroom4.png);
                    background-repeat: no-repeat;
                    background-position: 10px center;
                    background-size: auto 24px;
                }

                #topnav nav ul li a:hover {
                    border: none;
                    background: #262626;
                    color: white;
                }

                #topnav nav ul li a.sel {
                }



        #topnav nav ul ul li a {
            background-color: #f1f1f1;
            font-size: 14px;
            font-family: 'Roboto', sans-serif;
        }


            #topnav nav ul ul li a:hover {
                color: white;
                background: #262626;
            }

        #topnav nav ul ul li.active > a {
            color: white;
            background: #262626;
        }

        #topnav nav ul {
            list-style: none;
            margin-left: auto;
            margin-right: auto;
            left: 0;
            right: 0;
            width: 100%;
        }


            #topnav nav ul ul {
                list-style: none;
                margin-left: inherit;
                margin-right: inherit;
                left: inherit;
                right: inherit;
                width: auto;
                height: auto;
                background-color: white;
                overflow: auto;
            }


                #topnav nav ul ul li {
                    display: block;
                    float: left;
                    margin-top: 0px;
                    margin-bottom: 0px;
                }




            #topnav nav ul li a:hover {
                background: #262626;
                color: white;
            }

            #topnav nav ul li.active > a {
                color: #262626;
                background: white;
            }

    /* menu block */

    #topnav #navbtn {
        display: none;
        float: right;
        top: 0;
        width: 20px;
        padding: 2.5em 0em;
        background: url('../img/nav-icon.png') center no-repeat;
        text-indent: -99999px;
        overflow: hidden;
        margin-right: 1em;
    }



    #topnav nav ul {
        width: auto;
    }

.menu {
    position: absolute;
    clear: both;
    width: 100%;
    z-index: 99999999;
    top: 0px;
    right: 0px;
}

#topnav #navbtn {
    padding: 1.8em 0em;
    display: block;
}

.triangolo {
    display: none;
}


@media (max-width:778px) {
    #topnav {
        background-color: white;
    }
}


