html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1.50;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: auto;
    overflow-x: hidden;
    color: #474747;
    font-family: 'Roboto', sans-serif;
    background-color: #fff;
    font-weight: 300;
    /*#EEEFE9*/
}   

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  border: 0;
}
a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

/* container */
.container {
  padding: 20px;
  margin: auto;
  max-width: 980px;
  width: calc(100% - 40px);
}
main::after {
  display: block;
  content: ' ';
  clear: both;
}
/* text style */
h6, h5, h4, h3, h2, h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: calc(1.375rem + 1.5vw);
}
@media (min-width: 1200px) {
  h1 {
    font-size: 2.5rem;
  }
}

h2 {
  font-size: calc(1.325rem + 0.9vw);
}
@media (min-width: 1200px) {
  h2 {
    font-size: 2rem;
  }
}

h3, .h3 {
  font-size: calc(1.3rem + 0.6vw);
}
@media (min-width: 1200px) {
  h3, .h3 {
    font-size: 1.75rem;
  }
}

h4 {
  font-size: calc(1.275rem + 0.3vw);
}
@media (min-width: 1200px) {
  h4 {
    font-size: 1.5rem;
  }
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

main a {
  text-decoration: underline;
  color: inherit;
  color: #b14032;
  transition: all 0.2s ease-in-out;
  font-weight: 400;
}
main a:hover {
    background-color: #f8f8f6;
    text-decoration: none;
}
.subtitulo, main h2, main h3 {
  font-weight: lighter;
}

main strong, main b {
  font-weight: 400;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 160%;
}
#menu a {
    color: initial;
    text-decoration: none;
    font-weight: 400;
  }
.main_header a {
  color: inherit;
  text-decoration: none;
}
@media (max-width: 53.75rem) {
  body > main {
    min-height: calc(100vh - 204px);
  }
  body > header {
    background-color: #f8f8f6;
    margin-bottom: 1rem;
    padding: 1rem 0;
  }
  .main_header {
    position: absolute;
    left: 70px;
    width: calc(100% - 70px);
    overflow: hidden;
    z-index: 2;
    height: 50px;
  }
  .site-header {
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
    border-bottom: 1px solid #efefef;
  }
  .main_header .title {
    display: block;
    font-size: 1.5rem;
  }
  .main_header .subtitle {
    display: block;
    margin-top: -6px;
    font-size: 0.8rem;
  }
  .ugrlogo {
    display: none;
  }
  #menuToggle
  {
    display: block;
    position: relative;  
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
    padding: 1rem;
  }

  #menuToggle a
  {
    text-decoration: none;
    color: #232323;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: block;
    padding: 0.75rem 0;
  }



  #menuToggle input
  {
    display: block;
    width: 45px;
    height: 33px;
    position: absolute;
    top: 5px;
    left: 0.4rem;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    -webkit-touch-callout: none;
  }


  #menuToggle span
  {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    
    background: #474747;
    border-radius: 3px;
    
    z-index: 1;
    
    transform-origin: 4px 0px;
    
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                opacity 0.55s ease;
  }

  #menuToggle span:first-child
  {
    transform-origin: 0% 0%;
  }

  #menuToggle span:nth-last-child(2)
  {
    transform-origin: 0% 100%;
  }


  #menuToggle input:checked ~ span
  {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #232323;
  }


  #menuToggle input:checked ~ span:nth-last-child(3)
  {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
  }


  #menuToggle input:checked ~ span:nth-last-child(2)
  {
    transform: rotate(-45deg) translate(0, -1px);
  }

  #menu .main_menu
  {
    position: absolute;
    width: 350px;
    margin: -100px 0 0 -50px;
    padding: 130px 25px 20px 50px;
    background: #f4f4f4;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    min-height: calc(100vh - 109px);
    overflow-y: auto;
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    box-shadow: 3px 28px 29px rgba(0,0,0,.29);
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
  }
   
  #menuToggle input:checked ~ div.main_menu
  {
    transform: none;
  }

  #menuToggle a:hover
  {
      background-color: #F0F0D1;
  }
  
  .main_menu > ul > li > a {
    border-top: 1px solid #dbdbdb;
  }
  #menuToggle .has-sub-category > a {
    cursor: default;
  }
  #menuToggle .has-sub-category > a:hover {
    background-color: transparent;
  }
  .has-sub-category > ul {
    padding-left: 2rem;
  }
}
.home img {
  width: auto;
  max-width: calc(100% - 16px);
  height: auto;
  box-shadow: 3px 2px 18px rgba(0,0,0,.08);
  margin-bottom: 2rem;
  border: 8px solid #fff;
  border-radius: 4px;
}
.image-right, .image-left {
  display: block;
  margin: auto;
  text-align: center;
}
.image-right > img, .image-left > img{
  box-shadow: 3px 2px 18px rgba(0,0,0,.08);
  border: 8px solid #fff;
  border-radius: 4px;
}

