* {
	padding: 0;
	margin: 0;
}

html {
	background-color: #000;
}

body {
	font-family: 'Open Sans',sans-serif;
	font-size: 16px;
	color: #2c2c2c;
	background-color: #FFF;
}

img {
	border: none;
}

a:link,
a:active,
a:visited,
a {
	text-decoration: none;
	color: #000;
	outline: none;
}

#page {
	width: 960px;
	margin: 0 auto;
}

#header {
	background: URL('/images/header_bg.png') top left #FFD500;
	padding: 10px 0 0 0;
}

#logo {
	height: 100px;
	background-color: #FFF;
}

#logo-inner {
	width: 960px;
	margin: 0 auto;
}

#logo a img {
	margin-left: -15px;
}

#nav {
	width: 960px;
	margin: 0 auto;
}

#nav > ul {
	width: 960px;
	list-style: none;
	font-size: 18px;
	float: left;
}

#nav > ul > li > a:link,
#nav > ul > li > a:active,
#nav > ul > li > a:visited,
#nav > ul > li > a {
	padding: 5px 10px 15px 10px;
	margin: 0 10px 0 0;
	display: block;
	float: left;
	font-weight: bold;
	font-size: 22px;
	height: 25px;
	color: #000;
}

#nav > ul > li.current > a {
	background: url('/images/menu_arrow.png') center 35px no-repeat transparent;
}

#nav > ul > li.current > a:hover,
#nav > ul > li > a:hover {
	background: url('/images/menu_arrow.png') center -55px no-repeat transparent;
}

#sub-nav {
	padding: 15px;
	color: #FFF;
	background-color: #000;
	clear: both;
	height: 110px;
	overflow: hidden;
}

#sub-nav a:link,
#sub-nav a:active,
#sub-nav a:visited,
#sub-nav a {
	color: #FFF;
	font-weight: bold;
}

#sub-nav a:hover {
	color: #FFD500;
}

#sub-nav > div {
	display: none;
	width: 940px;
	margin: 0 auto;
	list-style: none;
}

#sub-nav > div.current {
	display: block;
}

#sub-nav > div > ul,
#sub-nav > div > div {
	padding: 0 20px 0 20px;
	float: left;
	height: 110px;
	overflow: hidden;
}

#sub-nav > div > ul {
	border-left: 1px dotted #FFD500;
}

#sub-nav > div > div {
	padding-left: 0;
	width: 200px;
}

#sub-nav > div > div.full {
	width: 920px;
}

#sub-nav > div ul {
	list-style: none;
}

#sub-nav > div ul li ul {
	padding: 0 0 0 10px;
}

#sub-nav > div > div > a p {
	font-weight: normal;
	margin-top: 5px;
}

#sub-nav > div > div > a:hover p {
	color: #FFF;
}

#content {
	min-height: 500px;
	clear: both;
	width: 960px;
	margin: 0 auto 80px auto;
	font-size: 18px;
	padding-bottom: 40px;
	min-height: calc(100vh - 400px);
}

#content p {
	margin-bottom: 20px;
}

#content hr {
	border: 0;
	border-bottom: 1px dashed #FFD500;
	margin: 0 auto 20px auto;
	width: 50%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: bold;
	margin-top: 40px;
	font-size: 36px;
}

h2 {
	font-size: 32px;
}

h3 {
	font-size: 28px;
}

h4 {
	font-size: 24px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 18px;
}

#content ul {
	margin: 15px;
}

#content ul li {
	margin: 5px 0;
}

#content a {
	text-decoration: none;
	font-weight: bold;
}

#content a:hover {
	color: #FFD500;
}

#content .post {
	margin-bottom: 40px;
}

#content .posts .post-header a {
	display: block;
	border: none;
    text-decoration: none;
}

#content .posts .post {
    padding-bottom: 10px;
    border-bottom: 1px dashed #000;
}

#content .posts .post:last-child {
    border-bottom: none;
}

#content .post-header h1 {
    margin: 30px 0 5px 0;
}

#content .post-header {
    margin-bottom: 30px;
}

#content .post-header .post-info {
    font-size: 16px;
}

#content .posts a:hover p {
	color: #000 !important;
}

#content pre {
    padding: 20px;
    font-family: 'Droid Sans Mono', 'Open Sans', sans-serif;
    font-size: 16px;
    background: #000;
    color: #fafafa;
    border: 1px dashed #DDD;
	margin-bottom: 20px;
    overflow: auto;
}

