/*
Theme Name:   Enviro Child Theme
Template:     colormag-pro
*/

/*@import url(article-category-colours.css);*/

@import url(../../plugins/recent-posts-flexslider/css/slider.css);

.archive #content .post:nth-child(2n), .blog .post:nth-child(2n)  {
    clear: left;
}

.archive #content .post:nth-child(2n+1), .blog .post:nth-child(2n+1) {
	clear: right;
}

.archive #content .post:nth-child(2n) .featured-image, .archive #content .post:nth-child(2n+1) .featured-image, .blog .post .featured-image {
   text-align: center;
   max-height: 216px;
   overflow: hidden;
}

html body.archive #content article:nth-of-type(1) .featured-image {
	max-height: none !important;
}

/*Job Categories page */

ul#menu-jobs-categories li {
    width: 29%;
    float: left;
    line-height: 1.4em;
    font-size: 16px;
    padding: 0 10px 8px 0;
}

@media only screen and (max-width: 1090px){

ul#menu-jobs-categories li {
    width: 47%;
}
}

@media only screen and (max-width: 833px){

ul#menu-jobs-categories li {
    width: 47%;
    font-size: 15px;
}
}

@media only screen and (max-width: 428px){

ul#menu-jobs-categories li {
    width: 100%;
    font-size: 15px;
}
}

/*Job listing - remove left padding */

div.job_listings ul.job_listings {
    margin: 0;
    padding: 0;
}

a div.location, li.date, li.job-type, div.company {
	font-size: 15px;
}

.single_job_listing .company img {
    width: 3em;
    height: auto;
}


/*Standfirst*/
body.single-post div.entry-content p.bold, body.single-post div.entry-content h2:first-of-type, body.single-post div.entry-content article h2:first-of-type, p.story-body__introduction {
	font-size: 20px;
	font-weight: 600;
	line-height: 30px;
}

aside.envir-widget div.advads-track {
	max-width: 100%;
}

.widget_featured_posts .article-content .above-entry-meta .cat-links a {
	display: inline-block;
}

html body .type-post .entry-title, html body .type-page .entry-title {
    line-height: 1.2;
}

.entry-content li {
    line-height: 1.6;
}

/*Home page styling*/
.widget_highlighted_posts .article-content {
    background: rgba(0, 0, 0, 0.6);
}

section#consil_highlighted_posts_widget-3 h3 {
	font-weight: 600;
	padding-top: 10px;
	padding-bottom: 0px;
	padding-right: 10px;
}

section#consil_highlighted_posts_widget-3 h3 a:hover, section.widget_featured_slider div.slide-content h3.entry-title a:hover {
	color: #F9C700;
}

section.widget_featured_slider div.slide-content h3.entry-title {
    font-size: 28px;
    font-weight: 600;
    padding: 13px 70px 7px 0;
    text-shadow: 0 1px 1px #212121;
}

section.widget_featured_slider div.slide-content span.cat-links, section.widget_featured_slider div.slide-content span.posted-on, section.widget_featured_slider div.slide-content span.byline {
	display: none;
}

section.widget_featured_slider div.slide-content {
    background: rgba(0, 0, 0, 0.5);
    padding-bottom: 11px;
}

/*section#consil_highlighted_posts_widget-3 div.single-article {
	height: 162.517px;
}*/

.widget_highlighted_posts .single-article {
    min-height: 163px;
    max-height: 163px;
    overflow: hidden;
}

.widget_highlighted_posts img {
	max-height: 170px;
}

@media only screen and (max-width: 800px) and (min-width: 700px), only screen and (max-device-width: 800px) and (min-device-width: 700px) {
   	.widget_highlighted_posts .single-article {
    	min-height: 145px;
   	 	max-height: 145px;
	}

	.widget_highlighted_posts img {
	max-height: 145px;
	}
}

.widget_highlighted_posts .article-content {
	max-height: 100% !important;
}

section#colormag_featured_posts_slider_widget-2 {
	max-height: 350px;
	min-height: 350px;
}

section#colormag_featured_posts_slider_widget-2 img {
	max-height: 337px;
	min-height: 337px;
}

body.home header.entry-header {
	display: none;
}

