/*
Theme Name: Age of Kings Heaven
Version: 1.0
Requires at least: 4.7
Requires PHP: 5.2.4
Author: HeavenGames
Description: Theme for Age of Kings Heaven.
*/
body {
	margin: 0;
	padding: 0;
    color: #FFF0DD;
    background: #300 url(images/aokh_hdr_bnrbkg.jpg);
    font-family: Verdana, Tahoma, Arial, sans-serif;
    font-size: 10pt;
    line-height: 1.1;
}

/* Header: logo and banner */
header.site-header {
	height: 130px;
	text-align: center;
    background:
        url(images/aokh_hdr_leftimg.jpg) no-repeat top left,
        url(images/aokh_hdr_rightimg.jpg) no-repeat top right,
        url(images/aokh_hdr_backg.jpg) repeat-x top left;
}

h1.site-logo, h1.site-logo a {
    width: 339px;
    height: 130px;
}
h1.site-logo {
	margin: 0 auto;
}
h1.site-logo a {
    background: url(images/aokh_hdr_bnr.jpg) no-repeat;
	display: block;
}
h1.site-logo a span {
	display: none;
}

.ad-banner-bottom {
    padding-top: 10px;
}
.ad-leaderboard, .ad-bottom {
    margin: auto;
}
.ad-skyscraper-wrap {
    margin-left: 10px;
    background: url(images/aokh_hdr_bnrbkg.jpg);
}

/* Main area: sidebars and content */
#main {
    display: flex;
}
#left-bar {
	width: 170px;
    flex: none;
    background:
        url(images/aokh_leftnav_topcap.jpg) no-repeat top left,
        url(images/aokh_leftnav_bottomcap.jpg) no-repeat bottom left,
        url(images/aokh_leftnav_bkg.jpg) repeat-y top left;
}
#left-bar .main-nav {
    padding: 20px 15px 20px 10px;
}
#right-bar {
	width: 170px;
    flex: none;
    background:
        url(images/aokh_rightnav_bottomcap.jpg) no-repeat bottom right,
        url(images/aokh_rightnav_bkg.jpg) repeat-y top right;
}
#right-bar .secondary-nav {
    background: url(images/aokh_rightnav_topcap.jpg) no-repeat top right;
    padding: 20px 0 20px 28px;
}

main#site-content {
    flex: 1;
    overflow: auto;
    padding: 18px;
    line-height: 18px;
    color: #000;
    background:
        url(images/aokh_cont_topleftbdrcap.jpg) no-repeat top left,
        url(images/aokh_cont_toprightbdrcap.jpg) no-repeat top right,
        url(images/aokh_cont_bottomrightbdrcap.jpg) no-repeat bottom right,
        url(images/aokh_cont_bottomleftbdrcap.jpg) no-repeat bottom left,
        url(images/aokh_cont_sidebdrright.jpg) repeat-y right 8px,
        url(images/aokh_cont_sidebdrleft.jpg) repeat-y left 8px,
        url(images/aokh_cont_bottombdr.jpg) repeat-x 8px bottom,
        url(images/aokh_cont_topbdr.jpg) repeat-x 8px top,
        #DCAD77 url(images/aokh_cont_bkg.jpg);
}

.nav-trigger, .nav-trigger-label {
    display: none;
}

/* Footer */
.copyright {
    border-top: 1px solid #000;
    font-size: 8pt;
    margin-top: 10px;
}

@media screen and (max-width: 900px) {
    header.site-header {
        background: url(images/aokh_hdr_backg.jpg) repeat-x top left;
    }
}

@media screen and (max-width: 749px) {
    #main {
        display: block;
    }
    #left-bar {
        width: auto;
    }
    #right-bar {
        width: auto;
    }
    #right-bar {
        display: none;
    }
    .main-nav {
        position: absolute;
        width: 170px;
        margin-left: -200px;
        transition: margin-left 0.5s;
        z-index: 10;
        background:
            url(images/aokh_leftnav_topcap.jpg) no-repeat top left,
            url(images/aokh_leftnav_bottomcap.jpg) no-repeat bottom left,
            url(images/aokh_leftnav_bkg.jpg) repeat-y top left;
    }
    .nav-trigger + .nav-trigger-label:before {
        content: "Show ";
    }
    .nav-trigger:checked + .nav-trigger-label:before {
        content: "Hide ";
    }
    .nav-trigger:checked ~ .main-nav {
        margin-left: 0;
    }
    .nav-trigger-label {
        margin-top: 5px;
        padding: 10px 20px;
        width: 120px;
        display: inline-block;
        color: #FFF0DD;
        font-weight: bold;
        padding: 10px;
    }
    .nav-trigger-label:hover {
        cursor: pointer;
    }
}

