.navbar{
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 9999;
}
.top-bar{
    width:100%;
    //background-color: rgba(10,16,89,.85);
    background-color: rgba(50,50,50,.85);
    opacity: 0.95;
    height: 25px;
    color:#fff;
    display: table;
    padding: 5px 25px;
}
.top-bar a{
    color:#fff;
}
.top-bar-wrapper{
    display: table-row;
    width: 100%;
}
.top-bar-contact{
    position: relative;
    font-size: 0.8em;
    display: table-cell;
    width: auto;
}
.top-bar-social{
    text-align: left;
}
.top-bar-social a{
    padding-right: 15px;
    color: inherit;
}
.top-bar-social a:hover{
    color: #0cacee;
}
.info-container{
    display: table-cell;
    vertical-align: middle;
    padding-left: 25px;
}
.info-container span{
    display: inline;
    margin-left: 10px;
}
.info-header{
    color: #0cacee;
    padding-left: 10px;
}
header{
    transition: .5s all;
    display: block;
}
 
.header-wrap{
    transition: 0.7s all;
    background-color: rgba(255,255,255,0);
    position: relative;
    line-height: 80px;
}
.header-wrap > .container{
    position: relative;
    width: 90%;
}
.firm-logo{
    display: table;
    left: 0;
    position: absolute;
    margin-top: 5px;
}
.firm-logo img{
    height: 50px;
    transition: 0.7s all;
}
.firm-logo > a{
    display: table-cell;
    vertical-align: middle;
}
.navbar-container{
    display: table;
}
header button{
    display: none;
    position: absolute;
    right: 0;
    top: 10px;
    height: 30px;
    background: transparent;
    border: 1px solid #555;
    border-radius: 4px;
}

.nav-bar-list{
    display: table-cell;
    vertical-align: middle;
}
.menu{
    margin: 0;
    padding: 0;
}
.menu-item{
    display: inline-block;
    position: static;
    line-height: 1.7;
}
.menu-item > a{
    transition: .4s color;
    display: inline-block;
    position: relative;
    padding: 15px;
    font-size: 1em;
    font-weight: 500;
}
.menu-item > a:hover{
    color: #0cacee;
    cursor: pointer;
    text-align: center;
    margin: 0 auto;
}
.menu-item > a:hover  .menu-item-line{
    /*transform: translate3d(0,0,0);*/
    width: 20px;
}
.menu-item-line{
    position: relative;
    height: 2px;
    width: 0;
    /*right: 0;*/
    transition: all 0.5s ease-in-out;
    background-color:  #0cacee;
    /*transform: translate3d(-100%,0,0);*/
}

.sub-menu-container{
    position: absolute;
    right: 15%;
    padding: 10px 20px;
    border: 1px solid #bbb;
    background-position: bottom left;
    background-repeat: no-repeat;
    background-color: #fff;
    border-radius: 4px;
    opacity: .95;
    font-size: 0.9em;
    display: flex;
    visibility: hidden;
    border-top: 2px dashed #bbb;
}
.ar-5{
    right: 5%;
}
.media-bg{
    background-image: url('../img/media-bg.png');
    background-size: 40% 44%;
}
.form-bg{
    background-image: url('../img/forms-bg.png');
    background-size: 30% 60%;
}
.sub-menu-mul-col{
    padding: 10px 20px;
    padding-left: 120px;
}
.link-wrapper{
    display: inline-block;
}
.menu-item:hover .sub-menu-container{
    visibility: visible;
}
.sub-menu-mul-col ul{
    margin-left: 20px;
}
.sub-menu-container ul{
    display: inline-block;
    height: 100%;
}
.sub-menu-hdr{
    text-decoration: underline;
    color: #222;
    font-weight: 600;
    text-align: center;
}
.sub-menu-item{
    display: block;
    border-bottom: 1px dashed rgba(44,44,44,.5);
}
.sub-menu-item > a{
    padding: 10px;
    display: block;
}
.show-more-item{
    border: none;
    font-size: 0.7rem;
}
.show-more-item > a{
    color: #0c0cee;
}
.sub-menu-item > a:hover{
    color: #0cacee;
}
.sub-menu-item h4{
    font-weight: normal;
}
.sub-menu-li-date{
    font-size: .8em;
    color: #bbb;
    text-align: center;
    font-weight: normal;
}

.menu-item a>span{
    position: relative;
    margin-right: 5px;
    font-weight: 300;
}
.menu-item a:hover > span{
    animation: 1.4s downUp infinite ease-in;
}

@keyframes downUp{
    0%{
        top:0;
    }
    50%{
        top: 5px;
    }
    100%{
        top:0;
    }
}

@media screen and (max-width: 800px){
    .top-bar-contact{
        width: 100%;
    }
    .top-bar-social{
        display: none;
    }
    .menu-item{
        display: block;
        border-top: 1px solid #ddd;
    }
    .menu-item a{
        font-weight: 700;
    }
    .menu-item .fa{
        display: none;
    }
    .header-wrap{
        background-color : rgba(255,255,255,1);
        line-height: 50px;
        height: 50px;
    }
    header{
        box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 5px;
        position: relative;
    }
    .menu{
        border: 1px solid #ddd;
        height: 100%;
        overflow-y: scroll;
        overflow-x: visible;
        background-color: #fff;
    }
    .navbar-container{
        
    }
    .site-navigation{
        position: fixed;
        padding-top: 75px;
        right: 0;
        top: 0;
        width: 0;
        height: 100%;
        display: inline-block;
        opacity: .7;
        transition: .7s all;
    }
    
    .navbar-container{
        display: block;
    }
    .sub-menu-container{
        position: static;
        visibility: visible;
        border: none;
        padding: 0;
        margin: 0;
        display: block;
    }
    .sub-menu-container ul{
        display: block;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .sub-menu-item{
        display: block;
        padding-right: 20px;
        border-bottom: none;
        border-top: 1px solid #ddd;
    }
    .sub-menu-li-date {
        text-align: right;
    }
    .sub-menu-li-date .fa{
        display: inline;
        float: right;
        padding-left: 10px;
    }
    .sub-menu-hdr{
        text-decoration: none;
        text-align: right;
        padding: 15px 0;
        padding-right: 30px;
        border-top: 1px solid #ddd;
    }
    .sub-menu-mul-col .sub-menu-item{
        padding-right: 40px;
    }
    .sub-menu-mul-col{
        padding-left: 0;
    }
    header button{
        display: inline;
    }
    .media-bg,.form-bg{
        background-image: none;
    }
}

