/* Main definitions */

html {
height: 100%;
}

html>body {
height: 90%;
}

body {
    margin: 20px;
    height: 100%;
    font-size: 12px;
    font-family : 'Lucida Grande', 'Lucida', 'Verdana', 'Arial', 'Helvetica', sans-serif;
overflow: auto;
}

table.frame {
	border-left: solid 1px #1D4ED3;
	border-right: solid 1px #1D4ED3;
	border-bottom: solid 1px #1D4ED3;
	border-top: none;
background-color: #f3f3f3;
}

.border-free {
border: none;
}

body.nopad {
padding: 0;
margin:0;
}

iframe #files {
padding: 0;
margin:0;
}

/* Search Form */

input.text  {
	background: #fff; /* f3f3f3*/
	color : #000; /*1D4ED3 */
	font-weight : bold;
	font-size : 16px;
	text-decoration : none;
	width : 180px;
	text-align: center;
}

input.button  {
	color : #000000;
	font-weight : normal;
	font-size : 12px;
	text-decoration : none;
}

input.checkbox  {
	color : #000000;
	font-weight : normal;
	font-size : 9px;
	text-decoration : none;
}

span.checkbox  {
	color : #000000;
	font-weight : normal;
	font-size : 9px;
	text-decoration : none;
}

select  {
	font-size: 16px;
	color: #000; /* 1D4ED3 */
	font-weight: normal;
	text-decoration: none;
	width: 250px;
}

option {
	font-size: 12px;
	color : #000;
}

optgroup {
	font-size: 14px;
	color : #000;
}

/* Result Output */

h1.result  {
/* The heading on the right iframe*/
	color : #000000;
	font-weight : bold;
	font-size : 14px;
	text-decoration : none;
	text-align: center;
}

p.result  {
	color : #000000;
	font-weight : normal;
	font-size : 12px;
	text-decoration : none;
}

.result  {
	color : #000000;
	font-weight : bold;
	font-size : 12px;
	text-decoration : none;
}

/* Normal Links */

a { 
	color : #1D4ED3;
	text-decoration : none;
}

a:visited { 
	color : #1D4ED3;
	text-decoration : none;
}

a:hover { 
	color : #1D4ED3;
	text-decoration : underline;
}

a:active { 
	color : #C30203;
	text-decoration : underline;
}


/* NEED TO CHECK: No clue what these special links are for! :-( */

a.document  {
	color : #1D4ED3;
	font-weight : bold;
	text-decoration : none;
}

a.document:visited  {
	color : #1D4ED3;
	font-weight : bold;
	text-decoration : none;
}

a.document:active  {
	color : #1D4ED3;
	font-weight : bold;
	text-decoration : underline;
}

a.document:hover  {
	color : #1D4ED3;
	font-weight : bold;
	text-decoration : underline;
}

/* .result class is the one displayed in the UPPER iframe*/

a.result  {
	color : #1D4ED3;
	font-weight : normal;
	font-size : 12px;
	text-decoration : none;
}



a.result:visited  {
	color : #1D4ED3;
	font-weight : normal;
	font-size : 12px;
	text-decoration : none;
}

a.result:active  {
	color : #C30203;
	font-weight : bold;
	font-size : 12px;
	text-decoration : underline;
}

a.result:hover  {
	background-color : #1D4ED3;
	color: white;
	text-decoration: none;
}


/* .result2 class is the one displayed in the LOWER iframe*/

a.result2  {
	color : #333333;
	font-size : 12px;
	text-decoration : none;
	line-height: 16px;
}

a.result2:visited  {
	text-decoration : none;
}

a.result2:active, a.result2:hover {
	background : #333333;
	color: #fff;
	font-size : 12px;
	text-decoration : none;
}

a.ts  {
	color : #1D4ED3;
	font-weight : normal;
	font-size : 9px;
	text-decoration : none;
}

a.ts:visited  {
	color : #1D4ED3;
	font-weight : normal;
	font-size : 9px;
	text-decoration : none;
}

