body {
	margin: 0px;
	padding: 0px;
	background: #040F12 url(images/img01.jpg) repeat-x left top;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #9DAAB2;
}

h1, h2, h3 {
	margin: 0;
	padding: 0;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-weight: normal;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 2.4em;
}

h3 {
	font-size: 1.6em;
}

p, ul, ol {
	margin-top: 0;
	line-height: 140%;
}

ul, ol {
}

a {
	text-decoration: underline;
	color: #0D6B82;
}

a:hover {
}

select {
	background-color:#A9B9C6;
}

#wrapper {
	width: 960px;
	margin: 0 auto;
	padding: 0;
}

/** HEADER */

#header {
	width: 950px;
	height: 141px;
	margin: 0px auto;
}

/** LOGO */

#logo {
	height: 73px;
	padding-top: 20px;
	width: 30%;
	float:left;
}

.header-right {
	float:left;
	height:73px;
	padding-left:30%;
	padding-top:20px;
	width:40%;
}

#logo h1 {
	margin: 0px;
	font-size: 36px;
	font-weight: normal;
}

#logo h1 a {
	text-decoration: none;
	color: #FFFFFF;
}

#logo p {
	padding-left: 3px;
	text-transform: uppercase;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #BABABA;
}

#logo a {
	color: #BABABA;
}

/** MENU */

#menu {
	height: 48px;
}

#menu ul {
	margin: 0px;
	padding: 0px 0px 0px 0px;
	list-style: none;
	line-height: normal;
}

#menu li {
	float: left;
	margin-right: 1px;
}

#menu a {
	display: block;
	height: 28px;
	padding: 14px 20px 0px 20px;
	text-decoration: none;
	color: #FFFFFF;
}

#menu a:hover {
	text-decoration: underline;
	background: #000000;
}

#menu .active {
	background: #000000;
}

/* Search */

#search {
	float: right;
	width: 270px;
	height: 60px;
	padding: 0px 0px 0px 0px;
}

#search form {
	height: 41px;
	margin: 0;
	padding: 10px 0 0 20px;
}

#search fieldset {
	margin: 0;
	padding: 0;
	border: none;
}

#search-text {
	width: 150px;
	padding: 6px 5px 2px 5px;
	border: 1px solid #DEDEDE;
	background: #FFFFFF;
	text-transform: lowercase;
	font: normal 11px Arial, Helvetica, sans-serif;
	color: #5D781D;
}

#search-submit {
	width: 50px;
	height: 24px;
	border: none;
	background: #040F12;
	color: #FFFFFF;
}

/* Page */

#page {
	width: 950px;
	margin: 0 auto;
}

#page-bgtop {
	padding: 20px px;
}

#page-bgbtm {
}

/* Content */

#content {
	float: left;
	width: 620px;
}

.post {
	margin-bottom: 15px;
}

.post-bgtop {
}

.post-bgbtm {
}

.post .title {
	height: 38px;
	margin-bottom: 10px;
	padding: 12px 0 0 0px;
	letter-spacing: -.5px;
	color: #FFFFFF;
}

.post .title a {
	color: #FFFFFF;
	border: none;
}

.post .meta {
	width: 400px;
	margin-top: -10px;
	padding: 5px 20px 5px 0px;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-style: italic;
	color: #3D4F5C;
}

.post .meta a {
	color: #3D4F5C;
}

.post .entry {
	padding: 0px 0px 20px 0px;
	padding-bottom: 20px;
	text-align: justify;
}

.links {
	padding-top: 20px;
	font-size: 12px;
	font-weight: bold;
}

/* Sidebar */

#sidebar {
	float: right;
	width: 280px;
	padding: 0px;
	color: #054A60;
	background: url(images/img05.jpg) repeat-y left top;
}

	#sidebar h3 {
		font-size:1.4em;
		margin-bottom:5px;
		margin-top:5px;
	}

#sidebar-bgtop {
	background: url(images/img04.jpg) no-repeat left top;
}

#sidebar-bgbtm {
	padding: 40px 0px;
	background: url(images/img06.jpg) no-repeat left bottom;
}

#sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#sidebar li {
	margin: 0;
	padding: 0;
}

#sidebar li ul {
	margin: 0px 0px;
	padding-bottom: 30px;
}

