:root {
	--content_width: 800px;
	--medium_color: #777;
	--input_dark_color: #a2a2a2;
	--italic_letter_spacing: 0.023em;
	--btn_border_radius: 4px;
	--btn_box_shadow: 0 2px 2px 1px rgba(0, 0, 0, 0.12);
	--orange_hover: #e47e3a;
	--fade_out: all 222ms !important;
	--trans_medium_time: 248ms;
	--trans_medium: all var(--trans_medium_time);
	--light_bg: #fcfcfc;
	--dark_bg: #0c0c0c;
	--dark_button_orange: #ce6d2e;
	--dark_button_blue: #158fff;
	--header_color: hsl(0, 0%, 98%);
	--header_color_dark: hsl(0, 0%, 7%);
	--header_border: 1px solid hsla(0, 0%, 82%, 1);
	--header_border_dark: hsla(0, 0%, 15%, 1);
	--font-family_un: Inter, Lato, -apple-system, BlinkMacSystemFont, Calibri, Roboto, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	--highlight_yellow: hsl(60, 100%, 84%);
	--highlight_dark: hsl(245.25deg 85% 16%);
	--zap_yellow: #fffb06;
	--popup_border_color: #e3e3e3;
	--popup_border: 1px solid var(--popup_border_color);
	--popup_border_radius: 8px;
	--popup_box_shadow: inset 0 1px 1px rgba(0, 0, 0, .05), 0 3px 10px 0 rgba(0, 0, 0, .2);
	--popup_bg: #f5f5f5;
	--popup_dark_bg: #111;
	--popup_dark_border: #5f5f5f;
	--heart_pink: hsl(9, 77%, 65%);
	/* faved site names - deep enough to read on white, light enough on black */
	--fave_pink: hsl(0deg 18.9% 49.54%);
	--fave_pink_dark: hsl(0deg 41.47% 69.18%);
	--box_spacer: 12px;
	--subcat_hdr_bdrad: 6px;
	--subcat_ctr_border: 1px solid #ddd;
	--subcat_ctr_border_color: #ddd;
	--subcat_ctr_border_color_dark: #333;
	--box_shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
	/* the panel look shared by the menu dial's .menu_section blocks and the
	   get-the-extension popup's site columns */
	--menu_section_border_color: hsl(0deg 0% 50% / 30%);
	--menu_section_border_color_dark: hsl(0deg 0% 50% / 60%);
	--menu_section_bdr_radius: 8px;
	--menu_section_bg: #fff;
	--menu_section_bg_dark: hsl(0 0% 11% / 1);
	--menu_section_box_shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.05);
	--menu_section_box_shadow_dark: 0 2px 6px 0 rgba(0, 0, 0, 0.4);
	--menu_desktop_ctr_bdr: 1px solid #aaa;
	--menu_desktop_ctr_bdr_dark: 1px solid #444;
	--menu_desktop_ctr_bdr_radius: 11px;
	--dark_hover_box_shadow: 0 0 0 2px #807a18, 0 0 8px 3px #807a18;
	--dark_hover_box_shadow_inset: 0 0 0 2px #807a18 inset, 0 0 8px 3px #807a18 inset;
	--yellow_highlight_bg_color: hsl(54.68deg 100% 85.51%);
	--yellow_highlight_box_shadow: 0 0 2px 1px hsl(57.18deg 69.72% 77.71%), 0 0 4px 4px rgba(0, 0, 0, 0.05);
}

@font-face {
	font-family: 'Inter';
	font-weight: 100 900;
	font-display: swap;
	src: url('fonts/Inter-Variable.woff2') format('woff2-variations');
}

*:focus {
	outline: none;
}

body {
	display: flex;
	margin: 0;
	padding: 0;
	text-align: center;
	font-family: var(--font-family_un);
	font-size: 0.93rem;
	color: #333;
	background-color: var(--light_bg);
	min-height: 100vh;
	min-width: 800px;
	flex-direction: column;
	justify-content: start;
	align-items: center;
	line-height: 1;
	overflow: hidden;
}

body.dark {
	background-color: var(--dark_bg);
	color: #aaa;
}

body.color-theme-in-transition,
body.color-theme-in-transition *,
body.color-theme-in-transition *:before,
body.color-theme-in-transition *:after {
	transition: all 888ms !important;
	transition-delay: 0ms !important;
}

#content {
	flex: 1;
	text-align: center;
}

#content.dim {
	opacity: 0.3;
	filter: grayscale(1);
	pointer-events: none;
}

#app_version {
	margin-left: 8px;
}


.fade_out {
	transition: var(--fade_out);
}

.nowrap {
	white-space: nowrap;
}

.italic {
	font-style: italic;
	letter-spacing: var(--italic_letter_spacing);
}

.plusmin {
	font-size: 0.8em;
	margin: 0 0.2em;
	position: relative;
	top: -0.12em;
}

.plusmin:before {
	content: '\00B1';
	margin-right: 0.1em;
	position: relative;
	top: -0.12em;
	font-size: 0.9em;
}

button,
.ui-corner-all {
	border-radius: var(--btn_border_radius);
}

.ui-button {
	background-color: white;
	box-sizing: border-box;
	padding: 0.5em 1.1em;
	border: 1px solid #ccc;
	cursor: pointer;
	font: inherit;
	line-height: normal;
}

.ui-button:hover {
	border-color: darkorange;
	color: darkorange;
}

.ui-state-active {
	background-color: #3367a0;
	border-color: #3367a0;
}

input[type='text'],
input[type='number'],
input[type='email'],
textarea {
	color: rgba(0, 0, 0, .87);
}

body.dark input[type='text'],
body.dark input[type='number'],
body.dark input[type='email'],
body.dark textarea {
	color: var(--input_dark_color);
}

textarea {
	resize: none;
}

.inline_ctr>span,
.inline_ctr>div {
	vertical-align: top;
	display: inline-block;
}

.show_on_chrome_only,
body.chrome .hide_on_chrome {
	display: none;
}

body.chrome .show_on_chrome_only {
	display: block;
}

.show_on_edge_only,
body.edge .hide_on_edge {
	display: none;
}

body.edge .show_on_edge_only {
	display: block;
}

::-webkit-scrollbar {
	background: transparent;
	width: 0;
	height: 0;
}

pre {
	tab-size: 1.5;
}

#custom_searches_format th {
	font-weight: bold;
}

#custom_searches_format th {
	vertical-align: top;
}

#custom_searches_format td {
	vertical-align: top;
}

#custom_searches_format td:first-child {
	border-right: 1px solid;
	padding-right: 22px;
}

#custom_searches_format th:last-child,
#custom_searches_format td:last-child {
	padding-left: 22px;
}

#custom_searches_format pre {
	margin: 0;
}

#content .icon-mens_shoe:before {
	font-weight: bold;
}

.icon-hiking:before {
	margin: 0 -0.15em;
}

.icon-cart:before {
	font-size: 0.9em;
	position: relative;
	top: -1px;
}

.icon-briefcase {
	transform: scale(0.8);
	font-weight: bold;
}

.icon-shoes:before {
	font-size: 1.2em;
	line-height: 24px;
}

.icon-sparkle:before {
	content: '✨';
	position: relative;
	top: -2px;
	font-family: arial, sans-serif;
}

#home_input_ctr img {
	flex: 1;
	opacity: 0.76;
	right: 9px;
	box-sizing: border-box;
	padding: 5px;
	background-color: #80A89D;
	border-radius: 99px;
	height: 30px;
	width: 30px;
	cursor: pointer;
	position: absolute;
}

#home_input_ctr img:hover {
	opacity: 1;
}

#content .icon-ticket-star:before {
	margin: 0 -0.2em;
}

.dim {
	opacity: 0.3;
	pointer-events: none;
}

#connection_status_popup,
#connection_status_popup>div {
	text-align: center;
}

#browser_extensions {
	display: flex;
	margin-top: 22px;
	justify-content: center;
}

#browser_extensions img {
	width: 64px;
	height: 64px;
	margin: 11px;
}

#debug {
	display: none;
	border: 1px solid azure;
	padding: 11px;
}


#subsearches_ctr {
	display: none;
	position: relative;
	top: -8px;
}

#header {
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 2;
	max-width: var(--content_width);
	margin: auto;
}

a.no_underline:hover,
.look_like_link {
	cursor: pointer;
	color: #777;
	text-decoration: none;
}

.look_like_link:visited {
	color: #777;
}

.look_like_link:hover {
	color: var(--orange_hover) !important;
}


span.raquo:after {
	content: "\00BB";
	font-family: Tahoma, sans-serif;
}

#travel_form_ctr {
	display: flex;
	flex-direction: column;
	width: 88%;
	margin: auto;
	position: relative;
	left: 8px;
}

body:not(.travel_preview) #travel_form_ctr {
	display: none;
}

#menu_dial {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	/* no gap between columns - each .dial_item carries the spacing as its own
	   width instead, so the faves underneath get the full width to spread into
	   while the buttons stay exactly where they were */
	column-gap: 0;
	margin: 16px auto 0;
	position: relative;
	/* stretches down to the bottom of the viewport so .dial_faves/.dial_item
	   hover targets (and #travel_form_ctr's bottom:0) reach the page bottom */
	flex: 1;
	width: 100%;
	/* z-index: 20; */
}

/* alt-tab style recent-tab row - replaces the dial while it is up */
body.tab_switching #menu_dial {
	display: none;
}

#tab_switcher {
	display: none;
	flex-wrap: wrap;
	align-items: flex-start;
	align-content: center;
	justify-content: center;
	column-gap: 12px;
	row-gap: 42px;
	box-sizing: border-box;
	width: 100%;
	max-width: 100vw;
	margin: 24px auto 0;
	padding: 16px 24px;
	overflow: hidden;
	scrollbar-width: none;
}

body.tab_switching #tab_switcher {
	display: flex;
}

#tab_switcher::-webkit-scrollbar {
	display: none;
}

.tab_switch_item {
	flex: 0 0 auto;
	box-sizing: border-box;
	width: 108px;
	padding: 12px 6px;
	border-radius: 12px;
	cursor: pointer;
	text-align: center;
}

.tab_switch_item > .favicon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	margin: 0 auto 8px auto;
	border-radius: 16px;
	border: 1px solid #ddd;
	background-color: rgba(0, 0, 0, 0.03);
}

body.dark .tab_switch_item > .favicon {
	border-color: #444;
	background-color: rgba(255, 255, 255, 0.05);
}

.tab_switch_item > .favicon > img {
	width: 56px;
	height: 56px;
	object-fit: contain;
}

.tab_switch_item > .title {
	font-size: 12px;
	line-height: 1.3;
	max-height: 2.6em;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.tab_switch_empty {
	margin: 24px auto;
	opacity: 0.6;
}


.tab_switch_get_ext {
	margin-top: 8px;
	text-decoration: underline;
	cursor: pointer;
	opacity: 0.85;
}

.tab_switch_get_ext:hover {
	opacity: 1;
}

.tab_switch_spinner {
	display: inline-block;
	font-size: 22px;
	animation: tab_switch_spin 1s linear infinite;
}

@keyframes tab_switch_spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

#menu_dial .dial_item {
	display: flex;
	flex-direction: column;
	/* button width (96) + the old 50px inter-column gap, so button centres
	   land where they did before */
	align-items: start;
	box-sizing: border-box;
	width: 146px;
	/* full height of the dial (set by the tallest column) so the faves below
	   can claim the leftover space as hover area */
	align-self: stretch;
}

/* the button + its pop-down submenu; the anchor the submenu positions against,
   which is why the faves list below is a sibling of this and not inside it */
#menu_dial .dial_button {
	position: relative;
	/* full column width, padded to line up with the pins and faves below it */
	box-sizing: border-box;
	width: 100%;
	padding: 0 8px;
	cursor: pointer;
}

#menu_dial .dial_button > ul.menu_section {
	margin: 0;
}

#menu_dial .dial_button > ul.menu_section>li {
	/* anchors the two hover zones below */
	position: relative;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	height: 84px;
	padding: 0;
	row-gap: 4px;
	overflow: hidden;
}

#menu_dial .dial_icon {
	font-size: 1.667em;
	line-height: 1em;
}

#menu_dial .dial_button > ul.menu_section .cat_title {
	flex: none;
	text-align: center;
	padding-top: 3px;
	white-space: nowrap;
}

/* the button's hover is split in two: the icon area lights up the faves below,
   the strip at the bottom pops the submenu open. they live inside the li so it
   keeps its own :hover look and its click handler */
#menu_dial .dial_hover {
	/* the one line to retune both zones */
	--dial_hover_sub_height: 28px;
	position: absolute;
	left: 0;
	right: 0;
}

#menu_dial .dial_hover_icon {
	top: 0;
	height: 100%;
}

#menu_dial .dial_hover.dial_hover_sub {
	bottom: 0;
	height: 33%;
	width: 27%;
	right: 0;
	left: unset;
	position: absolute;
}
#menu_dial .dial_hover.dial_hover_sub:hover {
	width: 100%;
}

/* hint at the submenu strip: hidden at rest, faded in on hover */
#menu_dial .dial_caret {
	position: absolute;
	right: 0px;
	bottom: 3px;
	font-size: 18px;
	line-height: 1;
	color: #999;
	opacity: 0;
	pointer-events: none;
	transition: var(--trans_medium);
}
body.dark #menu_dial .dial_caret {
	color: #696969;
}

#menu_dial .dial_button:hover .dial_caret {
	opacity: 1;
}

#menu_dial .dial_hover_sub:hover ~ .dial_caret {
	color: darkorange;
}

body.dark #menu_dial .dial_hover_sub:hover ~ .dial_caret {
	color: yellow;
}

/* travel's flyout opens to the side, so its caret points that way - a plain '>', like a row's arrow */
#menu_dial .dial_caret_right {
	font-size: 0.9em;
	right: 7px;
	bottom: 7px;
}


/* --- menu dial submenus (pop down on hover) --- */

#menu_dial .dial_submenu {
	position: absolute;
	/* .dial_button is the anchor, so this hangs off the bottom of the button
	   itself rather than the bottom of the whole item (faves included) */
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	/* padding-top: 1px; */
	/* bridges the gap so the submenu survives the trip from button to menu */
	z-index: 30;
	/* fades in/out like the faves; visibility rather than display so the
	   opacity can animate, and so it stays un-hoverable while hidden */
	visibility: hidden;
	opacity: 0;
	transition: opacity var(--trans_medium_time), visibility var(--trans_medium_time);
}

#menu_dial .dial_button.dial_open .dial_submenu {
	visibility: visible;
	opacity: 1;
}

#menu_dial .dial_submenu_inner {
	display: flex;
	/* sections side by side; for the vertical stack instead, swap these three for:
	   flex-direction: column; align-items: stretch; row-gap: 10px; */
	flex-direction: row;
	align-items: flex-start;
	column-gap: 10px;
	/* no panel of its own - each section carries its own opaque background,
	   and the padding / gaps between them stay transparent */
	padding: 7px 10px 10px 10px;
	background: none;
	border: none;
}

/* groups sections into one vertical column inside the horizontal row */
#menu_dial .dial_submenu_col {
	display: flex;
	flex-direction: column;
	row-gap: 10px;
}

/* a single-column submenu spans the button instead of floating narrow under it -
   8px inner padding so its section lines up with the button's own */
#menu_dial .dial_submenu:has(> .dial_submenu_inner > :only-child) {
	left: 0;
	right: 0;
	transform: none;
}

#menu_dial .dial_submenu:has(> .dial_submenu_inner > :only-child) .dial_submenu_inner {
	padding-left: 8px;
	padding-right: 8px;
}

#menu_dial .dial_submenu_inner > :only-child {
	flex: 1;
}

#menu_dial .dial_submenu ul.menu_section {
	margin: 0;
	min-width: 104px;
}

#menu_dial .dial_submenu ul.menu_section>li {
	padding: 6px 22px 6px 4px;
}

#menu_dial .dial_submenu .cat_title {
	white-space: nowrap;
	flex: 1;
	text-align: left;
	padding-left: 1px;
	text-transform: capitalize;
}

/* --- submenu flyouts: a submenu entry's own sites, opening to its right --- */

#menu_dial .dial_submenu li[data-cat],
#menu_dial .dial_pins li[data-cat] {
	position: relative;
}

/* full row height and a wide left pad - it's the flyout's only hover target */
#menu_dial .dial_arrow {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	padding: 0 10px 0 20px;
	font-size: 0.9em;
	line-height: 1;
	/* glyph renders low in its em box; nudge it to optical centre */
	transform: translateY(-0.1em);
	opacity: 0;
	transition: opacity var(--trans_medium_time);
}

#menu_dial .dial_submenu li[data-cat]:hover>.dial_arrow,
#menu_dial .dial_pins li[data-cat]:hover>.dial_arrow {
	opacity: 0.7;
}

#menu_dial .dial_flyout {
	position: absolute;
	top: -5px;
	left: 99%;
	display: flex;
	align-items: flex-start;
	/* one row of columns, always - a narrow window just clips it (body is overflow: hidden) */
	flex-wrap: nowrap;
	/* no gap: the space between columns is transparent padding on the columns themselves,
	   so the pointer never crosses dead space on its way to the next panel */
	column-gap: 0;
	/* left: 100% leaves no available width, so shrink-to-fit would collapse this
	   to a single column */
	width: max-content;
	/* bridges the gap so the pointer survives the trip from the entry to the panel */
	padding-left: 7px;
	z-index: 40;
	cursor: pointer;
	visibility: hidden;
	opacity: 0;
	transition: opacity var(--trans_medium_time), visibility var(--trans_medium_time);
	margin-left: -33px;
}

#menu_dial .dial_submenu li[data-cat].flyout_open>.dial_flyout,
#menu_dial .dial_pins li[data-cat].flyout_open>.dial_flyout,
#menu_dial .dial_button li[data-cat].flyout_open>.dial_flyout {
	visibility: visible;
	opacity: 1;
}

/* a column shrinks to its longest site name; stacked panels share that width */
#menu_dial .dial_flyout_col {
	display: flex;
	flex-direction: column;
	row-gap: 8px;
	width: max-content;
	max-width: 250px;
}

#menu_dial .dial_flyout_col+.dial_flyout_col {
	padding-left: 8px;
}

/* the second column only exists while a subcat row is hovered */
#menu_dial .dial_flyout_sub_col,
#menu_dial .dial_flyout .dial_flyout_sub_col>.subcat_ctr {
	display: none;
}

/* the subcat panel opens where the list's run-on column was */
#menu_dial .dial_flyout.sub_open>.dial_flyout_more_col {
	display: none;
}

/* offset by JS so the panel opens level with its row, without shifting the column */
#menu_dial .dial_flyout.sub_open>.dial_flyout_sub_col {
	display: flex;
	position: relative;
}

#menu_dial .dial_flyout .dial_flyout_sub_col>.subcat_ctr.open {
	display: block;
}

#menu_dial .dial_flyout .subcat_ctr {
	display: block;
	width: auto;
	margin: 0;
}

#menu_dial .dial_flyout [data-id] {
	width: auto;
	padding-right: 28px;
}

#menu_dial .dial_flyout [data-id]>.title,
#menu_dial .dial_flyout_sub>.title {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* subcat group header at the top of a flyout column */
#menu_dial .dial_flyout_hdr {
	width: 100%;
	box-sizing: border-box;
	padding: 4px 7px 5px;
	margin-bottom: 0;
	font-size: 0.85em;
	font-weight: 600;
	text-transform: capitalize;
	white-space: nowrap;
	color: #777;
	border-bottom: 1px solid var(--menu_section_border_color);
	cursor: pointer;
	transition: var(--trans_medium);
	background-color: #fbf9ea;
	border-top-right-radius: var(--menu_section_bdr_radius);
	border-top-left-radius: var(--menu_section_bdr_radius);
}

