﻿.topbar a {
    color: #F4244E;
    text-decoration: none;
    padding: 0px 7px;
    letter-spacing: 1px;
    font-size: 12px;
    display: block;
    height: 50px;
    float: left;
    line-height: 50px;
}
.topbar a:hover {
    color: #333;
}

.topbar a#menu {
    float: right;
    margin-right: 10px;
    font-size: 20px;
    color: #F4244E;
    z-index: 100;
    width: 60px;
    text-align: center;
    transition: 1000ms;
    box-sizing: border-box;
}
.topbar a#menu .material-symbols-outlined {
    line-height: 50px;
    font-size: 28px;
}
.topbar a#menu.selected {
    background: #fff;
    border: 1px solid #ddd;
    border-top: 0px;
    border-bottom: 0px;
    color: #F4244E;
    transition: 250ms;
}
.topbar nav {
    float: right;
    display: none;
    width: 50%;
    clear: both;
    height: auto;
    line-height: 50px;
    background: #fff;
    position: absolute;
    top: 49px;
    right: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 8px 24px rgb(25 25 25 / 15%);
    border-radius: 4px 0px 4px 4px;
}
.topbar nav a {
    width: 100%;
    clear: both;
    padding: 0px;
    height: 35px;
    text-align: left;
    padding-left: 20px;
    line-height: 35px;
}
.topbar nav a:hover
{
    color: #666;
}
.topbar a#menu:hover {
    color: #666;
}

@media only screen and (max-width : 554px) {
    .topbar nav {
        width: 100%;
        box-sizing: border-box;
        border-radius: 4px;
        right: 0px;
        left: 0px;
        top: 49px;
    }
    .topbar nav a {
        padding: 0px;
        text-align: center;
    }
}

/*prevents menu from disappearing after switching from mobile to desktop when state == collapsed */
/*@media only screen and (min-width : 555px) {
    .topbar nav {
        display: block !important;
    }
}*/
