@import url('reset.css');

body {
	color: #ffffff;
	overflow-x: hidden;
	
}

#header {
	border-bottom: 1px solid #807057;
}

.main_container {
	width: 100%;
}

#index_gallery {
	position: relative;
	width: 100%;
}

/* ------ SEARCH BAR ------- */

#site_content {
	max-width: 950px;
}

#index_search {
	position: absolute;
	display: inline-block;
	margin: 0 auto;
	width: 100%;
	z-index: 50;	
	clear: both;
	text-align: center;
	padding-top: 90px;
}

#index_search_bar {
	display: inline-block;
	position: relative;
}

input {
	border: none;	
}

input#index_search_input {
	height: 30px;	
	background: #FFF;
	border: none;	
	padding-left: 15px;
	padding-right: 30px;
	padding-top: 3px;
	padding-bottom: 3px;
	width: 450px;
	color: black;
	margin: 0;
	vertical-align: top;
}

img.index_search_delete_icon {
	position: absolute;
	right: 10px;
	top: 11px;
	border: none;
	cursor: pointer;
}

div#search_button_black {
	vertical-align: top;
	display: inline-block;
	position: relative;
	text-align: center;
	background: none;
	cursor: pointer;
	right: 5px;
}


/* ------- PICTURE ROTATOR --------*/



#picture_rotator {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	max-width: 100%;
	position: relative;
	margin: 40px auto;
	margin-bottom: 0;
	text-align: center;
	
	-webkit-perspective: 1500px;
	-moz-perspective: 1500px;
	-ms-perspective: 1500px;
	perspective: 1500px;
	margin-bottom: 10px;
}

div#picture_rotator_picture_container {
	max-width: 100%;

}

div#picture_rotator_picture_container_overflow {
	overflow: hidden;
	width: 100%;
	max-height: 500px;
}

div#picture_rotator_picture_container_overflow ul {
	position: relative;
	text-align: left;
	margin: 0;
	padding: 0;
	white-space: nowrap;
	list-style-type: none;
	left: 0;
}

li.picture_rotator_picture {
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
}

li.picture_rotator_picture img {
	position: relative;
	width: 100%;
}

div#museoteca_slogan {
	text-align:center;
	margin: 0 auto;
	width: 100%;
	position: absolute;
	top: 230px;
	z-index: 999;
	display: none;
	background: rgb(50, 50, 50); /* Fallback */
    background: rgba(50, 50, 50, 0.5); 
    padding: 30px 0;
    min-height: 90px;
}

img#slogan_bg {
	position: relative;
	max-width: 100%;
}

.flexslider .slides .slogan_logo {
	max-width: 100%;
	width: 230px;
	margin: auto;
	display: block;
}

.flexslider .slides .slogan_text {
	margin-top: 10px;
	max-width: 100%;
	width: 230px;
	margin: auto;
	display: block;
}

.title_show {
	opacity: 1;
	z-index: 999;	
}

.picture_rotator_picture_img {
	position: relative;
	display: inline-block;
	/*-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transform-style: preserve-3d;
	
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;*/
}

div#rotator_navigation_dots {
	margin: 0 auto;
	text-align: center;
	margin-bottom: 10px;
	max-width: 800px;
}

div.rotator_dot {
	display: inline-block;
	margin: 10px;
}

div.rotator_button_left, div.rotator_button_right {
	z-index: 99;
}

div.rotator_button_bottom {
	margin: 0 10px 0 10px;
	vertical-align: top;
}

div#rotator_button_left {
	position: absolute;
	left: 20px;
	top: 50px;
}

div#rotator_button_right {
	position: absolute;
	right: 20px;
	top: 50px;
}

div.rotator_button_left img, div.rotator_button_right img {
	position: relative;
	max-width: 100%;
}

.frontface {
	-webkit-transform: rotateY(0deg);
	-moz-transform: rotateY(0deg);
	-o-transform: rotateY(0deg);
	-ms-transform: rotateY(0deg);
	transform: rotateY(0deg);
	
	-webkit-transition: 2s;
	-moz-transition: 2s;
	-ms-transition: 2s;
	-o-transition: 2s;
	transition: 2s;
	
	z-index: 999;
}

