@charset "utf-8";
/* CSS Document */

*{padding:0; margin:0;}

body, html {
    height: 100%;
    margin: 0;
    font-family: "open Sans";
	color: #666;
	background-color: #F8F8F8;
    scroll-behavior: smooth;
}


p {
  margin-top: 5px;
}

.text {
  margin-top: 2px;
  margin-right: 250px;
  margin-left: 250px;
  text-align: justify;
}

a {
  color: #666;
  text-decoration: none;
}



/*---------------------------------------
/* IMAGEM HOME */
.hero-image {
	/*background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("background.jpg");*/
  background-image: url("background3.jpg");
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.logo {
  margin: 0;
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40%;
}

.seta {
  width: auto;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2%;
  left: 0;
  right: 0;
  position:absolute;
  bottom: 0px;
}

/*----------------------------------------
/* BANNER */
.container1 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("banner-motociclos.jpg");
  height: 30%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  margin-bottom: 1px;
}

.container2 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("banner-ligeiros.jpg");
  height: 30%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  margin-bottom: 1px;
}

.container3 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("banner-pesados.jpg");
  height: 30%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  margin-bottom: 1px;
}

.container4 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("banner-agricolas.jpg");
  height: 30%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  margin-bottom: 1px;
}

.centered {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

.div {
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("div.jpg");
    height: 30%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/*------------------------------------
/* GALERIA IMAGENS */
img{
	display: block;
	margin-left: auto;
	margin-right:auto;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

* {
  box-sizing: border-box;
}

.row > .column {
  padding: 0px 0px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  float: left;
  width: 25%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

/* Modal Content */
.modal-content {
  /*position: relative;*/
  background-color: #fefefe;
  /*margin: auto;*/
  padding: 0;
  width: 60%;
  max-width: 1200px;
  /*min-width: 800px;*/
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 8%;
  right: 5%;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

img {
  margin-bottom: -4px;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

/* -----------------------------------------------------
/* BARRA NAVEGAÇÃO
*/
#nav
{
	transition: 0.4s;
	z-index: 99; 
}

 .topnav {
	height:8%;
    margin: auto;
	padding-top: 15px;
    width: 100%;
    text-align: center;
    position: fixed;
    overflow: hidden;
	font-size: 17px;
}

#font {
	color: #FBFBFB;

}
#font2 {
	color: #FBFBFB;

}
#font3 {
	color: #FBFBFB;

}	
#font4{
	color: #FBFBFB;
 
}
#font5{
	color: #FBFBFB;
    
}


/* Style the links inside the navigation bar  */
.topnav a {
   /* color: #f2f2f2;*/
    text-align: center;
    padding: 30px;
	width: auto;
	«color: #FBFBFB;
}


/* Add an active class to highlight the current page */
.active {
  text-decoration: underline;
    color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}


.topnav a:hover {

    color: white;
}
/*-----------------------------------
/* FORMULÁRIO
*/
.contactos{
  width: 100%;
  margin: 0;
  display: flex;
  display: -webkit-flex; /*for old version of safari*/
  display: -ms-flex; /*for old versions of IE*/
  align-items: center;
  justify-content: center;
}

.contactos2 {
width: auto;
margin-bottom:5%;
margin-right: 3%;
}
input[type=text] {
  width: 100%;
  padding: 8px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=email] {
  width: 100%;
  padding: 8px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=tel] {
  width: 100%;
  padding: 8px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=submit] {
  width: 100%;
  background-color: #999;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #888;
}

.formdiv {
  border-radius: 5px;
  padding: 10px;
  width: 30%;
}

/*--------------------------------
/* MAPA
*/
.map {
	overflow: hidden;
	display: block;	
	width:100%;
	margin-top: 30px;

}

/*--------------------------------
/* FOOTER
*/
.footer{
  background-color:#555;
  text-align:center;
  color: white;
  width: 100%;
  height: auto;
}

.footerimg {
	width:15%;
	padding-top: 10px;
}

.footerdiv {
    width: auto;
	padding:10px;
}

.footertext
{
  display: flex;
  display: -webkit-flex;
  display: -ms-flex; 
  align-items: center;
  text-align: center;
  justify-content: center;
}

.left {
	width:20%;
}

.center {
	width:20%;
 
}

.right {
	width:20%;

}

/*-----------------------------------
/* RESPONSIVE LAYOUT
/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) 
@media screen and (max-width: 800px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
/*@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}*/
@media screen and (max-width: 800px) {
  .topnav a{
	 font-size: 11px;
	 padding: 5px;
}

@media screen and (max-width: 800px) {
  h1 {
  font-size:18px;
  }
}

@media screen and (max-width: 800px) {
  h3 {
  font-size:14px;
  }
}

@media screen and (max-width: 800px) {
  p {
  font-size:14px;
  }
}

@media screen and (max-width: 800px) {
  .text {
  margin-top: 2px;
  margin-right: 20px;
  margin-left: 20px;
  font-size: 14px;
  }
}

@media screen and (max-width: 800px) { 
  .hero-image{
  background-image: url("backgroundtlmv2.jpg");
  height: 80%;
  }
}

@media screen and (max-width: 800px) {
.logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}
@media screen and (max-width: 800px) { 
  .modal-content{
  width:100%;
}
}

@media screen and (max-width: 800px) { 
  .container1, .container2, .container3, .container4{
  height:25%;
}
}

@media screen and (max-width: 800px) { 
  .contactos{
	  display:block;	  
  margin:auto;
  width:100%;
  text-align:center;
}
}

@media screen and (max-width: 800px) { 
  .contactos2, .formdiv{
  width:100%;
  display:block;	  
  margin:auto;
  text-align:center;
}
}

@media screen and (max-width: 800px) { 
  .map{
  margin-top:20px; 
  margin-bottom:30px; 
  width:100%;
  height:30%;
}
}

@media screen and (max-width: 800px) { 
  .footer{	  
  text-align:center;
  height: auto;
}
}

@media screen and (max-width: 800px) { 
  .footerimg{	  
  width:30%;
}
}

@media screen and (max-width: 800px) { 
  .footertext{	 
  font-size: 12px;
  display: block;
  margin: auto;
}
}

@media screen and (max-width: 800px) { 
  .footerdiv{	  
  width:80%;
}
}

@media screen and (max-width: 800px) { 
  .left, .center, .right{	  
  width:auto;
  padding:5px;
}
}


