a:link, a:visited {
	color: #5c90c3;
	text-decoration: none;
	outline: none;
}
a:hover, a:active {
	color: #5c90c3;
	text-decoration: none;
	outline: none;
}
label.desc {
	float: left;
	width: 82px;
	font-size: 12px;
	padding-top: 8px;
	color: #333;
}
/* new button class: .btn */
.btn {
	background: #5388ba;
	border: #3d74a4 solid 1px;
	padding: 4px 18px;
	color: #fff;
	font: bold 11px tahoma, Helvetica, sans-serif;
	cursor: pointer;
	overflow: visible;
	margin: 2px;
	outline: none;
}
.btn:hover {
	background: #376f9f;
}
.btn-disabled, .btn[disabled="disabled"] {
	background: #aab9c9;
	border: #93a2b2 solid 1px;
	padding: 4px 18px;
	color: #d2e2f2;
	font: bold 11px tahoma, Helvetica, sans-serif;
	overflow: visible;
	margin: 2px;
	outline: none;
	cursor: default;
}

select {
    border: 1px solid #BDC7D8;
    font-family: tahoma,verdana,arial,sans-serif;
    font-size: 11px;
    padding: 2px;
}

input[type=password] {
	font: 11px tahoma, Helvetica, sans-serif;		
	border: 1px solid #C0CAD5;
	/*color:#777777;*/
	padding:3px;
	width: 192px;
}

/* Treeview */
div.results-tree {
	height: 305px;
	overflow: auto;
	border-bottom: 1px solid #eee;
}
div.history-tree .results-tree{
	height: 450px;
	border-bottom: none;
}
.results-tree div.AspNet-TreeView ul li {
    white-space: nowrap;
    padding: 6px 0 0; 
}
.results-tree div.AspNet-TreeView ul ul {
    margin-left: 22px;
}
.results-tree div.AspNet-TreeView ul li img {
    border: none;
    vertical-align: middle;
    margin: -3px 6px 0 0;   
}

.results-tree div.AspNet-TreeView li a {
    text-decoration: none;
}

.results-tree div.AspNet-TreeView li.AspNet-TreeView-Root{

}

.results-tree div.AspNet-TreeView li.AspNet-TreeView-Parent{

}

.results-tree div.AspNet-TreeView li.AspNet-TreeView-Leaf{
    margin-left: 22px;
}

/* Consider changing the cursor value (below) to something like */

/*     cursor: n-resize;                                        */

.results-tree div.AspNet-TreeView .AspNet-TreeView-ClickableNonlink{
    cursor: pointer;
}

/* Consider changing the cursor value (below) to something like */

/*     cursor: n-resize;                                        */

.results-tree div.AspNet-TreeView .AspNet-TreeView-Collapse{
    background: url(../images/collapse.gif) 2px -2px no-repeat;
    width: 18px;
    margin-right: 4px;
    float:left;
    cursor: pointer;
}
/* Consider changing the cursor value (below) to something like */

/*     cursor: n-resize;                                        */

.results-tree div.AspNet-TreeView .AspNet-TreeView-Expand {
    background:  url(../images/expand.gif) 2px -2px no-repeat;
    width: 18px;
    margin-right: 4px;
    float:left;
    cursor: pointer;
}

.results-tree div.AspNet-TreeView a,
.results-tree div.AspNet-TreeView a:visited,
.results-tree div.AspNet-TreeView a:active,
.results-tree div.AspNet-TreeView a:hover,
.results-tree div.AspNet-TreeView a:link{
    color: #222;
}

.results-tree div.AspNet-TreeView .AspNet-TreeView-Selected a {
    font-weight: bold !important;
    color: #8A2BE2 !important;
    
}

.results-tree div.AspNet-TreeView .AspNet-TreeView-Selected ul a {
    font-weight: normal !important;
    color: #222 !important;
}
/* End of Treeview */

.ct {
	text-align: center;
}
p.ct {
	margin-top: 8px;
}
input.readonly {
	padding: 8px 0 0 4px;
	margin-bottom: 0;
	border: 1px solid #999999;
}
div.clearer {
	clear: both;
	border-top:  3px solid #dcdcdc;
}

 
body#grid-search div#column-right input[type=text] {
	width: 240px;
}

