html { height:100%; }

body {
	background-color:  #D7EFAE;
	font-family: Verdana, "Trebuchet MS", Arial;
	margin: 0 auto 0 auto;
	padding: 0;
	width: 100%;
	font-size: 8pt;
	color: #595959;
}

#container {
	max-width: 1400px;
	min-width: 1000px;
}

* html #container {
   width: expression( document.body.clientWidth > 1399 ? "1400px" : document.body.clientWidth < 1000 ? "1000px": "auto" ); /* sets max-width for IE */
}

a {
	text-decoration: none;
	color: #595959;
}

img {
		border:0;
}

p {
	font-family: "Trebuchet MS", Verdana, Arial;
	font-size: 10pt;
	color: #595959;
}

div {
	/*margin: 0;
	padding: 0;*/
}

#header {
	background-color: #F2FADD;
	width: 100%;
}

#top {
	width: 100%;
	height: 280px;
}

#logo_up{
	margin: 0;
	padding:0;
	width: 245px;
	height: 280px;
	background: url('../images/logo_up.png') no-repeat bottom left;
}

#logo_up img {
	margin: 0;
	padding: 0;
}

#logo_middle {
	float:left;
	width: 245px;
	height: 35px;
	background: url('../images/logo_middle.png') no-repeat bottom left;
}

#logo_down{
	z-index: 10;
	left: 0;
	height: 16px;
	width: 245px;
	background: url('../images/logo_down.png') no-repeat bottom left;
}

#bar {
	background: url("../images/bar_back.png") repeat-x left;
	height: 35px;
	width: 100%;
	z-index: 9;
	padding: 0;
	margin: 0;
	/*background: #C7DC5D;
	border-top: 1px solid #608624;
	border-bottom: 5px solid #608624;*/
}

#buttons {
	/*min-width: 900px;
	width: expression( document.body.clientWidth < 900 ? "900px" : "auto" );  sets min-width for IE */
	margin-top: 0;
	margin-left: 270px;
	padding: 0;
}

#buttons img {
	border: 0;
	margin: 0;
	padding: 0;
	height: 25px;
}

#buttons ul {
	list-style: none;
	border:0;
	padding-top: 8px;
	margin: 0;
}

#buttons ul li {
	display: inline;
	padding-top: 0;
	margin: 0;
}

#buttons ul li a, #buttons ul li a:hover {
	font-family: Verdana,"Trebuchet MS", Arial;
	font-size: 8pt;
	margin: 0;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 30px;
	padding-right: 30px;
	font-weight: bolder;
	color: #FFFFFF;
}

#buttons ul li a:hover {
	/*color: #608624;*/
	color: #294929;
}
#buttons ul li a.active {
	color: #294929;
}

#content {
	background-color: #F2FADD;
	clear: both;
	width: 100%;
	height: 320px;
	padding:0;
	overflow: hidden;
}

.borderBottom {
	border-bottom: 2px solid #608624;
}

#footer {
	clear:both;
	background-color:  #C7DC5D;
	width: 100%;
	height: 18px;
	margin: 0;
	padding: 0;
	color: #e9e9e9;
	font-weight: bold;
	text-align: center;
}

/****** MAIN *****/
.titulo {
	margin-left: 40px;
}


#frase {
	float:left;
	margin-left: 2%;
	margin-right: 2%;
	text-align: center;
	width: 50%;
}

#frase img {
	height: 40px;
}

#frase p {
	margin-top: 5px;
}

#frase #firma {
	font-weight: bold;
	text-align: right;
}

#emblemas {
	float: right;
	background-color: #E2EACD;
	width: 31%;
	margin-right: 5%;
	text-align: center;
	top: -14px;
	height: 320px;
	position: relative;
}

#emblemas img {
	margin-top: 2%;
}

#emblemas p {
	font-weight: bold;
	font-size: 7pt;
}

/****** SECCIONES *****/

#descripcion, #formulario {
	width: 46%;
}

#nosotros {
	width: 51%;
}

* html #descripcion, * html #formulario{
	width: 50%;
}

* html #nosotros{
	width: 55%;
}

* html #descripcion, * html #nosotros, * html #gallery, * html #gallery_nosotros, * html #menuCabanyas, * html #descUbicacion, * html #datosContacto, * html #gnomoSentado {
	height: 320px;
	margin: 0 auto;

}

#descUbicacion {
	width: auto;
}

#descripcion, #descUbicacion, #formulario, #nosotros {
	position: relative;
	float: left;
	top: -16px;
	height: 100%;
	max-height: 336px;
	padding-left: 2%;
	padding-right: 2%;
	padding-bottom: 0;
	padding-top: 0;
}

#descripcion img, #descUbicacion img, #formulario img, #nosotros img {
	height: 40px;
	margin: 20px 0 0 0;
}

#descripcion p, #descUbicacion p, #nosotros p {
	margin-top: 5px;
	margin-bottom: 0;
}

#descripcion ul {
	list-style-type: square;
	margin-top: 5px;
	margin-left: 20px;
	margin-bottom: 0;
	padding:0;
}

