/* Website template by freewebsitetemplates.com */

/* RESPONSIVE: box-sizing for consistent sizing */
*, *::before, *::after {
	box-sizing: border-box;
}

body {
	background: #ffb744 url(../../images/bg-body.jpg) repeat left bottom;
	font-family: "Times New Roman", Times, serif;
	margin: 0;
}
#background {
	background: url(../../images/bg-pattern.jpg) repeat-x center top;
	/*background-image: url(../../images/bg-pattern.png);
	background-repeat: repeat-x;
	background-position: center top;*/
	min-height: 1318px;
}
#page {
	max-width: 960px; /* RESPONSIVE: was width: 960px */
	width: 100%; /* RESPONSIVE: added */
	margin: 0 auto;
	padding: 0 15px; /* RESPONSIVE: added for mobile gutters */
}
img {
	border: 0;
	max-width: 100%; /* RESPONSIVE: added */
	height: auto; /* RESPONSIVE: added */
}
/*------------------------------ Sprites ------------------------------*/
/* RESPONSIVE: navigation sprites removed - now using CSS gradients for scalability */
/* #navigation li, #navigation li a:hover, #navigation li.selected a {
	background-image: url(../../images/bg-menu.png);
	background-repeat: repeat-x;
} */
/* #contents div.box, #contents div.box > div, #contents div.body {
	background-image: url(../../images/content-box.png);
	background-repeat: no-repeat;
} */
#contents div.body {
	background-color: white;
}
#main div.box, #main div.box > div, #main div.box > div > div {
	background-image: url(../../images/bg-box.png);
	background-repeat: no-repeat;
}
/*------------------------------ HEADER ------------------------------*/
#header {
	margin-bottom: 20px;
	padding-top: 20px;
	text-align: center;
}
/** Logo **/
#logo {
	/*float: left;*/
	margin-bottom: 20px;
	margin-left: 0px; /*49px;*/
}
/** Navigation **/
#navigation {
	background: url(../../images/bg-navigation.png) no-repeat;
	background-size: 100% 100%; /* RESPONSIVE: added to scale bg */
	clear: both;
	height: 50px;
	/*max-width: 860px; /* RESPONSIVE: was width: 860px */
	width: 100%; /* RESPONSIVE: added */
	margin: 0 auto;
	padding: 1px;
}
#navigation ul {
	display: inline-block;
	width: 100%; /* RESPONSIVE: was width: 860px */
	list-style: none;
	margin: 0;
	padding: 0;
}
#navigation li {
	float: left;
	/* RESPONSIVE: removed sprite background, using CSS border instead */
	/* background-position: 0 -118px; */
	/* background-repeat: no-repeat; */
	border-left: 1px solid rgba(255,255,255,0.3); /* RESPONSIVE: CSS divider replaces sprite */
	height: 49px; /* RESPONSIVE: was 49px, adjusted to fit nav container (50px - 1px padding) */
	width: 20%; /* RESPONSIVE: was 122px, now percentage (5 items = 100%) */
	margin: 0;
	padding-left: 0; /* RESPONSIVE: was 1px, no longer needed */
	text-align: center;
}
#navigation li:first-child {
	/* background: none; */ /* RESPONSIVE: no longer needed, sprite removed */
	border-left: none; /* RESPONSIVE: no divider on first item */
	margin-left: 0;
	padding-left: 0;
}
#navigation li a {
	color: #fff;
	display: block;
	font: bold 14px/48px Arial, Helvetica, sans-serif;
	font-size: clamp(10px, 2.5vw, 14px); /* RESPONSIVE: fluid font - min 10px, scales with viewport, max 14px */
	height: 49px; /* RESPONSIVE: was 49px, matches li height */
	text-decoration: none;
	text-transform: uppercase;
}
#navigation li a:hover {
	/* RESPONSIVE: replaced sprite with CSS gradient for scalability */
	/* background-position: 0 -59px; */
	background: linear-gradient(to bottom, #d4c9a0 0%, #bfb48a 50%, #a89a70 100%);
	color: #6d6157;
	height: 47px; /* Added */
}
#navigation li.selected a {
	/* RESPONSIVE: replaced sprite with CSS gradient for scalability */
	/* background-position: 0 0; */
	background: linear-gradient(to bottom, #5a4a35 0%, #4a3d2d 50%, #3a3025 100%);
	color: #e4e1bd;
	height: 47px; /* Added */
}
/*------------------------------ CONTENTS ------------------------------*/
#contents {
	display: inline-block;
	max-width: 960px; /* RESPONSIVE: was width: 865px */
	width: 100%; /* RESPONSIVE: added */
	/* padding: 0 47px; */
}
#contents h1 {
	color: #316e66;
	font: 26px/30px "Times New Roman", Times, serif;
	margin: 18px 0 20px;
	padding-left: 2px;
	text-transform: uppercase;
}
#contents div.body h1, #contents h2 {
	color: #316e66;
	font: 30px/30px "Times New Roman", Times, serif;
	margin: 0 0 18px;
	text-transform: uppercase;
}
#contents h2 {
	font-size: 22px;
	margin: 0 0 30px;
}
#contents h2 a {
	color: #2c9688;
	text-decoration: none;
}
#contents p {
	color: #5a4535;
	font-size: 15px;
	line-height: 30px;
	margin: 0;
	padding: 0 0 24px 2px;
}
#contents p a {
	color: #5a4535;
}
#contents p a:hover, #news div.sidebar ul li a:hover {
	color: #917157;
}
/** box-shadow **/
#contents div.box {
	background-position: left bottom;
	margin-bottom: 20px;
	margin-left: 1px;
	padding: 0 0 6px;
}
#contents div.box > div {
	background-position: -1745px top;
	padding: 6px 0 0;
}
#contents div.body {
	background-position: -871px top;
	background-repeat: repeat-y;
	min-height: 980px;
	padding: 30px 40px 0;
}
/** Adbox **/
#adbox {
	background: url(../../images/bg-adbox2.png) no-repeat left top;
	/* RESPONSIVE: changed from fixed width to max-width */
	max-width: 960px;
	width: 100%;
	margin: 0 auto;
	padding: 4px 5px 18px;
	background-size: 100% auto; /* RESPONSIVE: scale background with container */
}
/* RESPONSIVE: Make slider scale like an image */
#fadeshow1 {
	width: 100% !important;
	height: 0 !important;
	padding-bottom: 49.30% !important; /* 420/852 = adjusted for 5px bottom gap */
}
#fadeshow1 .gallerylayer {
	width: 100% !important;
	height: 100% !important;
}
#fadeshow1 img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	margin: 0 !important; /* override JS centering margins */
}
#adbox p {
	font-size: 16px;
}
.ads {
	float: right;
	width: 220px;
	border-left: 1px solid #bbbbbb;
	margin-left: 20px;
	padding-left: 20px;
}
hr {
	border:0;
	border-top: 1px solid #bbbbbb;
	margin-bottom: 30px;
}
/** MAIN **/
#main {
	float: left;
	min-height: 100px;
	max-width: 566px; /* RESPONSIVE: was width: 566px */
	width: 66%; /* RESPONSIVE: added percentage width */
}
#main div.box {
	background-position: left bottom;
	margin-bottom: 12px;
	padding: 0 0 6px;
}
#main div.box > div {
	background-position: -1145px top;
	padding: 6px 0 0;
}
#main div.box > div > div {
	background-position: -572px top;
	background-repeat: repeat-y;
	padding: 17px;
}
#main div.box h3 {
	color: #316e66;
	font-weight: normal;
	letter-spacing: 1px;
	border-bottom: 1px dotted #9c8964;
	margin: 0;
	padding: 0 0 12px;
	text-transform: uppercase;
}
#main div.box h4 {
	font: 22px/24px "Times New Roman", Times, serif;
	font-weight: normal;
	margin: 6px 0 0;
}
#main div.box h4 a {
	color: #5a4535;
	text-decoration: none;
}
#main div.box ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#main div.box ul li {
	border-bottom: 1px dotted #9c8964;
}
#main div.box ul li span {
	color: #5a4535;
	display: block;
	font-size: 14px;
	margin-bottom: 12px;
}
#main div.box ul li p {
	line-height: 24px;
	padding: 0 0 3px;
}
/** SIDEBAR **/
#sidebar {
	float: right;
	height: auto;
	max-width: 285px; /* RESPONSIVE: was width: 285px */
	width: 32%; /* RESPONSIVE: added percentage width */
}
#sidebar div.section {
	height: 144px;
	margin-bottom: 12px;
}
#sidebar div.section:first-child {
	padding: 3px 0 0;
}
#sidebar div.section > a:hover {
	filter:alpha(opacity=60);
	opacity: 0.6;
}
/** testimonials **/
#contents div#testimonials h3 {
	color: #2c9688;
	font-weight: normal;
	letter-spacing: 1px;
	border-bottom: 0;
	padding-bottom: 0;
}
#testimonials p {
	display: inline-block;
	line-height: 24px;
	padding-bottom: 3px;
}
#testimonials p span {
	float: right;
}
#testimonials p span a {
	color: #2c9688;
	text-decoration: none;
}
#testimonials p span a:hover {
	color: #2c9688;
}
/** Rooms, Foods Dive Sites **/
#rooms, #foods, #sites {
	list-style: none;
	margin: 0;
	padding: 0;
}
#rooms li, #foods li, #sites li {
	display: inline-block;
	/* width: 784px; */
	border-top: 1px solid #b7b7b7;
	padding: 30px 0;
	position: relative;
}
#rooms li:first-child, #foods li:first-child, #sites li:first-child {
	border-top: 0;
}
#rooms li img {
	float: left;
	border: 1px solid #2c9688;
	margin-right: 15px;
}
#rooms .rate {
	color: #316e66;
	display: inline-block;
	font: 16px/35px "Times New Roman", Times, serif;
	height: 35px;
	width: 138px;
	border: 1px solid #5a4535;
	text-align: center;
	position: absolute;
	bottom: 30px;
}
/** Food **/
#foods li > div.infos {
	height: 169px;
	width: 780px;
	position: relative;
}
#foods li > div.infos p {
	background: url(../../images/bg-foodDetail.png) repeat;
	color: #316e66;
	display: none;
	height: 60px;
	width: 740px;
	padding: 6px 20px 0;
	position: absolute;
	left: 0;
	bottom: 0;
}
#foods li > div.infos p span {
	display: block;
	font: 22px/22px "Times New Roman", Times, serif;
}
#foods li > div.infos:hover span.cover {
	background: url(../../images/bg-foodInfos.png) repeat;
	display: inline-block;
	height: 100%;
	width: 100%;
	position: absolute;
	left: 0;
	top: 0;
}
#foods li > div.infos:hover p {
	display: block;
}
/** Dive Site **/
#sites li {
	padding-bottom: 0;
}
#sites li img {
	float: right;
	border: 1px solid #2c9688;
	margin-left: 15px;
}
/** News **/
#news {
	display: inline-block;
	width: 784px;
}
#news > div {
	width: 560px;
	border-right: 1px solid #bbbbbb;
	padding-right: 35px;
}
#news > div img {
	border: 1px solid #2c9688;
	margin-bottom: 20px;
}
#news > div h2 {
	margin-bottom: 12px;
}
#news > div span {
	color: #5a4535;
	display: block;
	font: 15px/24px "Times New Roman", Times, serif;
	margin-bottom: 30px;
}
#news > div span.author {
	color: #2c9688;
	display: block;
	font-size: 14px;
	margin-bottom: 20px;
}
#news div.sidebar {
	float: right;
	width: 160px;
	border: 0;
	padding: 0;
}
#news div.sidebar h3 {
	color: #2c9688;
	font-size: 20px;
	font-weight: normal;
	border-top: 1px solid #b7b7b7;
	margin: 0 0 12px;
	padding-top: 18px;
	text-transform: uppercase;
}
#news div.sidebar h3:first-child {
	border: 0;
	padding-top: 0px;
}
#news div.sidebar ul {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
}
#news div.sidebar ul li a {
	color: #5a4535;
	display: inline-block;
	font-size: 15px;
	margin-bottom: 6px;
	text-decoration: none;
}
#news ul li {
	margin-bottom: 12px;
}
/** Contact **/
#contact form {
	float: right;
	color: #5a4535;
	width: 420px;
	border: 1px solid #5a4535;
	padding: 20px 30px;
}
#contact .form-group {
	margin-bottom: 12px;
}
#contact .form-group label {
	display: block;
	font-size: 12px;
	line-height: 1.4;
	margin-bottom: 4px;
	text-transform: uppercase;
}
#contact form input {
	height: 28px;
	line-height: 28px;
	width: 100%;
	border: 1px solid #5a4535;
	border-radius: 2px;
	padding: 0 8px;
	font-size: 13px;
}
#contact textarea {
	height: 100px;
	line-height: 1.4;
	width: 100%;
	border: 1px solid #5a4535;
	border-radius: 2px;
	padding: 6px 8px;
	font-size: 13px;
	resize: vertical;
}
#contact input.btn {
	background: url(../../images/btn-send.png) no-repeat -70px 0;
	cursor: pointer;
	height: 26px;
	width: 60px;
	border: 0;
	padding: 0;
	margin: 0;
}
#contact input.btn:hover {
	background-position: 0 0;
}
#contact p span {
	display: block;
	text-transform: uppercase;
}
/** Form Messages **/
.form-message {
	padding: 10px 12px;
	margin-bottom: 12px;
	border-radius: 4px;
	font-size: 13px;
	line-height: 1.4;
}
.form-message.success {
	background-color: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
}
.form-message.error {
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
}
/*------------------------------ FOOTER ------------------------------*/
#footer {
	color: #594334;
	font-size: clamp(10px, 2.5vw, 14px);
	line-height: 48px;
	margin: -38px 0 20px;
	padding-top: 42px;
	text-transform: uppercase;
}
#footer > div {
	background-color: #ac9e94;
	height: 48px;
	/*max-width: 822px; /* RESPONSIVE: was width: 822px */
	width: 100%; /* RESPONSIVE: added */
	border-bottom: 1px solid #72675f;
	border-top: 1px solid #cdbeb2;
	margin: 0 auto;
	padding: 0 20px;
	text-align: right;
}
#footer ul.navigation {
	float: left;
	list-style: none;
	margin: 0;
	padding: 0;
}
#footer ul.navigation li {
	float: left;
	margin-right: 10px;
}
#footer ul.navigation li a {
	color: #594334;
	padding: 0 5px;
	text-decoration: none;
}
#footer ul.navigation li:first-child a {
	border-left: 0;
	padding-left: 0;
}
#footer ul.navigation li a:hover {
	color: #eee7c3;
}
#footer ul.navigation li.active a {
	color: #fff;
}
#footer p {
	clear: both; /* RESPONSIVE: clear floated elements above */
	margin: 0;
	text-align: center;
	text-transform: none;
	width: 100%; /* RESPONSIVE: ensure full width for centering */
}
/** Connect **/
#connect {
	float: right;
	line-height: 26px;
	margin: 12px 0 0;
}
#connect a {
	background: url(../../images/icons.png) no-repeat;
	display: inline-block;
	height: 23px;
	width: 23px;
	margin-left: 10px;
}
#connect a.pinterest {
	background-position: 0 -33px;
}
#connect a.facebook {
	background-position: 0 -98px;
}
#connect a.twitter {
	background-position: 0 -164px;
	width: 28px;
}
#connect a.googleplus {
	background-position: 0 -230px;
}
#connect a.pinterest:hover {
	background-position: 0 0;
}
#connect a.facebook:hover {
	background-position: 0 -65px;
}
#connect a.twitter:hover {
	background-position: 0 -131px;
}
#connect a.googleplus:hover {
	background-position: 0 -197px;
}

/* RESPONSIVE: Stack main and sidebar on mobile */
@media (max-width: 768px) {
	#main,
	#sidebar {
		float: none;
		width: 100%;
		max-width: 100%;
	}
	#sidebar {
		text-align: center;
	}
	#contact form {
		float: none;
		width: 100%;
		padding: 12px;
		margin-bottom: 30px;
	}
}
