/*
Theme Name: WVA BLOG THEME
Theme URI: http://www.blog.worldvision.com.au
Description: WVA BLOG WordPress theme
Author: WVA
Author URI: http://www.worldvision.com.au
Version: 2013
*/

/*  Include font-awesome and gill stitch locally due to firefox cross browser bug*/
@font-face {
  font-family: 'FontAwesome';
  src: url('assets/fontawesome-webfont.eot');
  src: url('assets/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
    url('assets/fontawesome-webfont.woff') format('woff'),
    url('assets/fontawesome-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face{
	font-family:"GillStitchRegular";
	src:url('assets/gill_stitch-webfont.eot');
	src:url('assets/gill_stitch-webfont.eot?#iefix') format('embedded-opentype'),url('assets/gill_stitch-webfont.woff') format('woff'),url('assets/gill_stitch-webfont.ttf') format('truetype'),url('assets/gill_stitch-webfont.svg#GillStitchRegular') format('svg');
	font-weight:normal;
	font-style:normal;}

/*menu */
#mobile-menu #local {
padding-top: 5px;
}
#desktop-menu .addthis_32x32_style {
margin-top: 10px;
}
.addthis_32x32_style a {
margin-left: 2px;
}
.addthis_32x32_style a img {
	width: 36px
}
#navbar-mobile-cta {
	margin-left: 0;
	margin-right: 8px;
}
#mobile-menu #menu-blog-navigation li:first-child {
	clear: left;
}
/* footer */
#site-footer {
	margin-top: 30px;
}
/* content */
#content {
    padding: 20px 0;
}
#home-feature {
	margin-top: 10px;
}
/* post list */
.post-list li {
    float: left;
    clear: both;
    margin-bottom: 15px;
    list-style: none;
}

.post-list li .post-left {
    width: 200px;
    float: left;
    padding-top: 10px;
}

.post-list li .post-right {
    float: left;
    width: 520px;
    padding-left: 20px;
}

/* post */
#post-content img {
    width: 720px;
    margin-bottom: 20px;
}

#post-tags {
    margin-bottom: 20px;
}

#post-tags p {
    margin-bottom: 5px;
}

#post-time {
    font-size: 13px;
		margin-top: 20px;
}

/* sidebar */


.sidebar-widget {
    margin: 0 0 15px 0;
    padding: 0 0 15px 0;
    border-bottom: 1px dashed #9A8B7D;
}
.sidebar-widget input {
	width: 74%;
}

.sidebar-widget.informed a img {
	margin-bottom: 5px;
}
#sidebar #searchform label {
	font-size: 1.125em;
	line-height: 1.35em;
	margin-bottom: 0.5em;
	text-shadow: none;
	font-weight: 400;
	color: #7D4A27;
	display:none;
}
#sidebar ul {
	margin-left: 0;
}
#sidebar ul li {
  list-style: none;
	margin: 0 0 5px 0;
	position: relative;
	padding: 0 0 5px 20px;
	border-bottom: dashed 1px #ccc;
}
#sidebar ul li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
#sidebar ul li:before {
	content: "\00BB";
	padding-right: 10px;
	position: absolute;
	left: 0;
	top: 0;
}
#sidebar li a{text-decoration:none;}
#sidebar li a:hover{text-decoration:underline;}

