
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;
}

.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;
}