﻿
.menuBar{
    position: relative;
	z-index: 99;
	white-space: nowrap;
}
.mainmenu
{
    float: left;
    position: relative;
	z-index: 99;
	white-space: nowrap;

}
.optionsmenu
{
    float: right;
    position: relative;
	z-index: 99;
	white-space: nowrap;

}
.toggle-mobile-menu .fa
{
    line-height: 60px;
	color: #fff;
	height: 60px;
	font-size: 2em;
}
.menuBar .menuBarItem > a
{
    line-height: 60px;
	color: #fff;
	height: 60px;
	max-width: 150px;
	overflow: hidden;
	text-overflow: ellipsis;
}
.menuBar .menuBarItem > a:hover
{
	color: #fff;
}
.mainmenu .menuBar .menuBarItem > a
{
    border-right: 1px dotted #fff;
}
.optionsmenu .menuBar .menuBarItem > a
{
    border-left: 1px dotted #fff;
}

.menuBar a
{
    display: block;
	position: relative;
	text-decoration: none;
	padding: 0 0.5em;
	background-position: 2px center;
	background-repeat: no-repeat;
}
.menuBar a i
{
    background-position: center center;
    background-repeat: no-repeat;
    width: 1.28571429em;
    line-height: 1;
    vertical-align: middle;
    display: inline-block;
    margin-right: 0.25em;
}
.menuBar .hassubs > a:after
{
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 1.28571429em;
    text-align: center;
    margin-left: 0.25em;
    content: "\f0d7";
}
.menuBar li li a
{
	background: none no-repeat 2px 1px;
	color: #000;
    line-height: 2.5;
	font-weight: normal;
}
ul.menuBar,
ul.menuBar ul
{
	padding: 0px;
	margin: 0;
	list-style-type: none;
}
.menuBar li.menuBarItem
{
	float: left;
	position: relative;
}
.menuBar li.menuBarItem ul
{
	visibility: hidden;
    opacity: 0;
	z-index: 105;
    transition: all 0.2s; 
	position: absolute;
	left: -1px;
	top: 100%;
	background-color: #eee;
	border-color: #3F657A;
	border-width: 1px 1px 1px 1px;
	border-style: solid;

    -webkit-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.25);
    box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.25);
    min-width: 100% ;
}
.optionsmenu .menuBar li.menuBarItem ul
{
	left: auto;
	right: -1px;
}

.menuBar a:hover,
.menuBar li.menuBarItem.active
{
    background: rgba(0,0,0,0.1);
}
.menuBar li.menuBarItem.active ul
{
	visibility: visible;
    opacity: 1;
}

.menuBar .menuBarRight
{
	padding-top: 4px;
}
.menuBar .menuBarRight a
{
	display: inline;
	margin: 0px;
	padding: 0px;
}

/** small screens only **/
@media only screen and (max-width: 991px)
{
    #headerlogo1,
    #headerlogo2
    {
        width: 50%;
    }

}
@media only screen and (max-width: 767px)
{
    .toggle-mobile-menu
    {
        float: left;
    }
    .mainmenu
    {
        display: none;
        float: none;
        width: 100%; 
    }
    body.mobilemenuactive .mainmenu
    {
        display: block;
        float: none;        
    }
    .mainmenu .menuBar li.menuBarItem
    {
        display: block;
        float: none;
    }
    .mainmenu .menuBar li.menuBarItem > a
    {
        width: 100%;
        max-width: none;
        border-right: none;
        border-top: 1px dotted #fff;
    }
    .mainmenu .menuBar li.menuBarItem ul
    {
	    display: none;
        transition: all 0.2s; 
	    position: relative;
	    left: 0;
	    top: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        width: 100% ;
        border: none;
    }
    .mainmenu .menuBar li.menuBarItem.active ul
    {
	    display: block;
    }
}