html, body {
    height: 100%;
    margin:0;
    padding:0;
}

body {
    padding-top: 50px;
    font-family: 'PT Serif', serif;
    font-size: 16px;
    color: #222;
}

/* Debug the container */
.container {
   border: 0px solid red;
}

/* Trick for footer */
#wrapper {
    min-height:100%;
    position:relative;
}

#content {
    padding:10px;
    padding-bottom:80px; /* Height of the footer element */
}

#footer {
    width:100%;
    height:80px;
    position:absolute;
    bottom:0;
    left:0;
}

/* Image at the top */
.image-top {
    background-image: url('/images/top.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-color: #121212;
    margin: 0px auto 0;
    height: 115px;
}

/* Headers */
h1 {
    position: relative;
    padding: 10px 0;
    margin-bottom: 20px;
    font-weight: bold;
}

h2 {
    position: relative;
    padding: 6px 0;
    font-size: 32px;
}

h3 {
    position: relative;
    padding: 4px 0;
    font-size: 28px;
}
h4 { font-size: 22px; }

h1, h2, h3, h4, h5, .navbar .container, #footer {
    font-family: 'Alegreya Sans', sans-serif;
}

h1:after, h2:after, h3:after {
    content : "";
    position: absolute;
    left    : 0;
    bottom  : 0;
    height  : 1px;
    width   : 30px;
}

h1:after {
    border-bottom: 4px solid #4d7dad;
}

h2:after {
    border-bottom: 2px solid #4d7dad;
}

h3:after {
    width: 20px;
    border-bottom: 1px solid #4d7dad;
}

hr {
    border-color: black;
    clear: both;
    margin: 8px 0;
}

a {
    color: #4d7dad;
}
h1 a, h1 a:hover { color: #222; }

#content a {
    font-weight: bold;
}

#footer {
    font-size: 9px;
    text-align: center;
    color: #777;
}

#hr_bottom {
    border-color: #777;
}

/* BLOG ONLY */
#navlinks a {
  font-weight: lighter;
  font-style: italic;
  font-size: 0.8em;
}
p.post-date { font-style: italic; margin: -10px 0 20px; }
p.post-date a { color: #222; font-weight: normal !important; }
.categories li a, .tags li a { font-weight: normal !important; }

p.signature a { font-size: 0.9em; font-style: italic; margin-right: 50px; color: black; }

.post-tags li {
    display: inline;
    position: relative;
    padding: 0 8px;
    font-size: 12px;
}
.post-tags ul { padding: 0 10px; margin-bottom: 0px; }

div#comments, div#pings { margin-top: 34px; }
#comments dd, #pings dd { margin: 0 30px; }
#comments dt, #pings dt { margin: 20px 0 5px; }
#comments dt a, #pings dt a { padding-right: 10px; }

.categories li, .tags li { display: inline; position: relative; padding: 0 10px; }

li.category-current a { font-weight: bold !important; }

p.read-it { margin-bottom: 20px; text-align: right; margin-right: 10%; font-size: 12px; }

div.post { margin-bottom: 40px; }
.post-content { margin-bottom: 30px; }

.post-category  a { background-color: #4d7dad; color: white; padding: 3px 5px; border-radius: 4px; }
.post-info { margin-left: 5px;}

#comment-form { padding-top: 10px; }

#comment-form h3 {
	padding: 5px;
	margin: 2px 0 8px 0;
	font-size: 1.2em;
}

#comment-form fieldset p { padding: 5px 0; /*margin: 0 0 0 30%;*/ }
#comment-form fieldset p.field { padding: 5px 0; width: auto; margin: 0; clear: left; }
#comment-form p.form-help { width: 60%; margin: 0 0 0 30%; font-style: italic; }

#comment-form p label { width: auto; }
#comment-form p.field label {
	font-weight: bold;
	display: block;
	padding: 0 4px 4px 0;
	width: 29%;
	float: left;
	text-align: right;
}
#comment-form input, #comment-form textarea {
	font: 1em Arial,sans-serif;
	color: #005D99;
	border: 1px solid #CDCDCD;
	padding: 1px 2px;
	font-size: 1em;	
	width: 60%;
}

#comment-form input#c_remember {
	width: auto;
	border: 0;
	margin: 0 5px 0 140px;
}
#comment-form input.preview { margin-left: 134px; }
#comment-form input.preview, #comment-form input.submit {
	width: auto;
	color: #005D99;
	background: #FFF;
	font-size: 1em;
	font-weight: bold;
	text-transform: uppercase;
	border: 1px solid #FFF;
}
#comment-form input.preview:hover, #comment-form input.submit:hover { background: #005D99; color: #FFF; border: 1px solid #005D99; }


