
/* ==========================================================================
   Fonts
   ========================================================================== */

/*Hosted Fonts*/

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@100;300;400;500;600;700;800;900&display=swap');

/*@import url('https://fonts.googleapis.com/css?family=Pacifico');
@import url('https://fonts.googleapis.com/css?family=Lora:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700,900');
@import url('https://fonts.googleapis.com/css?family=Oswald:300,400,500,600,700');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900');*/




/*Font Face Rule Deepest Possible Browser Support (remove the first comment thing) */

@font-face {
  font-family: 'Moderat Mono';
  src:  url('fonts/Moderat-Mono-Regular/Moderat-Mono-Regular.woff2') format('woff2'), /* Super Modern Browsers */
        url('fonts/Moderat-Mono-Regular/Moderat-Mono-Regular.woff') format('woff'), /* Pretty Modern Browsers */
        url('fonts/Moderat-Mono-Regular/Moderat-Mono-Regular.ttf')  format('truetype'); /* Safari, Android, iOS */
}


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  scroll-behavior: smooth;
}
body, html {
  height: 100%;
  width: 100%;
  margin: 0 !important;
  overflow: auto;
}

.debug {
  border: 2px dotted orange;
}

#toggleButton {
    background-color: transparent;
    color: #231F20;
    border: 1px solid #231F20;
    border-radius: 0;
    padding: 5px 15px;
    font-family: 'Moderat Mono', 'Space Mono', Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1;
}

#toggleButton span {
  font-size: 14px;
  line-height: 1;
}


#collapseInfo p{
  margin-bottom: 1rem;
  font-size: 14px;
  color: #231F20;
  line-height: 16.8px;
}

.data-two-columns span {
  font-size: 14px;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

a {
  text-decoration: none !important;
}

p {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
input,
textarea,
select {
  margin-bottom: 0;
  font-family: 'Moderat Mono', 'Space Mono', Helvetica, sans-serif;
}

.btn-redondeado,
.btn-redondeado.negative:hover {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  padding: 10px 20px !important;
  border: 1.9px solid #17116E;
  border-radius: 30px;
  color: #17116E !important;
  text-align: center; 
}
.btn-redondeado.negative,
.btn-redondeado:hover {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px !important;
  background-color: #390094; 
  border: 1.9px solid #17116E;
  border-radius: 25px;
  color: #ffffff !important;
  text-align: center;
}
.btn-cuadreadado,
.btn-cuadreadado.negative:hover {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  padding: 10px 20px !important;
  border: 2px solid #fa3828;
  border-radius: 0;
  color: #fa3828 !important;
  text-transform: uppercase; 
}
.btn-cuadreadado.negative,
.btn-cuadreadado:hover {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px !important;
  background-color: #fa3828; 
  border: 2px solid #fa3828;
  border-radius: 0;
  color: #ffffff !important;
  text-transform: uppercase;
}
input:focus {
  outline: none;
}
section {
  display: flex;
  flex-direction: column;
}
.navbar-toggler {
  outline: none !important;
}
[type="reset"],
[type="submit"],
button, 
html [type="button"] {
  border: 0;
}
/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.home-second-col .mb-3:first-child img.py-lg-5.w-100.img-fluid {
    
    margin-left: -15%;
}

.home-first-col .mb-3:nth-child(2n) {
    
    padding-right: 0!important;
    padding-left: 1rem;
}

.header .logo {
  padding-top: 35px;
  padding-bottom: 45px;
}

.contenedor-imagen {
  margin-bottom: 27px;
}

.contenedor-imagen:hover {
  cursor: pointer;
}

.contenedor-imagen:hover p {
  color: #000000;
  transition: all 0.3s ease;
}

.contenedor-imagen p {
  margin-top: 14px;
  font-size: 12px;
  line-height: 16px;
  color: transparent;
  transition: all 0.3s ease;
}

.nav {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  /*margin-left: 50px;*/  
  /*margin-left: 20px;*/  
  margin-left: 5px;  
}

ul#sidebar-menu {
  
  padding-left: 0px;
}

.nav ul.main-nav {
  margin-top: 90px;
  list-style: none;
}

.nav ul.sub-nav {
  
  padding-left: 15px;
  list-style: none;
}

.nav ul.main-nav li a {
  font-size: 14px;
  line-height: 19px;  
  color: #000000;
  transition: all 0.3s ease;
}

.nav ul.sub-nav li a {
  font-size: 14px;
  line-height: 19px;  
  /*color: transparent;*/
  transition: all 0.3s ease;
}

.nav ul.main-nav:hover li a.main { 
  color: #000000;
  transition: all 0.3s ease;
}

.nav ul.main-nav:hover li a { 
  color: #000000;
  transition: all 0.3s ease;
}
.nav ul.main-nav:hover li a.subsub { 
  color: #A0A2A4;
  transition: all 0.3s ease;
}


.nav ul.main-nav li a.subsub { 
  color: #A0A2A4;
  font-size: 14px;
}


.nav ul.main-nav li a.subsub:hover,
.nav ul.main-nav li a.subsub.active { 
  color: #000000;
}

.nav ul.main-nav li a.active.main {  
  color: #A0A2A4;
}

.nav ul.main-nav li a.lang-link {  
  color: #A0A2A4;
}

.nav ul.main-nav li a.active-lang.lang-link {  
  color: #000000!important;
}

.nav ul li a.language {
  display: block;
  margin-top: 25px;
  font-size: 12px;
}


header .header .the-content p,
p.bio {
  margin-top: 25px;
  font-size: 12px;
  line-height: 15px;
  color: #231F20;
}
p.contacto,
p.contacto a {
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  color: #231F20;  
}
p.contacto {
  margin-top: 100px;
}
.img-premios p,
.img-premios a {
  font-size: 18px;
  line-height: 21px;
  color: #231F20;
}
a.premios {
  margin-top: 30px;
}
a.publicaciones {
  margin-top: 45px;
}
.img-premios ul{
  margin-top: 20px;
  list-style: none;
}
.img-premios ul a,
.img-premios ul p {
  font-size: 14px;
  line-height: 21px;
  color: #231F20;
}


body.page-template-bio-en p.titulo,
body.page-template-bio p.titulo {
  font-size: 22px;
  color: #231F20;
  line-height: 32px;
  font-weight: 500;
}
.project-text p.titulo {
  margin-top: 40px;
  margin-bottom: 32px;
  font-size: 22px;
  color: #231F20;
  line-height: 32px;
  font-weight: 500;
}
.project-text .text,
.project-text .ficha {
  font-size: 14px;
  color: #231F20;
  line-height: 16.8px;  
}
.project-text .ficha {
  display: flex;
  flex-direction: column;
}
.project-text .ficha .data {
  margin-bottom: 0px;
  margin-left: 32px;
}

span.data p {
  margin-bottom: 1rem;
}

#toggleButton {
  background-color: transparent;
  color: #000000;
  border: 1px solid #000000;
  border-radius: 0;
  padding: 10px 20px;
}

