/* ==================================================================
  HEADER
================================================================== */

.topbar {
  padding:0;
  border:0;
  position: relative;
  min-height: 40px;
  line-height: 40px;
  display: block;
}
.topbar-drops {
  margin-right: -15px;
}
.topbar-drops i {
  vertical-align: middle;
  padding-right: 4px;
  font-size: 17px;
  padding-bottom: 2px;
  color: @text-brand-color;
}
.topbar,
.topbar a,
.topbar p {
  margin:0;
  padding:0;
  font-size: 14px;
  font-family: 'Oswald', serif;
  color:@brand-primary;
}
.topbar ul {
  background:#e5e5e5;
  border-radius: 0 0 5px 5px; 
}
.topbar li:hover {
  background-color: darken(#e5e5e5, 20%);
  color: #fff;
}
.topbar li.nohover:hover {
  background-color: transparent;
  color:@brand-primary;
}
.topbar li {
  padding:0 10px;
  margin:0;
  border-radius: 0 0 5px 5px; 

}
.topbar li.nohover .fa {
  color: @brand-success;
}
.navbar-brand {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    text-align: center;
    margin: auto;
    img {
      max-width: 220px;
      margin-top: 12px;
    }
}

.header {
  display: block;
  position: relative;
  padding-top: 0;
  border-bottom: 1px solid #eeeeee;
  background-color: #fff;

}

.header.sticky {
    position: fixed;
}


.navbar-nav > li > a {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size:16px;
  color:@text-color;
  padding: 10px 10px 4px 10px;
  margin-top: 8px;
  border-bottom:3px solid #ffffff;

  &:hover {
    background: @brand-secondary; 
  }
}



.navbar .navbar-times {
    background: transparent;
    color: @brand-primary;
    i {
        vertical-align: middle;
        color: @text-brand-color;
        font-size: 40px;
        padding-top: 24px;
        padding-right: 6px;

    }

    span {
      line-height: 20px;
      font-size: 13px;
      font-weight: 500;
      float: right;
      display: block;
      text-align: right;
      padding-top: 10px;
      font-family: 'Oswald', serif;
    }
  }

.navbar .navbar-subnavi {
  display: block;

}



.navbar .navbar-subnavi .subnavi {
    padding-left: 16px;
    position: relative;
}
.navbar .navbar-subnavi .subnavi::before {
  position: absolute;
  content:"";
  z-index:99998;
  width: 0; 
  height: 0; 
  left: 4px;
  top: 10px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent; 
  border-left:10px solid @brand-secondary;; 
}
.subnavi .navbar-nav > li > a {
   font-family: 'Raleway', sans-serif;
   font-size:14px;
   margin-top: 0px;
   color: lighten(@brand-primary, 0%)
}
.navbar-default {
  border:0;
  background-color: #ffffff;
}
.navbar-collapse,
.navbar {
  margin:0;
  border:0;
  margin-right: -15px;
}

#side-navigation {
  margin-right: 0px;
}

.navbar-brand > img {
  margin: 0;
}
.navbar .navbar-left {
  margin-top: 24px;
  padding-left: 0px;
}

.navbar .navbar-right {
  margin-right: 0px;
}

nav hr {
  margin-top: 0px;
  margin-bottom: 0px;
  border: 0;
  border-top: 1px solid @brand-primary;
}
.navbar .navbar-subnavi .subnavi {
  margin-top: 0px;
}
.dropdown-menu {
    background-color: #fff !important;
    border-left: 1px solid lighten(@brand-primary, 40%);
    border-right: 1px solid lighten(@brand-primary, 40%);
    border-radius: 0;
    box-shadow: none !important;
    color: #ffffff;
    min-width: 210px;
    padding: 0px;
    z-index: 9999;
}
.nav .open > a, 
.nav .open > a:hover, 
.nav .open > a:focus,
.navbar-nav > li > a.active,
.navbar-nav > li > a:focus,
.navbar-nav > li > a:hover,
.navbar-nav > li > a:hover, 
.navbar-nav > li > a:focus, 
.navbar-nav > li > a.active, 
.navbar-nav > li > a:active {
  background: #ffffff !important;
  background: rgb(255, 255, 255); /* The Fallback */
  background: rgba(255, 255, 255, 1); 
  box-shadow: none;
}
.sidebar li a,
.sidebar li a:hover,
.sidebar li a:focus {
  background-color: transparent;
  background: rgb(255, 255, 255); /* The Fallback */
  background: rgba(255, 255, 255, 0); 
}
.dropdown-menu li:last-child {
  border-bottom: 1px solid transparents;
}
.dropdown-menu li {
  //text-transform: uppercase;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  //border-bottom: 1px solid lighten(@brand-primary, 40%);
}
.dropdown-menu li a {
  color:@brand-primary;
  font-weight: 600;
  padding: 3px 10px;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: #ffffff;
  text-decoration: none;
  background-color: transparent;
}

