/* layout based on http://www.pmob.co.uk/temp/3colfixedtest_4.htm */

html {
	height:100%;	
}	 

img {
	border: 0;
}

/*Layout Start*/

body {
	padding:0;
	margin:0;	
	/*mb*/	
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	background-image: url(gridbckg.png);
	background-repeat: repeat-y;		

	/*end mb*/
	
	background-position: right;
	background-image: url(bckg_rightblackborder.png);
	background-repeat: repeat-y;	
}

#outer{
	min-height:100%;
	margin-left:203px;
	margin-right:208px;
	margin-bottom:-16px;	
}
 
* html #outer{height:100%} /*for IE as IE treats height as min-height anyway*/

#header{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:233px;
	overflow:hidden;
	/*mb*/
	background-image: url(headbckg.png);
	background-repeat: repeat-x; 	
	background-color: white;	

	/*end mb*/
}

#left {
	position:relative;/*ie needs this to show float */
	width:203px;
	float:left;
	margin-left:-202px;/*must be 1px less than width otherwise won't push footer down */
	z-index:100;
	left: -1px;

}
* html #left {padding-bottom:16px ;margin-right:-3px;}/*fix gap in ie next to float and clear footer because we've moved float too far left*/
#left p {padding-left:3px;padding-right:2px}
#right p {padding-left:3px;padding-right:2px}

#right {
	position:relative;/*ie needs this to show float */
	width:200px;
	float:right;
	margin-right:-199px;/*must be 1px less than width otherwise won't push footer down */
	left:1px
}

#footer {
	width:100%;
	clear:both;
	height:20px;	
	text-align:center;
	position:relative;
	border-top: 1px solid black;
	font-size: 70%;
	background-color: #FFFFFF;
	color: #444444;
	
	/*mb*/
	padding-top: 3px;	
	/*mb*/
}

#footer img {
	margin-top: -3px;
}

/* MB For Firefox */
html>body #footer img {
	margin-top: -2px;
}

* html #footer {/*only ie gets this style*/
	\height:20px;/* for ie5 */
	he\ight:20px;/* for ie6 */
}
#clearheader{height:233px;}/*needed to make room for header*/
#clearfooter{clear:both;height:20px;}/*needed to make room for footer*/
* > html #clearfooter {float:left;width:100%;}/* ie mac styles */
div,p  {margin-top:0}/*clear top margin for mozilla*/
* html #centrecontent {height:1%;margin-bottom:12px}/* combat IE's 3 pixel jog */
#centrecontent {position:relative;z-index:1}

/* MB For Firefox */
html>body #footer {
	padding-top: 4px;	
}


/* MB*/
html>body #clearfooter {
	height: 36px;	
}

#footer a:link {color: #444444; font-weight: bold;}
#footer a:visited {color: #444444; font-weight: bold;}
#footer a:active {color: #444444; font-weight: bold;}
#footer a:hover {color: #444444; font-weight: bold;}

/*layout end*/

#centrecontent {
	top: 8px;
	left: 4px;
}

#title {
	position: relative;
	top: 0px;
	left: 0px;
	width: 469px;
	height: 60px;
	background-image: url(headtitle.png);
	background-repeat: no-repeat;	
}

#header_line {
	position: absolute;
	background-color: #0000FF;
	top: 41px;
	width: 100%;
	height: 1px;	
}

#scotflag {
	position: absolute;
	width: 440px;
	height: 182px;
	background-image: url(scotflag.png);
	background-repeat: no-repeat;
	right: 0px;
	top: 0px;	
}

#headchain {
	position: absolute;
	width: 100%;
	height: 149px;
	background-image: url(headpaperdolls.png);
	background-repeat: no-repeat;
	left: 0px;
	top: 50px;	
}

#navigation {
	position: absolute;
	top: 199px;
	height: 24px;	
	width: 100%;
	background-repeat: no-repeat;
	overflow: hidden;
}

.navbox {
	position: relative;	
	height: 24px;
	top: 0px;
	float: left;
}

