/* Body and background style  */
body {
	margin: 0;
	padding-left: 0;
	padding-right: 0;
	font-family: Arial;
	font-size: 10pt;
	height: 100%;
	background-color: #EDEFEF;
}

html {
	height: 100%;
}

/* Header */

.header95 {
	width: 95%;
	margin-left: 2.5%;
	margin-right: 2.5%;
	margin-bottom: 1em;
	border-bottom: 3px solid #424A55;
	display: block;
	text-align: left;
}

div.header95 img {
	vertical-align: bottom;
}

/* Align left */
div.header95 .left {
	float: left;
	font-size: 9pt;
	margin: 0;
	padding: 0;
}

/* Align right */
div.header95 .right {
	float: right;
	font-size: 9pt;
	margin: 0;
	padding: 0;
	width: 313px;
}

/* Align middle */
div.header95 .middle {
	text-align: center;
}

/* Used to hold the tab div for centering. */
div.header95 .tabholder {
	display: inline-block;	
	vertical-align: bottom;
}


/* Tabs inside header displayed as divs */

#tabmenu {
	display: table-cell;
	vertical-align: bottom;
	/*padding-left: 20px;*/
	height: 67px;
}


#tabmenu div, #tabmenu div.active {
	background: #a09b98;	
	padding: 2px 10px 2px 10px; 
	display: inline-block;
	font-size: 12pt;
}

	
#tabmenu div a {
	color: #d4d3d1;
	font-weight: bold;
	text-decoration: none;
	padding: 0px; }

#tabmenu div.active {
	background: #424A55;
}

#tabmenu div:hover {
	background: #56A5B3; 
}

#tabmenu div.active:hover {
	background: #56A5B3;
}

/* Container div for header and body (helps keep footer on bottom of page */
.container {
	min-height: 100%;
}

/* Content div with white background. */
div.content-white {
	background: white;
	width: 95%;
	margin-left: 2.5%;
	margin-right: 2.5%;
}

/* Content div with page background color. */
div.content-background {
	background-color: #EDEFEF;
}

/* Div for padding internal content. */
div.innerframe {
	padding: 1em;
}

/* Home page info boxes. */
div.homebanner50 {
	width: 50%;
	float: left;
	margin-top: 1em;
	margin-bottom: 1em;
	line-height: 1.5;
}

div.homebanner100 {
	width: 100%;
	float: left;
	text-align: center;
	margin-top: 1em;
	margin-bottom: 1em;
	line-height: 1.5;
}


/* Frame for buttons. */
div.buttonframe {
	margin-left: auto;
	margin-right: auto;
	width: 320px;
}


/* Style for ad banners on home page. */
div.adbanner {
	width: 300px; 
	text-align: center;
	float: left;
	margin-right: 1em;
	margin-bottom: 1em;
}

div.adbanner img {
	border: 2px solid #424A55;
}


/* Footer */
.footer {
	width: 95%;
	margin-left: 2.5%;
	margin-right: 2.5%;
	display: table;
	table-layout: fixed;
	position: relative;
	height: 60px;
	clear: both;
	border-top: 3px solid #424A55;
	padding-top: 10px;
	margin-top: -75px; /* Footer height + padding + border width */
}


/* General link styling. */

a:link {
	color: #56A5B3;
	font-weight: bold;
	text-decoration: none;
}

a:visited {
	color: #56A5B3;
}

a:hover {
	color: #424A55;
	text-decoration: none;
}

/* Results page link text styles */
a:link.R {
	color: black;
	font-weight: normal;
	text-decoration: none;
}

a:visited.R {
	color: purple;
	text-decoration: none;
}

a:hover.R {
	color: black;
}


