html {
	margin: 0;
	padding: 0;
}

body {
	margin: 0;
	padding: 0;
	font-family: arial, helvetica, sans-serif;
	font-size: 11px;
	color: #333;
	min-width:750px;
	background: #f3f3f3 url('../../themes/admin/images/siteBg.png') repeat-x;

}

form {
	margin: 0;
	padding: 0;
}

a {
	/*color: #6F6F6F;	*/
	color: #6F6F6F;	
	text-decoration: none;
}

a:hover {
	color: red;
}

a img {
	border: 0px none;
}

label {
 	cursor: pointer;
}

#page {
	/*background:#fff;*/
	margin:0 auto;
	text-align:center;
	border-left: #577697 1px solid;
	border-right: #577697 1px solid;
	width: 800px;
	border-collapse: collapse; 
	padding: 0;
}

#header {
	/*background: #3b689a;*/
	border-bottom: 1px solid silver;
	text-align:left;
	background: #496093 url('../../themes/admin/images/header_bg.gif') bottom repeat-x;
	padding-bottom: 5px;
}

#header h1 {
	padding:5px;
	padding-left: 20px;
    	margin:0;
	font-size: 16pt;
}

#header h2 {
	padding:5px;
	padding-left: 20px;
    	margin:0;
	font-size: 12pt;
}

#header a {
	color: #F4F4F4;
	text-decoration: none;
}

#header1 {
	text-align:left;
	background: transparent;
	padding: 0;
	margin: 0;
	height: 68px;
}

#header1 h1 {
	padding:5px;
	padding-left: 20px;
    	margin:0;
	font-size: 16pt;
}

#header1 h2 {
	padding:5px;
	padding-left: 20px;
    	margin:0;
	font-size: 12pt;
}

#header1 a:active, #header1 a:link, #header1 a:visited {
	color: #fff;
}

#header1 a:hover {
	color: #fff;
	/*border-bottom: #7A7A7A 1px solid;*/
}

#header2 {
	text-align:center;
	background: transparent;
	padding: 0;
	margin: 0;
	height: 30px;	
}


#header2 a:active, #header2 a:link, #header2 a:visited {
	color: #f4f4f4;
	padding: 7px 4px 3px 4px;
	margin: 0px;
	/*margin-left: 0px;*/
}

#header2 a:hover {
	color: #f4f4f4;
	text-decoration: none;
	padding: 7px 3px 3px 3px;
	border-left: #fff 1px solid;
	border-top: #fff 1px solid;
	border-right: #7A7A7A 1px solid;
	border-bottom: #7A7A7A 1px solid;
	margin: 0px;
}

#main {
	background:#fff;
	margin: 0 auto;
	text-align: left;
	padding: 20px 0px 0px 0px ;
}

#footer {
	/*background: #3b689a;*/
	clear: both;
	color: #F4F4F4;
	font-size: 12px;
	margin-top: 10px;
	text-align: center;
	padding-top: 10px;
	padding-bottom: 8px;
	background-image: url('../../themes/admin/images/footer_bg.gif');
}

#footer a:active, #footer a:link, #footer a:visited {
	color: #F4F4F4;
}

#footer a:hover {
	color: #F4F4F4;
	border-bottom: #F4F4F4 1px dotted;
}

.grid {
	width: 100%;
}

.grid td {
	padding: 3px;
}

.grid-header {
	color: #fff;
	background: #a3b8cc;
	text-align: center;
	height: 25px;
}

.grid-row1 {
	background: #dae0e6;
}

.grid-row2 {
	background: #e6ecf2;
}

.grid-row-selected {
	background: lightyellow;
}

.grid-pager {
	text-align: right;
	color: silver;
}

.grid-pager a {
	color: green;
	text-decoration: none;
}

.submenu {
	margin-bottom: 0px;
	border-bottom: 5px solid #a3b8cc;
	padding-right: 10px;
	text-align: left;
}

.submenu ul {
	margin:0;
	padding:0;
	list-style:none;
}

.submenu li {
	display:inline;
	margin:0;
	padding:0;
}

.submenu-active {
	text-decoration: none;
	background: #a3b8cc;
	padding: 3px 5px 0 5px;
}

.submenu-inactive {
	text-decoration: none;
	background: #dae0e6;
	padding: 3px 5px 0 5px;
}

.footer {
	margin-bottom: 0px;
	border-bottom: 5px solid #a3b8cc;
	padding-right: 10px;
	text-align: left;
}

.input-label {
}

