/* --------------------------------------------------
	[1. Header - Topbar blog]
---------------------------------------------------- */
.blog-topbar {
  background: #111;
}
.blog-topbar .container,
.blog-topbar .container-fluid {
  padding-top: 5px;
  padding-bottom: 5px;
}

/* Topbar List */
.topbar-list {
  padding-left: 0;
  list-style: none;
  margin-bottom: 0;
  float: left;
}
.topbar-list > li {
  color: #eee;
  font-size: 10px;
  padding: 7px 0;
  position: relative;
  letter-spacing: 1px;
  display: inline-block;
}

.topbar-list li a {
  color: #eee;
}
.topbar-list li a:hover {
  color: #fff;
  text-decoration: none;
}
.topbar-log_reg li.home:before {
  display: none;
}

/* Topbar Dropdown */
.topbar-list .topbar-dropdown {
  top: 23px;
  left: -3px;
  z-index: 1;
  display: none;
  padding: 7px 0;
  list-style: none;
  min-width: 125px;
  background: #151515;
  position: absolute;
}
@media (min-width: 769px) {
  .topbar-list li:hover .topbar-dropdown {
    display: block;
  }
}

.topbar-list .topbar-dropdown li a {
  color: #eee;
  display: block;
  font-size: 10px;
  padding: 5px 15px;
  margin-bottom: 1px;
}
.topbar-list .topbar-dropdown li a:hover,
.topbar-list .topbar-dropdown li.active a {
  color: #fff;
}
.topbar-list .topbar-dropdown li a:hover {
  text-decoration: none;
}

/* Topbar Submenu */
.topbar-list .topbar-submenu {
  position: relative;
}
.topbar-list .topbar-submenu > a:after {
  top: 8px;
  right: 9px;
  font-size: 11px;
  content: "\f105";
  position: absolute;
  font-weight: normal;
  display: inline-block;
  font-family: FontAwesome;
}
.topbar-list .topbar-submenu:hover > .topbar-submenu-in {
  display: block;
}
.topbar-list .topbar-submenu > .topbar-submenu-in {
  top: 0;
  left: 100%;
  float: left;
  z-index: 1000;
  display: none;
  padding: 7px 0;
  font-size: 10px;
  min-width: 125px;
  text-align: left;
  list-style: none;
  background: #151515;
  position: absolute;
}
.topbar-list .topbar-submenu li:before {
  display: none;
}

.topbar-time {
  color: #fff;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 7px 12px 7px 0;
  float: left;
}

.topbar-toggler {
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  float: left;
  display: none;
  padding-top: 1px;
}

@media (max-width: 768px) {
  .topbar-toggler {
    display: block;
  }
  .topbar-menu {
    display: none;
  }
  .topbar-menu {
    clear: both;
    float: none;
    padding: 0 0 5px;
  }
  .topbar-menu li {
    display: block;
    padding: 7px 0;
  }
  .topbar-menu li:before {
    display: none;
  }
  .topbar-menu strong {
    font-weight: normal;
    opacity: 0.5;
  }
  .topbar-list .topbar-dropdown {
    background: none;
    top: 0;
    left: 10px;
    position: relative;
    min-width: auto;
    padding: 7px 0 0;
  }
  .topbar-list .topbar-submenu > .topbar-submenu-in {
    float: none;
    background: none;
    top: 0;
    left: 10px;
    position: relative;
    min-width: auto;
    display: block;
    padding: 7px 0 0;
  }
  .topbar-list .topbar-dropdown li {
    padding: 7px 0;
  }
  .topbar-list .topbar-dropdown li:last-child {
    padding-bottom: 0;
  }
  .topbar-list .topbar-dropdown li a {
    padding: 0;
  }
  .topbar-list .topbar-submenu > a:after {
    display: none;
  }
}

/*Bug fixed in v1.9*/
@media (min-width: 769px) {
  .topbar-menu {
    display: block !important;
  }
}

