/*
Theme Name: SpY 3.0
Theme URI: http://elufo.com
Description: elufo SpY Theme basado en html5reset.org
Author: elufo
Author URI: http://elufo.com
Version: 3.0
*/
body, select, input, textarea {color: #333;}
a {color: #03f; outline:0;}
a:hover {color: #69f;}
/* Custom text-selection colors (remove any text shadows: http://twitter.com/miketaylr/status/12228805301) */
::-moz-selection{background: #000; color: #fff; text-shadow: none;}
::selection {background: #000; color: #fff; text-shadow: none;}
/*	j.mp/webkit-tap-highlight-color */
a:link {-webkit-tap-highlight-color: #000;}
ins {background-color: #000; color: #fff; text-decoration: none;}
mark {background-color: #000; color: #fff; font-style: italic; font-weight: bold;}
/* Mozilla dosen't style place holders by default */
input:-moz-placeholder { color:#a9a9a9; }
textarea:-moz-placeholder { color:#a9a9a9; }

/* Estilos generales */
.clear:after{ content: " \A "; display: block; clear: both; height: 0; }
html { scroll-behavior: smooth; }
body{ background-color: white; margin: 0; padding: 0; font-family: Arial, Helvetica, Verdana, Geneva, sans-serif; font-size: 75%; font-weight: 400; font-style: normal; letter-spacing: 1px; word-spacing: 1px; line-height: 1.2em; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; }
header{ padding: 20px 30px 0 30px; height: 82px; position: fixed; top: 0; left: 0; right: 0; z-index: 10; pointer-events: none; }
header .description{ display: none; }
#logo{ display: block; float: left; margin: 0; pointer-events: auto; }
#nav{ float: right; margin: 0; pointer-events: auto; }
#nav label,	#nav input{ display: none; }
#menu-principal{ margin: 0; padding: 0; list-style: none; text-align: right; }
#menu-principal li{ margin: 0 0 6px 0; padding: 0; }
#menu-principal a{ color: black; text-decoration: none; }
#menu-principal a:hover{ color: #D8D8D8; }
#menu-principal a.scroll{ color: black !important; }
a[rel="contact"] i{ display: none; }

/* Footer */
footer{ position: fixed; z-index: 10; pointer-events: none; left: 0; right: 0; bottom: 0; padding: 0 30px 20px 30px; display: flex; justify-content: flex-end; align-items: flex-end; }
footer div{ padding: 0; max-width: calc(100% / 3); min-width: calc(100% / 3); max-width: -webkit-calc(100% / 3); min-width: -webkit-calc(100% / 3); white-space: nowrap; }
footer dl{ margin: 0; padding: 0; color: #b4b4b4; pointer-events: auto;}
footer dt, footer dd{ margin: 0; padding: 0; }
						
footer .projectnav{ pointer-events: auto; margin: 0 auto; padding: 0; list-style: none; text-align: center; display: none;}
footer .projectnav li{ display: inline; }
footer .projectnav li:before{ content: "- "; }
footer .projectnav li:first-child:before{ content: ""; }
footer .projectnav a{ color: black; text-decoration: none; }
footer .projectnav a:hover{ color: #b4b4b4; }
		
#share{ text-align: right; }
#share input{ display: none; }		
#share a{ color: #b4b4b4; text-decoration: none; }
#share label:hover, #share a:hover{ cursor: pointer; color: #555555;  }
#share label span{ display: none; }
#share label:hover span{ display: inline; }
#share dt, #share dd{ display: none; margin-left: 0.2em; }	
#share input:checked + dt{ display: inline !important; }
#share input:checked + dd, #share input:checked + dd + dd, #share input:checked + dd + dd + dt{ display: inline !important; padding: 0 5px; }	

/* HOME */
.home{ background: white url(img/loading.gif) no-repeat fixed center; }
.home #content{ display: none; position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.home article{ position: absolute; overflow: hidden; top: 0; left: 0; right: 0; bottom: 0; padding: 0; z-index: 0; opacity: 0; transition: opacity linear 1000ms; -o-transition: opacity linear 1000ms; -moz-transition: opacity linear 1000ms; -webkit-transition: opacity linear 1000ms; }
.home article.active { opacity: 1; z-index: 1; transition: opacity linear 1000ms; -o-transition: opacity linear 1000ms; -moz-transition: opacity linear 1000ms; -webkit-transition: opacity linear 1000ms; }
.home article .coverimg{ display: block; margin: 0; }
.home article a{ display: block; position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; z-index: 0; }
.home article.active a{ pointer-events: auto; z-index: 2; }

			
/* Archive works */

.page-template-page-artworks #content{ margin-top: 114px; overflow: hidden; position: relative; }	
.page-template-page-artworks .posts{ display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: flex-end; overflow-x: hidden; margin: 0 -10px 0 -10px; }
.page-template-page-artworks .posts article{ flex: 1 1 25%; max-width: calc(100% / 4); min-width: calc(100% / 4); max-width: -webkit-calc(100% / 4); min-width: -webkit-calc(100% / 4); }
.page-template-page-artworks .posts article div{ padding: 0; margin: 0 40px 120px 40px; line-height: 1.4em;}
.page-template-page-artworks .posts article div a{ text-decoration: none; color: black; }
.page-template-page-artworks .posts article img{ display: block; margin: 0 0 15px 0; width: 100%; height: auto; border: 0; }
.page-template-page-artworks .posts article h1{ text-transform: uppercase; font-weight: normal; font-size: 100%; margin: 0; }
.page-template-page-artworks .posts article p{ margin: 0; color: #999999; }

/* Archive press */
.page-template-page-press #content{ margin-top: 114px; overflow: hidden; position: relative; }	
.page-template-page-press .posts{ display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: flex-end; overflow-x: hidden; margin: 0 -10px 0 -10px; }
.page-template-page-press .posts article{ flex: 1 1 25%; max-width: calc(100% / 4); min-width: calc(100% / 4); max-width: -webkit-calc(100% / 4); min-width: -webkit-calc(100% / 4); }
.page-template-page-press .posts article div{ padding: 0; margin: 0 40px 180px 40px; line-height: 1.4em;}
.page-template-page-press .posts article div a{ text-decoration: none; color: black; }
.page-template-page-press .posts article img{ display: block; margin: 0 0 15px 0; width: 70%; height: auto; border: 0; }
.page-template-page-press .posts article h1{ font-weight: normal; font-size: 100%; margin: 0; }
.page-template-page-press .posts article p{ margin: 0; color: #999999; }


/* Archive video */
.page-template-page-video #content{ margin-top: 114px; overflow: hidden; position: relative; }	
.page-template-page-video .posts{ display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: flex-end; overflow-x: hidden; margin: 0 20px 0 20px; }
.page-template-page-video .posts article{ flex: 1 1 25%; max-width: calc(100% / 5); min-width: calc(100% / 5); max-width: -webkit-calc(100% / 5); min-width: -webkit-calc(100% / 5); }

.page-template-page-video .posts article div{ padding: 0; margin: 0 10px 40px 10px; line-height: 1.4em; }
.page-template-page-video .posts article div a{ text-decoration: none; color: black; }
.page-template-page-video .posts article img{ display: block; margin: 0 0 15px 0; width: 100%; height: auto; border: 0; }
.page-template-page-video .posts article h1{ font-weight: normal; font-size: 100%; margin: 0; }
.page-template-page-video .posts article p{ margin: 0; color: #999999; }

#video-lightbox{ display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9997; text-align: center; background: rgba(0, 0, 0, 0.9); }
.lightbox-container{ position: fixed; top: 4px; left: 0; width: 96%; height: 90%; z-index: 9998; padding: 2%; display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: center; align-content: center; align-items: stretch; }
.lightbox-content{ position: relative; height: 80vh; padding-bottom: 46%; }
#lightbox-video{ position: absolute; top: -1px; left: -1px; width: calc(100% + 2px); height: calc(100% + 2px); }
.lightbox-content.mp4{ padding-bottom: 0; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: center; align-content: stretch; align-items: center; }
#lightbox-mp4{  top: 0; left: 0; max-width: 80vw; max-height: 80vh; margin: 0 auto; }
.close-lightbox{ position: absolute; right: 0; top: 0px; z-index: 9999; font-size: 50px; color: white; cursor: pointer; }

/* Single artwork */
.single-artwork{ background: white url(img/loading.gif) no-repeat fixed center; }
.single-artwork .posts article{ display: flex; justify-content: center; align-items: center; margin-bottom: 8rem; }
.single-artwork .posts article em{ color: #b4b4b4; position: absolute; left: 30px; margin: 0; padding: 0; font-style: normal; }
.single-artwork .posts article figure{ margin: 0 auto; padding: 0; width: calc(100% - 80px); }
.single-artwork .posts article figure img, .single-artwork .posts article figure video, .single-artwork .posts article figure .marcovideo{ display: block; margin: 0 auto; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 80px); }
.single-artwork .posts a.prev, .single-artwork .posts article a.next{ display: block; background-color: transparent; position: absolute; z-index: 9; left: 0; right: 0; text-indent: -9999px; font-size: 0%; margin: auto; }
.single-artwork .posts a.prev{ bottom: 50%; cursor: url("img/up.ico") 12 12, auto; }
.single-artwork .posts a.next{ top: 50%; cursor: url("img/down.ico") 12 12, auto; }

.single-artwork .posts article figure .marcovideo{ position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 80vw; max-height: 80vh; }
.single-artwork .posts article figure .marcovideo iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.single-artwork .posts article figure .marcovideo.vimeov{ padding-bottom: 0; max-height: 90vh; height: 90vh; }

.single-artwork .posts article#cover a.next{ top: 100px; bottom: 0;  }
.single-artwork .posts article .photoinfo{ line-height: 1.6em; color: #b4b4b4; position: absolute; left: 30px; margin: 0; padding: 0; pointer-events: none; }
.single-artwork .posts article .photoinfo dt, .single-artwork .posts article .photoinfo dd{ margin: 0; }
.single-artwork #cover{ width: 100%; height: 100vh; margin: 0 0 40px 0; overflow: hidden; }
.single-artwork #cover img{ display: block; width: 100%; height: 100vh; object-fit: cover; }


#description{ padding-top: 8rem; }
#description div{ padding: 0 20px; width: 100%; max-width: 600px; color: #555; line-height: 2em; margin: 0 auto;}
#description ul{ margin: 0 0 1rem 0; padding: 0; list-style: none; }
#description ul li{ display: inline; font-weight: 700; margin-right: 0.2em; color: black; }
#description ul li label:hover{ cursor: pointer; color: #d8d8d8; }

#description input{ display: none; }
#description dl[lang]{ display: none; margin: 0 0 .5rem 0; }		
#description input:checked + dl{ display: block !important; }
#description dl{ margin: 0; padding: 0; }
#description dt{ margin: 0 0 1rem 0; padding: 0; }
#description dt h1{ display: block; margin: 0 0 0 0; padding: 0; font-weight: normal; font-size: 100%; }
#description dd{ margin: 0 0 1rem 0; padding: 0; }
#description a{ text-decoration: none; font-weight: 700; color: black; }
#description a:hover{ color: #d8d8d8; }

/* About */
#content.about{ margin-top: 114px;}
#about > div{ padding: 0 20px 6rem 20px; max-width: 600px; color: #555; line-height: 2em; margin: 0 auto; }
#about ul{ margin: 0 0 1rem 0; padding: 0; list-style: none; }
#about ul li{ display: inline; font-weight: 700; margin-right: 0.2em; color: black; }
#about ul li label:hover{ cursor: pointer; color: #d8d8d8; }
#about input{ display: none; }
#about div[lang]{ display: none; margin: 0 0 .5rem 0; }		
#about input:checked + div{ display: block !important; }
#about p{ margin: 0 0 1rem 0; }*/

/* video  */
#content.video{ margin-top: 114px;}
#video > div{ padding: 0 20px 6rem 20px; max-width: 900px; color: #555; line-height: 2em; margin: 0 auto; }
#video .marcovideo{ margin: 0 0 40px 0; position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; height: auto; }
#video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
#video .marcovideo.vimeov{ padding-bottom: 0; max-height: 90vh; height: 90vh; }


/* Contact */
#content.contact{ margin-top: 114px;}
#contact{ padding: 0 20px 6rem 20px; max-width: 600px; color: #555; line-height: 2em; margin: 0 auto; }
#contact p{ margin: 0 0 1rem 0; }
#contact p.contact{ padding: 3rem 0 0 0; }
#contact .mailchimp{ padding: 0; margin: 4rem 0 4rem 0; }
#contact .mailchimp input{ display: block; background-color: #f0f0f0; color: #000000; padding: 1rem; margin: 0; border: 0; font-family: Arial, Helvetica, Verdana, Geneva, sans-serif; font-size: 100%; font-weight: 400; font-style: normal; letter-spacing: 1px; word-spacing: 1px; line-height: 1.2em; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); }
#contact .mailchimp input:focus{ background: #fafafa; box-shadow: 0 0 5px #999; }
#contact .mailchimp input[type="submit"]{ background-color: black; color: white; padding: 1rem 2rem; margin: 0; float: left; }
.wpcf7-form p{ padding: 1.5rem 0; margin: 0 !important; height: 46px; }
.wpcf7-form-control-wrap{ display: block; float: left; }
.wpcf7-not-valid-tip{ position: absolute; top: -1.5rem; }
.ajax-loader{ margin-top: .9rem !important; }
.wpcf7-response-output{ margin: 0 0 0 0 !important; clear: both; }
#contact p a{ color: black; text-decoration: none; }

/* 404 */
#error .flex{ margin: 140px auto; display: flex; max-width: 600px; flex-wrap: wrap; justify-content: space-between; }
#error .flex div{ flex: 1 1 auto; max-width: 300px; }
#error .flex div.col{ display: flex; flex-wrap: nowrap; flex-direction: column; justify-content: center; }
#error .flex div.col div{ flex: 1 1 auto; margin: 40px 20px 0 20px; }
#error figure{ margin: 0; padding: 0 20px; }
#error img{ display: block; margin: 0; width: 100%; height: auto; }
#error h1{ font-size: 300%; color: black; line-height: 1em; margin: 0 0 20px 0; text-align: center; }
#error h1 small{ font-size: 50%; line-height: 1em; }
#error p{ margin: 0; text-align: center; }
#error p a{ text-decoration: none; color: black; }

a.prev, a.next{ display: none !important;}


/* Media queries */	
@media screen and (max-width: 1540px) {
	.page-template-page-artworks .posts article{ max-width: calc(100% / 3); min-width: calc(100% / 3); max-width: -webkit-calc(100% / 3); min-width: -webkit-calc(100% / 3); }
	.page-template-page-press .posts article{ max-width: calc(100% / 3); min-width: calc(100% / 3); max-width: -webkit-calc(100% / 3); min-width: -webkit-calc(100% / 3); }
	.page-template-page-video .posts article{ max-width: calc(100% / 3); min-width: calc(100% / 3); max-width: -webkit-calc(100% / 3); min-width: -webkit-calc(100% / 3); }
}
	
@media screen and (max-width: 767px) {
	header{ position: fixed; pointer-events: inherit; height: 40px; background-color: white; padding: 20px 20px 0 20px; }
	
	#logo{ display: block !important; width: 50px; }
	#logo svg{ width: 100%; height: auto; }
	nav label{ display: block !important; width: 24px; height: 12px; position: absolute; right: 20px; top: 22px; background-color: white; border-top: 2px solid black; border-bottom: 2px solid black; cursor: pointer; }
	nav label span{ display: block; height: 2px; background-color: black; margin: 5px 0 0 0; }
	nav input{ display: none; }
	nav #menu-principal{ width: calc(100% - 1.5rem); margin: 40px 0 0 0; background-color: white; overflow: hidden; position: absolute; left: 0; height: 0; padding: 0 1.5rem; border-top: 1px solid white; transition: all 500ms ease-out; }
	nav #menu-principal li{ margin-bottom: 0; text-align: center; transition: all 500ms ease-out; }	
	nav input:checked + label{ border-color: #d8d8d8; }
	nav input:checked + label span{ background-color: #d8d8d8; }
	nav input:checked + label + .menu-principal-container #menu-principal{ border-top: 1px solid #efefef; height: auto; overflow: visible; padding: 1.5rem; transition: all 500ms ease-out; }
	nav input:checked + label + .menu-principal-container #menu-principal li:not(:last-child){ margin-bottom: 1.5rem; transition: all 500ms ease-out; }	
	#menu-principal a, #colorlogotipo{ fill: black !important; color: black !important; }	
	
	footer{ display: block; }
	footer div{ max-width: 100%; min-width: 100%;}
	footer .projectnav{ margin: 0 0 30px 0; }
	footer #share{ text-align: center !important; }
	
	.page-template-page-artworks .posts{ display: block; }
	.page-template-page-artworks .posts article{ width: 100%; max-width: 100%; }
	.page-template-page-artworks .posts article div{ margin: 0 30px 60px 30px;}
	
	.page-template-page-press .posts{ display: block; }
	.page-template-page-press .posts article{ width: 100%; max-width: 100%; }
	.page-template-page-press .posts article div{ margin: 0 30px 60px 30px;}
	
	.page-template-page-video .posts{ display: block; }
	.page-template-page-video .posts article{ width: 100%; max-width: 100%; }
	.page-template-page-video .posts article div{ margin: 0 0px 60px 0px;}
	
	.single-artwork{ background-image: none; }
	.single-artwork #content{ display: block; padding-bottom: 8rem; padding-top: 3.9rem; }
	
	.single-artwork .posts article:not(#cover){ display: block; margin-bottom: 0; padding-top: 5rem; }
	.single-artwork .posts article#cover{ display: block; overflow: auto; width: 100vw !important; height: auto; }
		
	.single-artwork .posts article#cover video{ max-width: 100vw !important; }
	.single-artwork .posts article#cover img.coverimg{ display: block; width: 100%; height: auto; }
	.single-artwork .posts article#cover a.next{ top: 0; }
	.single-artwork #description div{ width: auto;}
	.single-artwork .posts article figure{ margin: 0 auto; padding: 0; position: relative; height: auto; min-height: auto; width: calc(100% - 40px); }
	.single-artwork .posts a.prev, .single-artwork .posts a.next{ display: none !important; }
	.single-artwork .posts article figure img, .single-artwork .posts article figure video{ height: auto; width: 100%; position: relative; }
	.single-artwork .posts article figure .marcovideo{ max-width: 100vw; }
	.single-artwork .photoinfo{ display: none; }
			
	.wpcf7-form p{ height: 92px; }
	
	#error .flex{ margin-top: 3.9rem; }
	#error .flex div.col div{ margin: 20px 20px 20px 20px; }
	#error h1{ font-size: 250%; }
		
	
}	