body{background:url(../images/body-bg-new.gif) repeat-x; background-position:0 0;}
.sticky{background:url(../images/body-bg-new-sticky.gif) repeat-x; background-position:0 0!important; background-attachment:fixed; padding-top:115px!important;}

/* customise panel */
body#home #custpanel{margin-top:0px!important; top:0!important;}
#bread{width:18em; float:left;color:#0c4d8c;}
#customise{position:relative!important; top:0; left:0;}
#custlink{width:inherit; float:none; position:relative; padding:0!important; text-align:left}
#custlink a{font-weight:normal!important; display:block; clear:both!important; margin-bottom:4px; float:none!important;color:#0c498a!important; text-decoration:none; }
#custlink a.cust{background:none; padding:0;}
#custlink a.cust:hover{text-decoration:underline; }
#custlink a.reset{background:none; padding:0;}
#custlink a.reset:hover{text-decoration:underline; }
#custlink a.reset span{height:16px; width:11px; position:absolute; top:2px; left:0; display:block;}
#custpanelNohp{background:#163979; color:#0c498a!important;  color:#fff; position:relative; margin:0; margin:11px 0 20px 0; padding:10px 20px 20px 20px; display:none; clear:both; height:105px; border-radius:3px;}
#custpanelNohp a{color:#fff;}
#custpanelNohp a.custclose{color:#fff; position:absolute; top:10px; right:10px; text-decoration:none; background:url(//www3.sqa.org.uk/images/css_icon_close.gif) center right no-repeat; padding-right:18px; font-weight:bold;}
#custpanelNohp a.custclose:hover{color:#9fb9d2;}
#custpanelNohp p.custhead{font-size:140%; margin:0 0 10px 0; color:#fff;}
#custpanelNohp p.custhead a {color:#9fb9d2; text-decoration:none;}
#custpanelNohp p.custhead span {font-size:61%;}
#custpanelNohp p.custhead a:hover {color:#fff; border-bottom:1px dotted #fff}
#custpanelNohp .custinnerNohp {position:reltive; left:15px;}
#custpanelNohp .custinnerNohp p{float:left; width:228px; margin:0 3px 3px 0; position:relative; height:1%;}
#custpanelNohp .custinnerNohp p.style {}
#custpanelNohp .custinnerNohp a{color:#fff; font-weight:bold;}
#custpanelNohp .custinnerNohp a:hover{text-decoration:none; color:#9fb9d2;}
#custpanelNohp .custinnerNohp p a{background:#27659e url(//www4.sqa.org.uk/images/css_show.gif) 5px 7px no-repeat; padding:5px 2px 5px 22px; display:block; height:1%; text-decoration:none; position:relative}
#custpanelNohp .custinnerNohp p a:hover{text-decoration:none; color:#9fb9d2;}
#custpanelNohp .custinnerNohp p.style a{background:#27659e url(//www1.sqa.org.uk/images/css_noshow.gif) 5px 7px no-repeat;}
#custpanelNohp .custinnerNohp p.style a:hover{text-decoration:none;}

#header #customiseNohp{font-weight:normal!important; font-size:100%; width:20px; height:20px; position:relative!important; top:-1px!important; left:0!important; right:inherit!important; overflow:hidden; right:inherit; z-index:600; padding:0!important;}
#header #custlinkNohp a{background:url(../images/cog.jpg) 0 0 no-repeat!important; padding:0!important; text-indent:-5000px!important; float:left; margin:0!important;width:20px!important; height:20px!important;}
#header #custlinkNohp{width:20px!important; float:none!important; padding:0!important; display:block; text-align:left; height:20px!important;}
#custpanelNohp{position:absolute; top:77px; margin:0; width:145px; z-index:700; right:0; box-shadow: 0px 0px 12px #888;}
	.sticky #custpanelNohp{position:absolute; top:51px;}
	body#home #custpanelNohp{height:115px!important; width:160px;}

