@font-face {
	font-family: 'alexon';
	src: url('../fonts/alexon.ttf');
}

@font-face {
    font-family: 'AlexonLight';
    src: url('../fonts/alexon.ttf');
}


@import url(https://fonts.googleapis.com/css?family=EB+Garamond);

* {
    padding: 0;
    margin: 0 auto;
    outline: 0 !important;
}

body {
    background: url('../images/background.jpg') no-repeat center top;
}


div#headerNavBG {
    width: 938px;
    height: 152px;
    background: url('../images/headerNavBG.jpg') no-repeat center top;
}

#headerNav {
	width: 720px;
	height: 60px;
	text-align: center;
}

#headerNav a {
    font-family: 'OptimusPrinceps';
    color: #fffce0;
    text-decoration: none;
    font-size: 15px;
    margin: 31px;
    text-shadow: 1px 1px 1px black;
    line-height: 57px;
}

#headerNav a:nth-child(3) {
    font-size: 19px;
    position: relative;
    top: 2px;
    right: 3px;
}

#headerNav a:hover {
    color: white;
}

#loginBtn {
    display: block;
    margin: 0 auto;
    height: 61px;
    width: 188px;
    background: url('../images/loginBtn.jpg') no-repeat center top;
    position: relative;
    left: 7px;
    top: 11px;
    text-align: center;
    font-family: 'OptimusPrinceps';
    color: rgba(253, 245, 216, 0.98);
    text-shadow: 1px 2px 1px black;
    line-height: 56px;
    font-size: 14px;
    text-decoration: none;
}

#loginBtn:hover {
	background-position: 0 -61px;
}

header {
width: 1000px;text-align: center;margin: -8px auto;}

div#wrapper {
    width: 800px;
    margin: 68px auto 0 auto;
    min-height: 1357px;
}

aside {
    width: 240px;
    height: 1097px;
    float: left;
}

.asideHead {
	height: 61px;
	width: 182px;
	background: url('../images/aside_head.png') no-repeat center;
	position: relative;
	z-index: 9;
}

div#playerStats, #social, #server, #ranking, #posts {
margin: 27px 37px 0;}

.asideHead h3 {
    color: #ffffd8;
    font-weight: normal;
    font-family: 'OptimusPrinceps';
    line-height: 61px;
    text-align: center;
    text-shadow: -1px 2px 1px black;
    font-size: 18px;
}


#playerStatsBG {
	height: 150px;
	width: 241px;
	background: url('../images/playerStatsBG.jpg') no-repeat top;
	position: relative;
	top: -6px;
	right: 26px;
}

#playerStatsBG span {
    display: block;
    position: relative;
    top: 16px;
    left: 79px;
    color: white;
    font-family: Cambria;
    font-size: 13px;
    padding: 1px 0 28px 0;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.64);
}

span#red {
position: relative;top: 15px;}

span#yellow {
    position: relative;
    top: 15px;
}

span#blue {
    position: relative;
    top: 15px;
}

span#playeronline {
    position: relative;
    left: 33px;
    top: 5px;
}

#social {
    margin-top: 17px;
}

#social a {
    position: relative;
    left: 38px;
    top: 5px;
}

#social #facebook {
	float: left;
	display: block;
	height: 34px;
	width: 42.5px;
	background: url('../images/social.png') no-repeat 0px 0px;
}

#social #facebook:hover {
	background: url('../images/social.png') no-repeat 0px -38px;
}

#social #ts3 {
	display: block;
	height: 34px;
	width: 42.5px;
	background: url('../images/social.png') no-repeat -42.5px 0px;
}

#social #ts3:hover {
	background: url('../images/social.png') no-repeat -42.5px -38px;
}

div#server {
    margin-top: 24px;
}

#serverBG {
	height: 140px;
	width: 238px;
	background: url('../images/serverBG.jpg') no-repeat center; 
}

#server table {
    margin: 6px -31px;
    width: 265px;
}

span.status_name {
    color: #c7b9ae;
    font-family: 'OptimusPrinceps';
    text-shadow: -2px 1px 1px #000;
    font-size: 13px;
    position: relative;
    left: 28px;
    top: 3px;
}

