body.search #wrap,
body.search #footer,
body.search #schema_wrap,
body.search #overlay {
	display: none !important;
}

body.search.is_phone:after {
	content: '';
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	opacity: 0.8;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	position: fixed;
	z-index: -1;

	/* Reset attributes from the preload */
	width: auto;
	height: auto;
	overflow: visible;
}

body.is_phone.ocean_cruise:after {
	background-image: url(../images/ocean-cruise-bg.jpg);
}

body.is_phone.river_cruise:after {
	background-image: url(../images/river-cruise-bg.jpg);
}

body.is_phone.cruise_tour:after {
	background-image: url(../images/cruise-tour-bg.jpg);
}

#video_bg {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -100;
	overflow: hidden;
	display: none;
}

body.search #video_bg {
	display: block;
}

#video_bg video {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: -100;
	width: auto;
	height: auto;
	min-width: 100%;
	min-height: 100%;
}

#main_content ul {
	margin: 0;
}

#main_content ul li {
	margin: 0;
	padding: 0;
}

#main_wrap ul li:before {
	content: normal;
	margin: 0;
}

#search {
	text-align: center;
	padding-top: 25px;
}

#search_nav {
	display: flex;
	justify-content: space-between;
}

ul#search_nav li {
	padding: 11px 41px 11px 16px;
	position: relative;
	background-color: #157ea9;
	flex: 1 1 auto;
	border-right: 1px solid #fff;
	color: #fff;
	font-family: "TT Norms";
	font-weight: 700;
	cursor: pointer;
}

#search_nav li:last-child {
	border-right: none;
}

#search_nav li:last-child 

#search_nav li span {
	white-space: nowrap;
}

#search_nav li i {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
}

#search_selected_wrap {
	border: 1px solid #aaa;
	padding: 7px 17px;
	background-color: #e9e9e9;
	border-radius: 3px;
	position: relative;
}

ul#search_selected {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -10px;
}

#search_selected > li {
	width: 25%;
	box-sizing: border-box;
	position: relative;
	z-index: 1;
}

#search_selected > li.drawer {
	z-index: 2;
}

#search_selected > li[data-id="countries"],
#search_selected > li[data-id="cities"],
#search_selected > li[data-id="waterways"] {
	display: none;
}

#search_selected > li > button {
	background-color: #fff;
	margin: 10px;
	padding: 10px 10px 5px;
	box-shadow: 1px 1px 4px -4px rgb(0, 0, 0, .7);
	color: #157ea9;
	cursor: pointer;
	border-radius: 3px;
	line-height: 1.3em;
	display: block;
	border: none;
	width: calc(100% - 20px);
	text-align: left;
	font-size: 1em;
	font-variant-ligatures: none;
	font-family: inherit;
}

#search_selected > li > button > .selected-options-wrap > span {
	position: relative;
	padding-left: 20px;
	display: block;
}

#search_selected > li[data-id="cruiseType"] > button > .selected-options-wrap > span,
#search_selected > li[data-id="destinationsCruiseTour"] > button > .selected-options-wrap > span {
	padding-left: 0;
}

body.is_mobile #search_selected > li > button > .selected-options-wrap > span {
	padding-left: 0;
}

/*#search_selected > li > button > div > span::before*/
#search_selected > li > button > .selected-options-wrap > span::before {
	content: "\f057";
	font-family: 'cef' !important;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	position: absolute;
	left: 0;
	top: calc(50% - 1px);
	transform: translateY(-50%);
	font-size: 1em;
}

#search_selected > li[data-id="cruiseType"] > button > .selected-options-wrap > span::before,
#search_selected > li[data-id="destinationsCruiseTour"] > button > .selected-options-wrap > span::before,
body.is_mobile #search_selected > li > button > .selected-options-wrap > span::before {
	content: normal;
}

#search_selected > li > button > .selected-options-wrap > span:hover::before {
	color: #a9152e;
}

#search_selected > li > button + div {
	position: absolute;
	top: 10px;
	width: 100%;
	margin: 0;
	box-sizing: border-box;
	z-index: -1;
	background-color: transparent;
	padding: 0 20px;
	overflow: hidden;
	box-shadow: none;
}

#search_selected > li > button + div.finished {
	overflow: auto;
	height: auto;
}

#search_selected > li > button + div > div {
	background-color: #157ea9;
	padding: 9px 10px 4px;
	color: #fff;
	border-radius: 3px;
	position: relative;
	box-shadow: 1px 1px 4px -4px rgb(0, 0, 0, .7);
	transform: translateY(-100%);
	transition: transform .25s;
}

#search_selected > li > button + div.show > div {
	transform: translateY(0);
}

#search_selected > li > button + div.show > div li {
	position: relative;
	font-size: .95em;
	line-height: 1.1em;
	padding: 3px 0 3px 21px;
	-webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

#search_selected > li > button + div.show > div li:hover {
	background-color: #126d92;
	margin-left: -10px;
	margin-right: -10px;
	padding-left: 31px;
}

#search_selected > li > button + div.show > div li i {
	position: absolute;
	left: 0;
	top: 4px;
}

#search_selected > li > button + div.show > div li:hover i {
	left: 10px;
}

#search_selected .h2 {
	display: block;
	font-family: "TT Norms";
	font-weight: 400;
	font-style: italic;
	margin-top: -10px;
	color: #555;
	font-size: .9em;
	line-height: 1;
	padding-top: 6px;
	position: relative;
	padding-bottom: 4px;
}

#search_selected .h2 i {
	position: absolute;
	right: 5px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5em;
}

#search_selected .selected-options-wrap {
	display: block;
}

#departurePorts h3,
#departurePortsCruiseTour h3,
#ships h3 {
	position: relative;
	padding-left: 39px;
	margin-left: 11px;
}

#ships h3 {
	padding-left: 75px;
}

