/*
Theme Name: 	David Castillo
Description: 	The totally nude David Castillo theme!
Version: 		1.0
Author: 		Dandy Agency
Author URI: 	http://wearedandy.com
*/


/**
 * reset.css
 *
 * Adapted from:
 * Normalize.css by Nicolas Gallagher and Jonathan Neal: https://github.com/necolas/normalize.css/
 * HTML5 boilerplate: http://html5boilerplate.com/
 * HTML5 Doctor Reset by Eric Meyer and Richard Clark: html5doctor.com/html-5-reset-stylesheet/
 *
 * Modified by Elliot Jay Stocks
 */

html, 
body, 
div, 
span, 
object, 
iframe, 
h1, 
h2, 
h3, 
h4, 
h5, 
h6, 
p, 
blockquote, 
pre, 
abbr, 
address, 
cite, 
code, 
del, 
dfn, 
em, 
img, 
ins, 
kbd, 
q, 
samp, 
small, 
strong, 
sub, 
sup, 
var, 
b, 
i, 
dl, 
dt, 
dd, 
ol, 
ul, 
li, 
fieldset, 
form, 
label, 
legend, 
table, 
caption, 
tbody, 
tfoot, 
thead, 
tr, 
th, 
td, 
article, 
aside, 
canvas, 
details, 
figcaption, 
figure, 
footer, 
header, 
hgroup, 
menu, 
nav, 
section, 
summary, 
time, 
mark, 
audio, 
video 													{ margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent; }        

article, 
aside, 
details, 
figcaption, 
figure, 
footer, 
header, 
hgroup, 
nav, 
section 												{ display: block; }

audio, 
canvas, 
video 													{ display: inline-block; *display: inline; *zoom: 1; }

audio:not([controls]) 									{ display: none; }

[hidden] 												{ display: none; }

