/* On tab link styles */

/* Img links */
div#footer div.onweb ul li a:focus, div#footer div.onweb ul li a:active, div#footer div.relatedsites ul li a:focus, div#footer div.relatedsites ul li a:active, ul.web a:focus, ul.web a:active,
.FAQbuttons a:focus, .FAQbuttons a:active {
	border: 2px solid #666666;
/*	display: block;*/
}

/* White link text, grey background */

#header div#toplinks ul li a:focus, #header div#toplinks ul li a:active, .breadcrumb ul li a:focus, .breadcrumb ul li a:active, 
ul.leftnav li a:focus, ul.leftnav li a:active, ul.leftnav li.selected ul li a:focus, ul.leftnav li.selected ul li a:active,
ul.leftnav li.selected ul li.selected ul li a:focus, ul.leftnav li.selected ul li.selected ul li a:active, div#footer ul#footerlinks li a:focus, div#footer ul#footerlinks li a:active,
ul.leftnav li.selected_withsub ul li a:focus, ul.leftnav li.selected_withsub ul li a:active, .video_transcript a:focus, .video_transcript a:active, .video_highres a:focus, .video_highres a:active, p.comment_summary a:focus, p.comment_summary a:active {
	color: #fff;
	background-color: #666666;
}


/* White link text, blue background */
body.two_col .main_content .text p a:focus, body.two_col .main_content .text p a:active, body.two_col .main_content .text a:focus, body.two_col .main_content .text a:active, .text ul li a:focus, .text ul li a:active, body.two_col div.refmodule div.copyimg div.copy h3 a:focus, body.two_col div.refmodule div.copyimg div.copy h3 a:active,
body.two_col .main_content .right div.panelgrey a:focus, body.two_col .main_content .right div.panelgrey a:active, div.home_maincontent div.copyimg div.copy h3 a:focus, div.home_maincontent div.copyimg div.copy h3 a:active, ul.news li.highlight a:focus, 
ul.news li.highlight a:active, ul.news li a:focus, ul.news li a:active, .more_but a:focus, .more_but a:active, .rss a:focus, .rss a:active,
.sitemap ul li a:focus, .sitemap ul li a:active, body.two_col div.blue div.bottom div.copy a:focus, body.two_col div.blue div.bottom div.copy a:active,
body.two_col div.blue div.bottom div.copyonly a:focus, body.two_col div.blue div.bottom div.copyonly a:active, p.blue a:focus, p.blue a:active, .flags ul li a:focus, .flags ul li a:active, .seeall a:focus, .seeall a:active, 
.faqs ul li a:focus, .faqs ul li a:active, div.googletip div.gtcontent p a:focus, div.googletip div.gtcontent p.gtlink a:focus, div.googletip div.gtcontent p a:active, div.googletip div.gtcontent p.gtlink a:active,
.blue .panel_az ul.list li a:focus, .blue .panel_az ul.list li a:active, .glossary .result .meaning a:focus, .glossary .result .meaning a:active, body.blue div.col p a:focus, body.blue div.col p a:active,
table td a:focus, table td a:active, div.pub_search div.pubpanel div.copyimg div.copy h3 a:focus, div.pub_order_content div.copyimg div.copy h3 a:focus, 
div.pub_search div.pubpanel div.copyimg div.copy h3 a:active, div.pub_order_content div.copyimg div.copy h3 a:active, div.press div.copyimg div.copy h3 a:focus, div.press div.copyimg div.copy h3 a:active {
	color: #fff;
	background-color: #0079c1;
}