/* Search Box */
.blog-topbar .search-btn {
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  padding: 7px 0 0 10px;
}
.blog-topbar .search-btn:hover {
  color: #bbb;
}

.topbar-search-block {
  top: 0;
  left: 0;
  width: 100%;
  display: none;
  background: #333;
}
.topbar-search-block .container {
  padding-top: 0;
  padding-bottom: 0;
}
.topbar-search-block form {
  position: relative;
}
.topbar-search-block .search-close {
  top: 10px;
  right: 0;
  color: #fff;
  cursor: pointer;
  position: absolute;
}
.topbar-search-block .form-control {
  padding: 0;
  color: #eee;
  border: none;
  min-height: 35px;
  font-weight: 200;
  background: #333;
}
.topbar-search-block .form-control:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
}
.topbar-search-block .form-control::-moz-placeholder {
  color: #eee;
  font-weight: 200;
}
.topbar-search-block .form-control:-ms-input-placeholder {
  color: #eee;
  font-weight: 200;
}
.topbar-search-block .form-control::-webkit-input-placeholder {
  color: #eee;
  font-weight: 200;
}

/*--------------------------------------------------
	[3. Header - Navbar]
----------------------------------------------------*/

/*Navbar*/
.header-v8 {
  background: #fff;
  position: relative;
  -webkit-box-shadow: 0 0 5px #bbb;
  box-shadow: 0 0 5px #bbb;
}

@media (max-width: 991px) {
  .header-v8 {
    position: static;
  }
}

/*Containers
------------------------------------*/
@media (max-width: 991px) {
  .header-v8 .res-container:before,
  .header-v8 .res-container:after {
    content: " ";
    display: table;
  }

  .header-v8 .res-container:after {
    clear: both;
  }

  .header-v8 > .navbar > .container > .navbar-header,
  .header-v8 > .navbar > .container > .navbar-collapse {
    margin-left: 0;
    margin-right: 0;
  }
}

/*Navbar*/
.header-v8 .navbar {
  border: none;
  margin-bottom: 0;
  background-color: inherit;
}

/*Navbar Brand*/
.header-v8 .navbar-brand {
  position: relative;
  height: 74px;
  max-height: 74px;
  line-height: 60px;
  z-index: 1;
  padding-top: 20px;
}
.header-v8 .navbar-brand a {
  text-decoration: none;
  display: block;
}

.header-v8 .navbar-brand img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 35px;
  display: block;
  transition: all 0.2s linear;
}

/*Media Queries*/
@media (max-width: 991px) {
  .header-v8 .navbar-brand {
    padding-top: 15px;
    line-height: 45px;
    margin-right: 80px;
    height: 55px;
    max-heigth: 55px;
  }
  .header-v8 .navbar-brand img {
    max-height: 25px;
  }
}

@media (min-width: 992px) {
  .header-v8 .navbar-nav {
    float: right;
  }
}
@media (max-width: 768px) {
  .header-v8 .navbar-brand {
    padding-left: 0;
  }
}

/*Navbar Toggle*/
.header-v8 .navbar-toggle {
  border: none;
  padding: 9px 0;
}

.header-v8 .navbar-toggle .icon-bar {
  height: 1px;
  width: 30px;
  font-size: 20px;
  background: #333;
  margin-bottom: 7px;
}

.header-v8 .navbar-toggle .icon-bar:last-child {
  margin-bottom: 0;
}

.header-v8 .navbar-toggle,
.header-v8 .navbar-toggle:hover,
.header-v8 .navbar-toggle:focus {
  background: inherit;
}

/*Navbar Collapse*/
.header-v8 .navbar-collapse {
  position: relative;
}

/*Navbar Menu*/
.header-v8 .navbar-nav > li > a {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
}

.header-v8 .nav > li > a:hover,
.header-v8 .nav > li > a:focus {
  background: inherit;
}

/*--------------------------------------------------
	[4. Header - Responsive Navbar Style]
----------------------------------------------------*/

