/*
Theme Name: ultimaonline
Theme URI: http://www.uo.com/
Author: Broadsword, Inc.
Author URI: http://www.broadsword.com/
Description: Ultima Online
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ultimaonline
Tags: black, dark, tan, one-column

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

ultimaonline is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Normalize
1.1 Global
2.0 Typography
3.0 Elements
4.0 Forms
5.0 Navigation
	5.1 Links
	5.2 Menus
6.0 Accessibility
7.0 Alignments
8.0 Clearings
9.0 Widgets
10.0 Content
	10.1 Posts and pages
	10.2 Asides
	10.3 Comments & Blockquotes
	10.4 Index and Archive
11.0 Infinite scroll
12.0 Media
	12.1 Captions
	12.2 Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Normalize
--------------------------------------------------------------*/
html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust:     100%;
}

body {
    margin: 0;
}

html, body {
    height: 100%;
    width: 100%;
}

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

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}

a {
    background-color: transparent;
}

a:active,
a:hover {
    outline: 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

h1 {
    font-size: 36px;
    margin: 0.67em 0;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

hr {
    box-sizing: content-box;
    height: 0;
}

pre {
    overflow: auto;
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"] {
    -webkit-appearance: textfield;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

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

td,
th {
    padding: 0.2em;
    border: solid 1px hsl(0, 0%, 80%);
}

/*--------------------------------------------------------------
1.1 Global
--------------------------------------------------------------*/

/* Colors:
#e4b358 gold
#773d66 OLD PURPLE
#6747bb old 2 purple
#9c682a gold link
#c28b3e gold hover
#dedede gray - light (bg)
*/


body {
    background-color: #000;
    background-position: top center;
    background-repeat: no-repeat;
    background-image: url("images/bg/1.jpg");

}


#page {
    width: 1014px;
    margin: 0 auto;


}

.content_left { width: 50%; float: left; padding: 15px; position:relative;
}

.content_right { width: 50%; float: right; padding: 15px; position: relative;
}

.clearboth { clear: both; }

.broadsword-header { width: 1000px;
    margin: 0 auto;
}
.broadsword { width: 15.909270216963%; /*790px - broadsword plus translation*/
    float: left;

}

/* hover image for broadsword logo */
#broadswordlogo { background-image: url("images/broadsword_over.png");
    height: 32px;
    width: 142px;
    background-repeat: no-repeat;
    background-position: top left;
}

#broadswordlogo img:hover { opacity: 0;
}


.translation {
    width: 62%;
    float: left;
}

.select2-container {
    width: 25% !important;
    margin-top: 3px;
}




#featuredpost {

    /*background-image: url("images/bg_featuredpost.png");*/
    background-image: url("images/bg_herotext.png");
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 100% 60%;
    padding: 7px;
    position: absolute;
    top: 120px;
    line-height: 100%;
    z-index: 10;
}

#featuredpost h1 a {
    color: #ffd57e;
    text-shadow: 0px 2px 3px #000000;
}

#featuredpost h3 {
    color: #fff;
    text-shadow: 0px 1px 1px #000000;
}

#featured_button {
    background-image: url("images/btn_gold_lg.jpg");
    background-repeat: no-repeat;
    background-position: 0 -44px;
    width: 220px;
    height: 44px;
    padding-top: 16px;
    text-align: center;
}

#btn_archives {
    background-image: url("images/btn_gold_md.png");
    background-repeat: no-repeat;
    background-position: 0 -35px;
    width: 130px;
    height: 35px;
    text-align: center;
    float: right;
    margin-top: 8px;
    margin-right: 70px;
    margin-left: 15px;
    max-width: 100%;
    padding-top: 9px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857;
}

#featured_button:hover, #btn_archives:hover {

    background-position: 0 0;
}
#featured_button a, #btn_archives a {
    color: #fff;
    text-shadow: 0px 0px 6px #000000;
}

#content-middle {

    background-image: url("images/main_content_bg_tile.png");
    background-repeat: repeat-y;
    background-position: top center;
    width: 100%;
    height: auto;
    padding: 0.5em 0px 0.5em 15px;

}
#content-bottom {

    background-image: url("images/main_content_bg_bottom.png");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top center;
    height: 180px;
    width: 100%;
    margin: 0;

}


