/* body */

/* Atkinson */

@font-face {
	font-family: 'Atkinson Hyperlegible';
	src: url('pedrolrwebdocs/fonts/Atkinson-Hyperlegible-Bold-102.otf') format('truetype');
	font-weight: bold;
	font-style: normal;
}
  
@font-face {
	font-family: 'Atkinson Hyperlegible';
	src: url('pedrolrwebdocs/fonts/Atkinson-Hyperlegible-Italic-102.otf') format('truetype');
	font-weight: normal;
	font-style: italic;
}
  
@font-face {
	font-family: 'Atkinson Hyperlegible';
	src: url('pedrolrwebdocs/fonts/Atkinson-Hyperlegible-Regular-102.otf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 17px;
}

body {
  margin: 0 auto;
  max-width: 52rem;
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: 1em;
  line-height: 1.5;
  overflow-wrap: break-word;
  hyphens: auto;
  background-color: #fbfbfb;
  background-image: url("visitas.php");
}

.profile_image {
  display: none;
}

.container {
  margin: auto;
}

/* sidenav */
.sidenav {
  height: 100%;
  width: 180px;
  position: fixed;
  z-index: 1;
  top: 0;
  overflow-x: hidden;
  border-left: 2px solid #bbb;
  border-right: 2px solid #bbb;
}

.sidenav-title {
  font-size: 1.1em;
  color: #111;
  padding: 1.5em 0;
  text-align: center;
  border-bottom: 2px solid #bbb;
}

.sidenav-title div {
  line-height: 1.5;
}

.sidenav ul {
  list-style: none;
  padding: 0;
  margin-top: 0;
}

.itemsidenav {
  text-align: center;
  flex-direction: column;
  display: flex;
  align-items: center;
  text-decoration: none;
  text-transform: uppercase;
}

.itemsidenav img {
  margin-bottom: 5px;
  display: none;
}

.sidenav a {
  padding: 1em 0;
}

.sidenav a:hover {
  text-decoration: underline;
  background-color: #e6e6e6;
}

.navmovil {
  display: none;
}

/* contenido */

a {
  color: #253e80;
}

a:hover {
  text-decoration: none;
}

.content {
  margin-left: 180px;
  padding: 0 2em;
  border-right: 2px solid #bbb;
}

section {
  padding-bottom: 2em;
  padding-top: 1em;
}

/*

#blog {
  padding-top: 1em;
  margin-bottom: 20px;
  min-height: 88vh;
}

*/

h2 {
  padding-bottom: 0.5em;
  padding-top: 1.5em;
}

.h1movil {
  display: none;
}

.open-access {
  color: #014d01;
}

#contact {
  padding-bottom: 7em;
}

.footerdesktop {
  text-align: center;
  margin-top: 20px;
  font-size: 0.95em;
  padding: 1em;
  border-top: 1px solid gray;
}

.footermovil {
  display: none;
}

/* ocultar menú de móviles en tamaños grandes */

.navmovil-title {
  display: none;
}

/* postlist fechas tipo Bear Blog */

.year-reference {
  margin-right: 15px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.content-reference {
  flex: 1;
}

.byyear {
  display: flex;
  list-style: none;
  margin-left: -1.5em;
}

table {
  width: 95%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
th, td {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}
th {
  background-color: #f2f2f2;
}
tr:nth-child(even) {
  background-color: #f9f9f9;
}

@media(max-width: 768px) {

  /*Dark Theme
  
  body {
    background-color: #1c1b22;
    color: #ddd;
  }

  a {
    color: #9fa0ff !important;
		background: linear-gradient(135deg, #4e4f7d 10%, #9e36ac 100%);
		background-position: bottom;
		background-size: 100% 1px;
		background-repeat: no-repeat;
		text-decoration: none;  
  }

  .open-access {
    color: #66cc99;
  }

  .navmovil a {
    background: none;
  }

  /* Fin Dark Theme*/

  .h1movil {
    display: block;
  }

  .h1desktop {
    display: none;
  }
  
  .content {
    margin-left: 0;
    padding: 0 1em;
    border-right: none;
  }

  .sidenav {
    display: none;
  }

  /* Old css con iconos svg en menu
  .navmovil {
    display: inline-flex;
    text-align: center;
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 999;
    padding: 0;
    border-top: 2px solid #bbb;
    background-color: #FFF;
  }
  
  .navmovil ul {
    justify-content: space-around;
    flex-wrap: nowrap;
    list-style: none;
    display: flex;
    padding: 10px 10px 0px 10px;
    width: 100%;
    margin: 10px;
  }

  */

/* Menú móviles con texto*/

  .navmovil {
    display: inline-flex;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 999;
    border-top: 2px solid #bbb;
    background-color: #FFF;
  }
  
  .navmovil ul {
    list-style-type: none;
    padding: 0;
    width: 100%;
    margin: 10px;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 0px;
  }

  .navmovil li {
    display: inline-block;
    margin-right: 10px;
  }

  .navmovil li a {
    text-decoration: none;
  }

  .navmovil li a:hover {
    text-decoration: underline;
  }

  .itemnavmovil img {
    display: none;
  }

/* Fin Menú móviles con texto*/

  section {
    padding-top: 1rem;
  }
/*
  #blog {
      padding-top: none;
      margin-bottom: none;
      height: auto;
  }
*/

  h2 {
    padding-top: 2rem;
  }

  .icon-text {
    display: none;
  }
  
  .footerdesktop {
    display: none;
  }

  #contact {
    padding-bottom: 0;
  }
  
  .footermovil {
    display: block;
    font-size: 0.95em;
    padding: 1em 0 6em 0;
    text-align: center;
  }

  .year-reference {
    display: none;
  }
  
  .byyear {
    list-style: inherit;
    margin-left: 0;
    display: list-item;
  }

}