/* Buttons. */
.button {
	color: #EDEFEF;
	font-size: 16px;
	padding: 5px;
	border: none;
	background: rgb(86, 165, 179);
	background: -moz-linear-gradient(0deg, rgb(86, 165, 179) 100%, rgb(86, 165, 179) 100%);
	background: -webkit-linear-gradient(0deg, rgb(86, 165, 179) 100%, rgb(86, 165, 179) 100%);
	background: -o-linear-gradient(0deg, rgb(86, 165, 179) 100%, rgb(86, 165, 179) 100%);
	background: -ms-linear-gradient(0deg, rgb(86, 165, 179) 100%, rgb(86, 165, 179) 100%);
	background: linear-gradient(270deg, rgb(86, 165, 179) 100%, rgb(86, 165, 179) 100%);
	-webkit-box-shadow: 3px 3px 2px rgba(66, 74, 85, 0.75);
	-moz-box-shadow:    3px 3px 2px rgba(66, 74, 85, 0.75);
	box-shadow:         3px 3px 2px rgba(66, 74, 85, 0.75);
}

.button a:link {
	color: #EDEFEF;
	text-decoration: none;
}

.button a:visited {
	color: #EDEFEF;
}

.button a:hover {
	color: #EDEFEF;
}


/* Text styles for promotional items. */
.Q {
	padding-left: 1em;
	font-family: arial;
	font-size: 10pt;
	color: black;
	font-weight: bold;
}

.A {
	font-family: arial;
	text-decoration: none;
	font-size: 10pt;
	display: block;
	margin: 1em 0px;
	padding-left: 4em;
	padding-right: 4em;
}

/* Generic div with left-aligned text */
div {
	text-align: left;
	font-family: Arial;
	font-size: 10pt;
}


/* Subtitle formatting for index page */
.subtitle2 {
	font-size: 10pt;
}

/* Lot result text formatting */
.auctiontitle {
	font-size: 10pt;
	font-weight: bold;
	margin-bottom: 10px;
}
.lottext {
	/* Allow space between lines to be treated as part of the anchor and therefore clickable. */
	display: inline-block; 
	font-size: 10pt;
	line-height: 1.5;
}

div.savethislot {
	display: block;
	text-align: right;
	float: right;
	margin-top: 10px;
	line-height: 1;
}

/* Text format for main index page */
.indent {
	display: block;
	padding-left: 1em;
}

/* Text format for copyright and contact info in footer */
.footertext {
	font-size: 9pt;
	display: table-cell;
	vertical-align: top;
}

/* Text format for small text in page header */
.small {
	font-size: 8pt;
	margin-right: 15px;
}

/* Text format for log info in footer */
.footertext-small {
	font-size: 7pt;
	margin-top: 5px;
	text-align: right;
}

/* Query results summary formatting for results page */
.resulttext {
	font-size: 10pt;
	line-height: 1.4; 
}

/* Inner body style */
div.body {
	display: block;
	padding: 4px;
}


/* Generic image style */
img {
	border: 0;
	margin: 0;
}

/* Bordered image style */
img.imgborder {
	border: 2px solid #424A55;
	margin: 0;
}

/* Generic black horizontal line */
hr {
	height: 1px;
	border-style: none;
	margin: 0;
	border: 0;
	color: #000000;
	background-color: #000000;
}

/* Outer borders for page divs */


.outerbox95 {
	width: 95%;
	margin-left: 2.5%;
	margin-right: 2.5%;
	display: block;
	padding-bottom: 80px;  /* Space for footer */
}

.outerbox95-submatches {
	width: 95%;
	margin-left: 2.5%;
	display: block;
}



/* Spacer at beginning and end of floated divs */
div.spacer {
	clear: both;
}

/* Search box on index page */
.searchbox {
	background: #54a4b3;
	padding: 14px 6px 14px 6px;
	color: #EDEFEF;
}

/* Search box and go to lot box */
form.search input.search, form.searchbox input.Lot {
    vertical-align: middle;
    border: 0px; 
    padding: 0px 10px 0px 14px; 
    height: 48px; 
    outline: none;
    font-size: 1.3em;
}

form.search input.searchbutton {
    background: white url('/images/glass.png') no-repeat 10px/26px 26px;
    height: 48px;
    width: 48px;
    border: 0px; 
    padding: 0px; 
    margin: 0px; 
    /* margin-left: -2px; */ 
    vertical-align: bottom; 
    cursor: pointer;
}

/* Button on go to lot box */
form.searchbox input[type=submit] {
	height: 30px;
}