/* fixed top navigation bar */
#topbar {
    height: 34px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* min-width: 600px; */
    z-index: 99999;
    background-image: url("images/header.png");
    background-repeat: no-repeat;
}

#social {
    position: absolute;
    top: 26%;
    right: 7%;
    margin: 0;
    overflow: hidden;

}

#social_fb, #social_tw, #social_yt {
    height: 38px;
    width: 38px;
    float: left;
    margin: 0 4px;
}

#social_fb a {
    background: transparent url("images/social_facebook.png");
    background-repeat: no-repeat;
    background-position: 0px -38px;
    display: block;
    height: 38px;
    width: 38px;
}

#social_fb a:hover, #social_tw a:hover, #social_yt a:hover {
    background-position: 0px 0px;
}



#social_tw a {
    background: transparent url("images/social_twitter.png");
    background-repeat: no-repeat;
    background-position: 0px -38px;
    display: block;
    height: 38px;
    width: 38px;
}




#social_yt a {
    background: transparent url("images/social_youtube.png");
    background-repeat: no-repeat;
    background-position: 0px -38px;
    display: block;
    height: 38px;
    width: 38px;
}



#feature_myuo,
#feature_emnews,
#feature_wiki,
#feature_store {
    height: 150px;
    text-align: center;
    margin: 0;
}



#feature_myuo {
    background-image: url("images/feature_myuo.png");
    background-repeat: no-repeat;
}


#feature_emnews {
    background-image: url("images/feature_emnews.png");
    background-repeat: no-repeat;
    margin-top: -7px;
}

#feature_playnow {
    background-image: url("images/feature_playnow.png");
    background-repeat: no-repeat;
    height: 308px;
    text-align: center;
    margin: 0;
}



#feature_wiki {
    background-image: url("images/feature_wiki.png");
    background-repeat: no-repeat;

}

#feature_store {
    background-image: url("images/feature_store.png");
    background-repeat: no-repeat;
    margin-top: -7px;
}

/* darken hovers for feature boxes */
#feature_store:hover {
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .3) 50%, rgba(0,0,0,0) 90%, rgba(0, 0, 0, 0) 100%),
    url("images/feature_store.png");
    background-repeat: no-repeat;
}

#feature_playnow:hover {
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .3) 50%, rgba(0,0,0,0) 90%, rgba(0, 0, 0, 0) 100%),
    url("images/feature_playnow.png");
    background-repeat: no-repeat;
}

#feature_myuo:hover {
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .3) 50%, rgba(0,0,0,0) 90%, rgba(0, 0, 0, 0) 100%),
    url("images/feature_myuo.png");
    background-repeat: no-repeat;
}

#feature_emnews:hover {
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .3) 50%, rgba(0,0,0,0) 90%, rgba(0, 0, 0, 0) 100%),
    url("images/feature_emnews.png");
    background-repeat: no-repeat;
}

#feature_wiki:hover {
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .3) 50%, rgba(0,0,0,0) 90%, rgba(0, 0, 0, 0) 100%),
    url("images/feature_wiki.png");
    background-repeat: no-repeat;
}


/* feature box hyperlinks */
#feature_playnow a h3 {
    color: #000;
    padding-top: 264px;
    font-size: 22px;
    font-weight: normal;
}

#feature_myuo a h3,
#feature_emnews a h3,
#feature_wiki a h3,
#feature_store a h3 {
    color: #fff;
    padding-top: 119px;
    text-align: center;
    font-weight: normal;
}

#feature_myuo a h3:hover,
#feature_emnews a h3:hover,
#feature_wiki a h3:hover,
#feature_store a h3:hover {
    color: #ffd57e;
}

#feature_playnow a h3:hover {
    color: #fff;
}

#cntctfrm_contact_form {
    margin-top: 20px;
}


/* FOOTER */

.site-info {
    color: #dedede;
    font-size: 10px;
    text-align: center;
    clear: both;
    padding-top: 15px;
}

.site-info a {
    color: #dedede;
}

#footerlegal {
    margin: 0 20px;
}

