@import url("http://fonts.googleapis.com/css?family=Oswald:700");
@import url("http://weloveiconfonts.com/api/?family=typicons");
body {
  background: #cccccc url("squairy_light.png");
}

.nav, .nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1;
}

.nav {
  position: relative;
  margin: 0 auto;
  height: 46px;
  width: 900px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  background: #65c0bb;
  /* ribbon */
  /* first level */
  /* end of first level */
  /* sub 1st level */
  /* submenu */
}
.nav:before, .nav:after {
  content: "";
  display: block;
  position: absolute;
  top: 6px;
  height: 0px;
  width: 0px;
  border: 23px solid #65c0bb;
  z-index: -1;
}
.nav:before {
  border-left-color: transparent;
  left: -30px;
}
.nav:after {
  border-right-color: transparent;
  right: -30px;
}
.nav > li {
  margin: 0;
  line-height: 1;
  padding: 0;
  display: inline;
  position: relative;
  margin: 0 12px;
}
.nav > li:hover > a {
  color: #eae8a5;
}
.nav > li:last-child > a:after {
  display: none;
}
.nav > li > a {
  display: inline-block;
  padding: 15px 20px;
  position: relative;
  text-transform: uppercase;
  text-decoration: none;
  color: white;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  text-shadow: 1px 2px rgba(0, 0, 0, 0.2);
  -moz-transition: color 0.3s linear;
  -o-transition: color 0.3s linear;
  -webkit-transition: color 0.3s linear;
  transition: color 0.3s linear;
}
.nav > li > a:after {
  content: "=";
  font-family: 'Typicons', sans-serif;
  position: absolute;
  right: -24px;
  padding-top: 2px;
}
.nav > li > a:hover {
  color: #eae8a5;
}
.nav > li:hover > ul {
  left: 0;
  opacity: 1;
  top: 30px;
}
.nav ul {
  position: absolute;
  left: -9999px;
  padding-top: 10px;
  border-bottom: 1px solid #cccccc;
  opacity: 0;
  -moz-transition: opacity 0.3s linear;
  -o-transition: opacity 0.3s linear;
  -webkit-transition: opacity 0.3s linear;
  transition: opacity 0.3s linear;
  /* top arrow */
  /* sub 2nd level */
}
.nav ul:before, .nav ul:after {
  content: '';
  display: block;
  position: absolute;
}
.nav ul:before {
  height: 9px;
  width: 9px;
  border: 1px solid #cccccc;
  border-right: 0;
  border-bottom: 0;
  top: 5px;
  left: 25px;
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  background: #eeeeee;
}
.nav ul:after {
  height: 1px;
  width: 12px;
  background: #eeeeee;
  top: 10px;
  left: 24px;
}
.nav ul li {
  display: block;
  position: relative;
  border: 1px solid #cccccc;
  border-bottom: 0;
  width: 150px;
  text-align: justify;
  background: #eeeeee;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, 0.1);
  -moz-transition: background 0.3s linear;
  -o-transition: background 0.3s linear;
  -webkit-transition: background 0.3s linear;
  transition: background 0.3s linear;
}
.nav ul li:last-child {
  border-bottom: 1px;
}
.nav ul li:hover {
  background: #f7f7f7;
}
.nav ul li:hover a {
  color: #4db6b0;
}
.nav ul li a {
  font: 14px "Oswald", sans-serif;
  color: #65c0bb;
  text-decoration: none;
  display: block;
  padding: 7px 12px 7px 20px;
  -moz-transition: color 0.3s linear;
  -o-transition: color 0.3s linear;
  -webkit-transition: color 0.3s linear;
  transition: color 0.3s linear;
}
.nav ul li a:hover {
  color: #4db6b0;
}
.nav ul li ul {
  opacity: 1;
}
.nav ul li ul:before {
  font-family: sans-serif;
  color: #b3b3b3;
  content: '\00BB';
  background: none;
  opacity: 1;
  position: absolute;
  left: 10130px;
  top: -27px;
  z-index: 1;
  -moz-transform: none;
  -ms-transform: none;
  -webkit-transform: none;
  transform: none;
  border: 0;
}
.nav ul li:hover > ul {
  left: 150px;
  opacity: 1;
  top: -11px;
  padding-left: 12px;
  border-bottom: 0;
  box-shadow: none;
}
.nav ul li:hover > ul:before {
  content: '';
  border: 1px solid #cccccc;
  border-right: 0;
  border-bottom: 0;
  top: 20px;
  left: 8px;
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  background: #eeeeee;
  z-index: -1;
}
.nav ul li:hover > ul:after {
  height: 10px;
  width: 1px;
  top: 20px;
  left: 12px;
}