/*Responsive Navbar*/
@media (max-width: 991px) {
  .header-v8 .navbar-header {
    float: none;
  }

  .header-v8 .navbar-toggle {
    display: block;
    position: absolute;
    top: 4px;
    right: 10px;
    margin: 0;
    padding: 5px 3px;
    background-color: #f1f1f1;
    border-radius: 5px;
    font-weight: bold;
    font-size: 9px;
  }
  .header-v8 .navbar-toggle:hover {
    background-color: #cccccc;
  }
  .header-v8 .navbar-bar {
    width: 70%;
    display: block;
    height: 2px;
    background-color: #444;
    margin: 10px auto;
  }

  .header-v8 .navbar-bar::before,
  .header-v8 .navbar-bar::after {
    content: "";
    width: 100%;
    display: block;
    height: 2px;
    background-color: #444;
  }
  .header-v8 .navbar-bar::before {
    -webkit-transform: translateY(-7px);
    transform: translateY(-7px);
  }
  .header-v8 .navbar-bar::after {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
  }
  .header-v8 .navbar-collapse {
    border-color: #eee;
    border-bottom: 1px solid #eee;
  }

  .header-v8 .navbar-collapse.collapse {
    display: none !important;
  }

  .header-v8 .navbar-collapse.collapse.in {
    display: block !important;
    overflow-y: auto !important;
  }

  .header-v8 .navbar-nav {
    margin: 0;
    float: none !important;
  }

  .header-v8 .navbar-nav > li {
    float: none;
  }

  .header-v8 .navbar-nav > li > a {
    padding-top: 30px;
    padding-bottom: 40px;
  }

  /*Navbar Nav*/
  .header-v8 .navbar-nav > li > a {
    color: #444;
  }

  /*Pull Right*/
  .header-v8 .dropdown-menu.pull-right {
    float: none !important;
  }

  /*Navbar*/
  .header-v8 .navbar-nav .open > a:focus,
  .header-v8 .navbar-nav .open > a:hover {
    border-color: #eee;
  }

  /*Dropdown Menu Slide Down Effect*/
  .header-v8 .navbar-nav .dropdown-menu {
    background-color: transparent;
    padding: 0;
  }
  .header-v8 .navbar-nav .dropdown-menu li a {
    padding-top: 10px;
    padding-bottom: 7px;
  }

  .header-v8 .navbar-nav .dropdown > a {
    margin-right: 40px;
  }
  .header-v8 .navbar-nav .dropdown > button {
    position: absolute;
    top: 5px;
    right: 20px;
    font-size: 1.2em;
    font-weight: bold;
  }
  .header-v8 .navbar-nav .dropdown > a.dropdown-toggle {
    position: absolute;
    top: 7px;
    right: 20px;
    margin: 0;
    padding: 2px 6px 3px;
    font-size: 1.2em;
    font-weight: bold;
  }

  .header-v8 .navbar-nav .open .dropdown-menu {
    border: 0;
    float: none;
    width: auto;
    margin-top: 0;
    position: relative;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: transparent;
  }

  .header-v8 .navbar-nav .open .dropdown-menu > li > a,
  .header-v8 .navbar-nav .open .dropdown-menu .dropdown-header {
    padding: 10px 15px 10px 25px;
  }

  .header-v8 .navbar-nav .open .dropdown-menu > li > a {
    line-height: 20px;
  }

  .header-v8 .navbar-nav .open .dropdown-menu > li > a:hover,
  .header-v8 .navbar-nav .open .dropdown-menu > li > a:focus {
    background-image: none;
  }

  .header-v8 .navbar-nav .open .dropdown-menu > li > a {
    color: #777;
  }

  .header-v8 .navbar-nav .open .dropdown-menu > li > a:hover,
  .header-v8 .navbar-nav .open .dropdown-menu > li > a:focus {
    background-color: transparent;
  }

  .header-v8 .navbar-nav .open .dropdown-menu > .active > a,
  .header-v8 .navbar-nav .open .dropdown-menu > .active > a:hover,
  .header-v8 .navbar-nav .open .dropdown-menu > .active > a:focus {
    background-color: transparent;
  }

  .header-v8 .navbar-nav .open .dropdown-menu > .disabled > a,
  .header-v8 .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .header-v8 .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    background-color: transparent;
  }

  .header-v8 .dropdown-menu.no-bottom-space {
    padding-bottom: 0;
  }

  /*Design for max-width: 991px*/
  .header-v8 .navbar-collapse,
  .header-v8 .navbar-collapse .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0;
    margin-right: 0;
  }

  .header-v8 .navbar-nav > li > a {
    font-size: 14px;
    padding: 10px 5px;
  }

  .header-v8 .navbar-nav > li {
    border-bottom: none;
    border-top: 1px solid #eee;
  }

  .header-v8 .navbar-nav > li:first-child {
    border-top: transparent;
  }

  .header-v8 .navbar-nav > .open > a,
  .header-v8 .navbar-nav > .open > a:hover,
  .header-v8 .navbar-nav > .open > a:focus {
    color: #555;
    background: inherit;
  }

  .header-v8 .navbar-nav > .active > a,
  .header-v8 .navbar-nav > .active > a:hover,
  .header-v8 .navbar-nav > .active > a:focus {
    background: inherit;
  }

  .header-v8 .dropdown-menu li {
    border-top: 1px solid #eee;
  }
  .header-v8 .dropdown .dropdown-submenu a {
    font-size: 13px;
    color: #555 !important;
  }
}

