main{}

main > .middle{
	margin-top: 25px;
}

#content{
	width: 1000px;
	margin-right: 61px;
	display: inline-block;
}

#content > section{
	position: relative;
}

#content > div img[class*="size-"]{
	width: 1000px;
}

.widgettitle{
	display: none;
}
.logged-in .widgettitle{
   display: block; 
  position: absolute;
  z-index: 100;
  padding: 6px;
  background: #c9ffc6;
}

/*.banner-center{
	display: block;
	margin: 0 auto;
}*/
.banner-center{
	width: 500px;
	display: block;
	margin: 0 auto;
	text-align: center;
	padding: 0;
}
.banner-center section{
	padding: 0;
}

#content .list-post{
	margin-top: 35px;
}
#content .list-post h2 a{
	color: #000;
}

#content .news-risco{
	margin-bottom: 38px;
	border-bottom: 2px solid #000;
}

#content .news-risco h2{
	font-family: rock;
  font-size: 24px;
  display: block;
  font-weight: normal;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
  /*left: 50%;*/
  /*margin-left: -70px;*/
  top: -11px;
  position: absolute;
  padding: 0 20px;
  background-color: #fff;
}

	#last-news{
		color: #de2b30;
	}
		#last-news h2{
			
		}

	#regional a{
		color: #169325;
	}
		#regional h2{
			
		}

	#militar a{
		color: #03208e;
	}
		#militar h2{
			
		}

	#rodoviaria a{
		color: #146a65;
	}
		#rodoviaria h2{
			
		}

	#federal a{
		color: #5e0b8e;
	}
		#federal h2{
			
		}

	#samu a{
		color: #ba0f0f;
	}
		#samu h2{
			
		}

	#bombeiros a{
		color: #0b3c8e;
	}
		#bombeiros h2{
			
		}

	#videos a{
		color: #0d7425;
	}
		#videos h2{
			
		}


#content article{
  display: inline-block;
  width: 294px;
  height: 236px;
  overflow: hidden;
  margin: 0 54px 22px 0;
  position: relative;
}
#content article:nth-child(3n+1){
	margin-right: 0;
}

#content article a{
	color: #000;
}
#content article h1{
	margin-top: 5px;
	color: #000;
	font-size: 18px;
	font-family: roboto, sans-serif;
  	font-weight: bold;
	-webkit-transition: color 0.7s ease;
	transition: color 0.7s ease;
}

#content article picture{
  display: block;
  height: 162px;
	background: #e6e6e6;
	overflow: hidden;
}
	#content article:hover h1{
		color: #666;
	}
	#content article:hover img{
		transform: scale(1.2);
		filter: brightness(1.2);
	}
#content article img{
	width: 100%;
	height: 162px;
	object-fit: cover; /*contain,fill,cover,none,scale-down*/
	-webkit-transition: all 0.7s ease;
	transition: all 0.7s ease;

}

#content article .tag{
	position: absolute;
	z-index: 3;
	right: 0;
	top: 130px;
	padding: 6px 8px 6px 12px;
	font-size: 18px;
  font-family: rock;
  text-transform: uppercase;
	color: #fff;
	background-color: #de2b30;
}


.middle .ad-main-full{
	margin: 0 0 35px 200px;
	/*text-align: center;*/
	/*margin-bottom: 35px;*/
}
#content .ad-main-g{
	width: 100%;
	/*margin-bottom: 70px;*/
	padding: 35px 0;
}
#content .ad-main-g img{
  width: 100%;
}


#videos article video{
  /*display: block;*/
  /*height: 162px;*/
	/*background: #e6e6e6;*/
}
#videos article h1{
	margin-top: 5px;
  font-size: 18px;
  font-family: roboto, sans-serif;
  font-weight: bold;
}
#videos article iframe{
	/*width: 100%;*/
	/*height: 162px;*/
	object-fit: cover; /*contain,fill,cover,none,scale-down*/
}




@media (max-width: 1280px){

	.middle .ad-main-full{
		margin: 0 0 35px 0;
		text-align: center;
	}

	#content{
		width: 100%;
		margin-right: 0;
		font-size: 0;
	}

	#content .news-risco{
    margin: 0 0 38px;
	}


	#content article{
		width: 31.3%;
		margin-right: 3%;
		height: 290px;
	}
	#content article:nth-child(3n+1){
		/*margin-left: 0%;*/
	}
	#content article:nth-child(2n+1){
		/*margin: 0 0% 3px 0%;*/
		/*margin: 0 0 22px 0;*/
	}

	#content article .tag{
		top: 168px;
	}

	#content article picture, #content article img{
		height: 200px;
	}

}


@media (max-width: 1280px){

	#content article{
		height: 260px;
	}

	#content article picture, #content article img{
		height: 160px;
	}

	#content article .tag{
		top: 128px;
	}

}

@media (max-width: 920px){

	#content .news-risco h2{
		font-size: 22px;
	}

	#content article h1{
		font-size: 16px;
	}
	#content article .tag {
    	font-size: 16px;
    	top: 131px;
    }
}


@media (max-width: 560px){

	#content .news-risco {
	    margin: 0 0 32px;
	}

	#content .news-risco h2{
		font-size: 13px;
		padding: 0px 11px;
		top: -6px;
	}

	#content article{
		width: 48%;
		margin-right: 2%;
		height: 200px;
	}

	#content article:nth-child(3n+1) {
	    margin-right: unset;
	}
	#content article:nth-child(2n+1) {
	    margin-right: 0;
	}

	#content article h1{
		font-size: 14px;
	}

}


@media (max-width: 460px){

	#content article{
		width: 100%;
		margin: 0;
	}

	#content article h1{
		font-size: 14px;
	}
}