@import url(http://fonts.googleapis.com/css?family=Ubuntu+Mono|Ubuntu:400,700,400italic,700italic);

body {
	color: #000;
	background-color: #FFF;
	font-family: Ubuntu, 'Helvetica Neue', Helvetica, Arial, serif;
	margin: 0 0 10px 0;
	padding: 0;
	font-size: 90%;
    background-repeat: repeat-x;
}

p {
	margin: 1em 0;
	padding: 0;
}

img {
	border: 0;
}

h2, h3 {
    font-weight: normal;
}
h2 {
	text-align: center;
	font-size: 1.6em;
	margin: 1em 0 0 0;
}
h3 {
	font-size: 1.4em;
}

pre {
    background-color: #f0f0f0;
	border: solid 1px #c0c0c0;
	padding: 8px;
	margin: 1em 0;
	overflow: scroll;
	font-family: 'Ubuntu Mono', Consolas, 'Courier New', monospace;
}
code { font-family: 'Ubuntu Mono', Consolas, 'Courier New', monospace; }

kbd {
	font-family: 'Ubuntu Mono', Consolas, 'Courier New', monospace;
	font-size: 0.9em;
	white-space: nowrap;
	color: #000;
	background-color: #f4f4f4;
	border-width: 1px 2px 2px 1px;
	border-style: solid;
	border-color: #e6e6e6 #b4b4b4 #a0a0a0 #dddddd;
	padding: 2px 3px;
	margin: 0 1px;
	-moz-border-radius: 2px; 
	-webkit-border-radius: 2px;
	border-radius: 2px;
}

blockquote {
	background-color: #F0F0F0;
	padding: 0;
	margin: 0;
	border: dotted 1px #C0C0C0;
	background-image: url(../images/quote-open.png);
	background-position: top left;
	background-repeat: no-repeat;
}
blockquote p {
	margin: 1em 0;
	padding: 0 2em;
}
blockquote p:last-child {
	background-image: url(../images/quote-close.png);
	background-position: bottom right;
	background-repeat: no-repeat;
	padding-bottom: 1em;
	margin-bottom: 0;
}

/* Links */
a:link, a:active, a:visited {
	color: #000;
	background-color: inherit;
	text-decoration: underline;
}
a:hover, a:focus {
	color: #FFF;
	background-color: #282828;;
}

h3 a:link, h3 a:active, h3 a:visited, h3 a:hover, h3 a:focus {
  text-decoration: none;
}
/*End Links*/

/* Separator */
hr {
	/*margin: -16px 0 -12px 0;*/
	margin: 0;
	padding: 0;
	border: none;
	background-image: url(../images/separator.png);
	background-position: 50% 50%;
	background-repeat: no-repeat;
	height: 20px;
	clear: both;
}

div#container {
	text-align: center;
}

/*Branding*/
#branding {
	color: #FFF;
	margin: 0;
    padding: 0;

	background-color: #282828;
	background-image: url(../images/bg.png);
    background-repeat: repeat-x;
    background-position: bottom center;

	border-bottom: 3px solid #00c0ff;
}
#branding h1 {
	color: #FFF;
	font-size: 2.2em; 
    margin: 0;
    line-height: 2em;
    font-weight: normal;
    text-shadow: rgba(0,0,0,0.2) 1px 1px 1px;
}
#branding h1 a:link, 
#branding h1 a:active, 
#branding h1 a:visited {
	color: #FFF;
    text-decoration: none;
}
#branding h1 a:hover, 
#branding h1 a:focus {
    background-color: transparent;
}
/*End branding*/

div#content {
	width: 730px;
	text-align: left;
	line-height: 1.6em;
	margin: 0 auto;
	padding: 0 0.5em;
}

/* Notice and error */
#notice, #error {
	font-size: 0.9em;
}
#notice {
	background-color: #F3EDCA;
	padding: 0.5em;
	border: solid 1px #928118;
	margin: 1em 0;
}
#error {
	background-color: #F2C6C6;
	padding: 0.5em;
	border: solid 1px #933736;
	margin: 1em 0;
}
#notice p, #error p {
	margin: 0;
	padding: 0;
}
/* End notice and error */

