@charset "utf-8";
/* CSS Document */
@import "fonts.css";
@import "theme.css";

body.main {
    background-image: url("../images/banner.png"),var(--background);
    background-repeat: no-repeat, repeat;
    background-position: center 80px, top left;}

a,nav a:hover {color:var(--color-accent);}

nav a {color: #999;}
nav a:hover {color: #b7812e;}

hr {
    width: 80%;
    margin: 3rem auto 1em auto;
    background: #885f12;
    height: 0.3rem!important;
    border: none;
}

/* Header Styles */
header.top {background-color: #000;background-position: top;height: 3rem;}
header.top div {width: 1050px;margin:0 auto 0 max(22%,290px);}
header.top h1 {display: inline-flex;}
header.top img {width: 38px;margin-top: 5px;}

.menu_image {height: 210px;overflow: hidden;}
.menu_image img {width: 100%;}
.grid_6 > .cover_image {overflow: hidden;height: 200px;}
.grid_4 > .cover_image {overflow: hidden;height: 150px;}
.grid_3 > .cover_image {overflow: hidden;height: 100px;}

.cover_image img {width:100%;}
.display_image,.char_image {text-align: center;}
.display_image img,.char_image img {max-width: 80%;}

.news_box div {background:#fff;margin-bottom: 2%;}
.news_box h3, .news_box p {padding: 0px 10px;}
.news_box p {margin: 5px 0;font-size: .9em;}
.sub_stories > div {min-height: 300px;}
.sub_stories p {
    line-height: 1.5em;
}
.cover_image {height: 150px;overflow: hidden;}
.news_box {
    margin: 2em 0;
}
p.tags {font-size: .7em;color: #999;margin: -8px 0 0 0;text-transform: uppercase;}
.tags span {
    margin-right: 6px;
    margin-top: 10px;
    background: #f6f5f3;
    padding: 0 8px;
    display: inline-block;
}
.clear-bk {
    background: none!important;
    text-align: center;
}
.clear-bk a {
    background: #875900;
    padding: 10px 30px;
    margin: 10px;
    color: #fff;
}
.clear-bk a:hover {
    background: #333;
}

/* Character Index */
.character-block div {background-size: cover;text-align: center;margin-bottom:1em;margin-top:1em;height:175px;}
.character-block h2 {color: #fff;background: #8c5f1c;margin: 0;padding: 10px;}
.character-block li {list-style: none;background: #0000009e;color:#999;font-size:1.2em;line-height: 1.9em;}
.character-block ul {margin:0;padding: 0;}
.character-block a {color:#cb9d46;}
.character-block a:hover {color:#fff}

.index-block div {background:#111;height: 100px;overflow: hidden;line-height: 80px;text-align: center;margin-bottom: 2em;}
.index-block div:hover {background:#8c5f1c;}
.index-block a:hover h3 {color:#fff!important;}
.index-block a h3 {color:#8c5f1c!important;}
/* Navigation */
.image_menu {overflow: hidden;}
.image_menu li div {    
  position: relative;
    background-size: cover;
    height: 75px;
    margin: 1% 1%;
    background-position: 50% 0%;}
.narrow li div {height: 50px;}
nav li.tall div {height: 125px;}
nav li.xtall div {height: 155px;}
div.ftall ul div {height: 225px;}
.ftall > div {
    margin: 0 .25%!important;
    width: 16.16%!important;  
}
.link_image2 em {
    display: block;
    font-size: .7em;
    text-transform: none;
    font-style: normal;
    opacity: .6;
}
#tab-mini ul {border-bottom: 1px solid #e2e0de;}

.image_menu li div:hover {background-size: 125%;}
.narrow li div:hover {background-size: 115%;}

li.link_image2 {width: 48%;float:left;}
li.link_imagel {width: 48%;float:left;}
li.link_image1 {width: 98%;float:left;}
li.link_image3 {width: 32%;float:left;}
li.link_image4 {width: 24%;float: left;height: 75px;margin: .5%;}

li.link_imagel {height: 75px;margin: 1%;font-weight: 500;}
li.link_image2 span,li.link_image1 span,li.link_image3 span ,li.link_image4 span {
    display: block;
    background: #000000ab;
    position: absolute;
    bottom: 0;
    color: #eee;
    padding: 6px 0;
    font-size: 1.2em;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
}
li.link_image2 span,li.link_image1 span,li.link_image3 span,li.link_image4 span  {font-size: 1.2em;}

li.link_image2 a:hover span,li.link_image1 a:hover span{color: #cb9d46;}
li.link_imagel a,li.link_image3 a,li.link_image4 a  {display: block;line-height: 1.3em;}


.fakelink {opacity: .25;}
.fakelink div:hover {background-size: 100%!important;}
.fakelink a:hover {cursor:default;}
/* Heading Styles */
h1, h2, h3, h4 {margin:0;font-family: 'Fjalla One', sans-serif;}
h1 {font-weight: normal;font-size: 2.2em;margin: 1em 0 .3em 0;}
h2 {font-weight: normal;font-size: 1.7em;margin:20px 0 10px 0;}
h3 {font-weight: normal;margin:10px 0 0 0;font-size: 1.4em;}
h4 {font-weight: normal;margin:10px 0 0 0;font-size: 1.2em;}
.search h2 {font-size: 1.6em;text-align: right;margin: 10px;display: inline-block;line-height: 1.4em;vertical-align: middle;}

header.top {border-bottom: 2px solid #cb9d46;}
header.top h1 {color: #fff;font-size: 1.8em;margin-top: 13px;margin-left: 6px;}

/* Image Styles */
.story_cover {
    height: 300px;
    overflow: hidden;
}
.story_cover img {width:100%;}
#characters .portrait img,#dragons .portrait img,#winged_wolves .portrait img,#divinity .portrait img {display:none;}

.wiki_header_image {width: 100%;display: block;text-align: center;}
.wiki_header_image img {    max-height: 500px;max-width: 100%;}

.wiki_header_cover {height: 300px;overflow: hidden;margin:20px 0;}
.wiki_header_cover img {width:100%;vertical-align: bottom;}
.wc_golden {background: url("../images/splash_gold.png") top center no-repeat;background-size: 80%;border-bottom: 3px solid #885f12;margin-bottom: 40px;padding-bottom: 20px;}

/* Tabs Styles */
 ul.tab-menu {overflow: hidden;width: 100%;padding: 0;background: #fff;border-bottom:2px solid #8c5f1c;}
 ul.tab-menu li {list-style: none;float: left;display: block;padding: 5px 20px;text-align:center;font-size: 1.1em;}
 ul.tab-menu a {margin: 10px;display: block;color: #333;}
 ul.tab-menu a:hover {color:#a78112;}
.tab-menu li.ui-tabs-active.ui-state-active:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #8c5f1c;
    clear: both;
    margin: 5px 0 0 -9px;

}
#abilities ul {padding-left: .5em;margin:0}
#abilities ul li {list-style: none;}

/* Character Index */
#char-index {width: 1100px;margin: 60px auto 0 auto;padding-bottom: 100px;}
#char-index h1 {margin:0;}

.character-index table {width:100%;border-collapse: collapse;margin-top:40px;}
.character-index table tr td.hidden:first-child,
table#characters tr td.hidden:nth-child(6),
table#dragons tr td.hidden:nth-child(6),
table#winged_wolves tr td.hidden:nth-child(7)
{width:50px!important;text-align:center;}
table#dragons tr td:first-child {width:0px!important;}
table tr td {width:fit-content;padding: 3px 8px;border-bottom: 1px solid #dddad4;}
tbody {border:1px solid #dddad4}
.deceased:before {content: url("../images/icon-grave.png");margin-left: -16px;margin-top: 3px;position: absolute;}
.weapon, .artifact, .item {list-style: none;}

.weapon:before, .artifact:before, .item:before {
    margin-left: -20px;
    margin-top: 3px;
  position: absolute;}
.weapon:before {content: url("../images/icon-weapon.png");}
.artifact:before {content: url("../images/icon-artifact.png");}
.item:before {content: url("../images/icon-item.png");}

li.deceased.hidden:before {margin-top: 5px;}
table {/*font-size:.9em;*/}
.character-index table tr th {color: #14120f;font-size: .9em;text-transform: uppercase;text-align:left;}
.character-index table tr {border-bottom:1px solid #32292426}
.character-index table tr td {padding: 3px;}
.character-index span {
    display: block;
    font-size: .75em;
    text-transform: uppercase;
    color: #646260;
    margin-top: -8px;
    text-align: left;
    letter-spacing: 1px;
    font-weight: 500;
}

table .portrait img{
    width: 45px;
    border: 1px solid #32292426;
    background: #dbd9d6;
    vertical-align: middle;
    margin: 0.3em;
}


.logo-link h1,.logo-link h1:before {font-size: 1.8em;color: #fff;}
.logo-link h1:after {content:"";font-size: .6em;position: absolute;margin-left: 10px;}
.logo-link::before {content: "";
  background-image:url("../images/set_kythar/badge.png");
  background-size:42px 42px;
  width: 42px;
  height: 42px;
  position: absolute;
  top: 3px;
  left: -10px;}
.logo-link.main h1:after {content:"";font-size: .6em;position: absolute;margin-left: 10px;}

.logo-link h1 {
    font-size: 1.6em;
    text-align: left;margin: 0.8rem 0 0 0;
}

/* Form Shit */
input#searchme {border: 1px solid #83580087;font-size: 1.2em;color:#835800;padding:5px;}
input#searchme:focus {outline: none;border: 1px solid #bd9936;box-shadow: 0 0 0.3em #ffba008a;}

.infobox h3 {padding:15px 0 0 0;color:var(--color-accent)}

/* Unordered List Styles */
img.list-portrait {
    width: 25px;
    vertical-align: middle;
    border: 1px solid #ddd;
    margin: 1px 3px;
    background: #fff;
}
img.list-icon {
    width: 25px;
    vertical-align: middle;
    margin: 1px 3px;
}
.charlist-box {}
.col-4 {column-count: 4;}
.col-3 {column-count: 3;}
.col-2 {column-count: 2;}
.charlist-box ul {margin:0;padding:0;}
.charlist-box ul li {list-style:none;}
.charlist-box ul li.list-head {margin:25px 0 0 0;}
.charlist-box ul li img {display:none;}
.hidden img {display: inline-block!important;}
.charlist-box span {
    text-transform: none;
    font-size: .9em;
    line-height: 1.2em;
    margin: 0;
}
.charlist-box span:before {content: url(../images/arrow.png);padding-right:2px}