/* same yellow as a .subcat_hdr */
#menu_dial .dial_flyout_hdr:hover {
	color: #ac6816;
}

body.dark #menu_dial .dial_flyout_hdr {
	color: #999;
	border-bottom-color: var(--menu_section_border_color_dark);
	background-color: black;
}

body.dark #menu_dial .dial_flyout_hdr:hover {
	color: #c2b045;
}

#menu_dial .dial_flyout .subcat_ctr {
	transition: var(--trans_medium);
}

/* out-specifies the flyout's own panel box-shadow so .highlight can paint over it */
#menu_dial .dial_flyout .subcat_ctr.highlight {
	background-color: var(--yellow_highlight_bg_color);
	box-shadow: var(--yellow_highlight_box_shadow);
}

body.dark #menu_dial .dial_flyout .subcat_ctr.highlight {
	background-color: black;
	border-color: var(--dark_bg);
	box-shadow: var(--dark_hover_box_shadow);
}

#menu_dial .button_ctr [data-id]>.favicon {
	position: relative;
	align-self: stretch;
	box-sizing: content-box;
	width: 16px;
	min-width: 16px;
	margin: 0 0 0 -7px;
	padding: 0 6px 0 7px;
	cursor: pointer;
}

#menu_dial .button_ctr [data-id]>.favicon>img,
#menu_dial .button_ctr [data-id]>.favicon>.icon-new_window {
	position: absolute;
	left: 7px;
	top: 50%;
	width: 16px;
	height: 16px;
	transform: translateY(-50%);
}

#menu_dial .button_ctr [data-id]>.favicon>.icon-home {
	display: none;
}

#menu_dial .button_ctr [data-id]>.favicon>.icon-new_window {
	display: none;
	padding: 0;
	font-size: 15px;
	line-height: 16px;
	text-align: center;
	background: none;
	outline: none;
}

#menu_dial .button_ctr [data-id]>.favicon:hover>img {
	visibility: hidden;
}

#menu_dial .button_ctr [data-id]>.favicon:hover>.icon-new_window {
	display: block;
}

#menu_dial .dial_flyout_faves {
	width: 100%;
	border-top: 1px solid var(--menu_section_border_color);
	/* border-bottom: 1px solid var(--menu_section_border_color); */
	margin-bottom: 2px;
}

body.dark #menu_dial .dial_flyout_faves {
	border-top-color: var(--menu_section_border_color_dark);
	border-bottom-color: var(--menu_section_border_color_dark);
}

#menu_dial .dial_flyout_faves>[data-id]:last-child {
	border-bottom: none;
}

#menu_dial .dial_flyout_faves:first-child {
	border-top: none;
}

#menu_dial .dial_flyout_faves:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

#menu_dial .dial_flyout_faves [data-id] {
	background-color: #fff3f5;
}

#menu_dial .dial_flyout_faves [data-id]>.title {
	color: var(--fave_pink);
}

body.dark #menu_dial .dial_flyout_faves [data-id] {
	background-color: transparent;
}

body.dark #menu_dial .dial_flyout_faves [data-id]>.title {
	color: var(--fave_pink_dark);
}

#menu_dial .dial_flyout_faves.highlight [data-id],
#menu_dial .dial_flyout_faves [data-id]:hover,
#menu_dial .dial_flyout_faves [data-id].hover,
#menu_dial .dial_flyout_faves [data-id].highlight {
	background-color: var(--yellow_highlight_bg_color);
}

#menu_dial .dial_flyout_faves.highlight {
	box-shadow: var(--yellow_highlight_box_shadow);
}

body.dark #menu_dial .dial_flyout_faves.highlight [data-id],
body.dark #menu_dial .dial_flyout_faves [data-id]:hover,
body.dark #menu_dial .dial_flyout_faves [data-id].hover,
body.dark #menu_dial .dial_flyout_faves [data-id].highlight {
	background-color: black;
}

body.dark #menu_dial .dial_flyout_faves.highlight {
	box-shadow: var(--dark_hover_box_shadow);
}

#menu_dial .dial_flyout .subcat_ctr.highlight .dial_flyout_faves [data-id] {
	background-color: transparent;
}

#menu_dial .dial_flyout_hdr:hover~.dial_flyout_sub {
	display: none;
}

/* --- pinned subcats, parked under their dial button --- */

#menu_dial .dial_pins {
	box-sizing: border-box;
	width: 100%;
	padding: 0 8px;
	margin-top: 7px;
	transition: opacity var(--trans_medium_time), visibility var(--trans_medium_time);
}

#menu_dial .dial_pins:empty {
	margin-top: 0;
}

#menu_dial .dial_pins ul.menu_section {
	margin: 0;
}

/* right pad leaves room for the flyout arrow, same as a submenu row */
#menu_dial .dial_pins:not(.travel_cats) ul.menu_section>li {
	padding: 6px 22px 7px 4px;
	/* a pin stays quiet until you go for it - light rows take more dimming than dark */
	opacity: 0.55;
	transition: opacity var(--trans_medium_time);
}

body.dark #menu_dial .dial_pins:not(.travel_cats) ul.menu_section>li {
	opacity: 0.72;
}

/* going for one pin brings the whole section back up */
#menu_dial .dial_pins:not(.travel_cats):hover ul.menu_section>li,
body.dark #menu_dial .dial_pins:not(.travel_cats):hover ul.menu_section>li {
	opacity: 1;
}

#menu_dial .dial_pins .cat_title {
	white-space: nowrap;
	flex: 1;
	text-align: left;
	padding-left: 1px;
	text-transform: capitalize;
}

/* hovering the icon itself turns it into the pin heart: filled to pin, outline to unpin */
#menu_dial .dial_submenu ul.menu_section>li[data-cat]:hover>.icon:hover:before {
	content: '\e9da';
	/* cats whose own icon sets a text font (e.g. .icon-sparkle) must go back to icomoon */
	font-family: 'icomoon';
	top: 0;
	color: var(--heart_pink) !important;
}

/* hovering the row (not its icon) hints the icon toward "open in new window" */
#menu_dial .dial_submenu ul.menu_section>li[data-cat]:hover>.icon:before {
	content: '\e929';
	font-family: 'icomoon';
	top: 0;
	margin-left: -3px;
}

#menu_dial .dial_pins:not(.travel_cats) ul.menu_section>li.dial_favorite:not(.dial_last_used)>.icon:hover:before {
	content: '\e947';
	font-family: 'icomoon';
	top: 0;
}

#menu_dial .dial_pins:not(.travel_cats) ul.menu_section>li:not(.dial_favorite):not(.dial_last_used)>.icon:hover:before {
	content: '\e9da';
	font-family: 'icomoon';
	top: 0;
}

/* hovering the row (not its icon) hints the icon toward "open in new window" */
#menu_dial .dial_pins:not(.travel_cats) ul.menu_section>li[data-cat]:hover>.icon:before {
	content: '\e929';
	font-family: 'icomoon';
	top: 0;
}

/* --- fixed travel buttons, one section each --- */
/* (they can't be unpinned, so the heart rule above skips them) */

#menu_dial .travel_cats {
	margin-top: 0;
}

#menu_dial .travel_cats ul.menu_section>li {
	padding-top: 9px;
	padding-bottom: 9px;
	opacity: 1;
}

#menu_dial .travel_cats ul.menu_section+ul.menu_section {
	margin-top: 7px;
}

/* the faves column below is what dims, never these */
#menu_dial .travel_cats.pins_dim {
	opacity: 1;
}

/* --- favorites under each dial button (reuses the .subcat_ctr look) --- */

#menu_dial .dial_faves {
	flex-direction: column;
	flex-wrap: nowrap;
	/* fills the whole column, minus a little breathing room on each side */
	box-sizing: border-box;
	width: 100%;
	padding: 3px 9px;
	margin: 4px 0 0;
	z-index: auto;
	/* runs to the bottom of #menu_dial so the empty space under a short list is
	   still part of the hover target; the rows themselves stay at the top */
	flex: 1;
	justify-content: flex-start;
	/* a long list stops at the bottom of the page (max-height set in js) and scrolls */
	overflow-y: auto;
	overflow-x: hidden;
	/* the whole section stays dim until its dial button is hovered */
	opacity: 0.2;
	transition: var(--trans_medium);
}

body.dark #menu_dial .dial_faves {
	opacity: 0.4;
}

/* the dark rule above is a class more specific than a bare `.dial_faves:hover`,
   so dark mode needs its own hover or 0.4 wins and the column never undims */
#menu_dial .dial_faves:hover,
body.dark #menu_dial .dial_faves:hover,
	/* hovering the icon area of the button above lights the whole column up too */
#menu_dial .dial_faves.faves_highlight,
body.dark #menu_dial .dial_faves.faves_highlight,
body.travel_preview #menu_dial .dial_item[data-dial="travel"] .dial_faves,
body.dark.travel_preview #menu_dial .dial_item[data-dial="travel"] .dial_faves,
body.ai_preview #menu_dial .dial_item[data-dial="ai"] .dial_faves,
body.dark.ai_preview #menu_dial .dial_item[data-dial="ai"] .dial_faves {
	opacity: 1;
}

/* ...and paints the rows as one block, like a hovered flyout header does its section */
#menu_dial .dial_faves.faves_highlight .dial_faves_inner {
	background-color: var(--yellow_highlight_bg_color);
	box-shadow: var(--yellow_highlight_box_shadow);
}

body.dark #menu_dial .dial_faves.faves_highlight .dial_faves_inner {
	background-color: black;
	box-shadow: var(--dark_hover_box_shadow);
}

/* while a submenu is popped open, every faves column gets out of the way -
   visibility rather than display so the dial doesn't reflow underneath it */
#menu_dial.dial_submenu_open .dial_faves,
body.dark #menu_dial.dial_submenu_open .dial_faves,
#menu_dial.dial_submenu_open .dial_pins:not(.travel_cats) {
	visibility: hidden;
	opacity: 0;
}

/* travel hover preview: every other column steps aside - visibility, not display, so the travel button doesn't move */
body.travel_preview #menu_dial .dial_item:not([data-dial="travel"]),
body.dark.travel_preview #menu_dial .dial_item:not([data-dial="travel"]) {
	visibility: hidden;
	opacity: 0;
}

body.travel_preview #menu_dial .dial_item[data-dial="travel"] {
	position: relative;
}

/* left: 100% is the column's own width; the width is the rest of the dial, measured in show_travel_preview() and set inline */
body.travel_preview #travel_form_ctr {
	position: absolute;
	top: 0;
	left: 100%;
	/* down to the bottom of the dial so sliding off the form sideways is still inside it */
	bottom: 0;
}

/* AI hover preview: the prompt box, mirrored to the other side of its column */
#ai_prompt_ctr {
	display: none;
}

body.ai_preview #menu_dial .dial_item:not([data-dial="ai"]),
body.dark.ai_preview #menu_dial .dial_item:not([data-dial="ai"]) {
	visibility: hidden;
	opacity: 0;
}

body.ai_preview #menu_dial .dial_item[data-dial="ai"] {
	position: relative;
}

body.ai_preview #ai_prompt_ctr {
	display: flex;
	position: absolute;
	top: 0;
	right: 100%;
	/* down to the bottom of the dial so sliding off the box sideways is still inside it */
	bottom: 0;
	padding-right: 8px;
	box-sizing: border-box;
}

/* the box keeps its own height - the container's extra height is hover area only */
body.ai_preview #ai_prompt_ctr textarea {
	align-self: flex-start;
	height: 190px;
}

#ai_prompt_ctr textarea {
	flex: 1;
	padding: 11px 32px 11px 16px;
	box-sizing: border-box;
	resize: none;
	outline: none;
	overflow: auto;
	font-family: arial, helvetica, sans-serif;
	font-size: 1em;
	color: #555;
	background-color: #fffaee;
	border: 1px solid #ddd;
	border-radius: 11px;
	box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.2);
}

body.dark #ai_prompt_ctr textarea {
	color: #ccc;
	background-color: var(--header_color_dark);
	border: var(--header_border);
	border-color: var(--header_border_dark);
	box-shadow: 0 0 4px 2px #a89f3a;
}

#ai_prompt_buttons {
	position: absolute;
	top: 7px;
	right: 16px;
	z-index: 22;
	display: flex;
	flex-direction: column;
	gap: 4px;
	align-items: center;
	line-height: 1;
}

#ai_prompt_ctr .prompt_button {
	font-size: 1.1em;
	color: #bbb;
	cursor: pointer;
}
body.dark #ai_prompt_ctr .prompt_button {
	color: #555;
}

#ai_prompt_ctr .prompt_button:hover {
	color: darkorange;
}

#ai_prompt_history_btn {
	position: relative;
}

#ai_prompt_history_list {
	position: absolute;
	top: 100%;
	right: 0;
	width: 320px;
	max-height: 210px;
	overflow-y: auto;
	display: none;
	flex-direction: column;
	font-family: arial, helvetica, sans-serif;
	font-size: 0.8rem;
	color: #555;
	cursor: default;
	background: #e3e3e3;
	border: 1px solid #aaa;
	border-radius: 4px;
	z-index: 1000;
}

body.dark #ai_prompt_history_list {
	color: #ccc;
	background: #111;
	border-color: #333;
}

#ai_prompt_history_list div {
	padding: 10px 14px;
	max-height: 3.6em;
	overflow: hidden;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
	border-bottom: 2px solid #aaa;
}

#ai_prompt_history_list div:last-child {
	border-bottom: none;
}

body.dark #ai_prompt_history_list div {
	border-color: #333;
}

#ai_prompt_history_list div:hover {
	color: white;
	background: #333;
}

#ai_prompt_ctr textarea::placeholder {
	font-style: italic;
}


/* DEFAULT-AI CONTROL - favicon pill floating in the prompt box, expands on hover */
#ai_prompt_col {
	position: relative;
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

#ai_prompt_col > textarea {
	flex: 0 0 auto;
}

body.ai_preview #ai_prompt_col > textarea {
	align-self: stretch;
}

/* main page: the box is a fixed height, so the column hugs it and the floating
   control lands on the textarea's own bottom edge (the launcher box fills down) */
body.ai_preview:not(.app_launcher) #ai_prompt_col {
	align-self: flex-start;
}

body.app_launcher.ai_preview #ai_prompt_col > textarea {
	flex: 1 1 0;
	height: auto;
	min-height: 0;
}

/* floats over the bottom-right corner of the prompt box */
#ai_default_row {
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 23;
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: arial, helvetica, sans-serif;
	font-size: 0.85rem;
	color: #555;
}

body.dark #ai_default_row {
	color: #ccc;
}

/* the return-key hint, always visible left of the button */
#ai_default_label {
	font-size: 1.1rem;
	/* line-height: 1; */
	opacity: 0.55;
	transform: scaley(1.3) translatey(2px);
}

#ai_default_ctr {
	position: relative;
	display: inline-flex;
}

/* collapsed: just the favicon in a circle */
#ai_default_btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px;
	border: 1px solid #ccc;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.75);
	font-weight: bold;
	color: inherit;
	cursor: pointer;
}

body.dark #ai_default_btn {
	border-color: #555;
	background-color: rgba(0, 0, 0, 0.55);
}

#ai_default_btn .default_search_item_label {
	display: none;
	white-space: nowrap;
}

/* expanded on hover: a pill with the AI name */
#ai_default_row:hover #ai_default_btn {
	padding: 4px 12px 4px 6px;
	border-radius: var(--popup_border_radius);
	background-color: #fffdb6;
}

body.dark #ai_default_row:hover #ai_default_btn {
	background-color: black;
	border-color: #868438;
	color: #b5b126;
}

#ai_default_row:hover #ai_default_btn .default_search_item_label {
	display: block;
}

/* identical favicon box + spacing on the button and the menu items;
   height:auto kills the shared 24px so the collapsed button stays square */
#ai_default_btn .default_search_item_icon,
#ai_default_menu .default_search_item_icon {
	flex: none;
	width: auto;
	height: auto;
	margin-right: 0;
}

#ai_default_btn .default_search_item_icon > img,
#ai_default_menu .default_search_item_icon > img {
	width: 16px;
	height: 16px;
}

#ai_default_menu .default_search_item {
	gap: 6px;
}

body.dark #ai_default_menu img.dark {
	filter: invert(1);
}

/* button favicon greys out until the button or its menu is hovered */
#ai_default_btn .default_search_item_icon > img {
	filter: grayscale(1);
}

#ai_default_row:hover #ai_default_btn .default_search_item_icon > img {
	filter: none;
}

body.dark #ai_default_btn .default_search_item_icon > img.dark {
	filter: grayscale(1) invert(1);
}

body.dark #ai_default_row:hover #ai_default_btn .default_search_item_icon > img.dark {
	filter: invert(1);
}

/* dropdown chrome; rows reuse .default_search_item styling */
#ai_default_menu {
	position: absolute;
	right: 0;
	top: 100%;
	display: none;
	flex-direction: column;
	width: max-content;
	max-height: 260px;
	overflow-y: auto;
	background: hsl(0 0% 97% / 1);
	border: 1px solid #aaa;
	border-radius: var(--popup_border_radius);
	z-index: 1000;
}

body.dark #ai_default_menu {
	background: #111;
	border-color: #444;
}

/* the menu is a descendant of #ai_default_ctr, so mouseleave (and hoverIntent's
   out) only fires once the pointer leaves both the button and the menu */
#ai_default_ctr.open > #ai_default_menu {
	display: flex;
}

/* launcher: the prompt box fills to the bottom, so the menu opens upward and
   lists nearest-first from the button */
body.app_launcher #ai_default_menu {
	top: auto;
	bottom: 100%;
}

body.app_launcher #ai_default_ctr.open > #ai_default_menu {
	flex-direction: column-reverse;
}


/* APP LAUNCHER ============================================================= APP LAUNCHER */
/* The Electron launcher window is this page loaded with ?app_launcher=1: the AI
   faves column and its prompt box, permanently in the ai_preview state, and nothing else. */

body.app_launcher #logo,
body.app_launcher #menu_top,
body.app_launcher #home_input_ctr_ctr,
body.app_launcher #travel_form_ctr,
body.app_launcher #tour,
body.app_launcher #history,
body.app_launcher #tab_switcher,
body.app_launcher > .fixed_button,
body.app_launcher #menu_dial .dial_item:not([data-dial="ai"]),
body.app_launcher #menu_dial .dial_item[data-dial="ai"] > .dial_button,
body.app_launcher #menu_dial .dial_item[data-dial="ai"] > .dial_pins {
	display: none;
}

body.app_launcher {
	overflow: hidden;
}

body.app_launcher #menu_dial {
	margin: 0;
	height: 100vh;
}

/* prompt box beside the column in normal flow, so nothing has to be measured.
   A definite height, so the ninja eye's longer show-all list can't stretch the
   row - and with it the prompt box beside it.
   Grid: prompt fills the left, the ninja eye sits above the faves column on the right */
body.app_launcher #menu_dial .dial_item[data-dial="ai"] {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto 1fr;
	column-gap: 12px;
	box-sizing: border-box;
	width: 100%;
	height: 100vh;
	padding: 12px;
}

