/*
----------------------------------------------
 ELC Custom CSS
 Developed by Oliver Bettany
 Created: 27/10/21
----------------------------------------------
*/

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on April 11, 2018 */

@font-face {
    font-family: 'Museo Slab Regular';
    src: url('fonts/exljbris_-_museoslab-300-webfont.woff2') format('woff2'),
         url('fonts/exljbris_-_museoslab-300-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Museo Slab Bold';
    src: url('fonts/exljbris_-_museoslab-700-webfont.woff2') format('woff2'),
         url('fonts/exljbris_-_museoslab-700-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/*-----------------------
 GLOBAL STYLES 
-------------------------*/

body {
	padding-top: 0;
	padding-bottom: 0;
}

blockquote {
	background-image: url(img/bg-green.png);
	overflow: hidden;
}

blockquote p {
	font-size: 22px;
	font-family: 'Museo Slab Bold';
}

blockquote cite {
	font-family: 'Quicksand';
	float: right;
	font-size: 100%;
	font-style: italic;
	font-size: 18px;
	margin-top: 10px;
}

blockquote p,
.widget_highlighted_posts .article-content .entry-title a {
	text-shadow: 2px 1px 2px rgba(0, 0, 0, 0.5)
}

#content .wp-caption {
	border:	1px solid rgba(72,114,25,0.4);
	background-color: #fff;
	-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

#content .wp-caption img {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

#content .wp-caption .wp-caption-text {
	font-size: 90%;
	padding: 0 10px;
}

.post-edit-link {
	float: right;
	font-style: italic;
	font-size: 0.8em;
	padding-bottom: 10px;	
}

h1, h2, h3, h4, h5, h6,
#colophon .post-title {
	font-family: 'Quicksand';
}

.alignright,
.alignleft {
	margin-bottom: 20px;
}

/*
.float-left {
	float: left;
	margin-top: 15px;
}

.float-right {
	float: right;
	margin-top: 15px;
}
*/

.clearright {
	clear: right;
}

.clearleft {
	clear: left;
}

.nomargin {
	margin: 0 !important;
}

.post .featured-image {
	margin-bottom: 17px;
}

#content h2 {
	border-top: 1px solid rgba(72,114,25,0.4) !important;
	border-bottom: 1px solid rgba(72,114,25,0.4) !important;
	font-size: 26px;
	margin: 25px 0 15px;
	padding-top: 15px
}

body.archive #content h2,
#content .entry-content > h2:first-child {
	border-top: none !important;
	margin-top: 0;
	padding-top: 0
}

body.archive #content h2 {
	border-bottom: none !important;
	margin: 0 0 5px 0;
}

#content .subtitle {
	font-size: 19px;
	border-top: 0 !important;
	margin-top: 0;
	padding-top: 0;
	border-bottom-width: 2px !important;
	line-height: 1.4em;
}

#content h3 {
	border-top: 1px solid rgba(72,114,25,0.4) !important;
	font-size: 23px;
	padding-bottom: 10px;
	padding-top: 15px;
}

#content h2 + h3 {
	border-top: none !important;
	padding-top: 0;
}

#content .entry-title {
	font-family: 'Quicksand';
}

#content .entry-header .entry-title {
	font-family: 'Museo Slab Bold';
	padding-bottom: 0;
}

body.home #content .entry-title {
	text-align: center;
	font-size: 1em !important;
}

body.home #content .entry-title a {
	text-decoration: none;
}

#content h4 {
	font-size: 20px;
	padding-bottom: 10px;
}

.caption {
	text-align: center;
	font-style: italic;
	font-size: 90%;	
}

.single #content .post {
	-webkit-box-shadow: none;
	box-shadow: none;
}

#content .post .article-content, 
#content .post .single-title-above {
  padding: 0;
}

.entry-title, 
.widget-title,
.page-title,
.post-title,
.main-navigation li,
.call-to-action__title {
	font-family: 'Museo Slab Bold';
}

select {
	font-family: "Open Sans", serif !important;	
}

.entry-header {
	border-bottom: 2px solid rgba(72,114,25,0.4);
	margin-bottom: 20px;
}

body.archive .entry-header {
	border-bottom: none !important;
	margin-bottom: 10px;
	padding-bottom: 0;
}

body.post-type-archive-elc_farm .entry-header,
body.post-type-archive-elc_site .entry-header,
body.post-type-archive-elc_planning_app .entry-header {
	float: left;
}

body.post-type-archive-elc_farm .content-area,
body.post-type-archive-elc_site .content-area,
body.post-type-archive-elc_planning_app .content-area {
	clear: left;
}

/*
#content .subtitle {
  font-size: 18px;
  border-top: none;
  padding-top: 5px;
}
*/

.main-navigation a {
	font-size: 18px;
	font-weight: normal;
	text-transform: none;
	padding-top: 8px;
	text-decoration: none;
	line-height: 2em;
}

