﻿.topbar #menu {
    display: none;
    color: #FFF;
}

.topbar nav {
    float: right;
    display: block;
    height: 28px;
    line-height: 28px;
}

.topbar a {
    color: #fff !important;
    text-decoration: none;
    padding: 0px 7px;
    letter-spacing: 1px;
    font-size: 11px;
    display: block;
    height: 28px;
    float: left;
    line-height: 28px;
}

.topbar a:hover {
    color: #ccc;
}


.administrator nav {
    display: none;
    width: 100%;
    clear: both;
    height: auto;
    background: #666;
    border-bottom: 1px solid #333;
}

.administrator nav a {
    width: 100%;
    clear: both;
    padding: 0px;
    border-top: 1px solid #333;
    text-align: center;
}

.administrator a#menu {
    display: block;
    float: right;
    margin-right: 10px;
    font-size: 20px;
}

.administrator a.admin {
    color: #ccc;
}

.administrator a#menu:hover {
    color: #ccc;
}

.administrator a.admin:hover {
    color: #999;
}

@media only screen and (max-width : 450px) {
    .topbar nav {
        display: none;
        width: 100%;
        clear: both;
        height: auto;
        background: #666;
        border-bottom: 1px solid #333;
        position: absolute;
        top: 28px;
    }

        .topbar nav a {
            width: 100%;
            clear: both;
            padding: 0px;
            border-top: 1px solid #333;
            text-align: center;
        }

    .topbar a#menu {
        display: block;
        float: right;
        margin-right: 10px;
        font-size: 20px;
        color: #fff !important;
    }

    .topbar a.admin {
        color: #ccc;
    }

    .topbar a#menu:hover {
        color: #ccc;
    }

    .topbar a.admin:hover {
        color: #999;
    }
}

/*prevents menu from disappearing after switching from mobile to desktop when state == collapsed */
/*@media only screen and (min-width : 450px) {
    .topbar nav {
        display: block !important;
    }
}*/
