/*
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
*/

body {
	margin: 0; /* 20px 0 0; */
	padding: 0 15px;
	background: #000000 url(images/img01.jpg) repeat-x left top;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	color: #050;/*#63676A*/;
}

h1, h2, h3 {
	margin: 0;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	color: #0a0; /* #649632;*/
}

h1 { font-size: 44px; }

h2 { font-size: 20px; }

h3 { }

p, ul, ol {
	margin-top: 0;
	line-height: 240%;
	text-align: justify;
}

blockquote { }

a { color: #0d0; /*#C2C8CC*/; text-decoration: none; }

a:hover { text-decoration: underline; cursor: pointer; }

a img {
	border: none;
}

.left { float: left; }
.right { float: right; }
.clear { clear: both; }
td.r { text-align: right; }
td.l { text-align: left; }

img.left {
	margin: 7px 30px 0 0;
}

img.right {
	margin: 7px 0 0 30px;
}

hr { display: none; }

.red { color: maroon; }
.blue { color: #444; }

.list1 {
}

.list1 li {
	float: left;
	line-height: normal;
}

.list1 li img {
	margin: 0 30px 30px 0;
}

.list1 li.alt img {
	margin-right: 0;
}

input[type=text], input[type=search], input[type=password], input[type=number], textarea {
	background-color: transparent;
	border: 1px solid #030;
	color: #0c0; /*silver;*/
	font: 15px Arial, Helvetica, sans-serif;
	padding: 3px 0 0 5px;
}

input[type=button], input[type=submit], buttom {
	background-color: #001800 /*#222*/;
	border: 1px solid #030;
	color: #0c0; /*#C2C8CC;*/
	padding: 5px 15px;
	font-size: 15px;
	cursor: pointer;
}

input[type=button]:hover, input[type=submit]:hover, buttom:hover {
	text-decoration: underline;
}

select {
	background-color: black;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	color: #050; /*#63676A;*/
	border: 1px solid #030;
}

td .ellipsis{
	text-align: left;
	overflow: hidden;
	/*white-space: nowrap;*/
	text-overflow:ellipsis;
	-o-text-overflow:ellipsis;
	-moz-bunding:url('text-overflow.xml#ellipsis');
	height: 34px;
	display: block;
}

#wrapper {
	width: 100%; /* 980px; */
	margin: 0 auto;
	background: #000000;
}

.entry table {
	width: 100%;
}

.hidden {
	display: none;
}

/* Header */

#header-wrapper {
}

#header {
	/* width: 960px; */
	height: 44px;
	margin: 0 auto 30px;
	background: url(images/img03.jpg) repeat-x left top;
}

/* Menu */

#menu {
	float: left;
	height: 44px;
}

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

#menu li {
	height: 44px;
	display: block;
	float: left;
	padding: 12px 25px 0px 25px;
	background: url(images/img04.jpg) no-repeat right 8px;
}

#menu a {
	display: block;
	float: left;
	font: 14px Arial, Helvetica, sans-serif;
	color: #050; /*gray;*/
}

#menu .current_page_item {
	margin: 0px;
	color: lime; /*#FFFFFF;*/
}

#menu .current_page_item a {
	color: #0c0; /* silver;*/
}

/* Logout */

#logout {
	float: right;
	padding: 5px 10px 0 0;
}

/* Page */

#page {
	/* width: 960px; */
	margin: 0 auto;
	padding: 0px;
}

#frmRedirect {
	display: none;
}

/* Content */

#content {
	float: right;
	width: calc(100% - 160px);
}

/* Post */

.post {
	margin-bottom: 25px;
}

.post .title {
	height: 30px;
	margin-bottom: 3px;
	border-bottom: 1px dashed #020; /*#1E1E1E;*/
	font-family: Arial, Helvetica, sans-serif;
	color: #0a0; /*#FFFFFF;*/
}

.post .title select {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	color: #0a0; /*white;*/
}

.post .date {
	float: right;
	margin-top: -45px;
	padding-right: 20px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	font-size: 18px;
	color: #090; /*#C2C8CC;*/
}

.post .meta {
	margin: -30px  0 3px 25px;
	padding: 2px 30px 2px 0px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 12px;
	color: #090; /*#B6ACA2;*/
}