/* relative, not static - #ai_prompt_buttons anchors to it. The offsets that
   position it beside the column on the main page have to go, or `right: 100%`
   shifts it off screen by its own width */
body.app_launcher.ai_preview #ai_prompt_ctr {
	position: relative;
	top: auto;
	right: auto;
	bottom: auto;
	left: auto;
	grid-column: 1;
	grid-row: 1 / 3;
	height: 100%;
}

body.app_launcher.ai_preview #ai_prompt_ctr textarea {
	align-self: stretch;
	height: 100%;
}

/* only as wide as the longest AI name.
   !important beats the inline max-height from fit_dial_faves(), which measures
   against the viewport and so overshoots this padded row. min-height:0 lets the
   grid row clamp it so the list scrolls instead of pushing the row taller */
body.app_launcher #menu_dial .dial_item[data-dial="ai"] .dial_faves {
	grid-column: 2;
	grid-row: 2;
	width: auto;
	min-width: 150px;
	min-height: 0;
	max-height: 100% !important;
	margin-top: 0;
}

/* the ninja eye above the AI column - a recolourable mask so hover can paint it
   yellow, standing in for the AI dial button the launcher hides */
body.app_launcher .ai_launcher_eye {
	grid-column: 2;
	grid-row: 1;
	justify-self: center;
	align-self: end;
	width: 84px;
	aspect-ratio: 887 / 232;
	margin-bottom: 12px;
	cursor: pointer;
	-webkit-mask: url("../images/logo/logo-eyes.svg") center / contain no-repeat;
	mask: url("../images/logo/logo-eyes.svg") center / contain no-repeat;
	background-color: #8a8a8a;
	transition: background-color 150ms, filter 150ms;
}

body.app_launcher .ai_launcher_eye:hover {
	background-color: #ffd400;
	filter: drop-shadow(0 0 6px rgba(255, 212, 0, 0.55));
}

body.dark.app_launcher .ai_launcher_eye {
	background-color: #9a9a9a;
}

/* the column starts at the top of the row - nothing sits above it to clear */
body.app_launcher #menu_dial .dial_faves_inner {
	padding-top: 0;
}

#menu_dial .dial_faves [data-id] {
	opacity: 1;
	width: auto;
	padding-left: 7px;
	padding-right: 0;
	text-transform: capitalize;
}

#menu_dial .dial_faves [data-id]>.title {
	/* padding: 3px 0 3px 6px; */
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* holds the rows alone - the ninja eye sits outside it, so the highlight skips it */
#menu_dial .dial_faves_inner {
	position: relative;
	z-index: 0;
	width: 100%;
	padding: 3px 0;
	background-color: transparent;
	border-radius: 6px;
	transition: var(--trans_medium);
}

#menu_dial .dial_faves_inner:empty {
	display: none;
}

#menu_dial .dial_faves_inner>[data-id]:last-child {
	border-bottom: none;
}

#menu_dial .dial_faves_all {
	position: sticky;
	bottom: 0;
	flex: none;
	display: flex;
	justify-content: center;
	/* just wider than the eye itself, centred under the list */
	width: fit-content;
	margin: 5px auto;
	padding: 0px 8px 3px;
	color: #aaa;
	background-color: var(--light_bg);
	cursor: pointer;
	transition: color var(--trans_medium_time);
	border-radius: 8px;
}

body.dark #menu_dial .dial_faves_all {
	background-color: var(--dark_bg);
}

#menu_dial .dial_faves_all>.icon-ninja_eye {
	font-size: 25px;
	line-height: 1;
	opacity: 0.6;
	transition: opacity var(--trans_medium_time);
}

#menu_dial .dial_faves_all:hover>.icon-ninja_eye,
#menu_dial .dial_faves.show_all .dial_faves_all>.icon-ninja_eye {
	opacity: 1;
}

#menu_dial .dial_faves_all:hover {
	color: darkorange;
}

body.dark #menu_dial .dial_faves_all:hover {
	color: var(--zap_yellow);
}

/* lit while the whole cat is on show */
#menu_dial .dial_faves.show_all .dial_faves_all {
	color: darkorange;
}

body.dark #menu_dial .dial_faves.show_all .dial_faves_all {
	color: var(--zap_yellow);
}

.menu_column .cat_title {
	white-space: nowrap;
	transition: width var(--trans_medium_time), padding var(--trans_medium_time);
	flex: 1;
	text-align: left;
	padding-left: 1px;
	text-transform: capitalize;
}

div.menu_column {
	position: relative;
}

.menu_column .icon_right {
	display: none;
	position: absolute;
	right: 0;
}

.menu_column [data-cat]:hover .icon_right {
	display: block;
}

ul.menu_section {
	border-radius: var(--menu_section_bdr_radius);
	padding: 0;
	margin: 0 0 10px 0;
}

ul.menu_section>li {
	list-style: none;
	display: flex;
	padding: 6px 0;
	border: 1px solid;
	border-color: var(--menu_section_border_color);
	border-bottom: none;
	cursor: pointer;
	flex-direction: row;
	transition: all 123ms;
}

body.dark ul.menu_section>li {
	border-color: var(--menu_section_border_color_dark);
}

ul.menu_section>li:first-child {
	border-top-left-radius: var(--menu_section_bdr_radius);
	border-top-right-radius: var(--menu_section_bdr_radius);
}

ul.menu_section>li:last-child {
	border-bottom: 1px solid;
	border-color: var(--menu_section_border_color);
	border-bottom-left-radius: var(--menu_section_bdr_radius);
	border-bottom-right-radius: var(--menu_section_bdr_radius);
}

body.dark ul.menu_section>li:last-child {
	border-color: var(--menu_section_border_color_dark);
}

ul.menu_section>li.highlight,
#menu_left_selector>div.highlight,
#menu_dial ul.menu_section>li:hover,
#tour_pick_categories li:hover {
	background-color: var(--yellow_highlight_bg_color);
	box-shadow: var(--yellow_highlight_box_shadow);
}

body.dark #menu_left_selector>div:before {
	opacity: 0.7;
}

body.dark #menu_left_selector>div.highlight:before,
#menu_left_selector>div.highlight:before {
	opacity: 1;
}

body.dark ul.menu_section>li.highlight,
body.dark #menu_left_selector>div.highlight,
body.dark #menu_dial ul.menu_section>li:hover,
body.dark #tour_pick_categories li:hover {
	color: yellow;
	box-shadow: var(--dark_hover_box_shadow);
	background: black;
}

ul.menu_section>li>.icon {
	width: 28px;
	height: 16px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

ul.menu_section>li>.icon.icon-shoes {
	position: relative;
	top: -5px;
}

body.dark ul.menu_section>li {
	background-color: transparent;
}

#menu_left .menu_column li:not(.highlight) {
	opacity: 0.6;
}

#menu_left [data-column="faves"] li:not(.highlight) {
	opacity: 0.8;
}

#menu_left:hover .menu_column li:not(.highlight) {
	opacity: 0.9;
}


/*.menu_section.yellow > li {*/
.yellow {
	background: hsl(54, 100%, 96%);
}

/*.menu_section.orange > li {*/
.orange {
	background: hsl(42.81deg 100% 94.7%);
}

/*.menu_section.purple > li {*/
.purple {
	background: hsl(260, 100%, 97.5%);
}

/*.menu_section.red > li {*/
.red {
	background-color: hsl(0deg 100% 97%);
}

/*.menu_section.green > li {*/
.green {
	background: hsl(90 100% 97% / 1);
}

/*.menu_section.blue > li {*/
.blue {
	background: hsl(220, 100%, 97.5%);
}

body.dark #menu_left_selector>div,
body.dark .menu_section.yellow>li {
	box-shadow: 0 0 2px 1px #72772f;
}

body.dark .yellow,
body.dark #menu_left_selector>div {
	color: #ccbd62;
}

body.dark .menu_section.orange>li {
	box-shadow: 0 0 2px 1px #db9f1a;
}

body.dark .orange {
	color: #cda757;
}

body.dark .menu_section.purple>li {
	box-shadow: 0 0 2px 1px #d645bb;
}

body.dark .purple {
	color: #f894dd;
}

body.dark .menu_section.red>li {
	box-shadow: 0 0 2px 1px #c55e44;
}

body.dark .red {
	color: #e98d68;
}

body.dark .menu_section.blue>li {
	box-shadow: 0 0 2px 1px #576dce;
}

body.dark .blue {
	color: #91a9ff;
}

body.dark .menu_section.green>li {
	box-shadow: 0 0 2px 1px #3d693d;
}

body.dark .green {
	color: #7fbd7e;
}

.button_ctr_highlight .br {
	flex-basis: 100%;
	height: 0;
	display: block;
}


.fixed_button {
	position: absolute;
	font-size: 1.3em;
	padding: 8px;
	border: 1px solid #777;
	border-radius: 99px;
	cursor: pointer;
	opacity: 0.6;
}

.fixed_button:hover {
	color: var(--orange_hover) !important;
	border: 1px solid var(--orange_hover);
	opacity: 1;
}

body>div.contact_us {
	right: 18px;
	bottom: 18px;
}

#spock {
	position: static;
	order: 1;
	align-self: flex-end;
	margin: 0 0 6px 6px;
	border: none;
	font-size: 1.2em;
}

body.sorting #spock {
	color: #87d90c;
	opacity: 1;
}

.sorting .ui-sortable-handle {
	cursor: url('../images/icons/hand-spock-right-blue.png') 15 15, auto;
}

.sorting .ui-sortable-helper,
.sorting .ui-sortable-handle:active {
	cursor: url('../images/icons/hand-grab-o-blue.png') 12 14, grabbing;
}

body.sorting #menu_top .favicon {
	pointer-events: none;
}

#menu_top [data-id] .icon-hand-spock-right {
	display: none;
}

body.sorting #menu_top [data-id] {
	position: relative;
}

/* green hand sits on top of the icon, which stays visible */
/* green hand on the icon's top-right corner; the icon stays visible */
body.sorting #menu_top [data-id] .icon-hand-spock-right {
	display: block;
	position: absolute;
	top: -4px;
	/* the favicon is 52px wide and centred in the item */
	right: calc(50% - 32px);
	font-size: 1.1em;
	color: #87d90c;
	pointer-events: none;
	z-index: 2;
}


body.dark .menu_section {
	border-color: #444;
	background-color: var(--menu_section_bg_dark);
}

#faves_button>.icon {
	opacity: 0.9;
	color: var(--heart_pink) !important;
	border-radius: 9px;
	padding: 10px;
	z-index: 11;
	border: 1px solid hsl(0deg 0% 85%);
	background-color: hsl(0deg 100% 97%);
	box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.05);
	width: 100%;
}

body.dark #faves_button>.icon {
	border-color: #333;
	background-color: hsl(0deg 0% 13% / 70%);
	box-shadow: 0 0 2px 1px #a04e4e;
}

body .menu_old div[data-cat]:hover,
.menu:not(.menu_no_border) div[data-cat].selected,
.button_ctr_highlight>[data-id]:hover,
.button_ctr_highlight>[data-id].hover,
.button_ctr_highlight>div.highlight,
.tab_switch_item.highlight,
.subcat_ctr [data-id]:hover,
.subcat_ctr [data-id].hover,
#menu_dial .dial_flyout_sub:hover,
#menu_dial .dial_flyout_sub.open,
.subcat_ctr.highlight,
.subcat_faves.highlight,
.subcat_ctr.open_all_hover>a,
.subcat_ctr.open_fave_hover>a.favorite_search,
#home_input_search_name.cat,
#faves_button.highlight .icon,
body:not(.dark) #share_tooltip>div>a:hover div {
	text-shadow: 0 0 #165db7;
	background-color: var(--yellow_highlight_bg_color);
	box-shadow: var(--yellow_highlight_box_shadow);
}

body.dark .un_button:hover,
body.dark .un_button.hover,
body.dark .menu_old div[data-cat].selected,
body.dark .menu div[data-cat]:hover {
	color: #cfd241;
	text-shadow: 0 0 #cfd241;
}

body.dark .un_button:hover,
body.dark .un_button.hover,
body.dark .menu:not(.menu_no_border) div[data-cat].selected,
body.dark .menu:not(.menu_no_border) div[data-cat]:hover,
body.dark .button_ctr_highlight>[data-id]:hover,
body.dark .button_ctr_highlight>[data-id].hover,
body.dark .button_ctr_highlight>div.highlight,
body.dark .tab_switch_item.highlight,
body.dark .subcat_ctr [data-id]:hover,
body.dark .subcat_ctr [data-id].hover,
body.dark #menu_dial .dial_flyout_sub:hover,
body.dark #menu_dial .dial_flyout_sub.open,
body.dark .subcat_ctr.highlight,
body.dark .subcat_faves.highlight,
body.dark .subcat_ctr.open_all_hover>a,
body.dark .subcat_ctr.open_fave_hover>a.favorite_search,
body.dark #home_input_search_name.cat,
body.dark #faves_button.highlight .icon,
body.dark #share_tooltip>div>a:hover {
	background-color: black;
	box-shadow: var(--dark_hover_box_shadow);
	border-color: var(--dark_bg);
	color: #c2b045;
}

#menu_top {
	position: relative;
	justify-content: center;
	flex-wrap: nowrap;
	margin: 42px auto 21px auto;
	max-width: 800px;
	gap: 8px;
	z-index: 99999;
}

#menu_top.ui-sortable .highlight {
	box-shadow: none !important;
	color: inherit;
	background-color: inherit;
}

.button_ctr_highlight {
	display: flex;
	flex-wrap: wrap;
}

.button_ctr_highlight>div {
	position: relative;
	display: flex;
	margin: 0 6px 3px 6px;
	align-items: center;
	text-transform: capitalize;
	padding: 0 2px;
	border-radius: 7px;
	cursor: pointer;
	text-align: left;
}

#menu_top>div {
	margin-bottom: 11px;
}

body.dark .button_ctr_highlight>div {
	color: #888;
}

#menu_top div[data-search] {
	position: relative;
	margin: 0 8px 5px;
	width: 16px;
	height: 16px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	background-position: center;
	background-size: 100%;
	background-repeat: no-repeat;
	transition: all 111ms ease;
	opacity: 0.85;
}

body.dark #menu_top div[data-search] {
	border-color: #555;
}

/* top menu items: round icon button with the site name underneath */
#menu_top>div[data-id] {
	position: relative;
	flex-direction: column;
	align-items: center;
	margin: 0 3px 6px 3px;
	padding: 0;
	border-radius: 0;
	text-align: center;
	text-transform: capitalize;
	background-color: transparent;
	box-shadow: none;
	opacity: 0.8;
}
body.dark #menu_top>div[data-id] {
	opacity: 0.6;
}
#menu_top>div[data-id]:hover,
#menu_top>div[data-id].hover {
	transform: scale(1.08);
	opacity: 1;
	/* the popup plugin's wrapper sits at z-index 100001; outrank it so the glow ring
	   isn't painted over wherever a popup happens to overlap it */
	z-index: 100002;
}
body.dark #menu_top>div[data-id]:hover,
body.dark #menu_top>div[data-id].hover {
	opacity: 0.9;
}

/* clicked search stays lit until Default_Search reverts to ninja eye */
#menu_top>div[data-id].highlight {
	opacity: 1;
}
body.dark #menu_top>div[data-id].highlight {
	opacity: 0.9;
}

/* one row only */
#menu_top>.br {
	display: none;
}

#menu_top [data-id]>.favicon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	min-width: 0;
	padding: 0;
	border-radius: 50%;
	border: 1px solid #ddd;
	background-color: rgba(0, 0, 0, 0.03);
	transition: all 111ms ease;
}

body.dark #menu_top [data-id]>.favicon {
	border-color: #3a3a3a;
	background-color: #1c1c1c;
}

#menu_top [data-id]>.favicon>img {
	position: static;
	transform: none;
	width: 50%;
	/* height: 29px; */
	object-fit: contain;
	opacity: 1;
	filter: grayscale(0.4);
}
body.dark #menu_top [data-id]>.favicon>img {
	filter: grayscale(0.3);
}

#menu_top>div[data-id]:hover>.favicon,
#menu_top>div[data-id].hover>.favicon,
#menu_top>div[data-id].highlight>.favicon {
	background-color: var(--yellow_highlight_bg_color);
	box-shadow: var(--yellow_highlight_box_shadow);
	border-color: #c1c11d;
}

body.dark #menu_top>div[data-id]:hover>.favicon,
body.dark #menu_top>div[data-id].hover>.favicon,
body.dark #menu_top>div[data-id].highlight>.favicon {
	background-color: black;
	box-shadow: var(--dark_hover_box_shadow);
	border-color: #c2b045;
}

#menu_top [data-id]>.title {
	flex: none;
	max-width: 68px;
	padding: 8px 0 0 0;
	font-size: 16px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-align: center;
	letter-spacing: 0;
	color: #999;
	display: none;
}

body.dark #menu_top [data-id]>.title {
	color: #b9b9b9;
}

#menu_top [data-id]>.favicon>.icon_dk {
	display: none;
}

body.dark #menu_top [data-id]>.favicon>.icon_dk {
	display: block;
}

body.dark #menu_top [data-id]>.favicon:has(>.icon_dk)>img:not(.icon_dk) {
	display: none;
}

/* absolutely positioned so showing/hiding it never shifts the item or its siblings */
#menu_top [data-id]>.top_menu_icons {
	display: flex;
	justify-content: center;
	gap: 2px;
	position: absolute;
	top: 52px;
	left: 50%;
	transform: translateX(-50%);
	opacity: 0;
	visibility: visible;
	pointer-events: none;
	transition: opacity 111ms ease;
	z-index: 3;
}
.top_menu_icon.history_icon,
.top_menu_icon.menu_icon {
	position: relative;
	top: -8px;
}

#menu_top>div[data-id]:hover>.top_menu_icons,
#menu_top>div[data-id].hover>.top_menu_icons {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

body.sorting #menu_top [data-id]>.top_menu_icons {
	display: none;
}

/* icons stay tiny but the hover/click target is much bigger */
#menu_top [data-id] .top_menu_icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	color: #999;
	opacity: 0.6;
	transition: all 111ms ease;
	border-radius: 50%;
}

#menu_top [data-id] .top_menu_icon.compose_icon>span {
    border: 1.5px solid currentColor;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    line-height: 14px;
    display: inline-block;
    position: relative;
}

body.dark #menu_top [data-id] .top_menu_icon {
	color: #999;
}



#menu_top [data-id] .top_menu_icon:hover {
	opacity: 1;
	color: #606060;
	background-color: var(--yellow_highlight_bg_color);
	box-shadow: var(--yellow_highlight_box_shadow);
}

body.dark #menu_top [data-id] .top_menu_icon:hover {
	color: #c2b045;
	background-color: black;
	box-shadow: var(--dark_hover_box_shadow);
}

#menu_top [data-id] .top_menu_icon .icon {
	font-size: 14px;
}

#menu_top [data-id] .top_menu_icon svg {
	width: 14px;
	height: 14px;
}

#menu_top [data-id] .top_menu_icon.compose_icon {
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}

#menu_top [data-id] .top_menu_icon.compose_icon:hover {
	border-color: transparent;
}

.un_tooltip {
	display: none;
	margin: 0;
	min-height: 20px;
	padding: 6px 10px;
	border: var(--popup_border);
	border-radius: var(--popup_border_radius);
	box-shadow: var(--popup_box_shadow);
	font-size: 18px;
	background-color: white;
}

body.dark .un_tooltip {
	background-color: var(--popup_dark_bg);
	border-color: var(--popup_dark_border);
}

