﻿header {
  background: #24282c;
}
header li.dropdown {
  display: block;
}
header li.dropdown .dropdown-menu {
  background: none;
  width: auto;
  white-space: nowrap;
  text-align: center;
  padding: 0;
  margin-left: -60px;
  opacity: 0;
  display: block !important;
  z-index: 0;
  box-shadow: none !important;
  border: none;
  font-weight: lighter;
}
header li.dropdown .dropdown-menu li {
  display: inline-block;
  padding: 0;
  font-weight: lighter;
}
header li.dropdown .dropdown-menu li a {
  padding: 0 10px;
  line-height: 60px;
  height: 60px;
  font-size: 14px;
  font-weight: lighter;
}
header li.dropdown .dropdown-menu li > a:hover:after {
  display: none;
}
header li.dropdown:hover .dropdown-menu {
  margin-left: 0;
  opacity: 1;
  z-index: 100;
  transition: all ease-in-out 300ms;
}
header li.dropdown:after {
  position: absolute;
  content: '';
  color: #fff;
  width: 0;
  left: 0;
  top: 100%;
  height: 0;
  margin-bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
  margin-left: -8900%;
  opacity: 0;
}
header li.dropdown:hover:after {
  z-index: 1;
  width: 10000%;
  opacity: 1;
  height: 60px;
  transition: all ease-in-out 300ms;
}
header .table-ceil {
  display: table-cell;
}
header .search-bar {
  white-space: nowrap;
  width: 230px;
}
header .navbar {
  margin-bottom: 0;
}
header .navbar-nav a {
  color: #fff;
}
header .navbar-nav.navbar-left a {
  font-weight: lighter;
  color: #fff;
}
header .navbar-nav.navbar-left a:hover {
  color: #555;
  background-color: #e7e7e7;
}
header .navbar-nav.navbar-right a {
  font-weight: lighter;
  color: #fff;
}
header .navbar-nav.navbar-right a:hover {
  color: #00a0e9;
}
header .navbar-nav li.activity:before {
  content: 'HOT';
  background: #f00;
  position: absolute;
  top: 5px;
  right: 0;
  width: 36px;
  font-size: 10px;
  text-align: center;
  color: #fff;
  height: 16px;
  line-height: 16px;
}
header .navbar-nav li.activity:after {
  content: '';
  position: absolute;
  top: 20px;
  right: 13px;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  border-top: 5px solid #f00;
}
header .navbar-nav li > a {
  padding: 25px 18px;
  background: none !important;
}
header .navbar-nav li > a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -10px;
  width: 0;
  border-bottom: 4px solid #06baf6;
  transition: all 100ms ease;
}
header .navbar-nav li > a:hover {
  background: none !important;
  color: #fff !important;
}
header .navbar-nav li > a:hover:after {
  left: 0;
  width: 100%;
  transition: none;
}
header .navbar-nav li.active > a {
  background: none;
  font-weight: bold;
  position: relative;
  color: #fff !important;
}
header .navbar-nav li.active > a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  border-bottom: 4px solid #06baf6;
}
header .navbar-default {
  background: #24282c;
  border-color: #24282c;
}
header .table {
  display: table;
  margin-bottom: 0;
}
@media screen and (min-width: 768px) {
  header .navbar-collapse {
    display: table-cell;
  }
}
@media screen and (max-width: 768px) {
  header .search-bar {
    text-align: right;
    position: absolute;
    bottom: 0;
    right: 15px;
  }
  header .search-bar li {
    display: inline-block;
  }
  header .navbar-collapse {
    margin-bottom: 50px;
  }
  header .navbar-header {
    position: absolute;
    bottom: 0;
    left: 15px;
  }
  header .navbar-right.navbar-nav {
    margin-left: 0;
    margin-right: 0;
    border: none;
  }
  header .navbar-right {
    white-space: nowrap;
  }
}
@media (max-width: 768px) {
  header .navbar-nav li > a {
    padding: 6px 18px;
  }
  .container .table-ceil .navbar-brand {
    height: 55px;
  }
  .container .table-ceil .navbar-toggle {
    margin-top: 16px;
  }
}
@media (max-width: 500px){
	.navbar .navbar-header{
 	width:85%;
    position: absolute;
	top:-5px;
    right: 0px;
 
    margin-right: 15px;}
	
	.navbar .search-bar{
			width:50%;
		position: absolute;
    right: 0px;
   
   }
	.navbar .search-bar ul{
			width:110px;
	
   }
		.navbar .search-bar ul li{
			width:30px;
	
   }
   	.navbar .search-bar ul li a{
		font-size:12px;
	
   }
	
	}