@media (min-width: 992px) {
  /*Navbar Collapse*/
  .header-v8 .navbar-collapse {
    padding: 0;
  }

  /*Navbar*/
  .header-v8 .navbar {
    min-height: 40px !important;
  }

  .header-v8 .container > .navbar-header,
  .header-v8 .container-fluid > .navbar-header,
  .header-v8 .container > .navbar-collapse,
  .header-v8 .container-fluid > .navbar-collapse {
    margin-bottom: -10px;
  }

  .header-v8 .navbar-nav {
    position: relative;
    transition: all 0.2s linear;
    /* bottom: -10px; */
  }

  .header-v8 .navbar-nav > li > a {
    padding: 10px 20px;
    line-height: 54px;
  }

  .header-v8 .navbar-nav > li:last-child > a {
    padding-right: 0;
  }

  .header-v8 .navbar-nav > li.home > a {
    padding-left: 0;
  }

  .header-v8 .navbar-nav > li > a,
  .header-v8 .navbar-nav > li > a:hover,
  .header-v8 .navbar-nav > li > a:focus,
  .header-v8 .navbar-nav > .active > a,
  .header-v8 .navbar-nav > .active > a:hover,
  .header-v8 .navbar-nav > .active > a:focus {
    color: #333;
    background: none;
  }

  .header-v8 .navbar-nav > .open > a,
  .header-v8 .navbar-nav > .open > a:hover,
  .header-v8 .navbar-nav > .open > a:focus {
    color: #333;
  }

  .header-v8 .dropdown button {
    display: none;
  }
  .header-v8 .navbar-nav .dropdown > a.dropdown-toggle {
    display: none;
  }

  /*Dropdown Menu*/
  .header-v8 .dropdown-menu {
    border: none;
    padding: 15px 0;
    min-width: 230px;
    border-radius: 0;
    background: #fff;
    z-index: 9999 !important;
  }

  .header-v8 .dropdown-menu > li > a {
    color: #777;
    font-size: 13px;
    font-weight: 400;
    padding: 6px 25px;
  }

  .header-v8 .dropdown-menu .active > a,
  .header-v8 .dropdown-menu li > a:hover {
    background: inherit;
    -webkit-filter: none !important;
    filter: none !important;
    -webkit-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
  }

  .header-v8 .dropdown-menu li > a:focus {
    background: none;
    -webkit-filter: none !important;
    filter: none !important;
  }

  .header-v8 .navbar-nav > li.dropdown:hover > .dropdown-menu {
    display: block;
  }
  .header-v8 .navbar-nav > li.dropdown:hover > .dropdown-menu:last-child {
    right: 0;
  }

  .header-v8 .open > .dropdown-menu {
    display: none;
  }
}

