/**
 * More polished style for ViewGit
 *
 * @author John Lawrence <mail@johnlawrence.net>
 */


a.tree_link {
	padding-top: 16px;
	height: 0px;
	width: 22px;
	overflow: hidden;
	display: inline-block;
	background: url('images/silk/chart_organisation.png') no-repeat 50% 50%;
}

a.tar_link {
	padding-top: 16px;
	height: 0px;
	width: 22px;
	overflow: hidden;
	display: inline-block;
	background: url('images/silk/page_white_compressed.png') no-repeat 50% 50%;
}

a.zip_link{
	padding-top: 16px;
	height: 0px;
	width: 22px;
	overflow: hidden;
	display: inline-block;
	background: url('images/silk/page_white_zip.png') no-repeat 50% 50%;
}

a.cdiff_link {
	padding-top: 16px;
	height: 0px;
	width: 22px;
	overflow: hidden;
	display: inline-block;
	background: url('images/silk/commit_diff.png') no-repeat 50% 50%;
}

a.patch_link {
	padding-top: 16px;
	height: 0px;
	width: 22px;
	overflow: hidden;
	display: inline-block;
	background: url('images/silk/page_white_code_red.png') no-repeat 50% 50%;
}

h1 {
	font-size: 130%;
}

h1 a {
	text-decoration: none;
}

table {
	width: 100%;
	border-collapse: collapse;
}

table tr.even {
	background-color: #f8f8f8;
	border-bottom: 1px solid #eee;
	border-top: 1px solid #eee;
}

table tr.odd td, table tr.even td {
	padding: 6px 2px;
}

table tbody tr:hover {
	background-color: #e0ffe0;
}

table th {
	background-color: #cfcfcf;
	text-align: left;
	border-bottom: 1px solid #666;
	border-top: 1px solid #666;
	padding: 6px 2px;
}

.notices {
	padding-left: 1em;
	margin: 0;
}

.notices p {
	margin: 0;
	padding: 0;
}

.notices .error {
	background-color: #f77;
}

.notices .info {
	background-color: #ff7;
}

.notices .warning {
	background-color: #fc7;
}

.viewgitnav {
	font-size: 1.4em;
	padding: 20px;
	margin: 0;
	background:#aaa url('images/viewgit.png') no-repeat 98% 50%;
	border-bottom: 1px solid #000;
}

.viewgitnav a {
	text-decoration: none;
	font-size: 1.2em;
	font-weight: bold;
	color : #005580;
}

div#page_body {
	margin: 10px 20px;
}

.pagenav {
	margin-top: 0.3em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
}

.pagenav a {
	text-decoration: none;
}

.pagenav a:hover {
	text-decoration: underline;
}

.pagenav .cur {
	font-weight: bold;
}

.search {
	display: inline;
}

.ad {
	margin-top: 20px;
	text-align: center;
	font-size: 80%;
}

span.label {
	font-size: 80%;
	padding-left: 0.5em;
	padding-right: 0.5em;
	margin-left: 0.5em;
	font-weight: bold;
}

span.head {
	background-color: #afa;
	border-right: 1px solid #090;
	border-bottom: 1px solid #090;
}

span.remote {
	background-color: #faf;
	border-right: 1px solid #909;
	border-bottom: 1px solid #909;
}

span.tag {
	background-color: #ffa;
	border-right: 1px solid #990;
	border-bottom: 1px solid #990;
}

/* summary template */

table.shortlog th.date {
	width: 15%;
	white-space: pre;
}

table.shortlog th.author {
	width: 15%;
}

table.heads th.date {
	width: 15%;
}

/* commitdiff template */

.commitmessage {
	border:1px solid #999;
	background:#ffe;
	padding: 0 0.5em;
	margin: 0.5em;
	font-size: 1.2em;
}

div.diff {
	font-size: 1.2em;
}

.diff .add {
	color: green;
}

.diff .del {
	color: red;
}

.diff .pos {
	color: purple;
}

.diff .etc {
	color: #999;
}

/* tree template */
table.tree th.perm {
	width: 10%;
}

table.tree th.dl {
	width: 10%;
}

table.tree .dir a.item_name{
	padding-left: 20px;
	background: url('images/silk/folder.png') no-repeat 0 50%;
}

table.tree .blob a.item_name{
	padding-left: 20px;
	background: url('images/silk/page_white_text.png') no-repeat 0 50%;
}

/* viewblob template */
.file {
	border:1px solid #999;
	background:#ffe;
	padding: 0 0.5em;
	margin: 0.5em;
	font-size: 1.2em;
}