/*144 dpi - 120 dpi*/
@media only screen and (max-width: 960px) {
	.page {
		width: 708px;
		margin-left: auto;
		margin-right: auto;
	}
	.primary-home, .primary {
		margin-right: 0;
		width: 100%;
	}
	#secondary {
		width: 0;
		opacity: 0;
	}
	.banners .banners-content {
		width: 67%;
	}
	.banners a {
		width: 205px;
	}
	.menu-trigger div, .barra, .acess, .barra1, .right{
		display: none !important;
		width: 0 !important;
	}
	.posts .posts-content {
		width: 481px;
	}

}

/*120 dpi - 105 dpi*/
@media only screen and (max-width:800px) {
	header {
		background: #D81F27 !important;
		min-height: 60px !important;
		margin-bottom: 27px !important;
	}
	.menu-trigger{
		position: absolute;
		top: 0;
		height: 60px;
		left: 30px;
	}
	.menu-trigger span, .menu-trigger span:before, .menu-trigger span:after {
		background: #FFF !important;
	}
	.container-home .menu-trigger:hover span, .container-home .menu-trigger:hover span:after, .container-home .menu-trigger:hover span:before {
		background: #8C0000 !important;
	}
	.banner{
		background: rgba(0, 0, 0, 0);
		width: 64px;
		height: 38px;
		right: 30px;
		margin-top: 10px;
		margin-bottom: 10px;
	}
	.banner1, .banner2{
		display: none;
	}
	.banner a{
		background: url('../images/Logo_Js_mobile.png') no-repeat;
		display: block;
		width: 100%;
		height: 100%;
	}
	.banner img {
		display: none;
	}
	.page {
		width: 100%;
	}
	.main {
		width: 680px;
		margin-left: auto;
		margin-right: auto;
	}
	.banners a {
		width: 100%;
		display: block;
		margin-bottom: 16px;
		margin-right: 0px;
		padding: 0;
	}
	.posts .posts-content {
		width: 453px;
	}
	.posts .thumbnail {
		height: auto;
	}
	.posts-content p {
		font-size: 11px;
		height: 30px;
		overflow: hidden;
	}
	.banners .banners-content {
		margin-top: 19px;
		margin-left: 19px;
	}
	.accordion .accordion-title h4 {
		width: 93% !important;
	}
	/*footer*/
	.home-footer-links{
		width: 170px !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	.footer-links{
		width: 148px !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	.home-footer-links .left, .footer-links .left {
		width: 100%;
		display: block;
	}
	.left li:nth-child(3) {
		margin-right: 0 !important;
	}

	.entry-content img {
		width: 100% !important;
	}
	/*tubepress*/
	.tubepress_normal_embedded_wrapper , .tubepress_container div div iframe {
		width: 100% !important;
	}
	/*Estrututras locais*/
	.wrap {
		width: 100%;
	}
        
}

/*105 dpi - 75 dpi*/
@media only screen and (max-width:700px) {
	.main {
		width: 500px;
		margin-left: auto;
		margin-right: auto;
	}
	.posts .posts-content {
		width: 273px;
	}

	/*history-slider*/
	.flex-slider .slides > li img {
		width: 100% !important;
		height: 100% !important;
	}
	.primary .subtitle-single {
		width: 383px;
		padding: 10px;
	}
        
        ul.grid li{
            width:50%;
        }
}
/* Smartphones (75 dpi) */
@media screen and (max-width: 500px) {
	.main {
		width: 300px;
		margin-left: auto;
		margin-right: auto;
	}
	/*menu*/
	.mp-overlap .mp-level.mp-level-open {
		-webkit-transform: translate3d(-50px, 0, 0);
		-moz-transform: translate3d(-50px, 0, 0);
		transform: translate3d(-50px, 0, 0);
	}
	.mp-menu{
		font-size: 12px;
	}
	.mp-menu h2 {
		padding-bottom: 5px;
		padding-top: 5px;
	}
	.mp-menu ul li > a {
		margin: 5px 0;
		line-height: 20px;
	}
	.mp-menu .mp-level .icon-menu span {
		right: 4px;
	}
	/*thumbnails*/
	.posts .thumbnail {
		width: 122px;
		height: 88px;
	}
	/*testimonial*/
	.data_display p {
		font-size: 10px !important;
	}
	.posts .posts-content {
		width: 48%;
		height: 68px;
		margin-left: 10px;
		padding: 10px;
	}
	.data_display {
		margin-left: auto;
		margin-right: auto;
		width: 80%;
	}
	.posts-content p {
		display: none;
	}
	.posts-content a {
		font-size: 10px;
		margin-bottom: 5px;
	}
	#title_menuopen span, #title_noticias span , .primary h3 {
		font-size: 12px;
	}
	.primary h3 {
		line-height: 1;
		max-width: 148px;
	}
	.accordion .accordion-title h4 {
		width: 82% !important;
	}
	/*Banners*/
	.banners-content h5, .banners-content p {
		font-size: 10px !important;
	}
	.banners a {
		height: 90px;
	}
	.location-image {
		margin-top: 24px;
	}
	.world-image {
		margin-top: 28px;
	}
	.banners .last-banner {
		padding-bottom: 0px;
	}
	.banners-content .titulo {
		width: 132px;
		height: 37px;
		background-size: 100% 100%;
	}
	.last-banner .imagem {
		width: 47px;
		height: 88px;
		background-size: 100% 100%;
	}
	/*maps*/
	.wrap {
		width: 100% !important;
	}
	#canvas {
		width: auto !important;
	}
	#canvas svg {
		width: 300px !important;
	}
	.region {
		left: 0px !important;
	}

	/*orgaos-nacionais*/
	.alignright {
		width: 100% !important;
	}
	.accordion .accordion-inner.clearfix .tables {
		width: 45% !important;
	}
	.accordion .accordion-inner.clearfix .council, .accordion .accordion-inner.clearfix .separador {
		margin-right: 3px !important;
	}
	/*Historia*/
	.flex-slider .slides > li img {
		width: 100% !important;
		height: 105px !important;
	}

	/*tubepress*/
	.tubepress_normal_embedded_wrapper , .tubepress_container div div iframe {
		height: 200px !important;
	}

	/*accordion*/
	.accordion .accordion-inner.clearfix .council {
		width: 48% !important;
	}
	.accordion .accordion-inner.clearfix .separador {
		width: 34% !important;
		border-right: 0 !important;
	}
	/*backtop*/
	a.backtotop {
		padding: 3px;
		background: #D81F27 url(../images/arrow-up2.png) 8px 10px no-repeat;
	}

	/*pages*/
	#title_menuopen span {
		margin-top: 10px !important;
		display: inline-block;
	}

	/*single*/
	.primary .subtitle-single {
		padding: 0;
		width: 201px;
		margin-left: 10px;
		line-height: 100%;
	}
        
        ul.grid li{
            width:100%;
        }
}