span.on_off {
    position: relative;
    right: 75px;
    font-size: 13px;
    text-shadow: 1px 1px 1px black;
    font-family: 'OptimusPrinceps';
}

#server tr {
    height: 14px;
}

#server img {
    opacity: 0.6;
    background: rgba(0, 0, 0, 0);
}

div#ranking {
    margin-top: 45px;
}

#rankingBG {
	height: 244px;
	width: 260px;
	background: url('../images/rankingBG.jpg') no-repeat center;
	position: relative;
	top: -37px;
	left: -47px;
}

#rankingBG table {
    width: 200px;
    /* height: 100px; */
    position: relative;
    top: 37px;
    left: 28px;
    color: white;
    font-size: 14px;
    font-family: 'OptimusPrinceps';
}

#rankingBG tr {
    height: 38px;
}

div#posts {
    margin-top: -23px;
}

#posts img {
    margin: 4px -37px;
    opacity: 0.5;
}

#posts p, #posts a {
    padding-top: 10px;
    color: white;
    font-family: 'OptimusPrinceps';
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    max-width: 169px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
}

main {
    float: right;
    width: 500px;
    height: 1062px;
}

h1.mainHeadline {
    color: #fffece;
    font-weight: normal;
    font-size: 19px;
    line-height: 35px;
    text-indent: 11px;
    width: 165px;
    height: 34px;
    position: relative;
    left: 155px;
    top: -10px;
    font-family: 'OptimusPrinceps';
    text-align: center;
    text-shadow: 1px 2px 1px black;
}

.mainHead {
    height: 124px;
    width: 594px;
    background: url('../images/mainHead.png') no-repeat center rgba(0, 0, 0, 0);
    position: relative;
    left: -72px;
    margin-bottom: -62px;
    /* opacity: .7; */
}

.mainHead h3 {
    /* opacity: 1; */
    text-align: center;
    line-height: 56px;
    text-indent: 18px;
    color: white;
    font-size: 17px;
    font-family: 'OptimusPrinceps';
    font-weight: normal;
    text-shadow: 1px 1px 1px #000;
}

.main_mid {
    width: 470px;
    font-family: 'EB Garamond', serif;
    color: #B6B8B9;
    text-shadow: 1px 1px 1px black;
    font-size: 13px;
    position: relative;
    z-index: 9;
    padding-bottom: 55px;
}

a {
    color: wheat;
}

main table, main tr, main td, main ul, main li, main p, main span {
    font-family: 'EB Garamond', serif;
    font-size: 13px !important;
    color: #B6B8B9;
    text-shadow: 1px 1px 1px black;
}

div#splitRight {
    position: absolute;
    margin: -122px 238px;
    font-size: 12px;
    color: white;
}

header a img:hover {
    opacity: .9;
}

p#coins {
    position: absolute;
    left: 362px;
    top: -81px;
    font-size: 15px !important;
    color: white;
}

#isleft a {
    margin-left: 10px;
    text-align: center;
}

input#ca {
    position: relative;
    top: 41px;
    left: 100px;
}

input#ca {}

img.ca {
    position: relative;
    top: 156px;
    left: 94px;
}

.main_mid table {
    text-align: center;
    width: 100%;
}

/* -------------------------------- 

Primary style

-------------------------------- */
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-size: 100%;
  font-family: "Lato", sans-serif;
  color: #8f9cb5;
  background-color: #ffd88f;
}

a {
  color: #35a785;
  text-decoration: none;
}

/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
.img-replace {
  /* replace text with an image */
  display: inline-block;
  overflow: hidden;
  text-indent: 100%;
  color: transparent;
  white-space: nowrap;
}

/* -------------------------------- 

Main components 

-------------------------------- */
header h1 {
  font-size: 20px;
  font-size: 1.25rem;
}

@media only screen and (min-width: 1170px) {
  .cd-popup-trigger {
    margin: 6em auto;
  }
}

/* -------------------------------- 

xpopup 

-------------------------------- */
.cd-popup {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
  z-index: 99;
}
.cd-popup.is-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s;
}

