/*
 * styles common to the public pages and the Admin interface
 */



/*
 * paragraphs have a small padding at the bottom - to give some room between
 * them; they are default full width and left aligned, but there are classes to
 * get centered and/or narrow text, and variants to avoid padding and to present
 * a "signature"
 */

p {
	padding-bottom: 15px;
}
p.narrow {
	margin: auto;
	width: 70%;
}
p.center {
	text-align: center;
}
p.centernarrow {
	text-align: center;
	margin: auto;
	width: 70%;
}
p.lastParagraph {
	padding-bottom: 0px;
}
p.signature {
	text-align: right;
	font-style: italic;
	font-size: 0.9em;
	margin-bottom: 20px;
}
p b {
	font-weight: bold;
	color: #004000;
}



/*
 * headlines on different levels
*/

h1 {
	font-size: 2.3em;
	color: #701000;
	margin-top: 0px;
	margin-bottom: 20px;
}
h1 img {
	border: 3px solid silver;
	margin-right: 20px;
	vertical-align: middle;
}

h2 {
	font-size: 1.3em;
	font-weight: bold;
	color: #701000;
	margin-top: 10px;
	margin-bottom: 5px;
}

h3 {
	display: block;
	border-bottom: 1px solid black;
	font-size: 1.1em;
	font-weight: bold;
	color: #701000;
	margin-top: 20px;
	margin-bottom: 5px;
}



/*
 * the form to enter/edit customer data
 */

#formCustomer {
	margin-top: 20px;
	border: 2px solid black;
	padding: 10px 30px 10px 30px;
}
#formCustomer h2 {
	padding-top: 15px;
}
#formCustomer table {
	margin: auto;
	border: none;
}
#formCustomer th {
	vertical-align: top;
	padding-top: 1px;
	padding-bottom: 3px;
	font-weight: bold;
	font-size: 1.0em;
	padding-right: 10px;
	text-align: right;
}
#formCustomer td {
	vertical-align: top;
	padding-top: 2px;
	padding-bottom: 2px;
	font-size: 1.0em;
}



/*
 * the forms to ender/edit an order
*/

/* form to enter number of games / choose shipping */

#orderForm table {
	border-collapse: collapse;
}
#orderForm th {
	vertical-align: bottom;
	text-decoration: underline;
	padding-bottom: 15px;
	border-bottom: 1px solid #c0c0c0;
}
#orderForm td {
	border-bottom: 1px solid #c0c0c0;
	padding: 7px 2px 7px 2px;
	vertical-align: middle;
}
#orderForm td.shipping {
	padding: 15px 2px 15px 2px;
}

#orderForm .orderFormPrice {
	font-size: 0.7em;
	font-weight: bold;
}

#orderForm .orderFormOutOfStock {
	font-size: 0.7em;
}

#orderForm .orderError td {
	color: red;
	font-weight: bold;
	border-bottom: 0px;
	padding-bottom: 0px;
}

/* totals at the bottom (and submit buttons) */

#orderTotals table {
	border-collapse: collapse;
}
#orderTotals td {
	padding: 0px 2px 0px 2px;
	vertical-align: middle;
}

#orderTotals strong {
	font-size: 1.2em;
	font-weight: bold;
}

#orderTotals .orderError td {
	color: red;
	font-weight: bold;
}

#orderTotals .orderSubmit {
	padding-top: 30px;
	vertical-align: top;
}

#orderTotals .orderInfoText {
	display: block;
	font-size: 0.7em;
}

#orderTotals .orderInfoText strong {
	font-size: 1.0em;
	color: #208020;
	font-weight: bold;
}

/* fields with total amounts - for both products/shipping and totals */

.orderFormTotal {
	font-size: 1.1em;
	font-weight: bold;
	color: #208020;
	text-align: center;
}

/* header for a choice of shipping method / invoice */

.orderSubHeader {
	display: block;
	padding-bottom: 5px;
}
.orderSubHeader span {
	text-decoration: underline;
}



/*
 * list a customer's orders
 */

.listOrder {
	padding-top: 15px;
	padding-bottom: 15px;
	border-bottom: 2px solid black;
	font-size: 0.9em;
}
.listOrder td {
	vertical-align: top;
	padding-right: 2px;
	padding-left: 2px;
}

.listOrderTable th {
	vertical-align: bottom;
	text-align: right;
	padding: 0px 3px 0px 0px;
	font-weight: normal;
}
.listOrderTable td {
	vertical-align: bottom;
	padding: 0px 0px 0px 0px;
	font-weight: bold;
}

.listOrderProducts {
	display: block;
	width: 70%;
	margin: auto;
	margin-top: 10px;
	border: 1px solid #c0c0c0;
	padding: 5px;
	text-align: center;
}
.listOrderProducts td {
	text-align: left;
	padding-right: 2px;
	font-weight: normal;
}



/*
 * button to save a form
 */

.formSave {
	padding: 5px 15px;
	font-size: 1.2em;
	font-weight: bold;
}












/*
 * the form to enter a new player
 */

#formPlayer {
	margin-top: 20px;
	border: 2px solid black;
	padding: 10px 30px 10px 30px;
}
#formPlayer h2 {
	text-align: center;
	padding-top: 3px;
	padding-bottom: 18px;
	color: #004000;
	text-decoration: underline;
}
#formPlayer table {
	margin: auto;
	border: none;
}
#formPlayer th {
	vertical-align: top;
	padding-top: 1px;
	padding-bottom: 3px;
	font-weight: bold;
	font-size: 1.0em;
	padding-right: 10px;
	text-align: right;
}
#formPlayer td {
	vertical-align: top;
	padding-top: 2px;
	padding-bottom: 2px;
	font-size: 1.0em;
}