a.ts:active  {
	color : #9D9D9D;
	font-weight : normal;
	font-size : 9px;
	text-decoration : underline;
}

a.ts:hover  {
	color : #9D9D9D;
	font-weight : normal;
	font-size : 9px;
	text-decoration : underline;
}

span.extract  {
	color : #000000;
	font-weight : normal;
	font-size : 12px;
	text-decoration : none;
}

.readit {
	font-weight : normal;
	font-size : 8px;
	border: solid 1px #1D4ED3;
	vertical-align: middle;
}

/* For the top line menus */

.nosy {
	color : #000000;
	font-weight : bold;
	font-size : 12px;
}

.btn, .btn_on, .btn_right {
	padding: 3px;
	float: left;
	text-decoration: none;
	font-size : 12px;
	margin: 0px 5px -1px 0px;
	z-index: 1000;
}

.btn_announce {
	padding: 3px;
	float: left;
	text-decoration: none;
	font-size : 12px;
	margin: 0px 5px -1px 0px;
	font-variant: small-caps;
	font-weight: bold;
	color: #C30203;
	text-shadow: #666666 3px 3px 3px;
	filter: Shadow(Color=#666666, 	
			Direction=135, 
			Strength=3);
}

.btn_on, .btn_right_on {
	font-weight: bold;
	text-decoration: none;
	font-size : 14px;
	text-shadow: #666666 3px 3px 3px;
	filter: Shadow(Color=#666666, 	
			Direction=135, 
			Strength=3);
}

.btn_right {
	float: right;
	text-decoration: none;
	margin: 0 0 0 5px;
}

.btn_right_on {
	padding: 3px;
	float: right;
	text-decoration: none;
	margin: 0 0px -1px 5px;
	z-index: 1000;
}

a.btn, a.btn_right {
	background: #ccc;
	border-top: solid 1px #9ac; /* #9ac */
	border-left: solid 1px #9ac; /* #9ac */
	border-right: solid 1px #9ac; /* #9ac */
	color: #666;
	text-decoration: none;
/*	background-image:url(btn.gif); */
}

a.btn:hover, a.btn_right:hover, a.btn_on, a.btn_on:hover, a.btn_right_on, a.btn_right_on:hover {
	background: #f3f3f3; /* #acf */
	border-top: solid 1px #1D4ED3; /* #9ac */
	border-left: solid 1px #1D4ED3; /* #9ac */
	border-right: solid 1px #1D4ED3; /* #9ac */
	color: #1D4ED3; /* #03629C */
	text-decoration: none;
	text-shadow: #666666 3px 3px 3px;
	filter: Shadow(Color=#666666, 	
			Direction=135, 
			Strength=3);
/*	background-image:url(btn.gif); */
}

.btn_line {
	border-bottom: solid 1px #1D4ED3;
}

.btn_line_top {
	border-top: solid 1px #1D4ED3;
}

/* for whatever */

a.origin {
	color: #C30203;
	font-weight: bold;
}

a.origin:hover {
	color: #fff;
	background-color: #C30203;
	text-decoration: none; 
}

.help {
	cursor:help;
}

.flag { border-top: 1px solid #ffffff;
	border-left: 1px solid #ffffff; 
	border-bottom: 1px solid #000000; 
	border-right: 1px solid #000000; 
	margin: 0 4px 0 0;
	vertical-align: bottom; 
}

a.flag:hover {
	text-decoration: none;
}

.caution { vertical-align: middle; 
text-decoration: none;
}


/* for the display of the search area in the search form, on the right */

.divcontainer {
/*	background: #ccc; */
	border: solid 1px #9ac;
	padding: 5px 20px 5px 20px;
	width: 90%;
        margin-left: 10px;
}

/*
.divcontainer:hover {
	color: #1D4ED3; 
	background: #acf;  
}
*/

.hidden {
	margin: 10px 20px 10px 20px;
	display: none;
	overflow: hidden;
}

img.nothing {
	border: none;
	margin: 0;
	padding: 0;
	vertical-align: middle; 
}

a.divlink:hover {
	text-decoration: none;
	color : #C30203;
}


