@media screen and (max-width: 480px) {
	.rodape1,
	.rodape2 {
		display: none;
	}

	.view-doen-as-atendidas table * {
		font-size: 0.9em;
	}

	.view-doen-as-atendidas table td {
		max-width: 100px;
		padding: 0;
	}

	#block-block-18 p {
		padding-left: 50px;
		padding-right: 50px;
	}

	h1, h2, h3, h4, h5 {
		background: none;
	}

	.view-pesquisadores .views-row {
		margin: 0 0 40px 0 !important;
	}

	.view-pesquisadores .views-field-field-logo {
		margin: 0 0 5px 0 !important;
		float: none;
		display: block;
		height: auto !important;
	}

	}
}

@media screen and (max-width: 515px) {
	h1, h2, h3, h4, h5, h6 {
		background: none;
	}
}

@media screen and (max-width: 640px) {
	.quem-somos table td {
		width: 100% !important;
	}

	#footer .region-footer {
		width: 100%;
		max-width: 100%;
		min-width: 90%;
	}

	.front .region-content .block-block,
	.front .region-content .block-block * {
		width: 100% !important;
		margin: 0 !important;
		padding: 0!important;
	}

	.front .region-content .block {
		margin: 0 0 2em 0 !important;
	}

	.front .region-content .block .content {
		padding: 10px !important;
	}

	.front .block-system {
		display: none;
	}

	.views-field-field-logo {
		height: 100px;
	}

	.materiais-didaticos #block-system-main,
	.materiais-didaticos #block-system-main * {
		padding: 0 !important;
	}

	.materiais-didaticos #block-system-main ul li {
		width: 47%;
	}

}

@media screen and (min-width: 769px) {
	nav#menu {
		display: none;
	}
}

@media screen and (max-width: 769px) {
	#page {

	}

	#main,
	#footer-blocks {
		margin: 2em 10px 0;
	}

	#main {
		margin-top: -8em;
	}

	#block-block-31 {
		margin-top: -8px !important;
	}

	#blocos-topo .logo-cabecalho {
		width: 50%;
	}

	#blocos-topo .logo-fapesp {
		margin: 0;
		clear: both;
	}

	#block-nice_menus-1 {
		float: none;
		width: 100%;
	}

	#block-search-form,
	#block-search-form * {
		width: 100% !important;
		clear: both !important;
	}

	#block-search-form input[type=text] {
		width: 98% !important;
	}

	#block-search-form input[type=submit] {
		top: -22px !important;
		left: 0px !important;
	}

	#block-nice_menus-1 {
		display: none;
	}

	label#toggle-icon {
		float: left;
	}

	label#toggle-icon:after {
		content: "Menu";
		font-size: 0.5em;
	}

	body.publicacoes #content-inner, body.front #content-inner {
		max-width: 100% !important;
	}

	.two-sidebars .center, .sidebar-second .center {
	    margin-right: 0px;
	}

	body.publicacoes #sidebar-second, body.front #sidebar-second,
	#sidebar-second {
		width: 97% !important;
		float: none !important;
		margin: 1em auto !important;
		clear: both;
	}

	#block-block-27 .content {
		text-align: center !important;
	}

	#block-block-27 a,
	#block-block-27 img,
	#block-block-27 p {
		display: block !important;
		clear: both !important;
		text-align: center !important;
		margin: 0 auto !important;
	}

	#blocos-rodape {
		padding: 0 10px;
	}

	.rodape-videos,
	.rodape-como-chegar,
	.rodape-endereco,
	.rodape-twitter {
		margin-left: 0;
		margin-right: 0;
		width: 100% !important;
	}

	#blocos-rodape #blocos-rodape1,
	#blocos-rodape #blocos-rodape2,
	#blocos-rodape #blocos-rodape3,
	#blocos-rodape #blocos-rodape4,
	#blocos-rodape #blocos-rodape5 {
		width: 100% !important;
		min-width: 100% !important;
		max-width: 100% !important;
		float: none;
		display: block;
		clear: both;
		margin: 1em 0 !important;
	}

	#footer .region-footer {
		max-width: 75%;
	}
}


@media (max-width:800px) and (min-width:770px) {
    #content-inner,
    #sidebar-second {
    	width: 100%;
    	clear: both;
    	float: none;
    }
}

@media screen and (max-width: 928px) {
	.rodape-videos,
	.rodape-como-chegar,
	.rodape-endereco,
	.rodape-twitter {
		width: 100%;
		max-width: 100%;
		min-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	#blocos-rodape #blocos-rodape1,
	#blocos-rodape #blocos-rodape2,
	#blocos-rodape #blocos-rodape3,
	#blocos-rodape #blocos-rodape4,
	#blocos-rodape #blocos-rodape5 {
		width: 49%;
		max-width: 49%;
		min-width: 49%;
		margin: 1em 0 !important;
		clear: none !important;
	}

.rodape-como-chegar img {
	margin: -70px 0 0 0;
}

}

/* --- GRID --- */
.row {
	margin: 1em -5px;
	clear: both;
	float: none;
	overflow: hidden;
}

.col-1 {
	max-width: 100%;
}

.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6 {
	float: left;
	padding: 5px;
}

.col-2 {
	min-width: 50%;
	max-width: 50%;
}

.col-3 {
	min-width: 33.33%;
	max-width: 33.33%;
}

.col-4 {
	min-width: 25%;
	max-width: 25%;
}

.col-6 {
	min-width: 16.66%;
	max-width: 16.66%;
}

@media screen and (max-width: 640px) {
	.col-2 {
		min-width: 100%;
	}

	.col-3 {
		min-width: 100%;
	}

	.col-4 {
		min-width: 50%;
	}

	.col-6 {
		min-width: 50%;
	}
}

@media screen and (max-width: 768px) {
	.col-2 {
		min-width: 100%;
	}

	.col-3 {
		min-width: 33.33%;
	}

	.col-4 {
		min-width: 50%;
	}

	.col-6 {
		min-width: 33.33%;
	}

.rodape-newsletter {
	min-height: 60px;
	height: auto;
}

}

img {
	max-width: 100% !important;
	height: auto !important;
}