body {
    background: #f9fdfe url(/images/homepage/body.gif) repeat-x scroll top left;
    }


#copyheader #copyheaderimage {
    background-color: #f7eeeb;
/*    background-repeat: no-repeat;
    background-position: top right;
    background-attachment: scroll;*/
    }

div#copyheader div#copyheaderimage div#headings h2 {
    margin: 0 0 0.71em 0.64em;
    padding-top: 1.0em;
    width: 17em;
    float: left;
    display: inline;
    }

/*#copyheader #copyheaderimage h2 {
    margin-top: 1.0em;
    margin-bottom: .5em;
    }*/

div#copyheader div#copyheaderimage p {
    margin: 0 0 0 .9em !important;
    width: 25.2em;
    float: left;
    display: inline;
    }

#copyheader #copyheaderimage {
    height: 16.8em;
    }



body#home div#container div#content div#maincontent div#copy div#bodycopy div.divblock div#copyheader div#copyheaderimage p {
    line-height:1.3em;
    }

div#copyheader div#copyheaderimage div#headings img.background {
    float: right;
    width: 26.6em;
    margin: 0;
    }

/*tan hack to remove .3em bug in ie5*/
* html div#copyheader div#copyheaderimage div#headings img.background {
    margin: 0 -3px;
    }
* html div#copyheader div#copyheaderimage div#headings img.background {
    ma\rgin: 0;
    }


#copyheader p {
    color: #666666;
    }

#copyheader a {
    color: #666666;
    }

div#content div#maincontent {
    float: left;
    margin-left: .3em;
    margin-top: .4em;
    width: 75.8em;
    }

div#content div#maincontent div#copy {
    margin-right: .3em;
    }

#copyheader {
    width: 55.6em;
    float: left;
    margin-right: .3em;
    margin-bottom: .4em;
    }





div#content div#maincontent div#related {
    float: left;
    width: 28.8em;
    }

div#content div#maincontent div#related div.panel {
    width: 100%;


    }

div#content div#maincontent div#copy {

    }

div#related {
    margin-top: .4em;
    }

div.panel {
    float: left;
    height: 14.0em;
    margin-bottom: .4em;
    }



div#copy div.divblock div.panel p {
    /*margin-bottom: 0 !important;*/
    margin: .5em 1.0em !important;
    padding: 0 !important;
    }




div#copy div.divblock div.panel#panel1 {
    width: 19.5em;
    height: 16.8em;
    }

div#copy div.divblock div.panel#panel2 {
    width: 27.7em;
    margin-right: .3em;
    }

div#copy div.divblock div.panel#panel3 {
    width: 27.6em;
    margin-right: .3em;
    }

div#copy div.divblock div.panel#panel4 {
    width: 19.5em;
    }

div#copy div.divblock div.panel#panel5 {
    width: 27.7em;
    margin-right: .3em;
    }

div#copy div.divblock div.panel#panel6 {
    width: 27.6em;
    margin-right: .3em;
    }

div#copy div.divblock div.adblock {
    width: 19.5em;
    height:14em;
    float:left;
/*     background:transparent url(/uploads/images/17-scotpho.jpg) top left no-repeat; */
position:relative;
    }

div#copy div.divblock div.adblock img {
    margin: 0 !important;
    width: 19.5em;
    height:14em;
    float:left;
    position:absolute;top:0;left:0;
}
div#copy div.divblock div.adblock p {
position:absolute;
font-size:1.0em;
}

div#copy div.divblock div.adblock p.advert1 {
top:4.5em;left:0em;
color:black;
}
div#copy div.divblock div.adblock p.advert1 a {
color:black;
}

div#copy div.divblock div.adblock p.advert2 {
width:17em;
line-height:1.3em;
top:4.5em;left:0em;
color:white;
}
div#copy div.divblock div.adblock p.advert2 a {
color:white;
font-weight:bold !important;
}

div#copy div.divblock div.adblock p.advert3 {
width:11em;
line-height:1.3em;
top:0.7em;left:0em;
color:black;
font-size:0.9em;
}
div#copy div.divblock div.adblock p.advert3 a {
color:black;
font-weight:bold !important;
}

div#copy div.divblock div.adblock p.advert5
{
 width:13em;
 line-height:1.3em;
 top:3.3em;left:0em;
 color:white;
 font-size:1.3em;
 text-align:center;
 /*font-weight:bold;*/
 font-family: Hermes, Verdana, sans-serif;
}
div#copy div.divblock div.adblock p.H1N1
{
 width:18em;
 line-height:1.5em;
 top:6em;left:0.5em; 
 color:#1477c6;
 font-size:1em;
 text-align:left;
 /*font-weight:bold;*/
 font-family: Hermes, Verdana, sans-serif;
}
div#copy div.divblock div.adblock p.H1N1_2
{
 width:18em;
 line-height:1.2em;
 top:0.8em;left:0em; 
 color:#1477c6;
 font-size:1.5em;
 text-align:left;
 font-weight:bold;
 font-family: Hermes, Verdana, sans-serif;
}

