/* Navigation Bar */

#navBar {
    background-color: rgba(12, 18, 49, .65);
    box-shadow: 0 .5em 2em #0C1231;
    position: relative;
    width: 100%;
    z-index: 1;
}

#navBar ul {
    display: block;
    float: right;
    margin: 0;
    /*margin: 0 auto;*/
    padding: 0;
    list-style: none;
    text-align: center;
    /*width: 100%;*/
}

#navBar li {
    display: inline-block;
}

#navBar li a {
    color: #EFF1FB;
    display: block;
    padding: 10px 25px;
    font-size: 1.1em;
    font-weight: 500;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    -webkit-transition: color .5s;
    -moz-transition: color .5s;
    -ms-transition: color .5s;
    -o-transition: color .5s;
    transition: color .5s;
}

#navBar ul li a:hover {
    background: rgba(239, 241, 251, .5);
    color: #0C1231;
}

#navBar ul li a:hover:before {
    width: 100%;
}

/* boxes between links */
#navBar ul li a:after {
    content: '';
    display: block;
    position: absolute;
    right: -3px;
    top: 19px;
    height: 6px;
    width: 6px;
    background: #ffffff;
    opacity: .5;
}

#navBar ul li a:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background: #333333;
    -webkit-transition: width .25s;
    -moz-transition: width .25s;
    -ms-transition: width .25s;
    -o-transition: width .25s;
    transition: width .25s;
}

#navBar ul li.last > a:after,
#navBar ul li:last-child > a:after {
    display: none;
}

#navBar ul li.active a {
    color: #333333;
}

#navBar ul li.active a:before {
    width: 100%;
}