/************************************************************************************
smaller than 1200
*************************************************************************************/
@media screen and (max-width: 1600px) {
	/* slide image size */
	#imgslide1 {
		background:url(../images/slide1_dpqb_lg.png);
	}
	#imgslide2 {
		background:url(../images/slide2_ilus_lg.png);
	}
	#imgslide3 {
		background:url(../images/slide3_ddez_lg.png);	/*slide3lg.jpg*/
	}
	#imgslide1, #imgslide2, #imgslide3 {
		height:300px;
		background-position:center;
		background-repeat:no-repeat;
	}
	.fundo1, .fundo2, .fundo3, .fundo4, .fundo5, .fundo6 {
		background-size:80%;
	}
		.area-servico {
		width:60%;
	}
}
/************************************************************************************
smaller than 1200
*************************************************************************************/
@media screen and (max-width: 1200px) {
	/* slide image size */
	#imgslide1 {
		background:url(../images/slide1_dpqb_nm.png);
	}
	#imgslide2 {
		background:url(../images/slide2_ilus_nm.png);
	}
	#imgslide3 {
		background:url(../images/slide3_ddez_nm.png);	/*slide3lg.jpg*/
	}
	#imgslide1, #imgslide2, #imgslide3 {
		height:300px;
		background-position:center;
		background-repeat:no-repeat;
	}
	.fundo1, .fundo2, .fundo3, .fundo4, .fundo5, .fundo6 {
		background-size:80%;
	}
		.area-servico {
		width:80%;
		margin:30px auto 0;
	}
}

/************************************************************************************
smaller than 980
*************************************************************************************/
@media screen and (max-width: 980px) {

	#topo {
		width:100%;
	}
	/* slide image size */
	#imgslide6 {
		background:url(../images/slide6_draw_sm.png);
	}
	#imgslide5 {
		background:url(../images/slide5_promo_mdsm.png);
	}
	#imgslide1 {
		background:url(../images/slide1_dpqb_md.png);
	}
	#imgslide2 {
		background:url(../images/slide2_ilus_md.png);
	}
	#imgslide3 {
		background:url(../images/slide3_ddez_md.png);
	}
	#imgslide1, #imgslide2, #imgslide3 {
		height:250px;
		background-position:center;
		background-repeat:no-repeat;
	}
	#imgslide5, #imgslide6 {
		height:320px;
		background-position:center;
		background-repeat:no-repeat;
	}
	.fundo1, .fundo2, .fundo3, .fundo4, .fundo5, .fundo6 {
		background-size:120%;
	}
	.area-servico {
		width:90%;
	}
	
	#campos {
		max-width:70%;
	}
	input, textarea {
		width:70%;
	}
	.wrapper.acerca .cantoform .wrapper form #enviar, .wrapper.acerca .cantoform .wrapper form #limpar {
		width:24%;
	}

	/* pagewrap */
	#pagewrap {
		/*width: 98%;*/
		width: 100%;
	}

	/* content */
	#content {
		width: 100%;
		padding: 0 0;
	}
	
	#back-top {
		margin-left: -100px;
	}
	#back-top a:hover {
		margin-left: 40px;
	}
	#back-top a:hover span {
		width:138px;
	}
	#folio {
		/*min-height:984px;*/
		background-image:url(../images/imgfoliomd.png);
		background-position: center bottom;
		background-repeat:no-repeat;
	}

}