.nav.nav-mobile .main-nav {
  position: fixed;
  opacity: 0;
  margin-top: 0;
}
.nav.nav-mobile .main-nav.show {
  position: relative;
  opacity: 1;
  padding-left: 0;
  transition: all 0.3s ease;
}
.menu-hamburger.hide {
  position: fixed;
  opacity: 0;
  height: 1px;
  transition: all 0.1s ease;
}
.nav.nav-mobile ul.sub-nav li a {
  color: #000000;
}
.logos-movil {
  display: none;
}

#menuPublicaciones ul li a,
#menuPremios ul li a {
  font-size: 12px;
  text-decoration: underline!important;
} 

#menuPremios ul li, 
#menuPublicaciones ul li {
  font-family: 'Moderat Mono', 'Space Mono', Helvetica, sans-serif;
  line-height: 19px;
  font-size: 12px;
}


#menuPremios ul li b, 
#menuPublicaciones ul li b {
  font-family: 'Moderat Mono', 'Space Mono', Helvetica, sans-serif;
  font-weight: 600;
}






















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

.sticky {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 100;
  border-top: 0;
}
.mobilesOnly {
  display: none;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

#menu-proyectos .sub-menu {
    display: none;
}

#menu-proyectos .menu-item-has-children > a {
    cursor: pointer;
}

#menu-proyectos .menu-item-has-children.open > a {
    font-weight: bold;
}

#menu-proyectos,
#menu-proyectos ul {
    list-style: none;
    padding-left: 10px;
    margin-left: 0;
}

#menu-proyectos ul li.menu-item-has-children a,
#menu-proyectos ul li a {
  color: #A0A2A4;
}
#menu-proyectos ul li.current-menu-parent > a,
#menu-proyectos ul li a.active {
  color: #000000;
}

body .wpb_wrapper .wpb_text_column p.titulo,
body.page-template-bio p.titulo {
    font-size: 22px;
    color: #231F20;
    line-height: 32px;
    font-weight: 500;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
/*Break Point Pantalla HD*/
@media only screen and (min-width: 1800px) {

}
@media only screen and (min-width: 769px) and (max-width: 1090px) {

}
/*Break Point Bootstrap Menu*/
@media only screen and (max-width: 991px) {
  /* Style adjustments for viewports that meet the condition */
  .mobilesOnly {
    display: initial;
  }
  .desktop {
    display: none !important;
  }
  .topbar {
    padding: 0;
  }
  .topbar .separador {
    margin: 0 15px;
  }
  .topbar a {
    font-size: 0.7rem;
  }  
}
/*Break Point Ipad*/
@media only screen and (max-width: 768px) {

  
  .home-second-col .mb-3,  
  .home-first-col .mb-3 {
    padding-left: 0!important;
    padding-right: 0!important;
  } 

  .home-second-col .mb-3 img ,
  .home-first-col .mb-3 img {
    width: 100%!important;
    height: auto;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0!important;
  }

  img.img-fluid.gallery-trigger {
      width: 100%!important;
      height: auto!important;
  }
}
/*Break Point Bootstrap MD*/
@media only screen and (max-width: 767px) {

}
/*Break Point Bootstrap SM*/
@media only screen and (max-width: 575px) {
  .contenedor-imagen p {
    color: #000000;
  }
  .logo,
  .menu {
    display: none !important;
  }
  .logos-movil {
    display: flex;
    padding: 40px 0;
  }
  p.contacto {
    margin-top: 30px;
  }  
}
@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

