body {
	background:#003300;
	background-image:url(images/bg_head.jpg);
	background-repeat:no-repeat;
	background-attachment:fixed;
	background-size: cover;
}

ul.sub-menu {
	float: right;
	position: relative;
	list-style: none;
	z-index: 1000;
}

ul.sub-menu li {
	background: rgba(0, 0, 0, 0.2);
	float: left;
	margin: 0 3px;
}

ul.sub-menu li a {
	color: #FFF;
	text-decoration: none;
	display: block;
	width: 60px;
	padding: 4px;
	text-align: center;
}

ul.sub-menu li a:hover {
	background: rgba(0, 0, 0, 0.1);
}

#menu {
	font: 13px 'Comic Sans MS',Arial, Helvetica;
	color:#FFFFFF;
}

#menu a {
	font: 13px 'Comic Sans MS',Arial, Helvetica;
	color:#FFFFFF;
}

#menu visited {
	font: 13px 'Comic Sans MS',Arial, Helvetica;
	color:#ccc;
}

#menu2 {
	font: 16px 'Comic Sans MS',Arial, Helvetica;
	color:#FFFFFF;
}

#menu2 a {
	font: 16px 'Comic Sans MS',Arial, Helvetica;
	color:#FFFFFF;
}

#menu2 visited {
	font: 16px 'Comic Sans MS',Arial, Helvetica;
	color:#ccc;
}

#menu3 {
	font: 13px 'Courier',Arial, Helvetica;
	color:#FFFFFF;
}

#menu3 a {
	font: 13px 'Courier',Arial, Helvetica;
	color:#FFFFFF;
}

#menu3 visited {
	font: 13px 'Courier',Arial, Helvetica;
	color:#ccc;
}


.menu {
	width: 830px;
	height: 470px;
	margin: 0px auto 0px;
	padding: 4px;
	list-style: none;
	counter-reset: li;
	background: #eee;
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.1) inset;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.1) inset;
	box-shadow: 0 1px 2px rgba(0,0,0,.1) inset;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-webkit-backface-visibility: hidden;
}
.menu:before, .menu:after {
	content: "";
	display: table;
}
.menu:after {
	clear: both;
}
.menu {
	zoom:1;
}
/* -------------------------------- */        

.menu > li {
	position: relative;
	float: left;
	cursor: pointer;
	height: 220px;
	width: 400px;
	margin: 10px 0 0 10px;
	color: #fff;
}
.menu > li:hover, .menu li:focus {
	background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,.2)), to(rgba(255,255,255,0)));
	background-image: -webkit-linear-gradient(top, rgba(255,255,255,.2), rgba(255,255,255,0));
	background-image: -moz-linear-gradient(top, rgba(255,255,255,.2), rgba(255,255,255,0));
	background-image: -ms-linear-gradient(top, rgba(255,255,255,.2), rgba(255,255,255,0));
	background-image: -o-linear-gradient(top, rgba(255,255,255,.2), rgba(255,255,255,0));
	background-image: linear-gradient(top, rgba(255,255,255,.2), rgba(255,255,255,0));
}
.menu .cover {
	z-index: 2;
}
.menu .cover:focus {
	outline: 0;
}
/* -------------------------------- */

.menu > li::after {
	content: "";
	font: italic bold 10px 'Comic Sans MS',serif, georgia;
	position: absolute;
	color: rgba(255,255,255,.1);
	opacity: 0.9;
	filter:alpha(opacity=90);
	-webkit-transition: all .2s ease-out;
	-moz-transition: all .2s ease-out;
	-ms-transition: all .2s ease-out;
	-o-transition: all .2s ease-out;
	transition: all .2s ease-out;
}
.menu > li:hover::after, .menu li:focus::after {
	font-size: 250px;
	opacity: 1.0;
}
.menu .cover::after {
	z-index: -1;
}

/* -------------------------------- */       


.menu > li:nth-child(1), .menu li:nth-child(2), {
 margin-top: 0;
}
 .menu > li:nth-child(1), .menu li:nth-child(4), {
 margin-left: 0;
}
/* -------------------------------- */       

.menu > li:nth-child(1), .menu li:nth-child(1) .content, .menu li:nth-child(1) .close {
	background-color: #620000;
}
.menu > li:nth-child(2), .menu li:nth-child(2) .content, .menu li:nth-child(2) .close {
	background-color: #657823;
}
.menu > li:nth-child(3), .menu li:nth-child(3) .content, .menu li:nth-child(3) .close {
	background-color: #006600;
}
.menu > li:nth-child(4), .menu li:nth-child(4) .content, .menu li:nth-child(4) .close {
	background-color: #3D0051;
}
/* -------------------------------- */

.menu .content {
	opacity: 0;
	display: none\4;
	overflow: hidden;
	font: 13px 'Comic Sans MS',Arial, Helvetica;
	line-height: 130%;
	position: absolute;
	height: 220px;
	width: 400px; /* Ideally: height: 100%; width: 100%; but works at it should just in FF */
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
	-ms-transition: all .3s ease-out;
	-o-transition: all .3s ease-out;
	transition: all .3s ease-out;
}
.menu .expanded {
	opacity: .99;
	display: block\4;
	overflow: visible;
	padding: 40px;
	height: 370px;
	width: 730px; /* Cover the entire area */
}
.menu li:nth-child(2n) .content { /* 1,2 */
	right: 0;
}
.menu li:nth-child(3) .content,  /* 3,4 */ .menu li:nth-child(4) .content {
	bottom: 0;
}
{
 margin-top: -190px;
 top: 50%;
}
/* -------------------------------- */    

.menu .title {
	position: absolute;
	height: 100%;
	width: 100%;
	text-align: center;
	font:  2em/40px 'Comic Sans MS', Arial, helvetica;
	opacity: 0.9;
}
.menu li:hover .title {
	opacity: .7;
}
/* -------------------------------- */

.menu .close {
	display: none;
	border: 5px solid #fff;
	color: #fff;
	cursor: pointer;
	height: 40px;
	width: 40px;
	font: bold 20px/40px 'Comic Sans MS',arial, helvetica;
	position: absolute;
	text-align: center;
	top: -20px;
	right: -20px;
	-moz-border-radius: 40px;
	-webkit-border-radius: 40px;
	border-radius: 40px;
}
.menu .cover .close {
	display: block;
}
/* ------------------------------------ */

#pagina {
	width: 730px;
	height: 90%;
	margin:  auto ;
	padding-left: 40px;
	padding-right: 40px;
	padding-top: 30px;
	padding-bottom: 30px;
	background: #eee;
	border-width:15px;
	border-style:solid;
	border-color:#006600;
	font: 13px 'Comic Sans MS',Arial, Helvetica;
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.1) inset;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.1) inset;
	box-shadow: 0 1px 2px rgba(0,0,0,.1) inset;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-webkit-backface-visibility: hidden;
	line-height: 130%;
}

.gallery {
	display: block;
	margin-left:auto;
	margin-right:auto;
}

#title {
	font: 1.8em/30px 'Comic Sans MS', Arial, helvetica;
}

#english{
	color: #fff;
	text-align: center;
	font: 0.9em 'Comic Sans MS',Arial, Helvetica;
}


#footer {
	color: #fff;
	font: 0.7em Arial, Helvetica;
	bottom: 0; 
	right: 0;
    position: fixed;
}
#footer a {
	color: #ccc;
	text-decoration: none;
}
