.main-nav {
  background: #ffffff;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
  border-radius: 0px;
  padding-left:0px
}
.container.main-nav {
  padding-right:0px
}
.sm-clean {
  background: #ffffff;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
  border-radius: 0px;
}
.sm-clean a, .sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active, .sm-clean a.highlighted {
  font-size: 18px;
  margin-left:1px;
  margin-right:1px;
  padding-left: 20px;
  padding-right: 7px;
  padding-top: 13px;
  padding-bottom: 12px;
  }
.sm-clean a:hover,
.sm-clean a.current {
    color: #eb691b;
}
@media (min-width: 768px) {
  .main-nav {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -ms-border-radius: 0px;
    -o-border-radius: 0px;
    border-radius: 0px;
  }
.sm-clean {
  padding: 0 10px;
  background: #ffffff;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
  border-radius: 0px;
}

}

.main-nav:after {
  clear: both;
  content: "\00a0";
  display: block;
  height: 0;
  font: 0px/0 serif;
  overflow: hidden;
}

.nav-brand {
  float: left;
  margin: 0;
}

.nav-brand a {
  display: block;
  padding: 12px 12px 12px 20px;
  color: #555;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: normal;
  line-height: 17px;
  text-decoration: none;
}

#main-menu {
  clear: both;
  padding-left:0px;
  padding-right:0px;
}
#main-menu > li:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}


@media (min-width: 768px) {
  #main-menu {
    //float: right;
    //clear: none;
  }


}


@media (min-width: 992px) {
  #main-menu > li:first-child a {
    padding-left: 0;
  }
  #main-menu > li:first-child {
    border-top: 0px solid rgba(0, 0, 0, 0.05);
  }
  .sm-clean a {
    border-bottom: 10px solid transparent;
    border-color: transparent;
    -webkit-transition: border-color 0.8s;
    transition: border-color 0.8s;
    font-size: 18px;
  }
  .sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active, .sm-clean a.highlighted {
    border-bottom: 10px solid #eb691b;
    border-color: #eb691b;
  }
  .sm-clean a.current { 
    color: #eb691b; 
    color: #555555; 
    border-bottom: 10px solid #eb691b; 
  }
  .sm-clean a, .sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active, .sm-clean a.highlighted {
    font-size: 16px;
    margin-left:1px;
    margin-right:1px;
    padding-left: 7px;
    padding-right: 7px;
    padding-bottom: 8px;
  }
  .sm-clean a {
    border-bottom: 10px solid transparent;
    font-size: 16px;
  }


 
}
@media (min-width: 1200px) {
  .sm-clean a, .sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active, .sm-clean a.highlighted {
    font-size: 18px;
    margin-left:1px;
    margin-right:1px;
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 8px;
  }

}


/* Mobile menu toggle button */

.main-menu-btn {
  float: right;
  margin: 6px 30px; 6px 6px;
  position: relative;
  display: inline-block;
  width: 29px;
  height: 29px;
  text-indent: 29px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


/* hamburger icon */

.main-menu-btn-icon,
.main-menu-btn-icon:before,
.main-menu-btn-icon:after {
  position: absolute;
  top: 50%;
  left: 2px;
  height: 3px;
  width: 24px;
  background: #555;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
  border-radius: 3px;
}

.main-menu-btn-icon:before {
  content: '';
  top: -7px;
  left: 0;
}

.main-menu-btn-icon:after {
  content: '';
  top: 7px;
  left: 0;
}


/* x icon */

#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon {
  height: 0;
  background: transparent;
}

#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before {
  top: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after {
  top: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}


/* hide menu state checkbox (keep it visible to screen readers) */

#main-menu-state {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}


/* hide the menu in mobile view */

#main-menu-state:not(:checked) ~ #main-menu {
  display: none;
}

#main-menu-state:checked ~ #main-menu {
  display: block;
}

@media (min-width: 992px) {
  /* hide the button in desktop view */
  .main-menu-btn {
    position: absolute;
    top: -99999px;
  }
  /* always show the menu in desktop view */
  #main-menu-state:not(:checked) ~ #main-menu {
    display: block;
  }
}

