/*
Theme Name: DCMS Blog
Theme URI: http://www.helpfultechnology.com
Description: A theme built around bootstrap 3.0 for the FCO Human Rights and Democracy report 2013-14
Author: Anthony O'Malley
Author URI: http://www.helpfultechnology.com
Version: 0.01
*/

/* ====================================
   General 
   ================================= */

body {
	font-size: 1.8em;
	line-height: 1.4em;
	background: #dee0e2;
	font-family: Helvetica, Arial, sans-serif;

}

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
}

a {
	color: #2e3191;
	text-decoration: none;
}

h1 a {
	text-decoration: none;
	color: black;
}

h1 a:hover {
	text-decoration: underline;
}

a:hover {
	color: #2e3191;
	text-decoration: underline;
}

p {
	margin: 0.2em 0 1.5em 0;
}

.wrapper {
	background: #f9f9f9;
	padding-bottom: 40px;
}

/* limit the container width */

@media (min-width: 1200px) {
	.container {
		max-width: 990px;
	}
}

.media.authorbox {
  margin-top: 1.8em ;
}

.authorbox img {
	float: left;
	margin: 0 1em 1em 0;
}

.authorbox-author, .authorbox-bio {
  	margin-bottom: 0;
  	margin-top: 25px;
}
  
  
#features ul, #features .container {
	padding-left: 0;
}

.listing-thumbnail {
	float: left;
	margin: 0 1em 1em 0;	
}

.has-thumbnail {
	padding-left: 170px;
}

@media (max-width: 767px) {
	.has-thumbnail {
		padding-left: 0;
		clear: left;
	}
}

/* ====================================
   rulers
   ================================= */

hr.heavy {
	border-top: 4px solid #000;
}

hr.medium {
	border-top: 2px solid #000;
}

hr.light {
	border-top: 1px solid #000;
}

hr.invisible {
	border-top: 1px solid #fff;
}

/* ====================================
   header
   ================================= */

.navbar.mainnav .container {
	/* padding: 6px 0 10px 0; */
}

a.navbar-brand {
	font-size: 20px;
	font-weight: 300;
	line-height: 1em;
	text-decoration: none;
	color: #fff;
	text-rendering: optimizeLegibility;
	padding-bottom: 0;
}

a.navbar-brand img {
	width: 53px;
	height: auto;
	padding-right: 6px;
	margin-top: -5px;
	border-left: 2px solid #fff;
	padding-left: 8px;
}

.navbar.mainnav {
	background: #222;
	color: #fff;
	margin-bottom: 0;
	filter: none;
}

/* navbar form */

.navbar-form {
	padding: 0;
	margin-top: 8px;
	margin-bottom: 0;
	margin-left: 0;
}

/* navbar toggle button */

.container button.navbar-toggle {
	border: 1px solid #ccc;
}

.container span.icon-bar {
	background: #ccc;
}

/* navbar collapse view  */

.navbar-collapse {
	text-align: center;
}

.navbar-collapse.in {
	border-top: 1px solid #ddd;
}

/* navbar search */

.mainnav .form-control {
	border: none;
	border-radius: 0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
	-webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.btn {
	border: 1px solid #FF9900;
	border-radius: 0;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	background: #FF9900;
	color: #fff;
}

@media (min-width: 768px) {s
	.navbar-form .form-group {
		margin-right: -4px;
	}
	.mainnav #searchsubmit {
		margin-left: -7px;
	}
}

@media (max-width: 767px) {
	.mainnav a.navbar-brand {
		font-size: 12px;
		white-space: nowrap;
		margin-top: 3px;
	}
	.mainnav a.navbar-brand img {
		width: 43px;
	}
	.mainnav #s {
		float: left;
		width: auto;
	}
	.mainnav #searchsubmit {
		float: left;
	}
	.navbar-form .form-group {
		margin-bottom: 0;
	}
	.mainnav .navbar-form {
		border-top: 0;
		border-bottom: 0;
		box-shadow: none;
		-webkit-box-shadow: none;
		overflow: auto;
		margin-bottom: 8px;
		margin-left: 15px;
		
	}
	.navbar-collapse.in {
		border-top: 0;
	}
}