body.home span.comments {
	display: none;
}

/*Header Styling*/
div.news-bar form.search-form {
	width: 304px;
	float: right;
	margin-left: 10px;
}

div.news-bar form.search-form input {
	font-size: 15px;
	height: 16px;
}

div.news-bar .search-icon::before {
	font-size: 14px;
}

div.news-bar button.search-icon {
	line-height: 22px;
	padding: 0 10px;
}

#site-navigation {
	background-color: #303440;
}

.main-navigation ul li a {
	font-size: 16px !important;
	padding: 9px;
}

div.newsletter-signup {
	float:right;
	width: 285px;
}

div.newsletter-signup input[type="email"] {
	width: 58%;
	margin-right: 5px;
}

div.newsletter-signup input, div.newsletter-signup button {
	font-size: 15px;
	margin-bottom: 0px;
}

div.newsletter-signup button {
	padding: 0px 5px;
	color: white;
}

div.newsletter-signup p {
	margin-bottom: 0px;
	margin-top: -6px;
}

.main-navigation a {
	font-weight: normal;
}

/* Home flexslider recent posts */

div.flexslider-caption-inner h3 {
    font-size: 1.4em !important;
    padding-bottom: 5px !important;
}

h3.flexslider-title {
	padding-bottom: 0px;
}

div.flexslider-caption {
    background: rgba(48, 52, 64, 0.8) none repeat scroll 0 0 !important;
}

ol.flex-control-nav {
    opacity: 0.4;
}

/* Header newsletter sign-up */
/* Sign up to newsletter box */
#header-right-section {
	width: 271px;
	background-color: #F9C700;
    padding-bottom: 0px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 4px;
    margin: auto;
}
/* email address box */
#subForm > p {
	margin-bottom: 0px;
	height: 37px;
}
/* text */
#subForm {
	text-align: left;
}
/* button */
#subForm > p > button {
	color: #fff;
}
/* email field */
#fieldEmail {
	width: 95%;
	font-size: 15px;
}

#subForm > p:nth-child(2) {
	height:47px;
}
/* newsletter box text */
#text-2 > div {
	text-align: left;
}

@media only screen and (max-width: 800px){
/* newsletter box */
#header-right-section {
	width: 90%;
}
/* email address box */
#subForm > p {
	height: 45px;
}
}

/*Widget Styling*/
#secondary aside.envir-widget {
	margin-bottom: 0px;
}

aside#colormag_featured_posts_small_thumbnails-6 {
	margin-top: 25px;
}

div.sidebar-signup-form button {
	margin-bottom: 0px;
	color: white;
	background-color: #303440;
}

div.sidebar-signup-form button:hover {
	background-color: #394D80;
}

div.sidebar-signup-form input {
	margin-bottom: 10px;
	margin-top: 10px;
}

div#secondary aside#text-2 {
	background-color: #F9C700;
	padding-bottom: 30px;
	padding-left: 30px;
	padding-right: 30px;
}

div#secondary aside#text-2 h3.widget-title {
	border-bottom: none;
	font-size: 24px;
	font-weight: bold;
}

div#secondary aside#text-2 h3.widget-title span:before {
    content: "\f003";
    font-family: FontAwesome;
    position:relative;
    margin-right:5px;
}

div#secondary aside#text-2 h3.widget-title span {
	background-color: transparent;
	padding: 0px;
	color: #303440;
}

/*Artlice Listing Styling*/
html body.blog #content .post .article-content div.below-entry-meta, html body.archive #content .post .article-content div.below-entry-meta {
	line-height: 17px;
}

html body.blog #content .post .article-content .entry-title {
	font-size: 30px;
}

html body.blog #content .post .article-content span.post-views, html body.blog #content .post .article-content span.comments {
	display: none;
}

#content .post .article-content .below-entry-meta {
    padding-bottom: 10px;
}

/*Article Archive Styling*/
.archive #content .post p {
	font-size: 19px;
}

html body.archive #content .post .article-content span.post-views, html body.archive #content .post .article-content span.comments {
	display: none;
}

/*Search page styling*/
body.search span.post-views, body.search span.comments {
	display: none;
}

/*Single Article Styling*/
body.single-post article span.post-views, body.single-post article span.comments {
	display: none;
}

