/*----------------------------------------------
	
	common.css
	(c) 2008-2009 Stefan Heule

----------------------------------------------*/


/* general rules
----------------------------------------------*/
* {
	padding: 0px;
	margin: 0px;
}

body {
	background: #ccc url('../img/bg.png') fixed;
	font-family: Arial, Helvetica, sans-serif;
}


/* container
----------------------------------------------*/
#container {
	background: #fff;
	padding:0px;
	position:relative;
	
}
#outer {
	margin: 0 auto;
	margin-top: 20px;
	margin-bottom: 50px;
}
#content {
	padding-top: 15px;
	/*min-height: 300px;*/
}


/* header
----------------------------------------------*/
#header {
	background: url('/inc/img/header.png') no-repeat #000;
	background-position:0px 17px;
	position: relative;
}
#header p.header-title {
	padding-top:24px;
	margin-left:10px;
	font-weight:bold;
	font-size:17px;
	font-family:'Courier New', Courier, monospace;
}
#header p.username {
	position:absolute;
	top: 0px;
	right: 2px;
	font-size: 11px;
	color: #999;
}
#header a {
	color:#FFF;
	text-decoration:none;
}


/* footer
----------------------------------------------*/
#footer {
	background: #fff;
	clear: both;
	color: #888;
	height: 20px;
	padding-top: 6px;
	padding:6px 15px 0px 15px;
}
#footer p {
	font-size: 10px;
	text-align:center;
}
#footer a {
	color:#888;
}


/* general text settings
----------------------------------------------*/
h2 {
	font-size:17px;
	margin-bottom:5px;
	padding-left:15px;
	font-family:'Courier New', Courier, monospace;
}
h3 {
	font-size:17px;
	padding-bottom: 5px;
	font-family: Arial, Helvetica, sans-serif;
	letter-spacing: 1px;
}
h4 {
	font-size: 14px;
	font-family: Arial, Helvetica, sans-serif;
}
p {
	font-size:12px;
	line-height:15px;
}
a > img {
	border:none;
}
p > a, li > a {
	color: #1D45C6;
}
p+h4{
	padding-top: 8px;
}
ul.text-list {
	font-size:12px;
	line-height:15px;
	list-style: none;
	padding-left: 30px;
	text-indent: -10px;
}
ul.text-list li:before  {
	content: "\00BB \0020";
}
	


/* data table (home page, etc)
----------------------------------------------*/
table.data-table {
	font-size:11px;
	text-align:left;
	table-layout:fixed;
	border-collapse:collapse;
	margin-left: 15px;
	margin-right: 15px;
	margin-bottom: 15px;
}
table.data-table > tbody > tr > td, table.data-table > thead > tr > th, table.data-table {
	border:1px solid #666;
	padding: 2px 5px;
}
.home table.data-table > tbody > tr > td {
	padding: 0px;
}
table.data-table > tbody > tr.zebra {
	background:#ececec;
}
table.data-table > tbody > tr {
	background:#f6f6f6;
}
table.data-table > tbody > tr:hover {
	background:#DAE7F4;
}
table.data-table > tbody > tr > td > a {
	color:#000;
	text-decoration:none;
}
.home table.data-table > tbody > tr > td > a {
	display: block;
	padding: 2px 5px;
}
table.data-table > tbody > tr > td > a:hover {
	text-decoration:underline;
}
table.data-table > thead > tr > th {
	background:#AFCBF0;
	padding: 2px 5px;
	text-align: left;
}
table.data-table > thead > tr > th > a{
	color: black;
	text-decoration: none;
}
tr.edit_row > td > input {
	border: 1px solid #aaa;
}
table.data-table > tbody > tr > td.private {
	background-image: url('/inc/img/lock.png');
	background-repeat: no-repeat;
	background-position: right;
}
p.hidden_user_tt_link {
	text-align: right;
	position: relative;
	top: -12px;
	right: 37px;
}
/* old collections */
table.data-table > tbody > tr.oldcc > td > a {
	color: #666;
}


