/*  lt1.5_nav_bridge.css  */



#masthead {
	height: 50px;
	width: 100%;
	color: #f5f2ed;
	margin: 0;
	padding: 0;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	min-width: 350px;
	xoverflow: hidden;
	font-size: 14px;
	z-index: 1900;
	box-shadow: 0 3px 0 rgba(255,255,255, 0.7);
	xborder-bottom: 2px solid #005788;

	background:none;
	background-color: var(--lt-brownlogo-color);
	font-family: Arial, Helvetica, Verdana, sans-serif;

	min-width: 735px;
	min-width: 300px;

	box-shadow:none;
	z-index: 1901;
}

#masthead a,
#masthead a:visited,
#masthead a:link,
#masthead a:active {
	color: #f5f2ed;
}

#masthead_logo_wordmark2 {
	cursor: pointer;
	float: left;
	width: 150px;
	z-index: 1910;
	margin: 5px 0 0 16px;
	display:block;
}

#masthead_lt_logo2 {
	width: 43px;
	height: 43px;
	display: none;
	margin: 2px 0 0 20px;
}

#masthead ul, .subnav ul {
	list-style-type: none;
	margin: 12px 0 0;
	padding: 0;
	display: flex;
}


#masthead #tabs {
	left: 180px;
	bottom: 0;
	top: 0;
	position: absolute;
	white-space: nowrap;
	overflow: hidden;
	font-weight: 600;
	type-rendering: optimizeLegibility;
}


#tabs .sitenav_item {
	display: inline;
	xborder-right: 1px solid hsla(5, 20%, 34%, .7);
	padding: 17px 12px 15px;
	margin: 0;
	float: left;
	cursor: pointer;
	text-align: center;
	position: relative;
}


#tabs .sitenav_item.selected {
	color: #47302e !important;
	font-weight: 600;
	background-color: #ebded3;
	border-bottom-color: #fff;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#ebded3), to(#fff));
	background-image: -webkit-linear-gradient(top, #ebded3, #fff);
	background-image: -moz-linear-gradient(top, #ebded3, #fff);
	background-image: -o-linear-gradient(top, #ebded3, #fff);
	background-image: -ms-linear-gradient(top, #ebded3, #fff);
	background-image: linear-gradient(top, #ebded3, #fff);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#ebded3', EndColorStr='#ffffff');
	border-top: 1px solid #a93434;
	padding-top: 16px;
	color: #a93434 !important;
	z-index: 1905;

}
body.has_subnav #tabs .sitenav_item.selected {
	xpadding-bottom: 9px;
	height: 50px;
}
body.show_subnav #tabs .sitenav_item.selected, body.catalogpage #tabs .sitenav_item.selected {
	background-image: -webkit-gradient(linear, left top, left bottom, from(#ebded3), to(#f8f5f2));
	background-image: -webkit-linear-gradient(top, #ebded3, #f8f5f2);
	background-image: -moz-linear-gradient(top, #ebded3, #f8f5f2);
	background-image: -o-linear-gradient(top, #ebded3, #f8f5f2);
	background-image: -ms-linear-gradient(top, #ebded3, #f8f5f2);
	background-image: linear-gradient(top, #ebded3, #f8f5f2);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#ebded3', EndColorStr='#f8f5f2');
}

#tabs .sitenav_item:after {
	content: " ";
	position: absolute;
	border-right: 1px solid #684845b3;
	width: 0;
	right: 0;
	top: 0;
	bottom: 0;
}


#tabs .sitenav_item:hover,
#tabs .sitenav_item.hovered {
	/* background: #268d88; */
	color: #fff;
	background-color: var(--lt-red-color);
}
#masthead a:hover,
#masthead a.hovered {
	color: #f5f2ed !important;
	text-decoration: none !important;
}

#mast_alt {
	xfloat: right;
	margin-right: 20px;
	font-size: 0.9em;
	position: absolute;
	top:0;
	right:0;
}
#mastuser {
	position: absolute;
	right: 15px;
	top: -9px;
	font-size: .95em;
}


.usercomment_count, #masthead a.usercomment_count {
	xbackground: #ffdb56;
	xborder: 1px solid #A48144;
	color: var(--lt-text-color);
	font-size: 0.8em;
	padding: 1px 4px 0;
	margin: 0 2px 0 2px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-ms-border-radius: 3px;
	border-radius: 3px;
	position: relative;
	background-color: #DDD7D7;
	color: #3c2826;
	font-weight: bold;
}
.usercomment_count.has_unread, #masthead a.usercomment_count.has_unread {
	background-color: #ffdb56;
}


#sbarform {
	position: relative;
}



#mast_rule {
	height: 2px;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #A93434;
	background-color: var(--lt-red-color);
	box-shadow: 0 -1px 0 #AE4B4B;
	box-shadow: 0 -1px 0 var(--lt-red-color);
	z-index: 1904;
}