#footerlegal .footerlogos {
    width: 33.33%;
    float: left;
}

#footerlegal .broadswordlogo  {
    text-align: center;
}

#footerlegal .broadswordlogo a img {
    margin-top: -25px;
}

#footerlegal .esrblogo a img {
    margin-top: -12px;
}

#footerlegal .ealogo  {
    text-align: right;
}

#footerlegal .esrblogo  {
    text-align: left;
}
/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
/* @font-face {
	font-family: alcuin;
	src: url(inc/URWAlcuinSCT.ttf);
}
*/

body,
button,
input,
select,
textarea {
    color: #333333;
    font-size: 14px;
    line-height: 20px;
    font-family: Mako, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    font-weight: 900;
    font-family: Fondamento, serif;
    -ms-word-break: normal;
    word-break: normal;
}

p {
    margin-bottom: 1.5em;
}

b,
strong {
    font-weight: bold;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 15px;
    font-size: 0.9375rem;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

small {
    font-size: 75%;
}

big {
    font-size: 125%;
}


h1.entry-title a {
    font-size: 26px !important;
    color: #9c682a;
}

h1.entry-title a:hover {
    color: #c28b3e; /* gold hover */
}

.entry-content a.btn-gold {
    font-size: 18px;
}

.accordion-title:hover {
    color: #c28b3e; /* gold hover */
}


/* Override Google Translate plugin CSS (for upgrade-proof-ness) */

#flags {
    width: 240px !important;
    line-height: 34px;
    margin: 5px 0 0 0px !important;
}



/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
html {
    box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    box-sizing: inherit;
}




blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
}

blockquote,
q {
    quotes: "" "";
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
    list-style-image: url('images/bullet.png');
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 1.5em 1.5em;
}

img {
    height: auto; /* Make sure images are scaled correctly. */
    max-width: 100%; /* Adhere to container width. */
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    padding: 0.25em 0.5em;
    font-size: 12px;
    font-size: 1.2rem;
    font-family: "Mako", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    line-height: 1;
    color: hsl(0, 0%, 100%);
    background: #3c3c3c;
    background: hsl(0, 0%, 24%);
    border: none;
    border-radius: 3px;
    cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
    -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background: #000;
}
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    background: #000;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
    padding: 8px;
    font-family: "Mako", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
    border: 1px solid #ccc;
}


.archive-search {
    width: 35%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
    color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
    padding: 3px;
}

textarea {
    padding-left: 3px;
    width: 100%;
}


/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a {
    text-decoration: none;
    color: #c28b3e;
    /*color: #333;*/
}



a:hover,
a:focus,
a:active {
    text-decoration: underline;
    color: #c28b3e; /* gold hover */
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 0;
}



#ngshow a { text-decoration: underline;
}





/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/

/* broadsword nav links */
.account a,
.account a:link,
.account a:visited,
.account a:active,
.support a,
.support a:link,
.support a:visited,
.support a:active { color: #e6e6e6;
    text-transform: uppercase;
    font-size: 12px;
}

.account a:hover,
.support a:hover {
    color: #ffd57e;
}

.account, .support {
    width: 10.355029585799%; /*105px */
    float: left;
    padding: 3px 0;
    line-height: 30px;
}

.account {
    background-image: url("images/navbar_br.png");
    background-position: 78% 0%;
    background-repeat: no-repeat;
    background-size: 2px 32px;
}
/* main site nav */
/*#site-navigation { background-image: url("images/menu.png");*/
#site-navigation { background-image: url("images/menu_nobr.png");
    background-repeat: no-repeat;
    margin-top: 32px;
    margin-left: 80px;
    height: 50px;
    padding-top: 15px;
    position: fixed;
    z-index: 99999;
}

.main-navigation {
    position: relative;
    float: left;
    width: 100%;
    display: block;
    clear: both;
    font-family: Fondamento, serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 999;


}

/* reduce font size for languages with longer words */

/* google translate */

.menu-topmenu-container ul li a font {

    font-size: 18px;
    margin-left: -12px;
}

/* transposh */
.main-navigation a:lang(fr),
.main-navigation a:lang(de),
.main-navigation a:lang(pt){
    font-size: 11px;
    font-size: 1.1rem;

}