#content pre code {
    overflow: visible;
}

#content pre.plain {
    padding: 20px;
    font-family: 'Droid Sans Mono', 'Open Sans', sans-serif;
    background: #f8f8f8;
    color: #000;
}

#content div.recent_posts {
    float: right; 
    width: 250px; 
    background-color: #000; 
    padding: 5px 10px; 
    text-align: right; 
    border-radius: 5px 0 0 5px;
}

#content div.recent_posts h3 {
    color: #FFD500; 
    margin: 0;
}

#content div.recent_posts ul {
    list-style: none; 
    margin: 0; 
    padding: 0;
}

#content div.recent_posts ul li a {
    color: #FFF;
}

.post-list-entry {
	margin-bottom: 40px;
}

.post-content .post-list-entry > img,
.post-list-entry > img {
	border-radius: 10px;
	display: block;
	float: left;
	width: 200px;
	height: 200px;
	margin: 20px 20px 20px 0;
	object-fit: cover;
}

.post-list-entry > p {
	margin-top: 20px;
}

.post-header img {
	border-radius: 10px;
	display: block;
	object-fit: cover;
}

.post-header img.header {
	width: 100%;
	max-height: 200px;
	margin-top: 20px;
}

.post-header img.inset-right {
	float: right;
	clear: both;
	max-height: 400px;
	margin-left: 20px;
	margin-bottom: 20px;
}

.post-header img.inset-left {
	float: left;
	clear: both;
	max-height: 400px;
	margin-right: 20px;
	margin-bottom: 20px;
}

.post-header img.hidden {
	display: none;
}

.post-content img {
	margin: 20px 0;
	border-radius: 10px;
	display: block;
	width: 100%;
	object-fit: scaled;
}

.post-content img.small {
	max-width: 300px;
	max-height: 300px;
	object-fit: contain;
}

.post-content img.small-w {
	max-width: 300px;
	object-fit: contain;
}

.post-content img.small-h {
	max-width: 300px;
	object-fit: contain;
}

.post-content img.inset-left {
	display: block;
	float: left;
	margin: 0 20px 20px 0;
}

.post-content img.inset-right {
	display: block;
	float: right;
	margin: 0 0 20px 20px;
}

.post-content div.image-grid {
	float: left;
}

.post-content img.tile-2 {
	display: block;
	float: left;
	width: 460px;
	height: 460px;
	object-fit: cover;
	margin: 20px 10px;
}

.post-content img.tile-3 {
	display: block;
	float: left;
	width: 300px;
	height: 300px;
	object-fit: cover;
	margin: 20px 10px;
}

.post-content img.contain {
	object-fit: contain;
}

.post-content img.cover {
	object-fit: cover;
}

.post-content img.scaled {
	object-fit: scaled;
}

.post-content img.center {
	margin-left: auto;
	margin-right: auto;
}

blockquote {
	font-weight: bold;
	font-size: 32px;
	font-style: italic;
	padding-left: 20px;
	margin: 40px 0;
}

.cards {
	display: flex;
	padding-left: 15px;
}

.cards.grey {
	background-color: #ccc;
	border-radius: 10px;
}

.card {
	border: 1px solid #ddd;
	border-radius: 10px;
	float: left;
	width: 298px;
	margin: 15px 15px 15px 0;
	position: relative;
	padding-bottom: 60px;
	background-color: #fff;
}

.card h3 {
	margin: 10px 5px;
	text-align: center;
}

.card img {
	display: block;
	width: 298px;
	height: 298px;
	margin: 0;
	border-radius: 10px;
	object-fit: cover;
}

.card p {
	padding: 5px 10px;
}

a.button,
.card a {
	display: block;
	font-weight: bold;
	background-color: #FFD500;
	border-radius: 5px;
	padding: 5px;
	text-align: center;
	width: 268px;
}

.card a {
	margin: 10px;
	position: absolute;
	bottom: 0;
}

a.button:hover,
.card a:hover {
	background-color: #000;
}

a.arrow {
	padding: 3px 15px 3px 15px;
	border-bottom: 2px solid #FFD500;
}

a.arrow:hover {
	background-color: #000;
}

#footer {
	background-color: #000;
	padding: 10px 0;
	text-align: center;
	min-height: 100px;
}

#footer a:link,
#footer a:active,
#footer a:visited,
#footer a {
	color: #FFF;
	margin-right: 20px;
}

#footer a:hover {
	color: #FFD500;
}
