nav, ul, li, a  {margin: 0 auto; padding: 0;}

a {text-decoration: none;}

.menu {
    width: 100%;
    /*max-width: 600px;*/
    margin: 10px auto;
	background: #ccc;
}

.toggleMenu {
    display:  none;
    background: #666;
    padding: 10px 15px;
    color: #fff;
	/*font: normal 1.6em Tahoma, Geneva, sans-serif;*/
	font-weight: normal;
	font-size: 1.6em;
	/*font-family: 'Doppio One', sans-serif;*/
	font-family: 'Carrois Gothic', sans-serif;
}

.nav {
	max-width: 640px;
    list-style: none;
     *zoom: 1;
     background:#ccc;
	 z-index: 500000;
	 /*z-index: 250000;*/
}

.nav:before,
.nav:after {
    content: " "; 
    display: table; 
}
.nav:after {
    clear: both;
}
.nav ul {
    list-style: none;
    width: 14em;
}
.nav a {
    padding: 10px 15px;
    color: #666;
	/*font: normal 1.6em Tahoma, Geneva, sans-serif;*/
	font-weight: normal;
	font-size: 1.6em;
	/*font-family: 'Doppio One', sans-serif;*/
	font-family: 'Carrois Gothic', sans-serif;
}

.nav li {
    position: relative;
}
.nav > li {
    float: left;
    /*border-top: 1px solid #104336;*/
}
.nav > li > .parent {
    background-image: url("../imagens/downArrow.png");
    background-repeat: no-repeat;
    background-position: right;
}
.nav > li > a {
    display: block;
}

.nav > li > a:hover {
	background: #e8e8e8;
}

.nav li ul {
    position: absolute;
    left: -9999px;
	
}

.nav > li.hover > ul {
    left: 0;
}

.nav li li.hover ul {
    left: 100%;
    top: 0;
	/*z-index:300000;*/
}

.nav li li a {
    display: block;
	width: 280px;
    background: #e8e8e8;
    position: relative;
    border-top: 1px solid #999;
	/*z-index:350000;*/
}


.nav li li a:hover {
	/*background: #add8e6;*/
	background: #a5b7be;
}

.nav li li li a {
    background:#249578;
    border-top: 1px solid #666;
}


/* m1 - Capa */

body#page1 li.m1 a{
	background: #e8e8e8;
	
}

/* m2 - Quem Somos */

body#page2 li.m2 a{
	background: #e8e8e8;
}


/* m4 - Áreas de Atuação */

body#page4 li.m4 a{
	background: #e8e8e8;
}

body#page4 li.m4 li a:hover{
	/*background: #add8e6;*/
	background: #a5b7be;
}

/* m5 - Links */

body#page5 li.m5 a{
	background: #e8e8e8;
}

/* m6 - Contato */

body#page6 li.m6 a{
	background: #e8e8e8;
}


@media screen and (max-width: 768px) {
    .active {
        display: block;
    }
	
	.menu {
  		background: none;
}
	
    .nav > li {
        float: none;
		border-top: 1px solid #999;
    }
    .nav > li > .parent {
        background-position: 95% 50%;
    }
    .nav li li .parent {
        background-image: url("../imagens/downArrow.png");
        background-repeat: no-repeat;
        background-position: 95% 50%;
    }
    .nav ul {
        display: block;
        width: 100%;
    }
   .nav > li.hover > ul , .nav li li.hover ul {
        position: static;
    }
	
	.nav li li a {
	    width: 100%;
		
	}
	
	ul.navfoo {
	width: 100%;
	}

	.navfoo li{
	float: none;
	width: auto;
	/*font: normal 1.6em Tahoma, Geneva, sans-serif;*/
	font-weight: normal;
	font-size: 1.6em;
	/*font-family: 'Doppio One', sans-serif;*/
	font-family: 'Carrois Gothic', sans-serif;
	}
	
	.navfoo li a{
	padding:5px 20px 8px 20px;
	height:30px;
	}

	.navfoo li ul{
	width: 100%;
	}
	
	.navfoo li ul li{
	width: auto;
	}
	
	.navfoo li ul li a{
	text-align: center;
	/*font: normal 0.6em Tahoma, Geneva, sans-serif;*/
	font-weight: normal;
	font-size: 0.6em;
	/*font-family: 'Doppio One', sans-serif;*/
	font-family: 'Carrois Gothic', sans-serif;
	}
	
	#copy{
	float: none;
	max-width: none;
	width: auto;
	text-align: center;
	}
	
	#assina_ga{
	float: none;
	max-width: none;
	width: auto;
	text-align: center;
	}
	
}

@media screen and (max-width: 520px) {
	
	.nav a {
    padding: 15px 15px;
	}
}