#topBar {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 85px;
    max-height: 85px;
    min-height: 50px;
    background-color: rgba(var(--secondaryColor), .8);
    z-index: 2;
    color: white;
    background-size: auto 70%;
    background-position: center center;
    background-repeat: no-repeat;
}

#topBar .menuIcon {
    display: none;
}

#topBar #createNew:before {
    content: "\f067";
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    font-size: 22px;
    top: calc(50% - 11px);
    left: calc(50% - 10px);
}

#topBar .menuIcon:before {
    content: "\f0c9";
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    font-size: 22px;
    top: calc(50% - 11px);
    left: calc(50% - 10px);
}

#topBar #createNew,
#topBar .menuIcon {
    float: left;
    width: 85px;
    height: 85px;
    max-width: 85px;
    max-height: 85px;
    min-width: 50px;
    min-height: 50px;
    margin-left: 85px;
    position: relative;
    cursor: pointer;
    transition: all .2s;
}

#topBar #createNew:hover {
    opacity: .8;
}

#topBar .backButton {
    width: 34px;
    height: 34px;
    border-radius: 3px;
    background-color: rgba(var(--mainColor), 1);
    position: absolute;
    float: left;
    cursor: pointer;
    display: none;
}

#topBar .backButton:after {
    content: "\f053";
    font-family: "Font Awesome 5 Pro";
    position: relative;
    font-size: 16px;
    font-weight: 300;
    top: calc(50% - 10px);
    left: calc(50% - 5px);
    color: white;
}

#topBar .backButton:hover {
    background-color: rgba(var(--mainColor), .7);
}

#topBar .options {
    float: right;
    height: 100%;
}

#topBar .options .option {
    box-sizing: border-box;
    width: 85px;
    height: 85px;
    max-width: 85px;
    max-height: 85px;
    min-width: 50px;
    min-height: 50px;
    float: left;
    position: relative;
    cursor: pointer;
    transition: all .2s;
}

#topBar .options .option.selected {
    background-color: rgba(255, 255, 255, .1);
}

#topBar .options .option .table {
    display: table;
    width: 100%;
    height: 100%;
}

#topBar .options .option .table .cell {
    display: table-cell;
    width: 100%;
    height: 100%;
    text-align: center;
    vertical-align: middle;
}

#topBar .options .option span {
    display: block;
    font-size: 26px;
    color: white;
    font-weight: 300;
}

#topBar .options .option:hover {
    opacity: .8;
}

#topBar .options .option .newMessages {
    position: absolute;
    top: calc(50% - 18px);
    left: calc(59%);
    border-radius: 180px;
    background-color: #fc3d39;
    width: 17px;
    height: 17px;
    font-weight: 300;
    font-size: 10px;
    line-height: 16px;
    z-index: 1;
    text-align: center;
}

#topBar .options #users .table {
    padding: 20%;
    box-sizing: border-box;
}

#topBar .options #users .cell {
    background-color: rgba(var(--mainColor), 1);
    border-radius: 3px;
    font-size: 20px;
    cursor: pointer;
    transition: all .2s;
}

#topBar .options #users .cell:hover {
    background-color: rgba(var(--mainColor), .8);
}

#topBar #yearSelect {
    float: left;
    width: 160px;
    height: 100%;
    margin-right: 35px;
}

#topBar #clubSelect {
    float: left;
    width: 180px;
    height: 100%;
    margin-right: 15px;
}

#topBar #yearSelect .select,
#topBar #clubSelect .select {
    top: calc(50% - 17px);
}

@media (max-width:1000px) {
    
    #topBar {
        height: 60px;
        max-height: 60px;
    }
    
    #topBar #createNew:before {
        font-size: 22px;
        top: calc(50% - 11px);
        left: calc(50% - 10px);
    }
    
    #topBar .menuIcon:before {
        font-size: 22px;
        top: calc(50% - 11px);
        left: calc(50% - 10px);
    }
    
    #topBar .menuIcon {
        display: block;
        transition: opacity .3s;
        opacity: 1;
    }
    
    #topBar .menuIcon.show {
        opacity: 0;
    }
    
    #topBar #createNew {
        display: none;
    }
    
    #topBar #createNew,
    #topBar .menuIcon {
        width: 60px;
        height: 60px;
        max-width: 60px;
        max-height: 60px;
        min-width: 60px;
        min-height: 60px;
        margin-left: 0px;
    }
    
    #topBar .options .option {
        width: 60px;
        height: 60px;
        max-width: 60px;
        max-height: 60px;
        min-width: 60px;
        min-height: 60px;
    }
    
    #topBar .options .option span {
        font-size: 22px;
    }
    
    #topBar .options .option .newMessages {
        top: calc(50% - 18px);
        left: calc(59%);
        width: 17px;
        height: 17px;
        font-weight: 300;
        font-size: 10px;
        line-height: 16px;
        z-index: 1;
        text-align: center;
    }
    
    #topBar .options #users .cell {
        font-size: 16px;
    }
    
    #topBar .backButton {
        width: 34px;
        height: 34px;
        border-radius: 3px;
        background-color: rgba(var(--mainColor), 1);
        position: absolute;
        top: 13px;
        left: 58px;
    }
    
    #topBar #yearSelect {
        margin-right: 10px;
        width: 100px;
    }
    
    #topBar #clubSelect {
        display: none;
    }
    
}