a:hover { 
  transition: all 0.3s ease;
}

.widget_featured_slider .slide-content .entry-title a {
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
}

.widget_featured_posts .article-content .entry-title a {
	color: rgb(72,114,25);
}

.entry-title a:hover,
.top-bar-menu a:hover,
.main-navigation a:hover,
.fa.search-top:hover::before,
.more-link span:hover,
.button:hover,
.widget_call_to_action .btn--primary:hover,
.view-all-link:hover,
#osmap.leaflet-container h4 a:hover,
.widget_featured_posts .article-content .entry-title a:hover,
.post-title a:hover,
.widget_highlighted_posts .article-content .below-entry-meta .posted-on a:hover {
	color: #fdb915 !important;
}

#content .post .article-content .below-entry-meta, 
#content .post .single-title-above .below-entry-meta {
	padding-bottom: 0;
}

#content .tiled-gallery {
	margin-top: 25px;
}

body.single-post #content .content-area > p:first-child {
	margin-top: 25px;
	padding-top: 15px;
	border-top: 1px solid rgba(72,114,25,0.4) !important;
}

.entry-content ol {
	padding-left: 15px;
}

.entry-content li > ul, 
.entry-content li > ol {
	margin-bottom: 15px;
}

.entry-content ul {
	list-style: disc;
}

.entry-content li {
	font-size: 100%;
}

#secondary ul.disc,
#tertiary ul.disc {
	list-style: disc;
	padding-left: 20px;
	margin-bottom: 10px;
}

ul.disc li {
	padding-top: 0px !important;
}

#content .article-container {
	margin-bottom: 50px;
}


#content article {
	-webkit-box-shadow: none;
	box-shadow: none;
}

body.archive #content article {
	-webkit-box-shadow: none;
	box-shadow: none;
	border-bottom: 1px solid rgba(72,114,25,0.2);
	padding-bottom: 15px;
	margin-bottom: 25px;
}

body.post-type-archive-elc_resource #content article {
	padding-bottom: 30px;
	margin-bottom: 20px;
}

body.archive #content article:last-child {
	border-bottom: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}

.gallery-item {
	float: left;
}

#content img,
.featured-image img /*,
.post-summary .list-group */ {
	-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

#content img.noshadow {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

.entry-content li {
  line-height: 1.6em;
}


.featured-image {
	margin-bottom: 20px;
	width: 100%;
}
.featured-image.align-right {
	float: right;
	width: 50%;
	margin-left: 20px;
}

body.archive .featured-image {
	float: right;
	margin: 0 0 25px 25px;
	width: 50%;
}

body.term-elc-publications .featured-image {
	width: auto;
}	

body.single-elc_partner .featured-image {
	width: auto;
	float: right;
}

body.single-elc_partner .featured-image img {
	-webkit-box-shadow: none;
    -moz-box-shadow: none;
	box-shadow: none !important;
}	


.featured-image img {
	width: 100%;
	margin-bottom: 0;
}

body.term-elc-publications .featured-image img {
	width: auto;
}

#main a {
	text-decoration: underline;
	text-decoration-thickness: 0.05em;
    text-underline-offset: 0.1em;
}
#main a:hover {
	text-decoration: none;
}
.breadcrumb-wrap a,
#osmap a,
#colormag_featured_posts_slider_widget-2 a,
#main #sticky-posts-7 a {
	text-decoration: none !important;
}

#content #sticky-posts-7 img {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;	
}

.breadcrumb-wrap a:hover {
	text-decoration: underline !important;
}

#main .entry-title a {
	text-decoration: none;
}

/* breadcrumb-wrap */

.breadcrumb-wrap {
	margin-bottom: 35px;
	font-size: 14px;
	color: #888;
}

.breadcrumb-wrap span {
	margin: 0 2px;
}

/* button styles */

.button,
.widget_call_to_action .btn--primary,
.view-all-link,
.more-link span {
	background-color: #487319;
	/*
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
	background-image: url(img/bg-green.png);
	*/
	padding: 5px 10px;
	/*
	font-size: 0.9em;
	*/
	color: #fff !important;
	box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
	font-family: 'Quicksand';	
	border-radius: 10px;
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 1);
	text-decoration: none !important;
}

.more-link span {
	font-size: 15px;
}

/*
.button:hover,
.widget_call_to_action .btn--primary:hover {
	background: #ffbf2d url(img/bg-yellow.png);
}
*/

.view-all-link {
	height: auto;
	font-size: 14px;
	font-weight: normal;
	line-height: 18px;
	width: auto;
}


.widget_call_to_action .btn--primary {
	text-transform: none;
	padding: 10px 20px;
	font-weight: normal;
	font-size: 1.1em;
}

#secondary .upw-after .button {
	display: block;
	float: left;
	clear: both;
}
#secondary .upw-after .button:hover {
	text-decoration: none !important;
}

/*-----------------
 HEADER
---------------*/

/* language switcher */

