#mask {
	display: block;
	position: absolute;
	left: 0;
	top: 0;	
	background: #000;	
	z-index: 99999;
}
  
#boxes .window {
	display: block;
	position: absolute;
	left: 0;
	top: 0;		
	padding: 20px;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	color: #4F4F50;
	font-size: 15px;
	background: #FFF;
	z-index: 999999;
}

.close {
	display: block; 
	text-align: right; 
} 

.titulo_modal {
	clear: both;
	font-size: 20px;
	color: #231E20;
	font-family: "DINPro-Bold";
	text-align: center;
	margin-top: 0;
	line-height: normal;
}

.txt_modal {
	clear: both;
	text-align: center;
	margin-top: 25px;
	line-height: normal;
}

.txt_modal span {
	font-style: italic;
	font-weight: bold;
}

.txt_modal p {
	padding: 0;
	margin: 0;
	margin-top: 5px;
}

#boxes #financiamento {/* simulador de financiamento*/
	position: fixed;
	display: none;
	float: left;
	width: 80%;
	height: 400px;
	padding: 5%;
	left: 5%;
	top: 5%;
	overflow: auto;
}

#boxes #agenda {/* agenda*/
	position: fixed;
	display: none;
	float: left;
	width: 80%;
	height: auto;
	padding: 5%;
	left: 5%;
	top: 5%;
	overflow: auto;
}


@media only screen and (min-width: 480px), only screen and (orientation:landscape) {
.titulo_modal {
	font-size: 25px;
}
	
#boxes #financiamento {
	top: 10%;
}
	
#boxes #agenda {
	top: 10%;
}	
}

@media only screen and (min-width: 600px) {
.titulo_modal {
	font-size: 30px;
}

#boxes #financiamento {
	width: 60%;
	height: auto;
	left: 17.5%;
	padding: 2.5%;
	top: 5%;
}

#boxes #agenda {
	width: 60%;
	left: 17.5%;
	padding: 2.5%;
}
}

@media only screen and (min-width: 768px) {
#boxes #financiamento {
	width: 50%;
	left: 22.5%;
}

#boxes #agenda {
	width: 50%;
	left: 22.5%;
}
}

@media only screen and (min-width: 1024px) {
#boxes #financiamento {
	width: 35%;
	left: 31%;
	padding: 1.5%;
}
	
#boxes #agenda {
	width: 35%;
	left: 31%;
	padding: 1.5%;
}
}

@media only screen and (min-width: 1280px) {
#boxes #financiamento {
	width: 30%;
	left: 33.5%;
	padding: 1.5%;
}
	
#boxes #agenda {
	width: 30%;
	left: 33.5%;
	padding: 1.5%;
}
}