#nav1 {
	left: 3px;
	width: 73px;
}

#nav2 {
	left: 6px;
	width: 58px;
}

#nav3 {
	left: 10px;
	width: 122px;
}

#nav4 {
	left: 15px;
	width: 145px;
}

#nav5 {
	left: 20px;
	width: 123px;
}

#nav6 {
	left: 25px;
	width: 96px;
}

#nav7 {
	left: 30px;
	width: 98px;
}

#gridbox_top {
	position: relative;
	width: 203px;
	height: 49px;
	background-image: url(gridbox_top.png);
	background-repeat: no-repeat;	
}

#gridbox {
	position: relative;	
	width: 203px;	
	background-image: url(gridbox.png);
	background-repeat: repeat-y;		
	height: 100%;
	
	/*mb*/
	border-bottom: 1px;
	border-color: Blue;
	border-bottom-style: solid;
	/*end mb*/
}

/* MB For Firefox */
html>body #gridbox {
	height: auto;
}

#gridbox a {
	font-weight: bold;
}

#gridbox_text {
	position: relative;	
	padding: 8px;
	padding-left: 12px;
	padding-top: 0px;
	font-size: 80%;
	line-height: 7px;
}

.leftintro {
	line-height: normal;
}

/* For Firefox */
html>body #gridbox_text {
	line-height: 12px;	
}

.mainbody_lollipop {
	position: absolute;
	top: 234px;
	left: 207px;	
	height: 35px;
	width: 50px;
	z-index: 2;
}

#lolli_home {
	background-image: url(lollipop_home.gif);
}

#lolli_qa {
	background-image: url(lollipop_qa.gif);
}

#lolli_cal {
	background-image: url(lollipop_cal.gif);
}

#lolli_gloss {
	background-image: url(lollipop_gloss.gif);
}

#lolli_words {
	background-image: url(lollipop_words.gif);
}

#lolli_search {
	background-image: url(lollipop_search.gif);
}
		
#mainbody_image {
	position: relative;	
	top: 16px;
	right: 0px;
	z-index: 3;
	color: #000;	
	border-right: 6px black solid;	
	border-top: 6px black solid;	
}

#mainbody_text {
	position: relative;
	top: 8px;		
	border-top: 6px black solid;
	padding: 8px;
	padding-top: 9px;
	xpadding-left: 23px;	
	padding-left: 20px;
	font-size: 90%;
	width: 99%;
}

/* For Firefox */
html>body #mainbody_text {
	width: 90%;
}

/* For Firefox */
html>body #mainbody_text p{
	padding-bottom: 3px;
}

#mainbody_text hr {
	color: #444444;
	border-style: dotted;
	height: 1px;
}

#white_box {
	position: absolute;
	top: 233px;
	right: 7px;
	height: 16px;
	width: 9px;
	background-color: White;
}

#black_box {
	position: absolute;
	top: 249px;
	right: 207px;
	height: 6px;
	width: 24px;
	background-color: black;
}

/* For Firefox */
html>body #black_box {
	width: 100px;	
}

h1 {
	font-size: 80%;
	color: #444444;
}

h1 a {
	color: #444444;
}

h2 {
	
}

h3 {
	font-size: 100%;
	color: #444444;
}

/*Used for QA Summary */
h4 {
	font-size: 80%;
	color: #000000;
	font-weight: normal;
	margin-top: -8px;
	margin-bottom: 8px;
	padding: 8px;
}

.shuffle_title {
	margin-bottom: 0px;
}

.shuffle_artsummary {
	margin-bottom: 0px;
}

#print_friendly {
	position: relative;
	width: 200px;
	height: 24px;
	top: 33px;
	right: 216px;		
	float: right;
	margin-right: -216px;
	text-align: right;
	z-index: 101;	
}

/* For Firefox */
html>body #print_friendly {
	right: 248px;
	top: 39px;
}