#header .noHp{background:#e6e6e6!important; color:#0c498a!important; padding-top:10px!important; height:70px!important; right:130px;}
#header .noHp ul{margin-top:0; padding-top:0;}
#header .noHp ul li{margin-bottom:4px;}
#header .noHp ul li a{text-decoration:none; color:#0c498a!important; font-weight:normal;}
#header .noHp ul li a:hover{text-decoration:underline; color:#0c498a!important;}
#header .noHp ul li .normal{font-size:100%; padding-right:5px;}
#header .noHp ul li .large{font-size:115%; padding-right:5px;}
#header .noHp ul li .larger{font-size:130%; padding-right:5px;}
#header .noHp ul li a.textresizer-active{text-decoration:underline;}

#header{position:relative; height:115px; width:970px; top:0!important; }
	.headersticky{background:url(../images/body-bg-new-sticky.gif) repeat-x; background-position:0 0; z-index:500; padding:0!important; height:51px!important; width:970px!important;}
#logo{margin-top:0px!important; width:175px!important; height:100px!important;}
	.headersticky #logo{height:51px!important;}
#header #logo a span{display:block; position:absolute; left:0; top:0; z-index:1; width:175px; height:109px; background:url(../images/sqa_logo_tall.jpg) 0 0 no-repeat}
	.headersticky #logo a span{width:175px; height:51px!important; background:url(../images/sticky.jpg) -200px 0 no-repeat!important;}
#toplinks{top:35px!important; position:absolute; left:540px; right:0!important; width:430px!important; background-color:transparent!important;}
	.headersticky #toplinks{top:9px!important; position:absolute; right:0;}

#header #toplinks a{background-color:transparent!important; }
#header #toplinks ul li{border:none; background-color:transparent!important;}
#header #toplinks ul li a{border:none; background-color:transparent!important; font-size:100%!important; padding:0; border-right:1px solid navy; padding-right:12px; margin-right:12px;}
#header #toplinks ul li a:hover{color:inherit!important; text-decoration:underline;}

#header .noHp p.custhead{font-size:120%; margin:0 0 0 0; padding:0; font-weight:bold; color:#0c498a;}
#header .noHp p.custhead a {color:#0c498a; text-decoration:none;}
#header .noHp p.custhead span {font-size:61%;}
#header .noHp p.custhead a:hover {color:#0c498a; border-bottom:1px dotted #0c498a;}

.stickycustomise{position:absolute; top:15px!important;right:inherit; z-index:600;}

#header #toplinks #cse-search-form,#header #toplinks #cse-search-form div,#header #toplinks #cse-search-form form, #header #toplinks #cse-search-form table, #header #toplinks #cse-search-form table td{margin:0!important; position:relative; right:0!important; background-color:transparent!important; padding:0; float:none!important;}
#header #toplinks #cse-search-form{ position:absolute; background-color:#e7e7e7!important;top:0; height:30px; overflow:hidden; right:0px!important; float:right; text-align:right; width:260px!important;}
#header #toplinks #cse-search-form form{}
	#home #header #toplinks #cse-search-form form{}
#advancedSearch #header #toplinks #cse-search-form form{}
#header #toplinks #cse-search-form input[type="text"]{border:none!important; width:200px!important; background-color:#e7e7e7!important; vertical-align:top; padding:5px 5px 6px 10px; max-height:30px!important; overflow:hidden; font-size:16px;  margin:0 0 0 0;}
#header #toplinks #cse-search-form .gsc-search-button{height:30px; background:url(../images/searchbg.jpg) no-repeat; font-size:0!important; line-height:0; text-align:left; background-position:0 top; color:#e7e7e7;}
#header #toplinks input.gsc-search-button{padding:0!important; cursor:pointer; max-height:30px; border:none!important; vertical-align:top; width:47px; background-color:#e7e7e7; font-weight:bold; margin-left:0;}
.gsc-clear-button{display:none!important;}

#center #searchfield{font-size:15px; width:250px!important; padding:5px; margin-top:-4px; margin-left:5px; vertical-align:middle!important;}
#center select#scope{font-size:15px; color:#002c77!important;  -webkit-appearance: select; padding:4px; margin-top:-4px; margin-left:5px; margin-right:5px; vertical-align:middle!important;}
#center select#scope option{line-height:0!important; padding:0!important;}
#center input#searchbutton{padding:4px; vertical-align:middle!important; font-size:15px; margin-top:-3px!important;}
#center .firstPanel p.intro{font-size:100%; margin-top:30px;}
#center .firstPanel label{font-size:110%;}
body#advancedSearch #center h1{margin-bottom:30px;}