#masthead {
	position: relative;
}

#header-top-right-section {
	position: absolute;
	left: 50px;
	top: 12px;
	z-index: 1000;
}

/*
.wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer {
	display: none;
}
*/

.wpml-ls-statics-footer a.wpml-ls-link {
	background: transparent !important;
}
.wpml-ls-statics-footer a.wpml-ls-link:hover {
	background: #fff !important;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-flag {
	margin-bottom: 0;
}

.wpml-ls-legacy-dropdown {
	width: 10.5em;
	font-size: 0.8em;
}
.wpml-ls-legacy-dropdown .wpml-ls-flag {
	margin-bottom: 0;
}
.wpml-ls-legacy-dropdown .wpml-ls-flag+span {
	font-size: 0.9em;
}
.wpml-ls-legacy-dropdown a {
	padding: 2px 6px 4px;
}

.elc-custom-header.inner-wrap {
	position: inherit;
}

.fa.search-top {
  padding: 17px;
}

#header-left-section {
	float: left;
}

#header-right-section {
	float: right;
	/*
	position: absolute;
	right: 0;
	*/
	margin-top: -10px;
}

#menu-header-right li,
#menu-header-right-welsh li {
	float: right;
	clear: right;
	font-family: 'Museo Slab Bold';
	font-size: 18px;
	margin-bottom: 10px;
	background-image: url(img/bg-green.png);
	box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
	/*
	-webkit-border-top-left-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-bottomleft: 10px;
	*/
	border-radius: 10px;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
}
#menu-header-right li:last-child,
#menu-header-right-welsh li:last-child {
	margin-bottom: 0;
}

#menu-header-right li a,
#menu-header-right-welsh li a {
	padding: 4px 20px;
	color: #fff;
	display: block;
	text-decoration: none;
	/*
	background-color: rgba(255, 255, 255, 0.2);
	-webkit-box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
	box-shadow: -3px 3px 0px rgba(0, 0, 0, 0.2);
	*/

}
#menu-header-right li a:hover,
#menu-header-right-welsh li a:hover {
	color: #fdb915 !important;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.news-bar {
    background-image: url(img/bg-green.png);
	padding-bottom: 8px;
	position: relative;
}

.news-bar:after {
	content: '';
    background: url(img/bg-header.jpg) repeat-x left bottom;
	position: absolute;
	width: 100%;
	height: 60px;
	top: 6px;
}

.news-bar .social-links {
	padding-left: 0;
	float: none;
}

.social-links ul li {
    display: inline;
    border-radius: 50%;
    background-color: #fff;
    width: 32px;
    height: 32px;
    float: right;
	margin-right: 5px;
}

#header-text-nav-wrap {
	padding-bottom: 0;
}
/*
#masthead .social-links {
	float: left;
	padding-left: 0;
} 
*/

.social-links i {
	position: relative;
}

.social-links li:hover {
	background-color: #fdb915 !important;
}

#masthead .social-links i {
	top: 4px;
}



#masthead .social-links i.fa-twitter,
#masthead .social-links i.fa-instagram {
	position: relative;
	left: -3px;
}

#masthead .social-links i.fa-envelope {
	font-size: 20px;
	left: -3px;
	top: 6px;
}


#hot-random_image-2 {
	margin-bottom: 0;
}

#colophon .social-links i.fa-twitter,
#colophon .social-links i.fa-instagram {
	top: -1px;
	left: -4px;
}

#header-text-nav-wrap {
	padding: 40px 0 20px;
}

.social-links a:hover {
	
}

.social-links a:hover i {
	color: #fff !important;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

/*
.top-bar-menu {
	float: left;
	margin-left: 0;
}
*/



#menu-top-bar {
	margin-top: 3px;
}

.top-bar-menu li {
	font-size: 1.1em;
}

.top-bar-menu a {
	color: #fff;
}

/* main navigation */

#site-navigation,
.main-navigation .sub-menu, 
.main-navigation .children {
	background-color: #999;
}

.main-small-navigation a {
	padding-right: 60px;
}

.site-header .menu-toggle::before {
	padding: 12px 20px;
}

.main-navigation li {
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);

}

.main-navigation .sub-menu li {
	text-shadow: none;
	font-family: 'Quicksand';
	/*
	font-family: 'Museo Slab Regular';
	*/
}

/*
.main-navigation li ul li,
.image-ticker-news .article-content .entry-title {
	font-family: 'Museo Slab Regular';
}
*/

.main-navigation ul li ul li a,
.main-navigation ul li.current-menu-item ul li a, 
.main-navigation ul li ul li.current-menu-item a, 
.main-navigation ul li.current_page_ancestor ul li a, 
.main-navigation ul li.current-menu-ancestor ul li a,
.main-navigation ul li.current_page_item ul li a {
	font-size: 16px;
	line-height: 1.4em;
}

/* feature slider */

.widget_featured_slider_inner_wrap .bx-viewport {
	border-radius: 30px;
}	

