body{
margin:0; 
padding:0 0 10px 0; 
font-family:verdana, arial, helvetica, serif; 
/* font-size:57%;  */
/* font-size:63%;  */
font-size:70%; 
color:#333; 
background-color:#fff;
}
* html body{text-align:center;}
h1,h2,h3,h4,h5,h6{font-family:verdana, arial, helvetica, serif; font-weight:normal; font-size:100%; display:block;}
h1{font-size:100%; font-weight:normal; margin:0; padding:0;}
h2{font-size:100%; font-weight:normal; margin:0; padding:0; color:#fff;}
h3{font-size:100%; font-weight:bold; margin:0; padding:0;}
h4{font-size:100%; font-weight:bold; margin-bottom:0; paddding-bottom:0; color:#777;}
ul{list-style-type:none; margin:0; padding:0;}
a{color:#999; text-decoration:underline;}
a:hover{color:#000;}
.skiplinks{display:none;}fieldset{border:0; width:200px;}input{font-size:100%; padding:2px; font-family:verdana; vertical-align:middle;}select{font-size:100%; padding:1px; font-family:verdana; vertical-align:middle;}textarea{font-size:100%; padding:2px; font-family:verdana; width:200px;}form{margin:0; padding:0; border:0;}table{font-size:100%;}
.breaker{display:block; margin-top:0px; padding:0;}hr{height:1px; display:block; border:0; line-height:1px; clear:both; color:#000; background-color:#000;}caption{font-weight:bold; text-align:left; padding-bottom:4px;}.divclear{clear:both; height:1px; font-size:1px; margin-top:-1px;}table{font-size:100%;}
img{border:0;}
#container{width:771px; background-color:#fff; margin:auto; text-align:left; background:url(xxx.jpg) no-repeat;}
#top{margin:0; padding:0; height:99px; display:block; position:relative; top:0;}
 * html #top{height:99px;}
#top #logo{float:left; display:block;}
#top #logo a{text-indent:-5000px; display:block; padding:0; float:left; width:309px; height:95px; text-decoration:none; background:none!important;}
#top object{position:absolute; top:0; left:0; display:block; float:left;}
#top #topright{display:block; padding:43px 0 0 15px; margin:0; float:left; color:#8098C8;}
body#papers #top #topright{display:none;}

#topnavbar{clear:left; text-align:right; display:block; color:#737373;}
#topnavbar p{margin:0; padding:0;}
#topnav{text-align:left;float:left;}
 * html #topnav{padding-top:2px;}
#select{float:right; }
#search{float:right;}
#topnavbar form{margin:0 0 0 0; padding:0;}
#topnavbar form label{display:none;}
#topnavbar form input{font-weight:bold; color:#666; vertical-align:middle; margin:0;}
#topnavbar form select{padding:0; margin:0 3px 0 0; vertical-align:middle; width:150px; background:url(http://www.chscotland.gov.uk/images/forms/input_bg.gif) repeat-x;}
#topnavbar form select option{padding:0; margin:0; vertical-align:middle; background-color:#F5F5F5;}
#topnavbar form input.searchtext{width:80px; font-weight:normal; padding:1px; background:url(http://www.chscotland.gov.uk/images/forms/input_bg.gif) repeat-x;}
	* html #topnavbar form input.searchtext{width:80px;}
#topnavbar form input.btnsearch{border-top:1px solid #E9E8E8; border-right:1px solid #252525; border-bottom:1px solid #252525; border-left:1px solid #E9E8E8; padding:0 1px 1px 1px; color:#333; margin-left:2px; background:url(../images/forms/input_bg.gif) repeat-x;}
#topnavbar a{color:#737373; text-decoration:none; font-weight:bold;}
#topnavbar a:hover{color:#000; text-decoration:underline;}
#topnavbar .textsize{}
#topnavbar .textsize a{padding:0; margin:0; margin-left:2px; font-weight:normal;}
#topnavbar .textsize a:hover{text-decoration:underline;}
#topnavbar .textsize a#default{font-size:98%;}
#topnavbar .textsize a#larger{font-size:121%;}
#topnavbar .textsize a#largest{font-size:133%;}
#row-one{display:block; margin-top:4px;}

/* MARCH 2007 */
#row-one-mid{float:left; display:block; margin-right:4px; width:225px; height:153px; font-size:100%; background:url(http://www.chscotland.gov.uk/images/tables/bg_h2.gif) repeat-x;}
#row-one-mid h1{display:block; background-color:#004878; color:#fff; background:url(http://www.chscotland.gov.uk/images/tables/bg_h2.gif) repeat-x; padding:2px 0 7px 5px; font-weight:normal;}
#row-one-mid h2{display:block; background-color:#004878; color:#fff; background:url(http://www.chscotland.gov.uk/images/tables/bg_h2.gif) repeat-x; padding:2px 0 2px 5px; font-weight:normal;}
#row-one-mid h3{display:block; color:#000; font-weight:normal; padding:0 0 0 14px; background:url(http://www.chscotland.gov.uk/images/icons/icon_latest.gif) no-repeat;}
#row-one-mid a{color:#000;}
#row-one-mid p{margin:5px 0 5px 0;}
#row-one-mid a:hover{color:#000;}
#row-one-mid #maincontent{display:block; padding:90px 10px 10px 10px; min-height:115px; background:url(/images/features/templates-whitened.jpg) no-repeat;}

#row-one-mid2{float:left; display:block; margin-right:4px; width:225px; height:153px; background:url(http://www.chscotland.gov.uk/images/tables/bg_h2.gif) repeat-x;}
#row-one-mid2 h1{display:block; background-color:#004878; color:#fff; background:url(http://www.chscotland.gov.uk/images/tables/bg_h2.gif) repeat-x; padding:2px 0 7px 5px; font-weight:normal;}
#row-one-mid2 h2{display:block; background-color:#004878; color:#fff; background:url(http://www.chscotland.gov.uk/images/tables/bg_h2.gif) repeat-x; padding:2px 0 2px 5px; font-weight:normal;}
#row-one-mid2 h3{display:block; color:#000; font-weight:normal; padding:0 0 0 14px; background:url(http://www.chscotland.gov.uk/images/icons/icon_latest.gif) no-repeat;}
#row-one-mid2 a{color:#000;}
#row-one-mid2 p{margin:5px 0 5px 0;}
#row-one-mid2 a:hover{color:#000;}
#row-one-mid2 #maincontent{display:block; padding:90px 10px 10px 10px; min-height:115px; font-size:100%; background:url(/images/features/nationalschool2008-whitened.jpg) no-repeat;}

* html #row-one-mid #maincontent{height:115px;}
	
#row-one-mid #maincontent h3{font-size:81%;}
#row-one-right{float:left; display:block; background:url(http://www.chscotland.gov.uk/images/tables/row_one_right_bg.gif) no-repeat; display:block; width:151px; color:#0E63C9; font-style:italic;}
#row-one-right ul{padding:0 0 0 5px; margin-bottom:10px;}
#row-one-right ul li{margin-top:4px; padding:0;}
	body#home #row-one-right ul li{padding:0 0 0 45px; margin-top:4px;}
	body#home2 #row-one-right ul li{padding:0 0 0 45px; margin-top:4px;}
	body#home3 #row-one-right ul li{padding:0 0 0 45px; margin-top:4px;}
	body#home4 #row-one-right ul li{padding:0 0 0 45px; margin-top:4px;}
	body#home5 #row-one-right ul li{padding:0 0 0 45px; margin-top:4px;}
	body#home #row-one-right ul{margin:4px 0 0 0; padding:0;}
	body#home2 #row-one-right ul{margin:4px 0 0 0; padding:0;}
	body#home3 #row-one-right ul{margin:4px 0 0 0; padding:0;}
	body#home4 #row-one-right ul{margin:4px 0 0 0; padding:0;}
	body#home5 #row-one-right ul{margin:4px 0 0 0; padding:0;}
#row-one-right ul li a{font-weight:bold; font-style:normal; color:#0E63C9;}
	* html #row-one-right ul li a{height:1%;}
#row-one-right ul li a:hover{color:#000;}
#row-one-right ul li.feat1{background:url(http://www.chscotland.gov.uk/images/features/4.40.jpg) no-repeat;}
#row-one-right ul li.feat2{background:url(http://www.chscotland.gov.uk/images/features/2.40.jpg) no-repeat;}
#row-one-right ul li.feat3{background:url(http://www.chscotland.gov.uk/images/features/3.40.jpg) no-repeat;}
#row-one-right h2{display:block; font-style:normal; background:url(http://www.chscotland.gov.uk/images/tables/row_one_right_bg.gif) no-repeat; margin:0 0 5px 0!important; color:#fff; font-size:111%; padding:2px 0 4px 5px;}
#row-one-right ul li p{margin:0 0 5px 0!important; padding:0;}
#row-one-right p{margin:0; padding:5px!important; color:#000;}
#row-one-right p a{font-weight:bold; color:#000;}
#row-one-right .pink{background:url(http://www.chscotland.gov.uk/images/row_five_right_bg.gif) no-repeat; color:#CD14A1!important;}
#row-one-right .pink h2{background:url(http://www.chscotland.gov.uk/images/row_five_right_bg.gif) no-repeat; color:#fff;}
#row-one-right .pink a{color:#CD14A1;}
#row-one-right .pink p{color:#CD14A1;}
#row-one-right object{margin-top:3px;}
	.subpage ul li a{font-weight:normal!important;}
#row-one-right .black{}
#row-one-right .black h2{background:url(http://www.chscotland.gov.uk/images/row_one_right_bg_grey.gif) no-repeat!important; color:#fff;}
#row-one-right .black a{color:#424242;}
#row-one-right .black p{color:#424242;}
	body#papers #row-one-right{font-style:normal;}
	body#papers #row-one-right h3{font-style:normal; font-weight:bold; padding-left:5px; margin-top:10px;}
	body#papers #row-one-right p{}
	body#papers #row-one-right p a{font-style:normal!important; font-weight:normal; color:#0D63C8;}
	body#papers #row-one-right .pink p{color:#111;}
	body#papers #row-one-right .pink p a{color:#CD14A1;}
	body#papers #row-one-right .pink{margin:15px 0 15px 0;}
	body#papers #row-one-right .dark h2{background:url(http://www.chscotland.gov.uk/images/row_one_right_bg_b.gif) no-repeat; color:#fff;}
/**/
#row-one-left{display:block; float:left; width:151px; margin-right:4px; font-size:105%;}
	* html #row-one-left{font-size:100%;}
#row-one-left ul{display:block;background-color:#226CC3;}
#row-one-left ul li{display:block;}
#row-one-left ul li a{display:block; background:url(http://www.chscotland.gov.uk/images/nav_arrow.gif) no-repeat; background-position:4px 7px; padding:2px 0 3px 10px; text-decoration:none; background-color:#226CC3; color:#fff;}
	* html #row-one-left ul li a{height:1%; padding:2px 0 3px 10px;}
#row-one-left ul li a:hover{color:#fff; background:url(http://www.chscotland.gov.uk/images/nav_arrow.gif) no-repeat; background-position:4px 7px;background-color:#1653B1!important; }
#row-one-left ul li.hot a{background-color:#0E40A3;}
#row-one-left ul li.hot a:hover{background-color:#0E40A3; color:#fff;background-image:url(http://www.chscotland.gov.uk/images/nav_arrow.gif); background-position:4px 7px;}
#row-one-left ul#othernav{border-top:16px solid #226CC3;}
	* html #row-one-left ul#othernav{border-top:16px solid #226CC3;}
#row-one-left ul#othernav li a{color:#C1C8E9; background-image:url(http://www.chscotland.gov.uk/images/nav_arrow_other.gif);}
#row-one-left ul#othernav li a:hover{color:#fff; background-image:url(http://www.chscotland.gov.uk/images/nav_arrow.gif);}

ul li#mn83{display:none!important; height:1px;padding:0!important;}
ul li a#m21{display:none!important; height:1px; padding:0!important;}

#row-two{display:block; background-image:url(http://www.chscotland.gov.uk/images/tables/row_two_bg.gif); height:24px; margin:4px 0 0 0; padding:0; padding-left:10px; color:#fff;}
#row-two h2{color:#fff; font-weight:normal; font-size:123%; padding:2px 0 0 0; margin:0;}

#row-three{display:block; margin:0; padding:0;}
#row-three .panel{float:left; width:150px; min-height:160px; margin-right:4px; background-color:#F7FBFF; padding:5px 0 0 0; font-size:111%;}
#row-three .minister{float:left; width:100%; min-height:160px; margin-right:4px; background-color:#F7FBFF; padding:5px 0 0 0; font-size:111%;}
#row-three .letter{float:left; width:760px; min-height:40px; margin-right:4px; background-color:#F7FBFF; padding:5px 0 0 10px; font-size:111%;}
* html #row-three .panel{height:165px;}
/* #row-three a{color:#0E63C9; margin-bottom:0; display:block;} */
#row-three a{color:#0E63C9; margin-bottom:0;}
* html #row-three a{height:1%;}
#row-three a:hover{color:#000;}
#row-three .smarter-scotland{margin-right:0;}
#row-three img{margin-bottom:10px;}
#row-three h3{text-indent:-5000px; display:block; padding:0; width:108px; height:44px; text-decoration:none; background-repeat:no-repeat; margin-bottom:5px;}
#row-three object{margin:0 0 0 0; padding:0;}
#row-three ul{margin:0; padding:5px 10px 10px 10px;}
#row-three .panel ul li{margin-top:3px;}

#row-four{display:block; font-size:100%; background-image:url(http://www.chscotland.gov.uk/images/row_four_bg.gif); background-repeat:no-repeat; height:10px; border-bottom:1px solid #ccc; margin:4px 0 0 0; padding:1px 0 4px 1px; color:#333;}
* html #row-four{padding-bottom:2px;}
#row-four p{margin:0; padding:0; float:left;}
#row-four object{margin:0;}

#row-five{display:block; margin-top:4px;}
#row-five img{float:right; margin:0 0 5px 10px; padding:0; display:inline;}
#row-five p{margin:0; padding:0;}
#row-five a{color:#404040; display:block; text-decoration:underline; font-weight:bold;}
#row-five a:hover{color:#000;}
#row-five h2{color:#fff; margin:0 0 15px 0; padding:1px 0 0 0; font-size:121%;}
#row-five #row-five-left{float:left; display:block; width:296px; margin-right:4px; padding:0 0 10px 10px; background:url(http://www.chscotland.gov.uk/images/row_five_left_bg.gif) repeat-x;}
#row-five #row-five-left a{padding-left:18px; background:url(http://www.chscotland.gov.uk/images/icon_tv.gif) no-repeat;}
#row-five #row-five-left object{float:right; margin:0 0 0 10px;}
#row-five #row-five-mid{float:left; display:block; width:296px; margin-right:4px; padding:0 0 5px 10px; background:url(../images/row_five_mid_bg.gif) repeat-x; color:#737373!important;}
#row-five #row-five-mid a{padding-left:18px; background:url(../images/icon_quote.gif) no-repeat; color:#737373!important}
#row-five #row-five-mid a:hover{color:#000!important}
#row-five #row-five-mid object{float:right;}
#row-five #row-five-mid img{display:block; float:none; margin-left:-10px;}
#row-five #row-five-right{float:left; display:block; width:141px; padding:0 0 10px 10px; background:url(../images/row_five_right_bg.gif) no-repeat; color:#CD14A1;}
#row-five #row-five-right object{float:none; margin-left:-10px; margin-bottom:0;}

#row-five #row-five-right a{display:inline; color:#CD14A1;}
#row-five #row-five-right a:hover{color:#000;}
#row-five #row-five-right p{margin-bottom:7px;}

#footer{display:block; padding:4px 10px 4px 10px; background-color:#A2A2A2; margin-top:4px; color:#fff;}
#footer p{padding:0; margin:0;}
#footer img{vertical-align:middle; margin-left:2px; margin-bottom:1px;}
#footer a{text-decoration:none; color:#fff; padding:0!important; margin:0!important;}
#footer a:hover{text-decoration:underline; color:#000;}
#footer .breaker{margin-top:0.2em;}
#footer #final-nav{margin-top:15px;}
#footer #final-nav a{font-weight:bold;}
#footer #lastupdated{float:right; text-align:right; margin-top:0;}
#footer .se{color:#E0DCDC;}
#footer .fr{float:right;}

#row-one-midld{float:left; display:block; margin-right:4px; width:460px; font-size:121%;}
	body#papers #row-one-midld{float:left; padding-bottom:20px; display:block; margin-right:4px; width:460px; font-size:121%;}
.extrawide{width:616px!important; margin-right:0!important; padding-bottom:20px!important;}
#row-one-midld h1{display:block; background-color:#004878; color:#fff; background:url(../images/bg_h2.gif) repeat-x; padding:2px 0 10px 5px; font-weight:normal; font-size:105%;}
#row-one-midld h1#other{display:block; background-color:#fff; color:#000; background:none; padding:0 0 0 8px; font-weight:normal; font-size:105%;}
#row-one-midld h2{display:block; color:#fff; padding:2px 0 2px 7px!important; margin:0; font-weight:normal; font-size:101%;}
#row-one-midld h3{display:block; color:#000; font-weight:normal; padding:0 0 0 14px; background:url(../images/icon_latest.gif) no-repeat;}
#row-one-midld a{color:#0E63C9;}
#row-one-midld p{margin:18px 15px 0 0; padding:0;}
#row-one-midld a:hover{color:#000;}
#row-one-midld .sitepanel{margin:0; margin-top:4px; background:url(../images/sitepanel_bg.gif) repeat-x; min-height:79px; background-color:#CFE0F4; display:block; clear:left; padding:0; font-size:100%;}
	* html #row-one-midld .sitepanel{height:79px;}

#row-one-midld2{float:left; display:block; margin-left:10px; margin-right:0px; width:606px;}
#row-one-midld2 h1{display:block; background-color:#fff; color:#004094; border-top:1px solid #0E63C9; padding:10px 0 7px 0px; font-weight:normal; font-size:265%;}
#row-one-midld2 h2{display:block; color:#fff; padding:2px 0 3px 7px!important; margin:0; font-weight:normal; font-size:101%;}
#row-one-midld2 h3{display:block; color:#000; font-weight:normal; padding:0 0 0 14px; background:url(../images/icon_latest.gif) no-repeat;}
#row-one-midld2 a{color:#0094DE;}
#row-one-midld2 p{margin:15px 0 0 0; padding:0;}
#row-one-midld2 a:hover{color:#000;}
#results{font-size:121%; padding:0 0 15px 0;}
#results ul li{margin-top:15px;}
#results ul li a{font-size:111%; font-weight:bold; color:#0094DE!important;}
#results p#intro{margin-bottom:15px; background-color:blue; display:block;}

.introimage{margin:0 30px 15px 15px; float: left;}
.intropad{padding:0 15px 15px 15px;}
.intropad h2{font-size:121%!important; margin:0 0 10px 0!important; padding:0!important; display:block!important; background:none!important; color:#666!important; font-weight:bold!important;}
.intropad h3{margin:0 0 0 0!important; padding:0!important; display:block!important; background:none!important; color:#666!important; font-weight:normal!important;}
.intropad ul{margin:10px 0 10px 10px!important;}
.intropad ul li{margin-bottom:4px!important; display:block!important;}

body#papers #row-one-midld h2{display:block; background-color:#004878; color:#fff; background:url(../images/bg_h2.gif) repeat-x; padding:2px 0 5px 5px!important; margin:15px 0 0 0!important; font-weight:normal; font-size:100%;}
body#papers #row-one-midld h3{display:block; background-color:#004878; color:#fff; background:url(../images/bg_h3.gif) repeat-x; padding:2px 0 5px 5px!important; margin:15px 0 0 0!important; font-weight:normal; font-size:100%;}
body#papers #row-one-midld p{padding:0; margin:5px 15px 5px 5px;}
body#papers #row-one-midld img{float:right; padding:0; margin:5px 15px 20px 15px;}