/*
Theme Name: 	Agri-BrexitCoalition
Template:		newsclean
Theme URI: 		http://www.davidlenton.co.uk/themes/newsclean/agribrexit
Description: 	A simple, clean, text-based theme based on the newsclean theme.
Version: 		1.0
Author: 		David Lenton
Author URI: 	http://www.davidlenton.co.uk
Tags: 			clean, basic, typography
*/

@import url("../newsclean/style.css");

/* ---------------------------------------------------------------------------------------------------------- 
02 Typography -----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

h1 {
	color: #D8222A;
}

/* ---------------------------------------------------------------------------------------------------------- 
03 Layout  --------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

.pre-content {
	position: relative;
	clear: both;
	overflow: auto;
	border-top: 1px solid #68767C;
	margin-bottom: 0.5em;
}

#access .wrapper {
	margin: auto;
	width: auto;
}

.primary_navigation {
	background-color: #ffffff;
	height: 40px;
	padding-top: 1em;
	border-bottom: 1px solid #60B455;
	overflow: hidden;	
}

.primary_navigation .menu {
	border: none;
/* 	font-family: Nunito, 'sans serif'; */
	font-weight: 300;
	text-transform: lowercase;
	font-size: 1.3em;
	color: #60B455;
}

.primary_navigation a, .primary_navigation a:hover, .primary_navigation a:visited {
	padding-right: 0.5em;
	color: #60B455;	
}

.current-page-ancestor>a, .current_page_item>a,
.current-page-ancestor>a:hover, .current_page_item>a:hover,
.current-page-ancestor>a:visited, .current_page_item>a:visited,
.current_page_parent>a,
.current_page_parent>a:hover,
.current_page_parent>a:visited {
	font-weight: 600;
	color: #60B455 !important;
}

#header-widget-area {
	position: absolute;
	top: 10px;
	right: 0px;
}

header {
	padding-top: 0em;
	padding-bottom: 1em;
	border: none;
	overflow: hidden;
}

header .title a {
	background-image: url(images/logo.png);
	background-repeat: no-repeat;
	background-position: top left;
	background-size: 300px;
	height: 120px;
	display: block;
	text: transparent;
	font-size: 0px;
}

.row {
	margin-top: 0em;
}

.entry-date {
	margin-bottom: 0.75em;
	color: #286AA6;
}

article h1, h1.entry-title {
	color: #000000;
	font-size: 1.500em;     /* 21px --> 18 ÷ 14 = 1.286 */
	line-height: 1.125em;   /* 21px --> 21 ÷ 18 = 1.167 */
	margin-bottom: 0.667em; /* 21px --> 14 ÷ 18 = 0.778 */
	font-weight: normal;
}

article li {
	margin-left: 20px;
}

article img {
	border: 1px solid #999;
}

footer img, .footer img,
.gallery img {
	max-width: 100%;
}

.member-images {
	width: 100%;
	margin-bottom: 2em;
}
.pre-content .member-images {
	margin-bottom: 0em;
}
.member-images img {
	width: 10.6%;
	min-width: 70px;
}

/* Homepage gallery */

.gallery {
	overflow: hidden;
	position: relative;
	clear: both;
	padding-bottom: 1em;
	margin-top: 0em;
}
.gallery .border {
	padding-bottom: 1em;
}
.gallery .wrapper {
	overflow: visible;
}
.gallery ul,.gallery li {
	list-style: none;
	float: left;
}
.gallery ul {
	width: 100%;
}
.gallery li {
	width: 24%;
	margin-right: 1%;
}
.gallery li img {
	max-width: 100%;
}

.gallery .flexslider {
	width: 100%;
}
.gallery ol.flex-control-nav {
	position: absolute;
	text-align: left;
	margin-left: 25px;
}

.gallery ul.flex-direction-nav {
	position: absolute;
	top: 0px;
}

.gallery ul.flex-direction-nav .prev {
	margin-left: -125px;
	width: 300px;
	height: 150px;
	top: 0px;
	display: block;
	float: left;
	position: absolute;
}

.gallery ul.flex-direction-nav .next {
	margin-left: 280px;
	width: 1000px;
	height: 150px;	
	top: 0px;
	display: block;
	float:left;
}

.gallery ol.flex-control-nav a,
.gallery ul.flex-direction-nav a {
	color: transparent;
}

#sidebar {
	border-left: 1px solid #ccc;
	padding-left: 20px;
}

/* Sidebar Text */
#sidebar .widget_text {
	color: #000000;
}
#sidebar .widget_text h3 {
font-size: 2.143em;
/* 30px --> 30 ÷ 14 = 2.143 */
line-height: 1.4em;
/* 30px --> 21 ÷ 30 = 0.7 */
margin-bottom: 0.467em;
/* 30px --> 14 ÷ 30 = 0.467 */
color: #D8222A;
}
#sidebar .widget_text ol li {
	list-style: decimal;
}

/* VSEL widget */
#sidebar .vsel_widget {
	color: #000000;
}
#sidebar .vsel_widget h3.widget-title {
	color: #D8222A;
	font-size: 2.143em;
	/* 30px --> 30 ÷ 14 = 2.143 */
	line-height: 1.4em;
	/* 30px --> 21 ÷ 30 = 0.7 */
	margin-bottom: 0.467em;
	font-weight: normal;
}
#sidebar .vsel_widget h4.vsel-meta-title {
	font-size: 1.2em;
	margin-bottom: 5px;
}
#sidebar .vsel_widget .vsel-meta-date {
	color: #286AA6;
	margin-bottom: 5px;	
}
#sidebar .vsel_widget .vsel-meta-location {
	margin-bottom: 5px;
}
#sidebar #vsel .vsel-content {
	border-bottom: none;
}

@media (max-width: 767px) {
	#access {
		padding-left: 5px;
		padding-right: 5px;
	}
	#header-widget-area {
		right: 5px;
	}
	header .title a {
		background-size: 280px;
	}	
	.primary_navigation {
		height: auto;
	}
	.primary_navigation .menu {
		margin-top: 2em;
	}
	#sidebar {
		border-left: none;
		padding-left: auto;
	}	
}