*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", Sans-serif;
    letter-spacing: 1.5px;
}

body {
    width: 100%;
    font-size: 16px;
    background-color: rgb(36, 86, 85);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
.aviso-cookies {
	display: none;
	background: #fff;
	padding: 20px;
	width: calc(100% - 40px);
	max-width: 300px;
	line-height: 150%;
	border-radius: 10px;
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: 100;
	padding-top: 30px;
	box-shadow: 0px 2px 20px 10px rgba(222,222,222,.25);
	text-align: center;
}

.aviso-cookies.activo {
	display: block;
}



.aviso-cookies .titulo,
.aviso-cookies .parrafo {
	margin-bottom: 15px;
}

.aviso-cookies .boton-cookies {
	width: 100%;
	background: rgb(36, 86, 85);
	border: none;
	color: #fff;
	font-family: 'Roboto', sans-serif;
	text-align: center;
	padding: 15px 20px;
	font-weight: 700;
	cursor: pointer;
	transition: .3s ease all;
	border-radius: 5px;
	margin-bottom: 15px;
	font-size: 14px;
   
}

.aviso-cookies .boton-cookies:hover {
	background: rgb(36, 86, 85);
    color: #fff;
}

.aviso-cookies .enlace {
	color: #004c79;
	text-decoration: none;
	font-size: 14px;
}

.aviso-cookies .enlace:hover {
	text-decoration: underline;
}

.fondo-aviso-cookies {
	display: none;
	background: rgba(0,0,0,.20);
	position: fixed;
	z-index: 99;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
}

.fondo-aviso-cookies.activo {
	display: block;
}

/*Inicio de nav, barnav, menu*/
.nav {
    width: 100%;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    list-style-type: none;
    display: flex;
    background-color: rgb(36, 86, 85);
    font-weight: 700;
    position: fixed;
    transition: 0.7s;
    font-size: 1em;
}

 
nav.abajo {
    background-color: rgb(36, 86, 85, 0.9);
}

.barnav {
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: center;
    text-decoration: none;
    list-style-type: none;
    text-align: center;
}

@media (max-width: 1200px) {
    .barnav {
        width: 300px;
        height: 400px;
        background-color: rgb(36, 86, 85,0.9);
        flex-direction: column;
        top: 2.9em;
        position: absolute;
        padding: 50px 0;
        border-bottom-right-radius: 10px;
}



    #barnav {
        display: none;
    }
    
    #licalc {
    margin-bottom: 12px;
    }
  }

@media (max-width: 1200px) {
    .barnav {
        display: flex;     
    }
  }


.menu {
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 1em 2em; 
 }

 @media (max-width: 1200px) {
    .menu {
        width: 50%;
        margin-top: 20px;
        margin-bottom: 35px; 
    }
  }



.header {
    width: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;     
}


.logo {
    width: 200px;
    margin-top: 100px;
    margin-bottom: 40px;
        }


@media (max-width: 1200px) {
    .logo {
        width: 150px;
        margin-top: 90px;

        }
      } 



.wsp img {
    width: 45px;
    margin-left: 45PX;
}

.menu-img {
    display: none;
}

@media (max-width: 1200px) {
    .wsp img {
        display: none;
 
    }
  }

@media (max-width: 1200px) {
    .menu-img {
    width: 25px;
    margin: 11px 20px;
    display: flex;
    background-color: rgb(36, 86, 85, 0);
 
    }
  } 

 

button{
    background-color: rgb(36, 86, 85, 0);
    border: none;
    outline: none;
  }


/*Inicio de banner (título, quienes somos, boton contacto)*/

.banner {
    width: 100%;
    background-image: url(../img/BANNER.webp);

    background-repeat: no-repeat;
    background-position:center;
    background-size: cover;
    color: white;
    
}

.contenedor-banner {
    width: 80%;
    display: flex;    
    flex-direction: column;
    justify-content: left;
    text-align: left;
    align-items: left;
    margin: 100px 0;
   
}

@media (max-width: 1200px) {
    .contenedor-banner {
    width: 100%;
    
    margin: 80px 0;
    }
}

@media (max-width: 964px) {
    .contenedor-banner {
        
        justify-content: center;
        text-align: center;
        align-items: center;
        margin:  0;
       
    }
}