/* department header */

.department {
	border-bottom: 3px solid #003e74;
	border-bottom: 3px solid black;
	padding: 10px 0;
	font-family: Helvetica, Arial;
	font-size: 2em;
	margin-bottom: 1em;
	border-top: 10px solid #FF9900;
}

/* ===================================================
   home page
   ================================================ */

h1.site-title {
	font-size: 48px;
}

.entry {
	padding-top: 10px;
}

.entry ul {
	font-size: 1em;
	line-height: 1.8em;
	margin: 30px 0 40px;
	padding: 0 0 0 25px;
}

.entry img {
	max-width: 100%;
	height: auto;
}

div.find-out-more ul {
	font-size: 1em;
	line-height: 1.8em;
	margin: 0;
	padding: 0 0 0 25px;
}

.homewidgets ul {
	list-style: none;
}

.homewidgets ul li ul {
	list-style: square;
	padding-left: 20px;
}

/* ===================================================
   Tweets
   ================================================ */   

.home-tweets-ul {
	padding-left: 20px;
	margin: 0px;
	list-style: square;
}

.home-tweet-date {
	padding-top: 5px;
	font-size: 0.8em;
	display: block;
	color: #888;
}

.home-tweet-date span {
	font-size: 0.8em;
}

/* ===================================================
   Metro tiles
   ================================================ */
   
.metro {
	overflow: hidden;
	margin-bottom: 20px;
	margin-left: -10px;
	margin-right: -10px;
}

.metro .tile {
	width: 33.33%;
	float: left;
	position: relative;
	box-sizing: border-box;
	border: 10px solid #f7f7f7;
}

.metro .tile img {
	height: auto;
	width: 100%;
}

.metro .tile .descr-text {
	color: #fff;
	background: url(img/black-trans.png);
	position: absolute;
	bottom: 0;
	width: 100%;
	padding: 8px 14px;
	box-sizing: border-box;
/*
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
*/
}

.metro .tile .postinfo {
	position: absolute;
	top: 20px;
	left: 0;
	margin: 0 20px;
}

.metro .tile .postinfo .date-meta {
	margin-bottom: 12px;
	font-weight: 400;
	font-size: 14px;
	color: #fff;
	opacity: 0.8;
}

.metro .tile .postinfo .date-meta i {
	margin: 1px 0 0 0;
}

.metro .tile .postinfo h4 {
	font-weight: 400;
	line-height: 1.4;
}

.metro .tile .postinfo a {
	color: #fff;
	font-weight: normal;
}

.metro .tile .rtheme a {
	color: #fff;
	font-weight: normal;
}

@media (max-width: 992px) {
	.metro .tile h4 {
		font-size: 0.9em;
	}
}

@media (max-width: 767px) {
	.metro .tile {
		width: 50%;
	}
	.metro .tile h4 {
		font-size: 1.2em;
	}
}

@media (max-width: 554px) {
	.metro .tile {
		width: 100%;
	}
}

/* ===================================================
   Author pages
   ================================================ */

.author .bio {
	margin-bottom: 20px;
}

.author .bio .inner {
	padding: 10px 20px 20px 20px;
}

.author .bio img {
	max-width: 150px;
	margin-right: 20px;
}
  
.author .metro {
	margin-top: 10px;
}

.author-header h2 {
	padding: 0;
	margin: 0;
} 

.author-header h4 {
	padding-bottom: 0;
	margin-bottom: 0;
} 

.author .govukprofile {
	margin-top: 20px;
	font-size: 0.8em;
	font-weight: 500;
}
   

/* ===================================================
   comments
   ================================================ */

#respond {
	margin-top: 50px;
	border-top: 2px solid #ccc;
}

#respond ul, #respond ol {
	list-style: none;
	padding: 0;
}

#respond ol ul {
	padding-left: 2em;
}

#respond ol ul ul {
	padding-left: 4em;
}


#respond li.comment {
	margin: 1em 0;
}


/* ===================================================
   sidebar
   ================================================ */