.un_tooltip::before {
	top: -15px;
}

.un_tooltip::before,
.un_tooltip::after {
	position: absolute;
	top: -14px;
	left: 50%;
	margin-left: -14px;
	width: 0;
	height: 0;
	border-left: 14px solid transparent;
	border-right: 14px solid transparent;
	border-bottom: 14px solid var(--popup_border_color);
}

.un_tooltip::after {
	border-bottom-color: white;
	margin-top: 2px;
}

body.dark .un_tooltip::before {
	border-bottom-color: var(--popup_dark_border);
}

body.dark .un_tooltip::after {
	border-bottom-color: var(--popup_dark_bg);
}

.un_tooltip.highlight {
	background-color: hsl(55, 100%, 89%);
	color: hsl(219, 100%, 36%);
	font-style: italic;
	font-weight: bold;
	letter-spacing: var(--italic_letter_spacing);
}

.un_tooltip.highlight:after {
	border-bottom-color: hsl(55, 100%, 89%)
}

.un_tooltip.highlight.error {
	color: darkred;
	background-color: var(--highlight_yellow);
}

.un_tooltip.highlight.error:after {
	border-bottom-color: var(--highlight_yellow);
}

body.dark .un_tooltip.highlight {
	background-color: var(--highlight_dark);
	color: var(--dark_button_orange);
}

body.dark .un_tooltip.highlight:after {
	border-bottom-color: var(--highlight_dark);
}

.toolbar_tooltip {
	background-color: white;
}

body.dark .toolbar_tooltip {
	background-color: var(--popup_dark_bg);
}

body.dark .toolbar_tooltip::after {
	border-bottom-color: var(--popup_dark_bg);
}

span[data-which="contact"] .emoji {
	margin-left: 0;
}

.un_tooltip h1 {
	font-size: 18px;
	border-bottom: 1px solid #777;
	margin-top: 22px;
	text-align: left;
	text-transform: none;
}

.site_tooltip {
	padding: 1px 0 0 0;
	text-align: left;
	border-collapse: collapse;
	background-image: none !important;
	background-color: hsl(0 0% 97% / 1);
	overflow-y: auto;
}

.site_tooltip>div {
	display: flex;
	position: relative;
}

.site_tooltip .subsection>div {
	line-height: 1.5em;
	letter-spacing: -0.01em;
	font-size: 15px;
	color: hsl(0 0% 36% / 1);
	text-transform: capitalize;
	min-width: 88px;
	padding: 3px 28px 3px 10px;
	border-bottom: 1px solid #ddd;
	transition: all 111ms;
	text-wrap: nowrap;
	overflow: hidden;
	max-width: 333px;
}
.site_tooltip .subsection>div:hover {
	/*max-width: 444px;*/
	/*overflow: visible;*/
}

body.dark .site_tooltip .subsection>div {
	color: hsl(0 0% 69% / 1);
}

.site_tooltip .subsection:not(.links) div:last-child {
	border-bottom: none;
}

.site_tooltip div.title {
	font-weight: 500;
	border-bottom: 1px solid #ddd;
	text-align: center;
	line-height: 1.8em;
	padding: 0 15px;
	background-color: #eee;
	text-transform: capitalize;
	color: #606060;
}

body.dark .site_tooltip div.title {
	background-color: #111;
	color: #aaaaaa;
	border-bottom-color: #555;
}

body.dark .site_tooltip .subsection div {
	border-color: #555;
	color: inherit;
}

.site_tooltip .title:hover,
body.dark .site_tooltip div.title:hover,
.site_tooltip .subsection div:not(.subtitle):hover,
body.dark .site_tooltip .subsection div:not(.subtitle):hover {
	cursor: pointer;
	background-color: var(--highlight_yellow);
}

body.dark .site_tooltip div.title:hover,
body.dark .site_tooltip .subsection div:not(.subtitle):hover {
	background-color: black;
	box-shadow: var(--dark_hover_box_shadow_inset);
	border-radius: 4px;
}

.site_tooltip .title:hover>span,
.site_tooltip .subsection div:hover>span:not(.chevron) {
	position: relative;
	z-index: 111;
}

.site_tooltip div.title:after {
	height: 2.1em;
}

body.dark .site_tooltip .title:after,
body.dark .site_tooltip .subsection div:after {
	background-color: var(--highlight_dark);
	border: 1px solid #555;
}

.site_tooltip .subsection div.subtitle {
	padding: 0;
	font-size: 0.7em;
	text-align: center;
	background-color: #eee;
	text-transform: uppercase;
	cursor: default;
	border-top: 1px solid #ddd;
	font-weight: bold;
	color: #606060;
}

body.dark .site_tooltip .subsection div.subtitle {
	background-color: #111;
	border-color: #555;
}

.site_tooltip.history_tooltip>div,
.site_tooltip.bookmarks_tooltip>div {
	border-bottom: 1px solid;
	border-color: inherit;
	min-height: 24px;
}

.site_tooltip.history_tooltip>div:last-child,
.site_tooltip.bookmarks_tooltip>div:last-child {
	border: none;
}

/* the flex rows shrink to their own content, so a short section's rows would
   highlight narrower than the menu */
.site_tooltip.history_tooltip .subsection,
.site_tooltip.bookmarks_tooltip .subsection {
	flex: 1;
}

.site_tooltip .subsection>.get_extension {
	padding: 11px;
	text-wrap: auto;
	max-width: 190px;
}

.site_tooltip .get_extension a {
	text-decoration: none;
	font-size: 16px;
	color: inherit;
	line-height: 1.1em;
}

.site_tooltip .get_extension img {
	width: 20px;
	opacity: 0.6;
	position: relative;
	top: 5px;
	left: -3px;
}

.site_tooltip .icon {
	font-size: 0.8em;
	margin-right: 7px;
}

.site_tooltip .subsection>.google_create_shortcuts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	min-width: 0;
	max-width: none;
	padding: 6px 4px;
	overflow: visible;
	line-height: normal;
	text-transform: none;
	cursor: default;
}

.site_tooltip .google_create_shortcut {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	height: 32px;
	cursor: pointer;
}

.site_tooltip .google_create_shortcut+.google_create_shortcut {
	border-left: 1px solid #ddd;
}

body.dark .site_tooltip .google_create_shortcut+.google_create_shortcut {
	border-left-color: #555;
}

.site_tooltip .subsection>.google_create_shortcuts:hover,
.site_tooltip .subsection>.google_create_shortcuts>.google_create_shortcut:hover,
body.dark .site_tooltip .subsection>.google_create_shortcuts:hover,
body.dark .site_tooltip .subsection>.google_create_shortcuts>.google_create_shortcut:hover {
	background-color: transparent;
	box-shadow: none;
	border-radius: 0;
}

.site_tooltip .subsection>.google_create_shortcuts:hover {
	cursor: default;
}

.site_tooltip .google_create_shortcut_icon {
	position: relative;
	display: inline-flex;
	width: 24px;
	height: 24px;
	opacity: 0.68;
	transform: scale(1);
	transition: opacity 130ms ease, transform 130ms ease;
}

.site_tooltip .google_create_shortcut:hover>.google_create_shortcut_icon {
	opacity: 1;
	transform: scale(1.08);
}

.site_tooltip .google_create_shortcut_icon>img {
	display: block;
	width: 100%;
	height: 100%;
}

.site_tooltip .google_create_badge {
	position: absolute;
	top: -4px;
	right: -5px;
	display: grid;
	place-items: center;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background-color: #5f6368;
	box-shadow: 0 0 0 2px hsl(0 0% 97% / 1);
	color: white;
	font: 700 13px/14px Arial, sans-serif;
}

body.dark .site_tooltip .google_create_badge {
	background-color: #bdc1c6;
	box-shadow: 0 0 0 2px var(--popup_dark_bg);
	color: #202124;
}

body.dark div[data-cat="favorites"] .icon:before {
	content: "\e947";
}

.un_button,
.look_like_button {
	cursor: pointer;
	transition: var(--fade_out);
	padding: 4px 10px;
	border-radius: 22px;
	display: inline-flex;
	background-color: hsl(0, 0%, 100%);
	box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.111), 0 0 0 1px rgba(0, 0, 0, 0.15);
	box-sizing: border-box;
	color: hsl(0, 0%, 33%);
	align-items: center;
	text-decoration: none;
}

.look_like_button {
	cursor: unset;
}

.done_button {
	margin: 6px 0;
	font-size: 1.4em;
	padding: 0.4em 1em;
	border-radius: 99px;
}

body.dark .un_button,
body.dark .look_like_button {
	color: hsl(0, 0%, 69%);
	border: 1px solid #555;
	background-color: black;
	box-shadow: none;
}

#settings_contact_us {
	text-transform: capitalize;
	padding: 8px;
	width: 100%;
	justify-content: center;
}

#settings_contact_us>span {
	margin: 0 4px;
}


body:not(.dark) .un_button:hover,
body:not(.dark) .un_button.hover {
	color: #3b5475;
	transition: none !important;
	background-color: var(--highlight_yellow);
}

body body.dark #toolbar>div:hover,
body body.dark .un_button:hover,
body body.dark .un_button.hover {
	color: #d66e0f;
	text-shadow: none;
	transition: none !important;
}

span[data-which="share"] img {
	width: 16px;
}

#tour {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 2147483646;
	transition: all 1234ms;
	display: none;
}

#tour_overlay {
	width: 100vw;
	height: 100vh;
	background: black;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 10em;
}

#tour>[data-step],
#tour>img {
	width: 100vw;
	position: absolute;
	top: 0;
	left: 0;
}

.tour_button {
	position: fixed;
	border-radius: 123px;
	background-color: hsla(0, 0%, 100%, 0.2);
	border: 1px solid hsla(0, 0%, 100%, 0.2);
	cursor: pointer;
	z-index: 124;
	color: #ccc;
	width: 69px;
	height: 69px;
	display: flex;
	justify-content: center;
	align-items: center;
}

#tour_arrow {
	right: 55px;
	bottom: 44px;
	cursor: pointer;
}

#tour_arrow.center {
	right: 50%;
	transform: translateX(50%);
}

#tour_arrow:before {
	content: "❯";
	transform: scale(2.3, 3.3);
	margin: 4px 0 0 4px;
}

#tour_arrow:after {
	content: "NEXT";
	position: absolute;
	bottom: -26px;
}

body:not(.dark) #tour_arrow:not(.complete) {
	color: #555;
	background-color: hsla(0, 0%, 80%, 0.2);
	border: 1px solid hsla(0, 0%, 20%, 0.2);
}


#tour_dark,
#tour_light {
	position: fixed;
	top: 50%;
	font-weight: bold;
	font-size: 15px;
}

#tour_dark {
	left: 69%;
	background-color: hsla(0, 0%, 100%, 0.7);
	border: 1px solid hsla(0, 0%, 100%, 0.7);
	color: black;
}

#tour_dark:after {
	content: "DARK";
}

#tour_light {
	left: 21%;
	background-color: hsla(0, 0%, 0%, 0.7);
	border: 1px solid hsla(0, 0%, 0%, 0.7);
	color: white;
}

#tour_light:after {
	content: "LIGHT";
}

.tour_button:hover {
	color: darkorange !important;
}

.tour_pointer {
	position: fixed;
	pointer-events: none;
	display: none;
}

.tour_pointer img {
	position: absolute;
}

.tour_pointer img:last-child {
	width: 190px;
}

#tour_type_what_you_want {
	top: 64px;
	left: 303px;
	width: 277px;
}

#tour_type_what_you_want img:first-child {
	top: -54px;
	left: 307px;
	width: 191px;
}

#tour_enter_to_search {
	top: 162px;
	left: 392px;
}

#tour_enter_to_search img:first-child {
	width: 320px;
	top: -146px;
}

#tour_click_a_site {
	top: 320px;
	left: 475px;
}

#tour_click_a_site img:first-child {
	width: 222px;
	top: -161px;
	left: -61px;
}

#tour_multiple {
	left: 336px;
	top: 142px;
}

#tour_multiple img:first-child {
	width: 222px;
	left: 161px;
	top: 5px;
}

#tour_quick {
	top: 102px;
	left: 486px;
}

#tour_quick img:first-child {
	width: 340px;
	top: -56px;
	left: 88px;
}

#tour_apps {
	left: 639px;
	bottom: 139px;
	display: none;
}

#tour_apps img:first-child {
	width: 222px;
	left: -33px;
	top: -165px;
}

#tour_categories {
	left: 151px;
	top: 111px;
}

#tour_categories img:first-child {
	width: 242px;
	left: 164px;
}

#tour_settings {
	right: 345px;
}

#tour_settings img:first-child {
	width: 292px;
	right: 0;
	top: 8px;
}

#tour_complete {
	position: fixed;
	display: none;
}

#tour_complete img {
	position: fixed;
	width: 50vw;
}

#tour_complete_right {
	right: 0;
}

#tour_complete_schwartz {
	bottom: 0;
	height: 96% !important;
}

#tour_arrow.complete {
	width: unset;
	padding: 0 2em;
	right: 80px;
	transform: none;
}

#tour_arrow.complete:before {
	content: "ENTER THE NINJA »";
	margin: 4px 0 0 4px;
	transform: none;
	font-size: 2.5em;
	font-style: italic;
	white-space: nowrap;
}

#tour_arrow.complete:after {
	content: '';
}

#tour_shortcuts,
#tour_pick {
	display: none;
}

#tour_pick_categories {
	position: absolute;
	top: 96px;
	right: 104px;
	display: flex;
	z-index: 2147483647;
	column-gap: 18px;
	transform: scale(1.25);
}

#tour_pick_categories>.icon {
	display: none;
}

#tour_pick_categories .menu_column [data-cat]:hover .icon {
	display: block;
}

#tour_pick_categories .icon_right {
	display: none !important;
}

#tour_pick_categories .menu_column {
	width: 132px;
}


.airbnb:before {
	content: 'airbnb';
	color: hsl(350, 74%, 60%);
	font-family: 'century gothic', 'trebuchet ms', sans-serif;
	font-weight: bold;
}

.emoji {
	margin: 0 2px 0 9px;
	line-height: 1em;
}


.input_ctr {
	flex: 1;
	display: flex;
	background-color: #fff;
	border: none;
	z-index: 3;
	height: 44px;
	margin: 0 auto;
	top: 0;
	cursor: pointer;
	position: relative;
	align-items: center;
	box-sizing: border-box;
}

[data-form] {
	display: none;
	padding: 8px 8px 10px;
	box-sizing: border-box;
	width: 100%;
	flex-direction: column;
}

body.scrolled_top [data-form] {
	padding: 0 0 10px !important;
}

[data-form].current {
	display: flex;
}

#header img.text_logo {
	height: 32px;
	opacity: 0.111;
	margin: 0 18px;
}

body.dark #header img.text_logo {
	opacity: 1;
}

img.ninja {
	position: relative;
	top: 2px;
}

[data-form] .input_ctr .icon {
	margin: -5px 8px 0 8px;
	font-size: 24px;
	color: #777;
}

[data-form] .input_ctr .icon-cancel-circle {
	display: block;
}

[data-form] .input_ctr .icon-cancel-circle.display_none {
	display: none;
}

[data-form]>div {
	display: flex;
	justify-content: center;
}

.location_ctr>div {
	flex: 1;
}

#jobs_input_ctr {
	min-width: 67%;
}

body.dark #home_input_ctr>.raquo.dim {
	color: hsl(0, 0%, 22%);
}

#jobs_form {
	display: flex;
	padding: 0 14px 0 6px;
	width: 100%;
}

#jobs_form .input_ctr>*:not(span) {
	font-size: 20px;
}

#jobs_location_ctr {
	margin-left: 11px;
	display: flex;
}

.input_ctr.error {
	outline: 1px solid #b51010;
	color: #b51010;
	font-size: 22px;
	cursor: default;
}

body.dark .input_ctr.error {
	outline: 1px solid #611616;
}

.input_ctr:hover {
	box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.input_ctr>*:not(span) {
	background-color: transparent;
	border: none;
	padding: 0;
	word-wrap: break-word;
	outline: none;
	flex: 100%;
	width: 100%;
	-webkit-tap-highlight-color: transparent;
	height: 34px;
	color: var(--medium_color);
	margin-top: -3px;
}

.input_ctr>div {
	cursor: pointer;
}

.input_ctr>input {
	padding-left: 11px;
}

.input_ctr>*:not(span),
.autocomplete-suggestions {
	font: 24px arial, sans-serif;
	line-height: 34px;
	text-align: left;
}

.autocomplete-suggestion .searches .icon {
	font-size: 30px;
	border-right: none;
	padding: 4px 8px;
	height: 100%;
	font-weight: bold;
	color: #a6e63a;
	top: 0;
}

body.dark .input_ctr>*:not(span) {
	color: var(--input_dark_color);
}

.input_ctr,
.autocomplete-suggestions {
	box-shadow: 0 2px 2px 1px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.13);
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}

body.dark .input_ctr,
body.dark .autocomplete-suggestions {
	box-shadow: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
	-webkit-box-shadow: 0 0 0 30px white inset !important;
	background-color: white;
}

body.dark input:-webkit-autofill,
body.dark input:-webkit-autofill:hover,
body.dark input:-webkit-autofill:focus,
body.dark input:-webkit-autofill:active {
	-webkit-box-shadow: 0 0 0 30px #161616 inset !important;
	-webkit-text-fill-color: var(--input_dark_color) !important;
}

body.dark .input_ctr {
	background-color: black;
	box-shadow: 0 0 2px 1px rgba(255, 255, 255, 0.2);
}

::placeholder {
	color: var(--medium_color);
	opacity: 1;
}

::-webkit-input-placeholder {
	/* Chrome/Opera/Safari */
	color: var(--medium_color);
	opacity: 1;
}

::-moz-placeholder {
	/* Firefox 19+ */
	color: var(--medium_color);
	opacity: 1;
}

:-ms-input-placeholder {
	/* IE 10+ */
	color: var(--medium_color);
	opacity: 1;
}

::-ms-input-placeholder {
	/* MS Edge */
	color: var(--medium_color);
	opacity: 1;
}

:-moz-placeholder {
	/* Firefox 18- */
	color: var(--medium_color);
	opacity: 1;
}

body.dark ::placeholder {
	color: var(--input_dark_color);
	opacity: 1;
}

body.dark ::-webkit-input-placeholder {
	/* Chrome/Opera/Safari */
	color: var(--input_dark_color);
	opacity: 1;
}

body.dark ::-moz-placeholder {
	/* Firefox 19+ */
	color: var(--input_dark_color);
	opacity: 1;
}

body.dark :-ms-input-placeholder {
	/* IE 10+ */
	color: var(--input_dark_color);
	opacity: 1;
}

body.dark ::-ms-input-placeholder {
	/* MS Edge */
	color: var(--input_dark_color);
	opacity: 1;
}

body.dark :-moz-placeholder {
	/* Firefox 18- */
	color: var(--input_dark_color);
	opacity: 1;
}

#home_input_ctr_ctr {
	display: flex;
	width: 777px;
	margin: 0 auto 14px;
	height: 48px;
}

#home_input_search_name {
	display: flex !important;
	flex: 0 0 42px;
	width: 42px;
	min-width: 42px;
	height: 34px;
	padding: 15px 0;
	margin-left: 6px;
	align-items: center;
	justify-content: center;
	background-position: 50% 50%;
	background-size: 26px;
	background-repeat: no-repeat;
	cursor: pointer;
	position: absolute;
}

