/*
 * send-it.css : default stylesheet for Send-it.
 *
 * Rules can be overriden using send-it-custom.css.
 *
 * Written by T.Pierron, Polkadots Software Inc. Mar 2008.
 */

@import url(send-it-custom.css);

body
{
	font-size: 12px;
	margin: 0;
	padding: 0;
	background-color: white;
	font-family: sans-serif;
	overflow: hidden;
}

/* Generic */
form     { margin: 0 }
fieldset { margin: 5px 0 0 0; width: auto; -moz-border-radius: 5px }
legend   { color: blue; background-color: #eee }
a img    { border: 0 }
.nowrap  { white-space: nowrap }
.hide    { display: none }
.hidden  { visibility: hidden }
.new     { font-weight: bold }
.error   { color: red; font-weight: bold; font-size: 1.1em }
.invalid { background-color: #fbb }
.usercls { font-weight: bold }
.reject  { color: #f22 }
.accept  { color: #0b0 }
.warning { color: #666; font-size: 0.9em }
.dim     { color: #888 }
.plate   { margin: 2px auto !important; -moz-box-shadow: 1px 1px 2px #aaa;
           -webkit-box-shadow: 1px 1px 2px #aaa; box-shadow: 1px 1px 2px #aaa;
           border-color: #aaa #777 #777 #aaa !important }
.queuelist { display: inline-block; border-collapse: collapse; vertical-align: top; margin-right: 5px;
             border: 2px groove #ccc }
.queuename { font-weight: bold; text-transform: uppercase }
.queuelist thead tr { background-color: #ddd }

table.layout
{
	border-collapse: collapse;
	border-spacing: 0;
	margin-bottom: 2px;
	width: 100%;
}

.layout td { vertical-align: baseline }

span#warnmsg
{
	border-top: 1px solid #f80;
	border-bottom: 1px solid #f80;
	background-color: yellow;
	color: red;
	text-shadow: none;
}

/* Header */
#page         { position: absolute; top: 3.7em; left: 0; right: 0; bottom: 0; background-color: #bbc;
		-moz-box-shadow: inset 0 0 5px black; -webkit-box-shadow: inset 0 0 5px black;
		background: -moz-linear-gradient(left, #77a, #acc);
		background: -webkit-gradient(linear, 0% 0%, 100% 100%, from(#77a), to(#ccc)) }
#header       { position: relative; overflow: hidden;
                background: -moz-linear-gradient(top, #0065ae, #002e6f 90%, #0065ae);
		background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#0065AE), to(#0065AE), color-stop(.9,#002E6F));
		background-color: #002e6f; text-shadow: 0 0 4px black; height: 3.7em }
#header a     { color: #29f }
#header p     { margin: 0; padding: 0; color: white }
#header img   { position: absolute; right: 5px; bottom: 0; cursor: pointer }
#auth         { position: absolute; left: 60%; bottom: 5px }
#menu         { font-size: 1.25em; background: transparent url(/send-it/ppit-logo.png) no-repeat 5px 45% }
#menu.sendit  { background-image: url(/send-it/send-it-logo.png) }
#header #menu { padding-left: 30%; line-height: 2.8em }
#menu a       { color: white; text-decoration: none }
#menu a.ack   { color: #7f7 }
#menu a:hover { color: white; text-decoration: underline }
#ctab0        { padding-left: 5px }
#srvtime      { color: #ccc }
#about        { position: absolute; right: 5px; top: 1.85em; margin-top: -9px }
#content      { /*background: -moz-linear-gradient(top, #666, white 5px, white);*/
                background: white url(/send-it/gradient-top.png) repeat-x }
#footer       { position: absolute; height: 40px; left: 0; bottom: 0; right: 0; color: white; text-align: center;
		line-height: 40px; background: -moz-linear-gradient(top, #0065ae, #002e6f);
		background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#0065AE), to(#002e6f));
		background-color: #002e6f }
#footer p     { margin: 0; padding: 0 }
#footer a     { color: #29f }
#toolbar      { background-color: #eee; position: relative; z-index: 20 }
#curPrefix    { text-align: center; font-weight: bold; display: block; margin: 5px auto !important; }

table.list
{
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #ddf;
}

table.list thead td
{
	background-color: #ddf;
	background: -moz-linear-gradient(top, white, #e4e4ff 1px, #bbe 80%, #e4e4ff);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#e4e4ff), to(#e4e4ff), color-stop(.8, #bbe));
	font-weight: bold;
	border-top: 1px solid #cce;
	border-bottom: 1px solid #cce;
	text-shadow: 0 1px 0 #eef;
}

table.list tr.odd td
{
	background-color: #eef;
}

ul#tabs { display: block; height: 2em; margin: 5px 0 0 2px; padding: 0;
	  border-bottom: 1px solid white;
	  background: -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0) 85%, #aaa);
	  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(0,0,0,0)), to(#aaa), color-stop(.85, rgba(0,0,0,0))) }
ul#tabs li { height: 2em; line-height: 2em; list-style: none; display: block; min-width: 100px;
	     float: left; margin-left: 5px; text-align: center;
	     -moz-border-radius: 8px 8px 0 0; padding-left: 5px; padding-right: 5px;
	     border-radius: 8px 8px 0 0;
	     -moz-box-shadow: inset 0 0 3px black; background: rgba(0, 0, 0, 0.1);
	     -webkit-box-shadow: inset 0 0 3px black; text-shadow: 0 0 3px black; color: white;
	     box-shadow: inset 0 0 3px black }
ul#tabs li a          { color: white; text-decoration: none }
ul#tabs li.selected   { font-weight: bold; z-index: 15; background: #eee; -moz-box-shadow: 0 0 5px black;
	                background: -moz-linear-gradient(top, #e68b2c, #ffc83c 2px, #eee 3px, #eee);
                        -webkit-box-shadow: 0 0 5px black; box-shadow: 0 0 5px black;
                        position: relative; border-bottom: 0; padding-bottom: 1px; text-shadow: none; }
ul#tabs li.selected a { font-weight: bold; color: #555 }
ul#tabs .pagenum      { font-weight: normal; color: #555; font-size: 0.9em }
ul#tabs li.disabled   { text-decoration: line-through }
ul#tabs li span       { font-size: 1.1em }
.config ul#tabs       { background-color: transparent; border-bottom: 0; float: left }

#uploadfile
{
	width: 280px;
	position: absolute;
	left: 0px;
	padding-left: 5px;
	padding-top: 5px;
	top: 2em;
	bottom: 0;
	margin-top: 6px;
	background: #eee;
	background: -moz-linear-gradient(-125deg, #eee, #eee 50%, #ddd);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#eee), to(#ddd), color-stop(.5, #eee));
	z-index: 20;
}

#uploadfile ol       { margin: 0; padding: 0 0 0 20px; }
#uploadfile ol.nonum { margin: 0; padding: 0; list-style: none }

#colpages
{
	background-color: #eee;
	z-index: 20;
	padding-top: 5px;
	position: absolute;
	margin-top: 6px;
	padding-left: 2px;
	left: 285px;
	top: 2em;
	right: 0;
	bottom: 0;
}

#jobpage
{
	padding: 15px 15px 0 5px;
	float: left;
}

table.listview
{
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
	border: 1px solid #888;
	-moz-box-shadow: 0 0 1px #888;
	-webkit-box-shadow: 0 0 1px #888;
}

#sectionbox .listview
{
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}

#sectionbox .listview th
{
	background-color: #ddd !important;
	text-shadow: 0 1px 0 white;
}

#pageContainer #publication {
	-moz-box-shadow: none;
	-webkit-box-shadow: none
}

#pageContainer #pagelist
{
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}

#pageContainer table.listview th
{
	background: #ddd;
	border-right: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	text-shadow: 0 1px 0 white;
}

table.listview td
{
	padding-left: 3px;
	border-right: 0px solid white;
}

table.listview thead td
{
/*	background: -moz-linear-gradient(top, #eee, #ccc 80%, #e0e0e0);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#eee), to(#e0e0e0), color-stop(.8, #ccc)); */
	background-color: #ddd;
	border-left: 1px solid #919B9C;
	border-bottom: 1px solid #919B9C;
	text-shadow: 0 1px 0 white;
	font-weight: bold;
	padding: 2px;
}
table.listview thead td:first-child
{
	border-left: none;
}

table.listview thead td a
{
	text-decoration: none;
}

table.listview thead td a:hover
{
	text-decoration: underline;
}

table.listview.sortable thead td
{
	cursor: pointer;
}

table.listview.sortable thead td.nosort
{
	cursor: auto;
}

table.listview thead td img
{
	width: 8px;
	height: 9px;
	visibility: hidden;
	vertical-align: middle;
}

table thead td.sorttable_sorted img
{
	background-image: url(send-it/sort-sign-rev.png);
	visibility: visible;
}

table thead td.sorttable_reverse img
{
	background-image: url(send-it/sort-sign.png);
	visibility: visible;
}

table.listview tbody td
{
	background-color: white;
}

table.listview tbody tr.odd td
{
	background-color: #f1e8e1;
}

#pagerows tr.selected td { background-color: rgba(32, 32, 255, 0.75); color: white; }
#pagerows tr.warning  td { background-color: #ffee80; }
#pagerows tr.warning.selected td { background-color: #8077bf; }
#pagerows tr.error td { background-color: #ffcccc; }
#pagerows tr.error.selected td { background-color: #8066e5; }
#pagerows tr.selected a { color: #ccf; }

#goto { padding: 1px; margin: 0; width: 30px; font-size: 0.9em }

#jobs                   { border: 0; border-collapse: collapse }
tr.odd                  { background-color: #efeff7 }
#jobs thead td          { white-space: nowrap }
#jobs span.searchterm   { background-color: yellow }
#jobs a span.searchterm { text-decoration: underline }
#jobrows span.matches   { color: black; margin-left: 16px; display: block; font-size: 0.95em }
#jobrows span.matches a { color: black }
.edittag                { background-color: #e8e8f7; color: #bbb; -webkit-border-radius: 4px; -moz-border-radius: 4px;
                          display: inline-block; border-radius: 4px; padding: 0 5px; text-decoration: none }
#jobrows .odd .edittag  { background-color: #e0e0f7 }
#jobrows .edittag:hover { background-color: #ccd; color: white }
#taglist                { background-color: #e8e8f7; color: #888; padding: 2px 5px; font-weight: bold }
#taglist:hover          { background-color: #002e6f; color: white }

a.toolButton
{
	display: block;
	position: relative;
	float: left;
	margin-right: 6px;
	text-align: center;
	text-decoration: none;
}

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

span.disabled
{
	text-decoration: line-through;
}

a.toolButton.disabled
{
	color: #888;
	text-shadow: 1px 1px 0 white;
	text-decoration: none;
}

.config a.toolButton.disabled span
{
	text-decoration: line-through;
}

a.toolButton img
{
	border: 0;
	display: block;
	margin-left: auto; /* center */
	margin-right: auto;
	height: 32px;
}

.config a.toolButton
{
	margin-right: 10px;
}

.separator
{
	float: left;
	padding-top: 32px;
	border-right: 2px groove white;
	margin-right: 5px;
	margin-bottom: 4px;
}

#pageContainer
{
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	overflow: auto;
	background: white;
	padding: 3px 5px;
	position: relative; /* Bug IE6~IE8 do not remove */
	left: 0; right: 0;
}

/* MUCH faster to use an image than a CSS3 background of FF3.6 :-/ */
#pageContainer.clear    { clear: both }
#pageContainer.status   { z-index: 20; background: white url(send-it/status-gradient.png) repeat-x top left }
#pageContainer.nopad    { padding: 0 0 3px 0; }
#pageContainer.approved { background-image: url(send-it/approve-back.png) }
#pageContainer.archived { background-image: url(send-it/archived.png) }

#pageContainer div.pages         { border: 0; margin: 2px; padding: 2px; text-align: center }
#pageContainer div.pages.warning { background-color: #ffee80 }
#pageContainer div.pages.interr  { background-color: #ffbbbb }
#pageContainer div.pages.float   { float: left }
#pageContainer div.pages.inline  { display: inline-block }
#pageContainer div.pages .number { font-size: 16px }
#pageContainer div.pages .extra  { padding-top: 2px }
#pageContainer div.pages .dim    { font-size: 0.85em }
#pageContainer div.pages span.selected       { color: white }
#pageContainer div.pages.small span.number   { font-size: 11px }
#pageContainer div.pages div.extra span      { font-size: 11px }
#pageContainer div.pages.small div.extra     { font-size: 9px }
#pageContainer div.pages         a.thumbnail { display: block; border: 1px solid #ddd; position: relative }
#pageContainer div.pages.warning a.thumbnail { border-color: #ddce6f }
#pageContainer div.pages.interr  a.thumbnail { border-color: #dda2a2 }
#pageContainer div.pages .thumbnail.selected { border-color: #6262cf }
#pageContainer div.pages .thumbnail div.mask { display: none }

#pageContainer div.pages div.bgIntent
{
	background: white url("send-it/NA.png") no-repeat 50% 50%;
	border: 1px solid #ddd;
}


#pageContainer div.pages a.thumbnail.selected div.mask
{
	display: block;
	position: absolute;
	background-image: url(/send-it/pagesel.png);
	left: 0;
	bottom: 0;
	width: 100%;
	top: 0;
}

#pageContainer div.pages img.comment
{
	margin-left: 3px;
	vertical-align: middle;
}

.imgStatus
{
	margin-left: 3px;
}

img.format
{
	border: 0;
	padding-left: 3px;
	vertical-align: bottom;
}

.window_inline fieldset
{
	margin-bottom: 20px;
}

#addOpt         { font-style: italic }
#nosp           { font-style: italic; padding: 5px 0; width: auto; text-align: center }
#userEdit.small { width: 50%; float: left; margin-right: 5px }
#autoremove td  { text-align: center; padding: 10px }
#wait           { text-align: center; color: #888 }
#internal       { display: none }
#viewBy         { display: block; padding-top: 10px }
#separations    { width: 100% }

#popupLowRes.popup
{
	position: absolute;
	margin-top: 14px;
	padding: 0;
}
#popupLowRes.popup div
{
	border: 2px solid black;
	background-color: white;
	color: black;
	padding: 1px;
}

#popupLowRes.popup img
{
	display: block;
	position: absolute;
	left: 8px;
	top: -14px;
}

#popupLowRes.popup a
{
	display: block;
	white-space: nowrap;
	text-decoration: none;
	padding: 1px 5px;
}

#popupLowRes.popup a:hover
{
	background-color: rgba(32, 32, 255, 0.75);
	color: white;
	cursor: pointer;
}

#autohide ul
{
	margin: 0;
	padding-left: 20px;
}

#filerows .jobStatus   { float: right }
#filerows div.filename { border-bottom: 1px solid #ddd; padding-bottom: 2px; margin-bottom: 2px }
#filerows input        { margin: 0; padding: 0 }
#filetools             { font-size: 0.9em }
#filetools img         { vertical-align: middle }
#filetools a           { text-decoration: none }
#filetools a:hover     { text-decoration: underline }

h1
{
	color: #002e6f;
	margin: 5px;
	font-size: 1.6em;
}

h2
{
	position: relative;
	z-index: 3;
	display: block;
	float: right;
	font-size: 1.3em !important;
	height: 1.5em;
	line-height: 1.5em;
	margin: -3px 0 0 0 !important;
	color: white;
	background-color: #002e6f;
	border: 1px solid #06a;
	border-width: 0 0 1px 0;
	padding: 0 10px 0 2em;
	border-top: 1px solid #002e6f;
	-moz-border-radius: 0 0 0 2em; -moz-box-shadow: 0 1px 5px #555;
	-webkit-box-shadow: 0 1px 5px #555;
	border-radius: 0 0 0 2em; box-shadow: 0 1px 5px #555;
	text-shadow: 0 0 3px black;
}

h1 .subtitle
{
	font-size: 0.7em;
	color: black;
	display: block;
}

h1 .subtitle.static
{
	display: inline;
	padding-left: 10px;
}

.popup h1 .subtitle
{
	color: inherit;
}

.popup h1 .subtitle a
{
	color: #002e6f;
}

h1 a
{
	font-weight: normal;
	text-decoration: none;
}

h1 a:hover
{
	text-decoration: underline;
}

h1 a.selected
{
	font-weight: bold;
	color: black;
}

.edit h1
{
	color: white;
}

#files .deleted td.filename
{
	text-decoration: line-through;
}

#oprows .deleted td.filename:after
{
	content: "Deleted";
	background-color: #f55;
	color: yellow;
	padding: 1px 5px;
	text-decoration: none;
	font-size: 0.9em;
	margin-left: 5px;
	-moz-border-radius: 0.45em;
	border-radius: .045em;
	display: inline-block;
}

tbody#oprows tr.deleted td
{
	background-color: #f3d9c8;
}

#files tr td.filename span
{
	padding-left: 10px;
	display: block;
}

#files tr.indent td.filename
{
	background-image: url(/send-it/plus.png);
	background-repeat: no-repeat;
	background-position: 3px 50%;
}

#files tr.indent td.filename span
{
	cursor: pointer;
}

.popup
{
	background-color: #ECE9D8;
	font-size: 12px;
	padding: 5px;
}

.popup h1
{
	border-bottom: 2px groove #ccc;
	padding-bottom: 5px;
	margin-bottom: 4px;
}

.popup p
{
	padding: 0 0 5px 0;
	margin: 0;
}

.sectitle
{
	display: block;
	text-align: left;
	border-bottom: 1px solid #aaa;
	margin: 3px 0 4px 3px;
	padding-left: 5px;
	clear: left;
	font-weight: bold;
}

div.popup
{
	position: absolute;
	margin-top: 14px;
	padding: 0 !important;
	z-index: 30 !important;
	-moz-box-shadow: 1px 1px 4px #555;
	-webkit-box-shadow: 1px 1px 4px #555;
	box-shadow: 1px 1px 4px #555
}

div.popup div.border
{
	border: 2px solid black;
	background-color: white;
	color: black;
	padding: 1px;
	margin: 0;
}

div.popup img.arrow
{
	display: block;
	position: absolute;
	left: 8px;
	top: -14px;
}

div.popup span
{
	display: block;
	padding: 1px 5px;
}

div.popup span img
{
	vertical-align: middle;
}

div.popup span:hover
{
	background-color: rgba(32, 32, 255, 0.75);
	color: white;
	cursor: pointer;
}

#publication #garbageIE
{
	font-size: 1px;
	visibility: hidden;
}

#sz0   { font-size: 0.8em; }
#sz2   { font-size: 1.3em; }
.szSel { font-weight: bold; color: black; text-decoration: none; }

#page .window_inline
{
	position: relative;
	z-index: 20;
	border: 0;
	padding: 5px 0 0 0;
	margin: 0;
	background: #eee;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.window_inline {
	background-color: #eee;
	border: 1px solid #888;
	margin: 5px;
	padding: 10px;
	-moz-box-shadow: 1px 1px 3px black;
	-webkit-box-shadow: 1px 1px 3px black;
	box-shadow: 1px 1px 3px black;
}

.window_inline #toolbar { padding-left: 5px }

.lasso
{
	position: absolute;
	border: 1px dashed blue;
	z-index: 30;
}

#pageGroup
{
	border-top: 1px solid #ccc;
	background-color: #f8f8f8;
}

.group
{
	margin-top: -1px;
	display: block;
	float: left;
	padding: 2px 8px;
	border-style: solid;
	border-width: 0 1px 0 0;
	border-color: white #777 #777 white;
	cursor: pointer;
	color: #888;
	text-decoration: none;
}

.group:hover
{
	text-decoration: underline;
}

.group.first
{
	border-left-color: #eee;
}

.current.group
{
	outline: 0;
	border-left-color: #eee;
	background: #eee url(/send-it/bg-button.gif) no-repeat center bottom;
	color: black;
	cursor: auto;
	font-weight: bold;
	text-decoration: none;
}

.edit
{
	position: fixed;
	z-index: 40;
	top: 100px;
	background-color: black;
	border-top: 2px solid black;
	border-bottom: 2px solid black;
	color: white;
	width: auto;
	left: 0;
	right: 0;
	padding: 10px 20%;
	opacity: 0.9;
}

.edit .label
{
	font-weight: bold;
	text-align: right;
	padding-right: 5px;
	vertical-align: baseline;
}

.cancel
{
	text-align: right;
}

.edit .errmsg
{
	background-color: #f22;
	border-top: 1px solid #500;
	border-bottom: 1px solid #500;
	color: #ff2;
	text-align: center;
}

.edit input[type=text] { width: 50% }

.config #tool256 { color: #ccc }
.config .hdr a { text-decoration: none; color: white }
.config .hdr a.disabled { text-decoration: line-through }
.config .hdr {
	float: left; 
	height: 32px;
	background: #0065ae url(send-it/bg_top.gif) repeat-x 0 100%;
	color: white;
	padding: 0 3px 4px 3px;
	margin-left: 8px
}

.progress { display: inline-block; width: 100px; border: 1px solid black; height: 10px; background-color: white }
.channel  { display: block; background-color: #55f; height: 100% }