ul.sidebar {
	margin-top: 0;
	list-style: none;
}


.widget {
	margin-top: 0;
	margin-bottom: 1.5em;
	line-height: 1.3em !important;
	padding: 0;
	background: #fff;
}

.widget ul {
	padding-left: 20px;
	list-style: square;
}

.widget li {
	padding-bottom: 0.5em;
}

.widget select {
	width: 100%;
}

.sidebar h3.widget-title {
	font-size: 1.2em;
	font-weight: 500;
	margin: 0 0 20px 0;
	border-bottom: 0;
	
}

h3.widget-title a {
}

.sidebar ul.menu {
	list-style: none;
	padding: 0;
}

.sidebar ul.menu li {
	padding-bottom: 0.5em;
}

.sidebar p.tweet-text {
	margin: 0 0 20px;
}

.sidebar .widget_nav_menu {
}

.sidebar .widget_nav_menu li {
	border-bottom: 1px solid #ccc;
	padding: 0.25em 0 0 0;
}

.sidebar .widget_nav_menu li:last-child {
	border-bottom: none;
}

p.tweet-details {
	display: none;
}

.latest-tweets ul {
	list-style: none;
	padding: 0;
}

.alignleft {
	float: left;
	margin: 0 1em 1em 0;
}

/* ===================================================
   widgets
   ================================================ */

.twitterWidget h3 {
	background-image: url(./img/twitterWidget.png);
	background-repeat: no-repeat;
	padding-left: 45px !important;
	background-position: 10px;
}

.flickrWidget h3 {
	background-image: url(./img/flickrWidget.png);
	background-repeat: no-repeat;
	padding-left: 50px !important;
	background-position: 10px;
}

.widget_archive .inner h3 {
	display: none;
}


/* ===================================================
   boxed content
   ================================================ */

.content-listing, .widget, .author .bio, .post {
	border: 1px solid #eee;
	padding: 0;
	margin-top: 20px;
	margin-bottom: 30px;
	background: #fff;
	overflow: auto;
}

.content-listing, .widget, .author .bio, .post {
	-moz-box-shadow: 0 0 5px 2px #f5f5f5;
	-webkit-box-shadow: 0 0 2px 2px #f5f5f5;
	box-shadow: 0 0 2px 2px #f5f5f5;
	border: 1px solid #ddd;
}

.inner {
	padding: 0 25px 20px 25px;
}

   
h3.widget-title, .content-listing h2, .author-header, .single h2.entry-title {
	font-size: 1.2em;
	background-color: #2e3191;
	color: #fff;
	padding: 10px;
	margin: 0;
}

h3.widget-title a, .content-listing h2 a {
	color: #fff;
}


/* ===================================================
   main content listings
   ================================================ */


.meta-author {
	margin-top: 24px;
}

.meta-author img {
	max-width: 50px;
	height: auto;
	margin-right: 10px;
}

.meta-author .inner {
	padding: 12px 0 10px 0;
	font-size: 0.8em;
	color: #888;
}

.content-listing .readmore {
	font-weight: bold;
	margin-top: 12px;
}

.img-featured {
	padding: 10px 0 30px;
}


/* ===================================================
   pagination
   ================================================ */

.page_nav {
	margin-top: 30px;
}
.page_nav .page-numbers {
	padding: 0.25em 0.5em;
	background: #dee0e2;
}

/* ===================================================
   search pages
   ================================================ */



/* ===================================================
   footer
   ================================================ */

#footer {
	background: #dee0e2;
	padding: 40px;
	color: #0b0c0c;
}

#footer .container {
	padding-left: 0;
	padding-right: 0;
}

#footer a {
	color: #0b0c0c;
	text-decoration: underline;
}

#footer > .container > ul {
	list-style: none;
}

#footer > .container > ul > li > ul {
	list-style: square;
	padding-left: 20px;
}

#footer > .container > ul > li > ul li {
	padding: 5px 0;
}

/* copyright */

#footer .copyright {
	text-align: right;
	padding: 20px 0 0;
	margin-top: 20px;
}