#sidebar li li {
	line-height: 35px;
	border-bottom: 1px dashed #D1D1D1;
	margin: 0px 30px;
	border-left: none;
}

#sidebar li li span {
	display: block;
	margin-top: -20px;
	padding: 0;
	font-size: 11px;
	font-style: italic;
}

#sidebar h2 {
	height: 38px;
	padding-left: 30px;
	letter-spacing: -.5px;
	font-size: 1.8em;
	color: #000000;
}

#sidebar p {
	margin: 0 0px;
	padding:0 10px 20px;
}

#sidebar a {
	border: none;
	color: #054A60;
}

#sidebar a:hover {
	text-decoration: underline;
	color: #054A60;
}

/* Calendar */

#calendar {
}

#calendar_wrap {
	padding: 20px;
}

#calendar table {
	width: 100%;
}

#calendar tbody td {
	text-align: center;
}

#calendar #next {
	text-align: right;
}

/** FOOTER */

#footer-wrapper {
	background: url(images/img02.jpg) repeat-x left top;
	height: 100px;
}

#footer {
	width: 950px;
	height: 100px;
	margin: 0px auto;
	background: url(images/img03.jpg) no-repeat left top;
	text-align: center;
}

#footer p {
	margin: 0px;
	padding: 30px 0px 0px 0px;
	text-align: center;
	color: #133D47;
}

#footer a {
	text-decoration: none;
	color: #133D47;
}

#footer .legal {
}

#footer .links {
}

textarea {
	background-color:#A9B9C6;
	border:0 none;
	-moz-border-radius:0.5em;
	margin-bottom:10px;
	padding:5px;
}

/*-----other-------*/

.article.pic {
	float:left;
	width:190px;
}

.article.body {
	float:left;
	width: 760px;
}


#contact-form {
    padding-left: 3px;
}

.loginBlock input{
	float:right;
	margin-right:61px;
}


.loginBlock.hello {
    font-size: 14px;
    font-weight:bold;
}

        .loginBlock div{
            float:left;
			margin-right:-36px;
			width:50%; 
        }


#auth {

}

#auth label {

}

#loginButton {
	left:32px;
	position:relative;
	top:-23px;
}

#signin {
	margin-top:40px;
}

#loginEmail {

}

#donate {
    position:relative;
    top:-5px;
}

.site_materials {
    position: absolute;
    z-index: 1;
}

.site_materials a {
    text-decoration:none;
    color:white;
    font-weight:bold;
}

.site_materials h2 {
    color: white;
    cursor: pointer;
}

.site_materials ul{
    padding-left:17px;
	width:164px;
    background-color: #6e6e6e;
    color: white;
    font-weight: bold;
    display: none;
}

#level1 {
        display:none;
        margin-left:165px;
        margin-top:-15px;
        position:absolute;
        padding-right:15px;
        width:200px;
}


.img-float {
        float: left;
        padding: 5px;
}

.user_menu {
	font-size:20px;
	text-align: center;
}

	.user_menu ul {
		list-style-position:inside;
		list-style-type:circle;
		padding-left:15px;
	}

		.user_menu ul li {
			display: inline;
			height:22px;
			margin-right:30px;
		}


.log_list_item {
	margin-bottom: 10px;
	float:left;
	width:90%;
    border: 1px dotted;
	cursor: pointer;
}

.log_list_item_edit {
	background:url(/template/images/edit24.png) center no-repeat;
	margin-bottom: 10px;
	float:right;
	width:28px;
	height:28px;
	float:left;
	cursor: pointer;
}

.log_list_item_status {
	margin-bottom: 10px;
	float:right;
	width:28px;
	height:28px;
	float:left;
}

	.log_list_item_status.att_win {
		background:url(/template/images/att_win.png) center no-repeat;
	}

	.log_list_item_status.att_loose {
		background:url(/template/images/att_loose.png) center no-repeat;
	}

	.log_list_item_status.def_win {
		background:url(/template/images/def_win.png) center no-repeat;
	}

	.log_list_item_status.def_loose {
		background:url(/template/images/def_loose.png) center no-repeat;
	}

.log_list_item_info {
	background:url(/template/images/info.png) center no-repeat;
	margin-bottom: 10px;
	float:right;
	width:28px;
	height:28px;
	float:left;
	cursor: pointer;
}