/* highlighted posts */

/*
.widget_highlighted_posts .single-article {
	background: url(img/bg-yellow.png);
}
*/

.widget_highlighted_posts .article-content {
	padding-right: 10px;
}

.widget_beside_slider .widget_highlighted_posts {
	margin-left: 10px;
}

.widget_highlighted_posts .cta.article-content {
	top: 0;
	background: rgba(0, 0, 0, 0.2);
}

.widget_highlighted_posts .cta.article-content .entry-title {
	font-size: 1.2em;
	margin-bottom: 4px;
}

.widget_highlighted_posts .cta.article-content p {
	font-size: 0.9em;
	/*
	color: #fff;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
	*/
}

.widget_highlighted_posts .cta.article-content .button {
	position: absolute;
	bottom: 10px;
}

/*
body.home #content .widget {
	margin-bottom: 15px;
}
*/

#media_video-2 .widget-title {
	margin-bottom: 0;
}

/*----------------
 PAGE LAYOUT 
----------------*/

.inner-wrap {
	position: relative;
	z-index: 1;
	max-width: 1100px;
}

#main {
	padding-top: 50px;
	padding-bottom: 50px;
}

body.home #main {
	padding-top: 0;
	padding-bottom: 0;
}

.main-content-section {
	margin-top: 50px;
}


/*----------------
  HOMEPAGE 
----------------*/

.slider-featured-image {
	position: relative;
	padding-top: 55%;
}


#category_slider_colormag_featured_posts_slider_widget-2 .above-entry-meta {
	display: none;
}


.slider-featured-image img {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

body.home #primary .widget {
	margin-bottom: 30px;
	/*
	background: rgba(72,114,25,0.03);
	*/
	padding-bottom: 20px;
}

body.home #primary .partner-logos {
	padding-bottom: 0;
	margin-bottom: 0;
}

.partner-logos ul {
	padding: 30px 0 0 50px;
	text-align: center;
}

.partner-logos li {
	display: inline-block;
	width: 200px;
	box-sizing: border-box;
	border-right: 50px solid transparent;
	text-align: center;
	margin-bottom: 30px;
}

.partner-logos img {
	width: 100%;
}

.partner-logos p {
	font-family: 'Quicksand';
	font-size: 14px;
	line-height: 1.2em;
}

.home .breadcrumb-wrap {
	display: none;
}

#custom_html-2 {
	clear: both;
	/*
	text-align: center;
	*/
}

#primary #custom_html-2 .widget-title {
	margin: 0;
}

#primary #custom_html-2 .textwidget {
	margin: 0;
}

#osmap {
	width: 100%;
	height: 500px;
}

#osmap img {
	box-shadow: none;
	margin-bottom: 10px;
}

#osmap .leaflet-popup-content-wrapper {
	overflow: hidden;
}

#osmap.leaflet-container h4 {
	font-size: 18px;
}
#osmap.leaflet-container h4 a {
	font-size: 18px;
	color: rgb(72,114,25);
}

#osmap.leaflet-container h4 {
	padding: 0 0 5px 0;
	margin: 0;
}

#osmap .leaflet-popup-content {
	width: 150px !important;
	margin: 20px 13px 0;
	
}

#osmap .leaflet-popup-content p {
	padding: 0 0 15px 0;
	margin: 0;
}

#osmap.leaflet-container .button {
	color: #fff;
	display: block;
	margin-bottom: 15px;
	float: left;
}

#osmap.leaflet-container .alignright {
	margin-left: 10px;
}

#osmapsite {
	width: 40%;
	height: 200px;
	float: right;
	clear: right;
}

/* CALL TO ACTION WIDGET */

.widget_call_to_action {
	margin-bottom: 70px;
}

.call-to-action {
	border-radius: 30px;
	background-color: rgb(72,114,25);
}

.call-to-action-border {
    background-color: rgba(250, 250, 250, 0.8);
    padding: 20px;
    width: 70%;
	border-radius: 20px;
}

.call-to-action-border:before,
.call-to-action-border:after {
	display: none;
}

.call-to-action__title {
	font-size: 32px;
}

.call-to-action-content p {
	/*
	font-family: 'Museo Slab Regular';
	*/
	font-size: 1.3em;
}


/* Maesgwyn Isaf CTA widget */

#colormag_cta_widget-4 .call-to-action {
	background-position: center;
	position: relative;
}

#colormag_cta_widget-4 .call-to-action .call-to-action__title {
	text-transform: none;
}

#colormag_cta_widget-4 .call-to-action .call-to-action-border {
	position: static;
	width: 33%;
}

#colormag_cta_widget-4 .call-to-action .call-to-action-content {
	margin-bottom: 40px;
	position: absolute;
	right: 0;
	top: 0;
	width: 33%;
	background: rgba(250, 250, 250, 0.8);
	padding: 20px;
	border-radius: 20px;
	margin: 30px;
}