body.dark #home_input_search_name.dark {
	filter: invert(1);
}

#home_input_search_name>div.icon {
	font-size: 1.4em;
}

#home_input_search_name.menu_top>img {
	margin-top: 15%;
}

#home_input {
	padding-left: 54px;
}

#home_input_search_name>.icon {
	color: #777;
	font-size: 1.45em;
}

/* the tab switcher's history clock reads big at the shared 1.4em */
#home_input_search_name>div.icon-time {
	font-size: 1.12em;
}

#home_input_search_name.ninja_hover>.icon {
	color: darkorange;
}

body.dark #home_input_search_name.ninja_hover>.icon {
	color: var(--zap_yellow);
}

body.dark #home_input_search_name>.icon {
	color: #999;
}

.default_search_tooltip {
	/* min-width: 200px; */
	padding: 1px 0;
	transform: translate(-20px, 0px);
	transition: opacity 111ms ease;
}

.default_search_tooltip>.default_search_menu {
	display: block;
	width: 100%;
}

.default_search_filter,
.default_search_item {
	display: flex;
	align-items: center;
	min-height: 36px;
	padding: 0 12px;
	border-bottom: 1px solid #ddd;
	box-sizing: border-box;
	color: hsl(0 0% 36% / 1);
	font-size: 0.9em;
}

body.dark .default_search_filter,
body.dark .default_search_item {
	border-bottom-color: #444;
	color: #aaa;
}

.default_search_filter>.icon,
.default_search_item_icon {
	flex: 0 0 24px;
	width: 24px;
	/*margin-right: 0px;*/
	text-align: center;
}

.default_search_filter>input {
	flex: 1;
	min-width: 0;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: inherit;
	font: inherit;
}

.default_search_item {
	cursor: pointer;
	white-space: nowrap;
}

.default_search_item:last-child {
	border-bottom: 0;
	border-radius: 0 0 var(--popup_border_radius) var(--popup_border_radius);
}

.default_search_filter.selected,
.default_search_item:hover,
.default_search_item.selected {
	background-color: var(--highlight_yellow);
}

.default_search_filter.selected {
	border-radius: var(--popup_border_radius) var(--popup_border_radius) 0 0;
}

body.dark .default_search_filter.selected,
body.dark .default_search_item:hover,
body.dark .default_search_item.selected {
	background-color: black;
	box-shadow: inset 0 0 0 2px #807a18, inset 0 0 8px 3px #807a18;
	color: #c2b045;
}

.default_search_item_icon {
	display: flex;
	height: 24px;
	align-items: center;
	justify-content: center;
}

.default_search_item_icon>img {
	position: static;
	width: 18px;
	height: 18px;
	object-fit: contain;
}

.default_search_item_icon>.icon {
	font-size: 0.95em;
}

.default_search_item_label {
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.1em;
}

.browser_name {
	text-transform: capitalize;
}

#menu_left {
	min-width: 123px;
}

#menu_right {
	padding-left: 11px;
	width: 100%;
}

#menu_left_selector {
	display: flex;
	margin-bottom: 11px;
	border-radius: 8px;
	position: relative;
	z-index: 0 !important;
	flex-wrap: wrap;
}

#menu_left_selector>div {
	flex: 1;
	padding: 6px 0;
	border: 1px solid;
	border-color: hsl(0deg 0% 50% / 30%);
	font-size: 1.111em;
	background: hsl(54, 100%, 96%);
	cursor: pointer;
}

body.dark #menu_left_selector>div {
	border-color: hsl(0deg 0% 50% / 60%);
	background-color: hsl(0 0% 11% / 1);
}

#menu_left_selector>div:first-child {
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	flex-basis: 100%;
}

#menu_left_selector>div:nth-child(2) {
	border-bottom-left-radius: 8px;
}

#menu_left_selector>div:last-child {
	border-bottom-right-radius: 8px;
}

#menu_left_selector .icon-cart {
	color: #7fbd7e !important;
}

#menu_left_selector .icon-find {
	color: #cda757 !important;
}

#menu_left_selector .icon-heart {
	color: var(--heart_pink) !important;
}

#subcategory_popup {
	margin-left: 5%;
}

#favorite_cat_no_faves {
	height: 100%;
	display: inline-block;
	color: hsl(0, 0%, 27%);
	margin: 1em;
}

body.dark #favorite_cat_no_faves {
	color: hsl(0, 0%, 69%);
}

#favorite_cat_no_faves h2 {
	border-bottom: 1px solid #777;
	padding: 11px 22px;
	font-size: 2em;
	margin-top: 0;
}

.subcat_hdr {
	margin: 0 4px;
	border: var(--subcat_ctr_border);
	cursor: pointer;
	position: relative;
	opacity: 0.8;
	border-radius: 8px;
	text-align: left;
	font-weight: 500;
	white-space: nowrap;
}

body.dark .subcat_hdr {
	border-color: var(--subcat_ctr_border_color_dark);
	background: none;
	border-width: 0 0 1px 0;
	border-radius: 0;
}

.subcat_hdr:hover>span,
.subcat_hdr.highlight>span {
	color: #ac6816;
}

body.dark .subcat_hdr:hover>span,
body.dark .subcat_hdr.highlight>span {
	color: #c2b045;
}

.subcat_hdr>span {
	display: inline-block;
	font-size: 17px;
	cursor: pointer;
	text-transform: capitalize;
	position: relative;
	padding-top: 8px;
	padding-bottom: 5px;
}

.subcat_hdr>span.icon {
	padding: 4px 11px 5px 2px;
}

.subcat_hdr>span:first-child:not(.icon) {
	padding-left: 8px;
}

.subcat_hdr>span.icon-shoes {
	padding: 1px 15px 2px 0;
}

.subcat_hdr span.icon-briefcase,
.subcat_hdr span.icon-ticket-star {
	padding-left: 0;
	padding-right: 16px;
}

body.dark .subcat_hdr>span {
	border-color: var(--subcat_ctr_border_color_dark);
}

.subcat_hdr .cat_name .icon-heart {
	margin: 0 2px;
	font-size: 0.6em;
	position: relative;
	top: -2px;
}

.subcat_hdr.has_faves>span.open_all {
	margin-right: 0;
}

.subcat_hdr.has_faves>span.open_fave {
	padding-right: 1px;
}

.subcat_hdr>span.open_all>span.icon-ninja_eye {
	margin-right: 3px;
	top: -1px;
	font-size: 23px;
}

.subcat_hdr.has_faves>span.open_all>span.icon-eye_heart {
	top: -2px;
}

.subcat_hdr>span.open_all>span.icon-ninja_eye {}

.subcat_hdr>span.open_all>span.hide_when_fave {
	margin: 0 1px;
}

.subcat_hdr>span.view_fave>span {
	top: -2px;
}

.subcat_hdr.has_faves span.hide_when_fave,
.subcat_hdr:not(.has_faves)>span.view_fave,
[data-subcat_name]:not(.has_faves) span.open_fave {
	display: none;
}

.subcat_hdr>span.open_fave>span.icon-heart {
	margin-right: 5px;
	color: #ff7474;
	font-size: 1.2em;
	left: 3px;
}

body.dark span.open_fave>span.icon-heart {
	color: #843333;
}

.subcat_hdr>span.view_fave,
body.dark .subcat_hdr>span.view_fave,
.subcat_hdr>span.view_fave>span.icon-eye_heart:before,
.subcat_hdr>span.view_fave.show_faves_only.hover>span.icon-eye_heart:before {
	content: "\e927";
}

.subcat_hdr>span.view_fave:after,
.subcat_hdr>span.view_fave.hover,
body.dark .subcat_hdr>span.view_fave.hover,
.subcat_hdr>span.view_fave.hover>span.icon-eye_heart:before,
.subcat_hdr>span.view_fave.show_faves_only>span.icon-eye_heart:before {
	content: "\e911";
}

.subcat_hdr>span.view_fave.hover:after,
span.open_fave {
	color: #773333;
}

.subcat_hdr span.raquo {
	top: -2px;
	margin-left: 2px;
	font-size: 16px;
	line-height: 1px;
	font-weight: normal;
}

.subcat_hdr.shade {
	border-radius: 4px;
	margin-bottom: 14px;
}

.subcat_hdr.shade>span>span {
	opacity: 0.6;
}

body .subcat_hdr.shade:hover>span>span {
	opacity: 0.8;
}

.subcat_hdr>span>.icon-keyboard_arrow_down {
	visibility: hidden;
	margin: -2px 0 0 3px;
	font-weight: bold;
}

.subcat_hdr>span.hover>.icon-keyboard_arrow_down,
.subcat_hdr.shade>span>.icon-keyboard_arrow_down {
	visibility: visible;
}

.subcat_hdr>span.hover>.icon-keyboard_arrow_down {
	transform: scaleY(-1);
	top: 4px;
}

.subcat_hdr.shade>span.hover>.icon-keyboard_arrow_down {
	transform: none;
	top: 6px;
}

.subcat_hdr.shade>span {
	box-shadow: none;
}

.subcat_hdr.shade>span:first-child {
	background-color: #ecf2fb;
}

.subcat_hdr.shade>span:first-child:after {
	border-bottom-color: #ecf2fb;
}

body.dark .subcat_hdr.shade>span:first-child {
	background-color: #00040a;
}

body.dark .subcat_hdr.shade>span:first-child:after {
	border-bottom-color: #00040a;
}

.subcat_hdr.shade>span.view_fave {
	display: none;
}

.subcat_hdr>span>.cat_name {
	display: none;
}

.subcat_hdr.faves_subcat .open_all,
.subcat_hdr.faves_subcat .view_fave {
	display: none;
}

.subcat_hdr.faves_subcat .icon-keyboard_arrow_down {
	display: none;
}

.cat_ctr>.subcat_hdr:first-child>span {
	padding-top: 3px;
}

.subcat_hdr .icon {
	left: 5px;
	width: 15px;
}

.faves_goto_cat {
	display: none;
	background-color: inherit;
	position: absolute;
	right: 0;
	font-weight: bold;
	padding: 0 6px 6px;
	bottom: 0;
	color: inherit;
}

.subcat_hdr:hover .faves_goto_cat {
	display: block;
}

.faves_goto_cat:hover {
	color: darkorange;
}

.faves_goto_cat:after {
	content: '\2630';

}

.subcat_ctr {
	display: flex;
	flex-wrap: wrap;
	padding-top: 2px;
	box-sizing: border-box;
	position: relative;
	z-index: -2;
	margin: 0 4px 9px;
	justify-content: center;
	border-top: none;
	border-radius: 4px;
}

body.dark .subcat_ctr {
	border-color: var(--subcat_ctr_border_color_dark);
}

.subcat_ctr [data-id],
#menu_dial .dial_flyout_sub {
	width: 100%;
	display: flex;
	align-items: center;
	text-align: left;
	position: relative;
	background-color: transparent;
	text-transform: capitalize;
	color: hsl(0 0% 45% / 1);
	cursor: pointer;
	border-bottom: 1px solid #ddd;
	padding-right: 4px;
	opacity: 0.69;
	transition: all var(--trans_medium_time);
}

.subcat_ctr [data-id]:hover,
.subcat_ctr [data-id].hover,
#menu_dial .dial_flyout_sub:hover,
#menu_dial .dial_flyout_sub.open {
	border-radius: 4px;
}

.subcat_ctr>[data-id]:last-child {
	border: none;
	margin-bottom: 6px;
}

.subcat_ctr:hover [data-id],
.subcat_ctr.highlight [data-id],
.subcat_faves.highlight [data-id] {
	opacity: 1;
}

.subcat_ctr [data-id]>img {
	width: 16px;
	height: 16px;
	opacity: 0.7;
	margin-right: 6px;
}

body.dark .subcat_ctr [data-id]>img {
	opacity: 0.6;
}

body.dark .subcat_ctr [data-id],
body.dark #menu_dial .dial_flyout_sub {
	border-color: #333;
	color: #888;
}

body.dark .subcat_ctr.highlight [data-id] {
	color: #a09553;
}

.subcat_ctr [data-id]>span.subtext {
	position: absolute;
	bottom: 1px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 10px;
	color: hsl(0, 0%, 50%);
	white-space: nowrap;
	overflow: hidden;
	text-transform: uppercase;
}

body.dark .subcat_ctr.highlight,
body.dark .subcat_faves.highlight,
.highlight_container .highlight {
	z-index: 6;
}

.subcat_faves {
	width: 100%;
}

body:not(.dark) .subcat_faves:not(.highlight) [data-id]:not(:hover) {
	background-color: #fffced;
}

body.dark .subcat_faves [data-id] {
	color: hsl(63 30% 44% / 1);
}

.bg_hint {
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.8;
}

.bg_hint b {
	font-style: normal;
	letter-spacing: 0;
}

.bg_hint b span {
	font-weight: bold;
}

.bg_hint>span {
	display: none;
}


.subcat_ctr.faves_subcat {
	border-color: hsla(0, 97%, 39%, 0.22);
}

body.dark .subcat_ctr.faves_subcat {
	border-color: hsl(0, 52%, 12%);
}

.subcat_ctr.faves_subcat .tool.pop,
.subcat_ctr.faves_subcat .tool.move,
.subcat_ctr.faves_subcat .tool.delete {
	display: none;
}


.subcat_btns {
	margin: 8px 18px 0 0;
	display: flex;
	justify-content: center;
	height: 26px;
}

.subcat_btns>div:last-child {
	display: flex;
}

.subcat_btns .un_button {
	font-size: 0.8em;
	margin-left: 7px;
	white-space: nowrap;
	border-radius: 9px;
	transition: none;
	padding-left: 9px;
	font-weight: bold;
}

.subcat_btns .icon-heart {
	margin-right: 5px;
}

.subcat_btns .icon-ninja_eye {
	font-size: 22px;
	line-height: 1px;
}

.subcat_btns span.open_fave {
	background-color: hsl(0, 100%, 99%);
}

.subcat_btns span.open_all {
	background-color: hsl(61, 100%, 94%);
}

.subcat_btns span.open_all span.raquo:after {
	margin-left: 4px;
	font-size: 16px;
	top: -2px;
	position: relative;
}

.subcat_btns>.fave_all,
.subcat_ctr.faves_subcat .subcat_btns .open_all {
	display: none;
}

.subcat_ctr.faves_subcat .subcat_btns .open_fave {
	display: block;
}


.subcat_ctr a.favorite_search .icon-heart {
	visibility: visible;
}

.button_ctr [data-id] .favicon {
	display: block;
	padding: 0 8px 0 4px;
	align-items: center;
	min-width: 15px;
	flex-direction: row;
}

.button_ctr .favicon * {
	width: 16px;
	position: absolute;
	transform: translatey(-50%);
}

body.dark .button_ctr .favicon img.dark {
	filter: invert(1);
}

.button_ctr [data-id] .favicon.hover img {
	background: var(--yellow_highlight_bg_color);
	opacity: 1 !important;
	padding: 9px;
	border: 0.5px solid #c1c11d;
	z-index: 1;
	border-radius: 26px;
	width: 23px;
	left: -10px;
}

body.dark .button_ctr [data-id] .favicon.hover img {
	box-shadow: var(--dark_hover_box_shadow);
	border: none;
	background: black;
}

body.dark .button_ctr [data-id] .favicon.hover img.dark {
	box-shadow: 0 0 0 2px #7f85e7, 0 0 8px 3px #7f85e7;
	background: white;
}

body.dark .button_ctr [data-id] .favicon img {
	opacity: 0.6;
}

.button_ctr [data-id] .favicon>span {
	display: none;
	height: 16px;
	position: absolute;
	padding: 12px;
	border-radius: 44px;
	align-items: center;
	transition: all 111ms;
}

body.dark .button_ctr [data-id] .favicon>span {
	background: black;
	outline: 1px solid #555;
}

.button_ctr [data-id] .favicon.hover span {
	display: flex;
	top: -20px;
	z-index: 1;
	opacity: 0.8;
	background: white;
}

.button_ctr [data-id] .favicon.hover span:hover {
	opacity: 1;
}

.button_ctr [data-id].favorite_search .icon-heart:before {
	transform: scaleY(-1);
}

.button_ctr [data-id]>.title,
#menu_dial .dial_flyout_sub>.title {
	padding: 5.5px 0;
	/* letter-spacing: -0.3px; */
	flex: 1;
	color: #777;
}

.button_ctr [data-id]>.title>.domain_suffix {
	text-transform: lowercase;
}
#menu_dial .dial_flyout_sub>.title {
	padding-left: 2px;
}

body.dark .button_ctr [data-id]>.title,
body.dark #menu_dial .dial_flyout_sub>.title {
	color: #aaa;
}

.button_ctr [data-id] .icon_right {
	position: absolute;
	display: none;
	right: 1px;
	color: #777;
	/* padding: 4px 7px; */
	background-color: transparent;
	/* border-radius: 6px; */
	top: 0;
	bottom: 0;
	align-items: center;
}

body.dark .button_ctr [data-id] .icon_right {
	/* background-color: black; */
	color: #c2c26f;
}

.button_ctr [data-id]:hover .icon_right,
.button_ctr [data-id].hover .icon_right {
	display: flex;
}
.button_ctr [data-id]:hover .icon_right:before {
	background-color: var(--yellow_highlight_bg_color);
	padding: 0 5px;
}
body.dark .button_ctr [data-id]:hover .icon_right:before {
	background-color: black;
}


.button_ctr [data-id] .icon_right:hover {
	color: darkorange;
}

body.dark .button_ctr [data-id] .icon_right:hover {
	color: yellow;
}

/* the fave heart: a quiet outline that fills in and reddens under the cursor */
.button_ctr [data-id] .icon-fave>span {
	color: inherit !important;
}

.icon-fave>.icon-heart,
.icon-fave:hover>.icon-heart-outline {
	display: none;
}

.icon-fave:hover>.icon-heart {
	display: inline;
}

.button_ctr [data-id] .icon-fave {
	padding: 0 7px;
	font-size: 65%;
	color: #c4c4c4;
	transition: color 111ms, font-size 111ms;
}

body.dark .button_ctr [data-id] .icon-fave {
	color: #696969;
}

/* already a fave - the hover goes blue, since the click un-faves it */
.button_ctr [data-id].favorite_search .icon-fave:hover {
	color: #7ba0c4 !important;
}

body.dark .button_ctr [data-id].favorite_search .icon-fave:hover {
	color: #6f9dcc !important;
}

.button_ctr [data-id] .icon-fave:hover {
	color: var(--heart_pink) !important;
	font-size: 100%;
	opacity: 0.7;
}

.button_ctr [data-id] .favicon>span.icon-new_window {
	left: 22px;
	top: -4px;
	border-bottom-left-radius: 0;
}

.button_ctr [data-id] .favicon>span.icon-ninja_eye {
	left: -7px;
	top: 50%;
	font-size: 142%;
	color: #bbbb76;
	z-index: 3;
	padding: 6px;
	opacity: 0;
}

.button_ctr_highlight [data-id] .favicon>span.icon-ninja_eye {
	left: -2px;
}

body.dark .button_ctr [data-id] .favicon>span.icon-ninja_eye {
	color: #bbbb76;
}

.button_ctr [data-id] .favicon>span.icon-home {
	left: -11px;
	border-bottom-left-radius: 0;
	font-weight: bold;
}

body.dark .button_ctr [data-id] .favicon>span.icon-home {
	color: #79c079;
}

