/*
Theme Name: Adventure Child
Description: Child theme of Adventure carrying the House-Elf Doings customisations (red/cream colour scheme, store styles) that used to live as in-place edits to Adventure 3.4, plus a fix for the 4.1 left-sidebar layout regression.
Template: adventure
Version: 1.0
*/

/* ---- Layout fix: Adventure 4.1 added clear:right to aside, which pushes a
   left sidebar below the right-floated content. Restore side-by-side. ---- */
.left_sidebar aside {
	clear: left;
}

/* ---- Colour scheme: dark red (#8D0E15) on cream (#FFF7C6) ---- */
a { color: #8D0E15; }
a:hover { color: #8D0E15; text-decoration: underline; }

body {
	background-image: none;
	background-color: #FFF7C6;
}

p { font-size: 0.9em; }

/* !important needed: the parent prints theme-mod inline styles after this
   sheet; the old in-place customisation hard-disabled those two mods. */
.header {
	background: #8D0E15 !important;
	color: #8D0E15;
}

.header h1 { color: white; }
.header h1 a { color: #FFF7C6 !important; }

.header li a:hover { color: #8D0E15; }
.header li ul li a:hover { color: #8D0E15; }

.spacing { height: 10em; }

.contents, #disqus_thread {
	background: #FFF7C6;
	border: 3px solid #8D0E15;
}

.contents time { color: #8D0E15; }

.contents time:first-of-type {
	min-width: 5em;
	white-space: nowrap;
	word-wrap: normal;
}

aside {
	background: #8D0E15;
	text-shadow: none;
}

h1, h2, h3, h4, p em { color: #8D0E15; }

/* ---- House Elf Store / for-sale sections ---- */
tr.row1 td, tr.row2 td, tr.row3 td { vertical-align: top; }
.row1 .item-photo { min-height: 300px; }
.row2 .item-photo { min-height: 380px; }
.row3 .item-photo { min-height: 320px; }

.section-for-sale {
	font-family: sans-serif;
	border-radius: 10px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border: 2px solid #8D0E15;
	margin: 10px 0;
	padding: 10px;
}
.section-for-sale h2 { text-align: center; }

.single-sale-item img {
	width: 95%;
	height: auto;
}
.buy-button {
	float: right;
	padding-right: .5em;
}
.item-price {
	font-weight: bold;
	color: red;
	font-size: 1.8em;
}
.item-details {
	font-size: .8em;
	padding-right: 1em;
}
.item-details h2 {
	text-align: center;
	height: 2em;
}

.cream { background-color: #FFF7C6; }
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.topgap { margin-top: 1em; }

.convtable {
	display: block;
	border: 3px solid #8D0E15;
	border-radius: 6px;
	background-color: white;
	padding: 1em;
}
.convtable table tr td, .convtable table tr th {
	font-family: 'Comic Sans MS';
	text-align: center;
}
.convtable h2 {
	font-family: 'Comic Sans MS';
	text-align: center;
	font-size: 16px;
}