#colormag_cta_widget-4 .call-to-action .call-to-action-content p {
	font-size: 1em ;
	margin: 0;
}

.widget_beside_slider .widget_call_to_action {
	margin-bottom: 0;
}

.widget_beside_slider .call-to-action {
	border-radius: 20px;
	padding: 20px;
	margin-left: 20px;
}

.widget_beside_slider .call-to-action .call-to-action__title {
	font-size: 22px;
	text-transform: none;
	font-weight: normal;
	padding-bottom: 0;
}

.widget_beside_slider .call-to-action .call-to-action-content {
	margin-bottom: 20px;
}

.widget_beside_slider .call-to-action .call-to-action-content p {
	font-size: 1em;
}

.widget_beside_slider .call-to-action .call-to-action-border {
	width: auto;
}


.widget_featured_posts .article-content {
	padding: 10px 0 0 0;
}

.widget_featured_posts .single-article {
	box-shadow: none;
	-webkit-box-shadow: none;
}


/* HOMEPAGE WIDGETS */

.layerslider_widget {
	margin-bottom: 50px;
}


body.home #primary .widget:nth-child(1),
body.home #primary .widget:nth-child(2) /*,
body.home #primary .widget:nth-child(3),
body.home #primary .widget:nth-child(4) */ {
	width: 48%;
	margin-right: 4%;
	float: left;
}
body.home #primary .widget:nth-child(2) /*,
body.home #primary .widget:nth-child(4) */ {
	margin-right: 0;
}

/* ticker */

#main .image-ticker-news .article-content .entry-title {
	font-size: 14px;
	border-top: 0 !important;
	padding-top: 0;
}

/*----------------
  SIDEBAR WIDGETS 
----------------*/

.widget-title {
	margin-bottom: 0 !important;
}

.textwidget,
.upw-posts,
.bx-wrapper {
	background: rgba(72,114,25,0.1);
	padding: 12px 12px 5px 12px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	overflow: hidden;
}

#text-60 .textwidget {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	min-height: 222px;
}

#text-60 .textwidget {
	position: relative;
	overflow: visible;
}

#text-60 .textwidget .button {
	position: absolute;
	bottom: -42px;
}


#text-62 .textwidget {
	background: none;
	padding: 0;
}

.widget_slider_area .bx-wrapper {
	padding: 0;
	background: none;
}

body.home .textwidget {
	margin: 0 !important;
	overflow: hidden;
	padding-bottom: 20px;
}

.widget-title,
.entry-header {
	border-bottom: 2px solid rgba(72,114,25,0.4) !important;
}

.widget_featured_posts .widget-title, 
#secondary .widget-title, 
#tertiary .widget-title, .page-header .page-title, 
.footer-widgets-area .widget-title, 
.advertisement_above_footer .widget-title, #primary .widget-title, 
.widget_slider_area .widget-title, 
.widget_beside_slider .widget-title, 
.top-full-width-sidebar .widget-title {
	border-bottom: 2px solid rgba(72,114,25,0.4) !important;
}

.widget_highlighted_posts .article-content .entry-title,
#secondary .widget-title, #tertiary .widget-title {
	font-size: 20px;
}

.entry-header {
	padding-bottom: 20px;
}

.jp-relatedposts,
.default-wp-page {
	border-top: 2px solid rgba(72,114,25,0.4) !important;
	margin-top: 2em;
	padding-top: 2em;
}

.default-wp-page .previous, 
.default-wp-page .next {
	padding: 0 10px;
}

#secondary .widget-title span,
#tertiary .widget-title span
.footer-widgets-area .widget-title span {
	padding-top: 9px;
	padding-bottom: 9px;
}

#secondary h4 {
	font-size: 16px;
	padding: 10px 0;
	border-top: 1px solid rgba(72,114,25,0.4);
}



.widget_featured_slider .slide-content .entry-title {
	font-size: 30px;
}

#primary .textwidget {
	margin: 0 14px;
}

#primary .widget-title,
.page-header .page-title,
.advertisement_above_footer .widget-title {
	font-size: 22px;
	background: #fff;
}

#primary .widget-title,
.page-header .page-title,
.advertisement_above_footer .widget-title,
.footer-widgets-area .widget-title {
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

#primary .in-content.widget {
	float: right;
	width: 50%;
	margin: 0 0 20px 20px;
}

#primary .in-content.widget .widget-title {
	border-top: 0 !important;
	padding-top: 0;
}

#primary .in-content.widget .textwidget {
	margin: 0;
}

body.home #content .widget-title,
body.home #content .page-title,
.advertisement_above_footer .widget-title {
	border-top: 0 !important;
}

body.error404 .page-header .page-title {
	text-shadow: none;
	font-weight: normal;
	padding-bottom: 20px;
}

#text-59 .widget-title,
#text-61 .widget-title {
	margin-bottom: 0;
}

#custom_html-2 .textwidget {
	padding: 0 !important;
}