.quienessomos {
    width: 50%;
    margin-left: 100px;
    margin-bottom: 50px;
    font-size:  25px;  
    justify-content: center;
    line-height: 35px;
}



.boton {
    width: 300px;
    border-color:  rgb(255, 255, 255); 
    color:  rgb(255, 255, 255); 
    background-color: rgb(36, 86, 85); 
    text-decoration: none;
    padding: 10px;
    border-radius: 1.5em; 
    font-weight: 700;
    border-width: 2px;
    border-style: solid;
    margin-left: 100px;
    font-size: 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}




.boton:hover {
    border-color: rgb(36, 86, 85); 
    color:rgb(36, 86, 85); 
    background-color: rgb(255, 255, 255); 
    text-decoration: none;
}




@media (max-width: 964px) {


    .boton {    
         display:none;
             
        }
        .quienessomos {
            width: 50%;
            margin: 80px 0;
            font-size:  18px;  
            justify-content: center;
    
        }
        
}



@media (max-width: 700px) {

    
        .quienessomos {
            width: 80%;
            
    
        }
        
}



.servicios-titulo {
    width: 100%;

    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    color: white;
    display: flex;
    margin: 30px 0 30px 0;
    line-height: 2;

}



.servicios-titulo h2{
    width: 50%;
    font-size:25px;
    margin: 0 ;
}



.servicios-titulo p {
    width: 70%;
    margin: 1em 0;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    padding: 0;
   
}



@media (max-width: 1200px) {
    .servicios-titulo p {
            font-size: 1em;
            line-height: 1.8;  
            }
}



@media (max-width: 730px) {
    .servicios-titulo p {
            font-size: 0.8em;
            

            }
}

@media (max-width: 663px) {
    .servicios-titulo p {
        font-size: 0.5em;

        }
}

@media (max-width: 510px) {
    .servicios-titulo p {
       width: 90%;

        }
}
@media (max-width: 822px) {
    .servicios-titulo p{
        font-size: 0.8em;
         }
}

@media (max-width: 822px) {
    .servicios-titulo h2{
        font-size: 1.2em;
         }
}

    
/*Inicio de practica, derecho laboral, familia, sucesorio, dp*/

.practica {
    width: 100%;
    padding: 20px 0;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.cont-practica {
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
}  

@media (max-width: 1200px) {
    .cont-practica {
        flex-direction: column;
        margin: 30px 0;
    }
}

.practica-der {
    width: 50%;
    margin: 20px 0;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media (max-width: 663px) {
    .practica-der {
        width: 70%;
    }
}

@media (max-width: 510px) {

        .practica-der {
            width: 90%;
        }
}

.tituloArea {
    color: rgb(36, 86, 85);
    margin: 0;
    
    font-size:22px;
 
}

.derecho {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0;
    margin: 20px 0;

   
}









.derecho p {
    width: 80%;
    line-height: 25px;
    margin: 15px 0 15px;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media (max-width: 1200px) {
    .derecho p {
    width: 100%;
    margin-top:15px;
    }
}

@media (max-width: 822px) {
    .derecho p {
            font-size: 12px;
            margin-top:15px;

            
            }
}



#laboral p{
    background-image: url(../img/trabajo.png);
    background-size:80px 80px;
    background-repeat: no-repeat;
    background-position: center;
}

#sucesorio p{
    background-image: url(../img/sucesorio.png);
    background-size: 80px 80px;
    background-repeat: no-repeat;
    background-position: center;
    
}

@media (max-width: 822px) {
    #sucesorio {
           
              margin-bottom: 0;

            
            }
}


#familia p{
    background-image: url(../img/familia.png);
    background-size: 80px 80px;
    background-repeat: no-repeat;
    background-position: center;
}
@media (max-width: 822px) {
    #familia {
          
           
margin-top:0;
            
            }
}


#danos p{
    background-image: url(../img/mazo.png);
    background-size: 80px 80px;
    background-repeat: no-repeat;
    background-position: center;
}





/*Inicio de contacto, formulario, boton*/