body#grid-search div#column-right select {
	width: 250px;

}

.grd-results {
	border-top: 1px solid #d6d7d9;
	border-left: 1px solid #d6d7d9;
	border-right: 1px solid #d6d7d9;
	margin-bottom:0;
}
.grd-results th {
	padding: 5px;
	background: #e6e6e9;
	color: #444;
	border-bottom: 1px solid #d6d7d9;
	font-size: 11px;
	text-align: left;
	font-weight: normal;
}
.grd-results td {
	padding: 4px;
	line-height: 1;
	border-bottom: 1px solid #d6d7d9;
	font-size: 11px;
	/*background: #fff;*/
	color: #555;
}
.grd-results tr.alternate td {
	background: #fafafa;
}
.grd-results tr.selected td {
	background: #e3f4ff;
}
.grd-results a:link, .grd-results a:visited {
	color: #5c90c3;
}
.grd-results a:hover, .grd-results a:active {
	color: #5c90c3;
}
/* begin ---- swap-control  & swap-image ---- */

#swap-image {
	margin: 0; 
	padding: 0; 
	float: left
}

#swap-image p {
	float: left
}

#swap-control {
	padding: 2px; 
	border: #333 solid 1px; 
	width: 16px; 
	height: 32px; 
	margin-left: 270px; 
	margin-top: 70px
}

/* end ---- swap-control  & swap-image ---- */

#tabs {
	margin: 0;
	margin-top: -10px;
	margin-bottom: 10px;
	margin-right: -20px;
	margin-left: -20px;
	_margin-left: -22px;

	padding: 0;
	padding-left: 10px;
	display: block;
	background: #BFDBFF;
	height: 25px;
	padding-top: 20px;
	border-bottom: solid 1px #8DB2E3;
}
#tabs li {
	display: inline;
	float: left;
}
#tabs li a:link, #tabs li a:visited  {
	display: block;
	float: left;
	background: #ddd;
	overflow: visible;
	padding: 8px 20px;
	margin-right: 3px;
	font-size: 12px;
	font-weight: bold;
	color: #5c90c3;
}
#tabs li a:hover, #tabs li a:active {
	background: #fff;
	color: #5c90c3;
}
#tabs li.selected a {
	background: #fff;
	border-bottom: none;
}



#log-in {
	border: 3px double #f1f1f1;
	margin: 100px auto;
	padding: 30px;
	width: 350px
}

/* bottom main */

div.searchcontrol {
	clear: both;
	height: 32px;
	background: url(../images/bg-nav.gif) repeat-x;
	vertical-align: middle;
}
div.searchcontrol h3 {
	margin:0;
	padding: 8px;
	padding-left: 10px;
	color: white;
	font-size: 14px;
	font-weight: normal;
	color: #fff;
	border-bottom: 1px solid #fff;
	border-top: 1px solid #999;
}

/* end bottom main */
#progressBackgroundFilter {
    position:fixed; 
    top:0px; 
    bottom:0px; 
    left:0px;
    right:0px;
    overflow:hidden; 
    padding:0; 
    margin:0; 
    /*background-color:#000; 
    filter:alpha(opacity=40); 
    opacity:0.4;*/ 
    z-index:1000; 
}

#processMessage { 
    position:fixed; 
    top:30%; 
    left:43%;
    padding:10px; 
    width:14%; 
    z-index:1001; 
    background-color: #fff;
    border:solid 1px #C0CAD5;
    text-align:center;
}

/* search grid layout */
body#grid-search #wrapper {
	background: #fcfcfc;
	margin: 0;
	margin-bottom: -5px;
	/*padding-top: 10px;*/
}


body#grid-search #wrapper-2 {
	background: #fcfcfc;
	margin: 0;
	margin-bottom: -5px;
	margin-top: 10px;
	border-top: #717171 solid 5px;	
}

