
/* Valldaura */
/* Website based on Edits Quarterly (www.editsquarterly.com) made by Ian Coyle */
 

/* ---------------------------------- */

/*
 *  TABLE OF CONTENTS
 *  
 *  Global
 *  Grid
 *  Layout
 *  
 *  Media Queries
 *   + iPhone/iPod
 *   + iPad
 *
 *  Clear
 *
 */



/* ---------------------------------- */

/* @Global */


* {
    font-style: normal;
    font-weight: 300 !important;
}

p {
    margin: 0 0 20px;
    color: #000;
    font-size: 12px;
    line-height: 18px;
}

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

a:hover {
    color: #000;
}

h1,h2 {
    font-weight: 500;
}

h1 em,h2 em {
    font-weight: 400;
}

/* ---------------------------------- */
/* @Layout */
div#wrapper {
    min-height: 1000px;
    width: 100%;
    margin: 0;
    padding: 0 0 50px;
}

header {
    margin: 0;
}

article {
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 980px;
    min-height: 100%;
    -moz-box-shadow: 0 0 12px #666;
    -webkit-box-shadow: 0 0 12px #666;
    z-index: 9999;
}

article figure {
    top: 160px;
    position: fixed;
    min-width: 600px;
    width: 60%;
    left: 460px;
    margin: 0;
    padding: 0;
}

article.dd figure {
    overflow: auto;
}

/* EXTRA, TO RELOCATE */
article#footer-end {
    position: fixed;
    bottom: 0;
    background: #222;
}

article .text p {
    font-size: 20px;
    line-height: normal !important;
}

article figure .figure-blocks {
    margin-bottom: 120px;
    width: 100%;
    overflow: auto;
}

article figure .figure-blocks-home {
    width: 100%;
    margin-bottom: 90px;
    overflow: auto;
}

article figure .figure-blocks-home .img-block {
    width: 65%;
    float: left;
}

article figure .figure-blocks-home .img-side-text {
    width: 20%;
    margin-left: 4%;
    float: left;
}

article figure .figure-blocks-home .img-side-text h1 {
    font-size: 14px;
    line-height: 20px;
    color: #4d4d4d;
    font-style: italic !important;
}

article .static-figure {
    overflow: auto;
    position: relative;
    margin-top: 140px;
    width: 45%;
    margin-left: 460px;
}

article img.context-img {
  width: 90%;
  height: auto;
  padding: 3%;
  background-color: #f5f5f5;
  margin-bottom: 6%;
  margin-left: 2%;
  margin-right: 2%;
}

article#history-read img.context-img {
    width: 50%;
    height: auto;
    padding: 2.3%;
    /*background-color: #f5f5f5;*/
    margin-bottom: 2.3%;
}

article p.block-test-header {
    color: #000;
    font-size: 22px;
    line-height: normal !important;
    font-style: italic;
}

article p.block-test {
    color: #000;
    font-size: 18px;
    line-height: normal !important;
}

article.test2 {
    width: 20%;
    margin-left: 6%;
    float: left;
}

article div.test {
/*      width: 100%; 
      height: auto;
      padding: 14px;
      background-color: #f5f5f5;
      overflow: auto;*/
/*      width: 100%; 
      height: auto; 
      background-color: #eee; 
      margin: 20px 0 40px 0;*/
}

/* DONE */
._mobile article {
    position: relative;
}

._mobile article figure {
    position: absolute;
}

article header {
    position: absolute;
    margin: 50px 0 0;
    width: 33%;
    height: 50px;
    overflow: hidden;
    top: 0;
    padding: 0 0 0 10px;
}

article h1 {
    width: 180px;
    margin: 0;
    font-family: museo_sans500, Arial !important;
    font-weight: 100 !important;
/*font-weight: 100 !important;*/
    font-style: normal !important;
    text-transform: uppercase;
    font-size: 40px;
    line-height: 40px;
}

article h2 {
    margin: 0;
    font-weight: 100 !important;
/*font-weight: 100 !important;*/
    font-style: normal !important;
/*    text-transform: uppercase;
*/
    font-size: 24px;
    line-height: 40px;
}

article p {
    font-style: normal;
    letter-spacing: 0;
    line-height: 22px;
    color: #000;
    font-size: 16px;
}

article.dark p {
    color: #fff;
}

/*.highlighter-test {
  background: rgba(120, 120, 120, 0.2); 
  padding: 0; 
  margin:0
}*/

.footnotes {
    margin: 50px 0 0;
}

.footnotes a {
    font-size: 11px;
    color: #777;
}

.column {
    margin: 0 0 0 50px;
    padding: 0;
}

.text {
    margin: 150px 0 0;
    padding: 0 0 0 100px;
}

.text p {
    width: 240px;
}

.extras {
    position: absolute;
    top: 250px;
    right: 0;
    width: 50px;
}
        
/* ---------------------------------- */

/* Media */

    figure img, .static-figure img {
      display: block;
    }
    
   .panoramic img {
      min-width: 556px;
      width: 90%;
      
    }
    
   @media screen and (min-width:1350px) {
   
    .panoramic img {
      width: 900px;
    }
    
  }
  
  
  
/* ---------------------------------- */

