/* @override 
	http://sandbox.defra.fcoservices.gov.uk/wp-content/themes/defra2-base/style.css
	http://defra.simonwheatley.co.uk/wp-content/themes/defra2-base/style.css
*/

/*
Theme Name: Defra2 Base
Theme URI: http://www.defra.gov.uk/
Description: Custom theme produced by Puffbox
Author: Simon Dickson
Version: 2011.01
*/

/*
	Copyright (c) 2010, Yahoo! Inc. All rights reserved.
	Code licensed under the BSD License:
	http://developer.yahoo.com/yui/license.html
	version: 3.2.0
	build: 2676
*/
html{color:#000;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{/* list-style:none; */}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}
li { list-style:inherit; }
ol,ul { list-style:none; }

/*
	Copyright (c) 2010, Yahoo! Inc. All rights reserved.
	Code licensed under the BSD License:
	http://developer.yahoo.com/yui/license.html
	version: 2.8.2r1
*/
body{font:13px/1.231 verdana,arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}select,input,button,textarea,button{font:99% verdana,arial,helvetica,clean,sans-serif;}table{font-size:inherit;font:100%;}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;}

/*
	24-column grid calculated by Puffbox specifically for Defra use case (padded box)
	Initially modelled on http://www.webdesignerwall.com/tutorials/the-simpler-css-grid/
	Add 'nested' on first nested div to remove left margin (equivalent to alpha in 960gs; omega not needed)
*/
.container{width:970px;margin:0 auto;}.grid1,.grid2,.grid3,.grid4,.grid5,.grid6,.grid7,.grid8,.grid9,.grid10,.grid11,.grid12,.grid13,.grid14,.grid15,.grid16,.grid17,.grid18,.grid19,.grid20,.grid21,.grid22,.grid23,.grid24{float:left;margin-left:10px;}.grid1{width:30px;}.grid2{width:70px;}.grid3{width:110px;}.grid4{width:150px;}.grid5{width:190px;}.grid6{width:230px;}.grid7{width:270px;}.grid8{width:310px;}.grid9{width:350px;}.grid10{width:390px;}.grid11{width:430px;}.grid12{width:470px;}.grid13{width:510px;}.grid14{width:550px;}.grid15{width:590px;}.grid16{width:630px;}.grid17{width:670px;}.grid18{width:710px;}.grid19{width:750px;}.grid20{width:790px;}.grid21{width:830px;}.grid22{width:870px;}.grid23{width:910px;}.grid24{width:950px;}.first{	clear:left;}.nested{margin-left:0 !important;}
/* clearfix */
	.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
	* html .clearfix { zoom: 1; } /* IE6 */
	*:first-child+html .clearfix { zoom: 1; } /* IE7 */

/*
	MUST REMEMBER ACCESS KEYS!
*/

/*
	linear menu formatting for header / footer areas
*/
#headermenu li, #affiliates li, #footer li { display:inline; margin:0; padding:0; } .menu-header-container li a { border:0; border-right-width:1px; border-style:solid; padding:0 5px 2px 2px; margin:0; } .menu-footer-container { margin-top:1px; font-size:92%; } .menu-footer-container li a { border:0; border-right-width:1px; border-style:solid; padding:0 5px 2px 5px; margin:0; }
#headermenu .menu-header-container { padding:15px 0 0 0; }
#affiliates .menu-header-container { padding:7px 0 0 0; }
.menu-header-container li:last-child a, li.bordernone a
	{ border-right:none !important; }

/*
	tab structural definitions
*/
#tabs { padding-left:10px; } #tabs li { display:block; width:auto; float:left; margin-right:2px; } #tabs li a { display:inline-block; padding:8px 16px; -webkit-border-radius: 5px 5px 0 0; -moz-border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0; border-width: 1px; border-style: solid; margin:0; font-weight:bold; font-size:1.06em; background-image:url(images/resources/ietab.png); background-position:center left; background-repeat:repeat-x; border-bottom-color:#000; position:relative; z-index:1; } #tabs li.current-page-ancestor a, #tabs li.current_page_item a { background:#fff; filter:none; color:#000; border-bottom:1px solid #fff !important; }
#tabs li a { border-color:#444; }
#tabs li.current_page_item a, #tabs li.current-page-ancestor a { background-image:none; }

