* {
	margin: 0;
	padding: 0;
}
html, body { width: 100%; height: 100%; }
body {
	font: 1.0em Times New Roman, Arial, sans-serif, Verdana;
	color: #111;
	background: #000 url(images/bg.jpg) top left repeat-x;
}
h1 span, h2 span, a span { display: none; }
a { color: #111; }
a:hover { color: #8B2116; }
img { border: 0px !important; }
.clearer { clear: both; }

#container {
	width: 920px;
	margin: 0 auto;
	position: relative;
	z-index: 0;
}
#top {
	width: 900px;
	height: 50px;
	padding: 0px 10px;
	margin-top: 35px;
	background: transparent url(images/main-bg.gif) bottom left no-repeat;
}
#top[id] { background: transparent url(images/main-bg-top.png) bottom left no-repeat; }
#top a {
	display: block;
	float: right;
	width: 50px;
	padding: 5px 20px 15px 20px;
	margin-left: 1px;
	background: transparent url(images/top-a-bg.gif) bottom left repeat-x;
	font-size: 0.80em;
	text-align: center;
	text-decoration: none;
	color: #333;
}
#top[id] a { background: transparent url(images/top-a-bg.png) bottom left repeat-x; }
#top a:hover { color: #8B2116; }
#top a.deactivated { background: transparent url(images/top-ad-bg.gif) bottom left repeat-x; }
#top[id] a.deactivated { background: transparent url(images/top-ad-bg.png) bottom left repeat-x; }
#inner {
	width: 910px;
	padding: 0px 10px 0px 0px;
	background: transparent url(images/main-bg.gif) top left repeat-y;
}
#inner[id] { background: transparent url(images/main-bg-mid.png) top left repeat-y; }

#menu {
	float: left;
	width: 231px;
	padding-bottom: 50px;
}
#menu-logo {
	display: block;
	width: 201px;
	height: 357px;
	margin: 0px 10px 10px 20px;
	background: transparent url(images/villa-merida-logo.gif) center center no-repeat;
}
#menu ul {
	list-style-type: none;
	padding-bottom: 1px;
	background: transparent url(images/menu-li-bg.gif) 0 bottom no-repeat;
}
#menu ul li {
	font-size: 0.80em;
	width: 231px;
	padding: 2px 0px 0px 0px;
	background: transparent url(images/menu-li-bg.gif) 0 0 no-repeat;
}
#menu[id] ul li { padding: 2px 0px 1px 0px; }
#menu ul li a {
	display: block;
	width: 171px;
	padding: 10px 30px 10px 30px;
	text-decoration: none;
}
#menu ul li a:hover, #menu ul li a.selected { color: #FFF; background: transparent url(images/menu-hover.gif) top left no-repeat; }

#main {
	float: left;
	width: 639px;
	padding: 10px 20px;
}
#main h2 {
	width: 639px;
	height: 40px;
	margin-top: 10px;
	color: #8B2116;
}
#h2-index { background: #FFF url(images/h2-index.gif) top left no-repeat; }
#h2-accommodations { background: #FFF url(images/h2-accommodations.gif) top left no-repeat; }
#h2-location { background: #FFF url(images/h2-location.gif) top left no-repeat; }
#h2-attractions { background: #FFF url(images/h2-attractions.gif) top left no-repeat; }
#h2-gallery { background: #FFF url(images/h2-gallery.gif) top left no-repeat; }
#h2-rates { background: #FFF url(images/h2-rates.gif) top left no-repeat; }
#h2-contact { background: #FFF url(images/h2-contact.gif) top left no-repeat; }
#h2-links { background: #FFF url(images/h2-links.gif) top left no-repeat; }
#h2-press { background: #FFF url(images/h2-press.gif) top left no-repeat; }
#h2-packages { background: #FFF url(images/h2-packages.gif) top left no-repeat; }

#h2-sp-index { background: #FFF url(images/h2-sp-index.gif) top left no-repeat; }
#h2-sp-accommodations { background: #FFF url(images/h2-sp-accommodations.gif) top left no-repeat; }
#h2-sp-location { background: #FFF url(images/h2-sp-location.gif) top left no-repeat; }
#h2-sp-attractions { background: #FFF url(images/h2-sp-attractions.gif) top left no-repeat; }
#h2-sp-gallery { background: #FFF url(images/h2-sp-gallery.gif) top left no-repeat; }
#h2-sp-rates { background: #FFF url(images/h2-sp-rates.gif) top left no-repeat; }
#h2-sp-contact { background: #FFF url(images/h2-sp-contact.gif) top left no-repeat; }
#h2-sp-links { background: #FFF url(images/h2-sp-links.gif) top left no-repeat; }
#h2-sp-press { background: #FFF url(images/h2-sp-press.gif) top left no-repeat; }