/*--------------------------------------------------
	[5. Header - Submenu]
----------------------------------------------------*/

/*Dropdown Submenu for BS3
------------------------------------*/
.header-v8 .dropdown-submenu {
  position: relative;
}

.header-v8 .dropdown-submenu > a:after {
  top: 9px;
  right: 15px;
  font-size: 11px;
  content: "\f105";
  position: absolute;
  font-weight: normal;
  display: inline-block;
  font-family: FontAwesome;
}

@media (max-width: 991px) {
  .header-v8 .dropdown-submenu > a:after {
    content: " ";
  }
}

.header-v8 .dropdown-submenu > .dropdown-menu {
  top: -20px;
  left: 100%;
  margin-left: 0px;
}

/*Submenu comes from LEFT side*/
.header-v8 .dropdown-submenu > .dropdown-menu.submenu-left {
  left: -100%;
}

.header-v8 .dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

@media (max-width: 991px) {
  .header-v8 .dropdown-submenu > .dropdown-menu {
    display: block;
    margin-left: 15px;
  }
}

.header-v8 .dropdown-submenu.pull-left {
  float: none;
}

.header-v8 .dropdown-submenu.pull-left > .dropdown-menu {
  left: -100%;
  margin-left: 10px;
}

.header-v8 .dropdown-menu li [class^="fa-"],
.header-v8 .dropdown-menu li [class*=" fa-"] {
  left: -3px;
  width: 1.25em;
  margin-right: 1px;
  position: relative;
  text-align: center;
  display: inline-block;
}
.header-v8 .dropdown-menu li [class^="fa-"].fa-lg,
.header-v8 .dropdown-menu li [class*=" fa-"].fa-lg {
  /* increased font size for fa-lg */
  width: 1.5625em;
}

/*--------------------------------------------------
	[6. Header - Mega Menu]
----------------------------------------------------*/

/*Mega Menu
------------------------------------*/
.header-v8 .mega-menu .nav,
.header-v8 .mega-menu .dropup,
.header-v8 .mega-menu .dropdown,
.header-v8 .mega-menu .collapse {
  position: relative;
}

.header-v8 .mega-menu .navbar-inner,
.header-v8 .mega-menu .container {
  position: static;
}

.header-v8 .mega-menu .dropdown-menu {
  left: auto;
}

.header-v8 .mega-menu .dropdown-menu > li {
  display: block;
}

.header-v8 .mega-menu .dropdown-submenu .dropdown-menu {
  left: 100%;
}

.header-v8 .mega-menu .nav.pull-right .dropdown-menu {
  right: 0;
}

.header-v8 .mega-menu .mega-menu-content {
  *zoom: 1;
  padding: 0;
}

.header-v8 .mega-menu .mega-menu-content:before,
.header-v8 .mega-menu .mega-menu-content:after {
  content: "";
  display: table;
  line-height: 0;
}

.header-v8 .mega-menu .mega-menu-content:after {
  clear: both;
}

.header-v8 .mega-menu.navbar .nav > li > .dropdown-menu:after,
.header-v8 .mega-menu.navbar .nav > li > .dropdown-menu:before {
  display: none;
}

.header-v8 .mega-menu .mega-menu-fullwidth .dropdown-menu {
  left: 0;
  right: 0;
  overflow: hidden;
}

/*Dropdown Menu*/
.header-v8 .mega-menu .mega-menu-fullwidth .dropdown-menu li a {
  padding: 0;
}

.header-v8 .mega-menu .mega-menu-fullwidth .dropdown-menu li h2 {
  color: #333;
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 400;
}

/*Dropdown Link List*/
.header-v8 .mega-menu .mega-menu-fullwidth .dropdown-link-list {
  padding-left: 0;
  list-style: none;
  margin-bottom: 0;
}

