/*

Theme Name: MFAT blogging template
Theme URI: http://mfat.govt.nz
Description: Wordpress theme for MFAT blogging platform. Widgets compatible.
Version: 1.0
Author: Matt O'Reilly

*/

/********************************************

   HTML ELEMENTS

********************************************/ 

.thumbnail-class {
	float: left;
	width: 100px;
	height: 100px;
	margin: 0 15px 0 0;
	}
.left {
	float: left;
	margin: 0 15px 10px 0;
	}

.author_text{
	background-color:#E6F5FF;
	border:2px solid #D7EFFF;
	color:#222222;
	display:block;
	font-size:100%;
	margin-bottom:20px;
	padding:15px;
	min-height:70px;
}

.author_text img {
	border:none;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

#blog-nav p {
	padding-left:0;
}

/*featured post*/

.featured-post{
	border:1px solid #EDED99;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background:#FFFFCC;
	padding:10px;
	margin-bottom:10px;
}

/* comments */

.commentlist li {
	list-style-type: none;
}

.commentlist .comment-body {
	background:#FFFFFF none repeat scroll 0 0;
	border:1px solid #DFDFDF;
	margin-bottom:10px;
	min-height:80px;
	overflow:hidden;
	padding:30px;
	position:relative;
}

.commentlist p {
	padding: 15px 0;
	line-height:21px;
}

.commentlist .comment-body .avatar {
	position:absolute;
	right:30px;
	top:30px;
}

.commentlist .comment-body .fn {
	font-family:Helvetica,Arial;
	font-size:16px;
	font-weight:bold;
	padding-bottom:5px;
	padding-right:5px;
	font-style:normal;
}

.commentlist .children .comment-body .fn {
	font-size:16px;
}

.commentlist .comment-body .commentmetadata a {
	color:#989898;
}

.commentlist .comment-body .says {
	display:none;
}

.commentlist .children .comment-body {
	background:#F9F9F9 none repeat scroll 0 0;
	border:1px solid #E8E8E8;
	min-height:90px;
	padding:20px;
}

.commentlist .children > li {
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin:0;
	padding-left:30px !important;
}

.comment-reply-link {
	background:#F9F9F9 none repeat scroll 0 0;
	border-right:1px solid #E8E8E8;
	border-top:1px solid #E8E8E8;
	bottom:0;
	left:0;
	padding:0 8px 1px;
	position:absolute;
	color:#333333;
}

#cancel-comment-reply-link{
	color:#333333;
}

.commentlist .bypostauthor .comment-body{
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background:#EDEFF0 none repeat scroll 0 0;
}

.commentlist .cancel-comment-reply{
    float:right;
    margin-top:-20px;
}

/* share tools */

#shareTools img{
	border: none;
}

#breadcrumbs p{
	padding-left: 0px;
}

.blogInfo p{
	color:#999999;
}

.horizontal {
	border-top:1px solid #CDCDCD;
	clear:both;
	height:2px;
	margin:5px 0 10px;
	width:100%;
}

form#commentform {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background:#F2F2F2;
	border:1px solid #EFF0F1;
	padding:20px;
	margin:10px 0;
}

input#author, input#email, input#url {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background:#fff; 
	border:1px solid #EFF0F1;
	color:#777777;
	font-family:Verdana,sans-serif;
	padding:5px;
	width:100%;
}

input#mcspvalue {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background:#fff; 
	border:1px solid #EFF0F1;
	color:#777777;
	font-family:Verdana,sans-serif;
	padding:5px;
}

textarea#comment{
	width:100%;
	padding:5px;
	border:1px solid #EFF0F1;
	font-family:Verdana,sans-serif;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

input#submit {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background:#466100 url('images/bg_bt.gif') repeat-x scroll 0 0;
	border:1px solid #4B6800;
	color:#FFFFFF;
	cursor:pointer;
	padding:5px;
}

/* top elements */

* { margin:0; 	padding: 0; }

body {
	margin: 0; padding: 0;
	font-family: Verdana,sans-serif;
	color: #333; 
}

/* links */

#wrap p a, #footer a, ol a, ul a {
	color: #333333; 
	background-color: inherit;
}

#wrap p a:hover, #footer a:hover, ol a:hover, ul a:hover {
	color: #575757;
	background-color: inherit;
	text-decoration: none;
}

/*  DIV THAT SURROUNDS THE SMALL STRIP CONTAINING THE TABS AND THE SEARCH */

.tab_header {
	background: #003a5e;
	padding-left: 9px;
	white-space: nowrap;
	min-width: 400px;
	height: 30px;
	border-bottom: 6px solid #b3c6a6;
}