/* search panel */
body#grid-search div#column-main {
	margin: 0;
	/*background: #f9f9f9;
	min-width: 785px;
	border-bottom: 3px solid #dcdcdc;*/	
	/*position: relative;*/ /* fixes peekaboo bug in ie6 */	
	
}
/* search result column */
body#grid-search div#column-left {
	float:left;
	width: 400px;
	
	/*margin-bottom: 25px;
	padding-bottom: 10px;*/
	background: #fcfcfc;
	padding: 0;
	/*border-right: 1px solid #dcdcdc;*/
}
body#grid-search div#column-left table {
	margin: 10px 10px 0;
}
body#grid-search div#column-left .actions {
	clear: both;
	background: #f2f2f2;
	border-bottom: 1px solid #fff;
	border-top: 1px solid #d9d9d9;
	padding: 5px;
	padding-left: 10px;
	margin: 0;
	display: inline;
	float: left;
	width: 385px;
	text-align: center;
}
body#grid-search div#column-left h3 {
	background: #ccc;
	color: #fff;
	border-bottom: 1px solid #fff;
	border-top: 1px solid #999;
	font-size: 14px;
	font-weight: normal;
	padding: 8px;
	padding-left: 10px;
	margin:0;
}
/* details column */
body#grid-search div#column-right {
	margin-left: 401px;
	border-left: 1px solid #dcdcdc;
	padding-left:  20px;
	padding-right:  20px;
	padding-bottom: 10px;
	background: #fff;
}
div#column-right {
	min-height: 420px;
}
body#grid-search div#column-right .actions {
	clear: both;
	background: #e3e3e3;
	border-bottom: 1px solid #d6d7d9;
	border-top: 1px solid #d6d7d9;
	padding: 5px;
	padding-left: 10px;
	margin-left: -20px;
	margin-right: -20px;
	text-align: center;
}
body#grid-search div#column-right p {
	margin-bottom: 5px;
	margin-top: 0;
}
body#grid-search div#column-right h3 {
	background: #888;
	color: #fff;
	border-bottom: 1px solid #fff;
	border-top: 1px solid #666;
	font-size: 14px;
	font-weight: normal;
	padding: 8px;
	padding-left: 10px;
	margin: 0 -20px 10px;
	position: relative;  /* fixes peekaboo bug in ie6 */
}

/* \*/ 
* html .gainlayout {
	height: 1%;
}
/* */ 
body#grid-search div#column-right h4 {
	color: #888;
	font-size: 16px;
	font-weight: normal;
	margin: 20px 0 10px;
}
body#grid-search #two-col-form {
	/*height: 140px;*/
	height: 100%;
	padding: 10px;
	
}
body#grid-search div#column-right .grd-results table {
	margin-top: 10px;
	float: left;
}
body#grid-search #two-col-form ul {
	margin: 0;
	padding: 0;
	width: 785px;
	float: left;
	*width: 800px
}
body#grid-search #two-col-form li {
	display: inline;
	float: left;
	margin-right: 5px;
	margin-bottom: 5px;
	width: 375px;
	list-style: none;
	/*height: 26px;*/
}

body#grid-search #two-col-form li.long {
	width: 395px
}

body#grid-search #two-col-form select {
	width: 180px;
	margin: 0;
	margin-top: 6px;
	/*padding-top:4px;
	height: 27px;*/	
	font: 12px tahoma, Helvetica, sans-serif;
	color: #555;
	border: 1px solid #888;
}
body#grid-search #two-col-form option {
	/*padding: 3px;*/
}

body#grid-search #two-col-form p {
	
	padding: 0;
	margin: 0
}

/* 3 column layout */
/* 
div#wrapper{float:left;width:100%}
div#column-main{margin: 0 200px}
div#column-left{float:left;width:200px;margin-left:-100%}
div#column-right{float:left;width:200px;margin-left:-200px}
*/

