/*
	Author: Roby Layouts
	Author address: http://robylayouts.com/
	Contact: madroby17@gmail.com
	Description: Pokemon Capital Layout.
	Date: 24/01/2015
	Modified: 29/01/2015
*/


@-webkit-keyframes slide-down {
    0%  { top: 50px; opacity: 0; }
    50% { top: 100px; opacity: 1; }
    55% { top: 105px; }
    55% { top: 100px; }
    60% { top: 105px; }
    65% { top: 100px; }
} 

@keyframes slide-down {
    0%  { top: 50px; opacity: 0; }
    50% { top: 100px; opacity: 1; }
    55% { top: 105px; }
    60% { top: 100px; }
    65% { top: 105px; }
    70% { top: 100px; }
} 

* {
	margin: 0;
	padding: 0;
}

ul.nav li a, .social a {
	transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-webkit-transition: all 0.2s ease;
}

html, body {
	height: 100%;
	width: 100%;
}

body {
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	background: #2C2E37;
}

.wrap {
    min-height: 95%;
}

div#header {
    width: 100%;
    background: #333644;
    height: 36px;
    position: relative;
    /* box-shadow: 0 2px 0 rgba(0, 0, 0, 0.05); */
}

.logo {
    position: relative;
    top: -25px;
    display: block;
    background: url(../img/logo.png) no-repeat;
    height: 52px;
    width: 153px;
	margin: 0 auto;
}

div#header ul.nav {
    line-height: 36px;
    text-align: center;
}
div#header ul.nav li {
    display: inline-block;
    top: -1px;
    position: relative;
}
div#header ul.nav li a {
    display: block;
    text-decoration: none;
    color: white;
    text-align: center;
    padding: 0 10px;
    font-size: 10px;
    text-transform: uppercase;
}

div#header ul.nav li a:hover {
    background: rgba(150, 32, 32, 1);
}

ul.social {
    position: absolute;
    left: 0;
    top: 0;
    background: #404351;
    width: 180px;
    height: 46px;
    /* box-shadow: 0 2px 0 rgba(0, 0, 0, 0.05); */
}

ul.social:after {
    content: "";
    position: absolute;
    right: -20px;
    bottom: 0;
    border-style: solid;
    border-width: 10px;
    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #333644;
}

.social li {
    display: block;
    float: left;
}

.social a {
    display: block;
    width: 32px;
    height: 32px;
    background: url(../img/soc-icon.png) no-repeat;
    margin: 7px 5px;
}

.social li:nth-child(1) a { background-position: 0 0; margin-left: 10px; }
.social li:nth-child(2) a { background-position: -32px 0; }
.social li:nth-child(3) a { background-position: -64px 0; }
.social li:nth-child(4) a { background-position: -96px 0; }

.social a:hover {
    transform: rotate(360deg);
}

.promo {
    position: fixed;
    top: 100px;
    left: 20px;
    width: 120px;
    text-align: center;
	-webkit-animation: slide-down 5s infinite;
	animation: slide-down 5s infinite;
}

.promo .btn {
    margin: 0 auto;
}

.promo img {
    box-shadow: 0 1px 0 #3A3B44;
}

.promo p {
    font-size: 12px;
    color: #6A6B79;
}

div#content {
    width: 600px;
    margin: 0 auto;
    padding-top: 40px;
	position: relative;
}

.about p b {
	color: #FFCC03;
}
.about p {
    color: #FFFFFF;
    font-size: 12px;
    padding: 0px 50px 20px 50px;
}

.about p:first-letter {
    padding-left: 10px;
}

.about {
    background: #3A3B44;
    /* border-bottom: 1px solid #458a48; */
    margin-top: 70px;
	position: relative;
}
.about:before {
    content: "";
    position: absolute;
    left: -10px;
    top: -10px;
    width: 87px;
    height: 87px;
    background: url(../img/schema1.png) no-repeat;
    opacity: 0.2;
}
.about:after {
    content: "";
    position: absolute;
    right: -40px;
    top: -50px;
    width: 148px;
    height: 128px;
}

.title {
    background: #202127;
    padding: 3px 10px;
    font-size: 13px;
    color: #458A48;
}

.info {
    position: absolute;
    top: 4px;
    right: 5px;
    color: #4E515E;
    font-size: 12px;
}

.post {
    position: relative;
    margin: 10px auto;
    width: 560px;
}

.text {
    background: #3A3B44;
    color: #BDC3DB;
    padding: 10px;
    font-size: 12px;
}



.login-wrap {
    width: 220px;	
	position: relative;
	
    margin: 0 auto;
	
    top: 140px;
}

.login-wrap .login {
    height: 240px;
    background: #3A3B44;
    border-radius: 0 4px 4px 0;
    border-left: 5px solid #1F2128;
    text-align: center; 
	position: relative;
}

