/*
Theme Name: Empires Heaven
Version: 1.0
Requires at least: 4.7
Requires PHP: 5.2.4
Author: HeavenGames
Description: Theme for Empires Heaven.
*/
body {
	margin: 0;
	padding: 0;
    background-color: #000;
    color: #fff;
    font-family: Verdana, Helvetica, sans-serif;
    font-size: 10pt;
    line-height: 1.3;
}

#top {
    color: #000;
    background:
        url(images/ehg_mfbleftbdr.jpg) no-repeat left bottom,
        url(images/ehg_mfbrightbdr.jpg) no-repeat right bottom,
        url(images/ehg_mfbbdr.jpg) repeat-x left bottom,
        url(images/ehg_leftbdr.jpg) repeat-y left top,
        url(images/ehg_rightbdr.jpg) repeat-y right top,
        #c0bcb0 url(images/ehg_bkg.jpg);
    padding-bottom: 10px;
}

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

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

.ad-banner-top {
    padding: 5px 0;
}
.ad-banner-bottom {
    padding: 10px 0 0;
}
.ad-leaderboard, .ad-bottom, .ad-banner {
    margin: auto;
}
.ad-skyscraper {
    margin: 0 auto;
}

/* Main area: sidebars and content */
#main {
    display: flex;
}
#left-bar {
    width: 160px;
    padding-left: 10px;
    flex: none;
}
#right-bar {
    width: 160px;
    padding-right: 10px;
    flex: none;
}
nav.main-nav {
    padding: 5px 10px 15px 15px;
    background:
        url(images/ehg_lhstop.jpg) no-repeat left top,
        url(images/ehg_lhsbottom.jpg) no-repeat left bottom,
        url(images/ehg_lhsmid.jpg) repeat-y left top;
}

main#site-content {
    flex: 1;
    overflow: auto;
}

#content-wrapper {
    padding: 10px;
    background:
        url(images/ehg_cftopleftbdr.jpg) no-repeat left top,
        url(images/ehg_cftoprightbdr.jpg) no-repeat right top,
        url(images/ehg_cfbottomleftbdr.jpg) no-repeat left bottom,
        url(images/ehg_cfbottomrightbdr.jpg) no-repeat right bottom,
        url(images/ehg_cftopmidbdr.jpg) repeat-x left top,
        url(images/ehg_cfbottommidbdr.jpg) repeat-x left bottom,
        url(images/ehg_cfmidleftbdr.jpg) repeat-y left top,
        url(images/ehg_cfmidrightbdr.jpg) repeat-y right top,
        #c1bcb1;
}

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

/* Footer */
.copyright {
    margin-top: 10px;
    border-top: 1px solid #666;
    padding-top: 5px;
    line-height: 120%;
    font-size: 7pt;
    text-align: center;
}

@media screen and (max-width: 749px) {
    #top {
        background:
            #c0bcb0 url(images/ehg_bkg.jpg);
    }
    header.site-header {
        background: url(images/ehg_logobkg.jpg) repeat-x top left;
    }
    h1.site-logo {
        margin-left: -15px;
    }
    #main {
        display: block;
        padding: 0 7px 10px 7px;
    }
    #left-bar {
        width: auto;
        padding: 0;
        background: none;
    }
    #right-bar {
        display: none;
    }
    nav.main-nav {
        position: absolute;
        margin-left: -200px;
        transition: margin-left 0.5s;
        z-index: 10;
        width: 135px;
    }
    .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 {
        width: 130px;
        padding: 10px 15px 16px;
        display: inline-block;
        color: #000;
        font-weight: bold;
        background:
            url(images/ehg_lhstop.jpg) no-repeat left top,
            url(images/ehg_lhsbottom.jpg) no-repeat left bottom,
            url(images/ehg_lhsmid.jpg) repeat-y left top;
    }
    .nav-trigger-label:hover {
        cursor: pointer;
    }
}

/* Content styles */
h1,h2,h3,h4,h5,h6 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

h1 {
    line-height: normal;
    margin: 0 0 .25ex 0;
    font-size: 18pt;
}

h2 {
    line-height: normal;
    margin: 0.75ex 0 .25ex 0;
    font-size: 14pt;
}

h3 {
    line-height: normal;
    margin: 0.75ex 0 .25ex 0;
    font-size: 12pt;
}

a:link { color: #930; }
a:visited { color: #630; }

.breadcrumbs {
    font-size: 0.9em;
    margin-bottom: 10px;
}

.post.type-post h2 {
    margin: 0;
}
.post.type-post .post-meta {
    margin: 0 0 0.5em;
    font-size: 8pt;
}
.post.type-post p {
    margin: 0 0 0.5em;
}

/* Navigation styles */
nav.sidebar-nav {
    font-size: 8.5pt;
    line-height: 1.3;
}

nav.sidebar-nav h2 {
    margin: 10px 0 0 0;
    font-size: 10pt;
}

nav.sidebar-nav ul, nav.sidebar-nav li {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav.sidebar-nav ul {
    margin: 0 0 0 7px;
}

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

/* Wordpress overrides */
hr {
    border-top: 1px solid #666 !important;
    border-bottom: none !important;
    clear: both;
}
/* 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 #666;
    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, .ad-banner {
    width: 728px;
    height: 90px;
}
.ad-skyscraper {
    width: 160px;
    height: 600px;
}
@media screen and (max-width: 730px) {
    .ad-leaderboard {
        width: 300px;
        height: 250px;
    }
}
@media screen and (max-width: 1090px) {
    .ad-bottom {
        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; }
}