p.feed-source {
	font-size: 14px;
    font-style: italic;
}

#content .post .article-content .above-entry-meta .cat-links a, div.slide-content span.cat-links a {
    padding: 1px 6px;
    text-transform: uppercase;
}

body.single-post div.above-entry-meta {
	margin-bottom: 7px;
}

h2.share-this-heading {
	padding-bottom: 0px;
}

span.st_sharethis {
	margin-bottom: 5px;
}

/*Don't display second h2 on bbc article*/
h1.story-body__h1 {
	display: none;
}

/*Header banner ads*/
div.envir-header-bar-ad-placement {
	float: right;
	max-width: 100%;
}

/*Sidebar Grid Ads*/
div.advads-sidebar-grid, div.envir-sidebar-grid {
	height: 125px;
	width: 125px;
	float:left;
	margin: 15px;
}

aside#text-2 h3 span {
	margin-top: 30px;
}

/*Sidebar MPU Ad*/
div.advads-sidebar-mpu {
	margin-top: 40px;
}

/*Ad in post content*/
div.envir-in-post-content img {
	margin-bottom: 35px !important;
	margin-top: 20px;
}

div.envir-in-post-content {
	text-align: center;
}

/*Footer Styling*/
.footer-socket-wrapper .copyright {
    max-width: 100%;
}

@media only screen and (max-width: 400px), only screen and (max-device-width: 400px) {
    div.envir-sidebar-grid {
    	margin: 13px;
    }
}

/* Right sidebar search bar and title */
#text-10 {
	margin-bottom: 0px !important;
}
/* Right sidebar text */
#text-10 > div {
	font-size: 92%;
}



/*Numerical pagination*/
div.number-navigation {
	clear: both;
	text-align: center;
}

div.number-navigation ul li {
	display: inline-block;
	margin: 10px;
}

div.number-navigation ul li.active a {
	color: #394D80;
}

div.number-navigation ul li a:hover {
	color: #394D80;
}

/*Header mobile styling*/
@media only screen and (max-width: 790px), only screen and (max-device-width: 790px) {
   	div.news-bar {
   		display: none;
   	}

   	div#header-logo-image {
   		margin-bottom: 20px;
   	}
}


@media only screen and (max-width: 600px), only screen and (max-device-width: 600px) {
   	div.breaking-news {
   		margin-top: 10px;
   		margin-bottom: 10px;
   		float: left;
   	}

   	strong.breaking-news-latest {
   		float:left;
   	}

   	ul.newsticker {
   		display: block;
   	}
}

@media only screen and (max-width: 800px) and (min-width: 600px), only screen and (max-device-width: 800px) and (min-device-width: 600px) {
div.breaking-news {
	text-align: left;
    width: 100%;
}

ul.newsticker {
	width: 100%;
}
}

@media only screen and (max-width: 1200px) and (min-width: 1000px), only screen and (max-device-width: 1000px) and (min-device-width: 790px) {
	div.envir-header-bar-ad-placement {
		max-width: 60%;
	}
}

@media only screen and (max-width: 1000px) and (min-width: 790px), only screen and (max-device-width: 1000px) and (min-device-width: 790px) {
	div.envir-header-bar-ad-placement {
		max-width: 54%;
	}
}

/*mobile styling headings*/
@media only screen and (max-width: 550px), only screen and (max-device-width: 550px) {
	body.single-post #content .article-content header.entry-header h1.entry-title {
		font-size: 36px;
	}

	body.archive #content .article-content header.entry-header h2.entry-title {
		font-size: 36px;
	}
}

/*Social media icons*/
.social-links li {
    padding: 5px;
    font-size: 1.2em;
}

.footer-socket-right-section .social-links i {
    color: #e8e8e8;
}

.search_jobs input {
    margin-bottom: 0;
}

/*Search fix*/
.search article:nth-child(2n) {
    float: left;
    width: 48.7013%;
    clear: both;
}

#text-14 {
	width: 271px;
    background-color: #F9C700 !important;
    padding-bottom: 0px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 4px;
    margin: auto;
    padding-top: 5px;
}

#text-14 p {
	font-size: 19px !important;
}