/**********************************
Responsive navbar-brand image CSS
- Remove navbar-brand padding for firefox bug workaround
- add 100% height and width auto ... similar to how bootstrap img-responsive class works
***********************************/

#nav {
    width: 100%;
    display: block;
    background-color: rgba(255,255,255,0.5);
    border-radius: 0;
    border: 0;
    z-index: 11;
    position: absolute;
}

#nav ul {
    padding: 0;
    margin: 0 0 0 104px;
    list-style: none;
    position: relative;
    display: inline-block;
    float: left;
}

#nav ul li {
    display: list-item;
    height: 100%;
    list-style: none;
    float: left;
}

#nav ul li a {
  color: #222;
  display: block;
  font-family: PromptMedium;
  font-size: 1em;
  padding: 15px 16px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

#nav ul li a:hover {color:#222; text-shadow: 1px 1px 2px #DEDDC8; position: relative; top:1px;}

/* The Dropdown Styles */
/* =================== */
/* Hide Dropdowns by Default */
#nav ul ul {
    display: none;
    position: absolute;
    z-index: 10000;
    margin-left: 8px;
    min-width: 30%;
    background: rgba(145, 157, 131, 0.85);
    -webkit-transition: opacity 600ms, visibility 600ms;
    transition: opacity 600ms, visibility 600ms;
    opacity:0;
}
/* Display Dropdowns on Hover */
#nav ul li:hover > ul {
    display:list-item;
    opacity:1;
}
/* Fisrt Tier Dropdown */
#nav ul ul li {
    /*width:200px;*/
    float:none;
    position: relative;
    border-bottom:none;
}
#nav ul ul li i {
    /*margin-right:10px;*/
    }
#nav ul ul li a {
    padding:10px 20px;
    text-align:left;
    color: #fff
}
/* Second, Third and more Tiers */
nav ul ul ul li {
    position: absolute relative;
    top:-79px;
    left:200px;
}


#nav .container-fluid, #nav .navbar-collapse {padding-left: 0; padding-right: 0}

/*------- Menu background colors ---------------------*/

/*---------------------------------------------------*/

#navbar7 {max-width:1200px; margin: 0 auto; width: 100%}

@media only screen and (max-width : 768px){
  .navbar {margin-bottom: 0}
  #nav ul li {width: 100%}
  #nav ul ul {position: relative; top: inherit; display: none}
}

.navbar-brand {
  padding: 0px;
}
.navbar-brand>img {
  height: 100%;
  padding: 15px;
  width: auto;
}

@media (max-width:1200px){
#nav ul li a {padding-left: 12px; padding-right: 12px; font-size: 1.4em;}
}

@media (max-width:1080px){
#nav ul li {font-size: 0.8em;}
#nav ul li a {padding: 10px; font-size: 1.4em;}
}

@media only screen and (max-width : 1024px){}

@media (max-width: 768px){
    #nav {background-color: rgba(255,255,255,0.9)!important; position: relative;}
    #nav ul {margin: 0;float: none;width: 100%;}
    #nav ul li a {font-size: 2.2em; font-weight: bold;}

    #navbar7 {width: 100%}
}


/* EXAMPLE 9 - Center with Flexbox and Text*/
.brand-centered {
  display: flex;
  justify-content: center;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
}
.brand-centered .navbar-brand {
  display: flex;
  align-items: center;
}
.navbar-toggle {
    z-index: 1;
}




/* CSS Transform Align Navbar Brand Text ... This could also be achieved with table / table-cells */
.navbar-alignit .navbar-header {
	  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  height: 50px;
}
.navbar-alignit .navbar-brand {
	top: 50%;
	display: block;
	position: relative;
	height: auto;
	transform: translate(0,-50%);
	margin-right: 15px;
  margin-left: 15px;
}




.navbar-nav>li>.dropdown-menu {
	z-index: 9999;
}