/* Body and basic styles */
#pagenav li {
    font-size: 1em;
}

pre code {
    padding: 0.125rem 0.3125rem 0.0625rem;
    border: 0px;
    background-color: transparent !important;
    font-family: Consolas, "Liberation Mono", Courier, monospace;
    font-weight: 400;
    color: #0A0A0A;
}

pre {
    color: ;
    background-color: #ADADAD;
    margin: 15px 0;
    border-radius: 3px;
    border: 1px solid #939393;
    padding: 1.5em;
    box-shadow: inset 0 0 2px #C1C1C1;
}

body {
    background-color: #EFEFEF !important;
    font-family: "Lato";
}

.inline li {
    display: inline !important;
}

h1, h2, h3, h4, h5 {
    font-family: "Source Sans Pro" !important;
}

/* Google web fonts */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/source-sans-pro-v9-latin-regular.eot);
    src: local('Source Sans Pro'), local('SourceSansPro-Regular'), url(../fonts/source-sans-pro-v9-latin-regular.eot?#iefix) format('embedded-opentype'), url(../fonts/source-sans-pro-v9-latin-regular.woff2) format('woff2'), url(../fonts/source-sans-pro-v9-latin-regular.woff) format('woff'), url(../fonts/source-sans-pro-v9-latin-regular.ttf) format('truetype'), url(../fonts/source-sans-pro-v9-latin-regular.svg#SourceSansPro) format('svg');
}

@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/pt-sans-v8-latin-regular.eot);
    src: local('PT Sans'), local('PTSans-Regular'), url(../fonts/pt-sans-v8-latin-regular.eot?#iefix) format('embedded-opentype'), url(../fonts/pt-sans-v8-latin-regular.woff2) format('woff2'), url(../fonts/pt-sans-v8-latin-regular.woff) format('woff'), url(../fonts/pt-sans-v8-latin-regular.ttf) format('truetype'), url(../fonts/pt-sans-v8-latin-regular.svg#PTSans) format('svg');
}

/* Header and nav */
header {
    height: 270px;
    margin-top: 0;
}

#topnav {
    z-index: 2 !important;
    position: relative !important;
    min-height: 5em !important;
}

.top-bar-center {
    text-align: center;
}

.cover {
    background: url('/img/cover.jpg') center no-repeat !important;
    position: absolute !important;
    display: block !important;
    background-size: cover !important;
    top: 0 !important;
    left: 0 !important;
    width: 100%;
    height: 100%;
    z-index: 1 !important;
    max-height: 500px;
}

nav a {
    color: #FFFFFF !important;
    text-shadow: 1px 1px 2px #000000;
    font-size: 1.1em;
}

#blog-listing .grid-container {
    max-height: 115px !important;
}

#blog-listing .blog-listing-img img {
    min-height: 145px;
    overflow: hidden;
}

.top-bar-center {
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
}

@media screen and (max-width: 39.9375em) {
    .top-bar-center {
        display: none;
    }
}

.ddg input {
    background-color: rgba(249, 249, 249, 0.7800);
    color: rgba(0, 0, 0, 1) !important;
}

/*Central page navigation*/
#pagenav {
    z-index: 2 !important;
    position: relative !important;
    min-height: 2.5em !important;
    text-transform: uppercase;
    font-size: 0.9em;
    text-shad ow:-1px -1px 0px #000000;
}

/* Introduction */
#introduction {
    background-color: #FFF;
    padding: 50px 50px 20px;
    border: 1px solid #DFDFDF;
}

#introduction h1, #introduction h2 {
    font-family: "PT Sans", Helvetica, Roboto, Arial, sans-serif;
}

#introduction ul strong, #resume a, .breadcrumbs li {
    text-transform: uppercase;
}

section#introduction {
    z-index: 2;
    position: relative;
}

#introduction #avatar {
    max-height: 319px;
    text-align: center;
}

#introduction #profilepicture {
    text-align: center;
}

#introduction h1 {
    font-size: 2.9em;
    text-shadow: 1px 1px 0 #D7D7D7;
}

#introduction ul strong {
    font-size: 0.7em;
}

#introduction h2 {
    font-size: 1.4em;
    text-shadow: 1px 1px 0 #E1E1E1;
}

#introduction li span {
    width: 225px;
    float: right;
    text-align: left;
    color: #6C6C6C;
    text-shadow: 1px 1px #EBEBEB;
}

.socialicons img {
    color: #FFFFFF;
    height: 2.5em;
}

/* Blogpost view */
#blogpost {
    background-color: #FFF;
    padding: 50px 50px 20px;
    border: 1px solid #DFDFDF;
}

#blogpost h1, #blogpost h2 {
    font-family: "PT Sans", Helvetica, Roboto, Arial, sans-serif;
}

h1#title {
    font-size: 2.1em;
    margin-bottom: 0.4em;
}

#content h1 {
    font-size: 1.8em;
    line-height: 2em;
}

section#blogpost {
    z-index: 2;
    position: relative;
}

.metaSinglePost {
    background: #6C7A89;
}

ul#tags {
    text-align: right !important;
}

ul#tags li {
    margin-right: 5px;
}

#tags li a {
    color: #FFFFFF;
}

.metaSinglePost #tags span {
    background-color: #52545F;
}

#blog-post-nav {
    padding-bottom: 10px;
}

#blog-post-nav .align-left {
    text-align: right;
}

#blog-post-nav .previous {
    text-align: left;
}

#blog-post-nav .label {
    background-color: #52545F;
}

#blog-post-nav .label a {
    color: #E7E7E7;
    text-align: center;
}

.metaSinglePost {
    padding-top: 15px;
    color: #EFEFEF !important;
    font-size: 0.8em;
}