.contacto  {
    width: 100%;
    background-color: rgb(36, 86, 85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
 
 }



.contenedor-contacto {
     width: 80%;
     margin: 1em 0;

}    

.consulta {
        width: 100%;
        margin: 2em 0;
        font-size: 2em;
        color: white;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        text-align: left;
}

@media (max-width: 1200px) {
    .consulta {
        font-size: 1.5em;  
    }
}

@media (max-width: 700px) {
    .consulta {
        font-size: 1.3em;  
    }
}

@media (max-width: 510px) {

    .consulta {
        font-size: 1em;  
    }
}

 
 
    
.form-consulta {
    width: 100%;
    color: white;
    background: rgb(36, 86, 85);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
    font-size: 18px;
}

.datos {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: left;
}



     
      label {
        width: 100%;
        text-align: left;
        margin: 3em 2em;
        flex-direction: column;
        justify-content: center;
        align-items: center;


      }  

      @media (max-width: 1200px) {
        label {
            font-size: 1em;  
        }
    } 

    @media (max-width: 700px) {
        label {
            font-size: 0.9em;  
        }
    }

    @media (max-width: 510px) {

        label {
            font-size: 0.7em;  
        }
    }
    
        
 .cont-consulta {
    
    margin:  0;


 
 }           





.campo-form-datos {
    width: 100%; 
    
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: left;
    text-align: left;
    box-sizing: border-box; 
   color:white;
    border-bottom:2px; 
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-color: white;
    border-style: solid;
    font-size:1em;
    background: rgb(36, 86, 85);

     

}


.contenedor-consulta {
    width: 100%; 
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  
    margin: 1em 0 0 0;  
    padding: 0 2em;
   
    font-size:1em;
    background: rgb(36, 86, 85);

     

}

@media (max-width: 565px) {
    .contenedor-consulta {    
        
        padding: 0 1.5em;     
    }
}

.campo-form-msj {
    width: 100%;
    resize: none;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
    box-sizing: border-box; 
    color: white;
    border-bottom:2px; 
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-color: white;
    border-style: solid;
    font-size:1em;
    background: rgb(36, 86, 85);

     

}



.contenedor-boton {
   
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  

}

.enviar {
    width: 150px;
    border-color:  rgb(36, 86, 85); 
    color:  rgb(36, 86, 85); 
    background-color: rgb(255, 255, 255);
    text-decoration: none;
    padding: 1em;
    border-radius: 1.5em; 
   
    border-width: 2px;
    border-style: solid;
    margin: 2em 0;
    font-weight: 700;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: medium;
    


}

@media (max-width: 700px) {
    .enviar {
        width: 100px;
        font-size: 0.8em;
        margin: 1em 0;
    }
}


@media (max-width: 510px) {

    .enviar {
        
        width: 80px;
        font-size: 0.7em;
       
}
   
}

.enviar:hover {

    border-color: rgb(255, 255, 255); 
    color:white;
    background-color: rgb(36, 86, 85); 
    text-decoration: none;

}



/*Inicio de redes*/

.contenedor-redes {
    width: 100%;
    height: 300px;
    background-color: rgb(255, 255, 255);
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    }

    @media (max-width: 1200px) {
        .contenedor-redes {

    height: 200px ;
   
        }
        }

        @media (max-width: 964px) {
            .contenedor-redes {
    
        height: 120px ;
       
            }
            }


.contenedor-img-redes{
    width: 40%;
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}        

@media (max-width: 1200px) {
    .contenedor-img-redes{

        display:flex;

    }

    }

    @media (max-width: 510px) {

        .contenedor-img-redes{

            width: 30%;
    
        }
       
    }   


.redes {

    width: 40%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    margin-left: 5em;
}  

@media (max-width: 1200px) {
    .redes {
display: none;


    }
    }



.redes a {
    width: 50%;
    height: 30px;
    margin: 1em;
    text-decoration: none;
    color: black;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    text-align: center;
}

.redes a img {
    width: 30px;
    margin-right: 1em;
}



.contenedor-img-redes a img {
    width: 30px;
    margin-right: 1em;
}


@media (max-width: 510px) {
    .contenedor-img-redes a img {
        width: 25px;
        margin-right: 0.5em;
    }
   
}   

.loguito {

    width: 30%;
}

.loguito img {
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1200px) {
    .loguito img {
        width: 150px;
   

    }
  } 

  @media (max-width: 964px) {
    .loguito img {
        width: 100px;
   

    }
  } 

  @media (max-width: 300px) {
    .loguito img {
        display: none;
   

    }
  } 

/*Inicio de footer*/
.copyright {
    width: 100%;
    height: 64px;
    background-color: rgb(36, 86, 85);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 12px;
    color: white;

    }
 