/*
*
* yellow/purple/blue/etc colour definitions overrides only
*
*	backgrounds/surrounds:		#ca8eed
*	center/right watermark:		#9529dc
*	
*	Scotland on Screen
*	
*	background royal blue 	0, 102, 153		#006699
*	centre links			51, 102, 204	#3366CC
*	side links 				0, 51, 153		#003399
*	body text 				0, 0, 51		#000033
*	dark band 				0, 0, 102		#000066
*	frames?					102, 153, 204	#6699CC
*	
*	footer white links		255, 255, 255	white
*	footer blue links		51, 204, 255	#33CCFF
*	
*	
*/

/* ############################################################################ */

.bannerTable {
	background-color: #006699;
	color: white;
	border-top: 11px solid #000066;
}

.bannerTable a:link		{ color: white; }
.bannerTable a:visited	{ color: white; }
.bannerTable a:hover	{ color: white; }
.bannerTable a:active	{ color: white; }

.bannerTable .button {
	color: white !important;
}

.toprightform, .toprightform * {
	
}

/* ############################################################################ */

/* lefthand popup menu stuff */

	.sec-links {
		background-color: white;
		color: #003399;
	}

	/* all links */
	.sec-links div a, .sec-links li a, .sec-links div a:link, .sec-links li a:link {
		color: #003399;
	}
	.sec-links div a:visited, .sec-links li a:visited {
		color: #003399;
	}

	/* background of hovered-over links */
	.sec-links li:hover, .sec-links li.over {
		background-color: #006699;
	}
	/* text colour of links being hovered over */
	.sec-links li:hover a, .sec-links li.over a {
		color: white;
	}
	
	/* colour of submenu links when over the parent of a submenu (not highlighted) */
	.sec-links li:hover .sec-links a, .sec-links li.over .sec-links a {
		color: white;
		background-color: #6699CC;
	}
	
	/* colour of submenu links when over a submenu (highlighted) */
	.sec-links li:hover .sec-links li:hover a, .sec-links li.over .sec-links li.over a, .sec-links li.over .sec-links li a:hover {
		background-color: #006699;
		color: white;
	}

/* end menu stuff */

