* {
	margin: 0;
	padding: 0;
}
img {
	border: 0;
}
body {
	font-family: Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif;
	background: #fff;
	font-size: 11px;
}
a {
	outline: none;
}
.clear {
	height: 0;
	overflow: hidden;
	clear: both;
}
.left {
	float: left;
}
.right {
	float: right;
}
.hide {
	display: none;
}
#site {
	width: 800px;
	margin: 0 auto 0;
}
#header {
	background: url('/images/invoicer-top.gif') no-repeat top left;
	width: 800px;
	height: 101px;
	overflow: hidden;
}
h1.logo {
	float: left;
}
h1.logo a {
	width: 270px;
	height: 101px;
	display: block;
}
#texts {
	float: right;
	color: #fff;
	padding: 10px 10px 0 0;
	width: 500px;
	text-align: right;
}
#texts p {
	padding: 0 6px 0 0;
}
#texts a, #footer a {
	color: #fff;
}
#texts a:hover,  #footer a:hover {
	text-decoration: none;
}
.bg, .en {
	width: 30px;
	height: 20px;
	overflow: hidden;
	display: block;
	float: right;
	margin: 5px 1px 0 0;
}
.bg {
	background: url('/images/bg_flag.gif') no-repeat;
}
.en {
	background: url('/images/en_flag.gif') no-repeat;
}
#content_main {
	min-height: 433px;
	padding: 50px 0 0 0;
}
#content {
	min-height: 433px;
	padding: 0 0 0 20px;
}
* html #content {
	min-height: 433px;
}
#footer {
	background: url('/images/invoicer-bottom.gif') no-repeat;
	height: 40px;
	width: 780px;
	overflow: hidden;
	color: #fff;
	padding: 28px 0 0 20px;
}
h2.enter {
	background: url('/images/enterdsystem.gif') no-repeat;
	width: 167px;
	height: 19px;
	overflow: hidden;
}
h2.license {
	background: url('/images/licenz.gif') no-repeat;
	width: 245px;
	height: 20px;
	overflow: hidden;
}
#content_main table.login {
	width: 230px;
	font-size: 12px;
	color: #2168a3;
}
#content_main table.login td {
	padding: 2px 0;
}
#content_main table.login td img {
	float: left;
}
#content_main input.normal, #content_main input.small {
	font-size: 11px;
	padding: 3px 2px 1px 2px; 
	color: #2168a3;
	height: 16px;
}
#content_main input.normal {
	width: 230px;
}
#content_main input.small {
	width: 139px;
	float: right;
}
.errormain {
	border: 1px solid #d43e27;
	width: 500px;
	font-weight: bold;
	color: #d43e27;
	padding: 25px 0;
	margin: 0 0 30px;
	background: url('/images/error-pic.gif') no-repeat left center;
}
.height {
	height: 63px;
	margin: 0 0 30px;
}
ul#menu {
	height: 43px;
	list-style: none;
	padding: 10px 0 0 0px;
	border-bottom: 1px solid #377bb7;
	width: 762px;
	margin: 0 0 10px 20px;
}
ul#menu li {
	float: left;
	margin: 0 10px 0px 0;
	width: 43px;
}
ul#menu li.long {
	width: 60px;
}
ul#menu li a {
	width: 43px;
	height: 43px;
	overflow: hidden;
	display: block;
}	
ul#menu a.invoice {
	background: url('/images/invoice_icon.gif') no-repeat;
}
ul#menu a.invoicenew {
	background: url('/images/newinvoice_icon.gif') no-repeat;
}
ul#menu a.clients {
	background: url('/images/clients_icon.gif') no-repeat;
}
ul#menu a.operations {
	background: url('/images/operation_icon.gif') no-repeat;
}
ul#menu a.smetkoplan {
	background: url('/images/smetkoplan_icon.gif') no-repeat;
	width: 60px !important;
}
ul#menu a.articles {
	background: url('/images/articles_icon.gif') no-repeat;
}
ul#menu a.archive {
	background: url('/images/archive_icon.gif') no-repeat;
}
ul#menu a.spravka {
	background: url('/images/spravki_icon.gif') no-repeat;
}
ul#menu a.settings {
	background: url('/images/settings_icon.gif') no-repeat;
}
ul#menu a.template {
	background: url('/images/mailiconmenu.gif') no-repeat;
}
ul#menu a.logout {
	background: url('/images/logout_icon.gif') no-repeat;
}
.table1 {
	border-collapse: collapse;
	width: 762px;
	margin: 0 0 14px 0;
}
.table1 .right {
	text-align: right;
}
.table1 .center {
	text-align: center;
}
.table1 .center .tick {
	margin: 0 auto;
}
.table1 th {
	background: #3169ab url('/images/table1_th_back.gif') repeat-x;
	color: #fff;
	padding: 3px 10px 4px;
	font-weight: normal;
	text-align: left;
	border: 1px solid #3169ab;
}
.table1 th a {
	color: #fff;
	text-decoration: none;
}
.table1 th a:hover {
	text-decoration: underline;
}
.table1 td {
	padding: 4px 10px;
	border: 1px solid #3169ab;
	cursor: pointer;
	color: #3169ab;
}
.table1 .mouseover {
	background: #48baeb url('/images/table1_selected.gif') repeat-x !important;
	color: #fff !important;
}
.table1 .selected {
	background: #48baeb url('/images/table1_selected.gif') repeat-x !important;
	color: #fff !important;
}
.table1 .tick {
	height: 15px;
	width: 14px;
	overflow: hidden;
	background: url('/images/tick1.gif') no-repeat top center;
}
.table1 .mouseover .tick, .table1 .selected .tick {
	height: 15px;
	overflow: hidden;
	color: #fff;
	background: url('/images/tick1_hover.gif') no-repeat top center;
}
.table1 .moveup span, .table1 .movedown span {
	display: none;
}
.table1 .moveup {
	display: inline-block;
	height: 15px;
	width: 14px;
	overflow: hidden;
	background: url('/images/moveup.gif') no-repeat top center;
}
.table1 .movedown {
	display: inline-block;
	height: 15px;
	width: 14px;
	overflow: hidden;
	margin-right: 4px;
	background: url('/images/movedown.gif') no-repeat top center;
}
.table1 .mouseover .moveup, .table1 .selected .moveup {
	background: url('/images/moveup_hover.gif') no-repeat top center;
}
.table1 .mouseover .movedown, .table1 .selected .movedown {
	background: url('/images/movedown_hover.gif') no-repeat top center;
}
#brc {
	font-weight: bold;
	color: #4679bd;
	padding: 0 0 4px;
}
#brc a {
	font-weight: normal;
	color: #4679bd;
}
#brc a:hover {
	text-decoration: none;
}
#content h2 {
	font-size: 12px;
	color: #4679bd;
	margin: 0 0 10px;
}
.pagination {float: right;color: #580b5d;margin: 0 0 10px;}
.pagination .pg_current {background: #4eb1e4; height: 17px;display: block;text-align: center;float: left;padding: 2px 4px 0 4px;margin: 0 1px;color: #0a4c7b;font-weight: bold;}
.pagination .other {background: #0a4c7b; height: 17px;display: block;text-align: center;float: left;padding: 2px 4px 0 4px;margin: 0 4px;color: #fff;font-weight: bold;text-decoration: none;}
.pagination .other:hover {background: #4eb1e4; height: 17px;display: block;text-align: center;float: left;padding: 2px 4px 0 4px;margin: 0 4px;color: #0a4c7b;font-weight: bold;}
.pagination .pg_next, .pagination .pg_prev {display: block;color: #580b5d;font-weight: bold;float: left;padding: 2px 4px 0 4px;height: 17px;text-align: center;text-decoration: none;}
table#clients, table#items  {
	width: 555px;
}
.tabb {
	float: left;
	width: 555px;
}
.legend {
	float: right;
	color: #4679bd;
	text-align: right;
}
.itemlist {
	float: right;
	padding: 0 10px 0 0;
}
.itemlist a {
	height: 41px;
	width: 193px;
	overflow: hidden;
	display: block;
	margin: 0 0 10px;
	text-decoration: none;
	font-weight: bold;
	font-size: 12px;
}
.itemlist a.newitem {
	background: url('/images/newitem-icon.gif') no-repeat top left;
	color: #d8e022;
	padding: 15px 0 0 50px;
	width: 143px;
	height: 26px;
}	
.itemlist a.newitem:hover {
	color: #aab00f;
}
.itemlist a.edititem {
	background: url('/images/edititem-icon.gif') no-repeat top left;
	color: #316eae;
	padding: 15px 0 0 50px;
	width: 143px;
	height: 26px;
}	
.itemlist a.edititem:hover {
	color: #114985;
}
.itemlist a.deleteitem {
	background: url('/images/deleteitem-icon.gif') no-repeat top left;
	color: #f1602e;
	padding: 15px 0 0 50px;
	width: 143px;
	height: 26px;
}	
.itemlist a.deleteitem:hover {
	color: #b81414;
}
.itemlist a.uploaditems {
	background: url('/images/uploadicon.gif') no-repeat top left;
	color: #b81414;
	padding: 15px 0 0 50px;
	width: 143px;
	height: 26px;
}	
.itemlist a.uploaditems:hover {
	color: #ef1602;
}
.itemlist a.searchitems {
	background: url('/images/searchminiicon.gif') no-repeat top left;
	color: #aab00f;
	padding: 15px 0 0 50px;
	width: 143px;
	height: 26px;
}	
.itemlist a.searchitems:hover {
	color: #d8e022;
}
.error {
	color: #e9423f;
}
.table {
	color: #316eae;
}
.table input.normal {
	width: 360px;
	color: #316eae;
	font-size: 11px;
	padding: 2px;
}
.table input.small {
	width: 180px;
	color: #316eae;
	font-size: 11px;
	padding: 2px;
}
.table select.small {
	width: 180px;
	color: #316eae;
	font-size: 11px;
}
.btn2 {
	background: #309ccc url('/images/btn_back.gif') repeat-x;
	height: 17px;
	border: 1px solid #2f65a8;
	padding: 0 5px;
	display: block;
	float: left;
	text-decoration: none;
	color: #fff;
	text-align: center;
	padding: 3px 10px 0 10px;
	margin: 0 10px 0 0;
}
.rig {
	float: right;
	margin: 0;
	width: 70px;
}
.buttons {
	float: right;
	padding: 5px 0 0 0;
}
.errdiv, .okdiv {
	width: 682px;
	height: 37px;
	font-weight: bold;
	font-size: 12px;
	padding: 23px 0 0 80px;
	margin: 0 0 10px;
}
.okdiv {
	background: url('/images/tick-pic.gif') no-repeat center left;
	border: 1px solid #83c441;
	color: #83c441;
}
.errdiv {
	background: url('/images/error-pic.gif') no-repeat center left;
	border: 1px solid #f45641;
	color: #f45641;
}
.back {
	padding: 0 18px 0 0;
	color: #3066a9;
	font-weight: bold;
}
.back a {
	color: #3066a9;
	font-weight: normal;
}
.back a:hover {
	text-decoration: none;
}
.mainsettings, .mainsettings1 {
	width: 403px;
	float: left;
	color: #4679bd;
	border-right: 1px solid #4679bd;
}
.mainsettings1 {
	border: 0;
	width: 360px;
	float: right;
}
.mainsettings h2, .mainsettings1 h2 {
	color: #4679bd;
	font-size: 12px;
	text-decoration: underline;
}
table.settings {
	margin: 0 0 20px;
}
table.settings th {
	color: #f09621;
	font-size: 12px;
	text-align: left;
	padding: 15px 0 5px 0;
}
.erroro {
	color: #f09621;
}
table.settings input.normal {
	width: 228px;
	color: #316eae;
	font-size: 11px;
	padding: 2px;
}
table.settings input.small {
	width: 78px;
	color: #316eae;
	font-size: 11px;
	padding: 2px;
}
table.settings select {
	width: 236px;
	color: #316eae;
	font-size: 11px;
}
.mainsettings1 .text, .mainsettings .text {
	text-align: justify;
}
ul.list {
	list-style: none;
}
.zoom {
	height: 24px;
	display: block;
	overflow: hidden;
	color: #4679bd;
	font-size: 12px;
	font-weight: bold;
	background: url('/images/zoomicon.gif') no-repeat;
	padding: 7px 0 0 40px;
	text-decoration: none;
	float: right;
	margin: 0 10px 10px 0;
}
.zoom:hover {
	text-decoratioin: underline;
}
#inv {
	width: 760px;
	border: 1px solid #4679bd;
	border-collapse: collapse;
}	
#inv td {border: 1px solid #4679bd;}
#inv td.titlein h3 {color: #4679bd;font-size: 14px;font-weight: bold;text-align: center;padding: 7px 0;}
#inv td.titlein h5 {color: #4679bd;font-weight: bold;text-align: center;padding: 2px 0 5px;}
#inv td.titlein p {color: #4679bd;padding: 2px 0 0 5px;font-size: 12px;}
.chose {
	background: url('/images/moliv.gif') no-repeat;
	height: 24px;
	display: block;
	overflow: hidden;
	position: relative;
	top: -3px;
}
.textline {
	color: #4679bd;
	padding: 7px 3px;
}
.textline h3 {
	color: #4679bd;
	font-weight: bold;
}
.textline input {
	border: 0;
	width: 130px;
	font-size: 11px;
	font-weight: bold;
	color: #4679bd;
}
input.poluchilmol {
	border: 0;
	font-size: 11px;
	font-weight: bold;
	color: #4679bd;
	width: 156px;
}
input.osnovanieplashtane {
	border: 0;
	font-size: 11px;
	font-weight: bold;
	color: #4679bd;
	width: 600px;
}
.textline input.recipientcity {width: 197px;}
.textline input.recipientstr {width: 192px;}
.textline input.recipientmol {width: 200px;}
.textline input.recipientin {width: 215px;}
.textline input.recipientinzdds {width: 168px;}
.separatoor {border-bottom: 1px solid #4679bd;}
.nomerinv {padding: 2px 0 3px 10px;text-align: center;color: #4679bd; font-weight: bold;font-size: 13px;}
.datee {padding: 2px 0 3px 2px;color: #4679bd;float: left;font-size: 11px;}
.dateizd {width: 120px;font-size: 11px;color: #4679bd;border: 0px;font-weight: bold;}
.calendar {
	width: 24px;
	background: url('/images/dateicon.gif') no-repeat;
	height: 25px;
	overflow: hidden;
	display: block;
	float: right;
}
#continv {
	width: 760px;
	border: 1px solid #4679bd;
	border-collapse: collapse;
	color: #4679bd;
}
#continv td {
	padding: 5px;
}
.headtr td, .headtr tr {
	color: #4679bd;
	padding: 0 0 0 5px;
}
.closepopup {
	width: 32px;
	height: 32px;
	overflow: hidden;
	display: block;
	position: relative;
	top: -5px;
}
#mainlink {
	width: 580px;
	display: none;
}	
h2.spisyk {
	color: #4679bd;
}
.normatd {
	color: #fff !important;
	font-weight: bold;
	font-size: 11px;
	background: #48baeb url('/images/table1_selected.gif') repeat-x !important;
}
.normaltextlines {
	color: #4679bd;
}
.normaltextlines ul {
	padding: 0 0 0 20px;
}
.normaltextlines .normal {
	font-size: 11px;
	color: #4679bd;
}	
.normaltextlines a:hover {text-decoration: none;}
.uploadxml {
	background: url('/images/uploadiconxml.gif') no-repeat top left;
	font-size: 12px;
	height: 20px;
	display: block;
	font-weight: bold;
	color: #fc9139;
	text-decoration: none;
	padding: 4px 0 0 30px;
}
.uploadxml:hover {color:#f64d00;text-decoration: underline;}
.zoomyinv {
	background: url('/images/zoomyicon.gif') no-repeat center left;
	font-size: 12px;
	height: 20px;
	display: block;
	font-weight: bold;
	color: #66b4f4;
	text-decoration: none;
	padding: 4px 0 0 24px;
	margin: 0 10px 0 0;
}
.zoomyinv:hover {color:#f64d00;text-decoration: underline;}
.padin {
	padding: 0 15px 10px;
}
.blue {
	color: #3673c3;
}
.normalsel {
	width: 220px;
	color: #6167bb;
	font-size: 11px;
	padding: 2px;
}
.bigbutton {
	background: #367ab6;
	border: 1px solid #000;
	padding: 5px 5px;
	color: #fff;
	text-decoration: none;
}
.green {
	font-weight: bold;
	color: #14a318;
}