﻿body,html{
    margin:0px;
    padding:0px;
}
body{ background-color: white; }
.wrapper{ max-width:1170px; width:100%; background-color:white; text-align:center; margin: 20px auto; }
h1{ text-align:center; margin:0; padding:30px 0 10px; font-size:300%; color:#333; font-family: arial; }
a{ color:fuchsia; font-family: "Trebuchet MS", arial, sans-serif; text-decoration:none; }
#content{
	font-size:0px; /* Para fazer com que as imagens não tenham espaços no meio (?) */
	text-align:center; /*Para centrar as imagens (quando ficar mais pequeno). */
}
.home_box{ font-size:16px; text-align: center; display:inline-block; width:390px; padding-bottom:4px; vertical-align:bottom
 }
.home_box img{
	width:390px;
	transition:all 0.5s ease-in-out;
}
.home_box h3{
	margin:3px 0px;
	text-align:center;
}
.home_box p{
	padding: 0px 6px;
	margin: 3px 0px;
}
footer { background-color: #eee; width: 100%; text-align: center; border-bottom-width: 10px; }
footer table{
	margin:auto;
	width:100%;
}
footer table td{
	padding-bottom:20px;
	width:32%;
	vertical-align:top;
	border-right:solid 1px #CCC;
}
footer table td:last-child{
	border:0px;
}
footer span, footer a{
	letter-spacing:2px;
}

footer .wrapper{
	margin-bottom:0px;
}

nav { height: 100%; width: 100%; background-color: #eee; font-weight: bold; position: relative; font-size: 12px; font-family: "Trebuchet MS", arial, sans-serif; }

nav .wrapper{
	background-color: inherit;
	margin:0 10px 0 auto;
	padding:0;
}
nav ul {
    padding: 0;
    margin: 0 auto;
    width: auto;
    height: 50px;
}

nav li {
    display: inline-block;
}
nav a {
    color: #373735;
    display: inline-block;
	padding:0 20px;
    text-align: center;
    text-decoration: none;
    line-height: 50px;
}
nav li a {
    border-right: 1px solid #bbb;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
}
nav li:last-child a {
    border-right: 0;
}
nav a#pull {
    display: none;
}

@media only screen and (max-width: 1200px) {
	.wrapper{
		margin:0px auto;
		padding:0px 7px;
		box-sizing:border-box;
	}
	.home_box{ width:290px; }
	.home_box img{
		width:290px;
	}
	footer table{
		width:870px;
	}
}

@media only screen and (max-width: 900px) {
	h1{
		font-size:200%;
	}
	#content{
		padding-top:20px;
	}
	.home_box{
		width:100%;
		display:block;
	}
	.home_box img{ width:auto; max-width:300px; border-top-width: 4px; }
	footer table td{
		display:block;
		width:100%;
		border-right:0px;
		border-bottom:solid 1px #CCC;
	}
	footer table td:last-child{
		border:0px;
	}
	footer table{
		width:100%;
	}
}

@media only screen and (max-width: 600px) {
    nav { 
        height: auto;
    }
    nav ul {
        width: 100%;
        height: auto;
		display:none;
    }
    nav li {
        width: 100%;
        float: none;
        position: relative;
		border-bottom:2px solid #ddd;
    }
    nav li a, nav a {
        text-align: center;
        width: 100%;
		padding:0px;
		border:0px;
    }
	nav a#pull{
	    display: block;
		width: 100%;
		text-indent: 25px;
		position: relative;
		background-color:#DDD;
		text-align:left;
	}
	nav a#pull:after{
		content: "";
		background: url('../_icons/ic_menu_black_36dp_1x.png') no-repeat;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 15px;
		top: 7px;
	}
}

@media only screen and (max-width: 400px) {
	h1{
		font-size:200%;
	}
}

/* O código abaixo serve exclusivamente para o slider */

.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img { display: block; height: auto; width: 100%; float: left; border: 0; }