#main h3 {
	padding-bottom: 10px;
	font-size: 1.3em;
	font-weight: normal;
	color: #8B2116;
	clear: both;
}
#main h4 {
	padding-bottom: 10px;
	font-size: 1.1em;
	font-weight: normal;
	color: #111;
}

#main h5 {
	padding-bottom: 10px;
	font-style: italic;
	font-weight: normal;
	font-size: 0.80em;
	color: #224D0E;
}
#main p {
	padding-bottom: 20px;
	font: 0.75em Helvetica, Arial, sans-serif, Verdana;
	line-height: 1.7em;
	color: #111;
}
#main p a:hover { color: #8B2116; text-decoration: none; }
#main p a:hover { color: #8B2116; text-decoration: underline; }
#main ul { padding: 0px 0px 20px 30px; }
#main ul li {
	padding: 4px 0px 4px 10px;
	font: 0.75em Helvetica, Arial, sans-serif, Verdana;
	color: #111;
}
#main table {
	margin-bottom: 15px;
	border-bottom: 1px solid #726a5b;
	border-right: 1px solid #726a5b;
}
#main td {
	padding: 10px;
	font: 0.75em Helvetica, Arial, sans-serif, Verdana;
	line-height: 1.5em;
	color: #111;
	border-top: 1px solid #ABA59A;
	border-left: 1px solid #ABA59A;
}
#main tr.table_headers td { background: #AD1515 url(images/table_headers_bg.gif) top left no-repeat; color: #FFF; }
#main tr.table_additional td { background-color: #F7F3ED; color: #999; }
#main td.table_left { background-color: #F4F2EF; }
#main table#rates_table { width: 100%; margin-top: 10px; }
#main table#weekly_table { width: 100%; }
#main table#rates_table td { text-align: center; }

a#rates_submit, a#rates_sp_submit, a.sp_book_this_package {
	float: right;
	display: block;
	width: 232px;
	height: 34px;
	border: 0px;
	cursor: pointer;
	background: transparent url(images/make_an_online_reservation.gif) top left no-repeat;
}
a#rates_sp_submit, a.sp_book_this_package {
	width: 193px;
	background: transparent url(images/sp_make_an_online_reservation.gif) top left no-repeat;
}
a#rates_submit:hover { background-position: -232px 0px; }
a#rates_sp_submit:hover, a.sp_book_this_package:hover { background-position: -193px 0px; }
a#rates_submit span, a#rates_submit span, a.sp_book_this_package span { display: none; }
.rate_info, .package_info { color: #999 !important; font-size: 0.70em !important; }
.package_info { padding-top: 20px; }
#footer {
	width: 900px;
	padding: 20px 10px 40px 10px;
	background: transparent url(images/main-bg.gif) top left no-repeat;
}
#footer[id] { background: transparent url(images/main-bg-bottom.png) top left no-repeat; }

#quote { float: left; text-align: left; max-width: 500px; }
#quote h6 {
	font-size: 1.0em;
	font-weight: normal;
	font-style: italic;
	color: #FFF;
}
#quote h6 span { display: block; width: 100%; text-align: right !important; font-size: 0.90em; }
#copyright {
	float: right;
	padding-left: 20px;
	font-size: 0.75em;
	color: #FFF;
	text-align: right;
}
#copyright a { color: #FFF; }
#copyright a:hover { color: #8B2116; }

/*-----inline images-----*/
.inline-left, .inline-right { color: #B8AA8E; text-align: right; }
.inline-left, .inline-right, .inline-left:hover, .inline-right:hover  { text-decoration: none !important; }
.inline-left img, .inline-right img { padding-bottom: 2px; }
.inline-left, img.image-left {
	float: left;
	display: block;
	padding: 5px 5px 3px 5px;
	margin: 9px 9px 9px 0px;
	border: 1px solid #D5CDBD !important;
	background: #EBE5DC;
}
.inline-right, img.image-right {
	float: right;
	display: block;
	padding: 5px 5px 3px 5px;
	margin: 9px 0px 9px 9px;
	border: 1px solid #D5CDBD !important;
	background: #EBE5DC;
}
img.image-left, img.image-right { padding: 5px !important; }
.clear-right { clear: right; }
.clear-left { clear: left; }
.inline-top { margin-top: 0px; }
.inline-rates { margin-top: 10px; }
/*-----gallery-----*/
#gallery {
	padding-top: 5px;
}
.gallery-image {
	float: left;
	display: block;
	width: 141px;
	height: 90px;
	padding: 5px;
	margin: 0px 0px 9px 9px;
	border: 1px solid #D5CDBD;
	background: #EBE5DC;
}
.gallery-first { margin-left: 0px !important; }

