@charset "utf-8";
/* CSS Document */
.main-nav {
  border-bottom: 10px solid transparent;
  background: #fff;
  top: 0;
  position: fixed;
  z-index: 999;
  width: 100%;
}
.border-img{ border-bottom: 1px solid #333;
}
.main-nav:after {
  clear: both;
  content: "\00a0";
  display: block;
  height: 0;
  font: 0px/0 serif;
  overflow: hidden;
}

.nav-brand {
  width: 100%; margin: 0 auto; text-align: center;
}
.nav-brand a {
  text-decoration: none;
}
.nav-brand a img {
 width: 100%; max-width: 180px; margin-right: 5VW;
}
@media (max-width: 400px) {
	.nav-brand a img { margin-right: 40px;}
}
#main-menu {
  clear: both;
  border-bottom: 0;
}
#main-menu { list-style: none; padding: 0 10%;}
#main-menu li { padding: 5px; border-top: 1px solid #999;}
.link_nav, .link_nav:visited
{ font-size: 2rem; color: #000; line-height: 2;}
.link_nav:hover, .link_nav:active
{ color: #1A8229; text-decoration: none;}
#main-menu li.active
{ background-color: #1A8229; text-decoration: none;}
#main-menu li.active a
{ color: #FFF;}

@media (min-width: 769px) {
  #main-menu {
    float: left;
    clear: none;
  }
}

/* Mobile menu toggle button */
.main-menu-btn {
  float: left;
  margin: 5px 10px;
  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: 2px;
  width: 24px;
  background: #333;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}

.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: 769px) {
  /* 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;
  }
}