#descripcion ul li {
	line-height: 16px;
	font-size: 8pt;
	margin: 0;
	padding:0;
}

#gnomoCartel {
	width: 155px;
	height: 200px;
	float: right;
	background: url('../images/cabanyas/gnomocartel.png') no-repeat right bottom;
}

#gnomoCartel img {
	height: 140px;
}

#gallery {
	float: left;
	position: relative;
	width: 25%;
	height: 100%;
	max-height: 322px;
	margin-left:0;
	margin-right:0;
	top: -25px;
	text-align: center;
}

#gallery_nosotros {
	float: left;
	position: relative;
	width: 18%;
	height: 100%;
	max-height: 336px;
	margin: 2% 3%;
	top: -14px;
	text-align: center;
}

#gallery_nosotros img {
	margin: 2% auto;
	/*margin-left: 7%:*/
}

#gallery_nosotros p {
	font-weight: bold;
	font-size: 7pt;
}


a.facebook {
	font-size: 8pt;
	font-style: italic;
	margin-left: 15%;
	margin-top: 0;
}

a.facebook:hover {
	text-decoration: underline;
}

#gallery.active {
	background-color:  #D7EC7D;
}

#gallery table {
	display: inline;
}

#gallery table ul {
	padding-top: 50px;
}

#gallery p {
	font-weight: bold;
	margin-left: 5px;
	margin-bottom: 0px;
	padding-bottom: 0px;
	/*color: #295929;*/
	color: #D97900;
}

.thumb, .thumb1 {
	list-style: none;
	display: inline;
	padding: 0;
	margin: 0;
}

.thumb li, .thumb1 li {
	background-color: #E2EACD;
	border: 1px solid #E2EACD;
	text-align: center;
}

.thumb li {
	padding: 3px 3px 10px 3px;
	margin: 0px 5px 15% 5px;
	width: 100px;
	height: 42px;
}

.thumb1 li {
	padding: 3px 3px 0px 3px;
	margin: 0px 5px 10px 5px;
	width: 100px;
}

.thumb img, .thumb1 img {
	padding:0;
	margin: 0;
}

#galUbicacion {
	padding: 0;
}

#galUbicacion .thumb {
	margin: 0;
	padding: 0;
}

#galUbicacion .thumb li {
	margin: 0 5px 5% 5px;
	width: 100px;
	height: 42px;
}

#mapaVilla {
	float: right;
	position: relative;
	top: -16px;
}

#menuCabanyas, #datosContacto, #gnomoSentado {
	position: relative;
	float: left;
	top: -25px;
	width: 21%;
	height: 105%;
	background-color:  #D7EFAE;
	overflow: hidden;
}

#menuCabanyas ul {
	top: 0;
	list-style: none;
	padding-top: 20%;
	padding-left: 0;
	height: 80%;
	width: 100%;
	margin-left: 0;
}

#menuCabanyas ul li {
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 0;
	padding-right: 0;
	width: 100%;
	margin-left: 0;
}

#menuCabanyas ul li a {
	display: block;
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 20%;
	width: 81%;
}

* html #menuCabanyas ul li a {
	\width: 100%; /* for IE5 and IE6 in quirks mode */
	w\idth: 100%; /* for IE6 in standards mode */
	margin-left:0;
}

#menuCabanyas ul li a.active {
	background-color:  #D7EC7D;
	border-left: 4px solid #F6C149;
	color: #000000;
}

#menuCabanyas ul li a.inactive {
	background-color: #F2FADD;
}

#menuCabanyas ul li a.inactive:hover {
	color: #000000;
	background-color:  #D7EC7D;
	background-color:  #D7EC7D;
}

#formulario .label{
	font-size: 9pt;
	width: 70px;
}

#formulario input, #formulario textarea {
	border: 1px solid #696969;
	font-size: 9pt;
	width: 300px;
}

#formulario textarea {
	width: 373px;
	height: 100px;
}

#formulario #consultar {
	height: 24px;
	width: 90px;
	margin-top: 65px;
	margin-left: 20px;
	color: #294929;
	background-color: #C7DC5D;
	border-right: 1px solid #608624;
	border-bottom: 1px solid #608624;
	border-top: 1px solid #A0C664;
	border-left: 1px solid #A0C664;
}

#datosContacto p {
	text-align: center;
	margin-top: 25%;
	font-size: 10pt;
}

#datosContacto a.facebook{
	margin-left: 0;
}

#datosContacto a.facebook img {
	margin-top: 10%;
}

#datosContacto p a {
		font-weight: bold;
}

#datosContacto p a:hover {
	text-decoration: underline;
}

#gnomoContacto {
	background: url('../images/gnomowebizq.png') no-repeat right bottom;
	height: 100%;
	max-height: 320px;
	width: 223px;
}

#galUbicacion img {
	margin: 0;
}

#gnomoSentado {
	background: #D7EFAE url('../images/servicios/gnomosentado.png') no-repeat bottom right;
}
