@font-face {
  font-family: 'Exo';
  src: url("documentos/fonts/exo.ttf") format("woff");
}

body {
  font-family: 'Exo';
  max-width: 500px;
  margin: auto;
  background-color: #7d6960;
}

a:hover {
  color: #7d6960;
}

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

p {
  margin: 0;
  padding: 0;
}

.main-container {
  background: white url("img/main/fondo.gif");
  padding:20px;
}

.logo {
  text-align: center;
}

.header-title {
  padding: 30px 0;
  text-align: center;
  font-size: 14px;
  letter-spacing: 2px;
}

.main-button {
  width: 100%;
  border: 0;
  line-height: 2.5;
  padding: 0 20px;
  font-size: 1rem;
  text-align: center;
  color: #fff;
  text-shadow: 1px 1px 1px #000;
  border-radius: 10px;
  background-color: #627099;
  background-image: linear-gradient(
    to top left,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.2) 30%,
    rgba(0, 0, 0, 0)
  );
  box-shadow:
    inset 2px 2px 3px rgba(255, 255, 255, 0.6),
    inset -2px -2px 3px rgba(0, 0, 0, 0.6);
}

.main-button:hover {
  background-color: #AFB9D9;
}

.main-button:active {
  box-shadow:
    inset -2px -2px 3px rgba(255, 255, 255, 0.6),
    inset 2px 2px 3px rgba(0, 0, 0, 0.6);
}

.link-button {
  width:93%;
  padding:10px 0;
}

.parrafo-present {
  font-size: 13px;
  line-height: 25px;
}

.referencias {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding-bottom: 30px;
}

.referencia {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-top: 8px;
}

.texto-ref {
  font-size: 12px;
  padding-left: 5px;
}

.color-referencia {
  width: 17px;
  height: 17px;
  border-radius: 3px;
}

table {
  border-collapse: collapse;
  border: 1px solid;
  font-size: 11px;
  line-height: 16px;
}

th,
td {
  border: 1px solid;
  padding: 8px 10px;
}

.nota {
  font-size: 11px;
}

.titulo {
  font-weight: bold;
  text-align: center;
}


/*Estilos del otro sitio*/


.footer {
  bottom: 0;
  padding: 28px 0 8px 5px;
  display: flex;
  flex-direction: column;
}

.correo {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 6px;
  font-size: 10px;
  padding-top: 15px;
}

.creditos {
  letter-spacing: 0.2px;
  padding: 0 10px 0 0;
  font-size: 7px;
  text-align: right;
}

.content {
  padding: 10px 16px 0px 16px;
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.tabs-container {
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
}

.tablinks {
  background: none;
  font-family: 'Exo';
  text-transform: uppercase;
  font-weight: normal;
  font-size: 12px;
  letter-spacing: 3px;
  border: none;
  cursor: pointer;
  width: 100%;
  flex: 4;
}

.tablinks:nth-of-type(5) {
  flex: 1;
}


.tablinks:hover {
  color: #7d6960;
}

.selected-tab {
  text-decoration: underline;
}

.existe-link {
  color: blue;
  text-decoration: underline;
}

.volver-a-tope {
  font-size: 9px;
  padding: 4px 0 0 6px;
}

/*Inicio*/

.margen-inicial {
  padding-top: 25px;
}

.journal {
  padding-left: 15px;
  padding-right: 15px;
  line-height: 24px;
}

.epigrafe {
  text-align: right;
  padding: 0 15px 15px 0;
}

.nueva-entrada {
  margin-top: 10px;
  letter-spacing: 1px;
}

.fecha {
  transform: translate(-50%,-50%);
  background-image: linear-gradient(#18B2AC, #18B2AC);
  background-size: 100% 6px;
  background-repeat: no-repeat;
  background-position: 0% 100%;
}

.link-comment {
  color: #1d2951;
  text-decoration: underline;
}

/*Libros*/

.obras {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.libro {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tapa-con-iconos {
  display: flex;
  flex-direction: row;
  padding-top: 30px;
}

.tapa {
  width: 200px;
  padding-bottom: 6px;
}

.columna-iconos {
  display: flex;
  flex-direction: column;
  padding-top: 3px;
  padding-left: 15px;
}

.icono-encolumnado {
  opacity: 80%;
  width: 25px;
  margin-bottom: 17px;
}

.icono-encolumnado:hover {
  opacity: 100%;
}

.pie-de-tapa {
  width: 200px;
  font-size: 11px;
  text-align: center;
}

/*Doodles*/

.doodles-container {
  padding-top: 20px;
  padding-left: 15px;
  padding-right: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
}

.doodle {
  width: 100%;
  padding-bottom: 20px;
}

/* Memoria */

.volver-atras {
  padding: 10px 0;
  font-size: 10px;
  text-decoration: underline;
}

/* Lecturas */

.numero {
  width: 200px;
  padding-bottom: 1px;
}

.pie-de-numero {
  width: 200px;
  font-size: 12px;
  text-align: center;
}











/*BUTTON STYLES*/
.button::-moz-focus-inner{
  border: 0;
  padding: 0;
}

.button{
  display: inline-block;
  *display: inline;
  zoom: 1;
  padding: 6px 20px;
  margin: 0;
  cursor: pointer;
  border: 1px solid #bbb;
  overflow: visible;
  font-weight: bold;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
  color: #555;
  width: 130px;
  height: 30px;
  
  background-color: #ddd;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,1)), to(rgba(255,255,255,0)));
  background-image: -webkit-linear-gradient(top, rgba(255,255,255,1), rgba(255,255,255,0));
  background-image: -moz-linear-gradient(top, rgba(255,255,255,1), rgba(255,255,255,0));
  background-image: -ms-linear-gradient(top, rgba(255,255,255,1), rgba(255,255,255,0));
  background-image: -o-linear-gradient(top, rgba(255,255,255,1), rgba(255,255,255,0));
  background-image: linear-gradient(top, rgba(255,255,255,1), rgba(255,255,255,0));
  
  -webkit-transition: background-color .2s ease-out;
  -moz-transition: background-color .2s ease-out;
  -ms-transition: background-color .2s ease-out;
  -o-transition: background-color .2s ease-out;
  transition: background-color .2s ease-out;
  background-clip: padding-box; /* Fix bleeding */
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
  -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 2px 2px -1px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .3) inset;
  -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 2px 2px -1px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .3) inset;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 2px 2px -1px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .3) inset;
  text-shadow: 0 1px 0 rgba(255,255,255, .9);
  
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.button:hover{
  background-color: #eee;
  color: #555;
}

.button:active{
  background: #e9e9e9;
  position: relative;
  top: 1px;
  text-shadow: none;
  -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .3) inset;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .3) inset;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .3) inset;
}