/*Logged in notification*/
#loggedIn {
    background-color: #E4F2DA;
    font-size: 0.85em;
/*    font-family: Calibri, 'Trebuchet MS', Tahoma, Helvetica, sans-serif;*/
    margin-top: 0.5em;
    padding: 0.2em 0.5em;
    border: solid 1px #A0B98B;
}
/*End logged in notification*/

/*Navigation menu*/
ul#navMain{
    margin: 0 auto;
    padding: 9px;
}
ul#navMain li {
	display: inline;
	list-style-type: none;
	margin: 0;
    text-shadow: rgba(0,0,0,0.2) 1px 1px 1px;
}

ul#navMain a:link, 
ul#navMain a:active, 
ul#navMain a:visited {
	color: #FFF;
    padding: 9px;
    text-decoration: none;
}
ul#navMain a:hover,
ul#navMain a:focus {
    padding: 9px;
	background-color: transparent;
    background-image: url(../images/bg-nav-hover.png);
    background-position: bottom center;
    background-repeat: no-repeat;
}

/*Blog navigation section (archive, tags)*/
#nav-blog {
    border-top: solid 1px #91BBCB;
    float: left;
    background-color: #F5FCFE;
    width: 100%;
}
/*Archive div on homepage, tags div on homepage*/
#archive, #tag-cloud-container { 
    width: 350px;
    float: left;
}
#archive {
    padding: 0 5px 0 10px;
}
#tag-cloud-container {
    padding: 0 10px 0 5px;
}
ul.tag-cloud {
    margin: 1em 0;
    padding: 0;
	list-style-type: none;
	text-align: center;
}
ul.tag-cloud li { display: inline-block }
.tag { padding: 0 0.4em; }
.tag a { text-decoration: none; }
.tag.smallest { font-size: 0.8em; }
.tag.small { font-size: 1em; }
.tag.medium { font-size: 1.2em; }
.tag.large { font-size: 1.5em; }
.tag.largest { font-size: 1.8em; }

.paging {
    border-top: dotted 1px #c0c0c0;
}
.paging .older {
    float: left;
}
.paging .newer {
    float: right;
}

/*Footer*/
#footer {
    text-align: center;
    margin: 0 auto;
    padding: 0;
    max-width: 730px;
    border-top: solid 1px #c0c0c0;
    background-image: url(../images/footer.png);
    background-position: top left;
    background-repeat: repeat-x;
    min-height: 52px;
    clear: both;
	line-height: 1.2;
}
#footer p {
    font-size: 0.85em;
    margin: 0.5em 0;
    padding: 0;
}
#footer #html5-badge {
	display: block;
	margin: 6px auto 0 auto;
}
/*End footer*/

a#skipToContent {
	display: none;
}

#content img.supplementary {
	display: block;
	float: right;
	margin-left: 12px;
}

#content img.decorative {
    display: block;
    float: right;
}

#content img.preview {
	display: block;
	float: right;
	margin-left: 12px;
}

/* CV */
ul.skills {
	margin: 0.5em 0;
	padding: 0 1.5em;
}
ul.skills em {
	font-weight: bold;
	font-style: normal;
}

.work {
	width: 100%;
	margin: 0 0 1em 0;
	padding: 0;
}
.workDate {
	width: 35%;
	vertical-align: top;
}
.workTitle {
	font-weight: bold;
}
.workPlace {
}
.workLocation {
}
ul.workResponsibilities {
	margin: 0.5em 0;
	padding: 0 1.5em;
}
.work p {
	margin: 0.5em 0;
	padding: 0;
}

.education {
	width: 100%;
	margin: 0 0 1em 0;
	padding: 0;
}
.educationDate {
	width: 35%;
	vertical-align: top;
}
.educationPlace {
	font-weight: bold;
}
.educationLocation {
	font-weight: bold;
}
.education p {
	margin: 0.5em 0;
	padding: 0;
}
/* End CV */