#print_friendly a:link { font-weight: bold; color: #444444; font-size: 80%}
#print_friendly a:visited {font-weight: bold; color: #444444; font-size: 80% }
#print_friendly a:active {font-weight: bold; color: #444444; font-size: 80% }
#print_friendly a:hover {font-weight: bold; color: #444444; font-size: 80% }

.page_links {
	position: relative;	
	margin-top: 16px;
	font-size: 75%;	
	color: #000000;	
}

.page_links hr {
	color: #444444;
	border-style: dotted;
	height: 1px;
	width: 194px;
	text-align: left;	
}

.page_links a:link {color: #444444; }
.page_links a:visited {color: #444444; }
.page_links a:active {color: #444444; }
.page_links a:hover {color: #444444; }


/* Calendar */

* html #centrecontent_cal {height:1%;margin-bottom:12px}/* combat IE's 3 pixel jog */
#centrecontent_cal {position:relative;z-index:1}

#centrecontent_cal {
	top: 16px;
	left: 4px;
	padding: 16px;
	border-top: 6px solid black;	
}

#centrecontent_cal a:link {color: #444444; font-weight: bold }
#centrecontent_cal a:visited {color: #444444; font-weight: bold }
#centrecontent_cal a:active {color: #444444; font-weight: bold }
#centrecontent_cal a:hover {color: #444444; font-weight: bold }

centrecontent_cal tr {
	height: 164px;	
}

#outer_cal{
	min-height:100%;
	margin-left:203px;
	margin-right: 16px;
	margin-bottom:-16px;	
	background-color: white;
	
}

* html #outer_cal{height:100%} /*for IE as IE treats height as min-height anyway*/

.border {
	border: 1px black solid;
}

#en_link {
	position: absolute;
	right: 3px;
	top: 4px;
	height: 44px;
	width: 44px;
}

#bullet_list {
	position: relative;	
	top: -10px;
	font-size: 100%;
	line-height: 26px;
	width: 16px;
	left: 3px;
	z-index: 999;
	float: left;
	font-weight: bold;
}

/* For Firefox */
html>body #bullet_list {
	top: -6px;
	line-height: 24.75px;	
}

.qabox {
	position: relative;
	xpadding: 8px;
	border: 1px solid #444444;
	margin-bottom: 12px;
	padding-bottom: 8px;
}

.qabox a:link {padding: 8px; color: #444444; font-weight: bold; font-size: 80% }
.qabox a:visited {padding: 8px; color: #444444; font-weight: bold; font-size: 80% }
.qabox a:active {padding: 8px; color: #444444; font-weight: bold; font-size: 80% }
.qabox a:hover {padding: 8px; color: #444444; font-weight: bold; font-size: 80%}

.qahr {
	margin-top: -16px;
	width: 98%;
	text-align: center;
}

/* For Firefox */
html>body .qahr {
	margin-top: 0px;	
}

.iconbox {
	position: relative;
	right: 0px;
	top: 0px;
	text-align: right;
	width: 36px;
	height: 36px;
		
}

.qabox table {
	width: 100%;	
	padding: 0px;
	margin: 0px;
}

.qabox table h3 {
	padding: 5px;
}

.qabox_text {
	padding: 8px;
}

.shiftleft {
	margin-left: 0px;
}

.wordsbox {
	position: relative;
	padding: 8px;
	border: 1px solid #444444;
	margin-bottom: 12px;
	padding-bottom: 8px;
}

.access {
	position: absolute;
	width: 32px;
	height: 32px;
	top: 236px;	
	border: 1px black solid;
	background-color: White;
	z-index: 100;
	padding: 0px;
	margin: 0px;
}

/* For Firefox */
html>body .access {
}

#access1 {
	right: 223px;
}

#access2 {
	right: 263px;
}

#access3 {
	right: 303px;
}

#access4 {
	right: 343px;
}

#access5 {
	right: 383px;
}

#cal_title {
	margin-top: 48px;
}

/* For Firefox */
html>body #cal_title {
	margin-top: 24px;
}
