#mask {
	display: block;
	position: absolute;
	left: 0;
	top: 0;	
	background: #3E4858;
	z-index: 9000;
}
  
#boxes .window {
	display: block;
	position: absolute;
	left: 0;
	top: 0;		
	padding: 20px;
	font-family: 'CenturyGothic';
	color: #3E4858;
	font-size: 15px;
	background: #FFF;
	z-index: 9999;
}

#boxes2 .window {
	display: block;
	position: absolute;
	left: 0;
	top: 0;		
	padding: 20px;
	font-family: 'CenturyGothic';
	color: #FFF;
	font-size: 15px;
	background: #3E4858;
	z-index: 9999;
}

.close {
	display: block; 
	text-align: right; 
} 

.title_modal {
	float: left;
	clear: both;
	width: 100%;
	margin-top: 20px;
	font-family: 'CenturyGothic';
	text-transform: uppercase;
	color: #BD9B4C;
	font-size: 18px;
	text-align: center;
}

.title_modal2 {
	float: left;
	clear: both;
	width: 100%;
	font-family: 'CenturyGothic';
	text-transform: uppercase;
	color: #FFF;
	font-size: 18px;
	text-align: center;
}

#boxes #contatos_mobile {/* contatos mobile*/
	display: none;
	position: fixed;
	float: left;
	width: 80%;
	height: auto;
	padding: 5%;
	left: 5%;
	top: 7%;
}

#boxes #contatos_mobile .box_contatos_mobile {/* contatos mobile*/
	float: left;
	clear: both;
	width: 100%;
	margin-top: 30px;
	text-align: center;
}
#boxes #contatos_mobile .box_contatos_mobile p {margin-top: 5px;}
#boxes #contatos_mobile .box_contatos_mobile img {margin-right: 5px; margin-left: 5px;}
#boxes #contatos_mobile .box_contatos_mobile span {color: #000; text-transform: uppercase;}
#boxes #contatos_mobile .box_contatos_mobile a {color: #3E4858;}
#boxes #contatos_mobile .box_contatos_mobile a:hover {color: #9EA3AB;}

#boxes #contatos_mobile .redes_sociais_mobile {/* contatos mobile*/
	float: left;
	clear: both;
	width: 100%;
	margin-top: 30px;
	text-align: center;
}
#boxes #contatos_mobile .redes_sociais_mobile img {margin-right: 10px; margin-left: 10px;}

#boxes2 #agenda {/* agenda*/
	display: none;
	position: fixed;
	float: left;
	width: 80%;	 
	padding: 5%;
	left: 5%;
	top: 5%;
	overflow: auto;
}


@media only screen and (min-width: 480px), only screen and (orientation:landscape) {
#boxes #contatos_mobile {/* contatos mobile*/
	width: 80%;
	top: 10%;
	left: 5%;
}
#boxes2 #agenda {height: 200px;}	
}

@media only screen and (min-width: 585px) {	
#boxes2 #agenda {
	width: 70%;
	height: auto;
	left: 10%;
}
}

@media only screen and (min-width: 768px) {
#boxes2 #agenda {
	width: 50%;
	left: 20%;
	top: 10%;
}
}

@media only screen and (min-width: 1024px) {
#boxes2 #agenda {
	width: 30%;
	left: 35%;
	padding: 2.5%;
	top: 5%;
}
}