.tab_header img	{
	position: relative;
	top:14px;
	border: none;
}

.brand_header {
	background:#FFFFFF url('images/top_weave.jpg') no-repeat scroll right center;
	height:79px;
	white-space:nowrap;
	width:100%;
}

.brand_header img {
	border: none;
}

/* CONTROLING THE LOOK OF THE MAIN SITE SEARCH */
.tab_header form {
	font-family: Verdana, Arial, Helvetica, sans-serif;	
	background-color: #003A5E;
	border:none;
	padding:3px 0 0 0;
	margin: 0 20px 0 0;
	float:right;
}

.search_button {
	background-color: #6988af;
	border: none;
	color: #FFFFFF;
	padding: 1px 1px 2px 2px;
	font-size: 11px;
}

.searchfield {
	margin: 1px 0 0 0;
	width: 145px;
	padding: 1px 1px 2px 2px;
	font-size: 11px;
	background-color: white;
}

/*  STYLES OF THE DROPDOWN MENU's */

.dropdown {
	background-color: #c0ccdb;
	margin-left: 10px;
	font-size: .7em;
	color: #000000;
}


.dropdown ul {
	margin: 0px 0px 5px 0px;
	padding: 0px;
}

.dropdown li {
	list-style: none;
	margin-left: 4px;
	margin-right: 4px;
	paddding-left: 0px;
	padding-bottom: 5px;
	padding-top: 5px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #d9e0e9;
}

.dropdown li a {
	text-decoration: none;
	color: #000000;
}

.dropdown li a:hover {
	text-decoration: underline;
}

/*  POSITIONING OF THE DROPDOWN MENUS  */
#aboutdrop {
	position: absolute; left:75px; top:146px; width:165px;
}


#foreignrelationsdrop {
	position: absolute; left:172px; top:146px; width:165px;
}

#traderelationsdrop {
	position: absolute; left:259px; top:146px; width:165px;
}

#treatiesdrop {
	position:absolute; left:399px; top:146px; width:165px;
}

#embassiesdrop {
	position:absolute; left:529px; top:146px; width:165px;
}

#mediadrop {
	position:absolute; left:622px; top:146px; width:165px;
}

/* MAIN NAVIGATION BAR */
.nav_bar {
	background:#fff url('images/nav_background.gif') repeat-x;
	white-space: nowrap;
	min-width: 600px;
	font-size:0.6em;
}

.nav_bar img {
	border: none;
	padding: 0 0 10px 0;
	margin-right: 2px;
}

/* headers */

h3 {
	font-family: 'Trebuchet MS', Tahoma, Verdana, Sans-serif;
	font-weight: Bold; 		
}

h1 {
	padding: 10px 10px 5px 10px;
	color:#103B67;
	font-family:georgia,times,serif;
	font-size:1.8em;
	font-weight:normal;		
	line-height:1em;
}

h1 a{
	color:#103B67;
}

h2 {
	color:#76867E;
	font-family:georgia,times,serif;
	font-size:1.6em;
	font-weight:normal;
	padding: 0px 10px 5px 10px;
}

h2 a, h2 a:hover {
	color:#76867E;
}

#separator {
	background: url(images/horizontal-separator.png) no-repeat scroll center 28px;
	margin-bottom:10px;
}

h3 {
	font-size: 125%;	
	color: #404040;
}


h3, p {
	padding: 10px;		
	margin: 0;
}

.noIndent {
	padding: 0px;
}

h2#slogan  {
	padding-left:0px;
}


.excerpt p {
	padding-top:0px;
}

/* rss */

a#rss:link, a#rss:visited {
	background-image:url('images/rss.png');
	min-height:25px;
	padding:2px 0 0 25px;
}

#rsslink{
	padding-bottom: 10px;
}

#rss {
	background-repeat:no-repeat;
	/*font-size:0.8em;*/
	font-weight:bold;
	/*margin-left:10px;*/
	padding-bottom: 10px;
}

/* images */

.introImage {
	margin:5px 10px;
}

.alignright{
	float:right;
}

.alignleft{
	float:left;
}

.aligncenter{
	display:block;
	margin-left:auto;
	margin-right:auto;
}

img.float-right {
  margin: 5px 0px 5px 10px;  
}

img.float-left {
  margin: 5px 10px 5px 0px;
}



#sidebar h1, 

#sidebar p {
	padding-left: 0;
}

#main ul, ol {
	margin-left: 30px;
}

#main .commentlist {
	margin:0;
}