#mastsearch input {
	font-size: 11px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-ms-border-radius: 2px;
	border-radius: 2px;
	border: 1px solid #886556;
	border: none;
	padding: 0.08em;
	width: 190px;
	margin-top: 23px;
	height: 1.6em;
	color: #555;
	padding-left: 0.5em;
	padding-right: 30px;
	-webkit-box-shadow: inset 0 1px 0 #ccc;
	-moz-box-shadow: inset 0 1px 0 #ccc;
	box-shadow: inset 0 1px 0 #ccc;
	box-sizing: content-box;
}
#mastsearch_glass {
	cursor: pointer;
	padding: 4px 11px 4px 8px;
	position: absolute;
	right: 0;
	top: 22px;
	box-sizing: content-box;
	opacity: 0.5;
}
#mastsearch_query:focus + #mastsearch_glass,
#mastsearch_query:hover + #mastsearch_glass {
	opacity: 1.0;
}

#mastuser {
	position: absolute;
	right: -4px;
	top: -9px;
	font-size: .95em;
}

.mastuseritem {
	list-style-type: none;
	display: inline;
	padding: 0 5px;
	border-right: 1px solid #fff3;
	white-space: nowrap;
	margin: 0;
}
.mastuseritem:last-child {
	border: none;
}




.subnav {
	margin-top: 10px;
	padding: 2px 10px 10px 15px;
	border: 2px none #e7e7e7;
	border-bottom-style: solid;
	background: none;
	font-family: verdana, arial, sans-serif;
	height: inherit;
	font-size: 11px !important;
	line-height: 15px;


	position: fixed;
	top: 50px;
	right: 0 !important;
	left: 0 !important;
	z-index: 1901;
	background: #f8f5f2 !important;
	color: #005788;
	font-size: 12px !important;
	line-height: 18px;
	padding: 0 20px !important;
	white-space: nowrap;
	font-weight: bold;
	margin-top: 0 !important;
	border: none !important;
	border-bottom: 1px solid #b4aaab !important;
	xbox-shadow: 0 3px 0 rgba(255,255,255, 0.8);
	display: block;
	overflow: hidden;
	height: 36px;
	font-family: Arial, Helvetica, Verdana, sans-serif;
	xtransition: height 0.2s linear;
	min-width: 695px;

	box-shadow:none;
}




body.show_subnav .subnav {
	display: block;
}
.subnav div.right {
	float: right;
	right: 10px;
	color: #808080;
}
nobr {
	white-space: nowrap;
}


.subnav a,
.subnav a:visited,
.subnav a:link,
.subnav a:active,
.subnav_item {
	display: inline;
	color: var(--lt-link-color) !important;
	padding: 0;
	padding: 8px 10px 6px;
	border: none;
	outline: none;
	cursor: pointer;
	margin: 0;
	white-space: nowrap;
	float: left;
	position: relative;
	background: url(../gif/subnav_separator.gif) no-repeat right bottom;
	z-index: 1899;
}
.subnav div.right a {
	margin: 0;
}
.subnav nobr:first-of-type a, .subnav > a:first-of-type {
	margin-left: -10px;
}

.subnav_item.selected,
a.subnav_selected,
a.subnav_selected:link,
a.subnav_selected:active,
a.subnav_selected:hover,
a.subnav_selected:visited {
	color: #aa3432 !important;
	border-bottom: 3px solid #aa3432;
}
.subnav nobr:first-of-type a, .subnav > a:first-of-type {
	margin-left: -10px;
}


span.pipe {
	color: #aaa;
	margin: 0px 2px 0px 2px;
	font-weight: normal !important;
}
.subnav .pipe {
	display: none;
}
.subnav span.pipe {
	color: #cfcfcf;
}

.subnav a:hover {
	color: var(--lt-link-color) !important;
	text-decoration: none !important;
}
.subnav .right nobr:last-child a:hover,
.subnav nobr:last-child a:hover,
.subnav a:hover {
	background: #fff;
	border-bottom: 3px solid #004d8b;
}

.subnav span.title, .subnav .subnav_item.title, .subnav a.title, .subnav a.title:hover, .subnav .fwikiSubnavBreadcrumbItem {
	color: #222 !important;
	background: #0000;
	cursor: default;
}


