/*********** Menu **************/
.navigation {
	display: block;
	position: relative;
	padding: 35px 0;
	z-index: 999;
}

.navigation nav {
	display: block;
	position: relative;
	padding: 0;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.navigation nav > ul {
	display: block;
	position: relative;
	z-index: 990;
	text-align: center;
	float: left;
	list-style: none;
/*	background: rgba(0, 177, 186, 0.71);*/
}

.navigation nav > ul > li {
	display: inline-block;
	position: relative;
}

nav > ul > li > a {
    display: block;
    position: relative;
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    text-align: center;
    font-weight: bold;
    font-size: 22px;
	color: #FFFFFF;
    text-shadow: 0px 0px 3px black;	
}

nav > ul > li > a:hover, nav > ul > li:hover > a {
	color: #088389;
    text-shadow: 0px 0px 3px white;
    background: rgba(255, 255, 255, 0.41);
}

/********** Sub Menu ************/
nav ul ul {
	display: none;
	position: absolute;
}

nav ul ul li {
	display: block;
	position: relative;
}

nav > ul > li > ul {
	left: 50%;
	top: calc(100% - 999px);
}

nav > ul > li > ul:before {
	content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: calc(-50% - 1px);
    top: calc(999px + 25px - 1px);
}

nav > ul > li > ul > li {
	left: -50%;
    top: calc(999px + 25px);
}
	

nav ul ul li, nav ul ul a {
	display: block;
	position: relative;
	white-space: nowrap;
}

nav ul ul a {
	white-space: nowrap;
	height: 40px;
	line-height: 40px;
	padding: 0px 25px;
	color: #088389;
}

nav ul ul li > a:hover, nav ul ul li:hover > a {
	color: white;
    background: #088389;
}

nav .right + ul {
	top: 0;
	left: calc(100% + 2px);
}

nav .left + ul {
	top: 0;
	right: calc(100% + 2px);
}

nav > ul > li > ul:before, nav ul ul ul {
	background: white;
    border: 1px solid white;
    outline: 1px solid #088389;
}

/************ Arrow *************/

nav > ul > li > a.arrow:after {
	content: "";
    display: block;
    position: absolute;
    border: 6px solid transparent;
    border-top-color: inherit;
    z-index: 999;
    height: 0;
    width: 0;
    left: calc(50% - 6px);
    top: 80%;
}

nav a.arrow.right:after {
  content: "";
  display: block;
  position: absolute;
  height: 0;
  width: 0;
  top: calc(50% - 6px);
  right: 2%;
  border: 6px solid transparent;
  border-left-color: inherit;
}

nav a.arrow.left:after {
  content: "";
  display: block;
  position: absolute;
  height: 0;
  width: 0;
  top: calc(50% - 6px);
  right: 95%;
  border: 6px solid transparent;
  border-right-color: inherit;
}

/************ Transfer *************/

nav > ul > li > a.arrow:hover:before, nav > ul > li:hover > a.arrow:before {
	content: "";
    display: block;
    position: absolute;
	width: 100%;
	height: 100%;
	top: 100%;
	left: 0%;
}

nav li > a.arrow.right:hover:before, nav li:hover > a.arrow.right:before {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 5%;
}

nav li > a.arrow:hover.left:before, nav li:hover > a.arrow.left:before {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	right: 5%;
}


/*
#ed2c35
#00b1ba

-webkit-transition: 0.5s ease;
    transition: 0.5s ease;
*/