/* -------------------------------------------------------------------- --
-- minimalist-pastel -- bright, colorful theme with great readability   --
-- Copyright (C) 2010  Andrea Bolognani <eof@kiyuko.org>                --
--                                                                      --
-- This program is free software; you can redistribute it and/or modify --
-- it under the terms of the GNU General Public License as published by --
-- the Free Software Foundation; either version 2 of the License, or    --
-- (at your option) any later version.                                  --
--                                                                      --
-- This program is distributed in the hope that it will be useful,      --
-- but WITHOUT ANY WARRANTY; without even the implied warranty of       --
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        --
-- GNU General Public License for more details.                         --
--                                                                      --
-- You should have received a copy of the GNU General Public License    --
-- along with this program; if not, write to the Free Software          --
-- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,           --
-- MA 02110-1301 USA.                                                   --
-- -------------------------------------------------------------------- */


/* ----------- --
-- Style reset --
-- ----------- */

body, article, header, section, footer, nav,
figure, figcaption,
h1, h2, p, pre, small, a, abbr, code, kbd,
ul, li, table, tr, th, td,
label, input, textarea, hr, img {
	margin: 0;
	padding: 0;
	border: 0;
	background-color: transparent;
}

body, article, header, section, footer, nav,
figure, figcaption,
h1, h2, p, pre,
ul, li,
hr, img {
	display: block;
	clear: both;
}

small, a, abbr, code, kbd {
	display: inline;
}

header, section, footer,
figure, figcaption,
h1, h2,
table,
hr, img {
	overflow: hidden;
}


/* ---------------------- --
-- Basic fonts and colors --
-- ---------------------- */

body {
	font-size: 1em;
	line-height: 1.5em;
	text-align: left;
	background-color: white;
}

body, article, header, section, footer, nav,
figure, figcaption,
h1, h2, p, small, a, abbr, code, kbd,
ul, li, table, tr, th, td,
label, input, textarea {
	font-family: 'Verdana', 'Geneva', sans-serif;
	color: black;
}

pre, code, kbd {
	font-family: 'Courier New', 'Courier', monospace;
}


/* ------------ --
-- Other colors --
-- ------------ */

h1, h2, th, hr {
	border-bottom: 1px solid #bfbfbf;
}


/* -------- --
-- Headings --
-- -------- */

h1, h2, th {
	font-weight: bold;
}

h1 {
	padding: 0.75em 0 0 0;
	margin: 0 0.75em;
	font-size: 2em;
	line-height: 1.2em;
	text-transform: uppercase;
}

h2 {
	margin: 1em 1em 0 1em;
	font-size: 1.5em;
	line-height: 1.4em;
}

th {
	font-size: 1.5em;
	line-height: 1.4em;
}


/* --------------- --
-- Text containers --
-- --------------- */

p {
	margin: 1.5em 3em;
	text-align: justify;
	clear: none;
}

pre {
	margin: 1.5em 3em;
	overflow: auto;
}


/* ---- --
-- Text --
-- ---- */

a, abbr {
	text-decoration: none;
}

small {
	font-size: 0.6em;
	line-height: 1.5em;
}


/* ----- --
-- Lists --
-- ----- */

ul {
	list-style-type: none;
}

ul li {
	margin: 1.5em 3em;
}


/* ------ --
-- Tables --
-- ------ */

table {
	width: 100%;
	border-spacing: 1.5em;
}

td {
	padding: 0 1.5em;
	vertical-align: top;
}


/* ------- --
-- Figures --
-- ------- */

figure {
	margin: 1.5em 3em 1.5em 2.5em;
	padding: 0.5em;
	width: 13em;
	float: right;
}

figure a {
	margin: 0;
	padding: 0;
	border: 0;
}

figure img {
	width: 100%;
}

figcaption {
	margin: 0.15em 0 0 0;
	text-align: center;
}


/* ---------- --
-- Navigation --
-- ---------- */

nav {
	margin: 0 1.5em;
}

nav ul {
	font-size: 0.8em;
	line-height: 1.5em;
	text-align: right;
}

nav ul li {
	margin: 0;
	display: inline;
}


/* ------------------ --
-- Section navigation --
-- ------------------ */

nav {
	margin: 1.5em 1.5em 0 1.5em;
}

nav ul li:after {
	content: ', ';
}

nav ul li:last-child:after {
	content: '';
}


/* ------------------ --
-- Website navigation --
-- ------------------ */

header nav {
	margin: 0 1.5em 1.5em 1.5em;
}

header nav ul li:before {
	content: '\00203a\0000a0'; /* '&rsaquo;&nbsp;' */
}

header nav ul li:after,
header nav ul li:first-child:before {
	content: '';
}


/* ----------- --
-- Page footer --
-- ----------- */

footer {
	padding: 0 0 0.5em 0;
}

footer p {
	margin: 0 3em;
	line-height: 1em;
	text-align: center;
}


/* ---------- --
-- Blog posts --
-- ---------- */

article.blog-post header p {
	margin: 0 1.875em;
	font-size: 0.8em;
	line-height: 1.5em;
}


/* ------------- --
-- Blog comments --
-- ------------- */

article.blog-comment footer {
	padding: 0;
}

article.blog-comment footer p {
	margin: 0 1.875em 1.875em 1.875em;
	font-size: 0.8em;
	line-height: 1.5em;
	text-align: left;
}


/* ------------- --
-- Miscellaneous --
-- ------------- */

hr {
	margin: 0 1.5em;
}

.no-print {
	display: none;
}