@media screen and (max-width: 339px) {
    header.site-header {
        background: none;
        height: auto;
    }
    h1.site-logo, h1.site-logo a {
        width: auto;
        background-size: contain;
        background-position: center;
    }
}

/* Content styles */
h1, h2, h3 {
    font-family: "Georgia", sans-serif;
    color: #600;
}

h1 { font-size: 1.7em; }
h2 { font-size: 1.4em; }
h3 { font-size: 1.15em; }

#site-content strong { color: #600; }

div.clear { clear: both; }

.header-image {
    text-align: center;
}

.breadcrumbs {
    font-size: 8pt;
    border-bottom: 1px dotted #BA8B66;
    margin-bottom: 10px;
}
.author {
    font-size: .8333em;
    padding-left: 10px;
}
.feature-about {
    font-weight: bold;
    text-align: center;
    color: #600;
    font-size: .8333em;
}
#feature h1 {
    margin-bottom: 0px;
}

#feature img.screen {
    border: 1px solid #000;
}

#feature blockquote {
    border: 0px solid #666;
    background:url(images/quote.gif) no-repeat;
    background-position: top left;
    padding-left: 30px;
    text-align: justify;
    font-style: italic;
}

footer a:link, footer a:visited {
    text-decoration: underline;
}

main a:link, main a:visited {
    color: #2F3C5D;
    text-decoration: underline;
}
main a:hover {
    color: #ff0000;
    text-decoration: none;
}

main img {
    border: 0;
    max-width: 100%;
}

main ol li {
    padding-top: 2px;
    padding-bottom: 2px;
}
  
main ul li {
    padding-top: 2px;
    padding-bottom: 2px;
}

.toc {
    font-size: .87em;
    font-weight: bold;
    border-top: 1px dotted #7B5C36;
    border-bottom: 1px dotted #7B5C36;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 80%;
}

.sources {
    border-top: 1px dotted #7B5C36;
    border-bottom: 1px dotted #7B5C36;
    padding: 5px 0 5px 12px;
    width: 88%;
}

.faq_q {
    font-weight: bold;
    margin-bottom: 6px;
    color: #600; 
}

.faq_a {
    padding-left: 10px;
}

.interviewer {
    color: #600;
    font-weight: bold;
}

.int_by {
    padding-left: 10px;
    font-size: .85em;
    font-style: italic;
}

.sandy-block {
    padding: 0 4px 5px 4px;
    border-top: 1px dotted #7B5C36;
}

