h1 {
	padding-bottom: 0;
}

h2 {
	margin-bottom: 15px;
}

#main_wrap h3 {
	font-size: 1em;
	font-weight: normal;
	color: #dd141b;
	margin-top: 15px;
}

#directions_print {
	margin-bottom: 15px;
}

#column_ports_wrap {
	overflow: hidden;
}

/*#column_ports_wrap > div:first-child {
	float: left;
	width: 69%;
}

#column_ports_wrap > div:last-child {
	float: right;
	width: 25%;
	max-width: 250px;
}*/

#directions_wrap {
	margin-top: 10px;
	overflow: hidden;
	position: relative;
}

#directions_wrap > div {
	float: left;
	height: 185px;
	width: 23.7%;
	margin-top: 9px;
	margin-right: 9px;
	background-repeat: no-repeat;
	background-position: 50% 77%;
	cursor: pointer;
}

#directions_wrap > div:last-child {
	margin-right: 0;
}

.port_info {
	margin: 0 15px 0;
	background: rgba(37,136,183,.80);
	color: #fff;
	text-transform: uppercase;
	font-family: "TT Norms";
	padding: 0 7px 3px;
}

.port_info:hover > div a {
	background-color: #cccc00;
}

body.is_mobile .port_info:hover > div a {
	background-color: #ffce14;
	color: #000;
}

.port_info > div {
	font-size: .7em;
}

.port_info > div:first-child {
	margin-bottom: -5px;
	line-height: 1.1em;
	padding: 7px 0;
	font-weight: bold;
	text-shadow: 1px 1px 1px rgba(0,0,0,.85);
}

.port_info > div:first-child > span {
	font-size: 1.3em;
}

.port_info > div:last-child {
	font-size: .55em;
	line-height: 1.5em;
	overflow: hidden;
/*	text-align: right;*/
}

/*.port_info > div:last-child > div {
	float: left;
	text-align: left;
}*/

.port_info > div:last-child span {
	font-size: 2em;
}

.port_info .button_md {
	border-radius: 3px;
    display: inline-block;
    font-size: 1em;
    padding: 3px 10px 2px;
	margin-top: 5px;
}

/* ===== Search box (GDS) ===== */

#search {
/*	width: 186px;
	height: 298px;
	float: left;
	margin-right: 4px;
	position: relative;*/
	background: url(../images/gds-bg.png) no-repeat 0 bottom;
	border-radius: 6px;
	border: 1px solid #192b1a;
/*	box-shadow: 0 5px 5px 0 rgba(0,0,0,.75);*/
	overflow: hidden;
	z-index: 1; /* Needed for Android Chrome */
	color: #fff;
}

#search h2 {
	padding: 4px 0;
	margin: 0 0 10px 0;
	line-height: 1em;
	color: #fff;
	text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
	font-family: Arial,Helmet,Freesans,sans-serif;
	font-size: 1.2em;
	text-align: center;
	box-shadow: 0 0 5px 0 rgba(0,0,0,.65);
	font-weight: normal;
	
	background: rgb(51,162,51); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(51,162,51,1) 0%, rgba(25,100,22,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(51,162,51,1)), color-stop(100%,rgba(25,100,22,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(51,162,51,1) 0%,rgba(25,100,22,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(51,162,51,1) 0%,rgba(25,100,22,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(51,162,51,1) 0%,rgba(25,100,22,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(51,162,51,1) 0%,rgba(25,100,22,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#33a233', endColorstr='#196416',GradientType=0 ); /* IE6-9 */
}

/*#search h2 {
	text-transform: uppercase;
	font-size: 1em;
	color: #fff;
}*/

#search_inner1 {

}

#search_inner2 {
	overflow: hidden;
}

#search_box {
	margin: 0 13px 10px;
	position: relative;
}

#search_box select {
	width: 100%;
	font-size: 12px;
}

#destination_list,
#VendorID {
	height: 53px;
}

#cruise_month,
#cruise_year,
#cruise_duration {
	height: 18px;
}

#search_box div {
	margin-bottom: 8px;
	position: relative;
}

#search_box div.loading_img_wrap {
	margin: auto;
	position: absolute;
}

#search_box div.submit {
	margin-bottom: 0;
}

.search_submit {
	text-align: center;
}

.search_submit input[type=submit],
body.is_mobile .search_submit input[type=submit] {
	padding: 6px 10px;
}

.hover_show {
	height: 19px;
}

#search_box #advanced_search {
	margin: 4px 0 0;
	text-align: center;
	font-size: 1em;
	color: #fff;
}

#advanced_search a:link,
#advanced_search a:visited,
#advanced_search a:active,
body.is_mobile #advanced_search a:link,
body.is_mobile #advanced_search a:visited,
body.is_mobile #advanced_search a:active,
body.is_mobile #advanced_search a:link {
	color: #ffcb00;
	text-decoration: none;
}

#advanced_search a:hover {
	color: #aee600;
	text-decoration: underline;
}

#popular_searches_outer {
    height: 239px;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 30px;
    width: 100%;
	display: none;
}

#popular_searches_inner {
	background-color: #224B8A;
	color: #fff;
    height: 239px;
    left: -100%; /* 0 for visibile */
    position: absolute;
    top: 0;
    width: 100%;
    padding: 10px 0 0 5px;
    opacity: .95;
    filter: alpha(opacity=95);
}

#popular_searches_inner ul {
	list-style-type: disc;
}

#popular_searches_inner li {
	background: none;
	padding: 0 0 2px 0;
}

#popular_searches_inner a:link,
#popular_searches_inner a:visited,
#popular_searches_inner a:active {
	color: #fff;
}

#popular_searches_inner a:hover {
	color: #6def66;
}

#search_footer {
	height: 14px;
	background-image: url(../images/search_footer_bg2.png);
}

/* ===== Media Queries ===== */

@media only screen and (max-device-width: 1024px) {
	#destination_list,
	#VendorID,
	#ship_list {
		height: auto;
	}
}

/*@media only screen and (max-width: 1000px) {
	#column_ports_wrap > div:first-child {
		width: 59%;
	}

	#column_ports_wrap > div:last-child {
		width: 35%;
	}
}*/

@media only screen and (max-width: 800px) {
/*	#column_ports_wrap > div:first-child {
		width: 49%;
	}

	#column_ports_wrap > div:last-child {
		width: 45%;
	}*/

	#directions_wrap > div {
		width: 31.5%;
	}
}

@media only screen and (max-width: 700px) {
	.input {
		font-size: .85em;
	}

	#left_col,
	#right_col,
	#cline_ship_wrap > div:first-child,
	#cline_ship_wrap > div:last-child {
		float: none;
		width: auto;
	}
	
	#cline_ship_wrap > div:first-child,
	#cline_ship_wrap > div:last-child {
		min-height: 4.5em;
	}
	
	.col_box {
		min-height: 4px;
	}
	
	#left_col .col_box:first-child {
		min-height: 4em;
	}
	
	#right_col .col_box:first-child {
		min-height: 8em;
	}
}

@media only screen and (max-width: 600px) {
	#column_ports_wrap > div:first-child {
		float: none;
		width: auto;
	}

	#column_ports_wrap > div:last-child {
		float: none;
		width: 250px;
		margin: 10px auto 0;
	}
}

@media screen and (max-width: 570px) {
	#directions_wrap > div {
		width: 47.2%;
	}
}

@media screen and (max-width: 360px) {
	#directions_wrap > div,
	#directions_wrap > div:last-child {
		width: 83%;
		float: none;
		margin: 9px auto;
	}
}