.button[disabled], .button[disabled]:hover, .button[disabled]:active{
  border-color: #eaeaea;
  background: #fafafa;
  cursor: default;
  position: static;
  color: #999;
  /* Usually, !important should be avoided but here it's really needed :) */
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* Smaller buttons styles */

.button.small{
  padding: 2px 12px;
}

/* Larger buttons styles */

.button.large{
  padding: 12px 30px;
  text-transform: uppercase;
}

.button.large:active{
  top: 2px;
}

/* Colored buttons styles */

.button.green, .button.red, .button.blue, .button.ml {
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,.2);
  
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,.3)), to(rgba(255,255,255,0)));
  background-image: -webkit-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
  background-image: -moz-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
  background-image: -ms-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
  background-image: -o-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
  background-image: linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
}

/* */

.button.ml{
  background-color: #FFE600;
  border-color: #DFB546;
  width: 100%;
  height: 20px;
  padding-top: 1px;
}

.button.ml:hover{
  background-color: #FFF159;
}

.button.ml:active{
  background: #FFE600;
}

/* */


.button.cl{
  margin-top: 20px;
  background-color: #FFE600;
  border-color: #DFB546;
  width: 100%;
  height: 35px;
  padding-top: 1px;
  font-size: 16px;
}

.button.cl:hover{
  background-color: #FFF159;
}

.button.cl:active{
  background: #FFE600;
}

/* */

.button.red{
  background-color: #852032;
  border-color: #a45a67;
}

.button.red:hover{
  background-color: #852032;
}

.button.red:active{
  background: #852032;
}

/* */

.button.blue{
  background-color: #269CE9;
  border-color: #269CE9;
}

.button.blue:hover{
  background-color: #70B9E8;
}

.button.blue:active{
  background: #269CE9;
}

/* */

.green[disabled], .green[disabled]:hover, .green[disabled]:active{
  border-color: #57A957;
  background: #57A957;
  color: #D2FFD2;
}

.red[disabled], .red[disabled]:hover, .red[disabled]:active{
  border-color: #C43C35;
  background: #C43C35;
  color: #FFD3D3;
}

.blue[disabled], .blue[disabled]:hover, .blue[disabled]:active{
  border-color: #269CE9;
  background: #269CE9;
  color: #93D5FF;
}

/* Group buttons */

.button-group,
.button-group li{
  display: inline-block;
  *display: inline;
  zoom: 1;
}

.button-group{
  font-size: 0; /* Inline block elements gap - fix */
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, .1);
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  padding: 7px;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  border-radius: 7px;
}

.button-group li{
  margin-right: -1px; /* Overlap each right button border */
}

.button-group .button{
  font-size: 13px; /* Set the font size, different from inherited 0 */
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}

.button-group .button:active{
  -moz-box-shadow: 0 0 1px rgba(0, 0, 0, .2) inset, 5px 0 5px -3px rgba(0, 0, 0, .2) inset, -5px 0 5px -3px rgba(0, 0, 0, .2) inset;
  -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, .2) inset, 5px 0 5px -3px rgba(0, 0, 0, .2) inset, -5px 0 5px -3px rgba(0, 0, 0, .2) inset;
  box-shadow: 0 0 1px rgba(0, 0, 0, .2) inset, 5px 0 5px -3px rgba(0, 0, 0, .2) inset, -5px 0 5px -3px rgba(0, 0, 0, .2) inset;
}

.button-group li:first-child .button{
  -moz-border-radius: 3px 0 0 3px;
  -webkit-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
}

.button-group li:first-child .button:active{
  -moz-box-shadow: 0 0 1px rgba(0, 0, 0, .2) inset, -5px 0 5px -3px rgba(0, 0, 0, .2) inset;
  -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, .2) inset, -5px 0 5px -3px rgba(0, 0, 0, .2) inset;
  box-shadow: 0 0 1px rgba(0, 0, 0, .2) inset, -5px 0 5px -3px rgba(0, 0, 0, .2) inset;
}

.button-group li:last-child .button{
  -moz-border-radius: 0 3px 3px 0;
  -webkit-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
}

.button-group li:last-child .button:active{
  -moz-box-shadow: 0 0 1px rgba(0, 0, 0, .2) inset, 5px 0 5px -3px rgba(0, 0, 0, .2) inset;
  -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, .2) inset, 5px 0 5px -3px rgba(0, 0, 0, .2) inset;
  box-shadow: 0 0 1px rgba(0, 0, 0, .2) inset, 5px 0 5px -3px rgba(0, 0, 0, .2) inset;
}