@media (min-width: 53.75rem) {
 .image-left {
  float: left;
  text-align: inherit;
  margin-bottom: 1.5rem;
  margin-rightbody > main ul: 1.5rem;
  }
  .image-right {
    float: right;
    text-align: inherit;
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
  }
  .image-right > img, .image-left img {
    display: block;
    float: none;
  }

  body {
    background: url('img/bg.png');
    background-repeat: no-repeat;
    background-position: right 0px;
    background-size: auto;
  }
  body > main {
    min-height: calc(100vh - 330px);
    ;
  }
  .home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 4rem;
    font-size: 1.2rem;
  }
 
  #menu {
    background-color: #f8f8f6;
    padding: 1rem 0;
    margin-bottom: 1rem;
    margin-top: 1rem;
  }
  .main_header a {
    color: inherit;
    text-decoration: none;
  }
  .main_header .title {
    display: block;
    font-size: 2.5rem;
  }
  .subtitle {
    font-size: 1.4rem;
  }
  .main_header {
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1rem;
    max-width: 980px;
  }
  .ugrlogo {
    padding-right: 1rem;
  }
  #menuToggle input, #menuToggle span {
    display: none;
  }
  .main_menu {
    max-width: 980px;
    margin: auto;
  }
  .main_menu ul {
    list-style: none;
    display: inline-block;
  }
  .main_menu ul.lang-selector {
    float: right;
  }
  
  .main_menu > ul > li {
    margin-right: 1rem;
  }
  .main_menu > ul.lang-selector > li {
    margin-right: 0;
  }
  .main_menu > ul > li > a {
    padding: 10px 15px;
    background-color: #F8F8F6;
    border-radius: 30px;
  }
  .main_menu > ul.lang-selector > li > a {
    background-color: #fff;
  }
  .main_menu > ul > li:hover > a, .main_menu > ul > li > a.active {
    background-color: #F0F0D1;  
    transition: all 0.2s ease-in-out;
  }
  .main_menu > ul:hover > li > a.active {
    background-color: #F8F8F6;

  }

  .main_menu ul li {
    display: inline-block;
  }
  .main_menu ul li > ul {
    height: 0;
    overflow: hidden;
    display: block;
    position: absolute;
    max-width: 300px;
  }
  .main_menu ul li:hover > ul {
    background-color: #fff;
    box-shadow: 3px 28px 29px rgba(0,0,0,.29);
    border-radius: 10px;
    height: auto;
    transition: all 0.2s ease;
    margin-top: 0.25rem;
  }
  .main_menu ul li:hover > ul li {
    display: block;
  }
  .main_menu ul li:hover > ul li a {
    padding: 10px 15px;
    display: block;
    border-bottom: 1px solid #f0f0f0;
  }

}
main li {
  margin-bottom: 2rem;
  margin-left: 2rem;
}


body > main ul  {
  margin: 2rem 0;
}
body.curriculum > main > ul {
  margin: -0.5rem 0 0 0;
  font-size: 1.2rem;
}
 body.investigacion > main > ul,  body.investigacion > main {
  font-size: 1.2rem;
 }

body main ul:not(.book-style,.video-grid) li  {
  list-style: none;
  padding-left: 1.5rem;
  margin-left: 0;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
}
body.capitulos-libro main ul li,
body.articulos main ul li,
body.actas-congresos main ul li,
body.investigacion main ul li,
body.proyectos main ul li {
  border-bottom: 1px solid #f0f0f0;
}

body main ul:not(.book-style,.video-grid) li:last-child {
  border-bottom: transparent;
}
body.curriculum main ul li, body.index main ul li, body.investigacion main ul li {
  padding-bottom: 0;
  border: none;
} 

body main ul li > ul {
  margin: 1rem 0 0 0;
}
main ol li {
  margin-bottom: 1rem;
}
main ol li ol {
  margin-top: 1rem;
}
body > main > ul:not(.book-style,.video-grid) > li::before {
position: absolute;
margin-left: -1.3rem;
margin-top: 0.1rem;
content: '';
width: 1rem;
height: 1rem;
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGNsYXNzPSJpb25pY29uIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSI0OCIgZD0iTTE4NCAxMTJsMTQ0IDE0NC0xNDQgMTQ0Ii8+PC9zdmc+");
background-repeat: no-repeat;
}

body.curriculum > main > ul > li::before, body.investigacion > main > ul > li::before  {
  margin-top: 0.35rem;
}


body.curriculum > main h2 {
  margin: 1rem 0;
}

@media(max-width: 760px) {
  body.curriculum main img, body.docencia main img {
    display: block;
    float: none;
    margin: 1rem auto;
    max-width: calc(100% - 8px);
    height: auto;

  }
}
body.curriculum p {
  margin-top: 0;
  line-height: 160%;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

body.capitulos-libro > main ul img, body.actas-congresos > main ul img, body.articulos > main ul img {
  float: right;
  border-left: 2rem solid #fff;
  margin-top: -0.25rem;
}

.book-style, body.publicaciones main ul, .video-grid, body.videoteca main ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 4rem;
  margin: 2rem 0;
}
.video-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  grid-gap: 2rem;
}
body.videoteca main h2 {
 margin-top: 2rem;
}
body.videoteca main ul {
  margin: 0 0 2rem 0;
  grid-gap: 2rem;
  grid-template-columns: 1fr 1fr;
}
body.videoteca main ul li {
  padding: 0;
  margin: 0;
}

body.videoteca main ul li::before {
  display: none;
}

.book-style > li, body.publicaciones main ul > li {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 3rem;
  margin: 0;
}
.video-grid > li {
  margin: 0;
}
.book-style img, body.publicaciones main ul img {
  float: right;
  margin-left: 2rem;
  width: 190px;
  height: auto;
  margin-bottom: 1rem;
}

.video-grid img, body.videoteca main ul li img  {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  box-shadow: 3px 2px 18px rgba(0,0,0,.15);
}


@media(max-width: 767px) {
    .book-style, body.publicaciones main ul {
        grid-template-columns: 1fr;
    }
    
}
@media(max-width: 600px) {
  .book-style img, body.publicaciones main ul img {
      float: right;
      margin-left: 2rem;
      width: 120px;
      height: auto;
  }
  body.videoteca main ul {
    grid-template-columns: 1fr;
  }
}

.book-style a, body.publicaciones main ul a {
  margin-bottom: 10px;
  margin-top: 0.5rem;
  line-height: 1rem;
}
.footer {
  padding: 1rem;
  background-color: #f8f8f6;
  text-align: center;
}