.main-navigation a:lang(es){
    font-size: 10px;
    font-size: 1.0rem;
    padding: 0 1.0em;
    margin-left: -0.5em;
}

.main-navigation ul {
    list-style: none;
    display: table;
    padding: 0;
    width: 74.950690335306%; /*760px*/
}
.main-navigation li {
    float: left;
    position: relative;
    margin-left: 24px;
    margin-top: -8px;
    background-image: url("images/navbreak.png");
    background-position: top right;
    background-repeat: no-repeat;
    background-size: 3px 41px;
    text-align: center;
    height: 40px;
    padding-top: 9px;

}


/* purple hover over main nav */
/*.menu-topmenu-container > ul > li:hover:after {*/
    /*content: "\A";*/
    /*width: 100%;*/
    /*height: 100%;*/
    /*background-image: url("images/menu_highlight.png");*/
    /*background-repeat: no-repeat;*/
    /*background-size: 100% 100%;*/
    /*position: absolute;*/
    /*top: 0;*/
    /*left: 0;*/
/*}*/

.menu-topmenu-container > ul > li > a:hover {

    height: 100%;
    background-image: url("images/menu_highlight.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;

}

.main-navigation li:last-child { background-image: none;
}

.main-navigation a {
    display: block;
    padding: 0 22px 0 12px;
    font-size: 24px;
    text-decoration: none;
    line-height: 24px;
    color: #ffd57e;
}

.main-navigation ul ul {
    position: absolute;
    left: 0;
    top: 40px; /* remove top if reverting to old purple glow rollovers */
    z-index: 99999;
    display: none;
    float: left;
    padding: 0;
    background: #000;
    background: hsl(0, 0%, 0%);
    border-left: 1px solid #e4b358;
    border-bottom: 1px solid #e4b358;
    border-right: 1px solid #e4b358;
    border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;
    width: 200px;
    margin-top: 0px;
    margin-left: 0.45em;

}
.main-navigation ul ul ul {
    left: 100%;
    top: 0;
}
.main-navigation ul ul a {
    width: 200px;
    font-size: 16px;
    text-transform: none;
    line-height: 1.4em;
}
.main-navigation ul ul li {
    margin-left: 0;
    background-image: none;
    height: auto;
}


.main-navigation li:hover > a {
    color: #fff;
    color: hsl(0, 0%, 100%);
}
.main-navigation ul ul :hover > a {
}
.main-navigation ul ul a:hover {
    color: #fff;
}
.main-navigation ul li:hover > ul {
    display: block;

}
.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a:hover,
.main-navigation .current-menu-item > a:hover {

    color: #fff;
}

.main-navigation .current_page_ancestor {
    color: #fff;
}

.main-navigation ul ul .current_page_parent,
.main-navigation .current_page_parent .current_page_item > a {
    color: #fff;
    color: hsl(0, 0%, 100%);

}


.breadcrumbs {
    color: #fff;
    padding-left: 50px;
    margin-top: 20px;
    text-transform: uppercase;
    text-shadow: 0px 1px 3px #000000;

}
.breadcrumbs a {

    color: #fff;
    text-shadow: 0px 1px 3px #000000;
}


/*--------------------------------------------------------------
WTB Template Sub Navigation
--------------------------------------------------------------*/


#wtb-content-top {
    background-image: url("images/wtb_content_bg_top.png");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100%;
    padding-top: 18.639053254438%;
    margin: 0;
    width: 100%;
    position: relative;
    height: 280px;

}
nav.wtb-navigation {

    margin-top: -7%;
    position: relative;
    z-index:10;


}

.wtb-navigation ul {
    list-style: none;
    padding: 0;
    width: 90%;
    margin: 0 3em;
}
.wtb-navigation li {
    float: left;
    position: relative;
    margin-left: 1.2em;

}


.wtb-navigation a {
    font-family: "Mako", "Helvetica Neue", Helvetica, Arial, sans-serif;
    display: block;
    padding: 0 0.5em;
    font-size: 10px;
    font-size: 1.0rem;
    text-decoration: none;
    line-height: 1.1em;
    color: #fff;
    text-transform: uppercase;

}

