/* clearfix for modern browsers */
.clearfix:before, .clearfix:after { content:""; display:table; }
.clearfix:after { clear:both; height: 0px!important;}
/* For IE 6// (trigger hasLayout) */
.clearfix { zoom:1; }

::-webkit-scrollbar { 
    display: none; 
}

html, body{
  height: 100vh;
}

body {
	width: 100%;
	height: 100vh;
	background: white;
	position: absolute;
	margin: 0 auto;
	text-rendering: optimizeLegibility;
	color: black !important;
}

::selection {
	background: none !important;
	opacity: 0;
	color: pink !important;
	text-decoration-color: pink !important;
	text-decoration: none !important;
}


@font-face {
    font-family: 'Favorit';
    src: url('../fonts/favorit-light-webfont.woff2') format('woff2'),
         url('../fonts/favorit-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Times New Roman';
    src: url('../fonts/Times-New-Roman.woff2') format('ttf'),
    	 url('../fonts/Times-New-Roman.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Times New Roman';
    src: url('../fonts/Times-New-Roman-Italic.woff2') format('woff2'),
    	 url('../fonts/Times-New-Roman-Italic.woff') format('woff'),;
    font-weight: normal;
    font-style: italic;
}


/* - GENERAL - */

	#wrapper {
	margin: 0 auto;
	padding-top: 0px;
	max-width: 870px;
	padding-bottom: 0px;
	}

	.clearfix {
		
	}

	sup {
		color: inherit !important;
		background-clip: text;
	}

	p, .esconde {
		font-family: Times New Roman !important;
		font-size: 12pt;
		line-height: 15pt !important;
		margin-bottom: -15px !important;
		margin-top: -15px;
		text-align: justify !important;
		-webkit-hyphens: auto !important;
 		-ms-hyphens: auto !important;
  		hyphens: auto !important;
  		-ms-text-align-last: justify !important;
		-moz-text-align-last: justify !important;
 		text-align-last: justify !important;
	}

	p sup, .esconde sup {
		font-family: Favorit !important;
		vertical-align: -3px;
		letter-spacing: .02em;
		text-transform: uppercase;
	}

	span {
		padding-bottom: 3px;
		padding-top: 3px;
	}


	a {
		text-decoration: underline !important;
		color: inherit !important;
		cursor: pointer !important;
		pointer-events: auto;
	}

	h1 {
		font-size: 12pt !important;
		color: inherit !important;
		letter-spacing: .02em;
		font-weight: lighter !important;
	}

	h1 sup {
		font-family: Times New Roman;
		vertical-align: -3px;
		color: inherit;
		background-clip: inherit;
	}

	h2 {
		font-size: 12pt !important;
		line-height: 14.5pt !important;
		font-weight: lighter !important;
		margin-top: 0px !important;
		margin-bottom: -19px !important;
		letter-spacing: .02em;
		text-align: justify;
		-ms-text-align-last: justify;
		-moz-text-align-last: justify;
 		text-align-last: justify;
 		color: inherit !important;
 		font-family: Times New Roman !important;
 		width: 100%;
	}

	h2 sup {
		font-family: Favorit !important;
		vertical-align: -3px;
		background-clip: inherit;
	}

	p:after, h2:after {
	content: "";
	height: 0px !important;
	line-height: 0px !important;
	display: inline-block;
	width: 100%;
	}

	.espaciofalso {
		padding-left: 4px;
	}

	.slogan {
		bottom: 3%;
		padding-top: 20px; 
		text-align: center;
		font-family: Favorit;
	}

	.galeria ul{
		height: auto;
		list-style: none outside none;
		margin: 0 0;
		display: inline-block;
		padding: 0 0;
		float: center;
		width: 100%;
		text-align: center !important;
		text-align-last: center;
		margin: 0 0px !important;
	}

	.galeria li:first-child{
		display: list-item;
	}

	.galeria li{
		display:none;
		margin: 0 0;
    	padding: 0 0;
	}

	.galeria .prevButton{
		float: left;
		text-align: left;
		z-index:2000;
		width: calc(50% - 10px);
	}

	.galeria .nextButton{
		text-align: right;
		text-align-last: right;
		width: calc(100% - 20px); 
		max-width: 850px;
		z-index: 1000;
	}

	.galeria .nextButton, .galeria .prevButton{
		height:280px;
		cursor:pointer;
		line-height: 7px;
		position: absolute;
	}


	.galeria {
		z-index: 20;
		display: block;
		margin-bottom: 3px;
	}


	.galeria img {
		max-height: 300px;
		max-width: 100%;
		margin: 0 0px;
		z-index: -20;
		float: center;
	}

	#listaobra img, #museografia img {
		max-height: 470px;
		overflow: hidden;
	}

	#listaobra .prevButton, #listaobra .nextButton {
		height: 470px !important;
	}

	#listaobra li h2:after{
		content: none;
	}


	#titles {
	}

	.menu sup {
		padding-left: 3px;
	}

	.esconde sup {
		padding-left: 0px;
	}

	#titles p sup {
		padding-left: 0px;
	}

	#slogan1 {
		display: block;
		width: 100%;
	}

	#slogan2 {
		bottom: 10px;
		position: absolute;
		width: calc(100% - 70px);
	}

	.esconde {
		display: none;

	}

	.esconde div:nth-of-type(n+2){
		margin-top: 15px;
	}

	.rainbow {
  	background-image: -webkit-gradient( linear, left top, right top, color-stop(0, #f22), color-stop(0.15, #f2f), color-stop(0.3, #22f), color-stop(0.45, #2ff), color-stop(0.6, #2f2),color-stop(0.75, #2f2), color-stop(0.9, #ff2), color-stop(1, #f22) );
	background-image: gradient( linear, left top, right top, color-stop(0, #f22), color-stop(0.15, #f2f), color-stop(0.3, #22f), color-stop(0.45, #2ff), color-stop(0.6, #2f2),color-stop(0.75, #2f2), color-stop(0.9, #ff2), color-stop(1, #f22) );
	color:transparent;
	-webkit-background-clip: text;
	background-clip: text;
	-moz-background-clip: text;
	}


 #wrapper {
 	padding: 10px;
 	padding-top: 0px;
 	padding-bottom: 35px;
 }
 


 h1 {
 	margin-top: 8px !important;
 }

 .menu {
	text-align-last: right;
	cursor: pointer;
	}



 span {
 	padding: 0px;
 }




 #titles {
 	width: 100%;
 	height: auto !important;
 	float: right;
 }

.menu {
 	width: 242px;
    text-align: right;
    float: center;
    position: relative;
    padding-right: 25px;
    margin: 0 auto;
 }

#h2esp .menu {
 	width: 265px;
 	text-align: right;
	padding-right: 0px !important;
 }

 #obj .menu {
	padding-right: 37px !important;
 }


#titulo {
	font-style: italic;
	margin: 5px auto;
	width: 100%;
	padding-right: calc(50% - 84px);
	text-align-last: right; 
	text-align: right;
	margin-bottom: 25px;
}



@media screen and (max-width: 760px) {


.galeria img {
	padding-top: 15px;
}

.galeria .nextButton, .galeria .prevButton{
		height:250px;
		cursor: pointer;
		line-height: 7px;
		position: absolute;
	}

}







