
nav{
	text-align: center;
}
nav ul{
	list-style: none;
	display: flex;
	justify-content: center;
	margin: auto;
}
nav ul ul{
	display: block;
}
nav ul li{
	position: relative;
}
nav ul li a{
	display: block;
	text-decoration: none;
	color: #999;
	padding: 16px 12px;
	transition:all .3s;
}

nav ul li li a{
	padding:10px 35px;
}

nav ul li a:hover{
}

/* nav ul li.has-child::before{
	content:'';
	position: absolute;
	left:15px;
	top:25px;
	width:6px;
	height:6px;
	border-top: 2px solid #999;
    border-right:2px solid #999;
    transform: rotate(135deg);
} */

nav ul ul li.has-child::before{
	content:'';
	position: absolute;
	left:6px;
	top:17px;
	width:6px;
	height:6px;
    border-top: 2px solid #fff;
    border-right:2px solid #fff;
    transform: rotate(45deg);
}

nav li.has-child ul{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    top:62px;
    z-index: 4;
    background:#fff;
    width: max-content;
    visibility: hidden;
    opacity: 0;
    transition: all .3s;
}

nav li.has-child:hover > ul,
nav li.has-child ul li:hover > ul,
nav li.has-child:active > ul,
nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}

nav li.has-child ul li a{
	border-bottom:solid 1px rgba(255,255,255,0.6);
}

nav li.has-child ul li:last-child a{
	border-bottom:none;
}

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active{
	background:#00a669;
	color:#fff;
}

nav li.has-child ul ul{
	top:0;
	left:182px;
	background:#66ADF5;
}

nav li.has-child ul ul li a:hover,
nav li.has-child ul ul li a:active{
	background:#448ED3;
}

@media screen and (max-width:800px){
	nav{
		padding: 0;
	}
	nav ul{
		display: block;
	}
	nav li.has-child ul,
	nav li.has-child ul ul{
  	position: relative;
	left:0;
	top:0;
	width:100%;
	visibility:visible;
	opacity:1;
	display: none;
	transition:none;
}
nav ul li a{
	border-bottom:1px solid #ccc;
}

nav ul li.has-child::before{
	left:20px;
}
nav ul ul li.has-child::before{
    transform: rotate(135deg);
	left:20px;
}
nav ul li.has-child.active::before{
    transform: rotate(-45deg);
}
}