.wtb-navigation .current_page_item > a,
.wtb-navigation .current-menu-item > a,
.wtb-navigation .current_page_item > a:hover,
.wtb-navigation .current-menu-item > a:hover {

    color: #e4b358;
}

.wtb-navigation a:hover {
    color: #e4b358;
}

/* Small menu. */
.menu-toggle {
    display: none;
}




.site-main .comment-navigation,
.site-main .paging-navigation,
.site-main .post-navigation,
.site-main .posts-navigation {
    font-size: 11px;
    font-size: 1.1rem;
    font-family: "Mako", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333333;
}
.comment-navigation .nav-previous,
.paging-navigation .nav-previous,
.post-navigation .nav-previous,
.posts-navigation .nav-previous {
    width: 50%;
    float: left;
    padding-right: 15%;
}
.comment-navigation .nav-next,
.paging-navigation .nav-next,
.post-navigation .nav-next,
.posts-navigation .nav-next {
    width: 50%;
    float: right;
    padding-left: 15%;
    text-align: right;
}

.posts-navigation .nav-previous {
    padding-left: 73px;
}

.posts-navigation .nav-next {
    padding-right: 73px;
}

.posts-navigation .nav-previous a, .posts-navigation .nav-next a {
    color: #9c682a;
}

.posts-navigation .nav-previous a:hover, .posts-navigation .nav-next a:hover {
    color: #c28b3e;
}

.nav-indicator {
    margin-bottom: 1em;
}

.nav-previous h1,
.nav-next h1 {
    font-weight: 900;
}

.post-nav-box {
    padding: 2em 0;
    margin-bottom: 4em;
    border-top: hsl(0, 0%, 80%) solid 1px;
    border-bottom: hsl(0, 0%, 80%) solid 1px;
}

/* Pagination */

.paging-navigation ul {
    margin: 0;
    float: right;
}

.paging-navigation li { display: inline; }

a.page-numbers,
span.page-numbers {
    padding: .3em .7em;
    color: #333;
    color: hsl(0, 0%, 20%);
    border: 1px solid #b0b0b0;
}

a:hover.page-numbers {
    color: #333333;
    background-color: #b0b0b0;
    text-decoration: none;
}

.paging-navigation .current {
    font-weight: bold;
    color: #fff;
    color: hsl(255, 255%, 255%);
    background-color: #b0b0b0;
}

/* Event Calendar */

.tribe-events-notices {
    background: #ffd57e;
    border: 1px solid #333;
    color: #333;
    margin: 8px 0 18px;
    padding: 8px 35px 8px 14px;
    text-shadow: 0 1px 0 #fff;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

#tribe-events {
    margin-top: 105px;
}

#tribe-events .tribe-events-button, #tribe-events .tribe-events-button:hover, #tribe_events_filters_wrapper input[type=submit], .tribe-events-button, .tribe-events-button.tribe-active:hover, .tribe-events-button.tribe-inactive, .tribe-events-button:hover, .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-], .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-]>a {
    background-color: #ffd57e;
}

#tribe-events .tribe-events-content p:first-of-type {
    margin: 120px 0 0 0;
}

/* Mail Chimp newsletter subscription form */

#nlbox {
    position: absolute;
    right: 350px;
    top: 9px;
}

#nlbox input {
    width: 300px;
    line-height: 20px;
    color: #ccc;
    border-radius: 5px;
    font-style: italic;
}

#newsletter {
    position: absolute;
    left: 660px;
    top: 10px;
}

#newsletter input[type="submit"] {
    background:url("images/btn_gold_md.png") no-repeat;
    cursor:pointer;
    border: none;
    display: block;
    background-repeat: no-repeat;
    background-position: 0 -35px;
    width: 130px;
    height: 35px;
    text-align: center;
    margin-top: -2px;
    text-shadow: 0px 0px 6px #000000;
} /* submit button */

#newsletter input[type="submit"]:hover {

    background-position: 0 0;
}

