.ui-widget {
	font-size: 10px;
}


a.download:before {
	content: url(../images/icon_download.png);
	position: relative;
	top: 5px;
	margin: 0 5px 0 0;
}

a.back {
    color: #036;    
}

a.back:before {
	content: url(../images/icon_back.png);
	position: relative;
	top: 5px;
	margin: 0 8px 0 0;
}

#archive header {
	height: 100px;
	position: absolute;
	top: 20px;
	right: 20px;
	left: 20px;
	/*background: pink;*/
}

#archive header img {
	position: absolute;
	left: 0;
	top: 0;
}

#archive header h1 {
	line-height: 100px;
	padding-left: 240px;
}

#archive header ul {
	line-height: 50px;
	position: absolute;
	right: 0;
	top: 0;
	text-align: right;
}

#archive header li {
	display: inline;
	margin: 0 0 0 20px;
}




#sidebar {
	position: absolute;
	left: 20px;
	top: 140px;
	width: 220px;
	bottom: 20px;
	/*background: pink;*/
}

#sidebar p {
	margin: 0;
	padding: 0;
}

#sidebar form input[type="text"] {
	width: 202px;
}

#sidebar form input.date {
	width: 94px;
	background: url(../images/icon_calendar.png) no-repeat 79px 1px;
	padding: 0 6px;
}

#date-to {
	float: right;
}

#search_meta {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 50px;
	line-height: 25px;
}

#search_data {
	overflow: hidden;
}

#search_results {
	position: absolute;
	top: 60px;
	left: 0;
	right: 0;
	bottom: 35px;
	line-height: 25px;
	overflow: auto;
	border: 1px solid #CCC;
}

#search_results ul {
}

#search_results li {
	border-bottom: 1px solid #CCC;
}

#search_results li p,
#search_results li a {
	display: block;
	padding: 0 20px;
	margin: 0;
}

#search_results li p a {
	padding: 0;
}

#search_results li a:hover {
	background: #F7F7F7;
}

#search_results li a.selected,
#search_results li a:focus,
#search_results li a:active {
	background: #ED8C00;
	color: #FFF;

}

#search_results li a.rejected,
#search_results li a.approved,
#search_results li a.deleted {
	background-repeat: no-repeat;
	background-position: 175px 1px;
}
#search_results li a.rejected { background-image: url(/images/icon_wrong.png); }
#search_results li a.approved { background-image: url(/images/icon_check.png); }
#search_results li a.deleted { background-image: url(/images/icon_alert.png); text-decoration: line-through; }

#search_results li a.sort {
	font-weight: bold;
	color: #333;
	background: #CCC;
}

#search_results li a.refine {
	font-weight: bold;
	color: #333;
	background: #CCC;
}

#search_results li a.descending:after { content: " ▼"; }
#search_results li a.ascending:after { content: " ▲"; }

#search_results p {
	padding: 20px 20px 0;
}


#search_download {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	line-height: 25px;
}

#search_download select {
	width: 220px;
}

#result_download {
	position: absolute;
	bottom: 20px;
	left: 260px;
	right: 260px;
	line-height: 25px;
}

#result_download p {
	margin: 0;
}

#result_download a {
	/* invisible by default, shown if JS is available and download URL exist*/
	display: none;
}


#main {
	position: absolute;
	left: 260px;
	top: 140px;
	right: 20px;
	bottom: 55px;
	border: 1px solid #CCC;
}

.show_meta #main {
	right: 260px;
}

#main iframe {
	width: 100%;
	height: 100%;
	position: absolute;
}

#main.loading {
	/*border-color: #fff;*/
}

#main.loading:before {
	content: " ";
	background: url(../images/loading.gif);
	position: absolute;
	width: 32px;
	height: 32px;
	left: 50%;
	top: 50%;
	margin-top: -16px;
	margin-left: -16px;
}

#main.loading iframe {
	visibility: hidden;
}

#result {
	width: 100%;
	height: 100%;
}

#result_meta {
	position: absolute;
	top: 140px;
	right: 20px;
	bottom: 55px;
	width: 220px;
	display: none;
}

.show_meta #result_meta {
	display: block;
}

#result_meta dl {
	border-bottom: 1px solid #CCC;
	padding: 0 0 .5em;
	margin: 0 0 .5em;
}

#result_meta dt {
	border-top: 1px solid #CCC;
	padding: .5em 0 0;
	font-weight: bold;
}

#result_meta dd {
	margin-bottom: 1em;
}

#result_meta dd p {
	margin: 0;
	padding: 0;
}

#result_meta input[type="text"] {
	display: none;
	width: 201px;
}

#result_meta dd.error span {
	font-size: 10px;
	color: red;
	text-align: right;
}

#result_meta dd.error input[type="text"] {
	border-color: red;
	color: red;
}

#result_meta textarea {
	width: 201px;
	height: 201px;
}

#result_meta button {
	float: right;
	border: none;
	background: transparent;
	color: #003366;
	cursor: pointer;
}

#result_meta button:hover {
	text-decoration: underline;
}

#result_meta input[type="submit"] {
	visibility: hidden;
}

#result_meta.result_meta_editable input[type="submit"] {
	visibility: visible;
}
