@charset "utf-8";
.acesso{
	text-transform: uppercase;
	text-decoration: none;
	font-family: 'Cutive', Helvetica, Verdana, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.4;
	font-weight: bold;
	padding: 2px;
	color: white;
	text-shadow: black 0.1em 0.1em 0.2em;
  
}
header{
	padding-top: 5px;
	padding-left: 2%;	
	
}

.mask{
	/* código inserido diretamente na página php para poder fazer a imagem randômica via javascript
	background: url(bg.jpg) no-repeat center center fixed;
   -webkit-background-size: cover;
   -moz-background-size: cover;
   -o-background-size: cover;
   background-size: cover;*/
}

* {
    padding: 0;
    margin: 0;
     
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
nav {
    width: 90%;
    /*margin: 50px auto; */
	margin-top:5px;
	margin-bottom:5px;
	margin-left:5%;
}
 
nav ul {
    list-style: none;
    overflow: hidden;
}

nav ul li a:hover {
	background: #222;
	/*background:transparent;*/
	cursor: pointer;
	filter: Invert;
}
nav ul li a {
    background: #444;
    border-right: 2px solid #000;
    color: #fff;
    display: block;
    float: left;
    font: 400 13px/1.4 'Cutive', Helvetica, Verdana, Arial, sans-serif;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    width: 10%;
	min-height:65px;
	margin-right:2px;
	margin-bottom:5px;
     
    /*TRANSIÇÕES*/
    -webkit-transition: background 0.5s ease;
       -moz-transition: background 0.5s ease;
         -o-transition: background 0.5s ease;
        -ms-transition: background 0.5s ease;
            transition: background 0.5s ease;

	/*borders*/
	-webkit-border-top-left-radius: 15px;
	-webkit-border-bottom-right-radius: 15px;
	-moz-border-radius-topleft: 15px;
	-moz-border-radius-bottomright: 15px;
	border-top-left-radius: 15px;
	border-bottom-right-radius: 15px;
}

nav ul.publica li a:hover {
	background: #000033;
}

nav ul.publica li a {
    background: #000099;
}

nav ul.corporativa li a:hover {
	background: #003300;
}

nav ul.corporativa li a {
    background: #009900;
}

nav ul.servicos_pmmc li a:hover {
	background: #800000;
}

nav ul.servicos_pmmc li a {
    background: #FF0000;
}

nav ul.servicos_externos li a:hover {
	background: #FF4500;
}

nav ul.servicos_externos li a {
    background: #FFD700;
}

nav ul.dti li a:hover {
	background: #222;
}

nav ul.dti li a {
    background: #444;
}

/* ORGANIZAÇÃO CURRICULAR MUNICIPAL */
nav ul.diretrizes li a {
    background: #005ca9;
}
nav ul.diretrizes li a:hover {
	background: #003a6b;
}

#matematica a {
    background: #049147;
}
#matematica a:hover {
	background: #17402f;
}

#lp a {
    background: #0d6fa8;
}
#lp a:hover {
	background: #214268;
}

#ciencias a {
    background: #cb5a2c;
}
#ciencias a:hover {
	background: #a33d2f;
}

#arte a {
    background: #9069a8;
}
#arte a:hover {
	background: #8157a1;
}

#ed_fisica a {
    background: #a72b30;
}
#ed_fisica a:hover {
	background: #7d2326;
}

/*
nav li:last-child a {
    border: none;
}
*/

/*SMALL*/
nav ul small {
    color: #FFF;   
    font: 100 11px/1 Helvetica, Verdana, Arial, sans-serif;
    text-transform: none;
   }
  

   

/* MEDIA QUERIES*/
@media only screen and (max-width : 1220px),
only screen and (max-device-width : 1220px){
    nav ul li a {
        font: 400 10px/1.4 'Cutive', Helvetica, Verdana, Arial, sans-serif;
    }
     
    nav ul small {
        font: 100 10px/1 Helvetica, Verdana, Arial, sans-serif;
    }
	header img{
	 width: 70%;
	 max-width: 500px;
	}
}
@media only screen and (max-width : 930px),
only screen and (max-device-width : 930px){
    nav ul li a {
        width: 15%;
        border-bottom: 1px solid #000;
        font: 400 11px/1.4 'Cutive', Helvetica, Verdana, Arial, sans-serif;
    }
     
    nav ul li:last-child a, nav li:nth-child(4) a {
        border-right: none;
    }
     
    nav ul li:nth-child(5) a, nav li:nth-child(6) a, nav li:nth-child(7) a, nav li:nth-child(8) a {
        border-bottom: none;
    }

	header img{
	 width: 50%;
	 max-width: 400px;
	}
}
@media only screen and (max-width : 580px),
only screen and (max-device-width : 580px){
    nav ul li a {
        width: 30%;
        font: 400 12px/1.4 'Cutive', Helvetica, Verdana, Arial, sans-serif;
        padding-top: 6px;
        padding-bottom: 6px;
    }
     
    nav ul li:nth-child(even) a {
        border-right: none;
    }
     
    nav ul li:nth-child(5) a, nav li:nth-child(6) a {
        border-bottom: 1px solid #000;
    }
	
	header img{
	 width: 70%;
	 max-width: 500px;
	}
}
 
@media only screen and (max-width : 320px),
only screen and (max-device-width : 320px){
    nav ul li a {
		width: 45%;
        font: 400 11px/1.4 'Cutive', Helvetica, Verdana, Arial, sans-serif;
    }
	header img{
	 width: 90%;
	 max-width: 300px;
	}
}