.button_ctr [data-id] .favicon>span.icon-history1 {
	top: calc(50% - 35px);
	left: -2px;
	color: #7db6df;
	font-size: 111%;
	border-bottom-left-radius: 0;
}

.button_ctr_highlight [data-id] .favicon>div {
	top: 1px;
	left: 1px;
	width: 22px;
	height: 22px;
	opacity: 1;
}

.button_ctr_highlight [data-id] .favicon>.up_icon {
	padding-left: 3px;
}

.button_ctr_highlight [data-id]>.title {
	padding-right: 6px;
}

body.dark .subcat_hdr.highlight span.icon-heart {
	opacity: 0.8;
}


#faves {
	display: block;
	padding: 18px 18px 0;
	max-width: var(--content_width);
	margin: auto;
}

#faves .icon-heart.subcat_name {
	font-size: 18px;
	margin-top: -4px;
}

#faves .subcat_ctr {
	margin-bottom: 0;
	background: transparent;
	border: none;
	padding: 0;
}


.icon-heart,
.icon-heart-outline,
body.dark .icon-heart,
body.dark .icon-heart-outline {
	color: var(--heart_pink) !important;
}

.cmd_ctrl>span {
	font-weight: bold;
}

.cmd_ctrl>.icon-command {
	position: relative;
	top: 1px;
}


.un_popup {
	display: none;
	min-height: 20px;
	padding: 16px 22px;
	background-color: var(--popup_bg);
	border: var(--popup_border);
	border-radius: var(--popup_border_radius);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	text-align: left;
	max-width: 42em;
}

body.dark .un_popup {
	background-color: var(--popup_dark_bg);
	border-color: var(--popup_dark_border);
}

.popup_content .icon-cancel-circle {
	float: right;
	font-size: 22px;
	margin: 4px;
	cursor: pointer;
}

.un_popup h3 {
	margin-top: 4px;
	padding-bottom: 0.4em;
	font-size: 1.5em;
	border-bottom: 1px solid #777;
	text-align: center;
	margin-bottom: 0.1em;
}

.un_popup>div:not(.autocomplete-suggestions) {
	padding: 2px;
}

.un_popup p,
.un_popup .un_button {
	font-size: 1.11em;
}
#cl_picker_popup {
	padding: 1.4rem 2.5rem 2rem;
}
#cl_picker_popup h3 {
	border: none;
}

.un_popup_btn_row {
	float: right;
	font-size: 16px !important;
	margin-top: 11px;
}

.un_popup_btn_row .btn_ok,
#quick_search_done,
#travel_cowabunga {
	background-color: #fffdb6;
	margin-left: 8px;
	font-weight: bold;
	font-style: italic;
	float: right;
}

body.dark .un_popup_btn_row .btn_ok,
body.dark #quick_search_done,
body.dark #travel_cowabunga {
	background-color: black;
	/* border-color: #868438; */
	/* color: #b5b126; */
}

#too_many_urls_popup {
	padding-right: 22px;
}

#too_many_urls_popup img {
	width: 88px;
	margin-right: 11px;
}

#too_many_urls_popup>div {
	display: flex;
	align-items: center;
}

#get_ext_popup {
	/* wide enough for 3 site columns; the message row stays 555px (see .get_ext_msg) */
	max-width: min(90vw, 720px);
	cursor: pointer;
}

#get_ext_popup .get_ext_msg {
	display: flex;
	align-items: center;
	justify-content: center;
}

#get_ext_popup_icon {
	width: 111px;
	height: 111px;
	flex: none;
	margin-right: 22px;
	object-fit: contain;
	transition: transform 0.15s ease;
}

#get_ext_popup p {
	margin: 0;
	line-height: 1.33;
	white-space: nowrap;
	transition: color 0.15s ease;
}

#get_ext_popup .get_ext_hdr {
	font-size: 28px;
	font-weight: bold;
}

#get_ext_popup .get_ext_sub {
	font-size: 19px;
	font-weight: normal;
}

/* the whole popup is one click target, so hovering anywhere lights it all up */
.get_ext_msg:hover p {
	color: darkorange;
}

.get_ext_msg:hover #get_ext_popup_icon {
	transform: scale(1.05);
}

#get_ext_popup_sites {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	margin-bottom: 22px;
	max-height: 55vh;
	overflow-y: auto;
	/* room for the columns' box-shadow, which overflow: auto would otherwise clip */
	padding: 3px;
	cursor: default;
}

#get_ext_popup_sites .subcat_ctr,
#menu_dial .dial_flyout .subcat_ctr {
	z-index: auto;
	flex: none;
	box-sizing: border-box;
	padding: 4px 0;
	background-color: var(--menu_section_bg);
	border: 1px solid var(--menu_section_border_color);
	border-radius: var(--menu_section_bdr_radius);
	box-shadow: var(--menu_section_box_shadow);
}

/* the flyout's rows run to the panel edges - no gap above the first or below the last */
#menu_dial .dial_flyout .subcat_ctr {
	padding: 0;
}

/* fixed columns here so the popup's rows line up under the message */
#get_ext_popup_sites .subcat_ctr {
	width: 186px;
}

/* no faving from this popup */
#get_ext_popup_sites [data-id] .icon-fave {
	display: none;
}

body.dark #get_ext_popup_sites .subcat_ctr,
body.dark #menu_dial .dial_flyout .subcat_ctr {
	background-color: var(--menu_section_bg_dark);
	border-color: var(--menu_section_border_color_dark);
	box-shadow: var(--menu_section_box_shadow_dark);
}

#get_ext_popup_sites [data-id],
#menu_dial .dial_flyout [data-id],
#menu_dial .dial_flyout_sub {
	opacity: 1;
	padding-left: 7px;
}

/* auto for the same reason the site rows above use it - 100% overflows the panel */
#menu_dial .dial_flyout_sub {
	width: auto;
	padding-right: 20px;
}

/* like the .dial_arrow on the entry this flyout hangs off, kept clear of the panel edge */
#menu_dial .dial_flyout_sub>.icon_right {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	padding-left: 16px;
	font-size: 0.9em;
	line-height: 1;
	opacity: 0.7;
	padding-right: 7px;
}

#get_ext_popup_sites .subcat_ctr>[data-id]:last-child,
#menu_dial .dial_flyout .subcat_ctr>[data-id]:last-child {
	margin-bottom: 0;
}

#flexi_dates_popup_extra {
	text-align: center;
}

#flexi_dates_popup_extra>span {
	white-space: nowrap;
	margin-bottom: 6px;
	display: inline-block;
	cursor: default;
}

#open_all_new_window_option_popup {
	text-align: center !important;
}

#custom_popup>p {
	margin: 0.3em 0;
}

#custom_popup>p:before {
	content: '\2736';
	margin-right: 5px;
}

#custom_list {
	display: flex;
	gap: 5px;
	padding: 8px 0;
}

#custom_url_input {
	flex-grow: 1;
}

/* JQUERY AUTOCOMPLETE */

.autocomplete-suggestions {
	background: #FFF;
	cursor: pointer;
	text-align: left;
	font-size: 22px;
	line-height: 30px;
	overflow: hidden;
}

.autocomplete_home {
	overflow: visible;
	margin-top: 8px;
}

/* tab / history suggestions while the tab switcher is up */
.autocomplete_history {
	margin-top: 8px;
	font-size: 17px;
}

.autocomplete_history .switch_sugg_age {
	margin-left: auto;
	padding: 0 16px 0 24px;
	flex: 0 0 auto;
	font-size: 0.75em;
	font-style: italic;
	text-transform: uppercase;
	color: #999;
}

.autocomplete_history .switch_sugg_title {
	overflow: hidden;
}

.autocomplete_history .switch_sugg_url {
	display: none;
	margin-left: 10px;
	font-size: 0.7em;
	opacity: 0.5;
	overflow: hidden;
	text-overflow: ellipsis;
}

.autocomplete_history .switch_sugg_icon {
	width: 22px;
	height: 22px;
	margin: 5px 8px 0 0;
	object-fit: contain;
	flex: 0 0 auto;
}

body.dark .autocomplete-suggestions {
	background: black;
	outline: 1px solid #333;
}

.autocomplete-suggestion {
	height: 33px;
	padding: 0 0 0 8px;
	white-space: pre;
	overflow: visible;
	display: flex;
	position: relative;
}

.autocomplete-selected {
	background: hsl(213.2deg 69.91% 88.29%);
}

body.dark .autocomplete-selected {
	background: #062c4d;
}

.autocomplete-suggestions strong {
	font-weight: bold;
}

.autocomplete-suggestion>.searches {
	display: flex;
	visibility: hidden;
	border-collapse: collapse;
	align-items: center;
	position: absolute;
	right: -18px;
	background: #f5f5f5;
	border: 1px solid;
	border-color: #bbbbbb;
	border-radius: 9px;
	top: -4px;
}

body.dark .autocomplete-suggestion>.searches {
	border-color: #555;
	background: #222;
}

.autocomplete-suggestion.autocomplete-selected>.searches {
	visibility: visible;
}

.autocomplete-suggestion>.text {
	width: 100%;
	overflow: hidden;
}

.autocomplete-suggestion>.searches>div {
	width: 31px;
	height: 31px;
	position: relative;
	z-index: 2;
	text-align: center;
	border-right: 1px solid;
	border-color: inherit;
	padding: 4px 5px;
	cursor: pointer;
}

/* On web there is no ninja eye cell (which carried border-right: none), so the
   last search icon would double up its border with the container's. */
html.is_web .autocomplete-suggestion>.searches>div:last-child {
	border-right: none;
}

body.dark .autocomplete-suggestion>.searches>div {
	border-color: #777;
}

.autocomplete-suggestion .icon {
	/*display: none;*/
	position: relative;
	top: 6px;
	padding-right: 6px;
}

/*.autocomplete-suggestion.autocomplete-selected .icon {*/
/*	display: block;*/
/*}*/
.autocomplete-suggestion.autocomplete-selected>.searches>div {
	transition: all 111ms;
}

.autocomplete-suggestion.autocomplete-selected>.searches:hover>div {
	filter: grayscale(0.3);
}

.autocomplete-suggestion.autocomplete-selected>.searches>div.selected {
	filter: grayscale(0);
	transform: scale(1.2);
	opacity: 1;
	background-color: var(--yellow_highlight_bg_color);
	border-radius: 12px;
	z-index: 11;
	border-color: transparent;
	outline: 1px solid #ccc;
}

body.dark .autocomplete-suggestion.autocomplete-selected>.searches>div.selected {
	background-color: black;
	box-shadow: var(--dark_hover_box_shadow);
	outline: none;
}

.autocomplete-suggestion.autocomplete-selected>.searches img {
	width: 23px;
	padding: 3px;
	opacity: 0.8;
}

.autocomplete_home .autocomplete-selected:after {
	display: none;
	content: 'Press Tab\A for Google';
	position: absolute;
	left: 102%;
	padding: 6px 10px;
	border: 1px solid hsl(0, 0%, 84%);
	white-space: pre;
	background: hsl(0, 0%, 99%);
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.4em;
	color: hsl(0, 0%, 60%);
	transform: translateY(-40%);
}

body.dark .autocomplete_home .autocomplete-selected:after {
	border-color: hsl(0, 0%, 28%);
	background: hsl(0, 0%, 12%);
	color: hsl(0, 0%, 56%);
}

body #home_form .autocomplete_home .autocomplete-selected:after {
	display: inline;
}


.autocomplete-suggestion>.searches>span.ctrl_enter_hint {
	width: unset;
	border: none;
	padding: 5px;
	text-transform: none;
	color: #888;
	font-size: 16px;
	font-style: italic;
	font-family: Inter, arial, sans-serif;
	letter-spacing: -0.02em;
}

body.dark .autocomplete-suggestion>.searches>span.ctrl_enter_hint {
	color: #aaa;
}


.radio_button_horz {
	display: inline-flex;
	flex-wrap: nowrap;
	align-items: start;
	border-radius: var(--btn_border_radius);
	box-shadow: var(--btn_box_shadow);
}

.radio_button_vert {
	display: flex;
	flex-direction: column;
}

.radio_button>label {
	color: #555;
	margin: 0;
	-webkit-tap-highlight-color: transparent;
}

.radio_button_horz>label {
	border-radius: 0;
}

.radio_button_vert>label {
	margin-bottom: 14px;
}

.radio_button>.ui-state-active {
	color: white;
}

.radio_button_horz.extra_round>label {
	border-radius: 33px;
}

.radio_button_horz>label:last-child {
	border-top-right-radius: var(--btn_border_radius);
	border-bottom-right-radius: var(--btn_border_radius);
}

.radio_button_horz>label:first-child {
	border-top-left-radius: var(--btn_border_radius);
	border-bottom-left-radius: var(--btn_border_radius);
}


body.dark .ui-button {
	background-color: black;
	border-color: #444;
	color: #888;
}

body.dark .ui-button:hover {
	color: darkorange;
	border-color: darkorange;
}

body.dark .radio_button>label {
	font-weight: bold;
}

body.dark .radio_button>.ui-state-active {
	background-color: var(--dark_button_orange);
	color: black;
	font-weight: bold;
	padding-left: .8em;
	padding-right: .8em;
}


.un_radio {
	text-align: center;
}

.un_radio>div,
.un_picker>div {
	display: inline-block;
	margin: 0 5px;
	border: 1px solid #777;
	border-radius: 4px;
	padding: 12px 25px;
	cursor: pointer;
	background-color: white;
	text-align: center;
}

body.dark .un_radio>div {
	background-color: hsl(0, 0%, 4%);
}

.un_picker>div>div:first-child {
	font-size: 28px;
	margin-bottom: 3px;
}

#feedback_form>div:first-child {
	text-align: center;
}

#feedback_form p {
	margin: 0.5em 0;
}

#feedback_popup .input_ctr {
	margin: 10px 6px;
	height: 42px;
}

#feedback_popup input {
	font-size: 19px;
	line-height: 22px;
}

#feedback_popup #feedback_comments_ctr {
	width: 474px;
	margin: 12px 6px 18px 6px;
	height: 192px;
	padding: 10px 8px;
}

#feedback_popup textarea {
	font-size: 16px;
	line-height: 15px;
	height: 100%;
}

#feedback_send_it {
	display: block;
	margin: 0 6px 0 auto;
}

#feedback_error {
	padding: 6px 0 0 12px;
	color: darkred;
	max-width: 454px;
}

#feedback_messenger {
	border-top: 1px solid #777;
	margin-top: 24px;
	padding-top: 8px;
	text-align: center;
}

#feedback_messenger img {
	vertical-align: middle;
}

#feedback_success_msg {
	text-align: center;
}

#share_tooltip>div {
	width: 500px;
}

#share_tooltip>h1 {
	text-align: center;
	font-size: 31px;
	padding-bottom: 18px;
	margin-bottom: 16px;
	white-space: nowrap;
	text-transform: uppercase;
}

#share_tooltip img {
	height: 33px;
	filter: invert(20%);
}

body.dark #share_tooltip img {
	filter: invert(72%);
}

#share_tooltip>h4 {
	margin: 10px;
	font-style: italic;
	letter-spacing: 0.03em;
}

#share_tooltip .icon-heart {
	color: #e02a0a;
	margin: 4px;
}

#settings_tooltip .input_ctr {
	display: inline-block;
	width: 54px;
	padding: 0 7px;
	line-height: 22px;
	height: 37px;
}

#settings_tooltip .input_ctr>input {
	width: 42px;
	text-align: right;
	margin: 0;
}

#settings_tooltip h1 {
	margin: 0;
	background: hsl(0, 0%, 94%);
	padding: 6px 9px;
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
	font-size: 16px;
}

body.dark #settings_tooltip h1 {
	background-color: hsl(0, 0%, 9%);
}

#settings_tooltip>div>h1 {
	margin-top: 22px;
}

.bottom_popup {
	top: -22px;
}

.bottom_popup {
	padding: 18px 38px 18px 22px;
}

#cmd_ctrl_popup_wrapper,
#direct_popup_wrapper {
	visibility: hidden !important;
}


.popup_content .selected:not([data-cat]):not(.default_search_filter):not(.default_search_item),
.popup_content .input_ctr,
.popup_content input,
.small_button_ctr>span.selected {
	background-color: transparent;
}

body.dark .popup_content .selected:not([data-cat]):not(.default_search_filter):not(.default_search_item),
body.dark .popup_content .input_ctr,
body.dark .small_button_ctr>span.selected {
	border-color: #6ab2ff;
	color: #6ab2ff;
	background-color: black;
}

body.dark #settings_tooltip .input_ctr {
	border: 1px solid;
}

.popup_close {
	position: absolute;
	top: 0;
	right: 0;
	background: none;
	border: 0;
	font-size: 25px;
	padding: 0 10px;
	color: #777;
	cursor: pointer;
}

body .popup_close:hover {
	color: var(--orange_hover);
}


#travel_form_ctr .input_ctr>*:not(span) {
	font-size: 18px;
	overflow: hidden;
}

#flights_toprow>div {
	margin: 0 5px;
}

#flights_toprow>div:first-child {
	text-align: right;
}

#flights_toprow>div:last-child {
	text-align: left;
}

.dropdown_button {
	padding-right: 29px;
	display: inline-flex;
	align-items: center;
	height: 100%;
	box-shadow: var(--btn_box_shadow);
}

.dropdown_button,
.radio_button {
	font-size: 14px;
}

.dropdown_button .icon {
	font-size: 22px;
	position: absolute;
	right: 5px;
	top: 50%;
	transform: translateY(-50%);
}


#flights_pass_cabin_tooltip>div {
	display: flex;
}

#flights_pass_cabin_tooltip h3 {
	margin-top: 0;
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;
	color: #444;
	margin-bottom: 10px;
}

body.dark #flights_pass_cabin_tooltip h3 {
	color: #888;
	border-bottom-color: #555;
}


.input_ctr_highlighted:not(.no_highlight) {
	background-color: #fffac5;
}

body.dark textarea.highlight,
body.dark .input_ctr_highlighted {
	box-shadow: 0 0 4px 2px #a89f3a;
}

.right_divider {
	border-right: 1px solid #aaa;
	padding-right: 26px;
	margin-right: 26px;
}

body.dark .right_divider {
	border-color: #777;
}

.nice-number>input {
	border: none;
	text-align: center;
	font-size: 20px;
	background-color: transparent;
	padding: 1px 2px;
}

.right_divider_sm {
	border-right: 1px solid #888;
	padding-right: 7px;
	margin-right: 7px;
}


.circle {
	border: 1px solid #bbb;
	width: 20px;
	height: 20px;
	border-radius: 100%;
	position: relative;
	margin: 4px;
	display: inline-block;
	cursor: pointer;
	vertical-align: top;
	transition: all 222ms;
}

.circle.plus:before,
.circle.plus:after,
.circle.minus:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #bbb;
	transition: background 222ms;
}

.circle.plus:before {
	margin: 5px auto;
	width: 2px;
}

.circle.plus:after {
	margin: auto 5px;
	height: 2px;
}

.circle.minus:before {
	margin: auto 5px;
	height: 2px;
}

.circle.plus {
	background-color: #fff9f2;
}

.circle.minus {
	background-color: #fbfcff;
}

body .circle.plus:hover {
	background-color: #ffcdaa;
	border-color: #f0a675;
}

body .circle.minus:hover {
	background-color: #c8dcfd;
	border-color: #8fb5f0;
}

body .circle.plus:hover:before,
body .circle.plus:hover:after {
	background: #b35e18;
}

body .circle.minus:hover:before {
	background: #1e5bbf;
}

