:root {
    --header-margin: 20px;
    --base-color: #E4E4E4;
}

body {
    background-color: #000A12;
    color: var(--base-color);
    font: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
    margin: 5px 5px 5px 5px;
}

module {
    border: none !important;
}

* {
    color: var(--base-color);
}

a {
    color: #FFD800;
}

a:hover {
    color: #FFFFFF;
}


/* Header */
#SectionsNavModule {
    margin-bottom: var(--header-margin);
}

#PrimaryNav {
    background: #194862 url('http://i.imgur.com/HALWpUP.jpg') !important;
    background-repeat: repeat no-repeat !important;
    background-position: right bottom !important;
    border-width: 0 1px 1px 1px;
    border-style: solid;
    border-color: grey;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

#PrimaryNav > * {
    margin-bottom: var(--header-margin);
}


#SiteLogo img {
    content: url(http://i.imgur.com/qk2lY6x.png);
    width: 258px;
    height: 20px;
}

#GamesNavModule {
    display: none;
}

#SearchForm {
    outline: none !important;
    margin-top: calc(var(--header-margin) - 25px);
}
/* End Header */


/* Search */
#SearchForm {
    margin-bottom: var(--header-margin);
    outline: 1px groove white;
}

input#SearchQueryInput {
    height: 30px;
}

.MiscIcon.SearchIcon {
    background: url(http://i.imgur.com/q6X9KRW.png);
    background-size: cover;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: darkgrey;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: darkgrey;
}
::-ms-input-placeholder { /* Microsoft Edge */
    color: darkgrey;
}
/* End Search */


/* Modules */
.PageModule {
    border: 1px solid #0A1C26;
    padding-top: 10px;
    padding-right: 5px;
    margin: 0;
}

.PageModule > h2 {
    background: #144B67;
    border: 1px solid #17425B;
    color: #FFFFFF;
    font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
    font-size: 1.5em;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 0 1em 0;
    margin: 0;
}

.PageModule > h2:after {
    display: none;
}

.PageModule > .Content {
    background-color: #0A1E29;
    border: 1px solid #17425B;
    color: #E4E4E4;
}
/* End Modules */

#HeadlineWrapper, #PageFooter {
    background: #0C222E;
    border: 1px solid #17425B; /* Originally used to be border-bottom only */
}

#MainContentHeader {
    background: #194862 !important;
}

#SubNavigator {
    border-bottom: transparent;
}

#SecondaryNav {
    background: #194862;
}

#Headline {
    margin-top: 0 !important;
}