/* navigation
----------------------------------------------*/
ul.nav {
	position: absolute;
	bottom: 0px;
	font-size: 11px; font-family: Arial, sans-serif;
	font-weight: bold;
	list-style-type: none;
	padding-left: 10px;
}
ul.nav li {
	display: block;
	float: left;
	margin: 0 0 0 7px;
}
ul.nav li a {
	height: 15px;
	color: #fff;
	text-decoration: none;
	display: block;
	float: left;
	padding: 2px 10px;
	background: #FFF url("/inc/img/menu_bg.gif") top left repeat-x;
	-moz-border-radius: 2px 2px 0 0;
	-khtml-border-radius: 2px 2px 0 0;
	border: 1px solid #707070;
	border-bottom: none;
}
ul.nav li a:hover {
	background: #FFF url("/inc/img/menu_hover_bg.gif") top left repeat-x;
}
ul.nav li a.current{
	color: #000 !important;
	background: #FFF top left repeat-x;
}
/* small navigation */
ul.smallnav li a {
	height: 13px;
	padding: 1px 5px;
}
/* language icons */
div.lang-icon {
	position: absolute;
	top: 21px;
}
div.cur-lang {
	opacity: 0.5;
}

/* sub navigation
----------------------------------------------*/
.subnav {
	text-align:right;
	font-size:10px;
	padding-right:15px;
	margin-bottom:5px;
}
.subnav a {
	color:#333;
}


/* unidiff / histry
----------------------------------------------*/
div.udiff {
	margin: 15px;
}
div.udiff pre {
	padding :0px;
	margin: 0px;
	white-space: pre-wrap;
}
div.udiff table.udiff-chunk {
	border: 1px solid #777;
	width: 100%;
}
div.udiff table.udiff-chunk td {
	background: #F8F8F8;
	border: 1px solid #F0F0F0;
	padding-left: 5px;
}
div.udiff .udiff-header {
	/*background:#FFFF80;*/
	font-weight: bold;
}
div.udiff .udiff-header a {
	font-weight: normal;
	color:black;
}
div.udiff .chunk-header {
	color:#0000FF;
}
div.udiff table.udiff-chunk td.add {
	background: #BBFFBB; /*#DDFFDD;*/
	border: 1px solid #88BB88; /*#CDF0CD;*/
}
div.udiff table.udiff-chunk td.del {
	background: #FFCCAA; /*#F8E4CC;*/
	border: 1px solid #BB9977;/*#E8D4BC;*/
}
.ll-histry {
	font-size: 14px;
	list-style-type: none;
}


/* user stuff (login, etc) 
----------------------------------------------*/
div.login {
	margin: 0 auto;
	width:198px;
	position:relative;
	margin-bottom: 15px;
}
div.login > form  label {
	font-size: 12px;
}
form input[type="text"],
form textarea,
form input[type="password"],
form select {
	border: 1px solid #666;
	padding: 1px;
	background: #f7f7f7;
}
form input[type="text"]:focus,
form textarea:focus,
form input[type="password"]:focus,
form select:focus {
	background: #fff;
}
div.login form input[type="text"],
div.login form input[type="password"] {
	margin-bottom: 10px;
}
td.settings-table-td-label {
	border-right: 1px solid #000;
	width:120px;
	text-align:right;
	padding-right:8px;
	vertical-align:top;
}
td.settings-table-td-setting {
	padding-left:8px;
	vertical-align:top;
}


/* simple table
----------------------------------------------*/
table.simple-table {
	border: 1px solid #666;
	table-layout:fixed;
	border-collapse:collapse;
}
table.simple-table td {
	vertical-align: top;
	border: 1px solid #666;
	padding: 3px 5px;
}