#departurePorts h3 div,
#departurePortsCruiseTour h3 div,
#ships h3 div {
	position: absolute;
	left: 0;
	top: 50%;
	width: 31px;
	height: 18px;
	transform: translateY(-50%);
}

#ships h3 div {
	display: flex;
	width: 60px;
	height: auto;
}

#departurePorts h3 div,
#departurePortsCruiseTour h3 div {
	background: url(../images/icons/search-sprite.png) no-repeat 0 0;	
}

#departurePorts #search_options > div > div:last-child h3 div,
#departurePortsCruiseTour #search_options > div > div:last-child h3 div {
	background-position: -31px 0;
}

#ships #search_options > div > div h3 div svg {
	width: 100%;
	height: auto;
}

#XXships #search_options > div > div[data-id="8138"] h3 div { /* Amawaterways */
	background-position: -124px -54px;
}

#XXships #search_options > div > div[data-id="8135"] h3 div { /* American */
	background-position: -155px -36px;
}

#XXships #search_options > div > div[data-id="8226"] h3 div { /* AQV */
	background-position: -155px -18px;
}

#XXships #search_options > div > div[data-id="8121"] h3 div { /* Avalon */
	background-position: -62px -54px;
}

#XXships #search_options > div > div[data-id="1043"] h3 div { /* Azamara */
	background-position: -62px -36px;
}

#XXships #search_options > div > div[data-id="1"] h3 div { /* Carnival */
	background-position: -93px -18px;
}

#XXships #search_options > div > div[data-id="2"] h3 div { /* Celebrity */
	background-position: -93px 0;
}

#XXships #search_options > div > div[data-id="10"] h3 div { /* Costa */
	background-position: -124px -18px;
}

#XXships #search_options > div > div[data-id="3"] h3 div,
#XXships #search_options > div > div[data-id="3"] h3 div { /* Crystal */
	background-position: -31px -54px;
}

#XXships #search_options > div > div[data-id="12"] h3 div { /* Cunard */
	background-position: -93px -36px;
}

#XXships #search_options > div > div[data-id="4"] h3 div { /* Disney */
	background-position: 0 -54px;
}

#XXships #search_options > div > div[data-id="5"] h3 div { /* Holland */
	background-position: -62px 0;
}

#XXships #search_options > div > div[data-id="8146"] h3 div { /* Hurtigruten */
	background-position: -31px -72px;
}

#XXships #search_options > div > div[data-id="982"] h3 div { /* MSC */
	background-position: -124px -36px;
}

#XXships #search_options > div > div[data-id="6"] h3 div { /* Norwegian */
	background-position: -31px -18px;
}

#XXships #search_options > div > div[data-id="14"] h3 div { /* Oceania */
	background-position: 0 -36px;
}

#XXships #search_options > div > div[data-id="8119"] h3 div { /* Paul G */
	background-position: -155px -54px;
}

#XXships #search_options > div > div[data-id="7"] h3 div { /* Princess */
	background-position: 0 -18px;
}

#XXships #search_options > div > div[data-id="8116"] h3 div { /* Regent */
	background-position: -31px -36px;
}

#XXships #search_options > div > div[data-id="8"] h3 div { /* Royal */
	background-position: -62px -18px;
}

#sXXhips #search_options > div > div[data-id="11"] h3 div { /* Seabourn */
	background-position: -62px -72px;
}

#XXships #search_options > div > div[data-id="8126"] h3 div { /* Seadream */
	background-position: -155px 0;
}

#XXships #search_options > div > div[data-id="8115"] h3 div { /* Silversea */
	background-position: -124px 0;
}

#XXships #search_options > div > div[data-id="17"] h3 div { /* Star C */
	background-position: -124px -72px;
}

#XXships #search_options > div > div[data-id="8122"] h3 div { /* Tauck */
	background-position: 0 -90px;
}

#XXships #search_options > div > div[data-id="8149"] h3 div { /* Uniworld */
	background-position: 0 -72px;
}

#XXships #search_options > div > div[data-id="8112"] h3 div,
#XXships #search_options > div > div[data-id="8175"] h3 div { /* Viking */
	background-position: -93px -54px;
}

#XXships #search_options > div > div[data-id="8807"] h3 div { /* Virgin */
	background-position: -155px -72px;
}

#XXships #search_options > div > div[data-id="9"] h3 div { /* Windstar */
	background-position: -93px -72px;
}

#search_options {
}

#search_options h3 {
	font-size: 1.3em;
}

#search_options > div {
	display: flex;
	justify-content: left;
	flex-wrap: wrap;
	margin: -10px -10px 0;
}

#ships #search_options > div,
#departurePorts #search_options > div,
#departurePortsCruiseTour #search_options > div,
#portsOfCall #search_options > div,
#portsOfCallCruiseTour #search_options > div {
	display: block;
}

#search_options .cell {
	box-sizing: border-box;
	padding: 10px;
}

#search_options .cell > div,
body.is_mobile #search_options .cell:not(.selected) > div:hover,
#search_options .cell > button,
body.is_mobile #search_options .cell:not(.selected) > button:hover {
	background-color: #aee0f5;
	padding: 10px;
	box-shadow: 1px 1px 4px -4px rgb(0, 0, 0, .7);
	color: #000;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	box-sizing: border-box;
	text-align: center;
	border-radius: 3px;
	position: relative;
	line-height: 1.3em;
	-webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
    
    width: 100%;
    border: none;
    font-size: 1em;
    font-variant-ligatures: none;
    font-family: inherit; /* for button */
}

#search_options .cell.disabled:not(.off) > div,
#search_options .cell.disabled:not(.off) > button {
	background-color: #e7f5fb;
	border: 1px solid #aee0f5;
	box-sizing: border-box;
	padding: 9px;
}

