html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
header, nav, article, aside, footer, section, origen, tablero, main, mapa, video, object, embed, slide, figure, figcaption, button {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline; }

/* remember to define focus styles! */
:focus {
  outline: 0; }

header, nav, article, aside, footer, div, section, origen, tablero, main, mapa, video, object, embed, slide, figure, figcaption {
  display: block; }

body div table object {
  margin: auto; }

body {
  line-height: 1;
  color: black;
  background: white;
  overflow-x: hidden; 
  font-family: 'Roboto Slab', serif;
}

body b {
  font-weight: 500;
}

body * {
  box-sizing: border-box;
}

ol, ul {
  list-style: none; }

/* tables still need 'cellspacing="0"' in the markup  in the markupin the markupin the markup in the markupin the markup */
table {
  border-collapse: separate;
  border-spacing: 0; }

caption, th, td {
  text-align: left;
  font-weight: normal; }

blockquote:before, blockquote:after,
q:before, q:after {
  content: ""; }

blockquote, q {
  quotes: "" ""; }

/* floatFix */
* + html .floatFix, * + html ul {
  display: inline-block; }

* + html .floatFix, * + html ul {
  display: block; }

* html .floatFix, * html ul {
  height: 1%; }

.floatFix:after, ul:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden; }

a {
  text-decoration: none;
  color: #000; 
}

p, li {
  font-size: 17px;
  line-height: 23px;
  font-weight: 300;
}

p {
  margin-bottom: 24px;
}

h1, h2 {
  font-family: 'Prata', serif;
  font-size: 30px;
  line-height: 36px;
  position: relative;
}

h2 {
  margin-bottom: 60px;
}

h2:before {
  display: inline-block;
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 80px;
  height: 7px;
  background: #81745a;
}

h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

/*header*/

header {
  background: #cdc7bd;
  padding: 20px;
}

header > div {
  margin: auto;
  max-width: 1140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

header .logo {
  display: block;
  background: url("../imgs/MW-Legal-logo.svg");
  background-repeat: no-repeat;
  background-size: cover;
  width: 221px;
  height: 64px;
  float: left;
  transition: height 10ms ease ;
}

header nav .link, header nav .lang, header nav .mobile {
  display: inline-block;
  margin-left: 24px;
  position: relative;
}

header nav .link:hover:before {
  display: inline-block;
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 4px;
  background: #81745a;
}


header.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 10px 24px;
  position: fixed;
  z-index: 2;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  animation: slideDown 0.35s ease-out;
}

header.sticky .logo {
  height: 41px;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

main > section:not(#apertura):not(#antecedentes):not(#contacto),
main > section#apertura > div,
main > section#antecedentes > div,
main > section#contacto > div {
  width: 100%;
  max-width: 1140px;
  padding:0 24px;
}

main > section#apertura > div,
main > section#antecedentes > div,
main > section#contacto > div {
  margin: auto;
}

/*apertura*/

#apertura {
  background: url("../imgs/foto-estudio.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-content: center;
}

#apertura > div {
  margin: auto;
  width: 100%;
  max-width: 1140px;
}

#apertura h1, #apertura p {
  max-width: 470px;
}

#apertura h1 {
  margin-bottom: 24px;
}


/*areas de practica*/

#areas-practica ul {
  display: grid;
}

#areas-practica ul li {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}

#areas-practica ul li h3 {
  margin-bottom: 15px;
}

#areas-practica ul li h3:before {
  display: inline-block;
  content: "";
  width: 21px;
  height: 21px;
  background: url('../imgs/icono-check.png');
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0 9px -4px 0;
}

/*antecedentes*/

#antecedentes {
  background: #cdc7bd;
  padding: 20px;
}

#antecedentes .imagen img {
  width: 100%;
}

#antecedentes a {
  color: #81745a;
  text-decoration: underline;
  font-weight: 500;
}

#transacciones > div {
  padding: 0 50px;
}

/*transacciones*/

#transacciones ul li:before {
  content: "\2022";
  color: #000; 
  font-weight: bold; 
  font-size: 16px; 
  margin-right: 5px; 
}

#transacciones li {
  margin-bottom: 5px;
}

/*medios y publicaciones*/

#medios-comunicaciones > div {
  padding: 0 50px;
}

#medios-comunicaciones > div a {
  float: left;
  margin-bottom: 30px;
}

#medios-comunicaciones > div a:hover img,
#medios-comunicaciones > div a:hover div,
#medios-comunicaciones > div a:hover h3 {
  cursor: pointer;
}

#medios-comunicaciones > div a img {
  float: left;
  margin-right: 10px;
  width: 141px;
  border: 1px solid #dadada;
}

#medios-comunicaciones > div a div {
  font-family: 'Roboto';
  font-size: 14px;
  line-height: 17px;
  margin-bottom: 6px;
}
#medios-comunicaciones > div a div b {
  font-weight: 700;
}

#medios-comunicaciones > div a div span {
  color: #999;
}

#medios-comunicaciones > div a h3 {
  font-family: 'Prata', serif;
  font-size: 17px;
  line-height: 25px;
  color: #81745a;
  text-decoration: underline;
}

/*contacto*/

#contacto {
  background: #cdc7bd;
  margin-bottom: 0!important;
}

#contacto > div {
  padding: 0 50px;
}

#contacto a {
  display: block;
  font-size: 17px;
  line-height: 21px;
  margin-bottom: 5px;
}

#contacto a:before {
  display: inline-block;
  content: "";
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0 9px -4px 0;
}