body .circle:active {
	transform: scale(0.88);
}

body.dark .circle {
	border-color: #777;
}

body.dark .circle.plus:before,
body.dark .circle.plus:after,
body.dark .circle.minus:before {
	background: #888;
}

body.dark .circle.plus {
	background-color: #333;
}

body.dark .circle.minus {
	background-color: #151515;
}

body.dark .circle.plus:hover {
	background-color: #5a3216;
	border-color: #a86a34;
}

body.dark .circle.minus:hover {
	background-color: #16304f;
	border-color: #3f74b8;
}

body.dark .circle.plus:hover:before,
body.dark .circle.plus:hover:after {
	background: #ffcdaa;
}

body.dark .circle.minus:hover:before {
	background: #c8dcfd;
}


#flights_passengers {
	text-align: left;
	white-space: nowrap;
}

#flights_passengers td>span:last-child {
	color: #aaa;
	font-size: 12px;
	margin-left: 5px;
	margin-right: 10px;
}

body.dark #flights_passengers td>span:last-child {
	color: #666;
}

#flights_cabin_selector {
	width: 166px;
	padding-top: 5px;
	margin: auto;
}

#travel_form_ctr .date_row {
	display: block;
	margin-top: 14px;
}

#travel_form_ctr .date_ctr {
	width: 449px;
	margin-bottom: 2px;
	display: inline-flex;
	position: relative;
}

#travel_form_ctr .date_ctr>div {
	flex: 1;
}

.date_ctr input[type=date] {
	display: none;
}

.location_ctr {
	margin: 14px 0 0;
}

.location_ctr.single {
	margin-left: 33px;
	margin-right: 33px;
}

.location_ctr.single .hide_second {
	display: none;
}

.location_ctr.double .input_ctr>input {
	width: 100%;
}

.location_ctr.double div:first-child .input_ctr,
.date_ctr div:first-child .input_ctr {
	margin-right: 4px;
}

.location_ctr.double div:last-child .input_ctr,
.date_ctr div:nth-child(2) .input_ctr {
	margin-left: 4px;
}

.date_ctr.oneway>div:first-child .input_ctr {
	margin-right: 0;
}

.date_ctr.oneway>div:nth-child(2) {
	display: none;
}

.flights_nearby_hint {
	margin-top: 7px;
	font-style: italic;
	letter-spacing: 0.02em;
	overflow: hidden;
	white-space: nowrap;
	font-size: 13px;
	max-width: 380px;
	color: #777;
	padding: 2px;
}

#summary {
	display: flex;
	color: #2360a5;
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
	white-space: nowrap;
	padding: 6px 10px;
	width: 100%;
	text-align: center;
	background: hsl(214, 58%, 95%);
	border: var(--header_border);
	border-radius: 8px;
	box-sizing: border-box;
	overflow: hidden;
	margin-bottom: 11px;
	align-items: center;
}

body.dark #summary {
	color: hsl(48.99deg 56.67% 43.75%);
	background: var(--header_color_dark);
	border-color: var(--header_border_dark);
}

#summary div {
	display: inline-block;
}

#summary div:not(.icon) {
	flex: 1;
	margin: 0 7px;
}

#summary .separator:after {
	content: "|";
	margin: 0 14px;
}

#summary .icon {
	font-size: 1.234em;
}

#summary.flip .icon {
	transform: scaleY(-1);
}

#summary .crop_long {
	max-width: 291px;
	overflow: hidden;
	display: inline-flex;
	margin-right: 6px;
}

body #summary:hover,
body.dark #summary:hover,
body.dark #header.summary_complete #summary:hover {
	color: var(--orange_hover);
}

#header.summary_complete #summary {
	color: hsl(0, 0%, 36%);
}

body.dark #header.summary_complete #summary {
	color: inherit;
}

#travel_form_ctr>div {
	border-radius: 11px;
	background-color: var(--header_color);
	box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.2);
	border-top: none;
	margin-bottom: 11px;
}

body.dark #travel_form_ctr>div {
	background-color: var(--header_color_dark);
	border: var(--header_border);
	border-color: var(--header_border_dark);
	box-shadow: none;
}

#travel_form_ctr .input_ctr input {
	padding-left: 0;
}

#header.summary_complete #travel_form_ctr>div.current {
	display: none;
}


.date-picker-wrapper {
	color: #333;
	background-color: white;
	border: var(--popup_border);
	border-bottom-right-radius: var(--popup_border_radius);
	border-bottom-left-radius: var(--popup_border_radius);
	box-shadow: var(--popup_box_shadow);
	font-family: var(--font-family_un);
	margin-left: -1px;
	margin-top: -4px;
	z-index: 111;
}

.date-picker-wrapper.no-shortcuts {
	padding-top: 0;
	padding-bottom: 0;
}

.date-picker-wrapper .month-wrapper {
	border: 0;
}

.date-picker-wrapper .month-wrapper table .day.toMonth.valid {
	color: #555;
}

.date-picker-wrapper table .caption .next,
.date-picker-wrapper table .caption .prev {
	font-size: 26px;
	font-weight: normal;
}

.date-picker-wrapper .day:hover:not(.invalid) {
	background-color: #49e !important;
	color: white !important;
}

.date-picker-wrapper .first-date-selected,
.date-picker-wrapper .day:hover {
	border-top-left-radius: 42%;
	border-bottom-left-radius: 42%;
}

.date-picker-wrapper.single-date .first-date-selected,
.date-picker-wrapper.single-date .day:hover {
	border-radius: 42%;
}

.date-picker-wrapper .last-date-selected,
.date-picker-wrapper.first_date_is_picked .day:hover {
	border-radius: 0 42% 42% 0;
}

.date-picker-wrapper .month-wrapper table .day.real-today {
	background-color: transparent;
	border-left: 1px solid #aaa;
}

body.dark .date-picker-wrapper {
	background-color: var(--popup_dark_bg);
	border-color: var(--popup_dark_border);
}

body.dark .date-picker-wrapper .month-wrapper {
	background-color: var(--popup_dark_bg);
}

body.dark .date-picker-wrapper {
	color: #777;
}

body.dark .date-picker-wrapper .month-wrapper table .day.toMonth.valid {
	color: #aaa;
}

body.dark .date-picker-wrapper .month-wrapper table .day.real-today {
	background-color: transparent;
	border-left: 2px solid #776933;
}

body.dark .date-picker-wrapper .first-date-selected,
body.dark .date-picker-wrapper .last-date-selected,
body.dark .date-picker-wrapper .month-wrapper table .day.toMonth.valid.hovering,
body.dark .date-picker-wrapper .month-wrapper table .day.checked,
body.dark .date-picker-wrapper .day:hover:not(.invalid) {
	color: black !important;
}

body.dark .date-picker-wrapper .month-wrapper table .day {
	color: #555;
}

body.dark .date-picker-wrapper .gap .gap-line .gap-1 {
	border-left-color: var(--popup_dark_bg);
	border-top-color: var(--popup_dark_border);
	border-bottom-color: var(--popup_dark_border);
}

body.dark .date-picker-wrapper .gap .gap-line .gap-2 {
	border-top-color: var(--popup_dark_bg);
}

body.dark .date-picker-wrapper .gap .gap-line .gap-3 {
	border-bottom-color: var(--popup_dark_bg);
}

body.dark .date-picker-wrapper .gap .gap-top-mask,
body.dark .date-picker-wrapper .gap .gap-bottom-mask {
	background-color: var(--popup_dark_border);
}


.autocomplete_wrap {
	font-size: 20px;
}


.small_button_ctr>span {
	font-size: 14px;
	color: #777;
	background-color: white;
	border: 1px solid #777;
	padding: 2px 7px;
	line-height: 24px;
	cursor: pointer;
	border-right: 0;
}

.small_button_ctr>span:first-child {
	border-bottom-left-radius: 6px;
	border-top-left-radius: 6px;
}

.small_button_ctr>span:last-child {
	border-bottom-right-radius: 6px;
	border-top-right-radius: 6px;
	border-right: 1px solid #777;
}

body .small_button_ctr>span:hover {
	color: var(--orange_hover);
}

body.dark .small_button_ctr span {
	background-color: black;
}

.small_text_button {
	font-size: 14px;
	color: #555;
	border-color: #ccc;
	padding: 4px 11px;
	margin-top: 12px;
}

body.dark .small_text_button {
	color: #aaa;
	border-color: #444;
}

.small_text_button label {
	padding: 4px 12px;
}

.flights_flexi_ctr {
	margin-top: 14px;
	color: hsl(0, 0%, 50%);
}

.flights_flexi_ctr label {
	padding: 2px 8px;
}

.flights_flexi_text {
	margin-bottom: 4px;
}

.flights_flexi_days {
	margin-top: 4px;
}

#flights_date_return_ctr+.flights_flexi_ctr {
	border-left: 1px solid #ccc;
}

body.dark #flights_date_return_ctr+.flights_flexi_ctr {
	border-color: #333;
}

#flexi_dates_popup>div {
	text-align: center;
}

#flexi_dates_popup p {
	margin: 11px;
}

#flexi_dates_table {
	font-size: 0.9em;
	border-collapse: collapse;
	margin: auto;
}

#flexi_dates_table td {
	border: 1px solid #bbb;
	border-top: 0;
	border-left: 0;
}

body.dark #flexi_dates_table td {
	border-color: #444;
}

#flexi_dates_table tr>td:last-child {
	border-right: 0;
}

#flexi_dates_table tr:last-child>td {
	border-bottom: 0;
}

#flexi_dates_table div.link {
	padding: 8px 20px;
	text-align: left;
	cursor: pointer;
	line-height: 1.3em;
}

#flexi_dates_table div.link:hover {
	color: darkorange;
}

#flexi_dates_popup a {
	color: #777;
}

body #flexi_dates_popup a:hover:not(.disabled) {
	color: var(--orange_hover);
}

#flexi_dates_table div.disabled,
#flexi_dates_table div.visited {
	color: #aaa;
}

body.dark #flexi_dates_table div.disabled,
body.dark #flexi_dates_table div.visited {
	color: #444;
}

#flexi_dates_table a br:first-child {
	display: none;
}

#flexi_dates_popup_msg {
	margin-top: 14px;
}

body.dark #flexi_dates_popup_msg {
	border-color: #444;
}

#flexi_dates_popup_open_all_msg {
	display: table;
	margin: auto !important;
	text-transform: none;
	padding: 8px 12px;
}

body.is_flexi #flexi_dates_button,
body:not(.is_flexi) .flights_flexi_ctr {
	display: none;
}

body:not(.is_flexi) #flexi_dates_button,
body.is_flexi .flights_flexi_ctr {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 8px;
	font-size: 0.9em;
	align-self: center;
}


.autocomplete_tooltip {
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
	border-radius: 4px;
}

body.dark .autocomplete_tooltip {
	background-color: var(--popup_dark_bg);
	border-color: var(--popup_dark_border);
}

.autocomplete_tooltip_content {
	color: #888;
	font-size: 14px;
	text-align: left;
}


#hotels_people_rooms_tooltip {
	padding: 11px 22px;
}

#hotels_people_rooms_table tr>td:first-child {
	padding-right: 22px;
}


#travel_form_ctr #cars_time_row {
	margin-top: 12px;
}

#travel_cowabunga {
	align-self: center;
	float: none;
	margin: 0 0 11px;
	border-radius: 22px;
	margin-top: 8px;
	/* opacity: 0.7; */
}

#travel_cowabunga:hover {
	background-color: var(--yellow_highlight_bg_color);
	box-shadow: var(--yellow_highlight_box_shadow);
}

body.dark #travel_cowabunga:hover {
	background-color: black;
	box-shadow: var(--dark_hover_box_shadow);
	color: #b5b126;
	border-color: #868438;
}

#cars_time_row input[type='text'] {
	width: 90px;
}

#cars_time_row select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

#cars_time_ctr .input_ctr {
	width: 136px;
	margin: auto;
}


.ui-sortable-handle {
	-ms-touch-action: initial;
	touch-action: initial;
}

#share_tooltip .logo {
	width: 118px;
	height: 30px;
	display: inline-block;
	background-position: 0 0;
	background-size: 115px;
}

#more_button {
	font-size: 12px;
	margin: 2px 0 12px;
	padding: 1px 4px 1px 5px;
	background: #fff7a0;
	font-weight: bold;
}

#more_button .icon {
	display: inline-block;
	vertical-align: top;
	font-size: 16px;
	margin-top: -1px;
}


/* === CHROME EXT ================================ */

.logo,
#logo>img:first-child {
	background: url(../images/logo/logo-eyes.svg) 0 0 no-repeat;
	margin: auto;
	width: 77px;
	transition: all 444ms !important;
	background-size: 100%;
	opacity: 0.3;
}

body.dark .logo,
body.dark #logo>img:first-child {
	filter: invert(78%);
}

#logo {
	position: absolute;
	right: 22px;
	top: 22px;
	width: 77px;
	padding-bottom: 11px;
	cursor: pointer;
	/* must outrank #menu_top (99999) - it forms its own stacking context, so nested
	   popup z-indexes (100001/100002) can't escape it otherwise */
	z-index: 100010;
}


#desktop_app_link {
	position: fixed;
	bottom: 22px;
	left: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 16px 6px 6px;
	border-radius: 6px;
	opacity: 0.4;
	z-index: 11;
	cursor: pointer;
}

#desktop_app_link.electron {
	bottom: 12px;
	display: none;
}

/* shown only after the WS handshake has had time to land and did not connect */
html.ext_link_ready:not(.ext_connected) #desktop_app_link.electron {
	display: flex;
}

#desktop_app_icon_link,
#desktop_app_main_link {
	color: inherit;
	text-decoration: none;
}

#desktop_app_link img {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: contain;
}

#desktop_app_text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	text-align: left;
}

#desktop_app_link h2 {
	display: none;
	margin: 0;
	font-size: 1.1em;
	font-weight: normal;
}

#desktop_app_chrome_link {
	display: none;
	font-size: 1em;
	color: grey;
	text-decoration: none;
}

#desktop_app_main_link:hover,
#desktop_app_chrome_link:hover {
	color: var(--orange_hover);
}

#desktop_app_link:hover {
	opacity: 1;
}

#desktop_app_link:hover h2,
#desktop_app_link:hover #desktop_app_chrome_link {
	display: block;
}

body.dark #desktop_app_link img {
	filter: invert(1);
}


#settings_tooltip div:not(.radio_button) {
	background: #eee;
	border: 1px solid #ddd;
}

#settings_tooltip>div {
	display: flex;
	align-items: center;
	padding: 11px 18px 11px 11px;
	font-size: 1.1em;
	transition: all var(--trans_medium_time) ease;
	position: relative;
	white-space: nowrap;
}

#settings_tooltip>div.hover,
#settings_tooltip>div:hover {
	background: var(--yellow_highlight_bg_color);
	z-index: 1;
}

#settings_tooltip>div:first-child {
	border-radius: 11px 11px 0 0;
}

#settings_tooltip>div:last-child {
	border-radius: 0 0 11px 11px;
}

body.dark #settings_tooltip div:not(.radio_button) {
	background: #222;
	border-color: #333;
}

body.dark #settings_tooltip>div.hover,
body.dark #settings_tooltip>div:hover {
	color: #c2b045;
	box-shadow: var(--dark_hover_box_shadow);
}

#settings_tooltip>div>span {
	margin-right: 11px;
}

/* #settings_tooltip>div>span assumes a leading icon, so it out-specifies a bare
   .toggle_switch margin - hence the scoped rule below */
#settings_tooltip>div>span.toggle_switch {
	margin: 0 0 0 14px;
}

.toggle_switch {
	position: relative;
	flex: none;
	width: 34px;
	height: 18px;
	border-radius: 9px;
	background: #c4c4c4;
	transition: var(--trans_medium);
}

.toggle_switch::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	transition: var(--trans_medium);
}

.toggle_switch.on {
	background: var(--orange_hover);
}

.toggle_switch.on::after {
	transform: translateX(16px);
}

body.dark .toggle_switch {
	background: #3a3a3a;
}

body.dark .toggle_switch.on {
	background: var(--dark_button_orange);
}

body.dark .toggle_switch::after {
	background: #ddd;
}

#settings_light_dark {
	cursor: pointer;
	white-space: nowrap;
}

#settings_light_dark>img {
	width: 23px;
	opacity: 0.6;
	margin-right: 9px;
	transition: all var(--trans_medium_time);
}

#settings_light_dark:hover>img {
	transform: rotate(180deg);
}

#settings_craigslist>img {
	width: 16px;
	margin-right: 11px;
}

#settings_tracking_tooltip {
	padding: 11px 11px 0;
}

#share_tooltip,
#share_tooltip_wrapper,
#settings_tracking_tooltip,
#settings_tracking_tooltip_wrapper {
	border-radius: 11px;
}

#share_tooltip>div {
	display: flex;
	flex-direction: column;
	width: 161px;
	text-align: left;
}


.cowabunga {
	background: url(../images/icons/cowabunga.png) no-repeat;
	display: inline-block;
	width: 138px;
	padding-top: 99px;
	cursor: pointer;
}

.cowabunga:hover {
	background-image: url(../images/icons/cowabunga_red.png);
	color: #AA0000;
}

body.dark .icon_ctr img.dark {
	filter: invert(1);
}

.popup_list_wrapper {
	max-height: 420px;
	margin: 0;
	overflow: scroll;
}

.popup_table th {
	text-decoration: underline;
}

.popup_table th,
.popup_table td {
	padding: 0 6px;
	text-transform: capitalize;
}

#shortcuts_popup {
	width: 800px;
	max-width: 90vw;
}

#shortcuts_keyboard_prefix {
	text-align: center;
	opacity: 0.6;
	margin-bottom: 6px;
}

.simple-keyboard.sk_dark {
	background: #101010;
	border-radius: 14px;
	/* extra headroom so the top row's hover menu isn't cut off */
	padding: 32px 10px 10px;
}

.simple-keyboard.sk_dark .hg-button {
	position: relative;
	height: 50px;
	display: flex;
	justify-content: left;
	align-items: end;
	background: rgba(0, 0, 0, .5);
	color: #fff;
	border: 1px solid #333;
	border-radius: 6px;
	box-shadow: none;
	padding-left: 11px;
	padding-bottom: 4px;
	font-size: 13px;
	cursor: default;
}

.simple-keyboard.sk_dark .hg-button.hg-activeButton {
	background: rgba(255, 255, 255, .12);
}

.simple-keyboard.sk_dark .hg-button.sk_drop_hover {
	background: rgba(255, 255, 255, .22);
	border-color: #888;
}

.simple-keyboard.sk_dark .sk_app {
	position: absolute;
	top: 1px;
	right: 1px;
	width: 28px;
	height: 28px;
	cursor: url('../images/icons/hand-spock-right-blue.png') 15 15, grab;
}

.simple-keyboard.sk_dark .sk_app:active {
	cursor: url('../images/icons/hand-grab-o-blue.png') 12 14, grabbing;
}

.simple-keyboard.sk_dark .sk_app {
	-webkit-user-drag: element;
}

.simple-keyboard.sk_dark .sk_app_icon {
	width: 100%;
	height: 100%;
	border-radius: 3px;
	pointer-events: none;
	-webkit-user-drag: none;
}

/* keyboard is always dark, so dark-on-light icons always need inverting */
.simple-keyboard.sk_dark .sk_app_icon.dark {
	filter: invert(1);
}