#popup-main-wrapper:not(.updating) #search_options .cell.disabled.selected > div,
#popup-main-wrapper:not(.updating) #search_options .cell.disabled.selected > button {
	background-color: #a9152e;
	border: none;
	padding: 10px 10px 10px 45px;
}

#search_options .cell.selected > div,
#search_options .cell.selected > button {
	background-color: #157ea9;
	color: #fff;
	font-family: "TT Norms";
	font-weight: 700;
	padding-left: 45px;
	box-shadow: none;
}

#search_options .cell.off.selected > div,
#search_options .cell.off.selected > button {
	padding-left: inherit;
	font-family: inherit;
}

#search_options .cell.off > div,
#search_options .cell.off:not(.selected) > div:hover,
#search_options .cell.off > button,
#search_options .cell.off:not(.selected) > button:hover,
#search_options .cell button:disabled {
	background-color: #d6d6d6 !important;
	cursor: default !important;
	color: #000 !important;
	box-shadow: none !important;
	border: none !important;
}

#search_options .cell:not(.selected) > div:hover,
#search_options .cell:not(.selected) > button:hover {
	background-color: #108568;
	color: #fff;
	transition: background-color 150ms, color 150ms;
	transform: translateZ(0);
}

#search_options .cell.selected > div:hover,
#search_options .cell.selected > button:hover {
	background-color: #126d92;
}

#search_options .cell.disabled.selected > div:hover,
#search_options .cell.disabled.selected > button:hover {
	background-color: #92122c;
}

div[data-id="destinationsCruiseTour"] #destinationsCruiseTour .cell.selected > div:hover,
div[data-id="destinationsCruiseTour"] #destinationsCruiseTour .cell.selected > button:hover {
	background-color: #157ea9;
}

#search_options .cell.selected > div:after,
#search_options .cell.selected > button:after {
	content: "\f057";
	font-family: 'cef' !important;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.4em;
}

#search_options .cell.off.selected > div:after,
#search_options .cell.off.selected > button:after {
	content: normal;
}

#cruiseType #search_options .cell.selected > div,
#search_options[data-categoryid="destinationsCruiseTour"] .cell.selected > div,
#cruiseType #search_options .cell.selected > button,
#search_options[data-categoryid="destinationsCruiseTour"] .cell.selected > button {
	padding-left: inherit;
}

#cruiseType #search_options .cell.selected > div:after,
#search_options[data-categoryid="destinationsCruiseTour"] .cell.selected > div:after,
#cruiseType #search_options .cell.selected > button:after,
#search_options[data-categoryid="destinationsCruiseTour"] .cell.selected > button:after {
	content: normal;
}

#cruiseType #search_options > div > .cell,
#destinations #search_options > div > .cell,
#destinationsCruiseTour #search_options > div > .cell,
#destinationsRiverCruise #search_options > div > .cell,
#duration #search_options > div > .cell,
#durationCruiseTour #search_options > div > .cell,
#durationRiverCruise #search_options > div > .cell,
#cruiseLines #search_options > div > .cell,
#cruiseLinesCruiseTour #search_options > div > .cell,
#cruiseLinesRiverCruise #search_options > div > .cell,
#countries #search_options > div > .cell,
#cities #search_options > div > .cell,
#waterways #search_options > div > .cell,
#ships #search_options > div > div > div .cell,
#departurePorts #search_options > div > div > div .cell,
#departurePortsCruiseTour #search_options > div > div > div .cell,
#portsOfCall #search_options > div > div > div .cell,
#portsOfCallCruiseTour #search_options > div > div > div .cell {
	width: 14.2857%;
}

#date_tip {
	position: absolute;
	background-color: #a93a15;
	padding: 10px;
	border: 2px solid #fff;
	border-radius: 8px;
	left: 0;
	top: 0;
	z-index: 210;
	display: none;
	max-width: 250px;
	color: #fff;
	font-family: "TT Norms";
	font-weight: 700;
	box-shadow: 0px 10px 11px -5px rgba(0, 0, 0, .55);
	box-sizing: border-box;
	line-height: 1.3em;
}

/*
This helps a little bit to not allow the cursor to hover over date_tip.
It's not perfect, but it's something
*/
#date_tip:hover {
	display: none;
}

#pop_up {
	position: fixed;
	top: calc(2vh + 10%);
	left: calc(2vw + 10%);
	right: calc(2vw + 10%);
	bottom: calc(2vh + 10%);
	max-height: 90%;
	text-align: left;
	border: 1px solid #3a5c78;
	z-index: 201;
	display: none;
	overflow: auto;
	flex-direction: column;
	box-shadow: 0px 19px 22px -8px rgba(0, 0, 0, .75);
	border-radius: 10px;
	background-color: #fff;
}

#pop_up.show {
	display: flex;
}

#pop_up.max {
	bottom: 50px;
}

#pop_up > div:first-child > h2 {
	font-family: "TT Norms";
	font-weight: 700;
	background-color: #e6e6e6;
	color: #424242;
	margin-bottom: 0;
	padding: 12px 50px 12px 16px;
	font-size: 2em;
	line-height: 1em;
	flex: 0 0 auto;
	position: relative;
	border-bottom: 1px solid #cdcdcd;
}

body.is_phone #pop_up > div:first-child > h2 {
	font-size: 1.7em;
}

#pop_up > div:first-child > h2 > a:last-child {
	position: absolute;
	top: 12px;
	right: 12px;
	font-size: .6em; /*1em;*/
	/*color: #890222;*/
}

#pop_up > div:first-child > h2 > a.sc {
	position: relative;
	top: 50%;
	transform: translateY(-60%);
	display: inline-block;
	margin-left: 10px;
}

#pop_up > div:first-child > h2 > a.sc img {
	border: 1px solid #b3b3b3;
}

#pop_up > div:nth-of-type(2) {
	flex: 1 1 auto;
	position: relative;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	background-color: #fff;
}

