::selection {
  background: #FFEED9; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: #FFEED9; /* Gecko Browsers */
}

div#preloader {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 20000;
	width: 100%;
	height: 100%;
	overflow: visible;
	background: #FFEED9;
}

body {
    margin: 0px;
    padding: 0px;
    
    font-family: 'Crimson Text', serif;
    
    background: #EBEBEB;
}

h2 {
    font-family: 'Nova Cut', cursive;
    font-weight: 100;
}

h3 {
    margin-top: 3em;
    margin-left: 60px;
    font-size: 1.2em;
}

h4 {
    font-size: 100%;
    font-weight: 100;
    color: #8E8E8E;
    
    margin: 40px 0;
}

h5 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 130%;
    font-weight: 100;
}

#home {
    background: #FFEED9;
}
#home .fp-scroller {
    height: 100%;
}
#home article {
    margin: 0 8%;
    height: 100%;
}
#home header {
    position: absolute;
    top: 0;
    width: 100%;
    height: 60px;
    display: table;
    z-index: 1;
    background: #FFEED9;
}
#home header h1 {
    text-transform: uppercase;
    font-size: 110%;
    font-weight: 600;
    margin: 0;
    display: table-cell;
    vertical-align: middle;
}
#home p {
/*
    position: absolute;
    bottom: 70px;
*/
/*    width: 84%;*/
    font-family: 'Crimson Text', serif;
    font-size: 220%;
    margin-top: 100px;
}
#home footer {
    position: fixed;
    right: 8%;
    bottom: 5%;
    left: 8%;
    width: auto;
    
    font-size: 150%;
    text-align: right;
}
#home footer a {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55px;
    text-align: center;
}
#home footer a img {
    height: 100%;
}

.mainscroll {
    float: left;
	width: 100%;
}

#mainheader {
    position: absolute;
    top: 0;
    width: 100%;
    height: 60px;
    background: #FCFCFC;
    
    border-bottom: solid rgba(0,0,0,0.1) 1px;
	
	-webkit-transition: background-color 100ms;
    -moz-transition: background-color 100ms;
    -ms-transition: background-color 100ms;
    -o-transition: background-color 100ms;
    transition: background-color 100ms;
	
	z-index: 10000;
}
.sticky {
    position: fixed !important;
}
#main article {
    float: left;
    padding-left: 8%;
    padding-top: 100px;
    padding-right: 46%;
    padding-bottom: 150px;
    
    width: 46%;
    
    font-size: 130%;
    line-height: 170%;
}
#main article:nth-of-type(odd) {
    background: #FCFCFC;
}
#main article:last-of-type {
    padding-bottom: 590px;
    
    -webkit-transition: padding-bottom 500ms;
    -moz-transition: padding-bottom 500ms;
    -ms-transition: padding-bottom 500ms;
    -o-transition: padding-bottom 500ms;
    transition: padding-bottom 500ms;
}
#main article i#description {
	color: #8E8E8E;
	font-size: 80%;
	line-height: 1.2;
	margin-top: 10px;
}

.menu {
    position: absolute;
    font-size: 110%;
    margin-left: 8%;
    height: 100%;
    display: table;
    text-transform: uppercase;
}
.menu a, .menu span {
    display: table-cell;
    vertical-align: middle;
    color: black;
    text-decoration: none;
}
.menu a:hover {
    text-decoration: underline;
}
.menu span {
    padding: 0 10px;
}
.menu a.active {
    font-weight: 600;
}

.sidemenu {
    position: absolute;
    font-size: 110%;
    right: 8%;
    width: 30%;
    height: 100%;
    display: table;
    text-transform: uppercase;
}
.sidemenu input {
    height: 20px;
    margin-top: 18px;
    border: 1px solid black;
    width: 70%;
    
    font-family: helvetica;
    font-weight: 100;
    font-size: 80%;
	
	background: transparent;
}
.sidemenu .search-button {
	position: absolute;
    width: 16px;
    height: 16px;
}
.sidemenu .search-button img {
    width: 100%;
}
.sidemenu #search-button {
    margin-top: 19px;
    margin-left: -20px;
}
.sidemenu .search-button.arrow {
	margin-top: 15px;
    width: 12px;
}
.sidemenu .search-button#previous-search-button {
	margin-left: 8px;
}
.sidemenu .search-button#next-search-button {
	margin-left: 24px;
}

.sidemenu #search-count {
    position: absolute;
    width: 50px;
    margin-top: 24px;
    margin-left: -80px;
    font-family: helvetica;
    font-size: 70%;
    font-weight: 100;
    text-align: right;
}
.sidemenu .languages {
    right: 0;
    display: table-cell;
    vertical-align: middle;
    text-align: right;
}
.sidemenu .languages a {
    text-decoration: line-through;
    font-weight: 600;
	color: black;
}
.sidemenu .languages a.active {
    text-decoration: none;
}
.sidemenu .languages a:hover {
    text-decoration: underline;
}