.post .meta a { color: #0a0; /*#B6ACA2;*/ }

.post .entry {
	padding: 20px 0px;
}

.post .links {
	margin: 15px 15px 0 0;
	padding: 0 0 0 0px;
}

.post .links .comments {
}

.post .links .permalink {
	padding-left: 17px;
}

.ok {
	margin: 15px;
	color: yellow;
}

/* Plan */
#plan {
	margin-bottom: 20px;
}

#plan table {
	border-collapse: collapse;
}

#plan td { font-size: 1.5em; }
#plan tr:last-child td { font-size: 1.2em;}

#plan th, #plan td:first-child {
	color: #0a0; /*#A0A0A0;*/
	font-size: 1em;
}

#plan th, #plan td {
	border-top: 1px dotted #040;/* gray;*/
	border-bottom: 1px dotted #040;/*gray;*/
	border-left: 1px dotted #030;/*#444;*/
	border-right: 1px dotted #030;/*#444;*/
	padding: 7px 3px;
	text-align: center;
	cursor: pointer;
}

#plan table, #plan tbody, #plan tfoot { width: 100%; border: 1px solid #040 /*gray*/ }

#plan th { min-width: 50px; }
#plan tbody tr { height: 50px; }

#plan td:first-child, #plan td:last-child, #plan th {cursor: default;}

#plan td.active { background-color: #001800 /*#222*/ }

/* Boilers */
#boilers {
	margin-bottom: 20px;
	overflow: auto;
	max-height: 560px;
}

.main-filters { margin-top: -25px; }
.main-filters [name="date_select"] td { padding: 0 10px; }

#boilers table {
	border-collapse: collapse;
}

#boilers th, #boilers .th{
	color: #0a0; /*#A0A0A0;*/
	font-weight: bold;
	white-space: nowrap;
}

#boilers th.low, #boilers .th.low{
	color: #060;
}

#boilers th, #boilers td {
	border-top: 1px dotted #040;/* gray;*/
	border-bottom: 1px dotted #040;/*gray;*/
	border-left: 1px dotted #030;/*#444;*/
	border-right: 1px dotted #030;/*#444;*/
	padding: 7px 3px;
	text-align: center;
	cursor: pointer;
}

#boilers td { font-size: 1.5em; }

#boilers table, #boilers tbody, #boilers tfoot { width: 100%; border: 1px solid #040 /*gray*/ }

#boilers th { min-width: 60px; }
#boilers tbody tr { height: 70px; }

#boilers th, #boilers .th {cursor: default; font-size: 1em;}

#boilers td.active { background-color: #001800 /*#222*/; }

.assembled {
	text-decoration: underline;
}

.allow-postpaid, .have-discount { display: inline-block; margin-bottom: 10px; padding: 5px; }
.allow-postpaid.active { background-color: #001800 /*#222*/; }
.allow-postpaid.active span { display: none; }

[name="assembly-parts"] input[type="checkbox"] { display: none; }
[name="assembly-parts"] input[type="checkbox"]+span { padding: 4px; display: block; }
[name="assembly-parts"] input[type="checkbox"]:checked+span { background: #050; color: #001800; }

/* Date Select */

[name="date_select"] td { padding: 10px; border: dotted 1px #020 /*#333*/; border-collapse: collapse; text-align: center; cursor: default; }
[name="date_select"] td.active { background-color: #001800 /*#222*/; }

/* Prepaid Sale */

input[type="radio"] { display: none; }
input[type="radio"]+label>div{ padding: 5px; }
input[type="radio"]:checked+label>div{ background-color: #001800 /*#222*/; }
input[type="radio"]+label pre { margin: 0; }

/* Cash */

#content[page=cash] {
	width: calc(100% - 560px);
}

#cash {
	margin-bottom: 20px;
	overflow: auto;
	max-height: 560px;
}

#cash table {
	border-collapse: collapse;
	width: 400px;
}

#cash th {
	color: #0a0; /*#A0A0A0;*/
}
#cash th, #cash td {
	border-top: 1px dotted #040;/* gray;*/
	border-bottom: 1px dotted #040;/*gray;*/
	border-left: 1px dotted #030;/*#444;*/
	border-right: 1px dotted #030;/*#444;*/
	padding: 12px 20px;
	text-align: center;
	cursor: pointer;
}
#cash th {cursor: default;}

#cash table, #cash tbody, #cash tfoot { border: 1px solid #040 /*gray*/ }


