

/* 
==========================================================================
Fonts
==========================================================================
*/
@font-face {
  font-family: DayRoman;
  src: url(/fonts/DAYROM.otf);
}
@font-face {
  font-family: LinLibertine;
  src: url(/fonts/LinLibertine_R.otf);
}
@font-face {
  font-family: Constantine;
  src: url(/fonts/Constantine.otf);
}
@font-face{
    font-family: OpenSerifBook;
    src: url(/fonts/OpenSerif-Book.otf);
}
@font-face {
  font-family: OldNewPaper;
  src: url(/fonts/OldNewspaperTypes.otf);
}
@font-face {
  font-family: Dauphin;
  src: url(/fonts/Dauphin.otf);
}
@font-face {
  font-family: 'Open Sans';
  src:  url('fonts/opensans/Opensans-Light.ttf') format('ttf');
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: 'Open Sans';
  src: url('fonts/opensans/Opensans-Regular.ttf') format('ttf');
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: 'Open Sans';
  src: url('fonts/opensans/Opensans-Bold.ttf') format('ttf');
  font-style: normal;
  font-weight: 700;
}
@font-face {
  font-family: 'Open Sans';
  src: url('fonts/opensans/Opensans-Italic.ttf') format('ttf');
  font-style: italic;
  font-weight: 400;
}
@font-face {
  font-family: 'Open Sans';
  src: url('fonts/opensans/Opensans-LightItalic.ttf') format('ttf');
  font-style: italic;
  font-weight: 300;
}
@font-face {
  font-family: 'Open Sans';
  src: url('fonts/opensans/Opensans-BoldItalic.ttf') format('ttf');
  font-style: italic;
  font-weight: 700;
}
/* 
==========================================================================
Some globals
==========================================================================
*/
abbr[title],
acronym[title] {
  border-bottom-width: 0;
}
html,
body {
  font-family: "ff-meta-web-pro", sans-serif;
  /*text-rendering: optimizeLegibility;*/
  font-size: 100%;
  line-height: 26px;
  background: #f9f9f9;
  background-size: 60%;
  color: #0d2c40;
}
a {
  color: #0d2c40;
  text-decoration: none;
  /*border-bottom: 1px solid #0d2c40;*/
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  -ms-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
a:hover {
  color: rgba(0, 0, 0, 0.4);
  
}
.capital:first-letter {
  /*font-family: "floral";*/
  float: left;
  font-size: 4rem;
  line-height: 0.10;
  margin: 0.3em 0.1em 0.2em 0;
  /*color: rgba(130, 0,0, 255);*/  
}  

hr{clear:both;border:0;
   height:1px;
   background-image:linear-gradient(to right,rgba(0,0,0,0),rgba(0,0,0,.75),rgba(0,0,0,0));}
/* 
==========================================================================
Page wrapper
==========================================================================
*/
.page-wrapper {
  position: relative;
  width: 100%;
  max-width: 120em;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}



/* 
==========================================================================
Intro
==========================================================================
*/
.intro {
  overflow: hidden;
  border: 3px solid #122c3f ;
  margin-top: 25px;
  background: #0d2c40;
}
.intro header {
  position: relative;
  background: #0d2c40;    
  overflow: hidden;
  width: 30%;
  height: 47.3em;
  float: left;
  
  
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
  min-height: 30em;
}
  @media (max-width: 70em) {
    .intro header {
      background: #0d2c40;  
      width: 100%;
      height: 27em;
    }
  }
  @media (max-width: 53em) {
    .intro header {
      height: 20em;
    }
  }
  /*
  cronicas rotate lateral
  */
  .intro header h2 {
  position: absolute;  
  color: #ff860c;
  font-family:"DayRoman";
  /*font-size: var(--textsizeN);*/
  font-size: 140%;
  letter-spacing: 2px;  
  line-height: 1em;  
  top: 10.1em;
  left: -5em;
  width: auto;  
  margin: 0;
  padding: 1em;
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
/*
xavier de 
*/

.intro header h1 {
  position: relative;  
  background: #0d2c40;
    background-image: url('/img/wallpapers/espiral.png');
    background-repeat: no-repeat;
    background-position: left;
    background-position-y: 45%;
    background-size: 50%;
 
  float: right;
  color:#a8a8a8;
  font-family:"DayRoman";
  font-size: 250%;
  text-align: left;
  line-height: 1.25em;
  width: 60%;
  height: 20.019em;
  margin: 0 0 0 0;
  padding: 2em 0.9em 0 0.5em;
 
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
 @media (max-width: 70em) {
    .intro header h1 {
      /*background: #0d2c40 url(icon-star.svg) no-repeat left bottom;*/
      background-size: 20%;
      background-position-y: 35%;
      width: 66.666%;
      /*height: 1em;*/
      padding: 1em 0.5em 0 0.5em;
    }
  }
  @media (max-width: 53em) {
    .intro header h1 {
      /*background: #0d2c40 url(icon-star.svg) no-repeat left bottom;*/
      background-size: 20%;
        background-position-y: 35%;
      font-size: 200%;
      width: 66.666%;
      height: 10em;
      padding: 1em 0.5em 0 0.5em;
    }
  }
  #historias{
      font-size: 125%;
  }
  
  
  /*
  bienvenido
  
  */
  .intro .summary {
  font-size: 150%;
  color: #0d2c40;  
  width: 70%;
  float: left;
  font-family: "LinLibertine";  
  background: #dddddd;
  background-position: center bottom;
  background-size: 101%;
  height: 37.8em;
  margin: 0;
  padding: 0.5em 5em 0.5em 2.6em;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  
}
  @media (max-width: 70em) {
    .intro .summary {
      width: 100%;
      height: auto;
      padding: 2em 1em 30% 1em;
    }
  }
 
.intro .summary p {
  padding: 0 0 0 0;
  text-align: justify;
  margin: 0;
}
  @media (max-width: 70em) {
    .intro .summary p {
      padding: 0 0 1em 1%;
    }
  }
  @media (max-width: 53em) {
    .intro .summary p {
      padding: 0 0 1em 0;
    }
  }
.intro .summary a {
  color: gray;
  text-decoration: none;
  border-bottom: 1px solid #ffffff;
}
.intro .summary a:hover {
  color: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}
/*
@media (max-width: 70em) {
  .xavi-main {
    -webkit-flex-direction: column;
    flex-direction: column;
  }
}
@media (max-width: 53em) {
  .xavi-main {
    -webkit-flex-direction: column;
    flex-direction: column;
  }
}
#content img{
     max-width: 100%;
     margin: 10px 15px 15px 1px;
     border:1px solid rgba(0, 0, 0, 0.4);
}*/
div.gallery {
  max-width: 100%;
     margin: 1px 30px 5px 1px;
     
  float: left;
  
}
div.gallery img {
  float: left;
  border:1px solid rgba(0, 0, 0, 0.4);
}

.gallery div.desc {
  font-size: 10px;
  padding: 1px;
  text-align: center;
}

#content{
    max-width: 100%;
    margin:auto;
    padding: 10px;
    margin-top: 20px;
    border: 1px solid #d6d6d6;  
    
  line-height: 30px;
  font-size: 16px;
}
.titol{
    font-family: Dauphin;
    font-size: 24px;
    letter-spacing: 2px;
}
.text{
    font-size: 16px;
    font-family: "Open Sans";
    line-height: 22px;
  padding-bottom: 45px;
    
}
.text #intro{
    font-style: italic;
    font-family: "Open Sans";
}


/******************************
footer
************/

/* main footer */
footer {
    margin-top: 10px;
  clear: both;
  padding: 2em 5%;
  color: rgba(255, 255, 255, 0.5);
  background: #0d2c40; 
  text-align: center;
}