#primary .widget-title span,
.advertisement_above_footer .widget-title span {
	padding: 10px 14px;
}

.widget_highlighted_posts .single-article {
	width: 48%;
	margin-right: 4%;
	margin-bottom: 20px;
}

#secondary .widget_highlighted_posts .single-article {
	width: 100%;
	max-width: 100%;
	margin-right: 0;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.elc_related_posts_widget .widget-title {
  margin-bottom: 0 !important;
}

.elc_related_posts_widget ul {
  
}

.elc_related_posts_widget h3 {
  font-size: 16px;
  padding-bottom: 5px;
}
/*
.planning_site_relationship h3,
.planning_farm_relationship h3 {
	text-align: center;
}
*/
.elc_related_posts_widget li {
  clear: both;
  overflow: hidden;
  border-bottom: 1px solid rgba(72,114,25,0.4);
  padding: 10px !important;
  
}

#secondary .elc_related_posts_widget img {
  width: 100% !important;
  margin-bottom: 10px !important;
}

#secondary .post_related_posts img {
  width: 120px !important;
  margin-bottom: 0 !important;
  margin-left: 20px;
  float: right;
}

#primary .elc_related_posts_widget ul {
	padding-left: 0;
}

#primary .elc_related_posts_widget li {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

#primary .elc_related_posts_widget h3 {
	font-size: 20px;
}

.elc_related_posts_widget li:last-child {
  border-bottom: none;
}

/* .search-results */

body.search-results .entry-header {
	padding-bottom: 0 !important;
}

body.search-results #content h2 {
	border-bottom: 0 !important;
	border-top-width: 2px !important;
}

body.search-results #content .post {
	box-shadow: none !important;
	webkit-box-shadow: none !important;
}

body.search-results #content .subtitle {
	display: none;
}

body.search-results #content .post .article-content .entry-title, 
body.search-results #content .post .single-title-above .entry-title {
	padding-top: 15px;
}


/* #cat-links */

#primary #cat-links {
	margin-bottom: 30px;
	font-size: 14px;
}

#primary #cat-links .textwidget {
	margin: 0;
}

#primary #cat-links .textwidget ul.disc {
	list-style: disc;
	padding-left: 20px;
}

/* News archive */

.widget_archive {
	background: rgba(72,114,25,0.1);
}

.widget_archive select {
	margin: 12px;
	background: #fff;
}

.widget_archive .widget-title {
	background: #fff;
}


/* widgets_on_page */

.widgets_on_page .textwidget {
	padding: 0;
	background: none;
	margin: 0 !important;
}

.widgets_on_page ul {
	padding-left: 0;
}

.widgets_on_page ul ul {
	padding-left: 30px;
}

#partner_partnerships_relationship h3,
#site_farms_relationship h3 {
	text-align: center;
}

#partner_partnerships_relationship h3 a,
#site_farms_relationship h3 a {
	text-decoration: none;
}

#Join_as_ecological_farmer > ul {
	list-style: none;
}

/*----------------
  PAGE SPECIFIC 
----------------*/

/* join elc as farmer */

body.page-id-202 #text-68 {
	display: none;
}


/* contact us page */

#content .column {
	float: left;
	width: 48%;
}

#content .column-left {
	margin-right: 4%;
}

#content .author-box {
	box-shadow: none;
	webkit-box-shadow: none;
	/*
	border-bottom: 1px solid rgba(72,114,25,0.4) !important;
	*/
	margin: 10px 0 0 0;
	padding: 0;
}

#content .author-box:first-of-type {
	margin-top: -10px;
}

#content .author-box:first-of-type h3 {
	border-top: 0 !important;
}

#content .author-box h3 {
	font-size: 20px;
	padding-bottom: 10px;
}	

#content .author-box p {
	margin-bottom: 5px;
}	

#content .column h2 {
	border-top: none !important;
	margin-top: 0;
	padding-top: 0;
}


/* faq pages */

body.tax-faq_categories h2.entry-title,
body.post-type-archive-elc_resource h2.entry-title {
	font-size: 22px !important;
}

body.tax-faq_categories h3 {
	font-size: 19px !important;
	padding-bottom: 5px;
}

/* team pages */

body.single-elc_team .featured-image,
body.post-type-archive .featured-image {
	float: right;
	margin: 0 0 15px 15px;
}
/*
article,
*/
.taxonomy-description {
  display: block;
  margin-bottom: 20px;
  padding-bottom: 30px;
  border-bottom: 2px solid rgba(72,114,25,0.4);
  overflow: hidden;
}
article:last-child {
	padding-bottom: 5px;
	border-bottom: 0;
}

/* planning application pages */

.proposal {
	margin-bottom: 20px;
	padding-bottom: 5px;
	font-weight: bold;
	border-bottom: 1px solid rgba(72,114,25,0.4) !important;
}

