html {
    background-color: #0f1d2c;
}

* {
	box-sizing: border-box;
}

@font-face {
  /* Antes de descargar el archivo, le decimos al buscador
  que intente buscar en local la fuente con nombre
  Avenir*/
  font-family: 'Avenir';
  src: local('Avenir'),
       url('../fonts/Avenir-Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'Avenir-Black';
  src: local('Avenir-Black'),
       url('../fonts/Avenir-Black.ttf') format('truetype');
}

@font-face {
  font-family: 'Avenir-Light';
  src: local('Avenir-Light'),
       url('../fonts/Avenir-Light.ttf') format('truetype');
}

div.floaterd {
  position: sticky;
  position: -webkit-sticky;
  bottom: -1px;
  left: 0px;
  height: 1.25em;
  width: 100%;
  content: "";
  background: -moz-linear-gradient(top, rgba(15,29,44,0) 0%, rgba(15,29,44,1) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(15,29,44,0)), color-stop(100%, rgba(15,29,44,1)));
  background: -webkit-linear-gradient(top, rgba(15,29,44,0) 0%, rgba(15,29,44,1) 100%);
  background: -o-linear-gradient(top, rgba(15,29,44,0) 0%, rgba(15,29,44,1) 100%);
  background: -ms-linear-gradient(top, rgba(15,29,44,0) 0%, rgba(15,29,44,1) 100%);
  background: linear-gradient(to bottom, rgba(15,29,44,0) 0%, rgba(15,29,44,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1f3b08', endColorstr='#0f1d2c', GradientType=0 );
  pointer-events: none; /* so the text is still selectable */
  display: table;
}

div.floateru {
  position: sticky;
  position: -webkit-sticky;
  top: -1px;
  left: 0px;
  height: 1.25em;
  width: 100%;
  content: "";
  background: -moz-linear-gradient(top, rgba(15,29,44,1) 0%, rgba(15,29,44,0) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(15,29,44,1)), color-stop(100%, rgba(15,29,44,0)));
  background: -webkit-linear-gradient(top, rgba(15,29,44,1) 0%, rgba(15,29,44,0) 100%);
  background: -o-linear-gradient(top, rgba(15,29,44,1) 0%, rgba(15,29,44,0) 100%);
  background: -ms-linear-gradient(top, rgba(15,29,44,1) 0%, rgba(15,29,44,0) 100%);
  background: linear-gradient(to bottom, rgba(15,29,44,1) 0%, rgba(15,29,44,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0f1d2c', endColorstr='#1f3b08', GradientType=0 );
  pointer-events: none; /* so the text is still selectable */
  display: table;
}

body {
    background-color: #0f1d2c;
    color: #ebe6da;
    font-family: Avenir-Light;
    width: 100%;
    height: 100%;
    min-width: 320px;
    font-size: 100%;
    position: absolute;
    overflow: hidden;
    margin: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    user-select: none;
    opacity: 1;
    transition: 1s opacity;
}

body.fade-out {
    opacity: 0;
    transition: none;
}

p {
    font-size: 1.18em;
    line-height: 1.8em;
}

.title-anders {
    font-family: Anders;
    font-size: 2em;
}

.avenir-black-35-lime{
    font-family: Avenir-Black;
    font-size: 2.2em;
    color: #00a174;
}

.container-main-flex {
    width: 100%;
    height: 100%;
}

.pics img{
    width: 100%;
    /*height: 100%;*/
    background-color: #0f1d2c;
}

button.round-button{
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.2rem 0.8rem;
    border-radius: 100px;
    font-size: 1rem;
    /*cursor: pointer;*/
}

.title-avenir-black {
    font-family: Avenir-Black;
    font-size: 1.25em;
    line-height: 1.8em;
}

button:focus { outline: none; }

/* Screen saver */
img.logo{
    position: absolute;
    width: 55vw;
    height: auto;
    top: 13vh;
    left: 0;
    right: 0;
    margin: auto;
    pointer-events: none;
}

button.hint-toca {
    position: absolute;
    font-size: 1.65em;
    color: #00a174;
    font-family: Avenir-Black;
    background: none;
    border: none;
    animation: blinker 3s cubic-bezier(0, 0, 1, 1) infinite alternate;
}

.center-horizontal {
    display: flex;
    width: 100%;
    flex-flow: row;
    justify-content: center;
    position: absolute;
}
.center-in-parent {
    display: flex;
    width: 100%;
    flex-flow: row;
    justify-content: center;
    align-items: center;
}

.container-toca{
    bottom: 20%;
    z-index: 10;
}

.img-elementos{
    position: absolute;
    width: 24.2em;
    top: 53vh;
    pointer-events: none;
}

.title-avenir-black-green{
    font-family: Avenir-Black;
    font-size: 1.25em;
    color: #00a174;
}

/* Intruccion */
.main-container-intro{
    display: flex;
    height: 100%;
    width: 100%;
    flex-flow: column;
    align-items: center;
}

img#btnLanguage{
    width: 8.81em;
    margin-top: 3%;
    margin-right: 4%;
    margin-bottom: 2%;
    visibility: visible;
}

img.logo-intro{
    object-fit: contain;
    width: 27vw;
    pointer-events: none;
}

#list-intro{
    margin: 0;
    padding: 0 1.2em;
    color: #d2a10a;
}

#list-intro li{
    margin: 0.7em 0;
}

#list-intro p{
    color: #ebe6da;
}

.intro-text-container{
    width: 85vw;
    display: flex;
    flex-flow: column;
    align-items: center;
    overflow-y: auto;
    flex: 9;
}