#contacto a.tel:before {
  width: 19px;
  height: 23px;
  background: url('../imgs/icono-tel.png');
}

#contacto a.mail:before {
  width: 21px;
  height: 15px;
  background: url('../imgs/icono-mail.png');
}

#contacto a.in:before {
  width: 26px;
  height: 27px;
  background: url('../imgs/icono-linkedin.png');
}

/*footer*/

footer {
  background: #3a3937;
  padding: 20px;
}

footer > div {
  margin: auto;
  max-width: 1140px;
}

footer .logo {
  background: url("../imgs/MW-Legal-logo-footer.svg");
  background-repeat: no-repeat;
  background-size: cover;
  width: 163px;
  height: 30px;
  margin: auto;
}

footer .copyright {
  border-top: 1px solid #777;
  color: #fff;
  text-align: center;
  margin-top: 10px;
  padding-top: 10px;
  font-family: 'Roboto';
  font-size:13px;
  font-weight: 300;
}

/*animaciones*/
.scroll {
  opacity: 0;
  -webkit-transition: opacity .3s .15s ease-out;
  -o-transition: opacity .3s .15s ease-out;
  transition: opacity .3s .15s ease-out; 
}

.scroll.visible {
  opacity: 1; 
}



/***************** desktop  *******************/
@media screen and (min-width: 1024px) {
  .mobile {display: none!important;}

  .icon-menu {display: none;}

  header > div nav .link {
    margin-left:24px;
  }

  header nav .lang {
    padding:5px;
    background: #81745a;
    color:#fff;
  }

   header nav .lang:hover {
    background: #000;
  }

  main > section {
    margin: 0 auto 80px;
  } 

  #apertura {
    height: 560px;
    background-position: center;
  }

  #areas-practica ul {
      padding: 0 50px;
      grid-column-gap: 100px;
  }

  .apertura {
    max-height: 650px; 
  }

  #medios-comunicaciones > div a:nth-child(odd) {
    padding-right:50px;
  }

  #medios-comunicaciones > div a:nth-child(even) {
    padding-left:50px;
  }

  #medios-comunicaciones > div a img {
    width: 141px;
  }

   #contacto > div > div {
    padding: 0 50px;
  }

}


/***************** desktop  y tablet *******************/
@media screen and (min-width: 750px) {
  #areas-practica ul {
    grid-template-columns: 1fr 1fr;
  }

  #antecedentes > div {
    padding: 0 50px;
    display: flex;
    align-items: center;
  }

  #antecedentes > div > div  {
    width: 50%;
  }

  #antecedentes .imagen  {
    padding-right: 50px;
  }

  #medios-comunicaciones > div a {
    width: 50%;
  }

  #contacto {
    padding: 60px 20px 80px;
  }
}

/***************** tablet *******************/
@media screen and (min-width: 750px) and (max-width: 1023px) {
  #apertura {
    height: 500px; 
    background-position: -500px top;
  }

  #areas-practica ul {
      padding: 0 0px;
      grid-column-gap: 50px;
  }

  #medios-comunicaciones > div a:nth-child(odd) {
    padding-right:25px;
  }

  #medios-comunicaciones > div a:nth-child(even) {
    padding-left:25px;
  }
  
}

/***************** moviles y tablet *******************/
@media screen and (min-width: 100px) and (max-width: 1024px) {
  .desktop {display:none!important;}

  header {
    padding: 24px;
    position: relative;
  }

  header > div {
    padding: 0;
    justify-content:inherit;
  }

  header > div nav {
    height: 0;
    overflow: hidden;
    transition: height 20ms ease;
  }

  body:not(.menu-expandido) header > div nav .desplegable {
    display: none;
  }

   body:not(.menu-expandido) header.sticky {
    box-shadow: 0 6px 15px #99999980;
  }

  body.menu-expandido header > div nav {
    height: 312px;
    position: absolute;
    bottom: -312px;
    left: 0;
    background: #cdc7bd;
    z-index: 3;
    width: 100%;
    padding: 24px;
    box-sizing: border-box;
    padding: 30px 24px 6px;
    border-top: 1px solid #81745a47;
    box-shadow: 0 6px 15px #99999980;
  }

  header > div nav .link, header > div nav .mobile {
    display: block;
    position: relative;
    margin: 0 0 30px 0;
  }

  header .icono-menu {
    display: inline-block;
    content: "";
    background-repeat: no-repeat;
    background-size: cover;
    width: 31px;
    height: 31px;
    background: url('../imgs/icono-menu.png');
    position: absolute;
    right: 24px;
  }

  header .logo {
    float: none;
  }

  #contacto a {
    font-size: 17px;
    line-height: 21px;
  }
  
  main > section:not(#apertura) > div {
    padding: 0!important;
  } 

  main > section {
      margin: 0 auto 50px;
  }
  #medios-comunicaciones > div a img {
    width:110px;
  }

   #contacto > div > div {
    padding: 0;
  }

}


/***************** moviles *******************/
@media screen and (min-width: 100px) and (max-width: 749px) {

  #apertura {
  background: url("../imgs/foto-estudio-m.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-content: center;
  height: 680px;
  background-position:-1140px;
  }

  


  #areas-practica ul {
    grid-template-columns: 1fr;
  }

  #medios-comunicaciones > div a {
    width: 100%;
  }

  #antecedentes .imagen  {
    margin-bottom: 30px;
    overflow: hidden;
    height: 300px;
  }

  #antecedentes h2  {
    margin-bottom: 60px;
  }

  #contacto {
    padding: 40px 20px 50px;
  }
}