#tabs .sitenav_item#mobile_topmenu {
	display:none;
}
#mobile_topmenu_content {
	display:none;
	position: fixed;
	left: 0;
	right: 0;
	top: var(--lt-topnav-height-standard);
	xbackground: var(--lt-background-color);
	xcolor: var(--lt-text-color);
	padding:0;
	margin:0;
	background-color: var(--lt-menu-background-color);
	-webkit-user-select: none;
	user-select: none;
	font-size:1.2rem;
	grid-template-columns: repeat(auto-fill, 49.999%);
	box-shadow: 0 1px 0 #0004, 0 14px 15px -7px #0003, 0 40px var(--lt-padding) var(--lt-padding-neg) #0001;

	max-height: 0px;
	overflow: hidden;
	transition: 100ms;
	height: 0;
}
#mobile_topmenu_content.active {
	max-height: 1000px;
	transition:500ms;
}

@media screen and (max-width:1280px) {
	/* PIRATIZE */
	#masthead.piratize  #tabs {
		left: 70px;
		font-size: 12px;
		line-height:1.5em;
	}
	.piratize #masthead_logo_wordmark2 {
		background:none;
	}
	.piratize #masthead_wordmark {
		display: none;
	}
	.piratize #masthead_lt_logo {
		display: block;
		/* shows the block L icon */
		background: none;
		height: 50px;
		margin-left: 8px;
		margin-top: 1px;
		width: 50px;
	}

	.piratize li.sitenav_item {
		padding-left: 8px !important;
		padding-right: 8px !important;
		min-width: 3em;
	}
	.piratize #mast_alt {
		font-size: 0.8em;
	}

	.piratize #mastsearch input {
		font-size: 1em;
		margin-top: 20px;
	}
	.piratize #mastsearch_glass {
		top: 19px;
		padding-right:9px;
	}
	.subnav.piratize {
		white-space: nowrap;
		overflow:hidden;
		font-size: 11px !important;
	}

	.piratize #mastsearch input {
		width: 150px;
	}
	.piratize #tabs .sitenav_item {
		padding-left: 7px !important;
		padding-right: 7px !important;
		min-width: 3em;
	}
	.subnav.piratize a, .subnav_item {
		padding-left: 7px !important;
		padding-right: 7px !important;
	}
	/* END PIRATIZE */
}



@media screen and (max-width:1180px) {
	#masthead_logo_wordmark2 {
		display:none;
		/* gets rid of the verbose LibraryThing wordmark */
	}

	#masthead_wordmark {
		display: none;
	}
	#masthead_lt_logo2 {
		display: block;
		/* shows the block L icon */
	}

	#masthead #tabs {
		left: 70px;
		font-size: 0.8em;
		line-height:1.5em;
	}
	li.sitenav_item {
		padding-left: 8px !important;
		padding-right: 8px !important;
		min-width: 3em;
	}
	#mast_alt {
		font-size: 0.8em;
	}

	#mastsearch input {
		font-size: 1em;
		margin-top: 20px;
	}
	#mastsearch_glass {
		top: 19px;
		padding-right:9px;
	}
	.subnav {
		font-size: 11px;
		white-space: nowrap;
		overflow:hidden;
	}

	.subnav {
		font-size: 10px !important;
	}

	#tabs .sitenav_item {
		padding-top: 17px;
	}

}

@media screen and (max-width:980px) {

	#mastsearch input {
		width: 150px;
	}

	#tabs .sitenav_item {
		padding-left: 7px !important;
		padding-right: 7px !important;
		min-width: 3em;
	}
	.subnav a, .subnav_item {
		padding-left: 7px !important;
		padding-right: 7px !important;
	}

	#tabs .sitenav_item {
		padding-left: 5px !important;
		padding-right: 5px !important;
	}
	#masthead #tabs {
		left: 65px;
	}
}


