/* Barrens CSS */

/* Fonts */

@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700|Roboto+Slab:300');

@font-face {
    font-family: 'Friz Quadrata Std';
    src: url('../fonts/FrizQuadrataStd.eot');
    src: url('../fonts/FrizQuadrataStd.eot?#iefix') format('embedded-opentype'),
        url('../fonts/FrizQuadrataStd.woff2') format('woff2'),
        url('../fonts/FrizQuadrataStd.woff') format('woff'),
        url('../fonts/FrizQuadrataStd.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* Common classes */

body, html {
  background-color: #222222;
  background-image: url(../images/template/bg-2.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
	height: 100%;
  color: white;
  font-family: 'Roboto', Arial, sans-sans-serif;
  font-weight: 200;
}

html {
  overflow-y: scroll;
}

/* Bootstrap overrides */
a {
  color: #ffb018;
}

a:hover {
  color: white;
  text-decoration: none;
}

.navbar-dark .navbar-brand:focus, .navbar-dark .navbar-brand:hover {
  color: #ddd;
}

.btn,
.btn:focus,
.btn:not(:disabled):not(.disabled):active,
.btn:hover {
  position: relative;
  top: 0;
  padding: 0 10px;
  margin: 0 9px;
  background-color: red;
  height: 37px;
  background: url(../images/template/btn-middle.png) repeat-x left 0;
  border: 0;
  border-radius: 0;
  color: #ffb018;
  text-shadow: 1px 1px 0 #222, -1px -1px 0 #222, -1px 1px 0 #222, 1px -1px 0 #222;
  font-family: 'Friz Quadrata Std', serif;
  font-size: 18px;
  line-height: 37px;
  box-shadow: none;
}

.btn:hover,
.btn:not(:disabled):not(.disabled):active:hover {
  text-shadow: 1px 1px 0 #222, -1px -1px 0 #222, -1px 1px 0 #222, 1px -1px 0 #222, 0 0 10px white;
}

.btn:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: -9px;
  width: 9px;
  height: 37px;
  background: url(../images/template/btn-left.png) no-repeat left 0;
}

.btn:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: -9px;
  width: 9px;
  height: 37px;
  background: url(../images/template/btn-right.png) no-repeat left 0;
}

.btn:not(:disabled):not(.disabled):active,
.btn:not(:disabled):not(.disabled):active:before,
.btn:not(:disabled):not(.disabled):active:after {
  background-position: left -37px !important;
}

.btn img {
  position: relative;
  top: -1px;
  left: -5px;
  height: auto;
}

.form-control, .form-control:focus, .form-control:active {
  background-color: rgba(0, 0, 0, 0.5);
  border-color: #888;
  color: #eee;
  box-shadow: none;
}

.form-control:focus, .form-control:active {
  border-color: #ffb018;
}

textarea {
  background-color: rgba(0,0,0,0.5);
  color: white;
}

/* Page structure */
#wrapper {
  min-height: 100%;
  position: relative;
}

header {
  background: url(../images/template/topbar-bg.gif) repeat-x center top;
  min-height: 112px;
  margin-bottom: 20px;
}

#realm-list {
  font-size: 16px;
}

#realm-list code {
  color: #aaa;
}

#site-nav {
  width: 100%;
  padding: 0 104px;
  box-sizing: border-box;
  position: relative;
  height: 63px;
}

#site-nav:before, #site-nav:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  width: 104px;
  height: 63px;
}

#site-nav:before {
  left: 0;
  background: url(../images/template/menu-left.png) no-repeat left 0;
}

#site-nav:after {
  right: 0;
  background: url(../images/template/menu-right.png) no-repeat left 0;
}

#site-nav > div {
  width: 100%;
  height: 63px;
  background: url(../images/template/menu-middle.png) repeat-x center top;
}

#site-nav ul.nav {
  display: block;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  padding-top: 25px;
}

#site-nav ul.nav li {
  display: inline-block;
  margin-right: 20px;
}

#main {
  padding-bottom: 46px;
}

footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 46px;
  background: url(../images/template/bottom-bg.gif) repeat-x center center;
}

.navbar-top {
	padding-top: 43px;
}

.navbar-top .navbar-brand {
	font-family: 'Roboto Slab', serif;
  font-weight: 300;
  color: white;
  padding-top: 7px;
}

.navbar-top .navbar-brand img {
	height: 30px;
}

.navbar-top .navbar-brand .navbar-title {
	font-size: 1.5rem;
	margin-left: 0.5em;
	vertical-align: middle;
}

/* Page elements */
#account-header .username {
  margin-right: 10px;
  font-size: 14px;
  position: relative;
  top: 2px;
}

article {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 30px;
  border-style: solid;
  border-width: 38px;
  border-image: url(../images/template/border.png) 86 fill repeat;
}

article.news_row .news_head {
  font-size: 16px;
  margin: 0 0 1em;
  padding-bottom: 0.4em;
  border-bottom: 1px solid #e2c249;
  text-transform: uppercase;
  text-align: center;
}

article.news_row .post_info {
  font-size: 12px;
  color: #ccc;
}

h1 {
  text-align: center;
  margin-bottom: 40px;
  font-family: 'Friz Quadrata Std';
}

.mce-content-body {
  padding: 0;
}

.mce-content-body h2 {
  margin-top: 40px;
}

.mce-content-body h3 {
  margin: 30px 0 10px 0;
  font-size: 18px;
  font-weight: normal;
}

.mce-content-body h4 {
  margin: 15px 0 5px;
  font-size: 16px;
  font-weight: bold;
}

.mce-content-body p,
.mce-content-body p + p {
  margin: 10px 0;
}

.mce-content-body ol,
.mce-content-body ul {
  margin: 5px 0 15px;
}

.mce-content-body ol li,
.mce-content-body ul li,
.mce-content-body ol li + li,
.mce-content-body ul li + li {
  margin-top: 5px;
}

.mce-content-body ul.pairs li {
  list-style: none outside none;
}
.mce-content-body ul.pairs li:nth-child(2n) {
    margin-bottom: 1em;
}

.mce-content-body img {
  max-width: 100%;
  width: auto;
  height: auto;
}

/* Forms */
.form-group {
  position: relative;
}

.form-group span {
  position: absolute;
  bottom: 8px;
  right: 10px;
}

/* Register */
#success {
  text-align: center;
}

/* GM */
.page #gm ul.tabs-menu {
  list-style: none outside none;
  margin: 0 0 20px;
  padding: 0;
}

.page #gm ul.tabs-menu li {
  display: inline-block;
  border: 1px solid #ffb018;
  background: rgba(0, 0, 0, 0.5);
}

.box.ticket.characters {
  margin-bottom: 20px;
}

#tickets .gm_ticket {
  padding: 15px;
  border: 1px solid #ffb018;
  background: rgba(0, 0, 0, 0.5);
  margin: 0 0 10px;
}

#tickets .ticket .header .assignee_box .assignee {
  top: 0;
  color: #ffb018;
  border-color: #ffb018;
}

#tickets .btn.close {
  opacity: 1;
}
