
header {
  width: 100%;
  height: auto;

  position: relative;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
  color: #000;
  background: #fff;
  transition: all 0.4s ease-out;
}
.main-header{
    width: 100%;
  height: auto;

  position: relative;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
  color: #000;
  background: #fff;
  transition: all 0.4s ease-out;
    
}
.nav-link {
  color: inherit;
  transition: all 0.4s;
  text-decoration: none;
}

.nav-brand {
  flex: 1 auto;
  padding: 0 16px;
  font-size: 13px;
  line-height: 1.5;
  overflow: hidden;
  height: 50px;
  display: flex;
  align-items: center;
}
.nav-brand a {
  display: inline-block;
  text-decoration: none;
  color: #000;
  
}
.nav-brand img {
  max-width: 100%;
  height: auto;
  vertical-align: initial;
}

@media (min-width: 768px) {
  .nav-brand {
    flex: 0 1 auto;
  }

  .nav-toggle {
    display: none;
  }
}
.nav-collapse {
  flex: 1 1 auto;
  order: 0;
  height: 100%;
}
.nav-list a{
    font-size:15px;
}
.main-header {
    padding: 15px 0;
}
.nav-brand img {
    width: 134px;
}
.nav-list {
    display: flex;
    padding: 0;
    list-style-type: none;
    flex-direction: row;
}
ul.submenu {
    padding: 10px 7px;
}

.nav-list__item {
  display: flex;
  align-items: center;
  padding: 0 12px;
  height: 37px;
}
.nav-list__item:first-child {
  margin: 0;
}
ul.submenu a {
    padding-top: 0;
    padding-bottom: 0;
    padding: 0 !important;
}
ul.submenu a {
    font-size: 13px;
}
.submenu--trigger {
  position: relative;
  cursor: pointer;
}
.submenu--trigger:hover .submenu {
    visibility: visible;
    opacity: 1;
    z-index: 9;
}

.third-submenu--trigger {
  position: relative;
  cursor: pointer;
}
.third-submenu--trigger:hover .third-submenu {
  visibility: visible;
  opacity: 1;
}

.submenu--trigger i,
.third-submenu--trigger i {
  position: absolute;
  top: calc(50% - 6px);
  right: 8px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(45deg);
}

.third-submenu--trigger i {
  transform: rotate(-45deg);
}

.submenu,
.third-submenu {
  opacity: 0;
  visibility: hidden;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 0;
  background: #fff;
  box-shadow: 0 8px 10px #f1f1f1;
  transition: 0.2s ease-out;
}
.submenu li,
.third-submenu li {

}
.submenu li:hover,
.third-submenu li:hover {
  color:#d21e2b;
}
.submenu li:hover > a,
.third-submenu li:hover > a{
  color:#d21e2b;
}

.submenu {
  top: 50px;
  width:350px;
}
nav {
    float: right;
}
.third-submenu {
    top: 0;
    left: 100%;
    width: 300px;
}
header.sticky {
    top: 0;
}
.top-bar-info a {
    color: #fff;
}

@media (max-width: 767px) {
  .nav-list {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 0em;
    transition: max-height 0.4s;
  }
  .nav-list.showing {
    max-height: 32em;
    transition: max-height 0.4s;
  }
.nav-list li {
	display: inline-block;
	background: #fff;
	width: 100%;
	height: auto;
	border-top: none;
}
ul.submenu {
	padding: 0 7px;
}

  .nav-collapse {
    margin: 0;
    flex: 1 100%;
    order: 2;
  }

  .nav-list__item {
    padding: 0;
  }

  .nav-link {
    position: relative;
    display: block;
    width: 100%;
    padding: 16px;
    opacity: 1;
  }

  .submenu {
    top: 0;
    height: 0px;
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    transition: 0.4s ease;
  }
 .submenu li {
	background: #fff;
	display: block;
	padding-left: 20px;
	margin-bottom: 9px !important;
}

  .submenu--trigger.active .submenu {
    height: auto;
  }

  .third-submenu {
    height: 0px;
    display: block;
    position: static;
    overflow: hidden;
    margin-left: -20px;
  }
 .third-submenu li {
	background: #fff;
	padding-left: 40px;
	color: #000 !important;
}
  .third-submenu--trigger.active .third-submenu {
    height: auto;
  }

  .submenu,
.third-submenu {
    box-shadow: none;
  }

  .submenu--trigger i,
.third-submenu--trigger i {
    right: 15px;
  }
}
.main-section {
  width: 100%;
  padding: 15px 24px 0;
}



/*-----------------------------------------5. Top-Bar-------------------------------------------*/

@media (max-width: 991px) {
	#top-bar.hidden-sm-down {
		display: none !important;
	}
}

#top-bar {
	display: block;
	position: relative;
	z-index: 999;
	background: #2a2a2a;
	height: 45px;
}

.top-bar-welcome {
	display: inline-block;
}

.top-bar-welcome ul {
	padding-left: 0px;
	margin-bottom: 0px;
}

.top-bar-welcome li {
	font-size: 13px;
	font-weight: 500;
	color: #fff;
	list-style-type: none;
	margin: 0px;
	padding-top: 2px;
	margin-right: 5px;
}

.top-bar-info {
	display: inline-block;
}

.top-bar-info ul {
	padding-left: 0px;
	margin-bottom: 0px;
	padding-left: 10px;
	padding-right: 20px;
}

.top-bar-info li {
	font-size: 13px;
	font-weight: 500;
	color: #fff;
	list-style-type: none;
	display: inline-block;
	padding: 13.5px 5px 0px 5px;
	margin-bottom: 0px;
}

.top-bar-info li i {
	font-size: 13px;
	color: #d21e2b;
	margin-right: 8px;
}

.social-icons {
	padding: 0px;
	float: right;
	margin: 0px;
}

.social-icons li {
	font-size: 14px;
	list-style-type: none;
	float: left;
	width: 35px;
	text-align: center;
	margin: 0px;
	padding: 13px 0px 13px 0px;
}

.social-icons li a {
	opacity: .7;
	color: #fff;
	-webkit-transition-duration: .3s;
	transition-duration: .3s;
}

.social-icons a:hover {
	opacity: 1;
}
.sticky {
    position: fixed;
    z-index: 9999;
    background-color: #fff;
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-out 0s;
}
.top-bar-info li a {
    color: #fff !important;
}