.cd-popup-container {
  position: relative;
  width: 90%;
  height: 236px;
  background: url('../images/loginBG.png') no-repeat center;
  max-width: 449px;
  margin: 4em auto;
  border-radius: .25em .25em .4em .4em;
  text-align: center;
  -webkit-transform: translateY(-40px);
  -moz-transform: translateY(-40px);
  -ms-transform: translateY(-40px);
  -o-transform: translateY(-40px);
  transform: translateY(-40px);
  /* Force Hardware Acceleration in WebKit */
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.cd-popup-container p {
  padding: 3em 1em;
}
.cd-popup-container .cd-buttons:after {
  content: "";
  display: table;
  clear: both;
}
.cd-popup-container .cd-buttons li {
  float: left;
  width: 50%;
}
.cd-popup-container .cd-buttons a {
  display: block;
  height: 60px;
  line-height: 60px;
  text-transform: uppercase;
  color: #FFF;
  -webkit-transition: background-color 0.2s;
  -moz-transition: background-color 0.2s;
  transition: background-color 0.2s;
}
.cd-popup-container .cd-buttons li:first-child a {
  background: #fc7169;
  border-radius: 0 0 0 .25em;
}
.no-touch .cd-popup-container .cd-buttons li:first-child a:hover {
  background-color: #fc8982;
}
.cd-popup-container .cd-buttons li:last-child a {
  background: #b6bece;
  border-radius: 0 0 .25em 0;
}
.no-touch .cd-popup-container .cd-buttons li:last-child a:hover {
  background-color: #c5ccd8;
}
.cd-popup-container .cd-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
}
.cd-popup-container .cd-popup-close::before, .cd-popup-container .cd-popup-close::after {
  content: '';
  position: absolute;
  top: 12px;
  width: 14px;
  height: 3px;
  background-color: #8f9cb5;
}
.cd-popup-container .cd-popup-close::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  left: 8px;
}
.cd-popup-container .cd-popup-close::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  right: 8px;
}
.is-visible .cd-popup-container {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}
@media only screen and (min-width: 1170px) {
  .cd-popup-container {
    margin: 8em auto;
  }
}

.cd-popup-container input[type="text"], .cd-popup-container input[type="password"] {
    height: 43px;
    width: 143px;
    background: url('../images/login_input.png') no-repeat center;
    border: 0 !important;
    text-align: center;
    font-family: 'AlexonLight';
    color: white;
    text-shadow: 1px 1px 1px black;
    font-size: 17px;
    position: relative;
    top: 45px;
    left: -70px;
}

.cd-popup-container input[type="submit"] {
    height: 28px;
    width: 89px;
    background: url('../images/login_submit.png') no-repeat center;
    border: 0 !important;
    text-align: center;
    font-family: 'AlexonLight';
    color: white;
    text-shadow: 1px 1px 1px black;
    font-size: 16px;
    line-height: 18px;
    position: relative;
    top: -30px;
    right: -90px;
}

a.password {
        font-family: 'AlexonLight';
        color: white;
        text-shadow: 1px 1px 1px black;
        font-size: 13px;
        position: absolute;
        top: 125px;
        left: 275px;
        z-index: 1;
        text-decoration: none;
}


input:focus, input:active, input:hover, input:enabled, input:-webkit.autofill {
    background-color: transparent !important;
    border: 0 !important;
    outline: 0;
    -webkit-box-shadow: 0 !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
        height: 43px;
    width: 143px;
    background: url('../images/login_input.png') no-repeat center;
    border: 0 !important;
    text-align: center;
    font-family: 'AlexonLight';
    color: white;
    text-shadow: 1px 1px 1px black;
    font-size: 17px;
}


.cd-popup-container input::-webkit-input-placeholder {
   color: #fff;
}

.cd-popup-container input:-moz-placeholder { /* Firefox 18- */
   color: #fff;  
}

.cd-popup-container input::-moz-placeholder {  /* Firefox 19+ */
   color: #fff;  
}

.cd-popup-container input:-ms-input-placeholder {  
   color: #fff;  
}

p.copyright {
    clear: both;
    position: relative;
    /* float: right; */
    font-family: 'EB Garamond', serif;
    font-size: 12px;
    /* right: 28px; */
    top: -30px;
    left: 20px;
    color: #b4bbbc;
    text-shadow: 1px 1px 1px black;
    text-align: center;
}