/* 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;	
}


/* Tabs inside header displayed as divs */

#tabmenu {
	display: table-cell;
	vertical-align: bottom;
	/*padding-left: 20px;*/
	height: 62px;
}


#tabmenu div, 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 {
	border: 2px solid #424A55;
	width: 300px; 
	text-align: center;
	float: left;
	margin-right: 1em;
	margin-bottom: 1em;
}


/* 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 {
	font-size: 10pt;
}

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: 5px;
	color: #EDEFEF;
}

/* Search box */
form.search input.search {
    vertical-align: middle;
    border: 0px; 
    padding: 0px 4px 0px 3px; 
    height: 20px; 
    outline: none;
}

form.search input.searchbutton {
    background: url('/images/glass.png') white center no-repeat;
    height: 20px;
    width: 22px;
    border: 0px; 
    padding: 0px; 
    margin: 0px; 
    /* margin-left: -2px; */ 
    vertical-align: middle; 
    cursor: pointer;
}

/* 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;
}

/* 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%;
	
}

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;
}


/* 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;
}

/* 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;
}

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: 0px;
	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;
}


/* 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: 95% !important;
	}
	
	/* Change table so that columns will stack. */
	tr.indexpage {
		display: table-cell;
	}
	
	/* Set left column to fill page width. */
	td.left {
		width: 100%;
	}
	
	/* Give right column block display */
	td.right {
		display: block;
	}
	
	/* Hide NumisBids upcoming auction calendar */
	div.numisbids {
		display: none;
	}
	
	input.search {
		width: 80% !important;
	}
	
	select[name="firmid"] {
		width: 80% !important;
	}
	
	
	/* Results page changes */
	
	div.searchframe {
		float: none !important;
		width: 95%;
	}
	
	div.searchbox > table {
		width: 100%
	}
	/* 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%;
	}
	
	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: 2.2em;
		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: left;
		margin-left: 0;
		margin-top: 10px;
	}
	
	/* 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;
	}
	
	
	/* Terms and conditions page changes */
	div.indent[style*="width: 900px"] {
		width: 95% !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;
	}

}