.dropdown-menu li {
  color:@white;
  padding:10px 12px 5px !important;
  font-size:14px;
  line-height: 28px;

  &.first {
    border-bottom: 1px solid #c4c4c4;
    a {
          font-weight: bold;

    }
  }
}
.dropdown-menu > li:hover,
.dropdown-menu > li:focus{
    color:@white;
    background: @brand-secondary;
}
.yamm .dropdown-menu li h3 {
  font-size:15px;
  margin-bottom: 0;
  color:#999999;
  padding:10px 0;
}
.nopadding {
  padding:0 !important;
}
.yamm-content .col-md-6 { 
    min-width: 210px;
}
.navbar-nav .noborder {
    border-bottom: 0 none !important;
    font-size: 18px;
    margin-top: 10px;
    padding: 8px 15px 4px;
}
.fixedheader {
  background: #ffffff !important;
  background: rgb(255, 255, 255); /* The Fallback */
  background: rgba(255, 255, 255, 0.9) !important; 
  box-shadow: none;
  position: absolute;
  top:0px;
  left: 0;
  z-index: 9999;
  width:100%;
}
.nomargin {
  top:0;
}
.setbg{
  background: url(../images/header-bg.png) no-repeat scroll center top / cover rgba(255, 255, 255, 1) !important;
}
.nobg,
.fixedheader .nav .open > a, 
.fixedheader .nav .open > a:hover, 
.fixedheader .nav .open > a:focus, 
.fixedheader .navbar-nav > li > a.active, 
.fixedheader .navbar-nav > li > a:focus, 
.fixedheader .navbar-nav > li > a:hover, 
.fixedheader .navbar-nav > li > a:hover, 
.fixedheader .navbar-nav > li > a:focus, 
.fixedheader .navbar-nav > li > a.active, 
.fixedheader .navbar-nav > li > a:active {
  background: #ffffff !important;
  background: rgb(255, 255, 255); /* The Fallback */
  background: rgba(255, 255, 255, 0) !important; 
}

.nav .open > a, 
.nav .open > a:hover, 
.nav .open > a:focus,
.navbar-nav > li > a.active,
.navbar-nav > li > a:focus,
.navbar-nav > li > a:hover {
  border-color: @brand-primary;
}

.subnavi li:hover.dropdown::before {
  position: absolute;
  content:"";
  z-index:99998;
  width: 0; 
  height: 0; 
  left: 60px;
  top: 37px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid @brand-primary;
}
.fixedheader .navbar-nav > li > a {
  border-color:transparent;
  background: rgba(255, 255, 255, 0) !important; 
}
.fixedheader .navbar-nav > li > a:hover {
  background: @brand-secondary !important; 
  color:#fff;
}

.fixedheader .nav .open  > a.dropdown-toggle:hover, 
.fixedheader .nav .open  > a.dropdown-toggle:focus, 
.fixedheader .navbar-nav > li > a.dropdown-toggle.active, 
.fixedheader .navbar-nav > li > a.dropdown-toggle:focus, 
.fixedheader .navbar-nav > li > a.dropdown-toggle:hover, 
.fixedheader .navbar-nav > li > a.dropdown-toggle:hover, 
.fixedheader .navbar-nav > li > a.dropdown-toggle:focus, 
.fixedheader .navbar-nav > li > a.dropdown-toggle.active, 
.fixedheader .navbar-nav > li > a.dropdown-toggle:active {
  background: @brand-secondary !important; 
  color:#fff;
}

.fixedheader .subnavi .navbar-nav > li > a:hover {
    color:@text-color;
}

.nobg .navbar-nav > li > a i,
.nobg .navbar-nav > li > a {
  color:#ffffff;
}
.nobg {
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    -webkit-background-clip: padding-box; /* for Safari */
    background-clip: padding-box; /* for IE9+, Firefox 4+, Opera, Chrome */
}

.navbar-toggle {
  float: left;
  margin-bottom: 0px;

}