.log_list_item_t {
    background-color:LightBlue;
	margin-bottom: 10px;
	float:left;
	padding-left:5%;
	padding-right:1%;
	width:93%;
	color:#000000;
}

.log_list_item_det {
	padding: 5px;
	float:left;
	width:17%;
	padding-left:2%;
	text-align: left;
}

.log_list_item_det_t {
	padding: 5px;
	float:left;
	width:17%;
	text-align: center;
	font-weight: bolder;

}

.status_info_tooltip {
	display:none;
    padding:10px;
	z-index:99;
	-moz-border-radius: 1em;
	-moz-box-shadow:0 0 10px #000000;
	background-color:#000000;
	border:1px solid #FFFFFF;
	color:white;
	position: absolute;
}

	.status_info_tooltip div {
		font-size:16px;
		height:36px;
		margin-left:20px;
		margin-right:20px;
	}

	.status_info_tooltip div img {
		position:relative;
		top:7px;
	}

.info_tooltip {
	display:none;
    float:left;
	padding:10px;
	z-index:99;
	-moz-border-radius: 0.4em;
	-moz-box-shadow:0 0 10px #000000;
	background-color:#000000;
	border:1px solid #FFFFFF;
	color:white;
	width: 90%;
}


	.info_tooltip p {
		float:left;
		font-size:1.2em;
		padding:10px 50px;
		width:100%;
	}

    .info_tooltip .att {
		/*border: 1px solid red;*/
		margin: 5px;
		padding: 5px;
		float: left;
		width:47%;
    }

    .info_tooltip .def {
		/*border: 1px solid blue;*/
		margin: 5px;
		padding: 5px;
		float: left;
		width:47%;
    }

    .info_tooltip .fleet {
		margin: 5px;
		float: left;
		width: 100%;
    }
    
	.info_tooltip .name, .info_tooltip .weapons {
		padding-left: 40px;	
	}

	.info_tooltip .fleet .unit {
	    border:1px solid green;
		float:left;
		padding-bottom:2px;
		text-align:center;
		width:115px;
	}

		.info_tooltip .fleet .unit div {
			width: 115px;
			text-align: center;
		}

			.info_tooltip .fleet .unit .losses {
				color: red;
				font-weight: bold;
			}

			.info_tooltip .fleet .unit .zero_losses {
				color: #6FDF89;
				font-weight: bold;
			}
		


.alert {
	border:1px solid;
	color:#FF0000;
	font-size:18px;
	margin-top:15px;
	padding:5px;
}

.ok {
	border:1px solid;
	color:#00FF00;
	font-size:18px;
	margin-top:15px;
	padding:5px;
}


.register {
	
}

	.register h2 {
		margin: 30px;
		text-align: center;
	}

	.register input {
		float:right;
	}


	.register .row {
		width: 300px;
		min-height: 30px;
		margin-left:auto;
		margin-right:auto;
	}



.stats {
	float:left;
	width:100%;
	padding:50px 0;
	text-align:center;
}

	.stats h3 {
		font-size:20px;
	}


	.stats .w50 {
		float:left;
		padding-left:1%;
		padding-right:1%;
		width:48%;
	}

	.stats .w50 h4 {
		padding-left:28%;
	}

	.stats .w50 .row .cell {
		float:left;
		font-weight:bolder;
		padding-right:1%;
		text-align:right;
		width:16%;
	}

	.stats .w50 .row .cell:nth-child(5) {
		border-left:1px solid #9DAAB2;
	}

	.stats .w50 .row .cell.taken {
		color: #00FF00;
	}

	.stats .w50 .row .cell.losses {
		color: red;
	}

	.stats .w50 .row .cell.header {
		font-weight: normal;
		border-bottom:1px solid;
		border-left:none;
	}

	.stats .w50 .row.losses .cell {
		color: red;
	}

	.stats .w50 .row.taken .cell {
		color: #00FF00;
	}

	.stats .w50 .row.debris .cell {
		border-top:1px solid #9DAAB2;
	}

	.stats .w50 .row .title {
		float:left;
		padding-right:2%;
		text-align:right;
		width:29%;
		border-right:1px solid;
	}


/*-----------admin--------------*/