/* for the welcome splashscreen in the very beginning */

#overlay {
    display: none;
    z-index: 999;
    position: absolute;
    left: 0px;
    top: 0px;
    width:100%;
    height:100%;
    text-align:center;
    background-color: #000000;
    filter: alpha(opacity=20);
    -moz-opacity:0.2;
    opacity: 0.2;
}

#welcome {
    display: none;
    position: absolute;
    z-index: 1000;
    width:100%;
}

#welcome div {
    text-align:center;
    width:400px;
    margin: 15px auto;
    border: solid 1px;
    padding:15px;
    background-color: #fff;
}

h1.welcome_msg {
	height: 160px;
  	background-image:url(cst.gif);
	background-repeat:no-repeat;
	background-position: center;
	text-align: center;
	color : #1D4ED3;
	font-weight : normal;
	font-size : 22px;
	text-decoration : none;
}

.welcome_msg_header {
	background-color: transparent;
	color : #666666;
	font-weight : bold;
	font-size : 16px;
	text-decoration : none;
	text-align: center;
}

/* Copyright Notice */

.copy {

	font-size : 9px;
	text-decoration : none;
	text-align: center;
}

.copy a {
	color : #1D4ED3;
	font-weight : normal;
	text-decoration : none;
}

.copy a:hover  {
	background-color : #1D4ED3;
	color: white;
	text-decoration: none;
}

/* RESULTS dropdown menu common styling */

div.menu {
padding: 0;
margin: 0;
}

.menu ul {
padding: 0;
margin: 0;
list-style-type: none;
}

.menu ul li {
position: relative;
float:left;
}

.menu ul li a, .menu ul li a:visited {
display:block; 
text-decoration:none; 
}

.menu ul li ul {
top: 22px;
max-height: 350px;
overflow: hidden;
z-index: 500;
visibility:hidden;
position:absolute;
width:250px;
margin: 0;
}

.menu ul li ul ol {
max-height: 300px;
overflow: hidden;
border-top:1px solid #1D4ED3;
border-left:1px solid #1D4ED3;
border-bottom:1px solid #1D4ED3;
border-right: 1px solid #1D4ED3;
}

.menu ul li:hover special a.btn {
background: #f3f3f3; 
color: #1D4ED3; 
text-shadow: #666666 3px 3px 3px;
filter: Shadow(Color=#666666, 	
		Direction=135, 
		Strength=3);
/* background-image:url(btn.gif); */
}

/* specific to non IE browsers */
.menu ul li:hover a {
padding: 3px;
border-top: solid 1px #1D4ED3;
border-left: solid 1px #1D4ED3;
border-right: solid 1px #1D4ED3;
}

.menu ul li:hover ul {
padding: 0;
margin: 0;
border: 0;
visibility:visible;
display:block; 
background: #fff;
}

.menu ul li:hover ul ol {
padding: 0;
margin: 0;
max-height: 300px;
overflow: auto;
list-style-position:outside;
visibility:visible;
border-bottom: 1px solid #1D4ED3;
font-weight:normal; 
font-size:0.9em;
line-height:1em; 
}

.menu ul li:hover ul ol li a {
text-align:left;
border: 0;
}

.menu .btn_on {
	font-weight : bold;
	padding: 3px;
	float: left;
	font-size : 14px;
	background: #f3f3f3; /* #acf */
	border-top: solid 1px #1D4ED3; /* #9ac */
	border-left: solid 1px #1D4ED3; /* #9ac */
	border-right: solid 1px #1D4ED3; /* #9ac */
	color: #1D4ED3; /* #03629C */
	text-decoration: none;
}

.menu ul li:hover ul li a:hover {
background:#888; 
color:#fff;
font-size: 12px;
}

#ResultText {
height: 500px;
text-align: left;
overflow: auto;
	border-left: solid 1px #1D4ED3;
	border-right: solid 1px #1D4ED3;
	border-bottom: solid 1px #1D4ED3;
	border-top: none;
background-color: #f3f3f3;
padding-top: 5px;
padding-left: 10px;
padding-right: 10px;
}