#pop_up.top > div:nth-of-type(2) {
	margin-top: 15px;
}

#pop_up > div:nth-of-type(2) h2 {
    padding: 30px 0 25px;
}

#pop_up > div:nth-of-type(2) > div,
#pop_up.top > div#portsOfCall > div {
	padding: 10px 26px 16px;
}

#pop_up > div#portsOfCall > div {
	padding-left: 12em;
}

#pop_up > div:first-child {
	position: relative;
	background-color: #fff;
}

#sub_nav {
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #f5f5f5;
	z-index: 2;
	padding: 8px 14px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	border: 1px solid #e0e0e0;
	border-left: none;
	box-shadow: 3px 0px 10px -7px rgba(0, 0, 0, .75);
	transform: translateX(-100%);
	transition: transform .25s;
}

#sub_nav.show {
	transform: translateX(0);
}

#sub_nav h4 {
	background-color: #e6e6e6;
	text-align: center;
	border-bottom: 1px solid #cdcdcd;
	margin: -8px -14px 8px;
	padding: 0 14px;
}

#sub_nav > div {
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 8px;
}

#sub_nav ul {
	margin: 0;
}

#sub_nav ul li {

}

#pop_up.top #sub_nav {
	position: relative;
	left: auto;
	top: auto;
}

#pop_up.top #sub_nav ul {
	display: flex;
	flex-wrap: wrap;
}

#pop_up.top #sub_nav ul li {
	width: 25%;
	line-height: 1.5em;
}

body.is_mobile #pop_up.top #sub_nav {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	box-shadow: 0px 3px 10px -7px rgba(0, 0, 0, .75);
	padding-bottom: 0;
}

body.is_mobile #pop_up.top #sub_nav ul {
	flex-wrap: nowrap;
	white-space: nowrap;
}

body.is_mobile #pop_up.top #sub_nav ul li {
	width: auto;
	padding: 0 10px;
	border-right: 1px solid #2311b8;
}

body.is_mobile #pop_up.top #sub_nav ul li:first-child {
	padding-left: 0;
}

body.is_mobile #pop_up.top #sub_nav ul li:last-child {
	padding-right: 0;
	border-right: none;
}

body.is_mobile #pop_up.top #sub_nav ul li:before {
	content: '';
	width: auto;
	float: none;
}

#options_nav {
	background-color: #e6e6e6; /*#f5f5f5;*/
	display: flex;
	justify-content: space-between;
	padding: 13px;
	border-bottom: 1px solid #cdcdcd; /*#e0e0e0;*/
}

#options_nav > div:nth-of-type(odd) {
	width: 37%;
	display: none;
}

div[data-id="search"] #options_nav > div {
	width: 100%;
	text-align: center;
}

#pop_up > div[data-id="cruiseType"] #options_nav > div:nth-of-type(odd) {
	width: 30%;
}

body.is_mobile:not(.is_phone) #options_nav > div:nth-of-type(odd) {
		width: 27%;
	}

#options_nav > div:nth-of-type(2),
div[data-id="search"] #options_nav > div {
	font-size: 2em;
	font-family: "TT Norms";
	font-weight: 700;
	color: #424242;
	width: 100%;
	text-align: center;
}

#options_nav > div:last-child {
	text-align: right;
}

#options_nav > div a {
	padding: 2px 20px 1px;
}

#options_nav > div a span {
	padding-left: 5px;
}

#options_nav > div a i {
	position: relative;
	top: -1px;
}

#options_nav > div:first-child a i {
	margin-right: 20px;
}

#options_nav > div:last-child a i {
	margin-left: 20px;
}

#sailings_found {
	color: #fff;
	background-color: #157ea9;
	margin-bottom: 20px;
}

#sailings_found.no_sailings {
	background-color: #a9152e;
}

#options_selected > div > h3 {
	text-align: center;
}

#options_selected > div > h3 + div {
	margin-bottom: 4px;
	border-top: 1px solid #000;
	padding-top: 4px;
}

body.is_mobile #options_selected > div > h3 + div {
	text-align: center;
}

#options_selected > div > div > span,
#pop_up_selected > div > div > span {
	display: inline-block;
	background-color: #108568;
	color: #fff;
	margin: 0 12px 5px 0;
	padding: 3px 7px 3px 29px;
	border-radius: 2px;
	line-height: 1;
	font-family: "TT Norms";
	font-weight: 700;
	font-size: .9em;
	position: relative;
	cursor: pointer;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#pop_up_selected > div > div > span {
	font-size: 1.142em;
	margin: 0;
}

#options_selected > div > div > span:not(.all):hover {
	background-color: #129272
}

div[data-id="cruiseType"] #options_selected > div > div > span:hover,
div[data-id="destinationsCruiseTour"] #options_selected > div > div > span:hover {
	background-color: #108568;
}

#options_selected > div > div > span.all,
div[data-id="cruiseType"] #options_selected > div > div > span,
div[data-id="destinationsCruiseTour"] #destinationsCruiseTour .cell.selected > div,
div[data-id="destinationsCruiseTour"] #options_selected > div > div > span {
	cursor: default;
}

#options_selected > div > div > span:before,
#pop_up_selected > div > div span:before {
	content: "\f057";
	font-family: 'cef' !important;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	position: absolute;
	left: 6px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1em;
}

#pop_up #options_selected > div > div span.view,
body.is_phone #pop_up > div:first-child:not([data-id="cruiseType"]):not([data-id="departureDate"]):not([data-id="duration"]):not([data-id="durationCruiseTour"]):not([data-id="durationRiverCruise"]) #options_selected > div > div > span:not(.all):not(.view) {
	display: none;
}

body.is_phone #pop_up #options_selected > div > div > span.view {
	display: inline-block;
	position: relative;
}

