* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

b { font-weight: 600; }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.left { float: left; }
.right { float: right; }

::-webkit-input-placeholder { /* WebKit browsers */
    color: #555;
    text-shadow: none;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #555;
    text-shadow: none;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #555;
    text-shadow: none;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #555;
    text-shadow: none;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    background: #222;
    color: #FFF;
    font-size: 12px;
    font-family: 'Open Sans', sans-serif;
}

.leftmenu {
    position: fixed;
    width: 170px;
    background: #131313;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100%;
}

.banner {
    background: url(../img/banner.png) no-repeat;
    width: 601px;
    height: 117px;
    margin: 10px auto;
}

.nav li {
    display: block;
    width: 173px;
}

.nav li a {
    display: block;
    background: #34495e;
    margin-bottom: 10px;
    padding: 6px 50px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 10px;
    transition: all 0.2s ease;
    position: relative;
}

.nav li a span {
    width: 8px;
    height: 8px;
    background: #131313;
    display: block;
    position: absolute;
    left: 15px;
    border-radius: 2px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 1px 3px rgba(0, 0, 0, 0.2);
    margin-top: 4px;
    transition: all 0.2s ease;
}
.nav li a:hover {
    background: #415569;
}
.nav li a:hover span {
    background: #2ecc71;
    box-shadow: none;
}

.nav li a:before {
    content: "";
    position: absolute;
    top: 3px;
    right: -25px;
    border-width: 14px;
    border-style: solid;
    z-index: -9999;
    border-color: #2c3e50 rgba(0, 0, 0, 0) #2c3e50#2c3e50;
}

.logo {
    width: 223px;
    height: 184px;
    background: url(../img/logo.png) no-repeat;
    margin: 10px 0;
    display: block;
}

.promo {
    width: 120px;
    margin: 25px auto;
}

.promo .title {
    color: #f1c40f;
    text-transform: uppercase;
    font-weight: 800;
    padding: 1px 10px;
}

.promo .box {
    background: black;
    width: 100%;
    height: 120px;
    border-radius: 2px;
    border: 2px solid #222;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
}

.promo .box .top,
.promo .box .bottom {
    width: 15px;
    height: 7px;
    position: absolute;
}

.promo .box .top {
    background: #3498db;
    top: -12px;
    right: 20px;
}

.promo .box .bottom {
    left: 20px;
    bottom: -12px;
    background: #2cc46d;

    -webkit-animation: topBot 2s infinite;
    animation: topBot 2s infinite;
}

.promo .box .right {
    position: absolute;
    top: 20px;
    right: -12px;
    width: 7px;
    height: 15px;
    background: #c22227;
}

@-webkit-keyframes topBot {
    0 { left: 20px; }
    50% { left: 80px; }
    100% { left: 20px; }
}
@keyframes topBot {
    0 { left: 20px; }
    50% { left: 80px; }
    100% { left: 20px; }
}

.content {
    width: 60%;
    margin: 0 auto;
    position: relative;
    min-height: 93%;

}
.wtg {
    background: orange;
    padding: 3px 20px;
    position: fixed;
    top: 0;
    right: 0px;
}

.welcome,
.login,
.register,
.registerSuccess {
    height: 100%;
    margin-top: -100px;
}

.welcome .about {
    background: #353535;
    border-radius: 2px;
    padding: 10px 20px;
    margin-top: 220px;
    position: relative;
}
.welcome .about .img {
    background: url(../img/welcome.png) no-repeat;
    width: 190px;
    height: 174px;
    float: right;
    position: absolute;
    top: -110px;
    right: 0;
    padding-right: 40px;
}
.welcome .n-title {
    width: 30%;
    margin: 20px auto 10px auto;
    text-align: center;
    background: #364772;
    padding: 3px 0;
    text-transform: uppercase;
    font-weight: 800;
    color: #ecf0f1;
}
.welcome .news {
    max-width: 50%;
    min-height: 150px;
    background: #333435;
    margin: 2px auto 20px auto;
    border-radius: 2px;
    position: relative;
}
.welcome .news .title {
    padding: 2px 20px;
    background: #131313;
    border-radius: 2px 2px 0 0;
}
.welcome .news .post {
    padding: 10px;
}
.welcome .news .details {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #474747;
    border-radius: 0 0 2px 2px;
}
.welcome .news .details .by {
    padding: 2px 5px;
}
.welcome .news .details .date {
    padding: 2px 5px;
}

