q-header img{
    display: none;
}
q-header {
    background-image: url(logo.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto 1.5em;
    text-align: right;
    height: 1.5em;
}
body {
    margin-top: 3.5em;
}

q-menu{
    line-height: 1.5em;
    text-transform: uppercase;
    white-space: nowrap;
}
q-menu-entry, q-menu-spec {
    margin-left: 1em;
    position: relative;
    cursor: pointer;
    z-index: 110;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}
q-menu-spec {
    display: none;
    color: #F00;
}
q-menu-spec.onn {
    display: inline-block;
}
q-menu-entry:active, q-menu-spec:active{
    color: #000;
}
q-menu-entry:before, q-menu-spec:before {
    content: "";
    position: absolute;
    left: 50%;
    width: 0;
    top: 1.2em;
    background: #EEE;
    height: 1px;
    opacity: 1;
    transition: all 0.3s;
    z-index: -1;
}
q-menu-entry:hover:before,q-menu-spec:hover:before{
    width: 100%;
    left: 0;
}
q-menu-entry:active:before,q-menu-spec:active:before{
    top: 0;
    height: 1.2em;
    opacity: 0.7;
    background: #FFF;
    transition: none;
}
q-menu-entry.on:before {
    width: 100%;
    left: 0;
}
q-menu-sub{
    display: block;
    max-height: 0;
    top: 1.2em;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    overflow: hidden;
    transition: all 0.5s 0.3s;
    box-sizing: border-box;
    visibility: hidden;
    padding: 0px;
}
q-menu-entry:hover q-menu-sub {
    max-height: 10em;
    visibility: visible;
    padding: 1px 2px 2px 2px;
}
q-menu-sub-entry:first-child{
    border-top: 1px solid #EEE;
}
q-menu-sub-entry:last-child{
    border-bottom: 1px solid #EEE;
    border-bottom-left-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
}
q-menu-sub-entry {
    background-color: #222;
    border-left: 1px solid #EEE;
    border-right: 1px solid #EEE;
    display: block;
    padding: 0.2em 0.5em;
    transition: all 0.3s;
    box-shadow: 0 1px 1px #222;
}
q-menu-sub-entry:hover{
    background-color: #444;
}

q-body[page="home"], q-body[page="contatti"] {
    padding-top: 14.5em;
}