header img{
    height:3em;
}

#fbbox {
    box-sizing: border-box;
    border: 2px solid #333;
    border-radius: 6px;
    width:95%;
    padding: 1px 0;
    text-align:center;
    font:12px;
    margin:0;
}

#fbboxTitle {
    max-width:100%;
    min-height:35px;
    padding:0.6em 3em 0;
    background: url('/fb/fb.png') no-repeat;
    background-size: 35px 35px;
}

#fbboxTitle a {
    text-decoration:none;
    font-size:1em;
    font-weight:600;
}

#fbboxTitle img {
    width: 35px;
    margin:0 5%;   
}



.boxWidth {
    width:100%;
    box-sizing: border-box;
}

div#login-box{
    width:95%;
    margin:0 2.5%;
	box-sizing: border-box;
    border:solid 2px #333333; 
	border-radius: 8px;
	word-wrap:break-word;
    z-index:11;
}

div#login-box div#login-title{
    border-radius: 5px 5px 0 0;
	border-bottom:1px solid #333;
	color:#F0F0F0;
	background:#336699;
	padding:5px;
	text-align:center;
	font-size:1.4em;
	margin:0;
	height:25px;
	line-height:25px;
    z-index:10;
}

div#login-box div#login-content{
    border-radius: 0px 0px 5px 5px;
    background: #e5e5e5;
    background: linear-gradient(#e5e5e5, #CCC);
	padding:10px;
    position:relative;
}

div#login-box div#login-content div#login-msg{
    font-size:0.8em;
    text-align:center;
}

div#login-box label{
    font:0.8em arial;
}
.fbboxBox {
    font-size: 0.7em;
    margin:5px 5px;
    padding:8px;
    position:relative;
    float:left;
    border:solid 1px #ccc;
    border-radius: 6px;
    min-width:25%;
    background: #443344;
}

.boxWidth input[type=password],
.boxWidth input[type=text]{
	box-sizing:border-box;
    font-weight:bold;
	padding:3px 3px 3px 23px;
	width:90%;
	margin:0 5%;
	border:1px solid #333;
	border-radius: 5px;
    font-size:1em;
    line-height: 1em;
}
#username_input:hover,
#username_input:focus {
	border:1px solid #111;
	background: rgba(255,255,255,.6) url('images/user.png') no-repeat 3px center;
}

#username_input{
    background:white url('images/user.png') no-repeat 3px center;    
}

#password_input {
    background:white url('images/key.png') no-repeat 3px center;
}

#online_count,
#forgot_pass {
    float:right;
    font-size:0.7em;    
}

div#login-box div#login-content #enter_game{
	margin:14px auto 5px auto;
	text-align:center;
}
div#login-box div#login-content #enter_game a{
	border:1px solid #000000;
	border-radius: 5px;
	padding:5px 10px;
	color: #000000;
	background:#F0F0F0;
	font-size:16px;
	text-decoration:none;
}
div#login-box div#login-content div#enter_game a:hover{
	background:#333333;
	cursor:pointer;
	color:#FAFAFA;
}
div#login-box div#login-content div#enter_game a:active{
	position:relative;
	top:1px;
}

#submit{
	float:right;
	margin-right:10px;
	margin-top:10px;
	border:1px solid #000;
	border-radius: 5px;
	padding:3px 6px;
	color: #000000;
	background:#F0F0F0;
    box-shadow:2px 2px 5px #333;
}
#submit:hover{
	background:#333333;
	color:#FAFAFA;
}
#remember_input{
	margin-left:2%;
	margin-top:10px;
}
.clearfix{
    clear:both;
}
.jailedTitle {
    background-color:#F33 !important;
}
div#login-box div#picture img {
    width: 40%;
    max-width:150px;
    border-radius:10px;
    box-shadow:2px 2px 5px #000;
}

div#login-box div#login-content div#logged_in {
    color: #111;
    float: right;
    font-size: .95em;
    text-align: left;
    width: 50%;
}

#new_account{
    width:95%;
    margin:0 2.5%;
	box-sizing: border-box;
	display:block;
	margin-top:4px;
	border:solid 2px #333333; 
	border-radius: 6px;
	padding:4px 0px;
	font-size:18px;
	color:#FAFAFA;
	background:#65CC33;
	text-decoration:none;
	text-align:center;
    box-shadow:2px 2px 5px #393;
}
#new_account:hover{
	background:#060;
	text-decoration:none;
}
#links {
    width:95%;
	margin:.3em 2.5% 0;
	box-sizing: border-box;
    border:solid 2px #333333; 
	border-radius: 6px;
	padding:4px 0px;
	background:#369;
	text-decoration:none;
	text-align:center;	
	font-size:.7em;
    box-shadow:2px 2px 10px #369;
}
#links a,#links a:visited{
	color:#EEE;
	text-decoration:none;
}
#links a:hover{
	color:#FAFAFA;
	text-decoration:underline;
}

#links li{
    display: inline-block;
    border-right: 1px solid #ccc;
    padding: 0 0.4em;
}
#links li:last-child{
    border:none;
}
footer {
    margin: 5em auto 0;
    text-align:center;
    color:#777;
    font-size:10px;
}
@media (max-width:768px){ /*MOBILE */
    header {
        background-color:#336699;
        width:100%;
        text-align: center;
    }
    
    header img {
        margin: 0 auto;
    }
    
    .fbboxBox {
        display:none;
    }
    
    #fbbox {
        margin: 0.5em 2.5%;
    }
    
    div#login-box,
    #new_account,
    #links
    {
        width:95%;
        clear:right;
    }
}

@media (min-width:768px){  /* NOT MOBILE */
    #container{width:750px}
    #fbboxTitle a {
        font-size:1.2em;
    }

    #fbbox {
        background: #369;
        color:#eee;
        width:10em; 
        float:right;
        max-width:400px;
        width:400px;
        margin:5%;
    }
    
    #fbboxTitle a {
        color:#fff;
    }
    
    header {
        float:left;
        margin-top:4%;
        margin-left:6%;   
    }
    
    header img {
        height: 6em;
    }
    
    div#container{
       box-sizing: border-box;
	   background:url('../Center%20Piece3.jpg') bottom center no-repeat fixed; 
	   height:100vh;
       min-height:100%; 
	   /*width:800px;*/ 
	   margin:0 auto; 
	   padding:0px;
    }
    
    body {
	   color: #000;
	   height: 100%;
       min-height:680px;
	   background:#a51716 url('../Tile%20Left3.jpg') bottom repeat-x fixed; 
    }
    
    div#login-box,
    #new_account,
    #links {
        margin-left:10%;
        width:220px;
        clear:right;
    }
    footer{
        position:absolute;
        bottom:0;
        right:5px;
    }
}

@media (min-width:768px){#container{width:750px}}
@media (min-width:992px){#container{width:970px}}
/*@media (min-width:1200px){#container{width:1170px}}*/