.post-summary {
  float: right;
  margin: 0 0 20px 20px;
  width: 50%;
  clear: right;
  position: relative;
}
/*
body.single .post-summary {
	margin-top: -20px;
}
*/

.post-summary h5,
.post-summary p {
  padding-bottom: 0;
  margin-bottom: 0;
}

.post-summary h5 {
  font-size: 1rem;
}

.post-summary p,
.post-summary li {
  font-size: 0.9rem;
}

.post-summary ul {
  padding-left: 20px;
}

.post-summary li em {
  margin-left: -5px;
}

.list-group-item.inline .post-summary h5,
.list-group-item.inline .post-summary p {
  display: inline;
}

.post-summary span {
  border-right: 1px solid #c1c1c1;
  padding-right: 5px;
  margin-right: 2px;
}

.post-summary span:last-child {
  border: 0;
  padding-right: 0;
  margin-right: 0;
}

.post-summary .list-group {
	-webkit-border-radius: 0.75rem;
	-moz-border-radius: 0.75rem;
	border-radius: 0.75rem;
	border: 1px solid #a3b88c;
	background: #dae3d1;
	overflow: hidden;
}

body.single .post-summary .list-group,
body.term-plots-available .post-summary .list-group,
body.post-type-archive-elc_farm .post-summary .list-group,
body.post-type-archive-elc_site .post-summary .list-group {
	-webkit-border-top-right-radius: 0;
	-webkit-border-top-left-radius: 0;
	-moz-border-radius-topright: 0;
	-moz-border-radius-topleft: 0;
	border-top-right-radius: 0;
	border-top-left-radius: 0;
	margin-top: -20px;
}

.post-summary .list-group-item {
  border-radius: 0 !important;
  padding: 0.75rem 0.75rem;
  border: 0 !important;
  background: transparent;
  border-top: 1px solid #a3b88c !important;
}
.post-summary .list-group-item:first-child {
  border-top: 0 !important;
}
.post-summary .list-group-subsection .list-group-item:first-child {
  border-top: 1px solid #a3b88c !important;
}


.post-summary .list-group-item-heading {
  margin-bottom: 0.2rem;
}

.post-summary .event-image {
  margin-bottom: 0;
}

.post-summary .email {
  word-break: break-word;
}

body.single .post-summary .list-group {
  border-bottom-right-radius: 0.75rem !important;
  border-top: 0;
}

.post-summary .list-group-item:last-child {
  
}

.collapse {
  display: none;
}
.collapse.in {
  display: block;
}

.collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  -webkit-transition-property: height, visibility;
  -o-transition-property: height, visibility;
  transition-property: height, visibility;
  -webkit-transition-duration: 0.35s;
  -o-transition-duration: 0.35s;
  transition-duration: 0.35s;
  -webkit-transition-timing-function: ease;
  -o-transition-timing-function: ease;
  transition-timing-function: ease;
}

.chevron-down::after {
  background: url(img/svg/chevron-up.svg) no-repeat;
}
.chevron-down.collapsed::after {
  background: url(img/svg/chevron-down.svg) no-repeat;
}

.ps-button {
  width: 26px;
  height: 26px;
  border: 1px solid #a3b88c !important;
  border-top: 1px solid #dae3d1 !important;
  background: #dae3d1;
  text-indent: -1000em;
  display: block;
  position: absolute;
  right: 20px;
  z-index: 10;
  -webkit-border-bottom-right-radius: 7px;
  -webkit-border-bottom-left-radius: 7px;
  -moz-border-radius-bottomright: 7px;
  -moz-border-radius-bottomleft: 7px;
  border-bottom-right-radius: 7px;
  border-bottom-left-radius: 7px;
}

.ps-button::after,
.ps-button.collapsed::after {
  background-size: 25px 25px;
  background-position: center;
  content: "";
  opacity: 0.3;
  width: 15px;
  height: 15px;
  top: 5px;
  left: 5px;
  bottom: 5px;
  right: 5px;
  position: absolute;
  z-index: -1;
}

.ps-button:hover::after {
  opacity: 0.5;
}

/* newsletter */

#newsletter {
	padding: 30px 0;
	background-color: #e3e3e3;
}

#newsletter table,
#newsletter h1,
#newsletter img,
#newsletter td {
	margin: 0;
	padding: 0;
	border: 0;
}

/*----------------
  FOOTER 
----------------*/

#colophon {
	background: url(img/bg-brown.png);
}

#colophon .footer-widgets-wrapper {
	background: url(img/bg-footer.jpg) repeat-x left top;
	padding-top: 180px;
}

#colophon .tg-upper-footer-widgets .widget {
	background: rgba(0, 0, 0, 0.5);
}

.page-title span,
.widget-title span {
	background-image: url(img/bg-green.png);
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

.footer-widgets-area .widget-title span {
	padding-top: 10px;
}


.footer-widgets-wrapper {
	background: transparent;
	border-top: none;
}

#colophon .copyright p {
	margin-bottom: 15px;
}