body.is_phone #pop_up #options_selected > div > div > span.view span {
	position: absolute;
	background-color: #157ea9;
	left: calc(100% + 5px);
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	line-height: 24px;
	border-radius: 24px;
	font-size: 14px;
	text-align: center;
}

#cruiseType #options_selected > div > div > span {
	padding-left: 7px;
}

div[data-id="cruiseType"] #options_selected > div > div > span,
div[data-id="destinationsCruiseTour"] #options_selected > div > div > span {
	padding-left: 7px;
}

div[data-id="destinationsCruiseTour"] #destinationsCruiseTour .cell.selected > div {
	padding-left: 10px;
}

div[data-id="cruiseType"] #options_selected > div > div > span::before,
div[data-id="destinationsCruiseTour"] #destinationsCruiseTour .cell.selected > div::after,
div[data-id="destinationsCruiseTour"] #options_selected > div > div > span::before {
	content: normal;
}

#options_selected > div > div > span.all,
#options_selected > div > div > span.view {
	padding-left: 7px;
}

#options_selected > div > div > span.all::before,
#options_selected > div > div > span.view::before {
	content: normal;
}

#multiple {
	background-color: #fff;
	text-align: center;
	font-family: "TT Norms";
	font-style: italic;
	font-size: 1.1em;
	color: #a9152e;
}

#pop_up.top #multiple {
	padding-bottom: 15px;
}

div[data-id="cruiseType"] #multiple,
div[data-id="duration"] #multiple,
div[data-id="durationRiverCruise"] #multiple,
div[data-id="durationCruiseTour"] #multiple,
div[data-all="true"] #multiple {
	display: none;
}

#multiple > div {	
	border-top: 1px solid #000;
	padding-top: 20px;
}

#multiple > div > #date_tip {
	position: static;
	left: auto;
	top: auto;
	display: block;
	max-width: none;
	box-shadow: none;
	margin-bottom: 10px;
}

#departureDate #search_options > div {
	justify-content: space-between;
}

#departureDate #search_options > div > div {
	width: 30%;
	box-sizing: border-box;
	padding: 0 10px;
}

#departureDate #search_options > div > div > div {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -10px;
}

#departureDate #search_options > div > div > div .cell {
	width: 33.3333%;
}

#departureDate #search_options > div > div > div .cell.hover_selected:not(.selected) > div {
	background-color: #108568;
	color: #fff;
}

#ships #search_options > div > div,
#departurePorts #search_options > div > div,
#departurePortsCruiseTour #search_options > div > div,
#portsOfCall #search_options > div > div,
#portsOfCallCruiseTour #search_options > div > div {
	box-sizing: border-box;
	padding-top: 50px;
}

/*

Note: The padding calculations are:
	padding between divs / 3 (90 / 3 = 30)
	
	left div: padding-right: 30 * 2 = 60
	middle div: padding-left: 30, padding-right: 30;
	right div: padding-left: 30 * 2 = 60
	
*/

#ships #search_options > div > div:first-child,
#departurePorts #search_options > div > div:first-child,
#departurePortsCruiseTour #search_options > div > div:first-child,
#portsOfCall #search_options > div > div:first-child,
#portsOfCallCruiseTour #search_options > div > div:first-child {
	padding-top: 0;
}

#ships #search_options > div > div > div,
#departurePorts #search_options > div > div > div,
#departurePortsCruiseTour #search_options > div > div > div,
#portsOfCall #search_options > div > div > div,
#portsOfCallCruiseTour #search_options > div > div > div {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
}

#ships #search_options > div > div#all_ships,
#pop_up > div[data-id="search"] + div > div > div {
	text-align: center;
	width: auto;
	padding: 20px;
	border: 1px solid #e0e0e0;
	background-color: #f5f5f5;
	display: table;
	margin: 0 auto 20px;
}

#all_ships p {
	font-size: 1.3em;
	padding-bottom: .5em;
}

#pop_up > div#popup_footer {
	background-color: #f5f5f5;
	padding: 13px;
	border-top: 1px solid #e0e0e0;
	text-align: center;
}

#pop_up > div#popup_footer span {
	padding: 0 20px;
	font-family: "TT Norms";
	font-weight: 700;
	display: none;
}

#pop_up > div#popup_footer > span + a {
	display: none;
}

#pop_up_selected {
	position: fixed;
	z-index: 205;
	background-color: rgba(256, 256, 256, .75);
	border-radius: 10px;
	top: 1vh;
	right: 1vw;
	bottom: 1vh;
	left: 1vw;
}

#pop_up_selected > div {
	position: absolute;
	top: 4vh;
	right: 4vw;
	bottom: 4vh;
	left: 4vw;
	background-color: rgba(248, 224, 197, .7);
	border-radius: 8px;
	box-shadow: 0px 5px 16px -6px rgba(0, 0, 0, .75);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

#pop_up_selected h3 {
	color: #fff;
	background-color: #a96415;
	font-size: 1.3em;
	padding: 8px;
	position: relative;
}

#pop_up_selected h3 a {
	position: absolute;
	top: 50%;
	right: 9px;
	transform: translateY(-50%);
	color: #fff;
	font-size: 1.3em;
	line-height: 0;
}

#pop_up_selected > div > div {
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: scroll;
	padding: 10px 8px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 5px 12px;
}

#search_popup {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	z-index: 201;
	box-sizing: border-box;
	min-width: 1000px;
}

#search_popup > img {
	margin-bottom: 15px;
}

#search_popup > div {
	padding: 30px;
	box-shadow: 0px 19px 22px -8px rgba(0, 0, 0, .75);
	border-radius: 10px;
	background-color: #fff;
	font-size: 1.2em;
}

#search_popup > div h2 {
	padding-bottom: 10px;
}

#search_popup > div > div {
	margin-top: 25px;
	border-top: 1px solid #cdcdcd;
	padding-top: 16px;
	text-align: left;
}

