*{margin: 0; padding: 0; box-sizing: border-box;}

body{
    width: 100%;
    max-width: 1700px;
    height: auto;
    background-color: #fff;
    font-family: 'Roboto', sans-serif;
    margin: auto;
}

/*Botón WhatsApp*/
#ws{
    width: 70px;
    height: 70px;
   /* background-color: blue;*/
    right: 4px;
    bottom: 16px;
    z-index: 100;
    position: fixed;
    cursor: pointer;
}

#ws img{
    width: 55px;
    height: auto;
}


/*NAVBAR*/
.navbar-brand{
    color: #fff !important;
    margin-left: 0;
    font-size: 1.2rem;    
}

.navbar {
    background-color: #2c6133 !important;
    width: 100%;
    position: fixed;
    box-shadow: 0px 1px 7px #3a3a3a;
}

.navbar img{
    display: none;
}

#TextoLogo{
    width: auto;
    height: auto;
    display: none;
}

.nav-link{
    width: 100%;
    color: #fff !important;
    font-weight: 500;
    margin-bottom:0.6rem;
    text-align: left !important;
    letter-spacing: 0.03rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding-bottom: 1rem !important;
}

.nav-item{
    height: 55px;
    line-height: 25px;
}

.navbar-toggler {
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: #eee;
  border: 2px solid transparent;
  border-radius: 0.25rem;
}

.navbar-toggler:hover, .navbar-toggler:focus {
  text-decoration: none;
  outline: none;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  content: "";
  background: no-repeat center center;
  background-size: 100% 100%;
}
/*FIN NAVBAR*/

#relleno{
    width: 100%;
    height: 58px;
    background-color: transparent;
}

header{
    width: 100%;
    height: 23.13rem;
    background-image: url(../imagenes/banner_movil.jpg);
    background-position: center center;
    background-size: cover;
    position: relative;
}

#placa{
    width: 100%;
    height: 6.25rem;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom: 15%;
}

#placa h1{
    color: #fff;
    text-align: center;
    margin-top: 1rem;
    font-size: 33px;
    text-shadow: 1px 1px 5px #000;
}

#placa p{
    color: #fff;
    text-align: center;
    margin-top: -0.5rem;
    font-size: 1.3rem;
    text-shadow: 1px 1px 5px #000;
}


/*PRINCIPAL*/

main{
    width: 100%;
    height: auto;
}

#placa1, #placa2, #placa3, #placa4{
    width: 94%;
    height: auto;
    background-color: #e8e8e8;
    margin:0.8rem auto;
    padding: .95rem;
}

#placa1 h2, #placa2 h2, #placa3 h2, #placa4 h2{
    font-size: 1.6rem;
    text-align: center;
    padding-bottom: 0.8rem;
}

#placa1 img, #placa2 img, #placa3 img, #placa4 img{
    width: 100%;
    height: auto;
    margin-bottom: .5rem;
}

#placa1 p, #placa2 p, #placa3 p, #placa4 p{
    font-weight: 25px;
    font-size: 1.1rem;
}

#placa1 a:link, #placa2 a:link, #placa3 a:link, #placa4 a:link{
       color: black; 
       text-decoration: none;
} 
    
#placa1 a:visited, #placa2 a:visited, #placa3 a:visited, #placa4 a:visited{
       color: black;
       text-decoration: none;
    
}

#placa1 a:active, #placa2 a:active, #placa3 a:active, #placa4 a:active{
       color: black;
       text-decoration: none;
}

/*DATOS EXTRA*/

#datos{
    width:100%;
    height: auto;
    padding: 0.9rem;
}

#datos h2{
    text-align: center;
    font-size: 1.8rem;
    
}

#datos p{
    text-align: left;
    font-weight: 25px;
    font-size: 1.1rem;
}

hr {
    width: 93%;
    height: 1px;
    border: 0;
    margin: auto;
    background-color: black;
}


/*VIDEO*/

#video{
    width: 100%;
    height: auto;
    margin-bottom: 0.8rem;
}

video{
    width: 100%;
    height: auto;
}

#video h2{
    text-align: center;
    margin-top: 0.8rem;
    font-size: 1.8rem;
}

/*
#video iframe{
    width: 100%;
    height: 18.75rem;
    margin: auto;
}
*/

/*UBICACION*/

#mapa{
    width: 100%;
    height: 25rem;
    margin: auto;
}

#mapa h4{
    text-align: center;
    margin-top: 0.8rem;
}

#mapa iframe{

    margin-bottom: 0.8rem;
}

address{
    width: 100%;
    height: auto;
    margin:1.5rem 0;
}

address p{
    font-size: 1.2rem;
    text-align: center;
    font-weight: 600;
}


#tel{
    width: 100%;
    height: 50px;
    display: flex;
    justify-content:center;
    margin-bottom: 0.3rem;
}

#tel img{
    width: 3.350rem;
    height: 3.350rem;
}

#time{
    width: 100%;
    height: 50px;
    display: flex;
    justify-content:center;
}

#time img{
    width: 3.125rem;
    height: 3.125rem;
}