/* ############################################################################ */

	/* overall center header box */
	.colsHeaderCenter, .singleColTopRightBevel {
		/* background-color: #ca8eed; */
		/* background-image: url(/themes/default/images/greybevel_horizontal_purple.gif); */
	}
	
	/* center header watermark text */
	.colsHeaderCenter .colsHeaderCenterAdjunct {
		/* color: #9529dc; */
	}
	
	.colsHeaderCenter {
		display: none;
	}
	/*
	.centerheaderleftborder {
		background-image: url(/themes/default/images/greybevel_vertical_purple.gif);
		
	}
	.centerheadertopleftcorner {
		background-image: url(/themes/default/images/greybevel_topleftcorner_purple.gif);
	}
	*/
	/* right column */
	.cols {
		/* background-color: #ca8eed; */
		/* background-image: url(/themes/default/images/toprightlogo_purple.gif); */
	}
	/*
	.centerheaderRightCurve {
		background-image: url(/themes/default/images/toprightcurve_purple.gif);
	}
	
	.centerColMain {
		background-image: url(/themes/default/images/toprightcurve_purple.gif);
	}
	*/
	/* page footer */
	.footerTable {
		/* background-color: #ca8eed; */
		background-color: #006699;
		border-bottom: 11px solid #000066;
		padding: 10px 0;
	}
	/*
	.footerTablebevel, .footerTableSinglebevel {
		background-image: url(/themes/default/images/greybevel_bottomleft_purple.gif);
	}
	*/
	/* curve at bottom right connecting footer and right column */
	/*
	.footerTableCenterRightCurve, .footerTableSingleRightCurve {
		background-image: url(/themes/default/images/bottomrightcurve_purple.gif);
	}
	*/
	
	.footerTable p {
		padding: 0;
		margin: 0;
		font-size: 10px;
	}
	
	.footerTable .lightlinks {
		padding-bottom: 5px;
	}
	.footerTable .darklinks {
		padding-top: 5px;
		color: #33CCFF;
	}
	
	.footerTable .lightlinks a:link		{ color: white; }
	.footerTable .lightlinks a:visited	{ color: white; }
	.footerTable .lightlinks a:hover	{ color: white; }
	.footerTable .lightlinks a:active	{ color: white; }
	
	.footerTable .darklinks a:link		{ color: #33CCFF; }
	.footerTable .darklinks a:visited	{ color: #33CCFF; }
	.footerTable .darklinks a:hover		{ color: #33CCFF; }
	.footerTable .darklinks a:active	{ color: #33CCFF; }
	
	/* button images */
	.roundcornerimage	a:hover			{ background-color: #006699; }
	.roundcornerimage	a:active 		{ background-color: #006699; }
	
	/* picture surrounds */
	.postcardbox {
		border-color: #006699;
	}
	
	.thumbnailbox {
		border-color: #006699;
	}
	
	.dbResultscolour {
		border-color: #006699;
	}
	
	.toolbox {
		background-color: #006699;
		color: white;
	}
	.toolbox a:link		{ color: white; }
	.toolbox a:visited	{ color: white; }
	.toolbox a:hover	{ color: white; }
	.toolbox a:active	{ color: white; }
	
	.cols hr {
		border-top: 1px solid #006699;
	}
	
	.singleCol {
		/* border-right-color: #ca8eed; */
	}
	
	.bigbutton {
		background-color: #006699 !important;
		color: white !important;
	}
	
	li.tabnotselected {
		color: white;
		background-color: #006699;
	}
	li.tabnotselected a:link	{ color: white; }
	li.tabnotselected a:visited	{ color: white; }
	li.tabnotselected a:hover	{ color: white; }
	li.tabnotselected a:active	{ color: white; }
	
	table.stuffObjectList th {
		background-color: #006699;
		color: white;
	}
	
	/* social bookmarks header */
	div.socTagBox div.top {
		background-color: #006699;
	}
	div.socTagBox div.title {
		color: white;
	}
	div.socTagBox div.top a {
		color: white;
	}
	
	.searchformframe {
		border: 3px solid #6699CC;
		padding: 0;
		margin-top: 10px;
		margin-bottom: 10px;
	}
	
	.headerbutton {
		background-color: #006699;
		color: white;
/*		border-top: 3px solid #6699CC;
		border-left: 0px solid #6699CC;
		border-bottom: 3px solid #6699CC;
		border-right: 3px solid #6699CC;
*/
		border-width: 0;
		margin: 0;
		padding: 0px 2px;
		vertical-align: middle;
		height: 20px;
	}
	#search_term {
/*		border-top: 3px solid #6699CC;
		border-left: 3px solid #6699CC;
		border-bottom: 3px solid #6699CC;
		border-right: 0px solid #6699CC;
*/
		border-width: 0;
		margin: 0;
		height: 20px;
		padding: 0;
		vertical-align: middle;
		line-height: 20px;
	}
	
	/* override default h1 styles for side columns */
	.cols h1 {
		font-size: 12px;
		line-height: 14px;
	}
	.colsLeft {
		font-size: 12px;
		line-height: 14px;
		background-image: url(/images/scotscreen/sidelogo.gif);
		background-position: 10px 5px;
		background-repeat: no-repeat;
		/*background-color: #CCCCCC;*/
	}
	
	.loginContainer {
		color: #6699CC;
	}
	#login #boxusername, #login #boxpassword, .blueborder {
		border: 3px solid #6699CC;
	}
	
	.tdHeader {
		font-weight: bold;
		color: white;
		background-color: #000066;
	}
	.tdHeader a:link	{ color: white; }
	.tdHeader a:visited	{ color: white; }
	.tdHeader a:hover	{ color: white; }
	.tdHeader a:active	{ color: white; }
	
	.rptfldtext, .rptfldtext li {
		/* to match links */
		font-size: 10px;
	}
	
	/* record page n of m links */
	.recnav {
		margin-bottom: 10px;
	}
	
	/* record page */
	h1.captiontitle {
		font-size: 14pt;
		line-height: 16pt;
	}
	h1 .captionsubtitle {
		font-size: 12pt;
	}
	
/* ############################################################################ */
/* ############################################################################ */
	
	/* google maps iframe in search results view */
	div#resultsgooglemap {
		position: relative;
		margin: 5px auto;
		width: 490px;
		height: 400px;
	}
	
	div#resultsgooglemap iframe {
		width: 490px;
		height: 400px;
	}
	