.flip_prevface {
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
	transform: rotateY(180deg);
	
	-webkit-transition: 2s;
	-moz-transition: 2s;
	-ms-transition: 2s;
	-o-transition: 2s;
	transition: 2s;
	
	z-index: 1;
	
}

.flip_prevface_no_animation {
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
	transform: rotateY(180deg);
	z-index: 1;
}

.flip_nextface {
	-webkit-transform: rotateY(-180deg);
	-moz-transform: rotateY(-180deg);
	-o-transform: rotateY(-180deg);
	-ms-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
	
	-webkit-transition: 2s;
	-moz-transition: 2s;
	-ms-transition: 2s;
	-o-transition: 2s;
	transition: 2s;
	
	z-index: 1;
}

.flip_nextface_no_animation {
	-webkit-transform: rotateY(-180deg);
	-moz-transform: rotateY(-180deg);
	-o-transform: rotateY(-180deg);
	-ms-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
	z-index: 1;
}



/* ---- FLOAT NEWSLETTER ---- */

div#newsletter_float {
	position: fixed;
	top: 100px;
	width: 320px;
	background: #7E70B1;
	z-index: 999;
	height: 54px;
	padding-left: 10px;
	padding-top: 8px;
	font-size: 12px;
	left: -285px;
	-moz-box-shadow: 0 0 5px #ccc;
	-webkit-box-shadow: 0 0 5px #ccc;
	box-shadow: 0 0 5px #ccc;
}

div#newsletter_float_img {
	position: absolute;
	height: 60px;
	width: 50px;
	right: 0;
	top: 0;
	cursor: pointer;
}

div#newsletter_float_img img {
	position: absolute;
	right: 15px; 
	height: 30px;
	top: 15px;
}

div#newsletter_float_input {
	display: inline-block;
	margin-left: 10px;
}

div#newsletter_float input {
	box-sizing: border-box;
	max-width: 315px;
	-webkit-appearance: none;
	background-color: white;
	border: 1px solid #ccc;
	padding: 5px;
	text-align: left;
	vertical-align: middle;
	border-radius: 2px;
	margin-top: 3px;
}

div#newsletter_float button {
	display: inline-block;
	position: relative;
	text-align: center;
	padding: 4px 15px 3px;
	border: 1px solid #ccc;
	height: 27px;
	vertical-align: bottom;
}



/* ---- LAST EXPOSITIONS Section ---- */

#last_expositions {
	margin: auto;
	margin-top: 40px;
	max-width: 100%;
}

.index_section_title {
	font-family: 'FontRegular', arial, helvetica, sans-serif;
	width: 100%;
	font-size: 25px;
	color: #000;
	text-align: left;
	text-transform: uppercase;
	padding-top: 20px;
	
}

#content_expositions {
	margin-top: 20px;
}

#last_expositions .museum_row {
	cursor: pointer;
	padding: 4px;
	padding-top: 12px;
	padding-bottom: 12px;

}

#last_expositions .museum_row:after{
    clear: both;
    content: "";
    display: block;
}

#last_expositions .museum_row{
	color: #000;
}

#last_expositions .museum_row:hover{
	background-color: #edece8;
}

#last_expositions .museum_row .color {
	width: 15px;
	height: 15px;
	float: left;
	margin-top: 2px;
	margin-right: 5px;	
}

#last_expositions .museum_row .museum {
	float: left;
	width: 300px;
	max-width: 40%;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	font-weight: bold;
	font-size: 1em;
}

#last_expositions .museum_row .collection {
	float: left;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

#last_expositions .museum_row .date {
	float: right;
}

.more {

	text-align: right;
	border-top: 1px solid #999999;
	margin: 5px 0px 20px 0px;
	padding-top: 5px;
}

.more a {
	color: #333;
	text-decoration: none;
}

/* ---- MUSEUMS Section ------- */

.gallery_slider {
	text-align: center;
    margin: auto;
    position: relative;
	margin-top: 30px;
	max-width: 1200px;
	padding-right: 10px;
	padding-left: 10px;
	
}