/* @media: iPad */
 


  @media only screen and (max-device-width: 1024px) and (min-device-width: 480px)  {  
    
   article.title-page {
    min-height: 718px;
    height: 718px;
   }      
   
   article {
    margin-bottom: 10px;
   }
   
   .background{
    height: 100%;
    width: auto !important;
   }  
   
   body {
    width: 1024px !important;
    min-width: 1024px !important;
   }
   
   .extras {
    right: -10px;
   }
   
   .panoramic img {
    width: 560px;
   }
   
   .video-vimeo {
    width: 550px;
    height: 309px;
   }
      
  
  } 
  
  
  
  @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation:portrait) { 
  
    .hints em {
        display: none;
      }
      
    article { 
      padding-bottom: 100px;
    }
    
    article .column {
        width: 100% ;
        margin: 0;
        top: 0;
        padding: 0;
        height: auto;
        position: static;
      }
     
      article .column header {
        width: 400px       !important;
        margin: 50px auto   !important;
        height: auto      !important;
        padding: 0        !important;
        position: static;
        left: 0;
      }
           
      article .column header h1{
        width: 80%                  !important;
        margin: 80px auto 50px auto !important;
        font-size: 45px             !important;
        text-align:center;
        line-height: 45px;
        
      }
      
      article .text {
        margin: 0;
        padding: 0;
      }
    
      article .text p {
        display: none;
      }

    article figure {
      width: 100%;
      left: 0;
      text-align: center;
      min-height: auto;
      margin-top: 75px;
    }
    
    article figure img{
      display:inline;
    }
    
      article .numeral {
        position: absolute;
        left: 50%;
        top: 50px;
        margin: 0 0 0 -20px;
        text-align: center;
        line-height: 24px;
        font-size: 18px;
      }
    
   .video-vimeo {
    width: 651px;
    height: 366px;
    margin: 0 auto 10px auto;
   }
      
  }
  
  
/* ---------------------------------- */

/* @media: iPhone */  
  
  @media only screen and (max-device-width: 480px) {
  
    
    * {
      padding: 0 !important;
      left: 0;
    }

    .hints span {
      display: inline;
    }
      .hints em {
        display: none;
      }
  
    article {
      position: relative;
      height: auto;
      padding: 0;
      min-height: auto;
      margin-bottom: 10px;
    }

    
    article.interlude {
      display: none;
    }
    
    article.video ,
    article.title-page,
    article.credits,
    article.chapter {
      height: 550px !important;
      min-height: 550px !important;
      width: 100% !important;
      top: auto !important;
    }

      article.video {
        height: 600px !important;
      }
    
    
      article hgroup {
        display: none;
      }
      
      article.title-page header h1 {
        font-size: 60px;
        line-height: 60px;
        margin-bottom: 20px;
        letter-spacing: 8px;
      }
      
        article#cover header h1 {
          margin-bottom: 0;
        }
      
      article.credits header h1,
      article.chapter header h1{
        font-size: 40px;
        line-height: 40px;
        margin-bottom: 40px;
      }
      
      article.credits header {
        padding:  50px 0;
        position: relative;
        top: 50px;
        width: 300px;
        display: block !important;
        left: 10px !important;
        margin: 25px 0 0 0 !important;
      }
      
      
      article.chapter header p {
        width: 100%;
        display: block;
        font-size: 10px;
        width: 300px;
      }
    
      article .column {
        width: 100% ;
        margin: 0;
        top: 0;
        padding: 0;
        height: auto;
        position: static;
      }
     
      article .column header {
        width: 300px       !important;
        margin: 0 auto     !important;
        height: auto       !important;
        padding: 0         !important;
        position: static;
        left: 0;
      }
           
      article .column header h1{
        width: 100%                  !important;
        margin: 70px auto 30px auto !important;
        font-size: 36px             !important;
        text-align:center;
        line-height: 40px;
      }
      
      article figure {
        left: 0;
        top: 0;
        width: 90%;
        padding: 0            !important;
        margin: 5% auto       !important;
        position: relative    !important;
        height: auto          !important;
        min-height: auto      !important;
        
      }
      
      figure img {
        width: 100%           !important;
        display: block;
        
      }
    
      article .text {
        margin: 0;
        padding: 0;
      }
      article .text p {
        display: none;
      }
      
      article .numeral {
        position: absolute;
        left: 50%;
        top: 25px;
        margin: 0 0 0 -20px;
        text-align: center;
        line-height: 20px;
        font-size: 12px;
      }

      article .extras {
        display: none
      }
      
      .fullscreen .background {
        height: 100%;
        width: auto;
      }
          
       .video-vimeo {
        width: 250px;
        height: 140px;
        margin: 0 auto 10px auto;
       }
           
      body {
         min-width: 100%     !important;
         width: 100%         !important;
         max-width: 100%     !important;
         
      }
      
  } 
  
  
  @media only screen and (max-device-width: 480px) and (orientation:landscape) {

    #cover {
      height: 400px !important;
      min-height: 400px !important;
    }
  
  }

/* ---------------------------------- */

/* @Clear */

.clear-self:after 
{ 
  content: " "; 
  display: block; 
  clear: both; 
  visibility: hidden; 
  line-height: 0; 
  height: 0;
  margin-bottom: 0; 
}

.clear-self 
{ 
  display: block;
}

html[xmlns] .clear-self 
{ 
  display: block;
}

* html .clear-self 
{ 
  height: 1%; 
}