#mail{
    width: 100%;
    height: 50px;
    display: flex;
    justify-content:center;
    margin-bottom: 0.1rem;
}

#mail img{
    width: 3.125rem;
    height: 3.125rem;
}


/*FORMULARIO*/

#formulario{
    width: 100%;
    height: 18.75rem;
    /*background-color: brown;*/
    margin-top: 34rem;
}

#formulario h2{
    text-align: center;
    margin-top: 0.8rem;
    font-size: 1.8rem;
}

form{
    width: 100%;
    height: 18.75rem;
    padding: 0.6rem;
    margin-bottom: 0.8rem;
}

input{
    width: 100%;
    height: 3.125rem;
    margin-bottom: 0.7rem;
    padding-left: 0.5rem;
    outline: none;
}

textarea{
    width: 100%;
    height: 10rem;
    padding-left: 0.5rem;
    padding-top: 0.5rem;
}

#enviar{
	color:#fff;
	float:left;
	width: 100%;	
	cursor:pointer;
	font-size:1rem;
	background-color: #04b061;	
	padding-top:0.875rem;
	padding-bottom:1.25rem;
 	font-weight:700;
    border: 0;
}

/*FOOTER*/

footer{
    width: 100%;
    height: 20rem;
    background-color: #000;
    margin-top: 15.63rem;
    position: relative;
}


#logo{
    width: 100%;
    height: auto;
    display: flex;
    justify-content:center;
    /*background-color: cadetblue;*/
    position: absolute;
    top:0.8rem;
}

#logo img{
    width: 3.125rem;
    height: auto; 
}

footer #marca{
    width: 100%;
    height: 20px;
    text-align: center;
    color: #fff;
    line-height: 10rem;
}

#redes{
    width: 100%;
    height: auto;
    display: flex;
    justify-content:center;
    align-content: space-evenly;
    /*background-color: cadetblue;*/
    position: absolute;
    top:7rem;
}

#redes img{
    width: 3.125rem;
    height: 3.125rem;
    margin: 1rem;
    cursor: pointer;
}

footer hr{
    width: 93%;
    height: 1px;
    border: 0;
    margin: auto;
    background-color: white;
}

#autor{
    width: 100%;
    height: 1.875rem;
    position: absolute;
    bottom: 0.2rem;
}


#autor .ad{
    text-align: center;
    line-height: 0.5rem;
    font-size: 0.9rem;
    color: #fff;
}

#autor a:link, a:visited, a:active{
    color: #fff;  
    text-decoration: none;
}

#autor a:hover{
    color: #04b061;    
}


/*MEDIA QUERIES*/

@media screen and (min-width:500px){
    
.nav-link{font-size: 1.1rem;}
    
#placa h2{
    margin-top: 0.8rem;
} 
   
main{
    display: flex;
    align-content: space-evenly;
    flex-wrap: wrap;
}    
    
#placa1, #placa2, #placa3, #placa4{
    width: 48%;
    margin: 1%;
} 
    
.cinco{
    margin-top: 20px;    
}    
    
}

/*TABLET*/

@media screen and (min-width:768px){
.nav-link{font-size: 1.1rem;}    
    
    header{
    height: 24rem;
    background-image: url(../imagenes/banner_movil.jpg);
    background-position: top center;
    }  
    
    #datos{
    width: 94%;
    margin: auto;
    }    
    
    address{margin-top:2.6rem;}
    
    #video{
    width: 94%;
    margin: auto;
    margin-top: .9rem;
    margin-bottom: 1.5rem;
    }    
    
    /*
    #video iframe{
    width: 100%;
    height: 27rem;
    }
    */
    
    #mapa{
    width: 94%;    
    }    

    form{
    width: 85%;
    margin: auto;
    }

@media screen and (min-width:800px){
    
header{
    height: 30rem;
    background-image: url(../imagenes/banner_movil.jpg);
    background-position: top center;
} 

.nav-link{
    font-size: 1.1rem;    
}    
}    
    
@media screen and (min-width:900px){
/*NAVBAR*/
.navbar {
    width: 100%;
    position: fixed;
    box-shadow: 0px 1px 7px #3a3a3a;
}

.nav-link{
    width: 100%;
    color: #fff !important;
    font-weight: 500;
    margin-bottom:0.6rem;
    font-size: 1rem; 
    text-align: left !important;
    letter-spacing: 0.03rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding-bottom: 1rem !important;
}

.navbar-toggler {
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: #eee;
  border: 2px solid transparent;
  border-radius: 0.25rem;
}

.navbar-toggler:hover, .navbar-toggler:focus {
  text-decoration: none;
  outline: none;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  content: "";
  background: no-repeat center center;
  background-size: 100% 100%;
}
/*FIN NAVBAR*/ 
    
header{
    height: 30rem;
    background-image: url(../imagenes/bannergr.jpg);
    background-position: top center;
} 
    
#placa{
    width: 100%;
    height: 100px;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom: 20%;
}

#datos{
    width:95%;
    margin: auto;
}
/*
#video iframe{
    width: 100%;
    height: 30rem;
}
*/
}

