body {margin: 0 auto;padding:0;max-width:480px;
	background-color:#ededed;
	background: #ededed url("/style/images/pattern2-96x96.png") repeat;
	color:#0058A9;}
html, div, span, form, p, img, ul, li, a {padding: 0;margin: 0;}
body, input, textarea, select {font-family: Verdana, Arial, Tahoma, Sans-Serif;font-size:1em;}
img {border: 0;max-width:100%;vertical-align:middle;font-size:0.5em;}
li {list-style:none;margin:0;}
#story_bottons a, #payment a,.btnl, .btni, .pg {
    text-decoration: none;
    text-align:center;
    position: relative;
}
.btnl,#story_bottons a, #payment a {
    display: block;
    background-color: #4075cc;
    font-size: 1em;
    line-height: 36px;
    padding: 4px 8px;
}
.vlad_corp {
    display: block;
    background-color: #4075cc;
    font-size: 1em;
    line-height: 20px;
    padding: 2px 8px;
}
.btni, .pg {
    font-size: 0.8em;
    display: inline-block;
    background-color: #2e5dab;
    line-height: 29px;
}
input.btni{border-width: 0;}

.btni {padding: 3px;}
.pg {padding: 3px 10px;}
input.btni, a.btnl, a.btni, .pg, span.btnl, #story_bottons a, #payment a, span.btni, span.pg {color: #ffffff;}
a {color: #2b572f;}
span.btnl, span.btni, span.pg {background-color: #b5b5b5;}
.content, .devpanel, .feedback, .confirm {padding: 4px;}
.fl{float:left;}
.fr{float:right;}
.cb{clear: both}
.portrait{float:left;margin-right:4px;margin-bottom:4px;}
.center, .feedback, .confirm, .content{text-align:center;}
.left{text-align:left;}
.small, .minor {font-size:0.8em;font-weight:normal;}
.menu {
    overflow: hidden;
    display: flex;
    justify-content: center;
}
.menu a {
    float: left;
    margin: 0.1em;
}
.minor {color: #2b572f;}
.big {font-size:1.2em;font-weight:normal;}
.bordered {border-width: 1px; border-style: solid; border-color: #bbbbbb; padding: 4px;}
.show350 {display: none; visibility: hidden;}
@media (min-width: 350px) {
    .show350 {display: block; visibility: visible;}
}
a.avatar {text-decoration: none;}
.admin{color:#F74223;}
.moderator{color:black;}
.moderator2{color:#ff8c00;}
.banned{color:#777777;}
.user {color: #0058A9;}
#payment a,.mt4 {margin-top: 4px;}
.mb4 {margin-bottom: 4px;}
.nobr{white-space: nowrap;}
.feedback, .confirm{margin: 4px; border: 1px solid #0058A9;border-radius:4px;}
.tbrown {color: #8d652a;}
.tdbrown {color: #2a2b2b;}
/*/
#mail_icon{display: inline-block;width:46px;height:46px;vertical-align: middle;text-align:center;text-decoration: none;background-color:#2b572f;}
#mail_icon img{width:36px;height:36px;margin:5px;}*/
#friends,#chat_icon,#forum_icon,#corp_icon,#union_icon,#mail_icon,#rating_icon,#profile_icon,#help_icon,#lvl_us
	{display: inline-block;width:46px;height:46px;vertical-align: middle;text-decoration: none;background-color:#4075cc;}
#head_reload_bar a{min-height: 36px;background-color:#4075cc;}
#chat_icon{background-image: url("img/chat2.png");}
#forum_icon{background-image: url("img/forum2.png");}
#corp_icon{background-image: url("img/corp_ang2.png");}
#mail_icon{background-image: url("img/mail_white2.png");background-position:center;background-repeat: no-repeat;}
#union_icon{background-image: url("img/corp2.png");}
#rating_icon{background-image: url("img/rating_2.png");}
#profile_icon{background-image: url("img/profile2.png");}
#friends{background-image: url("img/friends.png");}
#help_icon{background-image: url("img/help2.png");}
#chat_icon b,#forum_icon b,#corp_icon b,#union_icon b,#mail_icon b{
	border-color: #4075cc;
	background-color: #4075cc;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	border-bottom-style: solid;
	border-left-style: solid;
	border-right-style: solid;
	border-top-style: solid;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-right-width: 1px;
	border-top-width: 1px;
	text-decoration: none;
	text-align:center;
	margin-top: 50%;
	margin-left: 50%;
	color: black;
	display:block;
	font-size:105%;
}

/*mars_map*/
#mars_map td{height:32px;width:32px;text-align:center;vertical-align:middle;}
#mars_map tr#sectors td{border: solid black 1px;}
#mars_map tr#sector td,#mars_map_ td.a{border: solid gold 1px;}
#mars_map tr#sector td.bleft_1{border-left: solid black 1px;}
#mars_map tr#sector td.bright_1{border-right: solid black 1px;}
#mars_map tr#sector td.btop_1{border-top: solid black 1px;}
#mars_map tr#sector td.bbottom_1{border-bottom: solid black 1px;}
#mars_map a,#mars_map div,#mars_map_ a,#mars_map_ div{height:100%;width:100%;display:block;}
#mars_map_ td.h16{height:16px;}
#mars_map_ td.w16{width:16px;}
#mars_map .rover_this_user{background-color:grey;}

#head_reload_bar .marsgame_rewrite_money{padding-top: 4px; line-height: 1em;color:#FFFFFF;}
#head_reload_bar .small{line-height: 0.8em;color: #FFCF54;}
.biss_right{padding: 2px 4px; color: #ffffff; width: 45px; display: inline-block; background-color: #2b572f;}
/*#menu a{margin-left: 8px;margin-right: 8px;}*/
.small_mode_1{padding: 1px 1px;margin-left:1px;display:inline-block;}
.message {color: #800000;}

.task img {margin:5px;float:left;}
.task span div.head {text-shadow:black 0 1px 1px;}
.task span div.bar {margin-left:58px;font-size:0;line-height:0;height:15px;background-color:#b5b5b5;}
.task span div.bar div {height:15px;display:inline-block;background-color:#2e5dab;}

.mafia div.bar {line-height:0;height:16px;font-size:16px;background-color:#b5b5b5;margin-bottom:1px;}
.mafia div.bar div {height:16px;display:inline-block;background-color:#2e5dab;text-align:center;}

div.angels tr:nth-child(even) {color: black;}
.angels_draw {
	position: relative;
	overflow: hidden;
}
.angels_draw > span {
	display: inline-block;
	margin: 0 .4em;
}
.angels_draw > span:before,
.angels_draw > span:after {
	content: '';
	position: absolute;
	width: 100%;
	border-top: 2px dotted #4e4e4e;
	margin-top: .6em;
}
.angels_draw > span:before {
	margin-left: -102%;
	margin-right: 2%;
}
.angels_draw > span:after {
	margin-left: 2%;
	margin-right: 2%;
}

#casino {
	min-width: 157px;
	height: 180px;
	border: 1px solid gold;
	background-color:green;
	overflow: hidden;
	color:gold;
	border-radius: 15px;
	font-family:'segoe print';
}
#casino div{
	font-size: 55px;
	height: 180px;
    line-height: 180px;
	width: 100%;
	text-align: center;
	font-family:inherit;
}
#casino_panel th,#casino_panel{padding:0 0 0 0;}
.casino_left{border-radius: 15px 0 0 15px;}
.casino_right{border-radius: 0 15px 15px 0;}

.element{ 
clear: both; 
height:150px; 
width: 128px; 
} 
.col {
width: 32px;
height: 28px;
text-align: center;
border-radius: 10px;
background-image: linear-gradient(white, orange);
}



.comm_link {
padding: 3px;
margin: 1px;
color: #88bc21;
background: #FFFFFF;
box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.19);
border-radius: 4px;
border: 1px solid #DADADA;
display: inline-block;
}


.comm_answer_main {padding: 4px;font-size: 12px;background: #f3f3f3;margin: 0 0px;border: 1px solid #E0E0E0; border-left: 4px solid #E0E0E0;}
.menuverh{border-top:1px solid #ddd;border-bottom:1px solid #aeaeae;padding:4px 8px;margin:0px 0px 0px;background:#efefef;background:-moz-linear-gradient(top, #efefef 0%, #dddddd 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#efefef), color-stop(100%,#dddddd));}
.comm_answer_title {background: #E8E8E8;border-bottom: 0;border-left: 4px solid #E0E0E0;color: #000;font-size: 12px;padding: 4px;margin: 2px -6px 0;}
.save1{clear:both;border:2px solid #ddd;border-bottom:2px solid #aeaeae;padding:6px;margin:2px;border-radius:8px;background:#efefef;background:-moz-linear-gradient(top,  #efefef 0%, #dddddd 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#efefef), color-stop(100%,#dddddd));background:-webkit-linear-gradient(top,  #efefef 0%,#dddddd 100%);background:-o-linear-gradient(top,  #efefef 0%,#dddddd 100%);background:-ms-linear-gradient(top,  #efefef 0%,#dddddd 100%);background:linear-gradient(to bottom,  #efefef 0%,#dddddd 100%);text-align:center}
