/*****************************************************************************/
/*
/* Common
/*
/*****************************************************************************/

/* Global Reset */
* {
  margin: 0;
  padding: 0;
}

html, body { height: 100%; }

body {
  background: linear-gradient(#8A8A8A, #FFFFFF);
  //font: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font: 14px Helvetica, Arial, sans-serif;
  font-size: small;
  text-align: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 101%;
}

h1 { margin-bottom: 1em; }

p { margin: 1em 0; }

a { 
  text-decoration: none;
  color: #0000ff;
}

a:hover {
	color: #000099;
	border-bottom: 1px solid #000099;
	
}

table {
  font-size: inherit;
  font: 100%;
}


/*****************************************************************************/
/*
/* Home
/*
/*****************************************************************************/
ul.posts {
  list-style-type: none;
  //margin-bottom: 2em;
}

ul.posts li {
  line-height: 1.75em;
}

ul.posts span {
  color: #aaa;
  font-family: Monaco, "Courier New", monospace;
  font-size: 80%;
}

/*****************************************************************************/
/*
/* Site
/*
/*****************************************************************************/

.site {
  font-size: 115%;
  text-align: left;
  width: 60em;
  margin: 0em auto 1em;
  padding: 0em 1em;
  line-height: 1.5em;
  background-color: #FFF;
}


.site .header{
  height: 29%;
  width: 62em;
  line-height: .7em;
  padding: 0em;
  background: linear-gradient(#C50000, #840000);
  position: relative;
  left: -1em;
}

.site .header a {
  text-decoration: none;
}

.site .header .nounderline a:hover{
  border-bottom: 0px solid #000099;
}


.site .header a.title {
  color: #FFFFFF;
}


.site .header a.title:hover {
  color: #FFFFFF;
  border-bottom: 1px solid #FFFFFF;
}

/**
.site .header a.nav {
  color: #8A8A8A;
  margin-left: 1em;
  font-size:110%;
  font-weight: bold;
}

.site .header a.nav:hover {
  color: #FFFFFF;
}

.site .header a.current {
  color: #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
}
**/


.site .header .container .nav {
  font-size: 110%;
  font-weight: bold;
  list-style: none;
  margin: 0;
}
.site .header .container .nav li {
  /*float: left;*/
  display: inline-block;
}


.site .header .container .nav a {
  color: #eee;
  display: block;
  line-height: 2em;
  padding: 0 10px;
  text-decoration: none;
  top:-15px;
  position:relative;
}

.site .header .container .nav a:hover{
  color: #222;
  background: #fff;
  border-bottom: 0px solid #000099;
}



.site .meta {
  color: #8A8A8A;
  margin-top: 0em;
}

.site .footer {
  color: #666;
  border-top: 2px solid #aaa;
  padding-top: .25em;
  margin-top: 1em;
  padding-bottom: 1em;
  overflow: hidden;
}

.site .footer a {
  text-decoration: none;
  border-bottom: 0px solid #000099;
}

.site .footer .contact {
  float: left;
  margin-right: 3em;
}

.site .footer .contact a {
  color: #8085C1;
}

.site .footer .rss {
  margin-top: 1.1em;
  margin-right: -.2em;
  float: right;
}

.site .footer .rss img {
  border: 0;
}

/*****************************************************************************/
/*
/* Posts
/*
/*****************************************************************************/

/* standard */
.post h3 {
 padding-bottom: 0em;	
}

.post pre {
  border: 1px solid #ddd;
  background-color: #eef;
  padding: 0 .4em;
}

.post ul, .post ol {
  margin-left: 1.35em;
  padding-bottom: 1em;
}

.post ul {
	list-style-type: circle;
}

.post code {
  border: 1px solid #ddd;
  background-color: #eef;
  padding: 0 .2em;
}

.post pre code {
  border: none;
}

/* post tables */
.post table {
  background-color: transparent;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid #aaa;
  margin: 1em;
  
}

.post table th,
.post table td {
  padding: .5em 1em;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid #aaa;
}

.post table th {
  font-weight: bold;
}

.post tbody > tr:nth-child(odd) > td,
.post tbody > tr:nth-child(odd) > th {
  background-color: #eee;
}

/* terminal */
.post pre.terminal {
  border: 1px solid #000;
  background-color: #333;
  color: #FFF;
}

.post pre.terminal code {
  background-color: #333;
}

/* Customizations */
.bio_img {
	border-radius: 8px;
}

.site .footer .contact-icon {
	padding-right: .5em;
}
.site .footer a{
	color: #8A8A8A;
}
.site .footer a:hover{
	color: #a00;
}

.top_post {
	border-bottom: 2px solid #aaa;
	padding-bottom: .5em;
	margin-bottom: 1em;
}

.p .tiny{
	line-height: .25
}

.p .mini{
	line-height: .1
}

.p .small{
	line-height: .75
}

.p .medium{
	line-height: 1
}

.p .large{
	line-height: 2
}

.p .indent{
	text-indent: -4em;
	margin-left: 4px
}

@font-face{
	font-family: ehrhardt;
	src: url("font/ehrhardt/Ehrhardt Regular.otf") format("opentype");
}

@font-face{
	font-family: ehrhardt;
	font-weight: bold;
	src: url("font/ehrhardt/Ehrhardt Semibold.otf") format("opentype");
}


@font-face{
	font-family: ehrhardt;
	font-weight: bold;
	src: url("font/ehrhardt/Ehrhardt Italic.otf") format("opentype");
}


@font-face{
	font-family: ehrhardt;
	font-weight: bold;
	font-style: italic;
	src: url("font/ehrhardt/Ehrhardt SemiboldIt.otf") format("opentype");
}

