 #map {

	width:100%;
    margin:auto;
 }
 
 #map_img {
 	margin:auto;
 	max-width:314px;
 }
 
 #top_and_list {
    margin:auto;
    width:100%
 }
 
 #tide_top {
 	width:300px;
    margin:auto;
 }
 
 #region_menu {
 	margin:auto;

 	font-size: 14px;
	line-height: 18px;
	width:100%;
 }
 
 #region_menu ul {
 	list-style:none;
 	padding-left:5px;
 }
 
 #region_menu li {
	font-size: 14px;
	line-height: 18px;
	font-weight: bold;
	height:40px;
 }
 
 #region_menu li:nth-of-type(even) {
    background: #f3f3f3;
}

#tide_index {
	position:relative;
	width:100%;
	height:100%;
}

#tides_ads_and_merchants {
	display:none;
}

.tides_table_header {
	color: #CC0000;
	font-weight:bold;
	font-size: 13px;
}

.tides_cell {
	display: table-cell;
	padding: 2px 2px 2px 2px;
	height: 24px;
	vertical-align:center;
}

.tides_row {
	display: table-row;
}

#tides_table {
	display: table;
	width:100%;
	text-align:center;
}

.day {
	color: #CC0000;
	display:none;
	text-align:left;
}

.date {
	color: #CC0000;
	border-right: 2px solid;
	border-color: #04B4AE;
	text-align: center;
}

.high {
	text-align:center;
	border-right: 2px solid;
	border-color: #04B4AE;
	min-width:100px;
	width:38%;
}

.low {
	text-align:center;
	border-right: 2px solid;
	border-color: #04B4AE;
	min-width:100px;
	width:38%;
}

.full_width {
	width:100%;
	min-width:60px;
}

.quarter_width {
	width:22%;
	display:inline-block;
	min-width:45px;
}

.half_width {
	width:46%;
	display:inline-block;
}

.subtitle {
	color: rgb(0, 102, 51);
	font-size: small;
	background: #f3f3f3;
}

.table_header {
	border-bottom: 2px solid;
	border-color: #04B4AE;
}

.split_quarter {
	display:none;
	height:0px;
}

.split_half {
	display:none;
	height:0px;
}

div#tides_table .tides_row:nth-child(even) {background: #d4d4d4;}
div#tides_table .tides_row:nth-child(odd) {background: #FFF;}




@media only screen and (max-width: 726px) {
	.split_quarter {
		display:block;
	}
}
@media only screen and (max-width: 516px) {
	
	.split_half {
		display:block;
	}

}
@media only screen and (max-width: 460px) {
	.lunar {
		display:none;
	}
	
	.full_moon {
		background-image:url( '/tides/mfl.gif' );
		background-repeat:no-repeat;
	}
	
	.new_moon {
		background-image:url( '/tides/mnew.gif' );
		background-repeat:no-repeat;
	}
	
}

@media only screen and (min-width: 850px) {
	#map {
		position: absolute;
		top: 0px;
		left: 0px;
		WIDTH:314px;
 		HEIGHT:375px; 
	}
	#top_and_list {
		position: absolute;
		top: 0px;
		left: 400px;
		width:340px;
	}
	#tide_info {
		position: absolute;
		top: 400px
	}
	
	
	#tide_nav {
		width:25%; 
		display: inline-block;
	}
	
	#tide_title {
		width:48%; 
		display: inline-block;
	}
	
	#tide_month_info {
		width:25%; 
		display: inline-block;
	}
	
	#tides_ads_and_merchants {
		display:block;
	}
}


@media only screen and (min-width: 500px) {
	.day {
		display:table-cell;
	}
}