/* White link text, orange background */
body.two_col .main_content .right div.green .copyimg .copy p a:focus, body.two_col .main_content .right div.green .copyimg .copy p a:active, div.refmodule div.blog div.heading h3 a:focus, div.refmodule div.blog div.heading h3 a:active,
.rightcol div.panel div.author div.copy p a:focus, .rightcol div.panel div.author div.copy p a:active, div.refmodule div.blog div.author div.copy p a:focus, div.refmodule div.blog div.author div.copy p a:active, div.home_maincontent div.copyimg div.copy h3.orange a:focus, div.home_maincontent div.copyimg div.copy h3.orange a:active, ul.more li a:focus, ul.more li a:active,
.rightcol div.panel div.heading h3 a:focus, .rightcol div.panel div.heading h3 a:active {
	color: #fff;
	background-color: #ff6600;
} 

/* White link text, dark green background */
body.two_col .main_content .right div.green a:focus, body.two_col .main_content .right div.green a:active,div.refmodule div.blog div.more_but a:focus, div.refmodule div.blog div.more_but a:active,
.green .more_but a:focus, .green .more_but a:active, div.homefeature div.copy p.link a:focus, div.homefeature div.copy p.link a:active {
	color: #fff;
	background-color: #003300;
}


/* White link text, red background */
div.refmodule div.emergency_panel p.link a:focus, div.refmodule div.emergency_panel p.link a:active, div#emergency.homefeature div.copy p.link a:focus, div#emergency.homefeature div.copy p.link a:active {
	color: #fff;
	background-color: #dd1013;
}



/* Magazine content */
body.green ul.leftnav li.selected ul li.current a:focus, body.green ul.leftnav li.selected ul li.current a:active, body.green ul.leftnav li a:focus, body.green ul.leftnav li a:active, 
body.green ul.leftnav li.selected ul li a:focus, body.green ul.leftnav li.selected ul li a:active,
body.green ul.leftnav li.selected ul li.selected ul li a:focus, body.green ul.leftnav li.selected ul li.selected ul li a:active, 
body.green ul.leftnav li.selected_withsub ul li a:focus, body.green ul.leftnav li.selected_withsub ul li a:active {
	color: #fff;
	background-color: #666666;
}

/* White text, orange background */
body.green .main_content .text p a:focus, body.green .main_content .text p a:active, body.green .main_content .text a:focus, body.green .main_content .text a:active, .green table td a:focus, .green table td a:active,.green .text ul li a:focus, .green .text ul li a:active,
.video_listings div.copyimg div.copy p a:focus, .video_listings div.copyimg div.copy p a:active, div.factscontent div.colcontent div.right p.link a:focus, div.factscontent div.colcontent div.right p.link a:active {
	color: #fff;
	background-color: #ff6600;
}

/* White link text, dark green background */
.green .panel_az ul.list li a:focus, .green .panel_az ul.list li a:active, .green .video_transcript a:focus, .green .video_transcript a:active, .green .video_highres a:focus, .green .video_highres a:active,
.video_listings .more_videos a.internal:focus, .video_listings .more_videos a.internal:active, .green .backto_prevpage a:focus, .green .backto_prevpage a:active, .fadecontenttoggler a:focus, .fadecontenttoggler a:active, .fadecontenttoggler a:focus span, .fadecontenttoggler a:active span {
	color: #fff  !important;
	background-color: #003300 !important;
}

/* To remove background image */
.fadecontenttoggler a:focus, .fadecontenttoggler a:active, .fadecontenttoggler a:focus span, .fadecontenttoggler a:active span, .fadecontenttoggler ul li a.selected:focus span, .fadecontenttoggler ul li a.selected:active span {
	background-image: none !important;
}