#search_popup > div > div {
	margin-top: 18px;
	border: 1px solid #e0e0e0;
	text-align: left;
	background-color: #f5f5f5;
	padding: 20px 20px 10px;
	border-radius: 6px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

body.is_phone #search_popup > div > div {
	display: none;
}

#search_popup > div > div > div {
	margin-bottom: 21px;
	width: 47%;
	box-sizing: border-box;
}

#search_popup > div > div > div:last-child {
	margin-bottom: 0;
}

#search_popup > div > div > div h3 {
	line-height: 1;
	border-bottom: 1px solid #cdcdcd;
	padding-bottom: 3px;
	margin-bottom: 4px;
}

#search_popup > div > div > div span {
	font-size: 1.5em;
}

/* ===== NEW POP UP ===== */

:root {
	--app-height: 100%;
}

/*.wrapper-outer {*/
#pop_up {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: calc(96vw - 20%);
	right: auto;
	bottom: auto;
	max-height: none;
	overflow: hidden;
}

body.is_phone #pop_up {
	width: calc(96vw - 5%);	
}

#pop_up.no-focus-outline:focus {
	outline: none;
}

#popup-wrapper {
	display: flex;
	flex-direction: column;
}

#popup-wrapper *,
#popup-wrapper ::before,
#popup-wrapper ::after {
	box-sizing: border-box;
}

#popup-header {
	background-color: #e6e6e6;
	padding: 13px;
	border-bottom: 1px solid #cdcdcd;
	font-size: 2em;
	font-family: "TT Norms";
	font-weight: 700;
	color: #424242;
	text-align: center;
}

#popup-header i {
	font-size: .6em;
	color: #a9152e;
	display: block;
	line-height: 1.2em;
	padding-top: 10px;
	font-weight: 400;
}

#legend {
	display: flex;
	justify-content: center;
	gap: 50px;
	font-family: "TT Norms";
	font-weight: 700;
	text-transform: uppercase;
	font-size: .35em;
	background-color: #0d5472;
	margin: 10px -13px -13px;
	border-top: 1px solid #cdcdcd;
	color: #fff;
}

#legend div {
	position: relative;
	padding-left: 5px;
	left: 14px;
}

#legend div::after {
	position: absolute;
	right: 100%;
	content: '';
	width: 30px;
	height: 20px;
	border-radius: 3px;
	top: 50%;
	transform: translateY(-50%);
}

#legend div:first-child::after {
	background-color: #aee0f5;
}

#legend div:nth-of-type(2)::after {
	background-color: #e7f5fb;
	border: 1px solid #aee0f5;
	width: 28px;
	height: 18px;
}

#legend button:focus-visible {
	outline-color: #fff;
}

#nav-help-outer {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 210;
}

html.nav-help-overlay body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--app-height);
	background-color: transparent;
	z-index: 209;
}

#nav-help-wrap {
	background-color: #fff;
	border: 2px solid;
	padding: 20px;
	white-space: nowrap;
	text-align: left;
	border-radius: 5px;
	box-shadow: 0px 12px 21px -13px rgba(0, 0, 0, .75);
	overflow: hidden;
}

#nav-help-outer + div #popup-wrapper::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: .5;
	background-color: #fff;
}

#nav-help-inner span {
	display: inline-flex;
	background-color: #eaeaea;
	border: 1px solid #b5b5b5;
	padding: 4px;
	border-radius: 3px;
	line-height: 1;
	font-weight: 500;
	margin: 0 3px;
	position: relative;
}

#nav-help-inner span::after {
	content: '';
	position: absolute;
	top: 100%;
	left: -1px;
	width: calc(100% + 2px);
	height: 3px;
	background-color: #c5c5c5;
	border-radius: 3px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

#nav-help-header {
	margin: -20px -20px 20px;
	font-size: 1.2em;
	padding: 10px 20px;
	background-color: #3b7ca5;
	color: #fff;
}

#nav-help-header > span:first-child {
	font-weight: 700;
	font-size: 1.2em;
}

#nav-help-header > span:last-child {
	font-style: italic;
	font-size: .95em;
}

#nav-help-header span {
	display: block;
	text-align: center;
}

#nav-help-inner span:first-child {
	margin-left: 0;
}

#nav-help-inner span:last-of-type {
	margin-right: 20px;
}

#nav-help-inner {
	display: flex;
	gap: 20px;
	justify-content: center;
}

#nav-help-inner > div {
	display: flex;
	gap: 10px;
	flex-direction: column;
}

#nav-help-inner > div:first-child {
	text-align: right;
}

.close-modal {
	color: #dd141b;
	font-size: 2em;
	position: absolute;
	right: -14px;
	text-decoration: none;
	top: -14px;
	z-index: 1;
	border-radius: 50%;
	box-shadow: 0px 3px 4px -1px rgba(0, 0, 0, .85);
	cursor: pointer;
	border: none;
	padding: 0;
	line-height: 0;
	background-color: #fff;
}

.close-modal i {
	line-height: .8;
}

#nav-help button {
	font-family: "TT Norms";
	font-size: 1em;
	letter-spacing: normal;
}

#popup-main-wrapper {
	/*background-color: cyan;*/
	display: flex;
	max-height: calc(var(--app-height) - var(--popup-header-height) - var(--popup-footer-height) - 100px);
}

body.is_mobile #popup-main-wrapper {
	flex-direction: column;
	height: calc(var(--app-height) - var(--popup-header-height) - var(--popup-footer-height) - 50px);
	max-height: none;
}

#popup-main-wrapper main {
	position: relative;
	overflow-y: auto;
	flex: 1;
}

body.is_mobile #popup-main-wrapper main {
	order: 2;
	
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: visible;
}