html 													{ font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body 													{ margin: 0; }

h1, h2, h3, h4, h5, h6 { font-weight:normal; }          

a		 												{ color:blue; }

a:focus  												{ outline: thin dotted; }

li														{ list-style:none; }

abbr[title]  											{ border-bottom:none; }

b, 
strong  												{ font-weight: 700; }

i,
em,
dfn  													{ font-style: italic; }

hr  													{ display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins  													{ background: #ff9; color: #000; text-decoration: none; }

mark 	 												{ background: #ff0; color: #000; font-style: italic; font-weight: bold; }

pre, 
code, 
kbd, 
samp  													{ font-family: monospace, monospace; _font-family: 'courier new', monospace; }

pre  													{ white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q  														{ quotes: none; }

q:before, 
q:after  												{ content: ""; content: none; }

small 													{ font-size: 85%; }

sub, 
sup  													{ font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }

sup  													{ top: -0.5em; }

sub  													{ bottom: -0.25em; }

img  													{ border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

label  													{ cursor: pointer; }

input, 
select, 
textarea  												{ font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

button, 
input  													{ line-height: normal; *overflow: visible; }

button, 
input[type="button"], 
input[type="reset"], 
input[type="submit"] 									{ cursor: pointer; -webkit-appearance: button; }

input[type="checkbox"], 
input[type="radio"] 									{ box-sizing: border-box; }

input[type="search"] 									{ -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration			{ -webkit-appearance: none; }

button::-moz-focus-inner, 
input::-moz-focus-inner 								{ border: 0; padding: 0; }

textarea  												{ overflow: auto; vertical-align: top; resize: vertical; }

table  													{ border-collapse: collapse; border-spacing: 0; }

td  													{ vertical-align: top; }
/* RESET */

* {
	-webkit-tap-highlight-color: transparent; /* No background, just iOS: */
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* No background iOS + Android: */
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
img { max-width: 100%; height: auto; display: block;}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

/* ------------------------- */
:link:focus, :visited:focus { -moz-outline: none; }
img { border: 0; }
a, a:active, a:focus, a:visited { outline: none; text-decoration: none; /*border: none;*/ }
.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
* html .clearfix { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */
/* ------------------------- */

html, body { width: 100%; height: 100%; }
body { font-family: Helvetica,Arial,sans-serif; font-size: 12px; color: #000; position: relative; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; padding-top:30px; padding-bottom:30px; }

.wrapper { max-width: 1366px; margin: 0 auto; position: relative; padding-bottom: 48px; }
.content { width: 80%; float: right; padding-right: 20px; margin-top: 1in; margin-bottom: 1in; }

/* Header */
#header { position: fixed; padding: 35px 20px; }
#header h1 a { background: url('images/logo.png') 0 0 no-repeat; text-indent: -99999px; display: block; width: 88px; height: 67px; background-size: 100% auto; }
#header .nav { padding: 40px 0; }
#header .nav .menu li { padding-bottom: 18px; }
#header .nav .menu li a { font-size: 15px; color: #000; }
#header .nav .menu li a:hover,
#header .nav .menu li.current_page_item a { border-bottom: 1px solid #000; }
#header .social .label { font-weight: bold; font-size: 15px; }
#header .social ul { margin-left: -3px; }
#header .social ul li { display: inline-block; vertical-align: middle; padding-top: 5px; margin: 0 3px; }
#header .social ul li a { background: url('images/social.png') 0 0 no-repeat; display: block; width: 19px; height: 19px; background-size: 70px auto;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out; }
#header .social ul .tw a { background-position: 0 0; }
#header .social ul .fb a { background-position: -26px 0; }
#header .social ul .ins a { background-position: -52px 0; }
#header .social ul .pin a { background-position: 0 -26px; }
#header .social ul .art a { background-position: -26px -26px; width: 46px; }
#header .social ul li a:hover { opacity: .6; }
#header .navMobileBt { display: none; width: 30px; height: 22px; position: absolute; top: 56px; right: 20px; cursor: pointer; z-index: 20;
	-webkit-transition: opacity 0.4s ease-in-out, -webkit-transform 0.4s ease-in-out; 
	-moz-transition: opacity 0.4s ease-in-out, -moz-transform 0.4s ease-in-out; 
	-ms-transition: opacity 0.4s ease-in-out, -ms-transform 0.4s ease-in-out; 
	-o-transition: opacity 0.4s ease-in-out, -o-transform 0.4s ease-in-out; 
	transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out; }
#header .navMobileBt .line { width: 100%; height: 4px; background: #000; position: absolute; 
	-webkit-transition: all 0.2s ease-in-out; 
	-moz-transition: all 0.2s ease-in-out; 
	-ms-transition: all 0.2s ease-in-out; 
	-o-transition: all 0.2s ease-in-out; 
	transition: all 0.2s ease-in-out; }
#header .navMobileBt .line:nth-child(1) { top: 0; }
#header .navMobileBt .line:nth-child(2) { top: 50%; margin-top: -2px; }
#header .navMobileBt .line:nth-child(3) { bottom: 0; }
#header .navMobileBt:hover .line { opacity: .6; }
#header .navMobileBt.menuIsOpen { position: fixed; }
#header .navMobileBt.menuIsOpen .line:nth-child(1) { -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); top: 40%; }
#header .navMobileBt.menuIsOpen .line:nth-child(2) { opacity: 0; }
#header .navMobileBt.menuIsOpen .line:nth-child(3) { -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); top: 40%; }
#header .navMobileWrapper { display: none; position: fixed; top: 0; left: 0; z-index: 10; text-align: center; width: 100%; height: 100%; background: rgba(255,255,255,.9); }
#header .navMobileWrapper .navHolder { width: 100%; height: 100%; 
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-moz-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
	-webkit-box-pack: center;
	-moz-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center; }
#header .navMobileWrapper .menu li { padding: 6px 0; }
#header .navMobileWrapper .menu li a { font-size: 20px; color: #000; }
#header .navMobileWrapper .menu li a:hover,
#header .navMobileWrapper .menu li.current_page_item a { color: #666; } 
#header .navMobileWrapper .social { padding-top: 20px; }

/* Side Nav */
.sideNav { float: left; width: 18%; }
.sideNav li { padding-bottom: 18px; text-transform: lowercase; }
.sideNav li a { color: #1D1D1B; font-size: 12px; }
.sideNav li a:hover,
.sideNav li a.active { border-bottom: 1px solid #000; }
.sideNav .moreArtist { display: none; }
.sideNav li span { color: #1D1D1B; font-size: 12px; cursor: pointer; }
.sideNav li span:hover,
.sideNav li span.active { border-bottom: 1px solid #000; }

.data .section { display: none; opacity: 0; }

/* Home */
.home .wrapper { padding-bottom: 25px; }
.home .content { width: 80%; padding-right: 0; }
.home .featured .slides li .pic { width: 100%; height: 580px; background-position: center center; background-repeat: no-repeat; background-size: cover;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out; }
.home .featured .slides li .pic a { display: block; width: 100%; height: 100%; }
.home .featured .slides li .pic:hover { opacity: .6; }
.home .featured .slides li .pic a img { width: 100%; }
.home .featured .data { padding-top: 30px; }
.home .featured .data .bLeft { float: left; width: 28%; }
.home .featured .data .bLeft h2 { font-size: 18px; font-weight: bold; }
.home .featured .data .bLeft .txt { line-height: 16px; padding-top: 12px; }
.home .featured .data .bRight { float: left; width: 70%; padding-left: 3%; margin-left: 1%; border-left: 1px solid #3C3C3B; }
.home .featured .data .bRight .tit { font-size: 20px; color: #575756; padding-bottom: 10px; }
.home .featured .data .bRight .txt { font-size: 11px; float: left; padding-right: 1%; line-height: 16px; }
.home .featured .data .bRight .txt a { color: #000; }
.home .featured .data .bRight .txt a:hover { opacity: .7; }
.home .featured .data .bRight .txt a.link { border-bottom: 1px solid #000; }
.home .featured .data .bRight .txt a.link:hover { opacity: 1; border-bottom: 0 none; }

/* Artists */
.page-template-page-artists-php .items { margin-left: -1%;  }
.page-template-page-artists-php .items li { display: inline-block; vertical-align: top; width: 31%; margin: 1% .5%; }
.page-template-page-artists-php .items li a { font-size: 14px; color: #000; display: block; }
.page-template-page-artists-php .items li a .pic { margin-bottom: 14px; overflow: hidden; }
.page-template-page-artists-php .items li a .pic { width: 100%; height: 270px; display: block; background-position: center center; background-repeat: no-repeat; background-size: cover;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out; }
/*.page-template-page-artists-php .items li a .pic img { width: 100%;
	-webkit-transition: transform 4s;
	-moz-transition: transform 4s;
	-ms-transition: transform 4s;
	-o-transition: transform 4s;
	transition: transform 4s; }
.page-template-page-artists-php .items li a:hover .pic img { 
	-webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1); }*/
.page-template-page-artists-php .items li a:hover .pic { opacity: .6 }
.page-template-page-artists-php .items li a:hover span { border-bottom: 1px solid #000; }

/* Single artists */
.single-artists #header .nav .menu li.menu-item-26 a { border-bottom: 1px solid #000; }
.single-artists .holder {  }
.single-artists .holder .tit { font-size: 35px; padding-bottom: 30px; }
.single-artists .holder .data { float: right; width: 80%; padding-right: 2%; }
.single-artists .holder .data .selected-works .pic { width: 100%; height: 450px; /*background-position: center center; background-repeat: no-repeat; background-size: cover;*/ background: url('images/loader.gif') center center no-repeat; }
.single-artists .holder .data .selected-works .pic img { width: auto; height: 450px; margin: 0 auto; }
.single-artists .holder .data .selected-works .pic iframe { max-width: 100%; margin: 0 auto; display: block; }
.single-artists .holder .data .selected-works .txtImg { padding-top: 15px; }
.single-artists .holder .data .txt { width: 80%; line-height: 20px; }
.single-artists .holder .data .quote { font-size: 29px; line-height: 34px; padding-bottom: 50px; }
.single-artists .holder .data .gallery-exhibitions .items > li { line-height: 20px; padding-bottom: 20px; }
.single-artists .holder .data .gallery-exhibitions .items > li .txt { display: inline-block; vertical-align: top; }
.single-artists .holder .data .gallery-exhibitions .items > li .txt .date { color: #000; }
.single-artists .holder .data .gallery-exhibitions .items > li .txt a { font-weight: bold; color: #000; }
.single-artists .holder .data .gallery-exhibitions .items > li .txt a:hover { opacity: .6; }
.single-artists .holder .data .press .items { max-width: 400px; }
.single-artists .holder .data .press .items li { line-height: 20px; padding-bottom: 20px; }
.single-artists .holder .data .press .items li span { color: #808080; }
.single-artists .holder .data .press .items li a { color: #000; border-bottom: 1px solid #000; background: url('images/pdf-icon.png') center left no-repeat; background-size: 8px auto; padding-left: 12px; }
.single-artists .holder .data .press .items li a:hover { border: 0 none; }

/* Press */
.page-template-page-press-php .items { max-width: 400px; }
.page-template-page-press-php .items li { line-height: 20px; padding-bottom: 20px; }
.page-template-page-press-php .items li span { color: #808080; }
.page-template-page-press-php .items li a { color: #000; border-bottom: 1px solid #000; background: url('images/pdf-icon.png') center left no-repeat; background-size: 8px auto; padding-left: 12px; }
.page-template-page-press-php .items li a:hover { border: 0 none; }

/* Fairs */
.page-template-page-fairs-php .items { max-width: 400px;  }
.page-template-page-fairs-php .items li { line-height: 20px; padding-bottom: 20px; }
.page-template-page-fairs-php .items li span { color: #808080; }
.page-template-page-fairs-php .items li a { color: #000; }
.page-template-page-fairs-php .items li a:hover { opacity: .7; }
.page-template-page-fairs-php .items li a.link { border-bottom: 1px solid #000; }
.page-template-page-fairs-php .items li a.link:hover { opacity: 1; border-bottom: 0 none; }
/*.page-template-page-fairs-php .holder { padding-top: 145px; }
.page-template-page-fairs-php .holder .data { float: right; width: 80%; }
.page-template-page-fairs-php .holder .data .items li { line-height: 20px; padding-bottom: 20px; margin-top: -2px; }
.page-template-page-fairs-php .holder .data .items .pic,
.page-template-page-fairs-php .holder .data .items .txt { display: inline-block; vertical-align: top; }
.page-template-page-fairs-php .holder .data .items .pic { width: 100px; }
.page-template-page-fairs-php .holder .data .items .txt .date { color: #808080; }
.page-template-page-fairs-php .holder .data .items .txt a { font-weight: bold; color: #000; }
.page-template-page-fairs-php .holder .data .items .txt a span { border-bottom: 1px solid #000; }
.page-template-page-fairs-php .holder .data .items .txt a:hover span { border: 0 none; }
.page-template-page-fairs-php .holder .data .items .txt a:after { content: ' \00BB '; }*/

/* Gallery */
.page-template-page-gallery-php .holder { }
.page-template-page-gallery-php .holder .data { float: right; width: 80%; padding-right: 2%; }
.page-template-page-gallery-php .holder .data .pic { margin-bottom: 40px; }
.page-template-page-gallery-php .holder .data .txt { width: 80%; line-height: 20px; }
.page-template-page-gallery-php .holder .data .txt a { color: #000; }
.page-template-page-gallery-php .holder .data .txt a:hover { border-bottom: 1px solid #000; }
.page-template-page-gallery-php .holder .data .contact .txt { width: 44%; float: left; }

/* News */
.page-template-page-news-php .items { max-width: 400px; }
.page-template-page-news-php .items li { line-height: 20px; padding-bottom: 20px; }
.page-template-page-news-php .items li span { color: #808080; }
.page-template-page-news-php .items li a { color: #000; }
.page-template-page-news-php .items li a:hover { opacity: .7; }
.page-template-page-news-php .items li a.link { border-bottom: 1px solid #000; }
.page-template-page-news-php .items li a.link:hover { opacity: 1; border-bottom: 0 none; }

/* Exhibitions */
.page-template-page-exhibitions-php .holder {  }
.page-template-page-exhibitions-php .holder .data { float: right; width: 80%; padding-right: 2%; }
.page-template-page-exhibitions-php .holder .data .items > li { line-height: 20px; padding-bottom: 20px; margin-top: -2px; }
.page-template-page-exhibitions-php .holder .data .items > li .txt { display: inline-block; vertical-align: top; }
.page-template-page-exhibitions-php .holder .data .items > li .txt .date { color: #000; }
.page-template-page-exhibitions-php .holder .data .items > li .txt a { font-weight: bold; color: #000; }
.page-template-page-exhibitions-php .holder .data .items > li .txt a:hover { opacity: .6; }
.page-template-page-exhibitions-php .holder .data .exhibitions h2 { font-size: 32px; color: #000; padding-bottom: 6px; margin-top: -3px; }
.page-template-page-exhibitions-php .holder .data .exhibitions .date { padding-top: 4px; }
.page-template-page-exhibitions-php .holder .data .exhibitions .gallery li { width: 32%; display: inline-block; vertical-align: top; padding-right: 1%; padding-top: 4%; } 
.page-template-page-exhibitions-php .holder .data .exhibitions .gallery li a { display: block; color: #000; }
.page-template-page-exhibitions-php .holder .data .exhibitions .gallery li a:hover .pic { opacity: .6; }
.page-template-page-exhibitions-php .holder .data .exhibitions .gallery li a:hover .caption { border-bottom: 1px solid #000; }
.page-template-page-exhibitions-php .holder .data .exhibitions .gallery li .pic { width: 100%; height: 200px; display: block; background-position: center center; background-repeat: no-repeat; background-size: cover;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out; } 
.page-template-page-exhibitions-php .holder .data .exhibitions .gallery li .caption { border-bottom: 1px solid #fff; display: inline-block; padding-top: 10px; }
.page-template-page-exhibitions-php .holder .data .exhibitions .txt { padding-top: 20px; line-height: 20px; }
.page-template-page-exhibitions-php .fancybox-title { background: #fff; margin-top: 0; padding: 10px; font-size: 15px; color: #1D1D1B; border: 1px solid #ddd; border-top: 0 none; text-align: center; }
.page-template-page-exhibitions-php .fancybox-title .nombre { display: inline-block; position: absolute; left: 10px; }
.page-template-page-exhibitions-php .fancybox-title .arrows { margin: 0 auto; margin-top: 3px; display: inline-block; }
.page-template-page-exhibitions-php .fancybox-title .arrows a { width: 37px; height: 18px; background: url('images/arrows-gallery.png') 0 0 no-repeat; display: inline-block; margin: 0 10px; }
.page-template-page-exhibitions-php .fancybox-title .arrows .next { background-position: top right; }
.page-template-page-exhibitions-php .fancybox-title .close { width: 12px; height: 12px; background: url('images/close.png') 0 0 no-repeat; display: inline-block; position: absolute; right: 10px; margin-top: 6px; }
.page-template-page-exhibitions-php .fancybox-title a:hover { opacity: .6; }

/* Exhibitions Single */
.single-exhibitions #header .nav .menu li.menu-item-25 a { border-bottom: 1px solid #000; }
.single-exhibitions .holder { }
.single-exhibitions .holder .data { float: right; width: 80%; }
.single-exhibitions .holder .data { line-height: 20px; }
.single-exhibitions .holder .data h2 { color: #000; font-weight: bold; }
.single-exhibitions .holder .data .txt { padding-top: 20px; }
.single-exhibitions .holder .data .txt a { color: #000; }
.single-exhibitions .holder .data .txt a:hover { opacity: .6; }
.single-exhibitions .holder .data .gallery li { width: 32%; display: inline-block; vertical-align: top; padding-right: 1%; padding-top: 4%; } 
.single-exhibitions .holder .data .gallery li a { display: block; color: #000; }
.single-exhibitions .holder .data .gallery li a:hover .pic { opacity: .6; }
.single-exhibitions .holder .data .gallery li a:hover .caption { border-bottom: 1px solid #000; }
.single-exhibitions .holder .data .gallery li .pic { width: 100%; height: 200px; display: block; background-position: center center; background-repeat: no-repeat; background-size: cover;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out; } 
.single-exhibitions .holder .data .gallery li .caption { border-bottom: 1px solid #fff; display: inline-block; padding-top: 10px; }
.single-exhibitions .fancybox-title { background: #fff; margin-top: 0; padding: 10px; font-size: 15px; color: #1D1D1B; border: 1px solid #ddd; border-top: 0 none; text-align: center; }
.single-exhibitions .fancybox-title .nombre { display: inline-block; position: absolute; left: 10px; }
.single-exhibitions .fancybox-title .arrows { margin: 0 auto; margin-top: 3px; display: inline-block; }
.single-exhibitions .fancybox-title .arrows a { width: 37px; height: 18px; background: url('images/arrows-gallery.png') 0 0 no-repeat; display: inline-block; margin: 0 10px; }
.single-exhibitions .fancybox-title .arrows .next { background-position: top right; }
.single-exhibitions .fancybox-title .close { width: 12px; height: 12px; background: url('images/close.png') 0 0 no-repeat; display: inline-block; position: absolute; right: 10px; margin-top: 6px; }
.single-exhibitions .fancybox-title a:hover { opacity: .6; }

.shareBt { position: fixed; z-index: 100; right: 20px; bottom: 20px; }
.shareBt a { width: 32px; height: 48px; background: #fff url('images/share.png') center center no-repeat; background-size: 32px auto; display: inline-block; 
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out; }
.shareBt a:hover { opacity: .6; }
.shareHolder { width: 252px; }
.shareHolder .ssba-wrap > div { background: #1D1D1B; }
.shareHolder .ssba-wrap > div .tit { text-align: center; font-weight: bold; font-size: 15px; color: #fff; padding: 14px 0; padding-bottom: 0; }
.shareHolder .ssba-wrap > div a { display: block; padding: 14px 0 14px 45px; border-top: 1px solid #8B8B8A; }
.shareHolder .ssba-wrap > div a:nth-child(1) { border-top: 0 none; }
.shareHolder .ssba-wrap > div a:hover img { opacity: .6; }
.shareHolder .ssba-wrap .closeShare { width: 12px; height: 12px; background: url('images/close-share.png') 0 0 no-repeat; display: block; position: absolute; top: 16px; right: 20px; cursor: pointer; }
.shareHolder .ssba-wrap .closeShare:hover { opacity: .6; }
.home .shareBt { position: absolute; right: 0; bottom: 20px; }

@media screen 
and (max-width: 800px) { /* 800px */
	
	#header { position: relative; padding: 35px 20px; }
	#header .nav,
	#header > .social { display: none; }
	#header .navMobileBt { display: block; }
	
	.wrapper { padding-bottom: 25px; }
	.content { width: 100%; float: none; padding-right: 0; }
	
	.shareBt { position: absolute; bottom: -50px; right: auto; left: 50%; padding-bottom: 10px; margin-left: -12px; }
	
	.home .content { width: 100%; }
	.home .featured .slides li .pic { height: 500px; }
	.home .featured .data { padding-left: 20px; padding-right: 20px; }
	.home .featured .data .bLeft,
	.home .featured .data .bRight { width: 100%; float: none; }
	.home .featured .data .bRight { padding-left: 0; margin-left: 0; border-left: 0 none; border-top: 1px solid #3C3C3B; padding-top: 20px; margin-top: 20px; }
	.home .featured .data .bRight .txt { width: 100% !important; float: none; padding-right: 0; padding-bottom: 15px; }
	.home .shareBt { right: auto; bottom: -50px; }
	
	.sideNav { width: 100%; float: none; padding-bottom: 15px; }
	.sideNav li { display: none; padding-bottom: 10px; }
	.sideNav .moreArtist,
    .sideNav li.open { display: block; }
	
	.page-template-page-artists-php .items { margin-left: 0; padding-top: 0; padding-left: 20px; padding-right: 20px; }
	
    .page-template-page-artists-php .items li a .pic { margin-bottom: 8px; height: 200px; }
    /*.page-template-page-artists-php .items li a span { margin-left: 20px; }*/
    
    .single-artists .holder { padding-top: 0; padding-left: 20px; padding-right: 20px; padding-bottom: 10px; }
    /*.single-artists .holder .sideNav .moreArtist,
    .single-artists .holder .sideNav li.open { display: block; }*/
    .single-artists .holder .tit { font-size: 24px; padding-bottom: 20px; }
    .single-artists .holder .data { width: 100%; float: none; padding-right: 0; }
    .single-artists .holder .data .selected-works .flexslider { height: auto; padding: 0 30px; }
    .single-artists .holder .data .selected-works .flexslider .slides { height: auto; overflow: hidden; }
    .single-artists .holder .data .selected-works .pic { width: 100%; height: auto; /*max-height: 200px;*/ }
    .single-artists .holder .data .selected-works .pic img { width: 100%; height: auto; /*max-height: 200px;*/ }
    .single-artists .holder .data .selected-works .pic iframe { width: 100%; height: auto; }
    .single-artists .holder .data .txt { width: 100%; }
    .single-artists .holder .data .quote { font-size: 20px; line-height: 26px; padding-bottom: 20px; }
    
    .page-template-page-exhibitions-php .holder { padding-top: 0; padding-left: 20px; padding-right: 20px; }
    .page-template-page-exhibitions-php .holder .data { width: 100%; float: none; padding-right: 0; }
    .page-template-page-exhibitions-php .holder .data .exhibitions h2 { font-size: 24px; }
    
    .single-exhibitions .holder { padding-top: 0; padding-left: 20px; padding-right: 20px; }
    .single-exhibitions .holder .data { width: 100%; float: none; }
    .single-exhibitions .holder .data .gallery li { width: 100%; padding-right: 0; padding-top: 20px; display: block; }
    .single-exhibitions .fancybox-title .nombre { font-size: 12px; text-align: left; }
    .single-exhibitions .fancybox-title .arrows { float: right; margin-right: 20px; }
    .single-exhibitions .fancybox-title .arrows a { width: 20px; height: 10px; background-size: 40px auto; }
    
    .page-template-page-news-php .items { max-width: 100%; padding-top: 0; padding-left: 20px; padding-right: 20px; }
    
    .page-template-page-press-php .items { max-width: 100%; padding-top: 0; padding-left: 20px; padding-right: 20px; }
    
    .page-template-page-fairs-php .items { max-width: 100%; padding-top: 0; padding-left: 20px; padding-right: 20px; }
    
    .page-template-page-gallery-php .holder { padding-top: 0; padding-left: 20px; padding-right: 20px; }
    .page-template-page-gallery-php .holder .data { width: 100%; float: none; padding-right: 0; }
    .page-template-page-gallery-php .holder .sideNav li { display: block; }
    .page-template-page-gallery-php .holder .data .txt { width: 100%; }
    .page-template-page-gallery-php .holder .data .pic { margin-bottom: 20px; }
    .page-template-page-gallery-php .holder .data .contact .txt { width: 100%; float: none; padding-bottom: 15px; }
    	
}

@media screen 
and (max-width: 640px) { /* 640px */

	.home .featured .slides li .pic { height: 400px; }
	
	.page-template-page-artists-php .items li { display: block; width: 100%; margin: 0; margin-bottom: 15px; }
	.page-template-page-artists-php .items li a .pic { height: 270px; }
	
}