/*
Theme Name: FaviconMedia Custom Theme
Theme URI: https://faviconmedia.net
Description: Custom theme matching the original FaviconMedia website design (Miniport by HTML5 Up).
Version: 1.0
Author: FaviconMedia
Author URI: https://faviconmedia.net
*/

/* Reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

ol, ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Basic */
* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 2em;
    color: #888;
    font-weight: 300;
    font-size: 14pt;
    min-width: 1200px;
}

a {
    color: #6E4B13;
    text-decoration: underline;
    transition: color .2s ease-in-out;
}

a:hover {
    color: #BA7F20 !important;
}

strong, b {
    font-weight: 600;
    color: #3e3e3e;
}

h1, h2, h3, h4, h5, h6 {
    color: #3e3e3e;
    margin: 0 0 0.75em 0;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    text-decoration: none;
    color: inherit;
}

h3, h4, h5, h6 {
    font-weight: 700;
}

h1 {
    font-weight: 300;
    font-size: 3.25em;
    letter-spacing: -0.025em;
}

h1 strong {
    font-weight: 700;
}

h2 {
    font-size: 1.25em;
}

h3 {
    font-size: 1.5em;
    letter-spacing: -0.015em;
}

em, i {
    font-style: italic;
}

p, ul, ol, dl, table {
    margin-bottom: 2em;
}

section, article {
    margin-bottom: 3em;
}

section > :last-child,
article > :last-child {
    margin-bottom: 0;
}

section:last-child,
article:last-child {
    margin-bottom: 0;
}

header {
    margin: 0 0 3em 0;
}

footer {
    margin: 3em 0 0 0;
}

footer > p {
    font-size: 1.25em;
}

img {
    border: 0;
}

/* Wrappers */
.wrapper {
    box-shadow: inset 0px 1px 0px 0px rgba(0,0,0,0.05), inset 0px 2px 3px 0px rgba(0,0,0,0.1);
    padding: 7em 0;
    text-align: center;
}

.wrapper-first {
    box-shadow: none;
    padding-top: 10em;
}

.wrapper-style1 {
    background-image: none;
    background-color: #fff;
}

.wrapper-style2 {
    background-color: #fafafa;
    text-shadow: 1px 1px 0px #fff;
}

.wrapper-style3 {
    background-color: #f4f4f4;
    text-shadow: 1px 1px 0px #fff;
}

.wrapper-style4 {
    background-color: #303030;
    color: #999;
    text-shadow: -1px -1px 0px #181818;
}

.wrapper-style4 h1,
.wrapper-style4 h2,
.wrapper-style4 h3,
.wrapper-style4 h4,
.wrapper-style4 h5,
.wrapper-style4 h6 {
    color: #fff;
}

/* Nav */
#nav {
    background-color: #8DBD13;
    text-align: center;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 10000;
    cursor: default;
}

#nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#nav li {
    display: inline-block;
}

#nav a {
    position: relative;
    display: block;
    color: #fff;
    text-decoration: none;
    outline: 0;
    font-size: 120%;
    min-width: 48px;
    min-height: 48px;
    height: 48px;
    padding: 0.2em 1em;
    margin: 0.6em 0.2em;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color .2s ease-in-out;
}

#nav a:hover {
    background: #9DCD23;
    color: #fff !important;
}

#nav a:active {
    background: #484848;
}

#nav a.active:before {
    content: '';
    display: block;
    position: absolute;
    bottom: -0.6em;
    left: 50%;
    margin-left: -0.75em;
    border-left: solid 0.75em transparent;
    border-right: solid 0.75em transparent;
    border-top: solid 0.6em #8DBD13;
}

/* Layout */
.site-layout {
    width: 1200px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    width: 85%;
    margin: auto;
    text-align: justify;
}

/* Alignment helpers */
.aright { text-align: right; }
.aleft { text-align: left; }
.acenter { text-align: center; }

/* Special color */
.cfont1 {
    color: #6E4B13;
}

/* Copyright */
#copyright {
    color: #666;
    font-size: 1em;
}

#copyright a {
    color: inherit;
    transition: color .2s ease-in-out;
}

#copyright a:hover {
    color: #777;
}

/* Blog-specific styles */
.blog-posts {
    text-align: left;
}

.blog-post {
    margin-bottom: 3em;
    padding-bottom: 3em;
    border-bottom: 1px solid #e6e6e6;
}

.blog-post:last-child {
    border-bottom: none;
}

.blog-post h2 {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 0.5em;
}

.blog-post h2 a {
    color: #3e3e3e;
    text-decoration: none;
}

.blog-post h2 a:hover {
    color: #BA7F20 !important;
}

.blog-post .post-meta {
    color: #aaa;
    font-size: 0.9em;
    margin-bottom: 1em;
}

.blog-post .post-excerpt {
    margin-bottom: 1em;
}

.blog-post .post-thumbnail {
    margin-bottom: 1.5em;
}

.blog-post .post-thumbnail img {
    max-width: 100%;
    height: auto;
    display: block;
}

.read-more {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border: 0;
    outline: 0;
    cursor: pointer;
    border-radius: 8px;
    text-shadow: -1px -1px 0.5px rgba(0,0,0,0.5);
    background-color: #8DBD13;
    padding: 0.5em 1.5em;
    font-size: 0.95em;
    transition: background-color .2s ease-in-out;
}

.read-more:hover {
    background-color: #9DCD23;
    color: #fff !important;
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 2em;
    padding-top: 2em;
}

.pagination a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    background-color: #8DBD13;
    padding: 0.5em 1.5em;
    margin: 0 0.5em;
    transition: background-color .2s ease-in-out;
}

.pagination a:hover {
    background-color: #9DCD23;
    color: #fff !important;
}

/* Single Post */
.single-post-content {
    text-align: left;
}

.single-post-content h1 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 0.5em;
}

.single-post-content .post-meta {
    color: #aaa;
    font-size: 0.9em;
    margin-bottom: 2em;
}

.single-post-content .post-body {
    margin-bottom: 2em;
}

.single-post-content .post-body p {
    margin-bottom: 1.5em;
}

.single-post-content .post-body img {
    max-width: 100%;
    height: auto;
}

.back-to-blog {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    background-color: #8DBD13;
    padding: 0.5em 1.5em;
    transition: background-color .2s ease-in-out;
    margin-top: 1em;
}

.back-to-blog:hover {
    background-color: #9DCD23;
    color: #fff !important;
}
