* {
    margin: 0;
    padding: 0;
}

html { 
	height:100%;
	background: url(../gallery/bg.jpg) no-repeat center top fixed; 
	-moz-background-size: 100% 100%;
-webkit-background-size: 100% 100%;
background-size: 100% 100%;
}

body {
	height:100%;
	background: url(../gallery/bg.jpg) no-repeat center top fixed; 
	-moz-background-size: 100% 100%;
-webkit-background-size: 100% 100%;
background-size: 100% 100%;
    font-family: "Cambria", "Garamond", "Palatino Linotype", "Kepler", "Minion", "Bodoni", "Constantia", Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
    color: #333333;
}

h1 {
    font: bold 32px/50px "Cambria", "Garamond", "Palatino Linotype", "Kepler", "Minion", "Bodoni", "Constantia", Georgia, "Times New Roman", Times, serif;
    color: #ffffff;
    margin: auto;
}

h2 {
    font: bold 20px/50px "Cambria", "Garamond", "Palatino Linotype", "Kepler", "Minion", "Bodoni", "Constantia", Georgia, "Times New Roman", Times, serif;
    color: #333333;
    margin: auto;
}

h3 {
    font: bold 16px/36px "Cambria", "Garamond", "Palatino Linotype", "Kepler", "Minion", "Bodoni", "Constantia", Georgia, "Times New Roman", Times, serif;
    margin: auto;
}

h4 {
    font: bold 14px/30px "Cambria", "Garamond", "Palatino Linotype", "Kepler", "Minion", "Bodoni", "Constantia", Georgia, "Times New Roman", Times, serif;
    color: #333333;
    margin: auto;
}

a {
    color: #555555;
    text-decoration: none;
}

a:hover {
    color: #888888;
	text-decoration: underline;
}


p {
    padding: 5px 0;
    font: 14px/18px "Cambria", "Garamond", "Palatino Linotype", "Kepler", "Minion", "Bodoni", "Constantia", Georgia, "Times New Roman",Times, serif;
    text-align: justify;
	text-indent: 1.5em;
}


#bgheadr {
    width: 100%;
	background: #ffffff;
 }

#site_title { width: 960px; margin: 0 auto; }
#site_title a { display: block; font-size: 12px; font-family: Georgia, "Times New Roman", Times, serif; width: 960px; height: 200px; color: #acacac; text-indent: -10000px; background: url(../gallery/logo.png) no-repeat top center }
 
 #bgmenu {
    width: 100%;
	background: #660000;
	height: 40px;
 }

  #bmenu {
    width: 960px;
	margin: 0 auto;
}
 
 #menu {
	position:relative;
    width: 490px;
	float: right;
 }

.nav {
font-family:sans-serif;
list-style:none;
text-decoration:none;
 } 

.nav li {
float:left;
list-style:none;
}

.nav li a {
background:url(../gallery/bg-menu.png);
color:#ffffff;
display:block;
padding:9px 30px;
}

.nav li .flecha{
font-size: 9px;
padding-left: 9px;
display: none;
}

.nav li a:not(:last-child) .flecha {
display: inline;
}

.nav li a:hover {
color: #cccccc;
background:#660000;
}

.nav li {
position:relative;
}

.nav li ul {
display:none;
position:absolute;
min-width:210px;
}

.nav li:hover > ul {
display:block;
}

.nav li ul li ul {
right:-210px;
top:0;
}

#midhome { 	background: url(../gallery/bg.jpg) no-repeat center center;
			width: 100%;
			height:683px;
}

#bgmiddle {
    width: 100%;
    min-width: 960px;
    text-align: center;
	background: #ffffff;
}

#middle {
    width: 100%;
    min-width: 960px;
    text-align: center;
}

#middle_2 {
    margin: auto;
    width: 945px;
	padding: 20px 15px 0;
	background: #ffffff;
}

#middle_3 {
    margin: auto;
    max-width: 960px;
	padding: 20px 15px 0;
	background: #ffffff;
	text-align: center;
}

#contp {
    margin: auto;
    max-width: 400px;
	padding: 0;
	background: #ffffff;
	text-align: left;
}

.title {
    text-align: center;
	font-size: 16px;
}

#libro {
    margin: auto;
    width: 980px;
	background: #ffffff;
}

#slider {
    float: right;
    width: 405px;
}

#right {
    float: right;
    margin-right: 25px;
    margin-top: 20px;
    width: 385px;
}

#right2 {
    float: right;
    margin-right: 25px;
    width: 385px;
}

#right ul {
    text-align: left;
    list-style: none;
    padding: 10px 10px 10px 10px;
    font: 12px "Cambria", "Garamond", "Palatino Linotype", "Kepler", "Minion", "Bodoni", "Constantia", Georgia, "Times New Roman",Times, serif;
}

#right ul.lastul {
    padding-bottom: 0;
}

#right ul li {
    padding: 0;
    height: 18px;
}

#left {
    float: left;
    width: 385px;
}

#left2 {
    float: left;
    margin-left: 25px;
    width: 385px;
}

#left3 {
    float: left;
    width: 520px;
}

#lastbox {
    margin-bottom: 0;
}

#pad {
    clear: both;
    height: 10px;
    overflow: hidden;
}

#footer {
    clear: both;
    margin: 0 auto;
    padding-bottom: 5px;
    max-width: 768px;
    height: 1%;
}

#footer_2 {
    margin: auto;
    text-align: center;
 }

#footer p {
    font: bold 10px/14px "Cambria", "Garamond", "Palatino Linotype", "Kepler", "Minion", "Bodoni", "Constantia", Georgia, "Times New Roman",Times, serif;
	color: #444444;
    text-align: center;
}

#footer p.copyright {
    text-align: center;
}

#pieFinal{ visibility: hidden; clear: both; width: 100%; height: 0px; font-size: 0px; }