.login-wrap .pokemon {
    background: url(../img/poke2.png) no-repeat;
    width: 306px;
    height: 260px;
    position: absolute;
    left: -28px;
    top: -180px;
}

.login-wrap .corner {
    background: url(../img/login-corner.png) no-repeat;
    width: 82px;
    height: 82px;
    position: absolute;
    left: -10px;
    top: -9px;
}

.login-wrap .login form {
    position: relative;
    top: 40px;
}

.login-wrap .login form input[type="text"], 
.login-wrap .login form input[type="password"] {
    width: 200px;
    height: 30px;
    display: block;
    margin: 5px auto;
    border: none;
    box-shadow: inset 0 2px #c0392b;
    outline: none;
    text-align: center;
    color: #36526D;
	background: #ecf0f1;
}

.login-wrap .login form input[type="text"]:focus, 
.login-wrap .login form input[type="password"]:focus {
    box-shadow: inset 0 2px #2A6BBE;
}

.login-wrap .login form input[type="submit"] {
    width: 70px;
    border: 1px solid rgba(0, 0, 0, 0);
    font-size: 12px;
    cursor: pointer;
    outline: none;
    margin: 0 auto 32px auto;
}

.login-wrap .login input[type="submit"]:active {
    border: 1px solid white;
    box-shadow: 0 0 0 black;
}

.login-wrap .login form input[type="submit"]:hover {
    border: 1px solid #FFF;
}

.login-wrap .login form a {
	color: #B3B3B3;
	font-size: 12px;
	text-decoration: none;
}
.login-wrap .login form a:hover {
	text-decoration: underline;
}

div#footer {
    height: 5%;
    text-align: center;
    font-size: 12px;
    color: #BABFD0;
   /* margin-top: -10px;*/
}

div#footer div {
    display: inline-block;
    margin-right: 10px;
}

div#footer div.credit a {
	color: #5BAB5F;
	text-decoration: none;
}


.btn {
    background: #c0392b;
    display: block;
    width: 50px;
    padding: 2px 10px;
    text-align: center;
    color: #FFF;
    font-weight: 900;
    border-radius: 3px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
    margin: 10px;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}


.noticee  {margin-top:0;}
.notice, .noticee {
	background: #27AE60;
	text-align: center;
	color: #FFF;
	font-size: 12px;
	padding: 2px;
	margin-top: -21px;
	border-radius: 2px;
	position: relative;
}

.login-wrap .error {
    color: white;
    position: absolute;
    z-index: 2;
    font-size: 12px;
    width: 300px;
    background: #c0392b;
    padding: 2px;
    text-align: center;
    left: -40px;
    top: -30px;
    border-radius: 2px;
    border: 2px solid #2C2E37;
}


div#register {
    text-align: center;
    background: #3A3B44;
    color: #FFF;
}

div#register .input {
    width: 300px;
    padding: 6px 10px;
    border: none;
    outline: none;
    background: #2C2E37;
    color: #058CB9;
}

div#register input#button {
    padding: 4px 10px;
}

div#register td.td-width {
    width: 96px;
    height: 95px;
    text-align: center;
}

div#register .error {
    background: #C0392B;
    margin: 3px 0;
    padding: 1px;
}

.notice.reg {
	padding: 5px;
	margin-bottom: 10px;
	width: 320px;
}

td.agree {
    text-align: center;
    padding: 4px;
    font-size: 12px;
}

td.agree input {
    position: relative;
    top: 3px;
    left: -2px;
}
p.banned {
    position: absolute;
    z-index: 1;
    background: #B6382C;
    width: 320px;
    margin-left: -50px;
    border-radius: 2px;
    padding: 2px;
    top: -30px;
    font-size: 12px;
    color: #FFF;
    border: 2px solid #2C2E37;
	text-align: center;
}
.message-detail {
  display: table-row;
}
.status-message {
  display: table-cell;
  vertical-align: middle;
}
.status-icon-container {
  padding-left: 5px;
  padding-right: 5px;
  width: 27px;
}
status-message {
  padding: 5px;
}
.info-notice {
    background-color: #009cde;
    color: #fff;
}
.success-notice {
  background-color: #67ba5b;
  color: #fff;
}
.error-notice {
  background-color: #d35351;
  color: #fff;
}

div#content {
  width: 55%;
  margin: 0 auto;
  margin-left: 28em;
  padding-top: 40px;
  position: relative;
}

.logo {
  position: relative;
  top: .32em;
  left: 1em;
  display: block;
  background: url(../img/entry.png) no-repeat;
  width: 395px;
  height: 150px;
  margin: 0 auto;
}

footer {
  background-color: rgb(58, 59, 68);
  width: 100%;
  position: relative;
  display: flex;
  justify-content: flex-start;
  margin: 1em auto;
  color: #808297;
}

footer div {
  padding: .75em 1.5em;
  font-size: .8em;
}