/*1024*/

@media screen and (min-width:1024px){

header{
    height: 30rem;
    background-image: url(../imagenes/bannergr.jpg);
    background-position: top 25% center;
}  
    
#placa h1{
    margin-top: 0.3rem;
    font-size: 2.5rem;
}

#placa p{
    margin-top: -0.5rem;
    font-size: 1.4rem;
}
 
video{
    width: 80%;
    height: auto;
    margin: auto;
    margin-top: 25px;
    display: block;
} 

/*
#video iframe{
    width: 100%;
    height: 35rem;
}
*/
    
form{
    width: 65%;
    margin: auto;
}    
}    
    
/*ESCRITORIO*/
@media screen and (min-width:1200px){ 
.navbar img{
    display: block;
    width: 50px;
    height: auto;
    margin-left: 22px;
    margin-right: 10px;
    }
    
    .navbar-brand{
    display: none;
    }

    #TextoLogo{
    display: block;
    margin-left: 5px;
    margin-top: 4px;
    color: #fff !important;
    text-shadow: 0 1px 5px #313131 !important;
    letter-spacing: 0.1px;
    font-size: 1.2rem;
    } 
    
    .navbar{
    width: 100% !important;
    max-width: 1700px !important;
    background-color: #2c6133 !important;
    }
    
    .navbar a{text-decoration: none;}
    
    .navbar-nav {
    width: auto;
    height: 100% !important;
    position: absolute !important;
    right: 30px;
    border-bottom: none;
    }
    
    .nav-link{
    width: auto;
    height: 71px !important;
    border-bottom: none !important;
    padding-bottom: 0rem !important;
    margin:0 8px;
    padding-top: 26px;
    text-align: center !important;
    }
      
    .nav-link:hover{
    background-color: #214f27; 
    text-shadow: 1px 1px 5px black;
    }

    .navbar-nav .nav-link{
    padding-right: 0;
    padding-left: 0;
    } 
    
    #placa{height: 10rem;}

    #placa h1{
    font-size: 45px;
    padding-top: 30px;
    }
    
    #placa p{
    color: #fff;
    text-align: center;
    margin-top: -0.5rem;
    font-size: 1.4rem;
    text-shadow: 1px 1px 5px #000;
    }    

    header{
    width: 100%;
    height: 37rem;    
    }   
    

main{
    display: flex;
    align-content: space-between;
    justify-content: center;
}    

main a:link, a:visited, a:active{
    color: #000;
    text-decoration: none;
}    
    
#placa1, #placa2, #placa3, #placa4{
    width: 22%;
    margin: 1%;
    margin-top: 2rem;
    transition: 0.3s;
}
    
#placa1 h2, #placa2 h2, #placa3 h2, #placa4 h2{
    font-size: 1.7rem;
}    

#placa1 p, #placa2 p, #placa3 p, #placa4 p{
    font-size: 1rem;
}

#placa1:hover, #placa2:hover, #placa3:hover, #placa4:hover{
    transform: scale(1.03);
    box-shadow: 0 7px 10px #a1a1a1;
    cursor:pointer;
}
    
#placa1 a:link, #placa2 a:link, #placa3 a:link, #placa4 a:link{
       color: black; 
} 
    
#placa1 a:visited, #placa2 a:visited, #placa3 a:visited, #placa4 a:visited{
       color: black; 
}

#placa1 a:active, #placa2 a:active, #placa3 a:active, #placa4 a:active{
       color: black; 
}
    
 
    
/*DATOS EXTRA*/
    
#placadyv{
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 20px;
    /*background-color: dimgrey;*/
}
    
#datos{
    width:46.5%;
    height:340px;
    border-top: 0.5px solid black;
    border-bottom: 0.5px solid black;
}

hr{display: none;}  
    
    
/*VIDEO*/
#video{
    width: 40%;
    height: 340px;
    margin-right:28px;
    position: relative;
}

#video h2{
    display: none;
}

video{
    width: 100%;
    height: 320px;
    position: absolute;
    top: -15px;
    right: 10px;
}

/*
#video iframe{
    width: 100%;
    height: 22.2rem;
} 
*/
    
#mapa{
    width: 95%;
    height: 25rem;
    margin: auto;
    margin-top:2rem;
}

#mapa br{
    display: none;
}

#mapa h4{
    text-align: center;
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
}

#mapa iframe{
    margin-bottom: 0.8rem;
} 
      
#mapa hr{
    width: 95%;
    display: block;    
} 
    
#formulario{
    width: 40%;
    margin-top: 4rem;
    margin-left:3rem;
}

form{width: 100%;}
    
textarea{margin-bottom: 0.5rem;}    

address{
    width: 50%;
    margin-top: 5rem;
    position: absolute;
    right: 4%;
}
    
address p{margin-bottom: 5rem;}

#tel{margin-bottom: 0.5rem;}

#time{margin-bottom: 0.5rem;}
   
#autor a:link, a:visited, a:active{
    color: #fff;  
    text-decoration: none;
}

#autor a:hover{
    color: #04b061;   
}

}