#search_selected_wrap::after,
#popup-main-wrapper main::after {
	content: '';
	position: absolute;
	inset: 0;
	background-color: rgba(255, 255, 255, .75);
	z-index: 1;
	display: none;
}

#search_selected_wrap.updating::after,
#popup-main-wrapper.updating main::after {
	display: block;
}

#popup-main-wrapper nav {
	overflow: auto;
	width: 300px;
	padding: 6px 28px;
	background-color: #deeffa;
	border-left: 1px solid #b2daf3;
}

body.is_mobile #popup-main-wrapper nav {
	order: 1;
	width: auto;
	border-bottom: 1px solid #cdcdcd;
	overflow: visible;
	
	flex: 0 0 auto;
}

body.is_mobile #popup-main-wrapper main > div:first-child {
	height: 100%;
	overflow-y: auto;
	position: relative;
	z-index: 1;
}

#popup-main-wrapper nav #multiple {
	background-color: inherit;
}

#popup-main-wrapper main #search_options > div {
	margin: 0;
}

#search_selected_message,
#search-updating-message {
	position: absolute;
	left: 50%;
	top: calc(50% - 29px);
	transform: translate(-50%, -50%);
	line-height: 1.4em;
	font-size: 2em;
	z-index: 2;
}

#search-updating-message {
	opacity: 0;	
	transition: opacity .25s;
	display: none;
}

.search-loading-message::before,
.search-loading-message::after {
	content: '';
	display: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 5px solid #0c5ba4;
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
}

.search-loading-message.loading::before,
.search-loading-message.loading::after {
	display: block;
}

.search-loading-message::before {
	transform: translateX(-50%);
	opacity: .25;
}

.search-loading-message::after {
	transform: translateX(-50%) rotate(0deg);
	transform-origin: center;
	border-top-color: transparent;
	animation: spin_sl 1s linear infinite;
}

@keyframes spin_sl {
	100% {
		transform: translateX(-50%) rotate(360deg);
	}
}

#search-updating-message.loading {
	opacity: 1;
	display: block;
}

#popup-footer {
	display: flex;
	justify-content: center;
	
	background-color: #e6e6e6;
	padding: 13px;
	border-top: 1px solid #cdcdcd;
}

#total_sailings {
	text-align: center;
	margin-top: 26px;
	font-size: 1.3em;
}

#total_sailings span {
	font-family: "TT Norms";
	font-weight: 700;
	color: #108467;
}

#total_sailings.no_sailings {
	color: #a9152e;
	font-family: "TT Norms";
	font-weight: 700;
}

.js-lock-position {
	position: fixed;
	overflow: hidden;
}


/* ===== MEDIA QUERIES ===== */

@media only screen and (max-width: 2300px) {
	#portsOfCall #search_options > div > div > div .cell,
	#portsOfCallCruiseTour #search_options > div > div > div .cell {
		width: 16.6666%;
	}
}

@media only screen and (max-width: 2100px) {
	#cruiseType #search_options > div > .cell,
	#destinations #search_options > div > .cell,
	#destinationsCruiseTour #search_options > div > .cell,
	#destinationsRiverCruise #search_options > div > .cell,
	#duration #search_options > div > .cell,
	#durationCruiseTour #search_options > div > .cell,
	#durationRiverCruise #search_options > div > .cell,
	#cruiseLines #search_options > div > .cell,
	#cruiseLinesCruiseTour #search_options > div > .cell,
	#cruiseLinesRiverCruise #search_options > div > .cell,
	#countries #search_options > div > .cell,
	#cities #search_options > div > .cell,
	#waterways #search_options > div > .cell,
	#ships #search_options > div > div > div .cell,
	#departurePorts #search_options > div > div > div .cell,
	#departurePortsCruiseTour #search_options > div > div > div .cell {
		width: 16.6666%;
	}
}

@media only screen and (max-width: 2020px) {
	#portsOfCall #search_options > div > div > div .cell,
	#portsOfCallCruiseTour #search_options > div > div > div .cell {
		width: 20%;
	}
}

@media only screen and (max-width: 1820px) {
	#cruiseType #search_options > div > .cell,
	#destinations #search_options > div > .cell,
	#destinationsCruiseTour #search_options > div > .cell,
	#destinationsRiverCruise #search_options > div > .cell,
	#duration #search_options > div > .cell,
	#durationCruiseTour #search_options > div > .cell,
	#durationRiverCruise #search_options > div > .cell,
	#cruiseLines #search_options > div > .cell,
	#cruiseLinesCruiseTour #search_options > div > .cell,
	#cruiseLinesRiverCruise #search_options > div > .cell,
	#countries #search_options > div > .cell,
	#cities #search_options > div > .cell,
	#waterways #search_options > div > .cell,
	#ships #search_options > div > div > div .cell,
	#departurePorts #search_options > div > div > div .cell,
	#departurePortsCruiseTour #search_options > div > div > div .cell {
		width: 20%;
	}
}

@media only screen and (max-width: 1730px) {
	#portsOfCall #search_options > div > div > div .cell,
	#portsOfCallCruiseTour #search_options > div > div > div .cell {
		width: 25%;
	}
}

@media only screen and (max-width: 1440px) {
	#departureDate #search_options > div > div {
		width: 47%;
		margin-bottom: 40px;
	}
	
	#departureDate #search_options > div > div:last-child {
		margin-bottom: 0;
	}
}

@media only screen and (max-width: 1365px) {
	#cruiseType #search_options > div > .cell,
	#destinations #search_options > div > .cell,
	#destinationsCruiseTour #search_options > div > .cell,
	#destinationsRiverCruise #search_options > div > .cell,
	#duration #search_options > div > .cell,
	#durationCruiseTour #search_options > div > .cell,
	#durationRiverCruise #search_options > div > .cell,
	#cruiseLines #search_options > div > .cell,
	#cruiseLinesCruiseTour #search_options > div > .cell,
	#cruiseLinesRiverCruise #search_options > div > .cell,
	#countries #search_options > div > .cell,
	#cities #search_options > div > .cell,
	#waterways #search_options > div > .cell,
	#ships #search_options > div > div > div .cell,
	#departurePorts #search_options > div > div > div .cell,
	#departurePortsCruiseTour #search_options > div > div > div .cell {
		width: 25%;
	}
}