/* Resources links  */
/* White link text, blue background */
ul.resources li a:focus span, ul.resources li a:active span, ul.resources li a:focus, ul.resources li a:active, 
ul.resources li.pdf a:focus, ul.resources li.pdf a:active, ul.resources li.pdf a.pdf:focus, ul.resources li.pdf a.pdf:active, 
ul.resources li.doc a:focus, ul.resources li.doc a:active, ul.resources li.doc a.doc:focus, ul.resources li.doc a.doc:active, 
ul.resources li.external a:focus, ul.resources li.external a:active, ul.resources li a.external:focus, ul.resources li a.external:active, 
ul.resources li.internal a:focus, ul.resources li.internal a:active, ul.resources li a.internal:focus, ul.resources li a.internal:active,
ul.resources li.rss a:focus, ul.resources li.rss a:active, ul.resources li.rss a.rss:focus, ul.resources li.rss a.rss:active, 
ul.resources li.ppt a:focus, ul.resources li.ppt a:active, ul.resources li.ppt a.ppt:focus, ul.resources li.ppt a.ppt:active,
ul.resources li.xls a:focus, ul.resources li.xls a:active, ul.resources li.xls a.xls:focus, ul.resources li.xls a.xls:active, 
ul.resources li.txt a:focus, ul.resources li.txt a:active, ul.resources li.txt a.txt:focus, ul.resources li.txt a.txt:active, 
ul.resources li.png a:focus, ul.resources li.png a:active, ul.resources li.png a.png:focus, ul.resources li.png a.png:active, 
ul.resources li.gif a:focus, ul.resources li.gif a:active, ul.resources li.gif a.gif:focus, ul.resources li.gif a.gif:active, 
ul.resources li.jpg a:focus, ul.resources li.jpg a:active, ul.resources li.jpg a.jpg:focus, ul.resources li.jpg a.jpg:active,
ul.resources li.audio a:focus, ul.resources li.audio a:active,  ul.resources li.audio a.audio:focus, ul.resources li.audio a.audio:active, 
ul.resources li.qt a:focus, ul.resources li.qt a:active, ul.resources li.qt a.qt:focus, ul.resources li.qt a.qt:active,
ul.resources li.unknown a:focus, ul.resources li.unknown a:active, ul.resources li.unknown a.unknown:focus, ul.resources li.unknown a.unknown:active
{
	color: #fff !important;
	background-color: #0079c1 !important;
}



/* White link text, dark green background */
body.green ul.resources li a:focus span, body.green ul.resources li a:active span, body.green ul.resources li a:focus, body.green ul.resources li a:active, body.green ul.resources li.pdf a:focus, body.green ul.resources li.pdf a:active, body.green ul.resources li.doc a:focus, body.green ul.resources li.doc a:active, body.green ul.resources li.external a:focus, body.green ul.resources li.external a:active, body.green ul.resources li.internal a:focus, body.green ul.resources li.internal a:active,
body.green ul.resources li.doc a:focus, body.green ul.resources li.doc a:active, body.green ul.resources li.rss a:focus, body.green ul.resources li.rss a:active, body.green ul.resources li.ppt a:focus, body.green ul.resources li.ppt a:active,
body.green ul.resources li.xls a:focus, body.green ul.resources li.xls a:active, body.green ul.resources li.txt a:focus, body.green ul.resources li.txt a:active, 
body.green ul.resources li.png a:focus, body.green ul.resources li.png a:active, body.green ul.resources li.gif a:focus, body.green ul.resources li.gif a:active, 
body.green ul.resources li.jpg a:focus, body.green ul.resources li.jpg a:active, body.green ul.resources li.audio a:focus, body.green ul.resources li.audio a:active, 
body.green ul.resources li.qt a:focus, body.green ul.resources li.qt a:active, body.green ul.resources li.unknown a:focus, body.green ul.resources li.unknown a:active
{
	color: #fff;
	background-color: #003300;
}



/* Site map page */
/* Blue text, white background */
body.two_col div.blue div.bottom h2 a:focus, body.two_col div.blue div.bottom h2 a:active {
	color: #0079c1;
	background-color: #fff;
	background-image: url(http://webarchive.nationalarchives.gov.uk/+/http://www.dfid.gov.uk/templates/images/structure/arrow_panel_h2_link_blue_on.gif) ;
}

/* Paging controls */
div.paging p a:active, div.paging p a:focus {
		border: 2px solid #666666;	
}