.seraph { color: #D07500; }
.angel { color: #CC0000; }
.cherub { color: #006600; }

.hg {
    color: #8B0000;
    font-weight: bold;
}
.es {
    color: #003263;
    font-weight: bold;
}

/* News items */
.newsitem dd, .newsitem dt {
    margin: 0;
    padding: 0;
}

.newsitem img {
    padding: 0 12px 0 12px;
}

.newsitem .subject {
    font-family: "Georgia", sans-serif;
    font-size: 1.35em;
    line-height: 1.125;
    margin-top: 0.675em;
    font-weight: bold;
    border-bottom: 1px dotted #7B5C36; 
    color: #600;
}

.newsitem .subject a:link, .newsitem .subject a:visited, .newsitem .subject a:hover {
    text-decoration: none;
    color: #600;
}

.newsitem .postline {
    font-size: .8333em;
    line-height: 1.8;
    margin-bottom: 1.8em;
    text-align: right;
}

.newsitem .newsposter, .newsitem .newsdate {
    font-weight: bold;
}

.newsitem .footer {
    font-size: .8333em;
    line-height: 1.8;
    margin-bottom: 1.8em;
    text-align: right;
    padding: 4px;
}

/* Newsitem Forum Formatting */
.newsitem blockquote .by-line {
    font-size: .8333em;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    text-align: left;
    color: #666;
}

.newsitem blockquote {
    border: 0px solid #666;
    background:url(images/quote.gif) no-repeat;
    background-position: top left;
    padding-left: 30px;
    text-align: justify;
    font-style: italic;
}

.newsitem
{
    padding: 5px;
}

/* News archives */
img.dead
{
    background: transparent url(images/dead-image.gif) top left repeat;
    cursor: help;
}

table.archive td
{
    text-align: left;
}

table.archive-index-container, table.archive-index
{
    width: 100%;
}

table.archive-index-container td
{
    width: 50%;
}

table.archive-index td
{
    font-size: 8pt;
    width: 16%;
}

table.archive-index td.header
{
    background: rgba(100, 50, 0, 0.2);
    font-size: 8pt;
    font-weight: bold;
    padding: 5px;
    text-align: center;
    width: 100%;
}

table.archive-index td a
{
    background: rgba(100, 50, 0, 0.2);
    color: #600;
    display: block;
    padding: 5px;
    text-align: center;
    text-decoration: none;
}

table.archive-index td a:hover
{
    color: #000000;
}

table.archive-index td div.dead
{
    background: rgba(100, 50, 0, 0.2);
    color: #666666;
    display: block;
    padding: 5px;
    text-align: center;
}

.archive-unrecoverable
{
      background: #c00000;
      border-color: #9C652A #F0DAC2 #F0DAC2 #9C652A;
      border-style: solid;
      border-width: 1px;
      color: #FFFFFF;
      font-family: "Verdana", sans-serif;
      font-size: 10pt;
      font-weight: normal;
      margin: 5px 0 15px 0;
      padding: 10px;
      text-align: center;
}

.archive-img-left
{
    float: left;
    padding: 0 10px 0 0;
    text-align: center;
}

.archive-img-right
{
    float: right;
    padding: 0 0 0 10px;
    text-align: center;
}

.archive-link
{
    color: #666666;
    text-decoration: underline;
}

.center
{
    text-align: center;
    padding: 10px 0 10px 0;
}

.news-archive-page ul
{
    padding: 10px 30px 10px 30px;
}

.archive-link-right
{
    text-align: right;
    padding: 10px 0 10px 0;
}


/* Navigation styles */
.sidebar-nav {
    color: #FFF0CA;
    font-size: 83%;
}

.sidebar-nav a:link, .sidebar-nav a:visited {
    color: #FFF0CA;
    text-decoration: none;
}

.sidebar-nav a:link:hover, .sidebar-nav a:visited:hover {
    color: #FFF0CA;
    text-decoration: underline;
}

.sidebar-nav h2 {
    margin: 5px 0;
    font-size: 12pt;
    color: #eee;
    text-shadow: 0px 0px 5px #000;
    font-weight: normal;
}
.sidebar-nav h2 a:link, .sidebar-nav h2 a:visited, .sidebar-nav h2 a:link:hover, .sidebar-nav h2 a:visited:hover {
    color: #eee;
}
.sidebar-nav ul {
    margin: 0 0 10px 10px;
    padding: 0;
}
.sidebar-nav li {
    list-style: none;
}
.wp-block-search .wp-block-search__button {
    padding: 0;
}

.cherub {
    color : #006600;
}
.angel {
    color : #CC0000;
}
.seraph {
    color : #D07500;
}

/* HG plugin overrides */
.hg-gallery-album-index .hg-gallery-feature,
.hg-gallery-album-item {
    width: 150px;
}

/* Wordpress overrides */
/* Table styling */
figure.wp-block-table {
    margin: 0;
}
figure.wp-block-table table {
    width: auto;
}
figure.wp-block-table table,
figure.wp-block-table tr,
figure.wp-block-table th,
figure.wp-block-table td {
    border: 1px solid #000;
    border-collapse: collapse;
}
figure.wp-block-table td,
figure.wp-block-table th {
    padding: 1px 2px;
}

/* Images */
figure.aligncenter figcaption {
    text-align: center;
}
.wp-block-image {
    margin-left: 0;
    margin-right: 0;
}
/* Don't squash images on small widths */
.wp-block-image img {
    height: auto;
}

/* Advertisement */
.ad-leaderboard, .ad-bottom {
    width: 728px;
    height: 90px;
}
.ad-skyscraper {
    width: 160px;
    height: 600px;
}
@media screen and (max-width: 1100px) {
    .ad-bottom {
        width: 300px;
        height: 250px;
    }
}
@media screen and (max-width: 749px) {
    .ad-leaderboard {
        width: 300px;
        height: 250px;
    }
}

@media print {
    #left-bar { display: none }
    #right-bar { display: none }
    .ad-banner-wrap { display: none }
    header.site-header { height: auto }
    h1.site-logo, h1.site-logo a { width: auto; height: auto; background: none; }
    h1.site-logo a span { display: block; }
}