.simple-keyboard.sk_dark .sk_app:hover .sk_app_menu {
	display: flex;
}

/* floats just above the icon; no gap, or the hover is lost on the way up */
.simple-keyboard.sk_dark .sk_app_menu {
	display: none;
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	align-items: center;
	gap: 5px;
	height: 24px;
	z-index: 2;
}

.simple-keyboard.sk_dark .sk_app_menu b {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 100%;
	font-weight: normal;
	line-height: 1;
	cursor: pointer;
	pointer-events: auto;
}

/* eye + chrome are one split pill, the ✕ is its own button */
.simple-keyboard.sk_dark .sk_app_modes {
	display: flex;
	height: 100%;
	background: #444;
	border: 1px solid #555;
	border-radius: 12px;
	overflow: hidden;
}

.simple-keyboard.sk_dark .sk_app_mode {
	border-right: 1px solid #555;
}

.simple-keyboard.sk_dark .sk_app_mode:last-child {
	border-right: none;
}

.simple-keyboard.sk_dark .sk_app_mode:hover {
	background: rgba(255, 255, 255, .18);
}

.simple-keyboard.sk_dark .sk_app_mode.on {
	background: #9d9681;
}

.simple-keyboard.sk_dark .sk_app_mode::before {
	content: '';
	position: absolute;
	inset: 0;
}

.simple-keyboard.sk_dark .sk_app_mode:not(.on)::before {
	opacity: .45;
}

.simple-keyboard.sk_dark .sk_app_mode.ninja::before {
	background: #eee;
	-webkit-mask: url('../images/logo/logo-eyes.svg') center/20px auto no-repeat;
	mask: url('../images/logo/logo-eyes.svg') center/20px auto no-repeat;
}

.simple-keyboard.sk_dark .sk_app_mode.ninja.on::before {
	background: #222;
}

.simple-keyboard.sk_dark .sk_app_mode.chrome::before {
	background: url('../images/icons/chrome_logo_big.png') center/16px auto no-repeat;
}

.simple-keyboard.sk_dark .sk_app_remove {
	width: 24px;
	background: #444;
	border: 1px solid #d33;
	border-radius: 50%;
	color: #e55;
	font-size: 11px;
}

.simple-keyboard.sk_dark .sk_app_remove:hover {
	background: #d33;
	color: #fff;
}

.un_popup button.save {
	float: right;
}

#settings_quick_search>.settings_quick_search_icon {
	display: inline-block;
	filter: grayscale(1);
	font-size: 1.25em;
	line-height: 1;
}

#quick_search_popup {
	min-width: 330px;
	padding-top: 22px;
}

#quick_search_row {
	display: flex;
	justify-content: center;
	width: fit-content;
	min-height: 58px;
	margin: 20px auto 24px;
	padding: 0 !important;
	overflow: visible;
	border: 1px solid #bbb;
	border-radius: 12px;
	background: #f5f5f5;
}

body.dark #quick_search_row {
	border-color: #555;
	background: #222;
}

#quick_search_row>.quick_search_item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 58px;
	box-sizing: border-box;
	border-right: 1px solid #bbb;
	cursor: url('../images/icons/hand-spock-right-blue.png') 15 15, grab;
}

#quick_search_row>.quick_search_item.drag_source {
	opacity: 0.25;
}

#quick_search_row>.quick_search_item.dragging {
	opacity: 0.9;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
	cursor: grabbing;
}

body.dark #quick_search_row>.quick_search_item {
	border-color: #555;
}

#quick_search_row>.quick_search_item:last-child {
	border-right: none;
}

#quick_search_row>.quick_search_item>img {
	width: 35px;
	height: 35px;
	object-fit: contain;
}

#quick_search_row>.quick_search_item>img.dark {
	filter: invert(1);
}

#quick_search_row .quick_search_remove {
	position: absolute;
	top: 3px;
	right: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 17px;
	height: 17px;
	padding: 0 0 2px;
	border: 1px solid #999;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: #777;
	font: bold 14px/1 Arial, sans-serif;
	opacity: 0;
	cursor: pointer;
	transition: opacity 111ms, color 111ms, background 111ms, transform 111ms;
}

#quick_search_row>.quick_search_item:hover .quick_search_remove,
#quick_search_row .quick_search_remove:focus {
	opacity: 1;
}

#quick_search_row .quick_search_remove:hover {
	color: #fff;
	background: #c33;
	border-color: #a22;
	transform: scale(1.1);
}

body.dark #quick_search_row .quick_search_remove {
	background: #222;
	color: #bbb;
}

body.dark #quick_search_row .quick_search_remove:hover {
	background: #b33;
	color: #fff;
}

#quick_search_filter {
	width: 330px;
	margin-bottom: 22px;
	border: 1px solid #bbb;
	border-radius: 3px;
	box-shadow: none;
}

#quick_search_filter>.icon {
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 100%;
	padding: 0;
	color: #888;
	pointer-events: none;
}

#quick_search_input {
	flex: 1;
	width: 100%;
	min-width: 0;
	height: 100%;
	padding-left: 46px;
	box-sizing: border-box;
	border: 0;
	outline: 0;
	font-size: 20px;
	background: transparent;
	line-height: 1.1em;
}

body.dark #quick_search_filter {
	border-color: #555;
	background: #111;
}

body.dark #quick_search_input {
	color: #ddd;
}

#cl_search_filter,
#shortcuts_key_search {
	width: 330px;
	border: 1px solid #bbb;
	border-radius: 3px;
	box-shadow: none;
}

#cl_search_filter>.icon,
#shortcuts_key_search>.icon {
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 100%;
	padding: 0;
	color: #888;
	pointer-events: none;
}

#search_input_find_cl,
#shortcuts_key_input {
	flex: 1;
	width: 100%;
	min-width: 0;
	height: 100%;
	padding-left: 46px;
	box-sizing: border-box;
	border: 0;
	outline: 0;
	font-size: 20px;
	background: transparent;
	line-height: 1.1em;
}

body.dark #cl_search_filter,
body.dark #shortcuts_key_search {
	border-color: #555;
	background: #111;
}

body.dark #search_input_find_cl,
body.dark #shortcuts_key_input {
	color: #ddd;
}

.quick_search_result {
	display: flex;
	align-items: center;
	gap: 9px;
}

.quick_search_result>img {
	width: 22px;
	height: 22px;
	object-fit: contain;
}

body.dark .autocomplete_shortcut_key .quick_search_result>img.dark {
	filter: invert(1);
}

#quick_search_reset {
	float: left;
}

#shortcuts_key_popup {
	width: 380px;
}

#shortcuts_key_combo {
	text-align: center;
	opacity: 0.6;
	margin-bottom: 8px;
}



#custom_add {
	width: 444px;
}

.icon-share:before {
	font-size: 16px;
	position: relative;
	left: 1px;
	top: -2px;
}

#history {
	letter-spacing: -0.01em;
	width: 650px;
	margin: 35px auto;
	display: none;
}

#history * {
	text-transform: capitalize;
}

#history.acc_section {
	display: none;
}

#history .acc_section:nth-child(-n+4) {
	display: block;
}

#history .acc_section .acc_head,
#history .acc_section .acc_head>*:not(.acc_title) {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

#history .acc_section .acc_head {
	background-color: hsl(0 0% 97% / 1);
}

#history .acc_section .acc_head>* {
	height: 33px;
	line-height: 33px;
}

#history .acc_section .acc_head>*:not(.acc_title):not(.popdown) {
	width: 36px;
}

#history .acc_section .acc_title {
	width: 100%;
}

#history .acc_title:after {
	content: '\25BA';
	visibility: hidden;
	font-size: 0.7em;
	position: relative;
	top: -1px;
	left: 6px;
}

#history .acc_section .acc_head .acc_title~div:not(.popdown) {
	visibility: hidden;
}

#history .acc_section .acc_head .acc_title:hover:after,
#history .acc_section .acc_head:hover .acc_title~div {
	visibility: visible;
}

#history .acc_head .icon {
	display: flex;
	font-size: 1.4em;
	justify-content: center;
	align-items: center;
}

#history .edit:after {
	content: '\270E';
	transform: scaleX(-1);
	font-size: 1.1em;
}

#history .acc_section {
	text-align: left;
}

#history .acc_section.acc_active>.acc_content {
	background-color: white;
}

#history .acc_head *:hover {
	color: var(--orange_hover);
}

#history .popdown {
	margin: 0 6px;
}

#history .popdown>span {
	background: #ccc;
	border-radius: 99px;
	line-height: 0.8em;
	font-size: 0.8em;
	color: #555;
	height: 20px;
	width: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 2px 0 3px;
}

.accordionjs .acc_section .acc_content>div {
	display: flex;
}

.accordionjs .acc_section .acc_content>div>*>div {
	white-space: nowrap;
	line-height: 1.2em;
}

.accordionjs .acc_section .acc_content .pages {
	margin-left: 21px;
	padding-left: 12px;
	border-left: 1px solid var(--subcat_ctr_border_color);
}

.accordionjs.keep_first_section_open .acc_section:first-child .acc_content {
	display: flex !important;
}

body.dark .accordionjs .acc_section .acc_content .pages {
	border-color: var(--subcat_ctr_border_color_dark);
}

body.dark #history .acc_head *:hover {
	color: var(--dark_button_orange);
}

body.dark #history .acc_section .acc_head {
	background-color: hsl(0 0% 11% / 1);
}

body.dark #history .acc_section,
body.dark #history .acc_section.acc_active>.acc_head {
	border-color: hsl(0 0% 27% / 1);
}

body.dark #history .acc_section.acc_active>.acc_content {
	background-color: black;
}

body.dark #history .popdown>span {
	background: #444;
	color: inherit;
}

#bottom_hz {
	position: fixed;
	bottom: 0;
	height: 55px;
	width: 100%;
	z-index: 111;
	background-color: transparent;
	display: none;
	opacity: 0.7;
}

div#bottom_hz:before {
	font-size: 2.2em;
}

.overlay {
	padding: 33px;
	border-radius: 6px;
	background-color: #eee;
	border: 1px solid #ddd;
}

body.dark .overlay {
	background-color: #111;
	border-color: #222;
}


/* === SHARING BUTTONS ================================== */
@media only screen {

	.resp-sharing-button__link,
	.resp-sharing-button__icon {
		display: inline-block
	}

	.resp-sharing-button__link {
		text-decoration: none;
		color: #333;
		margin: 0.5em;
		cursor: pointer;
		border-radius: 7px;
	}

	body.dark .resp-sharing-button__link {
		color: #ccc;
	}

	.resp-sharing-button {
		border-radius: 5px;
		transition: 25ms ease-out;
		padding: 0.5em 0.75em;
		font-size: 16px;
	}

	.resp-sharing-button__icon svg {
		width: 1em;
		height: 1em;
		margin-right: 0.4em;
		vertical-align: top;
		filter: invert(0.7);
	}

	body.dark .resp-sharing-button__icon svg {
		filter: invert(0.1);
	}

	.resp-sharing-button--small svg {
		margin: 0;
		vertical-align: middle
	}

	/* Non solid icons get a stroke */
	.resp-sharing-button__icon {
		stroke: #fff;
		fill: none
	}

	/* Solid icons get a fill */
	.resp-sharing-button__icon--solid,
	.resp-sharing-button__icon--solidcircle {
		fill: #fff;
		stroke: none;
		border: none !important;
	}

	.resp-sharing-button--twitter {
		background-color: #55acee
	}

	.resp-sharing-button--twitter:hover {
		background-color: #2795e9
	}

	.resp-sharing-button--pinterest {
		background-color: #bd081c
	}

	.resp-sharing-button--pinterest:hover {
		background-color: #8c0615
	}

	.resp-sharing-button--facebook {
		background-color: #3b5998
	}

	.resp-sharing-button--facebook:hover {
		background-color: #2d4373
	}

	.resp-sharing-button--tumblr {
		background-color: #35465C
	}

	.resp-sharing-button--tumblr:hover {
		background-color: #222d3c
	}

	.resp-sharing-button--reddit {
		background-color: #FF0000
	}

	.resp-sharing-button--reddit:hover {
		background-color: #D30000
	}

	.resp-sharing-button--google {
		background-color: #dd4b39
	}

	.resp-sharing-button--google:hover {
		background-color: #c23321
	}

	.resp-sharing-button--linkedin {
		background-color: #0077b5
	}

	.resp-sharing-button--linkedin:hover {
		background-color: #046293
	}

	.resp-sharing-button--email {
		background-color: #777
	}

	.resp-sharing-button--email:hover {
		background-color: #5e5e5e
	}

	.resp-sharing-button--xing {
		background-color: #1a7576
	}

	.resp-sharing-button--xing:hover {
		background-color: #114c4c
	}

	.resp-sharing-button--whatsapp {
		background-color: #25D366
	}

	.resp-sharing-button--whatsapp:hover {
		background-color: #1da851
	}

	.resp-sharing-button--hackernews {
		background-color: #FF6600
	}

	.resp-sharing-button--hackernews:hover,
	.resp-sharing-button--hackernews:focus {
		background-color: #FB6200
	}

	.resp-sharing-button--vk {
		background-color: #507299
	}

	.resp-sharing-button--vk:hover {
		background-color: #43648c
	}

	.resp-sharing-button--facebook {
		background-color: #3b5998;
		border-color: #3b5998;
	}

	.resp-sharing-button--facebook:hover,
	.resp-sharing-button--facebook:active {
		background-color: #2d4373;
		border-color: #2d4373;
	}

	.resp-sharing-button--twitter {
		background-color: #55acee;
		border-color: #55acee;
	}

	.resp-sharing-button--twitter:hover,
	.resp-sharing-button--twitter:active {
		background-color: #2795e9;
		border-color: #2795e9;
	}

	.resp-sharing-button--tumblr {
		background-color: #35465C;
		border-color: #35465C;
	}

	.resp-sharing-button--tumblr:hover,
	.resp-sharing-button--tumblr:active {
		background-color: #222d3c;
		border-color: #222d3c;
	}

	.resp-sharing-button--email {
		background-color: #777777;
		border-color: #777777;
	}

	.resp-sharing-button--email:hover,
	.resp-sharing-button--email:active {
		background-color: #5e5e5e;
		border-color: #5e5e5e;
	}

	.resp-sharing-button--pinterest {
		background-color: #bd081c;
		border-color: #bd081c;
	}

	.resp-sharing-button--pinterest:hover,
	.resp-sharing-button--pinterest:active {
		background-color: #8c0615;
		border-color: #8c0615;
	}

	.resp-sharing-button--linkedin {
		background-color: #0077b5;
		border-color: #0077b5;
	}

	.resp-sharing-button--linkedin:hover,
	.resp-sharing-button--linkedin:active {
		background-color: #046293;
		border-color: #046293;
	}

	.resp-sharing-button--reddit {
		background-color: #ff0000;
		border-color: #ff0000;
	}

	.resp-sharing-button--reddit:hover,
	.resp-sharing-button--reddit:active {
		background-color: #D30000;
		border-color: #D30000;
	}

	.resp-sharing-button--whatsapp {
		background-color: #25D366;
		border-color: #25D366;
	}

	.resp-sharing-button--whatsapp:hover,
	.resp-sharing-button--whatsapp:active {
		background-color: #1DA851;
		border-color: #1DA851;
	}

	.resp-sharing-button--hackernews {
		background-color: #FF6600;
		border-color: #FF6600;
	}

	.resp-sharing-button--hackernews:hover,
	.resp-sharing-button--hackernews:active {
		background-color: #dc5902;
		border-color: #dc5902;
	}
}

/*This should ALWAYS BE LAST*/
body .display_none {
	display: none;
}

.display_none_important {
	display: none !important;
}

.hidden {
	visibility: hidden;
}

.opacity_zero {
	opacity: 0;
}

.width_100 {
	width: 100%;
}

.width_0 {
	width: 0;
}

.transition_none_important {
	transition: none !important;
}

.popup_menu {
	background-color: var(--popup_bg);
	border: var(--popup_border);
	border-radius: var(--popup_border_radius);
	box-shadow: var(--popup_box_shadow);
	min-width: 150px;
	border-collapse: collapse;
}

body.dark .popup_menu {
	background-color: var(--popup_dark_bg);
	border-color: var(--popup_dark_border);
}

body.dark .popup_menu .item {
	border-color: #444;
}

.popup_menu .item {
	padding: 5px 15px;
	cursor: pointer;
	text-align: left;
	text-transform: capitalize;
	border: 1px solid #ccc;
	border-bottom: none;
	font-size: 1em;
	color: #696969;
}

.popup_menu .item:first-child {
	border-bottom: 1px;
	border-radius: var(--popup_border_radius) var(--popup_border_radius) 0 0;
}

.popup_menu .item:last-child {
	border-bottom: 1px;
	border-bottom-left-radius: var(--popup_border_radius);
	border-bottom-right-radius: var(--popup_border_radius);
}

body.dark .popup_menu .item {
	color: #999;
}

.popup_menu .item:hover {
	background-color: var(--yellow_highlight_bg_color);
}

body.dark .popup_menu .item:hover {
	background-color: black;
	box-shadow: var(--dark_hover_box_shadow);
	color: yellow;
	border-radius: 8px;
}

#loading-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: transparent;
	z-index: 2147483647;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	cursor: pointer;
}

#curtain-left,
#curtain-right {
	position: absolute;
	top: 0;
	height: 100%;
	width: 50%;
	background-color: black;
	z-index: -1;
	transition: transform 1s ease-in-out;
}

#curtain-left {
	left: 0;
}

#curtain-right {
	right: 0;
}

#loading-overlay.fading #loading-logo,
#loading-overlay.fading #loading-text {
	opacity: 0;
}

#loading-overlay.open #curtain-left {
	transform: translateX(-100%);
}

#loading-overlay.open #curtain-right {
	transform: translateX(100%);
}

#loading-logo {
	z-index: 10;
	width: 278px;
	aspect-ratio: 888 / 411;
	/* logo is a mask so background-color can be cycled */
	-webkit-mask: url("../images/logo/logo-eyes+text-clean.svg") center / contain no-repeat;
	mask: url("../images/logo/logo-eyes+text-clean.svg") center / contain no-repeat;
	background-color: hsl(0, 100%, 50%);
	transition: opacity 1s;
}

#loading-text {
	color: hsl(0, 100%, 50%);
	font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
	font-style: italic;
	font-weight: bold;
	font-size: 1.1em;
	margin-top: 25px;
	/* letter-spacing: 0.05em; */
	text-shadow:
			  -2px -2px 0 #000,
			  2px -2px 0 #000,
			  -2px 2px 0 #000,
			  2px 2px 0 #000,
			  0px 0px 10px rgba(0, 0, 0, 0.9);
	cursor: pointer;
	user-select: none;
	z-index: 10;
	transition: opacity 1s;
	/* text-decoration: underline; */
}
/* ---------------------------------------------------------------------------
   Web target — hide desktop-only controls.
   html.is_web is set by js/platform.js (also .is_electron / .is_extension).
   Backing methods are absent from window.electronAPI on web, so these would be
   dead clicks; see js/platform.js.
   --------------------------------------------------------------------------- */
html.is_web #settings_quit,
html.is_web #settings_update,
html.is_web #settings_shortcuts {
	display: none !important;
}

#copyright {
	color: #777;
	position: fixed;
	left: 17px;
	bottom: 11px;
	text-transform: uppercase;
	font-size: 0.8rem;
}

#copyright > a {
	color: #777;
	text-decoration: none;
}

#copyright > a:hover {
	color: darkorange;
}