/* 2 column layout */
/*
div#wrapper{float:right;width:100%;margin-left:-200px}
div#column-main{margin-left:200px}
div#column-left{float:left;width:200px}
div#column-right{float:left;clear:left;width:200px}
*/
.grd-results .pagination td{
	border-bottom: none;
	padding:0;
	padding-bottom: 10px;
}
.grd-results .pagination td table td {
	padding: 3px;
	vertical-align: middle;
}
.grd-results .pagination td table td a {
	border: #ccc solid 1px;
	background: #fff;
	padding: 3px;
	font-weight: normal;
	font-size: 9px;
	text-decoration: none;
	text-align: center;
	min-width: 13px;
	display: block;
	float: left;
	margin-right:0;
	margin-right: 5px;
}
.pagination td table tr td a:hover {
	background: #f1f1f1;
}
.pagination td table tr td a.current {
	background: #f1f1f1;
}

/*ADMIN LOGINPAGE*/

	#login-logo {
		background: url(../images/admin-logo.gif) no-repeat;
		text-indent: -9000px;
		width: 220px;
		height: 154px;
		margin: 0 auto;
		display: block;
	}

	#admin-login-header {
		width: 920px;
		height: 154px;
		margin: auto;
		background: url(../images/admin-headerbg.gif) repeat-x;
		border: solid 1px #f8f8f8;
	}

	#wrapper-loginpage {
		width: 920px;
		height: 469px;
		margin: 13px auto 0px auto;
		border: solid 1px #efefef;
		background: url(../images/admin-bg.gif) no-repeat bottom right;
	}
	
	#admin-shadow-xtra {
		width: 920px;
		height: 13px;
		background: url(../images/admin-contbox-shadow.gif) no-repeat center top;
		margin: auto auto;
	}
	
	#login-box {
		width: 401px;
		height: 176px;
		margin: 0 auto;
		background: url(../images/admin-logbox-bg.gif) no-repeat;
		color: #8c8c8e;
		padding-top: 36px;
		margin-top: 80px;
	}

	.login-form {
		width: 300px;
		margin: 0 auto;
		padding: 0;
	}	
	.login-form label {
		font-weight: bold;
		line-height: 250%;
		display: inline-block;
		float: left;
    	width: 70px;
    	
	}	
	.login-form #login-button { 
		text-align: center;
	}
	.login-form p {
		margin-left: 20px;
		text-align: left;
		margin-bottom: 5px;
		margin-top: 0;
	}
	.login-form p input { 
		width: 180px; 
		border: 1px solid #D3D3D3; 
		background: #fefefe; 
	}

	#footer-admin-login {
		margin: auto auto;
		width: 920px;
		height: 30px;
		padding-top: 10px;
		background-color: #f4f4f4;
		color: #585859;
		line-height: 150%;
		border: 1px solid #efefef;
		clear: both;
	}
	.footnavlist {
		text-align: center;
		margin: 5px;
		font-size: .9em;
	}
	.footnavlist li { 
		display: inline; 
	}
	.login-form .validator-required {
		font-weight: bold;
	}	
	.admin-error {
		color: #dd3535;
		margin-top: 10px;
		text-align: center;
		font-weight: bold;
	}
	
	/*		
	input.btn-class {
		background: #5388ba;
		border: #6f8ca9 solid 1px;
		padding: 4px 18px 4px 18px;
		color: #fff;
		font-family: tahoma, Helvetica, sans-serif;
		font-weight: bold;
		font-size: 11px;
		cursor: pointer;
		overflow: visible;
		margin-right: 5px;	
	}*/

/*END ADMIN LOGINPAGE*/

/* --- Tree classes ----*/

.results-tree {

}

/* ---- error messages classes ---- */

.error {
	display: block;
	border-bottom: solid 1px #ffa789;
	background-color: #fefed8;
	padding: 6px;
	margin-bottom: 8px;
	color: #f00;	
}

span.summary-header {
	margin-top: 0px;
	font-size: 14px;
	font-weight: bold
}

/* template selection */ 
.template {
	border: 1px solid #eee;
	width: 400px;
	padding: 10px;
	margin: 5px 0;
}
.template .desc {
	width: 70px;
}
.template-image {
	float: left;
	margin-right: 10px;
	heigh:188px;
	width:150px;
	border: 6px solid #efefef;
	padding: 1px;
	display: block;
	margin-bottom: 10px;
}
.template-select {
	margin-top: 70px;
}
/* end template selection */ 