/************************************************************************************
smaller than 650
*************************************************************************************/
@media screen and (max-width: 650px) {

	/* logo */
	#logodez {
		background-image:url(../images/estudio10md.png);
		background-position:center;
		background-repeat:no-repeat;
	}
	#logosize {
		width: 240px;
		height:36px;
		border:#FFF solid 0px;
	}
	.descricao{
		text-indent:45px;
	}

	/* slide image size */
	.flex-mens {
	   top: 100px;
	   font-size: 14px;
	   line-height: 18px;
	   margin:0 auto;
	}
	
	#imgslide4 {
		background:url(../images/slide5_promo_sm.png);
	}
	#imgslide4 {
		background:url(../images/slide4_mens_sm.png);
	}
	#imgslide1 {
		background:url(../images/slide1_dpqb_sm.png);
	}
	#imgslide2 {
		background:url(../images/slide2_ilus_sm.png);
	}
	#imgslide3 {
		background:url(../images/slide3_ddez_sm.png);
	}
	#imgslide1, #imgslide2, #imgslide3, #imgslide4 {
		height:320px;
		background-position:center;
		background-repeat:no-repeat;
	}
	
	#campos {
		max-width:80%;
	}
	input, textarea {
		width:76%;
	}
	.wrapper.acerca .cantoform .wrapper form #enviar, .wrapper.acerca .cantoform .wrapper form #limpar {
		width:30%;
	}
	
	/* main nav */
	#main-nav {
		position: static;
	}

	/* site logo */
	#site-logo {
		margin: 15px 100px 5px 0;
		position: static;
	}

	/* site description */
	#site-description {
		margin: 0 0 15px;
		position: static;
	}

	/* content */
	#content {
		width: auto;
		float: none;
		margin:0 0;
	}
	.aplicactividade {
		margin:0 5%;
	}
	.aplic {
		margin:10px 40px 0 40px;
	}

	#back-top {
		margin-left: -100px;
	}
	#back-top a:hover {
		margin-left: 30px;
	}
	#back-top a:hover span {
		width:138px;
	}
	.margem-apoio {
		margin:0 0;
	}
	#folio {
		/*min-height:1567px;*/
		background-image:url(../images/imgfolionm.png);
		background-position: center bottom;
		background-repeat:no-repeat;
	}
	.imgano {
		max-width:240px;
	}
	.imgamb {
		max-width:240px;
	}
	
	.wa-mediabox-title {
		left: 1%;
		right: 1%;
		padding: 1px;
		top:90%;
	}
	.wa-mediabox-frame.loaded.has-title .wa-mediabox-title {
		padding: 1px;
	}
}

/************************************************************************************
smaller than 560
*************************************************************************************/
@media screen and (max-width: 480px) {

	/* logo */
	#logodez {
		background-image:url(../images/estudio10sm.png);
		background-position:center;
		background-repeat:no-repeat;
	}
	#logosize {
		width: 210px;
		height:32px;
		border: #FF0 solid 0px;
	}
	.descricao{
		text-indent:39px;
	}

	/* slide image size */
	.flex-mens {
	   top: 10px;
	}
	#imgslide4 {
		background:none;
	}
	#imgslide1 {
		background:url(../images/slide1_dpqb_xs.png);
	}
	#imgslide2 {
		background:url(../images/slide2_ilus_xs.png);
	}
	#imgslide3 {
		background:url(../images/slide3_ddez_xs.png);
	}
	#imgslide1, #imgslide2, #imgslide3 {
		height:360px;
		background-position:center;
		background-repeat:no-repeat;
	}

	/* disable webkit text size adjust (for iPhone) */
	html {
		-webkit-text-size-adjust: none;
	}

	/* main nav */
	#main-nav a {
		font-size: 90%;
		padding: 10px 8px;
	}
	#destaque, #fundoaguia, #fundocraneo, #fundoglobo {
		background-image: none;
	}
	#folio {
		/*min-height:2705px;*/
		background-image:url(../images/imgfoliosm.png);
		background-position: center bottom;
		background-repeat:no-repeat;
	}
	a.sb, .sb a {
		  margin:4px 0 0 0px;
	}
	.imgano {
		max-width:200px;
	}
	.imgamb {
		max-width:200px;
	}

}

@media screen and (max-width: 320px) {
	.imgano, .imgamb {
		max-width:200px;
	}
	.coluna {
		margin:0 20px;
	}
	h1 {
		font-size:1.4em;
	}
	p {
		font-size:14px;
		padding:0 20px;
		line-height:20px;
	}
	.aplic {
		margin:10px 15px 0 15px;
	}
}

@media screen and (max-width: 240px) {
	.nav-social {
		margin:0 auto;
		padding:9px 0 8px;
		float:left;
}
	a.sb, .sb a {
		  width: 22px;
		  height: 22px;
		  margin:4px 0 0 0;
	}
	.imgano, .imgamb {
		max-width:160px;
	}
	.coluna {
		margin:0 10px;
	}
	p {
		padding:0 10px;
	}
}