@media screen and (max-width:800px) {
	#masthead_lt_logo2 {
		margin-left: 2px;
	}

	#masthead #tabs {
		left: 45px;
		right:0;
		top:0;
	}

	#lt1_nav #tabs > * {
		display:none;
	}

	#mast_alt {
		position: absolute;
		top: 0;
		right: 0;
		left: 0;
	}
	#mastsearch_container {
		position: absolute;
		right: 60px;
		left: 60px;
	}

	#mastsearch input {
		margin-top:8px;
		height: 32px;
		width: 100%;
		box-sizing: border-box;
		font-size: 1.4em;
	}
	#mastsearch_glass {
		top: 14px;
	}
	#mastuser {
		display:none;
	}
	#tabs .sitenav_item {
		min-width: 80px;
	}
	#tabs .sitenav_item:hover {
		xbackground-color: unset;
	}

	#masttab_tc > img,
	#masttab_litsy > img {
		xfilter: invert(1);
		display:none;
	}
	#masthead #mobile_topmenu_content {
		display:grid;
		height:auto;
		display:flex;
		flex-wrap: wrap;
		flex-direction: row;
	}
	#masthead #mobile_topmenu_content a:hover,
	#masthead #mobile_topmenu_content a.hovered {
		color: var(--lt-white-color) !important;
		background: var(--lt-red-color);
	}

	#lt2_navnotifications {
		position: absolute;
		top:0;
		right:0;
		font-size: 1rem;
		color: var(--lt-white-color);

		top: -8px;
		right: -5px;
		display: flex;
		flex-direction: column;

		gap: 2px;
	}

	#mobile_topmenu .badge,
	#mobile_topmenu_content .badge {
		xmargin-left: 5px;
		xposition: absolute;
		xright: 15px;
		xtop: calc(50% - 11px);

		/* half of height */
		background-color: var(--lt-red-color);
		color: var(--lt-background-color);
		font-size: 12px;
		border-radius: 11px;
		padding: 4px 6px 4px 6px;
		min-width: 23px;
		height: 22px;
		line-height: 13px;
		text-align: center;
		box-shadow: 0 0 0 2px #fff;
	}
	#mobile_topmenu_content .badge {
		margin-left: 1em;
		margin-top: 0.6em;
		vertical-align: top;
	}
	#mobile_topmenu .badge {
		xtop: 5px;
		xright: 5px;
		color: var(--lt-white-color);
	}

	.sitenav_item#mobile_topmenu {
		display: block !important;
		font-size: 2.5em;
		padding-top: 10px !important;
		position:absolute;
		right:0;
	}

	#masthead #mobile_topmenu_content > a,
	#masthead #mobile_topmenu_content > div {
		xborder-top:1px solid var(--lt-tint-light-07);
		padding: 13px var(--lt-padding);
		cursor:pointer;
		display:block;
		color: var(--lt-menutext-color);
		position: relative;
		border: 1px solid var(--lt-menu-separator);
		border-right:none;
		border-top:none;
		text-align: center;
		font-weight: 600;
		flex: 1 0 50%;
	}
	#masthead #mobile_topmenu_content > *.separator {
		border-top: 2px solid var(--lt-tint-dark-3);
		height: 1px;
		padding: 0;
		grid-column: auto / span 2;
		xdisplay:none;
		flex: 0 0 100%;
	}
	#masthead #mobile_topmenu_content #mastheadSigninLink {
		xborder-top: 2px solid var(--lt-tint-dark-3);
		grid-column: auto / span 2;
		flex: 0 0 100%;
	}
	#masthead #mobile_topmenu_content > *.lt15_menu_span {
		grid-column: auto / span 2;
	}
	#masthead #mobile_topmenu_content > a#ltpad_username {
		grid-row-start: 1;
		border-bottom: 2px solid var(--lt-tint-dark-3);
	}
	#mobile_topmenu_content > ul > li:hover {
		background-color: var(--lt-red-color);
	}
	#masthead #mobile_topmenu_content > ul > li:hover a,
	#masthead #mobile_topmenu_content > ul > li:hover a:visited,
	#masthead #mobile_topmenu_content > ul > li:hover a:hover {
		xcolor: #eee !important;
	}
	#mobile_topmenu_content > ul > li:first-child {
		border-top:none;
	}


	#masthead a, #masthead a:visited, #masthead a:link, #masthead a:active {
		xcolor: var(--lt-text-color) !important;
	}
	/*
	.subnav  {
		transition: height 0.1s linear;
		height: 2px !important;
	}
	*/

	#masthead #mobile_topmenu_content > a#userpad_username {
		flex-basis: 100%;
	}

	#mobile_topmenu_content .badge {
		margin-top:unset;
		vertical-align: unset;
	}

	#sbarform {
		margin:0;
	}

}


#staging_alt_links {
	position:absolute;
	top: 1px;
	left: 1px;
	background: var(--lt-sidebar-background-color);
	padding: 0px 7px;
	border-radius: var(--lt-border-radius);
	color: var(--lt-text-color);
	z-index: 2000;
	border: var(--lt-border);
	color: var(--lt-text-grey-color);
}
#masthead #staging_alt_links a {
	color: var(--lt-link-color);
}
#masthead #staging_alt_links a.selected {
	font-weight: 700;
	color: var(--lt-text-color);
}
#masthead #staging_alt_links a:hover {
	color: var(--lt-link-hover-color) !important;
}
#admin_server_info {
	display:none;
	color: var(--lt-text-color);
}
#staging_alt_links:hover #admin_server_info {
	display:block;
}