.mc4wp-success, .mc4wp-notice, .mc4wp-error, .mc4wp-alert {
    color: #e4b358 !important;
    background-color: transparent !important;
    border-color: transparent !important;
    width: 100%;
    height: 55px;
    background-image: url("images/herald_header.png");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 88%;
    padding-top: 7px;
    z-index: 500;
} /* success message */


.mc4wp-error { display: none !important;}

/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    right: 0;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*--------------------------------------------------------------
8.0 Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}

/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget {
    margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
    max-width: 100%;
}

/* Search widget. */
.widget_search .search-submit {
    display: none;
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.sticky {
    display: block;
}

.hentry {
    margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
    display: none;
}

.single .byline,
.group-blog .byline {
    display: inline;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;

}

.singlefix {
    position: relative;
    top: -50px;
}

.entry-summary, .page-content {
    padding: 0 4em;
}
.page-links {
    clear: both;
    margin: 0 0 1.5em;
}



hr.posthr {
    border: 0;
    height: 1px;
    width: 85%;
    margin-top: 2em;
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(228,179,88,1), rgba(0,0,0,0));
    background-image:    -moz-linear-gradient(left, rgba(0,0,0,0), rgba(228,179,88,1), rgba(0,0,0,0));
    background-image:     -ms-linear-gradient(left, rgba(0,0,0,0), rgba(228,179,88,1), rgba(0,0,0,0));
    background-image:      -o-linear-gradient(left, rgba(0,0,0,0), rgba(228,179,88,1), rgba(0,0,0,0));
}

/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
    display: none;
}

/*--------------------------------------------------------------
10.3 Comments & Blockquotes
--------------------------------------------------------------*/
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/* Blockquotes */
blockquote {
    padding: 1em 1.5em 0;
    margin-bottom: 1em;
    font-style: italic;
    border-top: solid 1px hsl(0, 0%, 80%);
    border-bottom: solid 1px hsl(0, 0%, 80%);
}

blockquote em {
    font-style: normal;
}

blockquote cite {
    display: block;
    margin-top: 1em;
    margin-left: 40%;
    font-size: 12px;
    font-size: 1.2rem;
    font-family: "Mako", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-style: normal;
    line-height: 1.5em;
    text-align: right;
}

blockquote.alignleft {
    width: 50%;
    float: left;
    padding: 1em 0 0;
    margin-right: 2em;
}

blockquote.alignright {
    width: 50%;
    float: right;
    padding: 1em 0 0;
    margin-left: 2em;
}

/* Blockquotes responsive */
/* Rules that set blockquotes to full width on smaller screens */
@media screen and (max-width: 780px) {
    blockquote.alignleft,
    blockquote.alignright { width: 40%; }
}

@media screen and (max-width:600px) {
    blockquote.alignleft,
    blockquote.alignright {
        width: 100%;
        padding: 1em 1.5em 0;
    }
}


/*--------------------------------------------------------------
10.4 Index and Archive
--------------------------------------------------------------*/

.continue-reading {
    margin: 0 4rem;
    font-weight: 900;
    font-size: 12px;
    font-size: 1.2rem;
}

.continue-reading i { margin-left: .5em; }






/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
    display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/

img {
    max-width: 100%;
}

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

/*--------------------------------------------------------------
12.1 Captions
--------------------------------------------------------------*/
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 90%;
}
.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 0 auto;
}
.wp-caption-text {
    text-align: center;
}
.wp-caption .wp-caption-text, .gallery-caption {
    padding: 0.4075em 0.5em;
    font-size: 11px;
    font-size: 1.1rem;
    font-family: "Mako", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #e5e5e5;
    background: hsl(0, 0%, 90%);
}

/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/
.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    position: relative;
    max-width:100%;
    float: left;
    margin-right: 3.333333333%;
    margin-bottom: 3rem;
    background: #333;
    overflow: hidden;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    max-height: 50%;
    width: 100%;
    padding: 6px 8px;
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #fff;
    text-align: left;
    background-color: hsla(0, 0%, 0%, .8);
    opacity: 0;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}
.gallery a img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border: none;
}

@media handheld, screen and (max-device-width: 800px) {
    body { width:100%; }
    .main-navigation a {
        font-size: 18px;
        padding: 0 18px 0 9px;
    }
}