#blog-post-meta p {
    margin: 0;
    height: ;
}

#blog-post-nav .label {
}

#blog-post-nav {
    margin: 0 0 1.5em 1.5em;
}

#content p {
    line-height: 1.8em !important;
}

/*Listing view*/
/*#listing
{
	background-color: #FFF;
	padding: 50px 50px 20px;
	border: 1px solid #DFDFDF;
	z-index: 2;
	position: relative;
}*/
.articleListImg {
    height: 200px;
    margin-top: 1em;
    position: relative;
}

.articleListImg h1 {
    color: #FFFFFF;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 1.5em;
    padding-left: 22px;
    padding-bottom: 6px;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    text-shadow: 1px 1px #000000;
    margin: 0;
}

#home-latest-posts {
    font-size: 1.3em;
    margin-top: 18px;
    color: #A5A5A5;
    text-shadow: 1px 1px #FFFFFF;
}

.blog-listing-description {
    color: #2E2E2E;
}

.listingSummary {
    padding: 5px 0 5px 15px;
    background-color: #FFFFFF;
    border: 1px solid #DFDFDF;
    border-top: 0px;
    font-size: 0.9em;
    color: #8B8B8B;
    line-height: 1.4;
    overflow: hidden;
}

.homepageListing .listingSummary {
    height: auto;
    line-height: 1.6;
    padding: 15px;
    background-color: rgba(249, 249, 249, 0.812);
    border: 0px;
    color: #545454;
    text-shadow: 1px 1px #FFFFFF;
    font-size: 14px;
}

#content h2 {
    font-size: 1.4em;
    font-weight: normal;
    border-bottom: 1px dotted #D1D1D1;
}

/**/
.top-bar, .top-bar ul {
    background-color: transparent !important;
}

#socialmedia .grid-x {
    background: #6C7A89;
    font-weight: 400;
}

#resume a, b, optgroup, p.refName, strong {
    font-weight: 700;
}

#socialmedia a {
    color: #FDFDFD;
}

#resume a {
    background-color: #ECECEC;
    border-radius: 5px;
    border: 1px solid #DFDFDF;
    text-shadow: 0 0 1px #FFF;
    color: #353535;
    font-family: "PT Sans";
    font-size: 16.4px;
}

button, img, legend {
    border: 0;
}

#resume a:hover {
    box-shadow: 0 0 15px rgba(199, 204, 211, 0.65);
}

#resume {
    padding: 15px 0;
}

#resume #introtext {
    padding-top: 1em;
    text-align: center;
    font-size: 1.3em;
    text-shadow: -1px -1px #FFF;
    padding-bottom: 1em;
}

.container {
    margin: 20px;
    width: 200px;
    height: 200px;
}

.progress-meter {
    background-color: #6C7A89 !important;
}

#projectWrapper, #skillWrapper, section#references #orbitWrapper {
    background-color: #FFF;
    padding: 50px 50px 20px;
    border: 1px solid #DFDFDF;
    box-shadow: inset 0 0 3px #E1E1E1;
}

#projectWrapper, #skillWrapper {
    margin-bottom: 2em;
}

#projects h2, #skills h2 {
    font-size: 1.5em;
}

#references .quote {
    color: #6C7A89;
    font-size: 211.5px;
    top: 0;
    margin-top: -95px;
    font-family: "Times New Roman", serif;
    max-height: 23px;
}

p.refName {
    color: #787878;
    margin-bottom: 0;
    margin-top: 7px;
}

/* Portfolio */
#socialmedia {
    background: #6C7A89;
    font-weight: 400;
}

#socialmedia a {
    color: #FDFDFD;
}

#skills {
    background-color: #FFF;
    padding: 50px 50px 20px;
    border: 1px solid #DFDFDF;
}

#education {
    background-color: #FFF;
    padding: 30px 50px 20px;
    border: 1px solid #DFDFDF;
    margin-bottom: 1em;
}

.edu_years {
    font-weight: bold;
    font-size: 1.2em;
    color: #626262;
}

.education_info p {
    margin-bottom: 0px;
    margin-top: 0px !important;
}

.education_info small {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

h2 {
    font-size: 2em;
}

.experience_info .small-8.large-10 {
    margin-left: 0;
    padding-left: 15px;
}

.education_info {
    margin-bottom: 1em;
}

h3 {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 0px;
}

h4 {
    font-size: 1.1em;
    font-weight: bold;
    color: #282828;
}

.education_info strong {
    font-size: 0.9em;
}

#experience {
    background-color: #FFF;
    padding: 30px 50px 20px;
    border: 1px solid #DFDFDF;
    margin-bottom: 1em;
    font-weight: normal;
}

img.experience_work {
    max-height: 75px;
}

.experience_info .large-2 {
    text-align: center !important;
}

.experience_info {
    margin-bottom: 15px;
}

#experience h3 small {
    color: #242424;
}

.experience_info {
    font-weight: normal;
}

.experience_info h3 small {
    color: #686868;
}

/*Footer*/
footer {
    color: #939393 !important;
    text-shadow: 1px 1px 0px #FFFFFF;
    font-size: 0.8em;
    padding-top: 10px;
}

footer .text-left {
    text-align: right;
}

/* Weblog listing view*/
#blog-listing .grid-container {
    margin: 1em 0;
    background-color: #FFFFFF;
    border: 1px solid #D9D9D9;
}

.blog-post h1 a {
    color: #65667B;
}

.blog-post h1 {
    color: #65667B;
    font-size: 1.4em;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

#blog-listing .blog-listing-img {
    margin-left: 0;
}

#blog-listing .blog-post {
    min-height: 145px;
    max-height: 250px;
    overflow: hidden;
}