/* Badge with image count for multiple images */

.imgthumb-container {
    position: relative;
    display: inline-block;
}

.imgthumb-container img {
    display: block;
    max-width: 100%;
    height: auto;
}

.imgbadge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 6px;
    pointer-events: none;
}


/* Begin fslightbox styling */
/* Hide certain buttons in the toolbar. */

.fslightbox-toolbar-button:nth-child(1) {
	display: none;
}

.fslightbox-toolbar-button:nth-child(4) {
	display: none;
}

/* End fslightbox styling */


/* Fix for iOS, which doesn't display the clear icon. */
input[type="search"]::-webkit-search-cancel-button {

  /* Remove default */
  -webkit-appearance: none;

  /* Now your own custom styles */
   height: 14px;
   width: 14px;
   display: block;
   background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAn0lEQVR42u3UMQrDMBBEUZ9WfQqDmm22EaTyjRMHAlM5K+Y7lb0wnUZPIKHlnutOa+25Z4D++MRBX98MD1V/trSppLKHqj9TTBWKcoUqffbUcbBBEhTjBOV4ja4l4OIAZThEOV6jHO8ARXD+gPPvKMABinGOrnu6gTNUawrcQKNCAQ7QeTxORzle3+sDfjJpPCqhJh7GixZq4rHcc9l5A9qZ+WeBhgEuAAAAAElFTkSuQmCC);
  /* setup all the background tweaks for our custom icon */
  background-repeat: no-repeat;
  position: relative;
  right: 0px;

  /* icon size */
  background-size: 14px;

}


/* Search box - search options link */
.togglelink {
	font-weight: bold;
	color: white;
	font-size: 8pt;
	cursor: pointer;
}

/* Search box - search options box */
.toggle {
	font-size: 10pt;
	background: #a09b98;
	margin: 0.5em;
	padding: 0.5em;
	line-height: 2.5;
}

/* Section box and title formatting for features page */
div.section {
	display: block;
	margin-bottom: 1em;
	margin-top: 1em;
	font-size: 12pt;
	font-weight: bold;
}

/* Sale navigation */
div.salenav {
	display: block;
	text-align: right;
	font-size: 10pt;
	float: right;
	margin-left: 1em;
	margin-right: 1em;
	border: 0;
	line-height: 1.4;
}

div.salenav-left {
	display: block;
	font-size: 10pt;
	float: left;
	line-height: 1.4;
}



/* Generic form formatting */
form {
	margin: 0;
}

/* Formatting for registration/renewal/login forms */
form.register input[type="text"], form.register input[type="password"], form.register textarea, form.register select {
	background-color: #EDEFEF;
    outline: 1px solid black;
    border: 0;
    padding: 8px;
    font-family: inherit;
    font-size: inherit;
}

form.register td {
	padding-bottom: 10px;
}

form.register ul, form.register li {
	list-style-type: none;
	margin: 0;
	padding: 5px;
}

form.register li:hover {
	background-color: #EDEFEF;
}

form.register input[type="submit"] {
	font-weight: bold;
    padding: 10px;
}

form.register input[type="radio"] {
	width: 1.2em;
    height: 1.2em;
    border: 0;
    vertical-align: text-bottom;
}


/* End formatting for registration/renewal/login forms */

/* Generic table formatting */
table {
	font-family: Arial;
	font-size: 10pt;
	border-collapse: collapse;
	border-spacing: 0;
}

/* Results table. */
table.results {
	border-collapse: separate;
	border-spacing: 0 10px;
	width: 100%;
	overflow-wrap: break-word;
	word-break: break-word;
	
}

table.results tr {
	background-color: white;
}

table.results td {
	border-top: 1px solid #e3e3e3; 
	border-bottom: 1px solid #e3e3e3;
	padding: 7px;
}

table.results td.leftborder {
	border-left: 1px solid #e3e3e3;
}

table.results td.rightborder {
	border-right: 1px solid #e3e3e3;
}

/* Results info box. */
div.resultsinfo {
	padding: 5px;
	background: white;
	margin-top: 1em;
}