/*Contact Page*/

/*Text boxes*/
input, textarea {
	font-family: inherit;
	font-size: inherit;
}
input[type=text], 
input[type=password],
textarea {
    border: solid 2px #d0d0d0;
    padding: 3px;
	-moz-border-radius: 4px; 
	-webkit-border-radius: 4px;
	border-radius: 4px;

}
input[type=text]:focus, 
input[type=password]:focus, 
textarea:focus {
    background-color: #F4FBFE;
    outline: 0;
	border: 2px solid #00c0ff;
}

/*Buttons*/
input[type=button], input[type=submit], button {
    font-family: inherit;
	font-size: inherit;
	color: #FFF;
/*    background: #97DAF0 url(../images/button-overlay.png) repeat-x;*/
	background-color: #282828;
	padding: 5px 15px 6px;
	border: 2px solid #282828;
	text-shadow: rgba(0,0,0,0.2) 1px 1px 1px;
	display: inline-block;
	-moz-border-radius: 20px; 
	-webkit-border-radius: 20px;
	border-radius: 20px;
	-moz-box-shadow: 0 2px 2px rgba(0,0,0,0.25);
	-webkit-box-shadow: 0 2px 2px rgba(0,0,0,0.25);
	box-shadow: 0 2px 2px rgba(0,0,0,0.25);
	position: relative;
	cursor: pointer;
}
input[type=button]:hover, 
input[type=submit]:hover, 
button:hover,
input[type=button]:focus, 
input[type=submit]:focus, 
button:focus {
	border: 2px solid #00c0ff;
	outline: none;
}
input[type=button]:active, 
input[type=submit]:active, 
button:active { 
	top: 1px;
}

form {
	margin-bottom: 1em;
}

fieldset {
	padding : 0.5em 1em 1em 1em;
	margin: 1em 0;
	font-size: 0.9em;
	border : 1px solid #c0c0c0;
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
fieldset p {
	margin: 0 0 0.75em 0;
}

legend {
	color: #000;
	font-size: 1.2em;
}

#captchaQuestion {
	font-style: italic;
}

fieldset#messageFields {
    background-image: url(../images/contact.png);
    background-repeat: no-repeat;
    background-position: top right;
}
/*End contact page*/

.errorText {
	color: #970000;
}

.supplementary {
	font-style: italic;
	color: #A5A5A5;
}

/* Portfolio page */
.portfolioEntry {
	clear: both;
	margin-bottom: 16px;
}

.portfolioEntry img.preview {
	border: solid 1px #000;
}

.portfolioEntry#uniWork {
    border-top: dotted 1px #91BBCB;
}
/* End portfolio page */

div.clearer {
	clear: both;
	margin-bottom: 16px;
}

.errorTrace {
	background-color: #E5FAFF;
	border: solid 1px #91BBCB;
	border-left: solid 4px #91BBCB;
	padding: 8px;
	margin: 1em 0;
	overflow: scroll;
}

/* Uni pages */
#content .uniCategories,
#content .uniItems {
    list-style-type: none;
    margin: 1em 0 1em 0;
    padding: 0;
}
#content .uniCategories .item,
#content .uniItems .item {
    margin: 0.5em 0;
    padding: 0;
}
#content .uniCategories p,
#content .uniItems p {
    margin: 0 0 0 52px;
    padding: 0;
}
#content .uniCategories img.icon,
#content .uniItems img.icon {
    float: left;
    padding: 0;
    margin: 0;
}
/* End uni pages */

/* Breadcrumbs */
.breadcrumbs {
    font-size: 0.8em;
    margin: 1em 0;
    border-bottom: dotted 1px #91BBCB;
}
.breadcrumbs p {
    margin: 0;
    padding: 0;
}
.breadcrumbs .current {
    font-weight: bold;
}
/* End breadcrumbs */

/*Blog*/

/*Posts*/
.draft, 
.draft a {
    color: #999;
}
.blogPost h3 {
    margin-bottom: 0;
    padding: 0;
}
p.postInfo {
    font-size: 0.8em;
    margin: 0 0 1em 0;
}
/*End posts*/

