/*! normalize.css v1.0.0 | MIT License | git.io/normalize */
article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}html,button,input,select,textarea{font-family:sans-serif}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}h2{font-size:1.5em;margin:.83em 0}h3{font-size:1.17em;margin:1em 0}h4{font-size:1em;margin:1.33em 0}h5{font-size:.83em;margin:1.67em 0}h6{font-size:.75em;margin:2.33em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}blockquote{margin:1em 40px}dfn{font-style:italic}mark{background:#ff0;color:#000}p,pre{margin:1em 0}code,kbd,pre,samp{font-family:monospace,serif;_font-family:'courier new',monospace;font-size:1em}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:75%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}dl,menu,ol,ul{margin:1em 0}dd{margin:0 0 0 40px}menu,ol,ul{padding:0 0 0 40px}nav ul,nav ol{list-style:none;list-style-image:none}img{border:0;-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}figure{margin:0}form{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0;white-space:normal;*margin-left:-7px}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;*overflow:visible}button[disabled],input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;*height:13px;*width:13px}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-cancel-button,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}table{border-collapse:collapse;border-spacing:0}


body {
	font-family: 'Lato', sans-serif;
	font-size: 1.1em;
	line-height: 1.8em;
	color: #666; /*#666; /*#e32929;*/
	font-weight: 300;
	padding: 1rem 5%;
	overflow-y: scroll;
	overflow-x: hidden;
	max-width: 100%;
	max-width: 100vw;
}
.root-galeria body {
	color: #666;
}
img {
	max-width: 100%;
	margin: 1rem 0.2rem;
}
i {
	font-family: 'FontAwesome';
}
hr {
	outline: 0;
	border: 0;
	height: 1px;
	background-color: #666; /*#e32929;*/
}
.root-galeria hr {
	background-color: #666;
}
a,
header .social:before {
	text-decoration: none;
	border-bottom: 1px solid #666; /*#e32929;*/
	padding: 0 .15em;
	margin: 0 -.15em;
	padding-bottom: .07em;
	color: inherit;
	padding-top: .08em;
}
header a {
	white-space: nowrap;
}
header .social {
	display: inline-block;
	position: relative;
}
header .social:before {
	content: "Social";
	cursor: pointer;
}
header .social ul {
	display: none;
	background-color: #666; /*#e32929;*/
	color: white;
	padding: .3em 1em .3em 0;
	margin: 0;
	width: auto;
	position: absolute;
	right: 0;
	top: 2.8em;
	width: 13.2rem;
}
header .social ul:before {
	content: " ";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 20px 20px;
	border-color: transparent transparent #666 transparent;
	position: absolute;
	top: -20px;
	right: 1.2em;
}
header .social li {
	margin: 0 .5rem;
}
header .social a:hover {
	border-bottom: 1px solid white;
}
header .social.open ul {
	display: block;
}
header .social.open:before {
	padding-bottom: 1em;
	border-bottom: none;
}

.root-galeria a {
	border-bottom-color: #666;
}
a:hover, .active a {
	background-color: #666; /*#e32929;*/
	color: white;
}

.tpl-home .main-nav .id1021,
.tpl-home .main-nav .id1022 {
	display: none;
}
.tpl-home body {
	background: url(images/loja_pb.png) no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.root-galeria a:hover, .root-galeria .active a {
	background-color: #666;
}
h1, h2, h3, h4 {
	font-weight: inherit;
	font-size: inherit;
	padding: 0;
	margin: 0;
}
.content {
	clear: both;
}
.body {
	padding-bottom: 5rem;
}
.body h1, .body h2 {
	margin-bottom: 1.9rem;
	font-size: 2.1rem;
	font-weight: 100;
	font-weight: 300;
}
.body h3, .body h4 {
	font-weight: 400;
	font-size: 105%;
}
.logo h1 {
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
	border-bottom: none;
	width: 7.5rem;
	height: 7.5rem;
	display: block;
	background-image: url(images/logo_davinci.png);
	background-size: contain;
	background-repeat: no-repeat;
	left: -.9rem;
	top: .6rem;
}
.body-images {
	margin-right: -1.5rem;
}
.body-images img {
	margin-right: 1.5rem;
	display: inline-block;
	vertical-align: top;
}
/*.root-galeria .logo h1 {
background-image: url(images/logo_galeria.png);
background-position: 0 1rem;
}
.root-molduras .logo h1 {
background-image: url(images/logo_molduras.png);
}
*/
.logo {
	margin: 0;
	padding: 0;
}
.logo:hover {
	background: none;
}
ul {
	margin: 0;
	padding: 0;
}
.home-nav {
	font-size: 4.3rem;
	font-size: 5.5rem;
	text-align: center;
	font-weight: 100;
	line-height: 7.6rem;
	text-transform: lowercase;
}
.home-nav li {
  line-height: 1.28em;
}
.home-nav a {
	padding-top: 0;
	border-width: 2px;
	border-width: 1px;
}
.sub-nav a {
	font-weight: 300;
	border-color: transparent;
}
footer a,
.root-galeria footer a {
	border-color: transparent;
}
.tpl-galeria hgroup a > *:after {
	content: "\A";
	white-space: pre;
}
.tpl-galeria .sub-nav h3:before,
.tpl-exps h3:before {
	content: '«';
	position: relative;
	margin-left: -.2em;
}
.tpl-galeria .sub-nav h3:after,
.tpl-exps h3:after {
	content: "»\A";
}
.tpl-galeria .sub-nav h3:after {
	white-space: pre;
}
.tpl-galeria hgroup a:hover {
	background: inherit;
	color: inherit;
}
.tpl-galeria hgroup a > * {
	background-color: #eee;
	color: #666;
}
.tpl-galeria hgroup a h4 {
	font-weight: 500;
}
.tpl-galeria hgroup a:hover > * {
	background-color: #666;
	color: white;
}
.sub-nav hr {
	margin: 1.5rem 0;
}
.body hr {
	margin: 2.5rem 0 2.57rem;
}
.tpl-exps article h3,
.tpl-artistas article h3 {
	font-weight: 300;
}
.tpl-exps article img,
.tpl-artistas article img {
	margin: 0;
}
.tpl-exps article a,
.tpl-artistas article a {
	border-bottom: none;
}
.tpl-exps article a:hover,
.tpl-artistas article a:hover {
	background-color: transparent;
}
.tpl-exps article:hover a h3,
.tpl-exps article:hover a h4,
.tpl-artistas article:hover a h3,
.tpl-artistas article:hover a h4 {
	background-color: transparent;
	color: #666;
}
.tpl-exps article:hover,
.tpl-artistas article:hover,
.obras-do-artista img:hover {
	background-color: #eee;
	outline: 10px solid #eee;
}
.obras-do-artista img {
	margin-right: .8rem;
}
.tpl-galeria hgroup a > * {
	display: inline;
	padding: 0 .3em .1em;
	margin: 0 -.3em;
}
.tpl-exps article,
.tpl-artistas article {
	box-sizing: border-box;
	width: calc(50% - 1rem);
	margin-right: 1rem;
	display: inline-block;
	vertical-align: top;
	margin-bottom: 2rem;
	position: relative;
}
.tpl-artistas article {
	width: calc(33.3333% - 1rem);
}
.tpl-exps article:nth-child(even) {
	margin-right: 0;
}
.tpl-artistas article:nth-child(3n + 3) {
	margin-right: 0;
}
.main-nav {
	float: right;
	text-align: right;
}

.main-nav div {
	display: inline-block;
	margin-right: 1rem;
}
.main-nav li {
	display: inline-block;
	margin-right: 1.5rem;
}
.main-nav li:last-child {
	margin-right: 0;
}
footer {
	font-size: 90%;
}
time {
	font-size: 92%;
	margin-bottom: 1rem;
	display: block;
	margin-bottom: 0;
}
.tpl-exps time {
	font-size: 80%;
	color: #666;
	position: relative;
}
time:hover {
	color: #666;
}
.tpl-galeria .featured {
	position: relative;
	display: block;
	border-bottom: none;
	font-weight: 500;
	text-align: center;
	height: calc(100vh - 12rem);
	width: 100%;
	max-width: 65%;
	margin: auto;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	top: -4rem;
}
.body h2 ~ time {
	position: relative;
	top: -1.5rem;
}
header .main-nav:before {
	content: " ";
	display: block;
	background: white;
	width: 100%;
	margin-left: -1em;
	height: 6em;
	position: absolute;
	z-index: -10;
	margin-bottom: -6em;
	top: -3em;
	left: 0;
}
.exps-acervo ul {
	list-style-type: none;
}
.obras-do-artista a,
.obras-do-artista a:hover {
	background-color: transparent;
	border-bottom-color: transparent;
}
.obras-do-artista li {
	display: inline;
}
.acervo article:not(:last-child) {
	border-bottom: 1px solid #666;
	padding-bottom: 1rem;
	margin-bottom: 2rem;
}
.acervo article h2 {
	margin-bottom: 1.2rem;
}

@media only screen and (max-width : 55rem) {
	body {
		padding-bottom: 0;
	}
	.content {
		padding-top: 5rem;
	}
	.main-nav li {
		margin-right: 1rem;
	}
	.sub-nav {
		display: block;
		clear: both;
		padding-top: 3rem;
		line-height: 2.8rem;
	}
	.sub-nav li {
		display: inline-block;
		margin-left: 0;
		margin-right: 1rem;
	}
	.home-nav {
		font-size: calc(6vw + 1rem);
		line-height: calc(8vw + 3rem);
	}
	.home-nav a {
		border-bottom-width: calc(1px + .18vw);
	}
	footer {
		line-height: .8em;
		font-size: 80%;
		border-top: 1px solid #eee;
		padding: 1rem 0;
		margin-top: 3rem;
	}
	.content {
		min-height: calc(100vh - 22.2rem);
	}
	.root-galeria footer {
		border-color: #666;
	}
	.tpl-galeria .featured {
		background-position: left;
		margin: 0;
		padding: 0;
		top: 0;
		max-height: 90vw;
		max-width: 100%;
	}
	.sub-nav hgroup {
		line-height: 2rem;
	}
	.tpl-galeria .content {
		padding-top: 2rem;
	}

}
@media only screen and (max-width : 45rem) {
	.main-nav {
		float-left;
		line-height: 2.3rem;
	}
	.main-nav li {
		display: inline;
		margin-left: 0;
		margin-right: 0;
	}
	header .social li {
		display: inline-block;
	}
	.main-nav li:after {
		content: "\A";
		white-space: pre;
	}
	.main-nav li a {
		padding-right: 0;
		padding-left: .2em;
	}
	.main-nav li:last-child a {
		padding-right: .25em;
	}

}

@media only screen and (min-width : 45rem) {
	.tpl-exps article,
	.tpl-exps article:nth-child(even) {
		width: calc(33.3333% - 1rem);
		margin-right: 1rem;
	}
	.tpl-exps article:nth-child(3n + 3) {
		margin-right: 0;
	}
	.tpl-artistas article,
	.tpl-artistas article:nth-child(3n + 3) {
		width: calc(25% - 1rem);
		margin-right: 1rem;
	}
	.tpl-artistas article:nth-child(4n + 4) {
		margin-right: 0;
	}

}


@media only screen and (min-width : 55rem) {
    
	body {
		overflow-y: scroll;
		padding: 0;
	}
	header, footer, .content,
	header .wrap, footer .wrap, .content .wrap {
		position: relative;
		width: 90%;
		max-width: 65rem;
		padding: 0;
		margin: auto;
	}
	header .wrap, footer .wrap, .content .wrap {
		position: fixed;
	}
	.content .wrap {
		position: absolute;
		padding-left: 11rem;
		width: calc(100% - 22rem);
		top: 4.2rem;
		padding-bottom: 3.5rem;
	}
	footer .wrap {
		border: 1000px solid white;
		border-top: 1px solid #eee;
		border-bottom: none;
		margin-left: -1000px;
		height: 3.5rem;
		background: white;
		bottom: 0;
	}
	.sidebar {
		position: absolute;
		width: 10rem;
		right: -11rem;
	}
	.tpl-exps .content .wrap,
	.tpl-artistas .content .wrap {
		width: calc(100% - 11rem);
	}
	header {
		padding-top: 1rem;
		height: 9rem;
		z-index: 100;
	}
	footer {
		z-index: 99;
	}
	footer p {
		margin-top: .6rem;
		float: left;
	}
	footer p:last-child {
		float: right;
	}
	.content {
		z-index: 98;
		padding-bottom: 6rem;
	}
	.sub-nav {
		margin-top: 13rem;
		width: 9rem;
		position: absolute;
	}
	.tpl-home .content .wrap {
		padding-left: 0;
		width: 100%;
		top: calc(50vh - 18.5rem);
	}
	.descr {
		display: block;
		top: 0;
		color: #666;
		font-weight: 300;
		width: 50vw;
	}
	.tpl-galeria .content .wrap {
		position: fixed;
		width: calc(100%);
		padding: 0;
		margin: 0;
		top: 10.7rem;
	}
	header .main-nav:before {
	    width: 1000%;
	}

}


/****************HOME GREY***************/

.tpl-home *,
.tpl-home *:before,
.tpl-home *:after,
.tpl-home header,
.tpl-home body,
.tpl-home footer,
.tpl-home .nav-main,
.tpl-home header .main-nav:before,
.tpl-home .home-nav,
.tpl-home .wrap {
	background-color: transparent;
	color: white;
}
.tpl-home body {
	background-color: #666;
	overflow-y: visible;
}
.tpl-home a:hover,
.tpl-home header .social ul,
.tpl-home header .social ul *,
.tpl-home header .social ul *:before {
	color: #666;
	background-color: white;
}
.tpl-home a, .tpl-home header .social:before {
	border-bottom-color: white;
}
.tpl-home header .social ul:before {
	border-color: transparent transparent white transparent;
}
.tpl-home .logo h1 {
	background-image: url(images/logo_davinci_home.png);
	width: 8.5rem;
	height: 8.5rem;
	left: -1.8rem;
	top: .8rem;
}

.tpl-home footer a {
	border-color: transparent;
}

@media only screen and (min-width: 55rem) {
	.tpl-home footer .wrap {
		border-color: transparent;
	}

}


/* contributed by Mke Rocket at the PW forums https://processwire.com/talk/topic/10593-new-site-—-davinci/?p=100855 */
footer p:last-child {
    width: 180px;
    text-align: right;
}