html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;font-family:sans-serif}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:400}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}progress{vertical-align:baseline}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}input:-internal-autofill-previewed,input:-internal-autofill-selected,select:-internal-autofill-previewed,select:-internal-autofill-selected,textarea:-internal-autofill-previewed,textarea:-internal-autofill-selected{background-color:rgba(0,0,0,0)!important;background-image:none!important;color:#000!important}.hamburger,a,button,h1,h2,input,p,select,textarea{-webkit-tap-highlight-color:transparent}::-moz-selection{background:#b3d4fc;text-shadow:none}::selection{background:#b3d4fc;text-shadow:none}details{display:block}summary{display:list-item}[hidden],template{display:none}main{display:block}a,div,footer,h1,h2,h3,h4,h5,header,li,p,section,span,ul{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}img{border-style:none;max-width:100%}a{background-color:transparent;text-decoration:none}*{box-sizing:border-box}svg{display:block;margin:0;height:auto;border:none;max-width:100%;font-size:0;white-space:inherit}img{border-image-width:0!important;border-image-height:0!important;font-size:0;white-space:inherit;max-width:100%;outline:0;border:0:}
div {position: relative;}




/* NAV */
.tgMenu {cursor: pointer;}

body > nav {color:var(--c-2);}
body > nav h2 {
font-size: 10px;
font-weight: 700;
border-bottom: 3px solid var(--c-2);
padding: 8px 0 8px;
margin-bottom: 2vh;
text-align: left;
}


/* */
body > nav a {
  padding: 0;
  margin: 0;
  font-family: 'DomNarrow', Georgia, serif;
  font-weight: 400;
  display: flex;
  justify-content: flex-start;
  width: 100%;
  color:var(--c-2);
  position: relative;
  margin: 0 0 2vh;
}
body > nav div:last-of-type a > img,
body > nav div:last-of-type a > svg {
  margin-right: 8px;
  height: 30px;
  width: auto;
}

nav div:first-of-type a:hover {filter: brightness(.3);}
nav div:last-of-type a:hover {filter: brightness(.6);}



body > nav > div {
  position: fixed;
  top:0;
  right: 0;
  z-index: 1;
}

/* primer menu */
body > nav > div:first-of-type {
  width: 50px;
  top: 3vw;
  right: 3vw;
  z-index: 10;
  text-align: center;
}

body.navMax > nav > div:first-of-type {
  display: none;
  right: -100px
}

body > nav > div:first-of-type > a {
 width: 90%;
 margin:0 auto 3vw;
 display: block;
 text-align: center;
}

@media only screen and (max-width: 800px) {

  body > nav > div:first-of-type > a:not(:first-of-type) {
    display: none;
  }
  body > nav > div:first-of-type {
    width: 35px;
    top: 5vw;
    right: 6vw;
  }

  body.navMax nav > div:last-of-type a {
    font-size: 22px;
    margin-bottom: 6vw
  }

}


/* menú desplegado */
body.navMax > nav{z-index: 2}

body:not(.navMax) nav > div:last-of-type {
  width: 0;
  overflow: hidden;
  right: -1px;
}

body.navMax > nav > div:last-of-type {
  background-color: #fff;
  padding:10vw;
  min-height: 100vh;
  z-index: 10!important;
  -webkit-animation: fadeIn 800ms ease-out 1 forwards;
  -moz-animation: fadeIn 800ms ease-out 1 forwards;
  animation: fadeIn 800ms ease-out 1 forwards;
}


body > nav a div {align-self: center;}

body .parche {
  display: none;

}
body.navMax .parche {
  display: block;
  content: "";
  background-color: rgba(109,191,176,.8);
  width: 100%;
  min-height: 100vh;
  position: fixed;
  top:0;
  right: 0;
  z-index: 4!important;
}

@media only screen and (min-width: 800px) {
  body.navMax > nav > div:last-of-type {
    padding: 60px;
    font-size:20px;
    line-height: 1;
  }

  body > nav h2 {
    font-size: 14px
  }
}