#colophon .social-links {
	float: none;
	display: inline-block;
}

.footer-socket-wrapper {
	padding: 40px 0;
}


/* ultimate posts */
/*
.upw-before,
.upw-posts,
.upw-after {
	margin-left: 14px
}
*/

.widget_ultimate_posts.legacy {
	clear: both;
}

.widget_ultimate_posts.legacy .upw-after {
	clear: both;
	text-align: center;
	padding-top: 20px;
}

/*
.widget_ultimate_posts.legacy {
	overflow: hidden;
}


.widget_ultimate_posts.legacy img {
	margin-left: 15px;
}
*/

.widget_ultimate_posts.legacy li {
	margin-left: 2%;
	width: 14%;
	float: left;
}
/*
.widget_ultimate_posts.legacy li {
	clear: both;
}
*/

.widget_ultimate_posts.legacy .post-title {
	font-size: 1.3em !important;
	margin-bottom: 0;
}

.widget_ultimate_posts.legacy .post-excerpt {
	font-size: 0.9em !important;
}

.widget_ultimate_posts.legacy .upw-image {
	float: right;
}


.widget_ultimate_posts.standard .upw-posts article {
	float: left;
	width: 16.66%;
	box-sizing: border-box;
	border-right: transparent solid 15px;
	border-bottom: 0;
	margin-bottom: 5px;
	padding-bottom: 0;
}

.widget_ultimate_posts.standard .upw-posts .entry-image img {
	width: 100%;
	margin-bottom: 0;
}

.widget_ultimate_posts.standard .upw-posts .entry-title {
	margin-bottom: 5px;
	padding-bottom: 0;
}

.widget_ultimate_posts.standard .upw-posts .entry-summary p {
	line-height: 1.3em;
	font-size: 0.9em;
}

.widget_ultimate_posts.standard .upw-after {
	clear: both;
	padding-top: 20px;
}

.footer-socket-wrapper {
	background: rgba(0, 0, 0, 0.4);
}

.footer-socket-wrapper .copyright,
.footer-socket-wrapper .copyright a {
	color: #fff;
}

.footer-socket-wrapper .copyright a {
	border: none;
}

.footer-socket-wrapper .copyright a:hover,
.footer-widgets-area a:hover {
	color: #fdb915 !important;
}

#colophon .upw-posts .entry-title {
	font-size: 1.4em;
}

#colophon .upw-after {
  margin-left: 6px;
  margin-top: 14px;
}

/*
#colophon .upw-content .post-title a:hover {
	color: #fdb915 !important;
}
*/

#colophon .tg-upper-footer-widgets .widget {
	padding: 0;
	border: 0;
	background: none;
}

#colophon .tg-upper-footer-widgets .widget-title {
	margin-bottom: 0;
}

#colophon .tg-upper-footer-widgets .widget ul,
#colophon .tg-upper-footer-widgets #text-60.widget .textwidget {
	padding: 15px;
	background: rgba(0, 0, 0, 0.3);
}

#colophon .tg-upper-footer-widgets .widget ul {
	padding-top: 5px;
}



#colophon .widget ul li {
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

#colophon .widget ul li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

#colophon p {
	font-size: 1.1em;
	margin-bottom: 0;
}

#colophon a {
	text-decoration: none;
}

#colophon .tg-upper-footer-widgets #text-60.widget .textwidget p {
	color: #fff;
	margin-bottom: 17px;
}

.social-links i.fa-envelope {
	padding: 5px 0;
	font-size: 21px;
}

@media screen and (max-width: 1190px) {
	#page {
		width: 100%
	}
}

@media only screen and (max-width: 800px) {
	#header-right-section {
		float: left;
		clear: both;
	}
	#menu-header-right li,
	#menu-header-right-welsh li	{
		float: left;
		clear: left;
	}
	
	body.home #primary .widget:nth-child(1), body.home #primary .widget:nth-child(2) /*, 
	body.home #primary .widget:nth-child(3), body.home #primary .widget:nth-child(4) */ {
		float: none;
		width: 100%;
	}
	
	.widget_ultimate_posts.standard .upw-posts article {
			width: 33.33%;
	}
	
}

@media only screen and (max-width: 768px) {
	.widget_slider_area {
		padding-bottom: 60px;
	}
	.widget_beside_slider .call-to-action {
		margin-left: 0;
	}	

/* Maesgwyn Isaf CTA widget */

	#colormag_cta_widget-4 .call-to-action .call-to-action-border {
		width: 50%;
	}

	#colormag_cta_widget-4 .call-to-action .call-to-action-content {
		position: static;
		width: auto;
		background: transparent;
		padding: 0;
		border-radius: 0;
		margin: 0;
	}	
	
	#colormag_cta_widget-4 .call-to-action .call-to-action-content p {
		margin-bottom: 15px;
	}	
}

@media screen and (max-width: 600px) {
	.news-bar {
		text-align: left;
	}
}