.header-v8 .mega-menu .mega-menu-fullwidth .dropdown-link-list li {
  display: block;
}

.header-v8 .mega-menu .mega-menu-fullwidth .dropdown-link-list li a {
  color: #777;
  display: block;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 400;
  border-bottom: solid 1px #eee;
}

.header-v8 .mega-menu .mega-menu-fullwidth .dropdown-link-list li a:hover {
  text-decoration: none;
}

/*Responsive Mega Menu Content*/
@media (min-width: 768px) {
  .header-v8 .mega-menu .mega-menu-fullwidth .mega-menu-content .row {
    margin-right: 15px;
  }
}

@media (max-width: 991px) {
  /*Dropdown Menu*/
  .header-v8 .mega-menu .mega-menu-fullwidth .dropdown-menu {
    width: auto;
  }

  .header-v8 .mega-menu .mega-menu-fullwidth .dropdown-menu > li > ul {
    display: block;
  }

  .header-v8 .mega-menu .mega-menu-fullwidth .dropdown-menu li h2 {
    font-size: 13px;
    padding-left: 10px;
  }

  .header-v8 .mega-menu .mega-menu-fullwidth .dropdown-menu li a {
    border-top: none;
  }

  /*Dropdown Link List*/
  .header-v8 .mega-menu .mega-menu-fullwidth .dropdown-link-list > li > a {
    padding-left: 15px;
  }
}

@media (min-width: 992px) {
  .header-v8 .mega-menu .mega-menu-fullwidth .dropdown-menu {
    padding-top: 25px;
    margin-left: 15px;
    margin-right: 15px;
    padding-bottom: 25px;
  }
}

/*--------------------------------------------------
    [7. Header - Fixed]
----------------------------------------------------*/

/*Header*/
.header-fixed .header-v8.header-sticky {
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 999;
  position: fixed;
}

/*Media Queries*/
@media (max-width: 991px) {
  .header-fixed .header-v8.header-sticky {
    position: static;
  }
}

@media (min-width: 992px) {
  /*Topbar v2*/
  .header-fixed .header-v8.header-fixed-shrink .blog-topbar {
    margin-top: -40px;
  }

  /*Navbar Brand*/
  .header-fixed .header-v8.header-fixed-shrink .navbar-brand {
    height: 65px;

    line-height: 36px;
    padding-bottom: 10px;
  }

  .header-fixed .header-v8.header-fixed-shrink .navbar-brand img {
    max-height: 25px;
  }

  /*Navbar Nav*/
  .header-fixed .header-v8.header-fixed-shrink .navbar-nav {
    margin-top: 8px;
  }
  .header-fixed .header-v8.header-fixed-shrink .navbar-nav > li > a {
    line-height: 30px;
  }

  /*Transition*/
  .header-v8 .blog-topbar,
  .header-v8 .navbar-brand,
  .header-v8 .navbar-nav > li > a,
  .header-fixed .header-v8.header-fixed-shrink .blog-topbar,
  .header-fixed .header-v8.header-fixed-shrink .navbar-brand,
  .header-fixed .header-v8.header-fixed-shrink .navbar-nav > li > a {
    -webkit-transition: all 0.3s cubic-bezier(0.5, 1, 0.7, 1);
    transition: all 0.3s cubic-bezier(0.5, 1, 0.7, 1);
  }

  .admin-bar.header-fixed .header-v8.header-sticky {
    padding-top: 32px;
  }
}

/*--------------------------------------------------
[8. Header Boxed Layout]
----------------------------------------------------*/

.boxed-layout.header-fixed .header-v8.header-sticky {
  left: inherit;
  width: inherit;
}

.boxed-layout-space.header-fixed .header-v8.header-sticky {
  top: 40px;
}

@media (max-width: 767px) {
  .boxed-layout-space.header-fixed .header-v8.header-sticky {
    top: 0;
  }
}