.gallery_slider .gallery_slider_item {
	position: relative;
	display:inline-block;
	width: 270px;
	height: 390px;
	margin: 10px;
}

.gallery_slider .gallery_slider_item_small {
	position: relative;
	display:inline-block;
	width: 180px;
	height: 240px;
	margin: 9.5px;
	vertical-align: top;
}


#museums .museum_logo {
	position: relative;
	top: 0;
}

.gallery_slider a {
	text-decoration: none;
}

.gallery_slider .gallery_slider_img_container {
	position: relative;
	width: 270px;
	height: 270px;
	overflow: hidden;
}

.gallery_slider .gallery_slider_img_container_small {
	position: relative;
	width: 180px;
	height: 180px;
	overflow: hidden;
}


.gallery_slider .gallery_slider_img {
	max-width: 100%;
	max-height: 100%;
	min-width: 200px;
	min-height: 200px;
}

.gallery_slider .gallery_slider_item_name {
	line-height: 1.2;
	position: absolute;
	width: 95%;
	height: 100px;
	color:#fff;
	padding: 0;
	margin: 0;
	text-align: left;
	padding-left: 5%;
	font-family: 'FontLight', arial, helvetica, sans-serif;
	font-size: 18px;
}

.gallery_slider .gallery_slider_item_name_center {
	line-height: 1.2;
	width: 95%;
	padding: 0;
	margin: 0;
	font-size: 18px;
	font-family: 'FontLight', arial, helvetica, sans-serif;
	color: #000;		
}

img.image_A {
	position: absolute;
	display: none;
	z-index: 9;
}

img.image_B {
	position: absolute;
	display: none;
	z-index: 10;
}

.gallery_slider .gallery_slider_title {
	position: relative;
	z-index: 12;
}

.gallery_slider .triangle {
	position: absolute;	
	left: 0;
	top: -27px;
	width: 270px;
	height: 150px;
}

.flexslider {
	border: none;
	}
	
.flexslider .slider_bg{
	max-height: 500px;
	position: relative;
}

.slider_bg .slider_overlay{
	position: absolute;
	top: 0px;
	height: 100%;
	width: 100%;
}

.slider_overlay .museoteca_slogan{
	width: 100%;
	top: 50%;
	transform: translateY(-50%);
	padding-top: 40px;
	padding-bottom: 40px;
	background-color: rgba(0, 0, 0, 0.5);	
	position: relative;
}

a#more_museums_link {
	text-decoration:underline;
}

#index_gallery_container {
	margin: 30px auto; 
	
}

#tags_container {
	width: auto;
	margin-left: -10px;
	margin-right: -10px;
	}


/*------- RESPONSIVE --------*/

@media all and (max-width: 800px) {
	
	div#newsletter_float {
		display: none;
	}
	
	div#museoteca_slogan {
		top: auto;
		bottom: 5px;
	}
}

@media all and (max-width: 675px) {
	#last_expositions .museum_row .museum {
		width: 90%;
		max-width: 90%;
	}

	input#index_search_input {
		width:200px;
	}
	
	div#museoteca_slogan {
		padding: 10px 0;
	}
	
	div#rotator_button_left, div#rotator_button_right {
		top: 30px;
	}
	
	#slogan_logo {
		width: 30%;
		height: auto;
	}
	
	#slogan_text {
		width: 30%;
		height: auto;
	}
	
	.slider_overlay .museoteca_slogan {
		top: auto;
		bottom: 0px;		
		transform: none;
		padding-top: 20px;
		padding-bottom: 20px;
		position: absolute;
	}


}

@media all and (max-width: 600px) {
	#index_search {
		padding-top: 60px;
	}
}

@media all and (max-width: 600px) {
	#index_search {
		display: none;
	}
	
	.gallery_slider .gallery_slider_img_container_small {
		width: 150px;
		height: 150px;
		
	}
	
	.gallery_slider .gallery_slider_item_small {
		width: 150px;
	}

}

@media all and (max-width: 350px) {
	input#index_search_input {
		width:120px;
	}
	

	
	
	
}

@media all and (max-width: 260px) {
	input#index_search_input {
		width:100px;
	}
}