/* WP Paginate plugin */
.wp-paginate { display:block; margin:2em 0 !important; padding-left:0 !important; width:100%; text-align:center; } .wp-paginate li, .wp-paginate .title {display:inline; list-style:none; margin-right:4px; } .wp-paginate a, .wp-paginate .current { padding:3px 6px; text-align:center; text-decoration:none; background:#eee; border-width:1px; border-style:solid; border-color:#ccc; } .wp-paginate .page {} .wp-paginate .prev, .wp-paginate .next { background:none; border:none; }
.wp-paginate a, .wp-paginate .title, .wp-paginate .gap
	{ color:#444; }
.wp-paginate a:hover, .wp-paginate a:active { color:#000; }


/*
	header structure
*/
#headermenu, #googlesearch, #search { text-align: right; }
#headermenu { height:50px; }
#googlesearch, #search { float:right; }
#googlesearch div, #search div { padding:10px; }
#googlesearch #q, #search #ssquery { border: 1px solid #aaa; outline: none; padding: 1px; width:180px; }
/*#search #sssubmit { width: 50px; }*/
#search label.assistive-text { position: absolute; left: -1000em; height: 1px; width: 1px; overflow: hidden; }
table.gsc-completion-container { z-index:80; box-shadow:0 3px 5px #888; -webkit-box-shadow:0 3px 5px #888; -moz-box-shadow:0 3px 5px #888; }
table.gsc-completion-container, table.gsc-completion-container td { border-color:#999; }
table.gsc-completion-container td { padding:3px; font-family:Verdana,Arial,sans-serif; font-size:0.85em; }
table.gsc-completion-container td:hover { cursor:pointer; }

/* NOTE TO SIMON D: This is the GSA Suggestion form CSS, and needs tweaking */
/*Suggestions table*/
#ssform_suggest { width: 165px; visibility: hidden; }
#ssform_suggest td { border-color:#999; }
.ss-gac-m { background: white; border: 1px solid #CCCCCC; cursor: default; font-size: 13px; line-height: 17px; margin: 0; position: absolute; z-index: 99; top:20px; left:76px; box-shadow:0 3px 5px #888; -webkit-box-shadow:0 3px 5px #888; -moz-box-shadow:0 3px 5px #888; }
/*Selected suggestion*/
.ss-gac-b {background: #36c; color: white;}
/*Each suggestion*/
.ss-gac-c {overflow: hidden; padding-left: 3px; text-align: left; white-space: nowrap;}
/*Text 'Suggestion'*/
.ss-gac-d {color: green; font-size: 10px; overflow: hidden; padding: 0 3px; text-align: right; white-space: nowrap;}
/*Text 'Suggestion' When we select the first one*/
.ss-gac-b td {color: white;}
/*Last cell*/
.ss-gac-e td {font-size: 10px; line-height: 15px; padding: 0 3px 2px; text-align: right;}
/*Close button text*/
.ss-gac-e span {color: #00c; cursor:pointer; text-decoration: underline;}
/* END GSA Suggestion CSS */

#branding h1 a { display:block; background-position:center left; background-repeat:no-repeat; text-indent:-9999px; height:110px;}

/*
	footer structure
*/
#footer { border-left-width:1px;border-right-width:1px;border-bottom-width:1px;border-top-width:0;border-style:solid;margin-bottom:10px; padding:10px 0; }
#footer #helpline { font-weight:bold; font-size:92%; }
#footer #phone { font-weight:bold; font-size:138.5%; margin-top:5px; }

/*
	header/footer menu colouring
*/
#footer a,
#headermenu a,
#leftnav a,
#rightnav a
	{ color:#000; }
#footer,
#footer a,
#headermenu a
	{ border-color:#000; }

/*
	breadcrumb
*/
#crumb .pad { zoom:1; padding:0 0 8px 0; }
#crumb { font-weight:bold; margin:0 0 10px 10px; border-bottom:1px solid #ccc; }
#crumb a { font-weight:normal; }

#crumb a.translate {
	padding:5px 18px 5px 0;
	background:url(images/resources/bubble.png) 100% 55% no-repeat;
}

/*
	core block
*/
.core { border-left-width:1px;border-right-width:1px;border-top-width:1px;border-bottom:0px;border-style:solid;margin-top:-1px;background:#fff;padding:10px 0 10px 0; position:relative;z-index:0; overflow:visible;}

/*
	Attachment icons, where filename-based classes applied
*/
#attachments { border:1px solid #dee3e3; padding:5px 5px 0 5px; margin-bottom:15px; } #attachments h3 { margin:-4px 0 6px 0; } #attachments li { list-style:none; margin:0 0 5px 0; padding-left:20px; background:url(images/filetypes/file.gif) 0 1px no-repeat; } #attachments ul { margin:0; padding:0; } #attachments li.pdf { background:url(images/filetypes/pdf.gif) 0 1px no-repeat; } #attachments li.doc { background:url(images/filetypes/doc.gif) 0 1px no-repeat; } #attachments li.xls { background:url(images/filetypes/xls.gif) 0 1px no-repeat; } #attachments li.ppt { background:url(images/filetypes/ppt.gif) 0 1px no-repeat; } #attachments li.zip { background:url(images/filetypes/zip.gif) 0 1px no-repeat; }

/*
	centre area / body text formatting
*/
a { text-decoration: none; outline:none; }
a:hover { text-decoration:underline; }
a img { border:0; }
b,strong { font-weight:bold; }
i,em { font-style: italic; }
.small { font-size:85%; }
.alignleft { float:left; }
	img.alignleft, div.alignleft { margin:0 0.5em 1em 0; }
.alignright { float:right; text-align:right; }
	img.alignright, div.alignright { margin:0 0 1em 0.5em; }
.navigation { clear:both; }
.navigation .alignleft, .navigation .alignright { width:40%; }
.navigation, .thetags {  line-height:140%; }
.single .navigation { border-top:none; }
/* .wp-post-image { float:left; margin:5px 10px 10px 0; } */
.wp-post-image { float:right; margin:5px 0 10px 10px; }
.wp-caption-text { color:#444; font-size:0.85em; text-align:center; }

img#wpstats { display:none; }
.nowrap { white-space:nowrap; }

table { border-width: 0 0 1px 1px; }
table caption { margin-bottom:1em; text-align:center; font-weight:bold; font-size:0.85em; }
th, td { border-width:1px 1px 0 0; }
table, th, td { border-style: solid; border-color:#000; }

h1.pagetitle { margin:0 0 1em 0; font-weight:bold; font-size:1.08em; padding:4px 10px; }
h1.pagetitle a { display:block; }
h2, h3, h4, h5, h6 { margin: 1.5em 0 0.5em; }
h2 { font-size:1.31em; font-weight:bold; }
h3 { font-size:1.08em; font-weight:bold; }
h4 { font-size:1.08em; }
h5, h6 { font-size:1.0em; }
h6 { font-style:italic; }

.hentry { clear:both; }
.hentry p.meta { clear:both; }
.hentry .meta { font-size:77%; color:#444; }
.hentry .meta a { color:#444; }

.archive .hentry { margin-bottom:1em; }
.archive .hentry h2, .archive #center p { margin:0; }
.archive .hentry h2 { font-size:1em; }
.archive .hentry .wp-post-image { float:right; margin:5px 10px; }

#center { line-height:1.465em; }
#center p, #center table, #thecontent blockquote, #thecontent li, .core form, .core .gallery-item { margin-bottom: 1em; }
#thecontent li ul, #thecontent li ol { margin-top:1em; }
#thecontent li { margin-left:40px; }
#thecontent ul { list-style:disc; }
#thecontent ol { list-style:decimal; }
#center th, #center td { padding:3px 5px; font-size:0.92em; }
#center tr { background-color:#fff; }
#center tr.alt { background-color:#eee; }
#center th { font-weight:bold; }
.gallery-caption { font-size:0.85em; font-style:italic; }

#thecontent blockquote {margin:0 0 6px 0; padding:0; border-width:1px; border-style:solid; background-color:#eee;}
#thecontent blockquote h2 {margin: 0; font-size: 1.1em; padding: 5px;}
#thecontent blockquote h3 {margin: 0; font-size: 1.1em; padding: 5px;}
#thecontent blockquote p {padding: 5px; margin-bottom: 0;}
#thecontent blockquote ul {padding: 5px; margin-bottom: 0; list-style-position:inside;}
#thecontent blockquote .thetags { padding:10px 5px; }

.posttime { clear:both; margin:-10px 0 10px 0; font-style:italic; color:#444; }
label.screen-reader-text { display:none; }

.related { border-width:1px; border-style:solid; margin-bottom:1em; }
.related h3 { font-size:1.16em; margin:0; padding:5px; border-bottom-width:1px; border-bottom-style:solid; }
.related .thetags { padding:5px; }

.dt-list h3 {
	font-size: 1em;
	margin-bottom: 0;
}

.dt-list .post-info {
	color: #444;
	font-size: 77%;
	margin-bottom: 0.75em;
}

/*
	Links on 404 pages
*/

#archive-url li { overflow: hidden; word-wrap: break-word; }

/*
	Left nav structure
*/
#leftnav li { display:block; border-bottom:2px solid #fff; padding-left:20px; padding-right:5px; }
#leftnav .level1 li a, #leftnav .level2 li a { font-size:0.93em; display:block; font-weight:bold; padding-top:5px; padding-bottom:5px; }
#leftnav .level3 li { padding-top:2px; padding-bottom:4px; }

/*
	Right nav structure
*/
#rightnav h2 { font-size:0.92em; margin:0 0 10px 0; }
#rightnav .sidebar { margin:4px 0 0 0; }
#rightnav .sidebar li, #rightnav .ac ul { background:none; margin:0 3px 15px 0; }
#rightnav .sidebar li li { margin:0; }
#rightnav .ac ul { padding-bottom:4px; }
#rightnav .sidebar li li, #rightnav .ac li
	{ padding:2px 5px 3px 20px; }

/*
	A few widget specifics
*/
.widget select { color:inherit; font-family:inherit; font-size:inherit; width:100%; }
.widget_youtube object, .widget_youtube embed { margin:0 0 0 0; }
.widget_youtube, .widget_text { margin-bottom:10px; }
.widget_youtube p { font-size:85%; padding:0 0 5px 0; }
.widget_search #s { width:135px; }

/*
	Comment presentation
*/
#commentack { clear:both; border:1px solid #bbb; background:#eee; padding:5px; margin-bottom:1em; }
#comments { clear:both; }
.commentlist .says, .commentlist .avatar { display:none; }

.private.commentlist .comment, .private.commentlist .pingback, .private.commentlist .trackback
	{ clear:both; padding-bottom:5px; margin-bottom:5px; border-bottom:1px solid #bbb; }
.private.commentlist .comment-author, .private.commentlist .comment-meta
	{ display:block; float:left; width:150px; }
.private.commentlist .comment-author { padding-top:5px; }
.private.commentlist .comment-meta { clear:left; font-size:85%; }
.private.commentlist .comment-text { padding-left:170px; }
.private.commentlist .reply { clear:both; }
.private.commentlist .children { margin-left:60px; }
.private.commentlist .children .comment { border-bottom:none; }
.private.commentlist .byuser, .private.commentlist #respond
	{ border:1px solid #bbb !important; background:#e8e8e8; padding:0 5px 5px 5px; }
.private.commentlist #respond { margin:5px 0 5px 60px; }
.private.commentlist #respond h3 { margin:5px 0; }
.private.commentlist .comment-author a, .private.commentlist .comment-reply-link
	{ color:#802 !important; }
.private.commentlist .comment-reply-link { font-size:85%; font-weight:bold !important; }
#TB_title { font-weight:bold !important; padding:0 0 0 5px; }
input#thickbox-comments { margin-bottom:1em; }
.logged-in #respond-wrapper { display:none; }

.public .commentlist
	{ border-top:1px solid #ccc; clear:both; }
.public .commentlist .comment, .public .commentlist .pingback, .public .commentlist .trackback
	{ padding:10px 0 10px 10px; border-bottom:1px solid #ccc; }
.public .commentlist .children
	{ margin:10px 0 -10px 0; }
.public .commentlist .children .comment
	{ border-top:1px solid #ccc; border-bottom:none; margin-left:40px; border-left:1px solid #ccc; }
.public .commentlist .avatar
	{ display:inline; float:right; margin:0 10px 5px 10px; }
.public .reply a
	{ padding-left:13px; background:url(/ukgwa/20130222114706oe_/http://www.defra.gov.uk/animal-diseases/wp-content/themes/defra2-root/images/bullet.sprite.gif) 2px -75px no-repeat; }
.public .commentlist li:nth-child(2n-1)
	{ background:#f8f8f8; }
.public .commentlist li.byteam
	{ padding-left:50px; background-image:url(images/resources/defracomment.gif); background-position:top left; background-repeat:no-repeat; }
.public .commentlist li.byteam .avatar, .public .commentlist li.byteam li.byteam .avatar { display:none; }
.public .commentlist li.byteam li .avatar { display:inline; }
.public h3 { clear:both; padding-top:30px; }
.public .commentlist .comment-author cite
	{ font-weight:bold; }
.public .commentlist .comment-meta
	{ margin:-2px 0 5px 0; }
.public .commentlist .comment-meta a
	{ font-size:85%; color:#444; }
.public #respond .required { color: #ff4b33; font-weight: bold; }
.public #respond input, #respond textarea { display:block; width:90%; }
.public #respond .form-allowed-tags { display:none; }
.public #respond .form-submit { margin: 12px 0; }
.public #respond .form-submit input { width: auto; }


/*
	Affiliate bar
*/
#affiliates { background:#eee; color:#000 !important; line-height:32px; height:32px; padding:2px 0; overflow:hidden; margin:0 0 1px 0;}
#affiliates form { display:inline; }
#affiliates .btn { position:relative; top:-1px; margin-left:5px; }
#affiliates .affiliate-menu { margin:-8px 10px 0 0; }
#affiliates select { width:225px; }
#affiliates .menu-header-container, #affiliates .menu-header-container a { color:#000; }
#affiliates .formenu { text-align:right; }
#affiliates .fordropdown { margin-left:-10px; }
#affiliates img { margin:-2px 20px 0 0; }

/* AS YET UNSORTED */
#newsview .wp-post-image { float:right; margin:0 0 5px 5px; }
#news-splash h2 a { color:#000; }
#news-splash #rsslink { width:16px; height:16px; text-indent:-9999px; background:url(images/resources/rss.gif) center center no-repeat; float:right; }

/*
	Social network buttons
*/
#socialnetworks { width:100%; margin-top:10px; }
#socialnetworks li { float:left; list-style:none; padding:10px 10px 10px 0; }
#socialnetworks a { display:block; background-repeat:no-repeat; text-indent:-9999px; }
#socialnetworks li.audioboo a { background-position:0px 0px; }
#socialnetworks li.facebook a { background-position:-50px 0px; }
#socialnetworks li.flickr a { background-position:-100px 0px; }
#socialnetworks li.googleplus a { background-position:-150px 0px; }
#socialnetworks li.linkedin a { background-position:-200px 0px; }
#socialnetworks li.pinterest a { background-position:-250px 0px; }
#socialnetworks li.rss a { background-position:-300px 0px; }
#socialnetworks li.storify a { background-position:-350px 0px; }
#socialnetworks li.twitter a { background-position:-400px 0px; }
#socialnetworks li.youtube a { background-position:-450px 0px; }