@media only screen and (max-width: 1318px) {
	#search_popup {
		min-width: auto;
		left: calc(2vw + 10%);
		right: calc(2vw + 10%);
		transform: translateY(-50%);
	}
}

@media only screen and (max-width: 1070px) {
	#search_options[data-categoryid="duration"] > div > .cell {
		width: 50%;
	}
}

@media only screen and (max-width: 1050px) {
	#search_selected > li {
		width: 33.3333%;
	}
}

@media only screen and (max-width: 1023px) {
	#cruiseType #search_options > div > .cell,
	#destinations #search_options > div > .cell,
	#destinationsCruiseTour #search_options > div > .cell,
	#destinationsRiverCruise #search_options > div > .cell,
	#duration #search_options > div > .cell,
	#durationCruiseTour #search_options > div > .cell,
	#durationRiverCruise #search_options > div > .cell,
	#cruiseLines #search_options > div > .cell,
	#cruiseLinesCruiseTour #search_options > div > .cell,
	#cruiseLinesRiverCruise #search_options > div > .cell,
	#countries #search_options > div > .cell,
	#cities #search_options > div > .cell,
	#waterways #search_options > div > .cell,
	#ships #search_options > div > div > div .cell,
	#departurePorts #search_options > div > div > div .cell,
	#departurePortsCruiseTour #search_options > div > div > div .cell,
	#portsOfCall #search_options > div > div > div .cell,
	#portsOfCallCruiseTour #search_options > div > div > div .cell {
		width: 33.3333%;
	}
}

@media only screen and (max-width: 970px) {
	#departureDate #search_options > div > div > div .cell {
		width: 50%;
	}
}

@media only screen and (max-width: 920px) {
	body.is_mobile:not(.is_phone) #options_nav > div:nth-of-type(odd) {
		width: 27%;
	}
	
	body.is_mobile:not(.is_phone) #options_nav > div a {
		padding: 2px 28px 1px;
	}

	body.is_mobile:not(.is_phone) #options_nav > div a span {
		padding-left: 0;
		display: block;
	}

	body.is_mobile:not(.is_phone) #options_nav > div a i {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
	}
	
	body.is_mobile:not(.is_phone) #options_nav > div:first-child a i {
		margin-right: 0;
		left: 9px;
	}
	
	body.is_mobile:not(.is_phone) #options_nav > div:last-child a i {
		margin-left: 0;
		right: 9px;
	}
}

@media only screen and (max-width: 800px) {
	#search_selected > li {
		width: 50%;
	}
}

@media only screen and (max-width: 775px) {
	body.is_phone #pop_up > div[data-id="cruiseType"] #options_nav > div:first-child {
		width: 0;
	}
	
	body.is_phone #pop_up > div[data-id="cruiseType"] #options_nav > div:last-child {
		width: 80%;
	}
	
	body.is_phone #options_nav > div:nth-of-type(odd) {
		max-width: 10em;
	}
	
	body.is_phone #options_nav > div a {
		padding: 2px 28px 1px;
	}

	body.is_phone #options_nav > div a span {
		padding-left: 0;
		display: block;
	}

	body.is_phone #options_nav > div a i {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
	}
	
	body.is_phone #options_nav > div:first-child a i {
		margin-right: 0;
		left: 9px;
	}
	
	body.is_phone #options_nav > div:last-child a i {
		margin-left: 0;
		right: 9px;
	}	
}

@media only screen and (max-width: 767px) {
	#cruiseType #search_options > div > .cell,
	#destinations #search_options > div > .cell,
	#destinationsCruiseTour #search_options > div > .cell,
	#destinationsRiverCruise #search_options > div > .cell,
	#duration #search_options > div > .cell,
	#durationCruiseTour #search_options > div > .cell,
	#durationRiverCruise #search_options > div > .cell,
	#cruiseLines #search_options > div > .cell,
	#cruiseLinesCruiseTour #search_options > div > .cell,
	#cruiseLinesRiverCruise #search_options > div > .cell,
	#countries #search_options > div > .cell,
	#cities #search_options > div > .cell,
	#waterways #search_options > div > .cell,
	#ships #search_options > div > div > div .cell,
	#departurePorts #search_options > div > div > div .cell,
	#departurePortsCruiseTour #search_options > div > div > div .cell,
	#portsOfCall #search_options > div > div > div .cell,
	#portsOfCallCruiseTour #search_options > div > div > div .cell {
		width: 50%;
	}
}

@media only screen and (max-width: 640px) {
	#departureDate #search_options > div > div {
		width: 100%;
	}
}

@media only screen and (max-width: 625px) {
	#options_nav {
		flex-wrap: wrap;
		background-color: #f5f5f5;
		border-bottom-color: #e0e0e0;
		padding: 0;
	}
	
	body.is_phone #options_nav > div:nth-of-type(2n+1) {
		max-width: none;
		width: 50%;
		padding: 13px;
		box-sizing: border-box;
	}
	
	#options_nav > div:first-child {
		order: 2;
	}
	
	#options_nav > div:last-child {
		order: 3;
	}
	
	#options_nav > div:nth-of-type(2) {
		order: 1;
		width: 100%;
		text-align: center;
		border-bottom: 1px solid #cdcdcd;
		background-color: #e6e6e6;
		box-sizing: border-box;
		padding: 13px;
	}
}

@media only screen and (max-width: 550px) {
	#search_selected > li {
		width: 100%;
	}
}