/* Prices realized cell */
/* Word wrapping should be disabled */
table.results td.price {
	overflow-wrap: normal;
	word-break: normal;
}

/* Price realized formatting in results table (currency conversion) */
span.conversion {
	font-size: 9pt;
	line-height: 1.5;
}




/* Styling for saved/bookmared lots page */
select#folderselect {
		margin-right: 2em;
}



/* Styling for notes fields on bookmarked coins */

/* Appended area for watch listed browse div - for holding user-submitted notes */
div.browsenote {
	overflow: hidden;
	position: relative;
	padding-right: 5px;
	margin-top: 10px;
}

/* Inner div for browsenote div - for holding user-submitted notes */
div.browsenote-inner {
	height: 50px;
	background-color: #e0e4e5;
	overflow: hidden;
	position: relative;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 5px;
	padding-right: 5px;
	font-weight: bold;
	/* Fix for iOS devices, which require this pointer to activate click event. */
	cursor: pointer;
}

/* Input field styling for notes. */
textarea.noteinput {
	height: 100%;
	width: 100%;
	padding: 0;
	font-size: inherit;
	font-family: inherit;
	font-weight: bold;
	background-color: lightblue;
	maxlength: 255;
}

/* Default div layer for note field. */
div.notedefault {
	line-height: 45px;
	width: 100%;
	text-align: center;
	color: gray;
	position: absolute;
	top: 5px;
	left: 0;
	z-index: 2;
	/* Allow click to "pass through" this layered div to the one below it */
	pointer-events:none;
}

/* Helper field displayed while user is editing field. */
div.browsenote-helper {
	
	text-align: center;
	color: gray;
	padding-top: 2px;
}


/* Lotviewer table. */
table.lotviewer {
	border-collapse: collapse;
	border-spacing: 0;
	background-color: white;
	margin-top: 1em;
	overflow-wrap: break-word;
	word-break: break-word;
}

table.lotviewer td {
	padding: 7px;
}


/* Align td cells in index to left or right */
td.left {
	padding-left: 0;
	padding-right: 1em;
	padding-top: 20px;
	padding-bottom: 1em;
	/* border-right: 1px solid #000000; */
}

td.right {
	padding-left: 1em;
	padding-top: 20px;
	padding-bottom: 1em;
}

/* Auction list table on browse page (list of auctions from a certain firm). */
table.firmlist {
	background-color: white;
	margin-bottom: 1em;
}

table.firmlist tr:nth-child(even) {
    background-color: #C5C0BD;
}

table.firmlist td {
	padding: 5px;
	white-space:nowrap;
}

table.firmlist td.date {
	text-align: right;
	padding-right: 15px;
}


/* Title text formatting for results, auction list, FAQ, and contact pages */
.title {
	font-weight: bold;
	font-size: 16pt;
}

/* Green text format for headers - deprecated and to be removed */
.green {
	font-weight: bold;
	color: #008000;
}

/* General text headers. */
.headertext {
	font-weight: bold;
	color: #A09B98;
	font-size: 11pt;
	line-height: 2;
}

/* Highlight text format for search tips page */
.highlight {
	color: #A09B98;
	font-weight: bold;
	 
}

.gray {
	color: #424A55;
	font-weight: bold;
}

/* Text style for error messages. */
.error {
	color: #0000FF;
	font-weight: bold;
}

/* Hidden iframe properties. */
iframe.hidden {
	display: none;
}


/* Styling for tooltips */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    /*width: 120px;*/
    background-color: red;
    color: white;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 0;
    margin-left: 0px;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    margin-left: 5px;
    border-width: 5px;
    border-style: solid;
    border-color: red transparent transparent transparent;
}


/* Button for image search */
a.imagesearch {
	display: inline-block;
    padding: 10px 12px 10px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    color: #d9534f;
    margin-top: 5px;
    background: #cfe0e3 url('/images/glass.png') no-repeat 5px / 20px 20px;
    text-shadow: #FC0 2px 0 5px;
}

a.imagesearch span.beta {
	font-size: 10px;
    color: gray;
}