.sidebar#left {
    position: fixed;
    top: 90px;
    bottom: 30px;
    width: 8%;
	
	-webkit-transition: opacity 500ms;
    -moz-transition: opacity 500ms;
    -ms-transition: opacity 500ms;
    -o-transition: opacity 500ms;
    transition: opacity 500ms;
}
.sidebar#left.invisible {
	z-index: 2;
}
.sidebar#left a {
    font-weight: 600;
    float: left;
    margin-left: 20px;
    margin-right: 40px;
    color: black;
    text-decoration: none;
	width: 20px;
	height: 25%;
}
.sidebar#left a img {
	max-height: 100%;
	max-width: 27px;
}
.sidebar#left.invisible a img {
	opacity: 0;
}

.sidebar#right {
    position: absolute;
    right: 8%;
    top: 100px;
	bottom: 20px;
    width: 30%;
    height: auto;
    color: #8E8E8E;
    font-size: 100%;
}
.sidebar#right a {
	color: #F5B96E;
	text-decoration: none;
}
.sidebar#right a:hover {
	color: #F5B96E;
	text-decoration: underline;
}
.sidebar#right i {
	float: left;
	margin-bottom: 40px;
}
.sidebar#right img {
	float: left;
	width: 100%;
}
.sidebar#right #description {
	float: right;
	text-align: right;
	margin-top: 10px;
}
.sidebar#right #pachpute {
	position: absolute;
	width: 20%;
	bottom: 0;
	right: 0;
	min-width: 80px;
	z-index: -1;
}

.sidebar#right.sidepage {
    position: fixed;
    right: 0;
    top: 0;
	bottom: 0;
    width: 50px;
	height: auto;
	background: #FFEED9;
    font-size: 100%;
	z-index: 10000;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
	color: black;
	
	-webkit-transition: width 500ms;
    -moz-transition: width 500ms;
    -ms-transition: width 500ms;
    -o-transition: width 500ms;
    transition: width 500ms;
}
.sidebar#right.sidepage.open {
	width: 100%;
	overflow: scroll ;
}
.sidebar#right.sidepage a {
	position: absolute;
	bottom: 0;
	padding: 14px;
}
.sidebar#right.sidepage a.close-button {
	padding: 0;
	right: 8%;
	top: 100px;
}
.sidebar#right.sidepage article {
	background-color: transparent;
	padding-bottom: 100px;
}
.sidebar#right.sidepage header {
	position: absolute;
	top: 0;
	width: 100%;
	height: 60px;
	display: table;
	z-index: 1;
}
.sidebar#right.sidepage header h1 {
	text-transform: uppercase;
	font-size: 90%;
	font-weight: 600;
	margin: 0;
	display: table-cell;
	vertical-align: middle;
}
.sidebar#right.sidepage h4 {
	color: black;
	font-style: italic;
}

.vertical {
    position: relative;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    display: block;
    height: 20px;
    width: 700px;
    left: -330px;
    top: 280px;
}

#main footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 440px;
    background: #FFEED9;
    
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    
    -webkit-transition: height 500ms;
    -moz-transition: height 500ms;
    -ms-transition: height 500ms;
    -o-transition: height 500ms;
    transition: height 500ms;
}
#main footer .row {
    width: 100%;
    height: 360px;
}
#main footer .column {
    float: left;
    margin-left: 6%;
    margin-top: 100px;
    height: 200px;
}
#main footer #column1 {
    margin-left: 8%;
    width: 28%;
}
#main footer #column2 {
    width: 14%;
}
#main footer #column3 {
    width: 10%;
}
#main footer #column4 {
    width: 14%;
}
#main footer .column p {
    margin: 0 0 20px 0;
}
#main footer .column a {
    color: black;
    text-decoration: none;
}
#main footer .column a:hover {
	text-decoration: underline;
}
#main footer #column1 img {
	float: right;
	margin-top: 20px;
	height: 60px;
	margin-left: 40px;
}

#main footer .copyright {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 80px;
    background: #1f1f1f;
    
    display: table;
	
	-webkit-transition: bottom 500ms;
    -moz-transition: bottom 500ms;
    -ms-transition: bottom 500ms;
    -o-transition: bottom 500ms;
    transition: bottom 500ms;
}
#main footer .copyright a {
    display: table-cell;
    vertical-align: middle;
    color: #ebebeb;
    text-decoration: none;
    font-family: 'Helvetica', sans-serif;
    font-size: 80%;
    font-weight: 100;
    padding-left: 8%;
}
#main footer .copyright img {
	height: 8px;
	
	-webkit-transition: transform 500ms;
    -moz-transition: transform 500ms;
    -ms-transition: transform 500ms;
    -o-transition: transform 500ms;
    transition: transform 500ms;
}

#main footer .disclaimer {
    -webkit-transition: height 500ms;
    -moz-transition: height 500ms;
    -ms-transition: height 500ms;
    -o-transition: height 500ms;
    transition: height 500ms;
	
	position: absolute;
	width: 100%;
	bottom: 0;
	height: 0;
	
    background: #1f1f1f;
	color: #ebebeb;
}
#main footer .disclaimer p {
	font-size: 80%;
	font-weight: 100;
	margin: 0 38% 0 8%;
	
	font-family: 'Helvetica', sans-serif;
	line-height: 170%;	
}