.input-error1, .input-error2, .input-error3 {
	border: 1px solid red;
	background-color: lightyellow;
}

.link-button {
}

.link-button:link, .link-button:visited {
	color:#284E98;
	padding: 3px;
	background-color:#dae0e6;
	text-decoration: none;
	margin-right: 2px;
	border-right:1px solid gray;
	border-bottom:1px solid gray;
}

.link-button:link.active, .link-button:visited.active, .link-button:hover {
	color:red;
	background-color:#e6ecf2;
}

.profile-table {
	width: 100%;
	background-color: #aaa;
	border-collapse: collapse;
}

.profile-table td {
	padding: 5px;
	border: 1px solid #36414d;
}

.profile-table-label {
	background-color: #a3b8cc;
	color: white;
	font-weight: bold;
}

.profile-table-value {
	background-color: #dae0e6;
}

.category {
	padding: 5px;
	margin-bottom: 10px;
	border-bottom: 1px solid silver;
	border-right: 1px solid silver;
	background: #dae0e6;
}

.category-name {
	font-weight: bold;
}

.category-name a {
	color: yellow;
	text-decoration: none;
	text-transform: none;
}

.category-description {
	font-style: italic;
}

.postlist-pager {
	text-align: right;
	margin-top: 30px;
	border-top: 1px solid silver;
}

.postlist-pager a {
	text-decoration: none;
}

/*BEGIN: style dla TDataGrid*/

.grid {
	width: 100%;
	padding: 0;
	margin: 0;
}

.grid td {
	padding: 3px;
}

.gridHeader {
	color: #566a88;
	background: #dadee5;
	text-align: center;
	font-weight: bold;
	height: 20px;
}

.gridHeader a {
	color: #566a88;
	text-align: center;
	font-weight: bold;
	text-decoration: underline;
}

.gridRow1 {
	background: #f9f9f9;
	padding: 4px;
}

.gridRow2 {
	background: #eff0f1;
	padding: 4px;
}

.gridRowSelected {
	background: #FFFAC8;
	padding: 4px;
}

.gridPager {
	text-align: right;
	color: silver;
}

.userActive {
	color: #087619;
	font-weight: bold;
}

.userNotActive {
	color: #D50004;
	font-weight: bold;
}

.errorInput {
	border: #ff0000 1px solid;
}

.msgError {
	display: block;
	position:absolute;
	top:40%;
	left:40%;
	width:300px;
	height: 30px;
	background: #EDEDED;
	border: #D9181B 1px solid;
	z-index:200;
	margin: 0 auto;
	padding: 10px 5px 5px 5px;
	text-align: center;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 11px;
 	cursor: pointer;
}

.msgInfo {
	display: block;
	position:absolute;
	top: 40%;
	left:40%;
	width:300px;
	height: 30px;
	background: #EDEDED;
	border: #2424CB 1px solid;
	z-index:200;
	margin: 0 auto;
	padding: 10px 5px 5px 5px;
	text-align: center;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 11px;
 	cursor: pointer;
}

.msgLoading {
	display: block;
	position:absolute;
	top: 40%;
	left:40%;
	width:300px;
	height: 30px;
	background: #EDEDED;
	border: #2424CB 1px solid;
	z-index:200;
	margin: 0 auto;
	padding: 10px 5px 5px 5px;
	text-align: center;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 11px;
	cursor: wait;
}

.msgOK {
	display: block;
	position:absolute;
	top:40%;
	left:40%;
	width:300px;
	height: 30px;
	background: #EDEDED;
	border: #04B13B 1px solid;
	z-index:200;
	margin: 0 auto;
	padding: 10px 5px 5px 5px;
	text-align: center;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 11px;
 	cursor: pointer;
}

.msgWarning {
	display: block;
	position:absolute;
	top:40%;
	left:40%;
	width:300px;
	height: 30px;
	background: #EDEDED;
	border: #861214 1px solid;
	z-index:200;
	margin: 0 auto;
	padding: 10px 5px 5px 5px;
	text-align: center;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 11px;
 	cursor: pointer;
}

.flashMenu {
	display: block;
	position: absolute;
	/*top:0; */
	/*left:0;*/
/*	padding-left: 20px;*/
	margin-left: 20px;
	width:80px;
	background: #EDEDED;
	border: #2424CB 1px solid;
	text-align: left;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 11px;
	color: #1A1A1A;
	z-index: 200;
}

.brown {
	color: #800000;
	display: inline;
}

.green {
	color: #008000;
	display: inline;	
}