/* Hide any breaks that  should display on mobile only. */
br.mobile-break {
	display: none;
}

/* Jquery-modal (popup) styling. */
.modal {
	width: 500px;
	height: 500px;
	padding: 5px !important;
}




/* Set properties for mobile version of site. */
@media screen and (max-width: 800px) {
	
	/* Header changes */
		
	div.header95 {
		max-width: 800px;
		margin: auto;
		margin-bottom: 3px;
	}
	
	div.header95 img {
		width: 50%;
		height: auto;
		max-width: 300px;
	}
	
	div.header95 .left {
		float: none;
	}
	
	div.header95 .right {
		float: none;
		width: 100%;
	}
	
	div.header95 .right img {
		display: none;
	}
	
	#tabmenu {
		padding-left: 3px;
		padding-top: 1em;
		height: auto;
	}
	
	/* Hide images in footer */
	div.footertext img {
		display: none;
	}
	
	
	
	/* Landing page changes */
	
	
	img.homebutton {
		float: initial;
		margin-right: 0em;
		max-width: 100% !important;
		height: auto;
	}
	
	/* Frame for buttons. */
	div.buttonframe {
		max-width: 100% !important;
	}
	
	/* Home page changes */
	
	div.homebanner50 {
		width: 100% !important; 
		float: none;
	}
	
	div.innerframe {
		float: none !important;
	}	
	
	/* Searchbox width */
	div.searchbox {
		width: 100% !important;
		box-sizing: border-box;
	}
	
	/* Change table so that columns will stack. */
	tr.indexpage {
		display: table-cell;
	}
	
	/* Set left column to fill page width. */
	td.left {
		display: block;
		width: 100%;
	}
	
	/* Give right column block display */
	td.right {
		display: block;
		padding-left: 0;
	}
	
	/* Center ad banners. */
	div.adbanner {
		margin-left: auto;
		margin-right: auto;
		float: none;
	}
	
	/* Hide NumisBids upcoming auction calendar */
	div.numisbids {
		display: none;
	}
	
	input.search {
		width: 90% !important;
	}
	
	select[name="firmid"] {
		width: 80% !important;
	}
	
	
	/* Results page changes */
	
	div.searchframe {
		float: none !important;
		width: 100%;
		box-sizing: border-box;
		overflow: hidden;
	}
	
	div.searchbox > table {
		width: 100%
	}
	
	/* Increase size of search options link. */
	div.togglelink {
		font-size: 10pt;
		padding-top: 5px;
	}
	
	/* Don't display table elements in tabular form */
	table.results thead, table.results tbody, table.results th, table.results tr, table.results td {
		display: block;
	}
	
	table.results {
		border-collapse: collapse;
		table-layout: fixed;
	}
	
	table.results tr {
		border: 0;
		margin-top: 10px;
	}
	
	table.results td {
		border: 0;
	}
	
	/* The two small results columns can be presented in their original tabular form. */
	table.results td[width="5%"] {
		font-weight: bold;
		display: table-cell;
		text-align: left;
		width: 30%;
	}
	
	/* Replace breaks between currency conversion lines with spaces to save vertical space. */
	table.results td.price br {
		content: ' '
	}
	table.results td.price br:after {
		content: ' '
	}
	
	/* Put parentheses around currency conversions and pipe between them. */
	table.results td.price span.conversion:before {
		content: '('
	}
	table.results td.price span.conversion:after {
		content: ')'
	}
	
	
	table.results td.leftborder {
		width: 95%;
		border: 0;
	}
	
	table.results td.rightborder {
		border: 0;
	}
	
	div.addtobookmarks {
		float: none;
		text-align: left;
	}
	
	div.removefrombookmarks {
		float: none;
		text-align: left;
	}
	
	div.browsenote {
		padding-right: 0px;
	}
	
	/* Truncate description text after two lines. */
	table.results span.lottext {
		display: inline-block;
		max-height: 3.3em;
		overflow: hidden;
	}
	
	/* Set maximum width for images */
	table.results td.rightborder div {
		width: 100% !important;
	}
	
	table.results td.rightborder div img {
		width: 100%;
	}
	
	
	/* Re-format ad banners to display on separate lines */
	tr.resultad div {
		display: block !important;
		width: 100% !important;
		margin: 3px;
	}
	
	
	
	/* Lotviewer page changes */
	
	div.salenav-left {
		float: none;
	}
	
	div.salenav {
		float: none;
		margin-left: 0;
		margin-right: 0;
		margin-top: 10px;
	}
	
	/* Page navigation links. */
	div.pagenav {
		float: right;
	}
	
	/* Style Go to Lot box. */
	div.salenav form.searchbox {
		width: fit-content;
	}
	
	div.gotolot {
		float: left;
	}
	
	/* Reduce width of ad banner image */
	div.border, div.border img {
		max-width: 100% !important;
		height: auto !important;
	}
	
	/* Don't display table elements in tabular form */
	table.lotviewer thead, table.lotviewer tbody, table.lotviewer th, table.lotviewer tr, table.lotviewer td {
		display: block;
	}
	
	table.lotviewer td[width="30%"] {
		width: 70%;
	}
	
	table.lotviewer td[width="70%"] {
		width: 90%;
	}
	
	/* Resize image to maximum width */
	table.lotviewer a img {
		width: 100%;
	}
	
	/* Keep NumisBids image link same size */
	span.numisbidslink a img {
		width: initial;
	}
	
	
	
	/* Saved Lots page changes */
	select#folderselect {
		margin-top: 10px;
		margin-bottom: 10px;
	}
	
	
	
	
	/* Terms and conditions page changes */
	div.indent[style*="width: 900px"] {
		width: 95% !important;
	}
	
	
	/* Registration and reneval page changes. */
	/* Formatting for registration/renewal/login forms */
	form.register input[type="text"], form.register input[type="password"], form.register textarea, form.register select {
		width: 100% !important;
		box-sizing: border-box;
	}
	
	
	/* Bookmarks page changes */
	
	/* Hide this class in the mobile version of the site */
	.mobile-hide {
		display: none !important;
	}
	
	/* Display any breaks that should display on mobile only. */
	br.mobile-break {
		display: initial;
	}
	
	
	/* Table for managing folder names. */
	/* Stacks the table cells into rows with borders between. */
	table.mobiletable, table.mobiletable tbody, table.mobiletable tr, table.mobiletable td {
		display: block;
	}
	
	table.mobiletable {
		width: 100%;
		border-collapse: collapse;
		border: none;
	}
	
	/* Put a line between each row */
	table.mobiletable tr {
		border-bottom: 1px solid #ccc; 
	}
	
	/* Make td behave like a "row". */
	table.mobiletable td { 	
		border: none; 
		position: relative;
		width: 100%; 
		white-space: normal;
		text-align: left !important;
		background-color: white;
		/* Reset minimum width if set */
		min-width: initial !important;
		box-sizing: border-box;
		padding: 5px;
	}
	
	/* Ensure inputs take up 100% width (except radio buttons). */
	table.mobiletable td input:not(input[type="radio"]) { 
		width: 100% !important;
		box-sizing: border-box;
	}
	
	/* Label the data (if data-title is present) */
	table.mobiletable td:before {
		content: attr(data-title);
	}
	
	/* Don't alternate background colors on table.table-listing (doesn't work well with mobile and the table transformation). */
	table.table-listing tr:nth-child(even) {
	background-color: white;
	}
	
	/* Jquery-modal (popup) styling. */
	.modal {
		width: 90%;
		height: 90%;
	}
	
	/* SumoSelect for excluding auction firms. */
	.SumoSelect {
		width: 100% !important;
	}
	
	
}


/* Set properties for printing -- keep at bottom of file */
@media print {
	td.border-plain-top-bot img {
		max-width: 220px;
		height: auto;
	}
	body, table {
		font-size: 8pt;
	}
	div.outerbox95, div.header95 {
		width: 98%;
	}
	div.resulttext {
		display: none;
	}
	div.footertext {
		font-size: 7pt;
	}
	div.footertext img {
		display: none;
	}
	tr.lotad, tr.resultad {
		display: none;
	}

}