.container-continuar{
    flex: 1.5;
    align-items: center;
}

#btnContinuar{
    width: 10.93em;
}

/*Home*/
.main-container-home{
    position: absolute;
    display: flex;
    height: 100%;
    width: 100%;
    flex-flow: column;
    align-items: center;
    padding: 3% 4%;
}

.main-container-detail{
    position: absolute;
    display: flex;
    height: 100%;
    width: 100%;
    flex-flow: column;
    align-items: center;
    padding: 3% 4%;
}

.container-home-header{
    flex-flow: column;
    flex: 4;
    align-items: center;
    width: 100%;
}

.container-home-text{
    flex: 6;
    width: 100%;
    font-size: 1.18em;
    line-height: 1.8em;
    overflow-y: auto;
    overflow-x:hidden;
}

.container-home-text span{
    font-family: Avenir-Black;
}

.container-entrar {
    flex: 1;
    align-items: center;
}

.help-buttons-container{
    display: flex;
    width: 100%;
    flex-flow: row;
    justify-content: flex-end;
    align-items: flex-start;
}

.container-navigation-folio{
    display: none;
    width: 100%;
    margin-top: 4%;
    align-items: flex-start;
    justify-content: center;
    flex-flow: row;
    flex: 1;
}

.home-folio-indicator {
    margin: 0.5em 0.5em;
    font-size: 1em;
}

#hint-selecciona{
    margin-top: 5vh;
    text-align: center;
}

#btnIntro {
    width: 9.71em;
    margin-right: 2vw;
    display: none;
}

#btnIntroM {
    width: 2.5em;
    margin-right: 2vw;
}

#btnHelp {
    display: none;
    width: 6.56em;
}

#btnBack {
    width: 6.56em;
    display: none;
}

#btnBackM {
    width: 2.5em;
}

#btnEntrar {
    width: 10.96em;
}

.container-folios{
    display: flex;
    flex-flow: row;
}

#folio-actual{
    margin-right: 1em;
    margin-left: 0.5em;
}

#folio-original{
    margin-left: 0.5em;
}

#fecha-canonica{
    margin-top: 0.5em;
}

#folio-description{
    margin-top: 1.5em;
}

.img-folios-container{
    display: flex;
    flex-flow: row;
    margin-top: 7%;
}

.set-folio{
    display: flex;
    flex-flow: row;
}

#set-folio-1{
    display: flex;
}

#set-folio-2{
    display: flex;
}

.thumb-container {
    transition: transform .2s;
    flex: 1;
}

.thumb-container img{
    width: 100%;
    pointer-events: none;
    /*position: absolute;*/
}

.thumb-off{
    display: block;
}

.thumb-on{
    display: none;
}

.modal-hint {
    width: 100%;
    height: 100%;
    z-index: 1;
    position: absolute;
    display: none;
}

/* Detalle de folio */
.container-header-detail {
    display: flex;
    width: 100%;
    flex-flow:row;
    justify-content: space-between;
    align-items: flex-start;
    flex:1;
    min-height: 1px;
}

.container-navigation-buttons {
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: center;
    flex-flow:row;
    flex:1;
    min-height: 1px;
}

.container-folio-detail {
    display: flex;
    width: 100%;
    flex-flow:row;
    flex:9;
    min-height: 1px;
}

.folio-navigation-button{
    width: 2.5em;
    height: auto;
    /*cursor: pointer;*/
}

.folio-indicator{
    margin: 0.5em 0.5em;
    font-family: Avenir-Black;
    font-size: 1.1em;
}

.img-detail-container {
    position: relative;
    flex: 4.6;
}

.modes-folio-container {
    display: flex;
    flex-flow: column;
    flex: 6;
}

#btnStylistics{
    width: 14.59em;    
}

.img-detail{
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: absolute;
    pointer-events: none;
}

.zoom-img-button{
    position: absolute;
    width: 2em;
    height: auto;
    right: 0;
    bottom: 0;
}

.radio-buttons-box {
    display: flex;
    flex-flow: column;
    justify-content: space-around;
    margin-left: 10%;
    min-height: 1px;
}

.option {
    display: flex;
    flex-flow : row;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 6.9% 0;
    flex-shrink: 0;
    /*cursor: pointer;*/
}

.option img{
    width: 1.7em;
    flex-shrink: 0;
}

.option > span {
    font-size: 1.25em;
    margin-left: 1rem;
}

.checked {
    font-family: Avenir;
    font-weight:bold;
}

/* Elementos estilísticos */

#modal-stylistic-elements {
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #0f1d2c;
    position: absolute;
    display: none;
}

.main-container-stylistic{
    position: absolute;
    display: flex;
    height: 100%;
    width: 100%;
    flex-flow: column;
    align-items: center;
    padding: 3% 4%;
}

#title-stylistic-mobile {
    margin: 0;
}

#title-stylistic-ipad {
    margin: 0;
}

.stylistc-options-container {
    display: flex;
    flex-flow: row;
    flex: 6;
}

.option-elements-box{
    display: flex;
    flex-flow: column;
    flex: 1;
    margin-left: 3%;
}

.deity-container-scroll{
    display: flex;
    flex-flow: column;
    overflow-y: auto;
}

#fade-top-stylistics{
    display: none;
}

#fade-bottom-stylistics{
    display: none;
}

/*Imagen full*/

#button-close-full-image,#button-close-full-image-mobile{
    position: absolute;
    right: 4%;
    top: 4%;
}

.close-button {
    width: 6.56em;
    display: none;
}

.close-buttonM {
    width: 2.5em;
}

/*Animations*/

@keyframes blinker { to { opacity: 0.2; } }















