/* Core Stuff */

@font-face {
    font-family: "stdText";
    src: url("../fonts/Hind-Regular.ttf");
}

@font-face {
    font-family: "titleText";
    src: url("../fonts/Teko-Regular.ttf");
}

 html, button, input, select, textarea,
    .pure-g [class *= "pure-u"] {
    font-family: "stdText";
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-rendering: optimizeLegibility;
}

body {
    margin-top:0;
    background-color: #000000;
    background-image: url('../images/background.jpg');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100%;
    font-size: 20px;
    text-shadow: 0px 0px 4px rgba(0,0,0,.8);
    line-height: 1.5;
    color: #f0f0f0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "titleText";
    font-weight: normal;
    color: #ffffff;
}

h1 {
    font-size: 2.4em;
    text-shadow: 0px 2px 0px rgb(0,0,0);
}

h2 {
    font-size: 1.8em;
    color: #c0c0c0;
    text-shadow: 0px 2px 0px rgb(0,0,0);
}

h3 {
    font-size: 1.4em;
}

a {
    color: #DDA0DD;
    text-decoration: none;
}

a:hover {
    color: white;
}

/* Utility Classes */

/* 568px */
@media screen and (min-width: 35.5em) {
    .container {
        width: 720px;
    }
}

/* 768px */
@media screen and (min-width: 48em) {
    .container {
        width: 720px;
    }
}

/* 1024px */
@media screen and (min-width: 64em) {
    .container{
        width: 970px;
    }
}

/* 1280px */
@media screen and (min-width: 80em) {
    .container {
        width: 1170px;
    }
}

.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-right: auto;
    margin-left: auto;
}

.container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.wrapper {
    margin: 0 3rem;
}

.padding {
    padding: 3rem 1rem;
}

.left {
    float: left;
}

.right {
    float: right
}

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

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-discreet {
    font-size: 0.8em;
    color: #c0c0c0;
}

.hidden {
    display: none;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    background-image: url('../images/modal.png');
    display: none;
}

/* Content Styling */

.header-side {
    background-image: url('../images/divider.png');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    margin-top: 40px;
}

.header .logo {
    display: inline-block;
    padding-top: 40px;
    padding-bottom: 20px;
}

.content {
    text-align: center;
}

.content-box {
    background-size: auto;
    background-repeat: no-repeat;
    background-position: top center;
    box-shadow: 0 0 12px rgba(0,0,0,.4), inset 0px 0px 0px 2px rgba(255, 255, 255, 0.2);
    text-align: left;
    padding: 20px;
    padding-top: 80px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.content-box .divider, .content-box hr {
    height: 30px;
    background-image: url('../images/divider.png');
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 8px;
    margin-bottom: 8px;
    border: 0;
}

.content-box h1, .content-box h2 {
    text-align: center;
}

.modal-content {
    margin: 15% auto;
}

button {
    border: 2px solid black;
    padding: 20px;
    border-radius: 4px;
    background-image: linear-gradient(rgb(192, 32, 32), rgb(96, 16, 16));
    text-shadow: 0px 0px 4px rgba(0,0,0,.8);
    color: #f0f0f0;
}

button:hover {
    filter: brightness(120%);
}

.content table img {
    max-width: none;
}

.content table tr td, .content table tr th {
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

.content ul li {
    list-style: square;
    clear: both;
}

.footer {
    text-shadow: 2px 2px 2px #000;
    font-size: 0.8em;
}

.content em {
    color: #909090;
}

/* breadcrumbs */

.breadcrumbs {
    margin-bottom: 4px;
    text-shadow: 2px 2px 2px #000;
}

.breadcrumbs i {
    margin-left: 8px;
    margin-right: 8px;
}

.breadcrumbs span, .breadcrumbs i {
    font-size: 0.8em;
}

/* pics */

strong img {
    box-shadow: 1px 2px 5px 1px #000;
    border-radius: 4px;
}

.gallery-pix {
    padding-left: 2px;
    padding-right: 2px;
}

.gallery-pix img, .gallery-link {
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    box-shadow:0 0 8px rgba(0,0,0,.4);
    transition: all .2s;
}

.gallery-pix img:hover {
    filter: brightness(120%);
}

.gallery-link {
    display: inline-block;
    width: 254px;
    max-width: 100%;
    height: 129px;
    line-height: 129px;
    vertical-align: middle;
    white-space: nowrap;
    background-color: rgba(255, 255, 255, 0.1);
    font-family: "titleText";
    font-size: 1.2em;
    overflow: hidden;
}

.gallery-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.featherlight .featherlight-content {
    border-radius: 4px;
    background-color: #222222;
    color: #f0f0f0;
    box-shadow:0 0 8px rgba(0,0,0,.4);
}

.featherlight .featherlight-close-icon {
    background: none;
    color: #f0f0f0;
}

.featherlight-next span, .featherlight-previous span {
    color: white;
    text-shadow: none;
}

.featherlight-next:hover, .featherlight-previous:hover {
    background-color: rgba(0,0,0,.2);
}

/* characters */

.character-trait {
    padding-left: 64px;
    margin-top: 16px;
}

.character-trait img {
    float: left;
    margin-left: -64px;
    /*outline: 1px solid #c0c0c0;
    outline-offset: -1px;*/
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-top: 6px;
}

.character-trait-text p {
    font-size: 0.8em;
    color: #c0c0c0;
    margin: 0;
    padding: 0;
}

/* events */

.event-item {
    display: block;
    width: 100%;
    height: 150px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow:0 0 8px rgba(0,0,0,.4);
    border-radius: 4px;
    transition: all .2s;
    margin: 0 auto;
    margin-bottom: 3px;
    background-size: cover;
}

.event-preview .event-item {
    height: 129px;
}

.event-box {
    margin: 0 auto;
    max-width: 800px;
}

.event-box img {
    display: block;
    margin: 0 auto;
}

img.event-item-logo {
    display: block;
    max-height: 110px;
    padding-top: 20px;
    margin: 0 auto;
    transition: all .2s;
}

.event-item:hover img.event-item-logo {
    max-height: 120px;
}