.press-image {
	float: left;
	display: block;
	width: 141px;
	height: 141px;
	padding: 5px;
	margin: 0px 0px 9px 9px;
	border: 1px solid #D5CDBD;
	background: #EBE5DC;
}
.press-first { margin-left: 0px !important; }

/*-----contact-----*/
#contact_left {
	float: left;
	width: 239px;
}
#contact_right {
	float: right;
	width: 380px;
}
#contact_right select {
	padding: 5px;
	border: 1px solid #D5CDBD;
}

table#contact_table  { width: 380px; border-left: 1px solid #ABA59A; }
table#contact_table td { text-align: right; border-left: 0px; }
table#contact_table td.contact_left, table#contact_table tr.table_headers td { text-align: left; }
tr.even td { background-color: #F4F2EF !important; }
table#contact_table em, p.required { color: #8B2116 !important; }

#contact_submit {
	float: right;
	display: block;
	width: 90px;
	height: 34px;
	padding: 34px 0px 0px 0px;
	overflow: hidden;
	border: 0px;
	cursor: pointer;
	background: transparent url(images/submit_button.gif) top left no-repeat;
}
#contact_submit:hover { background-position: -90px 0px; }

.user_input {
	width: 220px;
	padding: 5px;
	font-family: Helvetica, Arial, sans-serif, Verdana;
	border: 1px solid #D5CDBD;
	background-color: #FFF;
}
textarea.user_input { font-size: 1.0em; }
/*-----links-----*/
table#links_table { width: 100%; margin-top: 10px; border: 0px !important; }
table#links_table td { border: 0px; }
/*-----lightbox-----*/

#lightbox{ position: absolute; left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0; }
#lightbox img{ width: auto; height: auto; }
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #FFF; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0; }
#hoverNav a{ outline: none; }

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left; }
#nextLink { right: 0; float: right; }
#prevLink:hover, #prevLink:visited:hover { background: url(images/prevlabel.gif) left 50px no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(images/nextlabel.gif) right 50px no-repeat; }

#imageDataContainer{ font-size: 0.75em; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%; }

#imageData{	padding:0 10px; color: #151515; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 73px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }

#packages_link, #packages_link_sp {
	position: absolute;
	z-index: 5;
	top: 10px;
	left: 10px;
	width: 110px;
	height: 110px;
	background: transparent url(images/mayan_grab.gif) 0 0 no-repeat;
}
#packages_link[id] { background-image: url(images/mayan_grab.png); }

#packages_link_sp { background-image: url(images/mayan_grab_sp.gif); }
#packages_link_sp[id] { background-image: url(images/mayan_grab_sp.png); }

#packages_link span, #packages_link_sp span { display: none; }

p.backtotop { text-align: right; color: #999; }

a.book_this_package {
	float: right;
	display: block;
	width: 168px;
	height: 34px;
	border: 0px;
	cursor: pointer;
	background: transparent url(images/book_this_package.gif) top left no-repeat;
}
a.book_this_package:hover { background-position: -168px 0px; }
a.book_this_package span { display: none; }

.packages h3, .packages h4 { clear: both; }

#pack_table_left td, #pack_table_right td { font-size: 0.75em; line-height: 1.2em; } 
#pack_table_left tr.table_headers td, #pack_table_right tr.table_headers td { text-align: center; } 
#pack_table_left tr.table_additional td, #pack_table_right tr.table_additional td { font-size: 0.65em; } 
#pack_table_left ul li, #pack_table_right ul li { font-size: 0.70em; padding-bottom: 0px; }
#pack_table_left .rate_info, #pack_table_right .rate_info { font-size: 0.65em; line-height: 1.1em; }
#pack_table_left {
	width: 310px;
	float: left;
}
#pack_table_right {
	width: 310px;
	float: right;
}