code {
  margin: 5px 0;
  padding: 10px;
  text-align: left;
  display: block;
  overflow: auto;  
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace;
  /* white-space: pre; */
  background: #FAFAFA;
  border: 1px solid #f2f2f2;  
  border-left: 4px solid #FF9966;
}

acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}

blockquote {
	margin: 10px;
 	padding: 0 0 0 32px;  	
  	background: #FAFAFA url(images/quote.gif) no-repeat 5px 10px !important; 
	background-position: 8px 10px;
	border: 1px solid #f2f2f2; 
	border-left: 4px solid #FF9966;   
}

/* form elements */

form {
	margin:10px; padding: 5px;
	/*border: 1px solid #f2f2f2; 
	background-color: #FAFAFA; */
}

label {
	/*display:block;
	font-weight:bold;
	margin:5px 0;*/
}

input {
	/*padding: 3px;
	border:1px solid #eee;*/
	font: normal 1em Verdana, sans-serif;
	color:#777;
}

textarea {
	width:350px;
	padding:3px;
	font: normal 1em Verdana, sans-serif;
	border:1px solid #eee;
	height:100px;
	display:block;
	color:#777;
}

input.button { 
	margin: 0; 
	font: 12px Verdana, Sans-serif; 
	border: 1px solid #CCC; 
	padding: 2px 3px; 
	background: #FFF;
	color: #75A54B;
}

/* search form */

#search{
width:270px;
}

#search input{
/*-moz-border-radius-bottomleft:4px;
-moz-border-radius-bottomright:4px;
-moz-border-radius-topleft:4px;
-moz-border-radius-topright:4px;*/
padding:5px;/*8px 12px;*/
font-size:11px;
border:1px solid #EFF0F1;
}

#search #s {
width: 145px;
}

#search form{
margin:0px;
padding-left:0px;
}

input#searchsubmit{
background-color:#6988AF;
border:medium none;
color:#FFFFFF;
font-size:11px;
padding:5px;

/*-moz-border-radius-bottomleft:4px;
-moz-border-radius-bottomright:4px;
-moz-border-radius-topleft:4px;
-moz-border-radius-topright:4px;
background:#466100 url(images/bg_bt.gif) repeat-x scroll 0 0;
border:1px solid #4B6800;
color:#FFFFFF;
cursor:pointer;
font-size:14px;
padding:4px 25px;*/
}

form.search {
	position: absolute;
	top: 15px; right: 5px;
	padding: 0; margin: 0;
	border: none;
	background-color: transparent; 
}

form.search input.textbox { 
	margin: 0; 
	width: 120px;
	border: 1px solid #CCC; 
	background: #FFF;
	color: #333; 	
	vertical-align: top;
}

form.search input.button {
	width: 60px;
	vertical-align: top;
}



/**************************************

   LAYOUT 

***************************************/	

#wrap {
	margin: 0 auto; 
	padding: 0; 
	width: 95%;
	text-align: left;
	font-size: 0.8em;
}

/* header */

#header { 
	position: relative;
	height: 70px; 
	margin: 0; padding: 0;
	color: #808080; 		
}

#header h1#logo {

	position: absolute;	

	font: bold 3.9em "trebuchet MS", Arial, Tahoma, Sans-Serif;

	margin: 0; padding:0;

	color: #75A54B;

	letter-spacing: -2px;	

	border: none;	

	

	/* change the values of top and Left to adjust the position of the logo*/

	top: 0; left: 2px;		

}

#header h1#logo span { color: #FF9966; }



#header h2#slogan { 

	position: absolute;

	margin: 0; padding: 0;	

	font: bold 12px Arial, Tahoma, Sans-Serif;	

	text-transform: none;

	

	/* change the values of top and Left to adjust the position of the slogan*/

	top: 50px; left: 45px;

}



/* menu */

#menu {

	clear: both;

	background: #FF9966 url(images/menubg.gif) repeat-x;

	height: 30px;

	margin: 0;

	font: bolder 1.2em/30px Tahoma, Verdana, Arial, Sans-Serif;		

}

#menu ul{

	margin: 0; padding: 0 0 0 8px;

}

#menu ul li {

	float: left;

	list-style: none;		

	border-right: 1px solid #FFA500;

}

#menu ul li a {

	display: block;

	text-decoration: none;	

	padding: 0 15px;

	color: #FFF;	

}

#menu ul li a:hover {

  	color: #333;	

	background: url(images/menu-hover-bg.gif) repeat-x;

}

#menu ul li#current a {

	color: #333;

	background: url(images/menu-current-bg.gif) repeat-x;	


}



/* sidebar */

#sidebar {

	float: left;

	width: 21%; 

	margin: 0;	padding: 0; 

	display: inline;

}