p.error,
p.success {
    background: rgba(203, 22, 22, 0.8);
    padding: 2px 10px;
    border-radius: 2px;
    margin: 4px auto;
    position: relative;
    z-index: 5;
}
p.success { background: #82BB1D !important; }

.login table, 
.register table,
.registerSuccess table {
    margin: auto; 
    height: 100%;
}
.login form .poke {
    width: 250px;
    height: 184px;
    position: absolute;
    background: url(../img/login.png) no-repeat;
    top: -134px;
    left: 90px;
}
.login form,
.register form {
    width: 350px;
    margin: 0 auto;
    background: #353535;
    min-height: 200px;
    text-align: center;
    border-radius: 2px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}
.login form input[type="text"],
.login form input[type="password"],
.register form input[type="text"],
.register form input[type="password"] {
    outline: none;
    border: none;
    color: #1ABCEA;
    /* text-shadow: 0 0 3px #1F5693; */
    text-align: center;
    padding: 4px 20px;
    margin: 2px;
    background: #282828;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 1px 3px rgba(0, 0, 0, 0.1);
}
.login form .button,
.register form .button {
    padding: 3px 15px;
    text-transform: lowercase;
    color: #FFF;
    background: #2FB148;
    box-shadow: 0 2px 0 #2B2B2B;
    outline: none;
    border: none;
    border-radius: 2px;
    margin: 10px;
    transition: all 0.1s ease;
    top: 0;
    position: relative;
    cursor: pointer;
}
.login form .button:active,
.register form .button:active {
    box-shadow: none;
    top: 2px;
}
.login form a {
    color: #FF8F00;
    outline: none;
}
.login form a:hover {
    text-decoration: underline;
}

.register form {
    padding: 10px 0;
    min-height: 200px !important;
}

.registerSuccess table {
    width: 310px;
}
.registerSuccess .bg:after {
    content: "";
    position: absolute;
    border-width: 150px;
    border-style: solid;
    z-index: -9999;
    border-color: #1b1b1b rgba(0, 0, 255, 0) rgba(0, 0, 0, 0) #1b1b1b;
    border-radius: 150px;
    transform: rotate(45deg);
}
.registerSuccess .bg:before {
    content: "";
    position: absolute;
    border-width: 150px;
    border-style: solid;
    z-index: -9999;
    border-color: rgba(0, 0, 255, 0) #1b1b1b  #1b1b1b rgba(0, 0, 0, 0);
    border-radius: 150px;
    transform: rotate(45deg);
    margin-top: 20px;
}
.registerSuccess .msg {
    text-align: center;
    background: #27ae60;
    padding: 1px 0px;
    border-radius: 2px;
    width: 230px;
    margin: 10px auto;
}
.registerSuccess .avatar, 
.registerSuccess .poke {
    width: 120px;
    height: 120px;
    background: #111111;
    text-align: center;
    border-radius: 2px;
    box-shadow: 0 -2px 0 #3498db;
    position: relative;
    top: 70px;
    left: 30px;
}
.registerSuccess .avatar p,
.registerSuccess .poke p {
    position: absolute;
    top: -24px;
    left: 10px;
    background: #c0392b;
    padding: 1px 10px;
    border-radius: 2px;
    width: 130px;
    text-align: left;
    font-size: 12px;
}
.registerSuccess .avatar img {
    position: relative;
    top: 20px;
}
.registerSuccess .poke {
    left: 120px;
    top: 10px;
    box-shadow: 0 2px 0 #3498DB;
    margin-left: 30px;
}
.registerSuccess a.start {
    padding: 2px 10px;
    background: #D85B30;
    border-radius: 2px;
    margin-left: -20px;
}

.footer {
    height: 7%;
    text-align: center;
    font-size: 10px;
    text-align: right;
    padding-right: 10px;
    color: #B0B0B0;
}

@media screen and (max-width: 720px) {
	.leftmenu {
    position: relative;
		
	
    background: none;
    width: 100%;
    text-align: center;
    height: auto;
}


.nav li {
    width: 100%;
    
}

.nav li a:before, .promo {
    display: none;
}

.logo {
    margin: auto;
}

.banner {
    background-size: contain;
    width: 100%;
    margin: 10px auto;
}

.content, .login form, .register form,.welcome .n-title, .welcome .news {
    width: 100% !important;
    max-width: 100% !important;
}
.welcome .about .img {
top: -160px;
padding-right: 60px;
}
.login form .poke {
	left: 0;
}
}