/* Tags list */
.tag_list {
	margin: 1em 0 0 0;
	padding: 0;
}
.tag_list li {
	list-style-type: none;
	width: 33%;
	float: left;
	margin-bottom: 1em;
}
.tag_list a {
	text-decoration: none;
	background-color: #f0f0f0;
	border: solid 1px #c0c0c0;
	padding: 3px;
}
.tag_list a:hover,
.tag_list a:focus {
	background-color: #282828;
	border-color: #282828;
	color: #FFF;
}
.tag_count {
	font-style: italic;
	color: #A5A5A5;
}
/* End tag list */

/*Twitter*/
.twitter {
    background-color: #f0f0f0;
	background-image: url(../images/twitter.png);
	background-repeat: no-repeat;
	background-position: bottom right;
	border-top: 1px solid #c0c0c0;
	border-bottom: 1px solid #c0c0c0;
    margin: 2em 0;
    padding: 10px 110px 10px 10px;
    font-size: 0.9em;
}
.twitter h3 {
    margin: 0 0 1em 0;
    font-size: 1.1em;
}
#twitter_update_list {
    margin: 0;
    padding: 0;
}
#twitter_update_list li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#twitter_update_list li.loading {
    color: #909090;
    font-style: italic;
}
.twitter #followLink {
    margin-bottom: 0;
}
/*End twitter*/

/*Comments*/
#comments h3 {
	margin: 1em 0;
}
#comments div.comment {
    background-color: #F0F0F0;
    border: solid 1px #C0C0C0;
    margin-right: 70px;
    margin-bottom: 0.5em;
    font-size: 0.9em;
/*    border-radius: 5px;*/
/*    -webkit-border-radius: 5px;*/
/*    -moz-border-radius: 5px;*/
}
#comments div.comment img.gravatar {
    float: right;
    display: block;
    margin-right: -70px;
    padding-left: 20px;
    background-image: url(../images/comment.png);
    background-position: 0 18px;
    background-repeat: no-repeat;
}

#comments div.owner {
    background-image: url(../images/bg-comment-owner.png);
    background-repeat: repeat-x;
    background-position: top left;
}

#comments .comment.spam {
    background-color: #FFDEDD;
    border: solid 1px #D49D96;
}
#comments .comment.spam img.gravatar {
    background-image: url(../images/comment-spam.gif);
}

#comments div.comment p.commentInfo {
    margin: 0.5em 0.8em 0.5em 0.8em;
}
#comments div.comment p.commentBody {
    margin: 0.5em 0.8em 0.5em 0.8em;
}
/*End comments*/

/*Social things*/
#social {
    border-top: 1px dotted #c0c0c0;
	border-bottom: 1px dotted #c0c0c0;
    background-color: #f0f0f0;
	padding: 9px 0 6px 0;
	list-style-type: none;
}
#social li {
	display: inline;
	margin-right: 14px;
}
/*.twitter-share-button {
	margin-bottom: -4px;
}
.DiggThisButton {
	margin-bottom: -5px;
}*/
.fb-button {
	margin-bottom: -1px;
}
.g-plusone {
	display: inline;
}

/*End social things*/


/*Info banner*/
#infoBanner {
    background-color: #FFF6C7;
    padding: 5px;
    border-left: solid 1px #A59E82;
    border-bottom: solid 1px #A59E82;
    font-size: 0.9em;
    position: fixed;
    top: 0;
    right: 0;
}
#infoBanner p {
    margin: 0;
    padding: 0;
}
/*End info banner*/

/* Blog posting */
#wmd-preview {
	border: dotted 1px #C0C0C0;
	padding: 8px;
}
#wmd-input { font-family: 'Ubuntu Mono', Consolas, 'Courier New', monospace; }
/* End blog posting */

/* Clearfix. Apply to actual element */
.clearfix { zoom: 1; }
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
  zoom: 1;
  *display: inline;
}
.clearfix:after { clear: both; }
