* {
	padding: 0;
	margin: 0;
}

body {
	background-color: black;
	color: white;
}

body, ol, ul, td {
  font-family: verdana, arial, helvetica, sans-serif;
  font-size:   13px;
  line-height: 18px;
}

h1 {
	font-size: 1.7em;
	text-align: center;
	line-height: 1.8em;
}

input[type="submit"] {
	background-color: gray;
	border: thin solid white;
	color: black;
}

th, td {
	padding: 0.3em 1em;
}

a {
	color: white;
}

a:visited {
	color: gray;
}

p {
	text-align: center;
	margin: 0.5em 0;
}

#header {
	background-color: black;
	color: white;
	width: 100%;
	overflow: hidden;
}

#header_search {
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	background-color: grey;
	right: 50px;
	margin: 0;
	padding: 0.3em 1em;
	position: fixed;
	font-size: 1.2em;
	border: thin solid white;
	border-top: 0;
}

#header_search label, #header_search div {
	float: left;
}

#tag_search {
	font-size: 1em;
	line-height: 1.3em;
	text-align: center;
	margin-top: 1em;
}

div.autocomplete {
	position: absolute !important;
	bottom: 0px !important;
	left: 0px !important;
	/* position: absolute; */
	width: 250px;
	background-color: white;
	color: black;
	margin: 0;
	padding: 0;
}

#ie_autocomplete_hack {
	position: relative;
}

#ie_autocomplete_hack ul {
	background-color: white;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#ie_autocomplete_hack ul li.selected { background-color: gray;}

#ie_autocomplete_hack ul li {
	list-style-type: none;
	display: block;
	margin: 0;
	padding: 2px;
	height: 1.5em;
	cursor: pointer;
}

#title {
	font-size: 2.5em;
	float: left;
}

#title img {
	border: none;
}

#menu {
	margin-top: 2.5em;
	text-align: center;
}

#photo {
	width: 40%;
	float: left;
	margin-left: 10%;
	text-align: center;
}

#photo > img {
	margin: 1em auto;
	max-width: 80%;
	display: block;
}

#notification_form {
	text-align: center;
}

#tags {
	font-size: 1.1em;
}

#images {
	overflow: hidden;
}

.wraptocenter {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    width: 100px;
    height: 102px;
	border: thin solid white;
	border-collapse: collapse;
}
.wraptocenter * {
    vertical-align: middle;
}

#images img {
	border: none;
}

.thumbnail {
	float: left;
	overflow: hidden;
}

.edit.wraptocenter {
	height: 150px;
}

#image_pages {
	clear: both;
	width: 90%;
	margin: 1em auto;
}

.pagination {
	text-align: center;
}

#price_list {
	width: 40%;
	float: left;
	padding-left: 1.5em;
}

/* #price_list .edit_order input[type="submit"] {
	float: right;
} */

#orders, #order {
	width: 90%;
	margin: 2em auto;
	overflow: hidden;
}

#orders h1 {
	margin-bottom: 1.2 em;
	text-decoration: underline;
}

#prices_form {
	clear: both;
}

#prices_form label {
	float: left;
	width: 10em;
}

li {
	font-size: 1em;
	border-bottom: thin solid;
	padding: 0.5em;
}

#copyright_notice, #index_instructions {
	font-size: 1.1em;
	clear: both;
	text-align: center;
	padding-top: 1em;
}

#log_in_form, #user_form {
	text-align: center;
	font-size: 1.1em;
	line-height: 2em;
}

#log_in_form p, #user_form p {
	margin: 0.5em 0;
}

#log_in_form *, #user_form * {
	margin-left: auto;
	margin-right: auto;
}

#edit_multiple_form {
	font-size: 1.1em;
	margin: 1em 10%;
}

#edit_multiple_form p {
	margin-top: 1em;
	text-align: left;
}

#search_histories ol {
	padding-left: 3em;
	border-bottom: none;
}

#search_histories li {
	border-bottom: none;
}

#footer {
	text-align: center;
	font-size: 1.2em;
	margin-top: 2em;
}

pre {
  background-color: #eee;
  padding: 10px;
  font-size: 11px;
}

.fieldWithErrors {
  padding: 2px;
  background-color: red;
  display: table;
}

#errorExplanation {
  width: 400px;
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul li {
  font-size: 12px;
  list-style: square;
}

/*\*//*/
.wraptocenter {
    display: block;
}
.wraptocenter span {
    display: inline-block;
    height: 100%;
    width: 1px;
}
/**/
</style>
<!--[if lt IE 8]><style>
.wraptocenter span {
    display: inline-block;
    height: 100%;
}
</style><![endif]-->