/* playback
----------------------------------------------*/
div.control-wrapper {
	position:relative;
	height: 35px;
}
div.control-body {
	border:1px solid #999;
	position: absolute;
	right: 15px;
	top: -5px;
	z-index: 1000;
	background: #eee;
}
div.control-body > p {
	text-align: center;
}
div.control-body ul {
	list-style: none;
	padding: 0 2px;
}
div.control-body li {
	float: left;
	margin: 0 2px 2px 2px;
}
div.control-body a {
	border:1px solid #bbb;
	font-size: 11px;
	display: block;
	padding: 2px 4px 1px 4px;
	background: #fff;
	color: #000;
	text-decoration: none;
}
div.control-body ul li p {
	border:1px solid #bbb;
	font-size: 11px;
	display: block;
	padding: 1px 4px;
	background: #fff;
	color: #bbb;
}
div.control-body a:hover {
	background:#AFCBF0
}


/* boxes (ok, info, warning, error)
----------------------------------------------*/
.box{
	position:relative;
	line-height:11px;
	margin-bottom:10px;
	padding:10px 15px 10px 15px;
}
.warning {
	border-top:1px dashed #FFA500;
	border-bottom:1px dashed #FFA500;
	background:#FFF3D1;
}
.error {
	border-top:1px dashed #F77;
	border-bottom:1px dashed #F77;
	background:#FDD;
}
.ok {
	border-top:1px dashed #77BA7D;
	border-bottom:1px dashed #77BA7D;
	background:#DDFFDD;
}
.info {
	border-top:1px dashed #6666FF;
	border-bottom:1px dashed #6666FF;
	background:#E5E5FF;
}
.box a {
	color:black;
}
.box p {
	line-height:14px;
	padding-top:4px;
}


/* admin menu
----------------------------------------------*/
ul.admin-menu {
	list-style: none;
	width: 150px;
	margin-left: 15px;
	border-bottom: 1px solid #999;
}
ul.admin-menu > li {
	border: 1px solid #999;
	border-bottom: none;
	background: #eee;
}
ul.admin-menu > li:hover {
	background: #AFCBF0;
}
ul.admin-menu > li > a {
	display: block;
	font-size: 13px;
	color: black;
	text-decoration: none;
	padding: 3px 5px;
	font-weight: bold;
}
ul.admin-menu > li.lvl2 {
	padding-left: 15px;
}
ul.admin-menu > li.lvl2 > a, ul.admin-menu > li.lvl3 > a {
	font-weight: normal;
}
ul.admin-menu > li.lvl3 {
	padding-left: 30px;
	font-weight: normal;
}
ul.admin-menu > li > a:before  {
	content: "\00BB \0020";
}
/* debug menu */
div.debug-info {
	background: #fff;
	padding:5px 15px;
	text-align: left;
	border-top: 1px solid #999;
}



/* shadow
----------------------------------------------*/
.shad_tl {background:url("/inc/img/shadow_edges.png");width:10px;height:10px;}
.shad_tm {background:url("/inc/img/shadow_tb.png");height:10px;}
.shad_tr {background:url("/inc/img/shadow_edges.png") 10px 0px;width:10px;height:10px;}
.shad_ml {background:url("/inc/img/shadow_lr.png");}
.shad_mr {background:url("/inc/img/shadow_lr.png") 10px;}
.shad_bl {background:url("/inc/img/shadow_edges.png") 0px 10px;height:10px;}
.shad_bm {background:url("/inc/img/shadow_tb.png") 0px 10px;height:10px;}
.shad_br {background:url("/inc/img/shadow_edges.png") 10px 10px;height:10px;}
table.shad {empty-cells:show;border-spacing:0px;}


/* often used classes
----------------------------------------------*/
.fl {float:left;}
.fr {float:right;}
.fc {clear:both;}
.al {text-align:left;}
.ar {text-align:right;}
.posr {position: fixed; right: 0px;}
.pad {padding-left:15px;padding-right:15px;}
.grey {color:#888;}
.h {display:none;}
.hv {visibility:hidden;}