blockquote {
    margin: 3em 0 3em 60px;
}
blockquote .footer {
    float: none !important;
    height: auto !important;
    background: none !important;
    box-shadow: none !important;
    text-align: right;
    
    font-family: 'Crimson Text', serif;
    font-weight: 100;
    font-size: 100%;
}
blockquote p {
    margin-bottom: 10px;
    font-style: italic;
}

mark.highlighted {
    background-color: orange;
}

.footermask {
    position: absolute;
    bottom: 0;
    height: 440px;
    width: 50px;
    background-color: red;
}

.footnote {
	color: #F5B96E;
	cursor: pointer;
}
.footnote-image {
	text-decoration: underline;
	cursor: pointer;
}

/***** Authors page *****/
#author1, #author3 {
	background: #FCFCFC;
}

.authors-page .portrait-image {
	float: left;
	height: 100%;
	width: 30%;
	margin-top: 40px;
	margin-left: 8%;
	margin-bottom: 120px;
	
	background-repeat: no-repeat;
	background-position: top right;
	background-size: contain;
}
.authors-page .description {
	float: left;
	height: 100%;
	width: 46%;
	margin-right: 8%;
}

.authors-page #author2 .portrait-image, .authors-page #author4 .portrait-image {
	margin-left: 0;
	background-position: top left;
}
.authors-page #author2 .description,  .authors-page #author4 .description {
	margin-left: 8%;
}

.authors-page #author1 .portrait-image {
	background-image: url("images/fabio+bg.png");
}
.authors-page #author2 .portrait-image {
	background-image: url("images/clare+bg.png");
}
.authors-page #author3 .portrait-image {
	background-image: url("images/cayo+bg.png");
}
.authors-page #author4 .portrait-image {
	background-image: url("images/florencia+bg.png");
}

#author article {
    float: left;
    margin-left: 8%;
    margin-top: 40px;
        
    font-size: 120%;
    line-height: 160%;
}

.authors-page footer {
    position: absolute;
    right: 8%;
    bottom: 5%;
    left: 8%;
    width: auto;
    
    font-size: 150%;
    text-align: right;
}
.authors-page footer a {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55px;
    text-align: center;
}
.authors-page footer a img {
    height: 100%;
}


/***** Gallery page *****/
body.gallery-page {
	background: #FCFCFC;
}

.gallery-page .sidebar#left {
	margin-left: 8%;
	width: 12%;
	bottom: auto;
}

.gallery-page .sidebar#left a {
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 10px;
	width: 100%;
	
	font-family: 'Nova Cut', cursive;
    font-weight: 100;
}
.gallery-page .sidebar#left a.active, .gallery-page .sidebar#left a:hover {
	text-decoration: underline;
}
.gallery-page .category-name a {
	text-align: left;
	line-height: normal;
}
.gallery-page .category-name a:hover {
	text-decoration: none !important;
}
.gallery-page .category-name a:first-letter {
    text-transform: uppercase;
}

.gallery-page .grid {
/*	height: 500px;*/
	margin-top: 125px;
	margin-left: 20%;
	margin-right: 8%;
}

.gallery-page .grid img {
  	display: block;
	max-width: 100%;
	
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}
.gallery-page .grid img:hover {
	-webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
    filter: grayscale(0%);
}

.gallery-page .grid a {
	text-decoration: none;
	height: 100%;
	width: 100%;
}

.gutter-sizer {
	width: 1%;
}
.grid-sizer, .grid-item {
	width: 24%;
	float: left;
}
.grid-item--width2 {
	width: 49%;
}
.grid-item--width3 {
	width: 75%;
}

/***** Lightbox *****/
.lightboxOverlay {
	background: #FCFCFC !important;
	opacity: 0.98 !important;
}
.lightbox {
	position: fixed !important;
	top: 50% !important;
}
.lightbox .lb-image {
	border: none !important;
	border-radius: 0 !important;
}
.lb-outerContainer {
  	transform: translateY(-50%) !important;
}
.lb-data .lb-close {
	position: fixed !important;
	top: 125px;
	right: 8%;
	opacity: 1 !important;
	background: url(../images/close.png) top right no-repeat !important;
}
.lb-nav a {
	opacity: 1 !important;
	width: 100px !important;
	background-size: 50px !important;
}
.lb-nav a.lb-prev {
	margin-left: -100px;
	background-image: url("images/button-left.png") !important;
}
.lb-nav a.lb-next {
	margin-right: -100px;
	background-image: url("images/button-right.png") !important;
}
.lb-data .lb-caption {
	position: fixed !important;
	left: 8%;
	bottom: 50px;
	width: 20%;
	font-weight: 100 !important;
	font-style: italic;	
	font-size: 90% !important;
}
.lb-data .lb-number {
	position: fixed;
	right: 8%;
	bottom: 50px;
	font-family: 'Nova Cut', cursive;
	font-size: 110% !important;
	color: black !important;
	padding-bottom: 0 !important;
}