#cash tbody tr.active { background-color: #001800 /*#222*/ }
#cash td:last-child { text-align: right; }

/* History */

#history th, #history td { padding: 1px 5px; border-top: dotted 1px #020 /*#333*/; border-bottom: dotted 1px #020 /*#333*/; border-collapse: collapse; }
#history tr { height: 30px; }

/* Reports */

[name=report-content] th, [name=report-content] td { padding: 1px 5px; border-top: dotted 1px #020 /*#333*/; border-bottom: dotted 1px #020 /*#333*/; border-left: dotted 1px #001800 /*#222*/; border-right: dotted 1px #001800 /*#222*/;  border-collapse: collapse; }
[name=report-content] tr { height: 30px; }
[name=report-content] td { text-align: right; }
[name=report-content] td:first-child { text-align: left; }
[name=report-content] tr.active { background-color: #001800 /*#222*/; }
[name=report-content] tfoot { font-weight: bold; }
[name=report-content] [name=balance-balance] td, [name=report-content] [name=balance-boilers] td, [name=report-content] [name=balance-cash] td, [name=report-content] [name=balance-debts-credits] td { padding: 15px; }
[name=balance-return] { float: right }
[name=report-content] [name=balance-boilers] th, [name=report-content] [name=balance-boilers] .th { font-weight: bold; white-space: nowrap; }
[name=report-content] [name=balance-boilers] td { min-width: 25px; }
.red-action { padding: 10px; display: block; color: Maroon; float: right; }

tr[entryid] td:first-child { text-align: right; }

/* Manage */

[page=manage] td { padding: 10px; border-top: dotted 1px #222; }
[page=manage] ul { padding: 0px; list-style: none;}
[page=manage] .change-list-order { padding: 5px; margin-bottom: 15px; cursor: pointer; display: inline-block; }
[page=manage] .change-list-order.active { background-color: #001800; }
[page=manage] .change-list-order.active+div td,
[page=manage] .change-list-order.active+div li { cursor: ns-resize; }
[page=manage] a.key { margin: 10px 15px; float: right; color: #050; }

/* Sidebar */

#sidebar {
	float: left;
	width: 140px;
}

#sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: normal;
	text-align: left;
}

#sidebar li {
	margin-bottom: 30px;
	padding: 0 0 20px 0px;
	background: url(images/img07.jpg) repeat-x left top;
}

#sidebar li ul {
	background: none;
}

#sidebar li li {
	margin: 0;
	padding: 12px 20px;
	background: none;
}

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

#sidebar h2 {
	height: 33px;
	margin: 0 0 20px 0px;
	padding: 15px 0px 0px 20px;
	background: url(images/img06.jpg) repeat-x left top;
	text-transform: uppercase;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: bold;
	color: #050; /*gray;*/
}


#sidebar p {
	padding-bottom: 20px;
}

#sidebar a {
}

#sidebar .switchable li, #sidebar .switchable li a {
	color: inherit;
}

#sidebar .switchable li.active, #sidebar .switchable li.active a{
	color: #0d0; /* #C2C8CC;*/
}

/* Calendar */

#calendar {
}

#calendar caption {
	padding-bottom: 5px;
	font-weight: bold;
}

#calendar table {
	width: 100%;
	border-collapse: collapse;
	border-right: 1px solid #F5F2EF;
}

#calendar thead th {
	padding: 5px 0;
	text-align: center;
	border-top: 1px solid #F5F2EF;
	border-left: 1px solid #F5F2EF;
	background: #F5F2EF;
}

#calendar tbody td {
	padding: 5px 0;
	text-align: center;
	border-top: 1px solid #F5F2EF;
	border-left: 1px solid #F5F2EF;
}

#calendar tfoot td {
	padding: 5px;
}

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

#calendar #today {
	background: #E7F1E1;
}

/* Footer */

#footer {
	width: 900px;
	margin: 0 auto;
	padding: 0;
	background: url(images/img02.jpg) repeat-x left top;
	height: 61px;
}

#footer p {
	margin: 0;
	padding: 20px 0;
	text-align: center;
	line-height: normal;
	color: lime; /* #FFFFFF;*/
}

#footer a {
}


#backToTop {
	position: fixed;
	bottom: 0;
	right: 0;
	padding: 10px;
	cursor: pointer;
}
