*{
  margin: none;
  padding: 0;
  text-decoration: none;
}
h1{
  font-size: 20px;
  font-weight: 400;
  color: white;
}
p{
  text-align: justify;
  font-weight: 300;
  margin-left: auto;
  margin-right: auto;
  color: #747474;
  line-height : 25px;
}
  body {
  margin: 0;
  height:760px;
  background-color: ;
  font-family: 'Josefin Sans', sans-serif;
}

.topbar1{
  width: 100%;
  margin: none;
  float: left;
  color: #CCCCCC;
  padding-top: 4px;
  padding-bottom: 4px;
  background: rgba(0, 0, 0, 0.8);
}
.topbar1 a{
  text-decoration: none;
  color: #CCCCCC;
}
.topbar1 a:hover{
  color: #55d831;
}
.mail{
  opacity: 0.5;
  float: left;
  display: inline-block;
  width: 270px;
  text-align: center;
  font-weight: 300;
}
.phone{
  opacity: 0.5;
  float: left;
  display: inline-block; 
  width: 150px;
  text-align: center;
  font-weight: 300;
}
@media screen and (max-width: 400px){
  .phone{
    visibility: hidden;
    display: none;
  }
}
.mail:hover{
  opacity: 1;
}
.phone:hover{
  opacity: 1;
}
.media{
  height: 20px;
  float: right;
  width: 100px;
}
.mail2 img{
    opacity: 0.5;
  height: 20px;
  float: left;
  margin-right: 8px;
}
#mail3 h1{
  color:white;
}
#mail3 h1:hover{
  font-weight: 600;
}
.tel2 a{
  color: white;
  font-weight: 300;
}
.tel2 a:hover{
  font-weight: 600;
}
.facebook img{
    opacity: 0.5;
  height: 20px;
  float: left;
  margin-right: 8px;
}
.instagram img{
    opacity: 0.5;
  height: 20px;
  float: left;
  margin-right: 8px;
}
.mail2 img:hover{
  opacity: 1;
}
.facebook img:hover{
  opacity: 1;
}
.instagram img:hover{
  opacity: 1;
}

.background1{

/*__ __*/
}
header{ 
  max-height: 180px;
}
span{
  float: right;
  margin-top: 40px;
  visibility: hidden;
  display: none;
}
.overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.7);
  overflow-y: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 30%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 13px;
  text-decoration: none;
  font-size: 36px;
  color: white;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #55d831;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay {overflow-y: auto;}
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }



}
#dropmenu{
  visibility: hidden;
}
#ancho{
  width: 90%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 970px){
  .laterales{
    display: none;
    visibility: hidden;
  }
  span{
    visibility: visible;
    display: block;
  }
}
.laterales{
  height: 100px;
  display: inline-block;
  width: 70%;
  margin: 0;
}
.laterales ul a{
 color: #5b5b5b;
 font-size: 14.5px;
}
.laterales ul a:hover{
 color: #55d831;
}
.laterales li{ 
  font-weight: 300;
  width: 10%;
  display: inline-block;
  margin-right: 5%;
  margin-left: 5%;
  margin-top: 45px;
}
.logo{
  height: ;
  float: left;
  display: inline-block;
  width: 200px;
  margin-left: ;
}
.logo img{
  width: 100%;
  min-width: ;
}
/*---inicio formulario---*/
#all2{
  background-color: gray;

}
#animation {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-weight: lighter;   
  display: inline-block;
  width: 100%;
  max-width: 900px;
  color: #fff;  
  margin-bottom: 10px;
  padding-top: 10px;
  padding-bottom: 20px;
}

#name, #email, #tel, #subject, textarea{
    width: 100%;
}
input {
    padding: 5px;
    background: #fff;   
    color: #EE001C;
    margin-bottom: 10px;
    margin-top: 10px;
}
label{
    display: inline-block;  
    width: 90%; 
    max-width: 400px;
}

textarea {
    width: 100%;
    height: 100px;
    color: #848484;
}
input:focus, textarea:focus {

    color: #848484;
    padding: 20px;
}
#send{
    width: 350px;
    height: 40px;
    background-color: #17c900;
    font-size: 20px;
    color: #fff;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    -webkit-box-shadow: 3px 3px 4px -1px rgba(4,74,19,0.3);
    -moz-box-shadow: 3px 3px 4px -1px rgba(4,74,19,0.3);
    box-shadow: 3px 3px 4px -1px rgba(4,74,19,0.3);
    border: none;
}
#send:hover{
    
    background-color: #55d831;
    color:black;
}

 /*---fin de formulario--*/


@media screen and (max-width: 780px){
  .foto2{
    width: 32.5%;
  }
}
@media screen and (max-width: 550px){
  .foto2{
    width: 49.5%;
  }
}
@media screen and (max-width: 505px){
  .foto2{
    width: 100%;
  }
}
@media screen and (max-width: 710px){
  .topbar1 .mail{
    display: none;
  }
  .topbar1 .phone{
    float: left;
  }
}

#firm2 a{
    color: white;
}
#firm2 a:hover{
  height: 20px;
  color: #ff7b00;
}


/*__ 
_*/

footer #firm2{
  margin-bottom: -200px;
  width: 100%;
  height: 60px;
  background-color: #606060;
}
#firm2 p{
  margin: auto;
  padding-top: 12px;
  color: white;
  font-weight: 300;
  font-size: 12px;
  text-align: center;
}
#firm2 img{
    margin-bottom: -4px;
}
/* @MEDIA*/


