/* CSS */
@import url("reset.css");

/***** Global *****/
/* Body */
body {
    background: #ffffff;
    color: #000305;
    line-height: 1.429;
    margin: 0;
    padding: 0;
    text-align: left;
}

/* Math - Size */
.MathJax {
	font-size: 1.2rem;
}


/* Headings */
h1 {font-size: 1.5em }
h2 {font-size: 1.4em}	/* 22px */
h3 {font-size: 1.3em}	/* 20px */
h4 {font-size: 1.2em}	/* 18px */
h5 {font-size: 1.1em}	/* 16px */
h6 {font-size: 1em}		/* 14px */

h1, h2, h3, h4, h5, h6 {
	font-weight: 400;
	line-height: 1.1;
	margin-bottom: .8em;
}

h3, h4, h5, h6 { margin-top: .8em; }
	
hr { border: 2px solid #EEEEEE; }

/* Anchors */
a {outline: 0;}
a img {border: 0px; text-decoration: none;}
a:link, a:visited {
	color: #0e6447;
	padding: 0 1px;
	text-decoration: underline;
}
a:hover, a:active, a.active, .active>a {
	background-color: #0e6447;
	color: white;
	text-decoration: none;
	text-shadow: 1px 1px 1px #333;
}

	
/* Paragraphs */
p {margin-bottom: 1.143em;}

strong, b {font-weight: bold;}
em, i {font-style: italic;}

::selection {background: #0e6447; color: #fff;}

/* Lists */
ul {
	list-style: outside disc;
	margin: 1em 0 1.5em 1.5em;
}

ol {
	list-style: outside decimal;
	margin: 1em 0 1.5em 1.5em;
}

.post-info {
    margin:10px;
    padding:5px;
}

.post-info p{
    margin-bottom: 1px;
}

.readmore { float: right }

dl {margin: 0 0 1.5em 0;}
dt {font-weight: bold;}
dd {margin-left: 1.5em;}

pre{background-color: #000; padding: 10px; color: #fff; margin: 10px; overflow: auto;}

/* Quotes */
blockquote {
    margin: 20px;
    font-style: italic;
}

/* cite {} */ 

/* q {} */

/* Tables */
table {margin: .5em auto 1.5em auto;}
	
/* Thead */
thead th {padding: .5em .4em; text-align: left;}

/* Tbody */
tbody td {padding: .5em .4em;}
	
/* HTML5 tags */
header, section, footer,
aside, nav, article, figure {
	display: block;
}

/*
	Header
*****************/
#banner {
	padding: 2.5rem 0 0 0;
	max-width: 50rem;
	margin: 0 auto;
	display: grid;
}

/* Banner */
#banner h1 a:link, #banner h1 a:visited {
	color: #000305;
	font-weight: bold;
	text-decoration: none;
}
#banner h1 a:hover, #banner h1 a:active {
	background: none;
	color: #0e6447;
	text-shadow: none;
}

.bannerhead {
	display: flex;
	max-width: 50rem;
	margin: 0 auto;
}
.bannertext{
	margin: 1rem 1rem 0 1rem
}

/*
	Main Nav 
*****************/
#banner nav {
	background: #000305;
	line-height: 2.4rem;
	border-radius: 5px;
	max-width: 50rem;
	margin: 0 0;
	display: inline-flex;
}
#banner nav ul {list-style: none; margin: 0 auto;}

/* Responsive Nav */
@media (min-width: 420px) {
	#banner nav {
		height: 3rem;
	}
	#banner nav li {float: left; display: inline; margin: 0;}
}
@media (max-width: 420px) {
	#banner nav {line-height: 1rem}
	#banner nav li {display: list-item; margin: 0;}
	#banner nav li.active {background-color: #0e6447;}
}

#banner nav a:link, #banner nav a:visited {
	color: #fff;
	display: inline-block;
	padding: 5px 0.75em;
	text-decoration: none;
}
#banner nav a:hover, #banner nav a:active,
#banner nav .active a:link, #banner nav .active a:visited {
	background: #0e6447;
	color: #fff;
	text-shadow: none !important;
}



/*
	Featured
*****************/
#content {
	background: #fff;
	border-radius: 10px;
	padding: 1rem;
	max-width: 50rem;
	margin: 0 auto

}


/*
	About
*****************/
#about {
	background: #fff;
	overflow: hidden;
	padding: 1rem;
	max-width: 50rem;
	margin: 0 auto
}

#about .primary {float: left; width: 165px;}
#about .primary strong {color: #C64350; display: block; font-size: 1.286em;}
#about .photo {float: left; margin: 5px 20px;}

#about .url:link, #about .url:visited {text-decoration: none;}

#about .bio {float: right; width: 500px;}

/*
	Footer
*****************/
#footer {
    text-align: center; 
	padding: 1rem;
	max-width: 50rem;
	margin: 0 auto
}

/***** Sections *****/
/* Blog */
.hentry {
	border-bottom: 1px solid #eee;
	padding: 1.5em 0;
}
li:last-child .hentry, #content > .hentry {border: 0; margin: 0;}
#content > .hentry {padding: 1em 0;}
.hentry img{display : none ;}
.entry-title {font-size: 2em; margin-bottom: 10px; margin-top: 0;}
.entry-title a:link, .entry-title a:visited {text-decoration: none; color: #333;}
.entry-title a:visited {background-color: #fff;}
.entry-title a:hover{background: #fff;
					 color: #0e6447;
					 text-shadow: none !important;}

.hentry .post-info * {font-style: normal;}

	/* Content */
	.hentry footer {margin-bottom: 2em;}
	.hentry footer address {display: inline;}
	#posts-list footer address {display: block;}

	/* Blog Index */
	#posts-list {list-style: none; margin: 0;}
	#posts-list .hentry {padding-left: 10px; position: relative;}
	
	#posts-list footer {
		left: 10px;
		position: relative;
        float: left;
		top: 0.5em;
		width: 190px;
	}
	
	/* About the Author */
	#about-author {
		background: #f9f9f9;
		clear: both;
		font-style: normal;
		margin: 2em 0;
		padding: 10px 20px 15px 20px;
		border-radius: 5px;
	}
	
	#about-author strong {
		color: #C64350;
		clear: both;
		display: block;
		font-size: 1.429em;
	}
	
	#about-author .photo {border: 1px solid #ddd; float: left; margin: 5px 1em 0 0;}



/***** Images *****/

img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
}
	  
video {
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
}