div.panes div.pane {
	display:none;
	padding:15px 10px;
	border:1px solid #999;
	border-top:0;
	font-size:14px;
	background-color:#fff;
}

div.panes table.admin_table{
	padding:25px 20px;
	margin-left: auto;
	margin-right: auto;
	width:705px;
}

div.panes table.admin_table td{
	padding-top:10px;
	vertical-align: top;
}

#counters {
    text-align:right;
}

.mceEditor td{
    padding-top: 0 !important;
	vertical-align: middle !important;
}

.editor {
    width: 100%;
    height: 275px;
}

#sortable-menu, #sortable-menu1 {
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 200px;
}

#sortable-menu li, #sortable-menu1 li {
	margin: 0 3px 3px 3px;
	padding: 15px 0px 0px 25px;
	font-size: 1.4em;
	height: 18px;
	border:1px solid #CCCCCC;
	color:#1C94C4;
	width: 45%;
	text-align: center;
	cursor: pointer;
}

#feedback { font-size: 1.4em; }
#selectable .ui-selecting { background: #FECA40; }
#selectable .ui-selected { background: #F39814; color: white; }
#selectable { list-style-type: none; margin: 0; padding: 0; margin-left: 47px; }
#selectable li { margin: 3px; padding: 1px; float: left; width: 179px; height: 179px; font-size: 4em; text-align: center; }

.exception {
    background: none !important;
    border: none !important;
    color: none !important;
}

.thumb-img {
    border-top:1px solid #CCC; border-left:1px solid #CCC; border-bottom:1px solid #AAA; border-right:1px solid #AAA;
    position:relative;
    width:150px; height:150px;
    margin:10px;
    padding-left:2px;
    padding-top:2px;
    padding-right:6px;
    padding-bottom:6px;
 background:#FFF;
}

.thumb-inner {
     position:relative; overflow:hidden; width:100%; height:100%;
}

.thumb-img img {
     border:0;
}

.thumb-strip {
     position:absolute; width:150px; height:10px; bottom:6px; left:6px;
     background:#FFF;
     filter: alpha(opacity=60);
     filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60);
     -moz-opacity: 0.60;
     opacity:0.60;
}

.thumb-zoom {
     background:url(/template/images/search.png) no-repeat;
     position:absolute; width:22px; height:22px;
     right:10px; bottom:7px;
}

#selectable_services .ui-selecting, #selectable_services_h .ui-selecting { background: #FECA40; }
#selectable_services .ui-selected, #selectable_services_h .ui-selected { background: #F39814; color: white; }
#selectable_services, #selectable_services_h { list-style-type: none; margin: 0; padding: 0; }
#selectable_services li, #selectable_services_h li { margin: 3px; padding: 1px; float: left; width:118px; height:27px; text-align: center; cursor:pointer; }


.contacts_pane { font-size: 62.5%; }
#dialog_company label, .contacts_pane input { display:block; }
#dialog_company input.text { margin-bottom:12px; width:95%; padding: .4em; }
#dialog_workers label, .contacts_pane input { display:block; }
#dialog_workers input.text { margin-bottom:12px; width:95%; padding: .4em; }
#dialog_workers { height: 440px; }
.contacts_pane fieldset { padding:0; border:0; margin-top:25px; }
.contacts_pane #workers {  width: 350px; margin: 20px 0; }
.contacts_pane #workers { margin: 1em 0; border-collapse: collapse; width: 738px; }
.contacts_pane #workers td, .contacts_pane div#users-contain table th { border: 1px solid #eee; padding: .6em 10px; text-align: left; }
.contacts_pane h1 { font-size: 1.2em; margin: .6em 0; }
.contacts_pane div#divis {  width: 350px; margin: 20px 0; }
.contacts_pane div#divis ul { margin: 1em 0; border-collapse: collapse; width:738px; }
.contacts_pane div#divis ul li { border: 1px solid #eee; padding: .6em 10px; text-align: left; }
.contacts_pane .ui-button { outline: 0; margin:0; padding: .4em 1em .5em; text-decoration:none !important; cursor:pointer; position: relative; text-align: center; }
.contacts_pane .ui-dialog .ui-state-highlight,  .contacts_pane .ui-dialog .ui-state-error { padding: .3em;  }


