* {
    box-sizing: border-box;
}



.wrapper {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
	z-index: 500;
}

.logo {
  color: #82b652;
  font-size: 1rem;
  margin: 0;
  padding-top: 24px;
  padding-left: 20px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 3px;
  width: 200px;
  height: 45px;
  background-image: url(../img/logo-top2.png);
  background-color: #1f4f9d;
}

h1 {
	display: none;
}

.logo img {
	position: absolute;
	top: 12px;
	left: 10px;
}

.mail img {
	position: fixed;
	top: 20%;
	left: 5%;
}

.logo span {
  font-weight: 400;
}

.menu-toggle {
  position: absolute;
  padding: 0.8em;
  top: 1em;
  right: .5em;
  cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: '';
  display: block;
  background: #000;
  height: 3px;
  width: 2em;
  border-radius: 3px;
  -webkit-transition: all ease-in-out 350ms;
  transition: all ease-in-out 350ms;
}

.hamburger::before {
  -webkit-transform: translateY(-7px);
          transform: translateY(-7px);
}

.hamburger::after {
  -webkit-transform: translateY(4px);
          transform: translateY(4px);
}

.open .hamburger {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.open .hamburger::before {
  display: none;
}

.open .hamburger::after {
  -webkit-transform: translateY(-1px) rotate(-90deg);
          transform: translateY(-1px) rotate(-90deg);
}

nav {
    margin-right: 50;
    padding: 0;
}

/* ORIGINAL
nav {
    margin: 0;
    padding: 0;
}
*/


nav ul {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: none;
}

nav ul.opening {
    display: block;
    height: 30px;
}

nav li {
  border-bottom: 1px solid #f6f4e2;
}
nav li:last-child {
  border-bottom: none;
}
nav a {
  color: #fff;
  background: cadetblue;
  display: block;
  padding: 1.5em 4em 1.5em 3em;
  text-transform: uppercase;
  text-decoration: none;
    filter:alpha(opacity=80);
     opacity: 0.8;
     -moz-opacity:0.8;
     -webkit-opacity:0.8;
    border-radius: 0px 20px 0px 20px;
}

nav a:hover,
nav a:focus {
  background: #E4B363;
}

.site-nav--icon {
  font-size: 1.4em;
  margin-right: 1em;
  width: 1.1em;
  text-align: right;
  color: rgba(255,255,255,.4);
}




@media (min-width: 780px) {

  .menu-toggle {
    display: none;
  }



  nav ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
  }
  nav li {
     flex: 1 1 auto;
     border: none;
 }

   nav li a {
       padding: 1.5em 1.3em 1.5em 1.3em;
       margin: 0px 2px;
       border: none;
       background-color: #486faf;
    }
    nav a:hover,
    nav a:focus {
      background-color: #193769;
    }



  .logo {
      flex: 0 0 400px;
      margin: 0;
      padding-left: 20px;
      width: 600px;
      height: 65px;
      background-image: url(../img/logo-top.png);
  }


    nav {
      display: flex;
      flex-direction: row;
      justify-content: space-between;

      text-align: center;
      background-color: #1f4f9d;
    }
	
	nav a {
  color: #fff;
  background: #52872c;
  display: block;
  padding: 1.5em 4em 1.5em 3em;
  text-transform: uppercase;
  text-decoration: none;
}
	
  .site-nav--icon {
    display: none;
  }
	
	.open desktop a img {
		text-align: center;
	}
	
	.mail img {
		position: absolute;
		top: 25px;
		left: 23%;
}
	
	nav a {
		font-size: 0.9em;
}
	
	nav a:hover {
		font-size: 0.9em;
		color:rgb(236, 233, 16);
}

}