/*Subscription widget*/
form[id^="subscribe-blog-blog_subscription-"] {
	margin-bottom: 0;
}
form[id^="subscribe-blog-blog_subscription-"] input[type="submit"] {
   width: 100%;
  color: #ffffff;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
	background-color: #ff7c00;
	background-image: -moz-linear-gradient(top, #ff8b00, #ff6600);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ff8b00), to(#ff6600));
	background-image: -webkit-linear-gradient(top, #ff8b00, #ff6600);
	background-image: -o-linear-gradient(top, #ff8b00, #ff6600);
	background-image: linear-gradient(to bottom, #ff8b00, #ff6600);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff8b00', endColorstr='#ffff6600', GradientType=0);
	border-color: #ff6600 #ff6600 #b34700;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
	border: 4px solid rgba(154, 139, 125, 0.35) !important;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	background-clip: padding-box !important;
	font-weight: bold;
	text-decoration: none;
	display: inline-block;
	padding: 4px 12px;
	margin-bottom: 0;
	font-size: 16px;
	line-height: 20px;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	background-color: #ff7c00;
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
      
}
form[id^="subscribe-blog-blog_subscription-"] input[type="submit"]:hover {
	background-position: 0 -15px;
	background-color: #ff6600;
	-webkit-transition: background-position 0.1s linear;
	-moz-transition: background-position 0.1s linear;
	-o-transition: background-position 0.1s linear;
	transition: background-position 0.1s linear;
}
form[id^="subscribe-blog-blog_subscription-"] input[type="text"] {
	padding: 4px 6px !important;
	}
form[id^="subscribe-blog-blog_subscription-"] p {
 margin:0   
}
.sidebar-widget .error, .sidebar-widget .success {
	background: url("http://styleguide.worldvision.com.au/img/icons/icon-error-20px.png") no-repeat 8px 8px #ffe2e2;
	border-color: #eed3d7;
	color: #b51319;
	padding: 8px 12px 8px 40px;
	margin-bottom: 20px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	border: 1px solid #fbeed5;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.sidebar-widget .success {
	background: url("http://styleguide.worldvision.com.au/img/icons/icon-success-20px.png") no-repeat 8px 8px #d6e9c6;
	border-color: #d6e9c6;
	color: #468847;
	border: 1px solid #fbeed5;
}

.tagcloud a {
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    border-radius: 3px 3px 3px 3px;
    margin: 0 3px 3px 0;
    background-color: #9A8B7D;
    display: inline-block;
    font-size: 0.75em;
    font-weight: 700;
    padding: 0 4px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    vertical-align: baseline;
    white-space: nowrap;
}
.tagcloud a:hover{background:#877A6D;}
.tagcloud, #tag-name {
	text-transform: lowercase;
}

.sharethis-links {
	margin-bottom: 20px;
}
.sharethis-links p {
	margin-bottom: 0;
}
.sharethis-links ul {
    height: 40px;
		margin: 0;
}

.sharethis-links li {
    float: left;
    height: 40px;
}
.sharethis-links span:first-child .stButton:first-child {
	margin-left: 0;
}
.stButton .stLarge {
	height: 40px !important;
	width: 40px !important;
}
.stButton .stLarge:hover {
background-position: 0px !important;
}
.st_facebook_large .stLarge {
	background-image: url(//styleguide.worldvision.com.au/img/icons/follow-facebook.png) !important;
}
.st_twitter_large .stLarge {
	background-image: url(//styleguide.worldvision.com.au/img/icons/share-twitter.png) !important;
}
.st_linkedin_large .stLarge {
	background-image: url(//styleguide.worldvision.com.au/img/icons/linkedin.png) !important;
}
.st_pinterest_large .stLarge {
	background-image: url(//styleguide.worldvision.com.au/img/icons/follow-pinterest.png) !important;
}
.st_email_large .stLarge {
	background-image: url(//styleguide.worldvision.com.au/img/icons/message.png) !important;
}

.shareText{font-size:13px;}
#blogBody{margin-top:30px;}
.frontpost p{margin:0;}
.frontpost h5{margin:0;}
.frontpost {margin-bottom: 30px;}
.heading{margin-top:20px;margin-bottom:0;}
.heading h1{margin-top:16px; margin-bottom:5px;}
.heading p{}
.nextpostslink{margin-left:20px !important;}
.previouspostslink{margin-right:20px !important;}
#iconCTA i:hover{color:#ff6600;}
#searchform{display:inline-block;}
#mobile-heading{display:none;}
.shadow{box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.15);}
.shadowtop{box-shadow: 0 -3px 2px -1px rgba(0, 0, 0, 0.15);}
#home{background:#ffffff url("img/body_bg.jpg") repeat;box-shadow:1px 1px 20px #666;}
.mobile{display:none;}


.wp-caption {
	width: auto !important;
}



/* Pretty printing styles. Used with prettify.js. */

/* SPAN elements with the classes below are added by prettyprint. */
.pln { color: #000 }  /* plain text */

@media screen {
  .str { color: #080 }  /* string content */
  .kwd { color: #008 }  /* a keyword */
  .com { color: #800 }  /* a comment */
  .typ { color: #606 }  /* a type name */
  .lit { color: #066 }  /* a literal value */
  /* punctuation, lisp open bracket, lisp close bracket */
  .pun, .opn, .clo { color: #660 }
  .tag { color: #008 }  /* a markup tag name */
  .atn { color: #606 }  /* a markup attribute name */
  .atv { color: #080 }  /* a markup attribute value */
  .dec, .var { color: #606 }  /* a declaration; a variable name */
  .fun { color: red }  /* a function name */
}

/* Use higher contrast and text-weight for printable form. */
@media print, projection {
  .str { color: #060 }
  .kwd { color: #006; font-weight: bold }
  .com { color: #600; font-style: italic }
  .typ { color: #404; font-weight: bold }
  .lit { color: #044 }
  .pun, .opn, .clo { color: #440 }
  .tag { color: #006; font-weight: bold }
  .atn { color: #404 }
  .atv { color: #060 }
}

/* Put a border around prettyprinted code snippets. */
pre.prettyprint
{
  padding: 2px;
  border:1px #e5e3e1 solid;
  background: none repeat scroll 0 0 #FEE9CC;
    border-radius: 3px 3px 3px 3px;
   }

/* Specify class=linenums on a pre to get line numbering */
ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */
li.L0,
li.L1,
li.L2,
li.L3,
li.L5,
li.L6,
li.L7,
li.L8 { list-style-type: none }
/* Alternate shading for lines */
li.L1,
li.L3,
li.L5,
li.L7,
li.L9 { background: #eee }

code
{
background-color: #FEE9CC;
color: rgba(0, 0, 0, 0.75);
padding: 1px 3px;
border-radius: 3px 3px 3px 3px;
}

/*Author bio*/
#author-bio-box {
	width:100%;
	margin: 20px 0 50px 0;
	border-top: 1px dashed #9A8B7D;
	padding-top: 20px;
	min-height: 150px;
}
#author-bio-box img {
	float: left;
	margin-right: 10px;
	margin-bottom: 2px;
}
#author-bio-box .author-name {
	font-weight: bold;
	margin: 0px;
	font-size: 18px;
}
#author-bio-box p {
	font-size: 14px;
	line-height: 16px;
}
#author-bio-box thead th {
	border: 0;
}
#author-bio-box tbody {
	border: 0;
}
.bio-spacer { min-height:44px; padding: 1px; display: block; clear: both; border:1px;}
.bio-socials {
	border-top:none;
	border-bottom:none;
	border-left:none;
	border-right:none;
	width: 628px;
	height: 32px;
	clear: both;
}


/**/

/*Img wrapping*/
img.alignright, .wp-caption.alignright { float: right; margin: 0 0 1em 1em; } 
img.alignleft, .wp-caption.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter, .wp-caption.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/**/

/*MetaSlider*/
.metaslider .flexslider {
	margin: 0 !important;
}
.flex-direction-nav a {
	width: auto !important;
	height: auto !important;
	background: none !important;
	top: 35% !important;
	text-decoration: none;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
	padding: 0 20px;
	color: white;
	text-decoration: none;
	font-family: FontAwesome;
	font-size: 40px;
}
.flex-direction-nav a:after {
	display: block;
	text-indent: 0;
}
.flex-prev:after {
	content: "\f053";
}
.flex-next:after {
	content: "\f054";
}
.flex-control-nav {
	width: auto !important;
	bottom: 0 !important;
	right: 5px;
	z-index: 10;
}
.flex-control-paging li a {
	width: 10px !important;
	height: 10px !important;
	display: inline-block !important;
	background: none !important;
	-webkit-border-radius: 10px !important;
	-moz-border-radius: 10px !important;
	-o-border-radius: 10px !important;
	border-radius: 10px !important;
	border: solid 1px white;
	margin: 0 3px !important;
}
.flex-control-paging li a.flex-active {
	background: white !important;
	border: none;
	width: 12px !important;
	height: 12px !important;
	position: relative;
	top: -1px;
}
/**/

/*Responsive video*/
.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/**/

/*Media Queries*/
@media (min-width: 980px) and (max-width: 1199px) {
	.sidebar-widget input {
		width: 55%;
	}
	.flex-direction-nav a {
		top: 30% !important;
	}
}
@media (min-width: 768px) and (max-width: 979px) {
	.sidebar-widget input {
		width: 50%;
	}
	.sidebar-widget #searchsubmit {
		font-size: 14px;
		padding: 4px 6px;
	}
	.flex-direction-nav a {
		top: 25% !important;
	}
	.metaslider .caption-wrap {
		position: relative !important;
		opacity: 1 !important;
	}
	.flex-control-nav {
		top: 6px;
	}
}
@media (max-width: 767px) {
	#page-title {
		margin-top: 20px;
	}
	.sidebar-widget input {
		width: 74%;
	}
	.flex-direction-nav a {
		top: 23% !important;
	}
	.metaslider .caption-wrap {
		position: relative !important;
		opacity: 1 !important;
	}
	.flex-control-nav {
		top: 6px;
	}
}
@media (max-width: 600px) {

	.flex-direction-nav a {
		top: 17% !important;
	}
}
@media (max-width: 400px) {

	.flex-direction-nav a {
		top: 6% !important;
	}
}