div#copy div.divblock div.adblock p.RST
{
 width:18em;
 line-height:1.5em;
 top:6.5em;left:7em; 
 color:#de2a91;
 font-size:1em;
 text-align:left;
 font-family: Hermes, Verdana, sans-serif;
}

div#copy div.divblock div.adblock p.advert6
{
 width:13em;
 line-height:1.1em;
 top:3.3em;left:0em;
 color:white;
 font-size:1em;
 text-align:left;
 /*font-weight:bold;*/
 font-family: Hermes, Verdana, sans-serif;
}

div#copy div.divblock div.adblock p.advertFeedGoodFactor
{
 width:19em;
 line-height:1.1em;
 top:0.5em;left:0em; 
 color:white;
 font-size:1em;
 text-align:left;
 /*font-weight:bold;*/
 font-family: Hermes, Verdana, sans-serif;
}
div#copy div.divblock div.adblock p.advertFeedGoodFactor2
{
 width:13em;
 line-height:1.1em;
 top:2em;left:3em; 
 color:white;
 font-size:1em;
 text-align:left;
 /*font-weight:bold;*/
 font-family: Hermes, Verdana, sans-serif;
}
div#copy div.divblock div.adblock p.advertFeedGoodFactor3
{
 width:13em;
 line-height:1.1em;
 top:4.3em;left:5em; 
 color:white;
 font-size:1em;
 text-align:left;
 /*font-weight:bold;*/
 font-family: Hermes, Verdana, sans-serif;
}



div#copy div.divblock div.adblock p.advert8
{
 width:13em;
 line-height:1.1em;
 top:6.7em;left:-0.5em;
 color:white;
 font-size:1em;
 text-align:left;
 /*font-weight:bold;*/
 font-family: Hermes, Verdana, sans-serif;
}

div#copy div.divblock div.adblock p.advert7
{
 width:14em;
 line-height:1em;
 top:4.3em;left:-0.4em;
 color:#165967;
 font-size:1em;
 text-align:left;
 /*font-weight:bold;*/
 font-family: Hermes, Verdana, sans-serif;
}

div#copy div.divblock div.adblock p.advert9
{
 width:15.7em;
 line-height:1.1em;
 top:9.3em;left:1em;
 color:#FFF;
 font-size:1em;
 text-align:center;
 /*font-weight:bold;*/
 font-family: Hermes, Verdana, sans-serif;
}

div#copy div.divblock div.adblock p.advert10 /*Active Scotland add*/
{
 width:16.2em;
 line-height:1.1em;
 top:5.5em;left:0.3em;
 color:#FFF;
 font-size:1.1em;
 text-align:left;
 /*font-weight:bold;*/
 font-family: Hermes, Verdana, sans-serif;
}


/* JM added for RSB ad */
div#copy div.divblock div.adblock p.advertjm
{
 width:17em;
 line-height:1.1em;
 top:9.3em;left:0em;
 color:#FFF !important;
 font-size:1em;
 text-align:center;
 /*font-weight:bold;*/
 font-family: hermes, Verdana, sans-serif;
}

div#copy div.divblock div.adblock p.SmokeFreeAdvert
{
 width:17em;
 line-height:1.1em;
 top:11em;left:0em;
 color:#FFF !important;
 font-size:1em;
 text-align:Left;
 /*font-weight:bold;*/
 font-family: hermes, Verdana, sans-serif;
}


div#copy div.divblock div.adblock div#advertjmfix a {
text-decoration:none !important;
color: #fff !important;
}


div#copy div.divblock div.adblock div#advertjmfix {
	display:block;
	height:142px;
	width: 194px;
	border-bottom:2px solid #014D6D;
}


div#copy div.divblock div.adblock div#advertjmfix a:hover {
	text-decoration:underline !important;
	color: #fff !important;
}



body#home div#copy div.divblock div.panel h2 {
/*    padding: .3em 1.1em .1em .9em;*/
    margin: 0 !important;
    }

body#home div#copy div.divblock div.panel h2 {
    background-position: .6em .36em;
    background-repeat: no-repeat;
    padding: 0;
    margin: 0;
    }

body#home div#copy div.divblock div.panel h2 a strong {
    display: block;
    margin: 0 0 0 2.4em;
    padding: 0.2em 0 0 0 !important;
    }



div#copy div.divblock div.panel#panel1 h2 {
    background-image: url(/images/homepage/health.gif);
    }

div#copy div.divblock div.panel#panel2 h2 {
    background-image: url(/images/homepage/understanding.gif);
    }

div#copy div.divblock div.panel#panel3 h2 {
    background-image: url(/images/homepage/topics.gif);
    }

div#copy div.divblock div.panel#panel4 h2 {
    background-image: url(/images/homepage/equalities.gif);
    }

div#copy div.divblock div.panel#panel5 h2 {
    background-image: url(/images/homepage/learning.gif);
    }

div#copy div.divblock div.panel#panel6 h2 {
    background-image: url(/images/homepage/resources.gif);
    }

body#home div.divblock
{ float:left; }