#sidebar ul {

	list-style: none;

	text-align: left;

	margin: 0 0 7px 0; padding: 0;

	text-decoration: none;	

}

#sidebar ul li {

	border-bottom: 1px solid #EFF0F1;	

	background: url(images/arrow.gif) no-repeat 3px 6px;	

	padding: 2px 5px 2px 20px;

}



#sidebar ul.children {

	list-style: none;

	text-align: left;

	margin: 0; padding: 0;

	text-decoration: none;	

}

#sidebar ul.children li {

	border-bottom: 0px;

	background: url(images/arrow.gif) no-repeat 3px 6px;	

	padding: 2px 5px 2px 20px;

}

* html body #sidebar ul li { height: 1%; }



#sidebar ul li a {

	font-weight: bolder;

	background-image: none;

	text-decoration: none;	

}



#sidebar img {

    border:0;

}



#rightbar {
	float: right;
	width: 21%;
	padding: 0;
	margin: 0; 			
	background: url(images/vertical-separator.png) no-repeat scroll left top;
	min-height: 500px;
	padding-left:10px;
}

#rightbar div {
	margin-bottom: 30px;
}

#rightbar ul {

	list-style: none;

	text-align: left;

	margin: 0 0 7px 0; padding: 0;

	text-decoration: none;	

}

#rightbar ul li {
	border-bottom: 1px solid #EFF0F1;	
	background: url(images/arrow.gif) no-repeat 3px 9px;	
	padding: 2px 5px 2px 20px;
	font-size:11px;
}

* html body #rightbar ul li { height: 1%; }

#rightbar ul li a {

	/*font-weight: bolder;*/

	background-image: none;

	text-decoration: none;	

}

#rightbar ul.children {

	list-style: none;

	text-align: left;

	margin: 0; padding: 0;

	text-decoration: none;	

}

#rightbar ul.children li {
	border-bottom: 0px;
	background: url(images/arrow.gif) no-repeat 3px 6px;	
	padding: 2px 5px 2px 20px;
}

#rightbar img {
    border:0;
}

/* main column */

#main {
	float: left;
	margin: 0 0 0 15px;
	padding: 0;
	width: 54%;	
}

/*#main h1 a{
	color: #75A54B;
}

#main h1 a:hover {
	color: #F9864D;
}*/

.post-footer {
	background-color: #FAFAFA;
	padding: 5px; margin: 15px 10px 10px 10px;
	border: 1px solid #f2f2f2; 
	font-size: 95%;
}

.post-footer .date {
	background: url(images/clock.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

.post-footer .comments {
	background: url(images/comment.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

.post-footer .readmore {
	background: url(images/page.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

/* footer */

#footer {
	font-size: .7em;
}

.contact-details{
	margin-bottom: 10px;padding: 10px;background: #ebefec;
	clear:both;
}

#footer-links {
margin-left: -.1em;
padding-left: 10px;
color: #999;
width: 950px;
}

#footer li {
display: inline;
}

#footer-links a {
padding: 0 .1em;
color: #999;
}

#footer .logos {
margin-right: -1.25em;
float: right;
}

#footer .logos li {
margin: 0 1.25em;
}

.footer {
	background:url(../images/dot-horz.gif) repeat-x top left;
	clear: both;
	width:100%;
	float: left;
	margin-bottom: 30px;
	margin-top: 20px;
	padding-top:10px;
}

.footer img
	{margin-bottom:6px;}

.footer p
{padding:0; margin-bottom:4px;margin-top:0;}


.logos img {
border: none;
}

#footer {font-size: 63.7%}

#footer a { 
	 color:#666;
}

/* alignment classes */

.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right { text-align: right; }

/* additional classes */

.clear  { clear: both; }
.green  { color: #75A54B; }
.linkcat { list-style:none; }
.widget{ list-style:none; }

/*
Default style for WP-PageNavi plugin

http://wordpress.org/extend/plugins/wp-pagenavi/
*/

.wp-pagenavi {
	clear: both;
	margin-bottom:10px;
}

.wp-pagenavi a, .wp-pagenavi span {
	text-decoration: none;
	border: 1px solid #BFBFBF;
	padding: 3px 5px;
	margin: 2px;
	color:#333333;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
	border-color: #000;
}

.wp-pagenavi span.current {
	font-weight: bold;
}

.prev1 a:visited,  .prev1 a, .prev1 a:link {
	color: #000;
	float: left;
	}	
	
.next1 a:visited, .next1 a, .next1 a:link{
	color: #000;
	float: right;
	text-align: right;
	}	
