

.bar .w3-bar-item{
    display: block;
    text-align: start;
}

.bar {
    background-color: white;
    color: black;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    /* transition: none;  <-- looks better when closing menu, but looks worse when scrolling down and bar gets visible*/
    transition: background-color 0.5s linear;
}

.menu{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s linear;
}
.bar.open .menu{
    transition: max-height 0.3s linear;
}

.bar.transparent:not(.open) .hide-transparent{
    display: none;
}

.image-col{
    padding: 8px;
}


.brand .w3-rest{
    padding: 8px;
    margin-top: auto;
}

.brand-title, .brand-lead {
    display: block;
    font-size: 20px;
}

.brand-lead {
    font-size: 13px;
    line-height: 1;
}

.menu .w3-bar-item.w3-button {
    padding: 12px;
}


.menu-button {
    font-size: 24px;
    height: 66px;
    width: 66px;
    padding: 12px;
}


@media (min-width: 993px){
    .bar.transparent {
        color: white;
        background-color: transparent;
        box-shadow: none;
    }
    
    .transparent .w3-button:hover {
        border-bottom-color:white;
        background-color:rgba(255,255,255,0.2) !important;
        color:white !important;
    }
    
    .transparent .brand {
        color: white;
    }
    .hide-large {
        display:none!important;
    }

    .bar .w3-bar-item{
        display: inline-block;
    }

    .menu{
        max-height: 100vh;
    }
}

@media (max-width: 992px){
    .bar.open .menu{
        max-height: 100vh;
    }

    .bar.transparent:not(.open) {
        color: white;
        background-color: transparent;
        box-shadow: none;
    }
    
    .transparent:not(.open) .w3-button:hover {
        border-bottom-color:white;
        background-color:rgba(255,255,255,0.2) !important;
        color:white !important;
    }
}