/* DT Quick CSS to handle ESUK ongoing tweaks and change requests vs. ESG base template post development */
/* Needs to be migrated to proper SASS when they're finally happy and production and design have stopped bickering */


/* Homepage */

.video-module .text-content h3 {
	color: #53565A;
}

@media (max-width: 767px) {
    .video-module .text-content {
        width: 100%;
        float: left;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
	body.home .video-module h2,
	body.home .column3-module .boxed-item h2 {
		font-size: 24px;
		line-height: 28px;
	}
	body.home .video-module h3,
	body.home .video-module p {
		font-size: 18px;
		line-height: 22px;
	}
}

@media (min-width: 768px) {

    .video-module .text-content h3 {
        font-size: 32px;
        line-height: 34px;
        font-weight: normal;
    }

    .wp-text-module p {
        width: 60%;
    }
}

h1 a, h2 a, h3 a, h4 a, h5 a, p a {
    font-size:inherit;
    line-height: inherit;
}


/* About */

body.page-template-about .content-wrapper h2 {
	margin-bottom: 1em;
}
	
body.page-template-about .content-wrapper .text-module .content {
	text-align: justify;
}
	
@media (min-width: 768px) {
	body.page-template-about .content-wrapper h2 {
		font-size: 45px;
		line-height: 50px;
	}
	
	body.page-template-about .content-wrapper p {
		margin-bottom: 1em;
	}
}


.banner-wrapper {
    z-index: 0;
    height: 400px;
    overflow: hidden;
}

.content-wrapper {
    border-top: 1px solid transparent;
}

.header {
    background-color: transparent !important;
    padding:50px 20px 20px !important;
    z-index:999;
    position:relative;
	min-height:210px;
	background-image: linear-gradient(180deg, rgba(53,53,53,0.7) 2%, rgba(255,255,255,0) 100%);
	position: absolute;
	width: 100%;
}

@media (max-width: 1024px) {
    .header {
        padding: 20px !important;
    }
}


.boxed-item .title-wrapper {
    margin-bottom:0px;
}

/* Undone because of a change of mind */
/*
.burger-icon span {
  background: #ffffff;
}

.main-nav ul.sf-menu > li a {
  color: #ffffff;
}
*/

/* ESUK-52*/

@media (min-width: 1024px) {
    .grid-under-popup .item {
        margin-top: 21px !important;
    }
}


/* Jobs */

.jobs-wrapper-old {
    overflow: hidden;
    padding-top: 40px; }
.jobs-wrapper-old .top-job-description {
    border-bottom: 1px solid #d9dddf;
    padding-bottom: 20px;
    margin-bottom: 40px;
    padding-top: 40px; }
.jobs-wrapper-old .top-job-description .job-description {
    margin: 20px 0px 20px 0px; }
.jobs-wrapper-old .job-bottom-image {
    float: left;
    width: 100%;
    margin-top: 30px;
    margin-bottom: -10px; }
@media (max-width: 767px) {
    .jobs-wrapper .job-bottom-image {
        max-height: 400px; } }
.jobs-wrapper-old .category-not-exist {
    margin: 40px 0px; }
.jobs-wrapper-old .job-list-categories {
    margin: 20px 0px 30px 0px;
    padding-bottom: 20px;
    border-bottom: 1px solid #d9dddf; }
.jobs-wrapper-old .active-job {
    color: #ffb81c; }

/* Key Shows */
@media (min-width: 1251px) {
	.grid-3 {
	    padding-left:18px;
	}
	.col-3 {
	    padding:0 10px;
	}
}

.grid-under-popup .item {
    margin-top:60px !important;
}

/* Labels */
/* override to stop the logo looking to shifted to the right*/
.labels-module .labels-container .labels-wrapper .label .label-logo {
    width: inherit;
}

/* line length and width*/

.label {
    border-bottom: 1px solid #DFE1DD;
}
.labels-module .labels-container .labels-wrapper {
    padding-right:0;
}
/* link size */
.label a {
    font-size:20px;
}

@media (max-width: 767px) {
    .label a {
        font-size:14px;
    }
    .label-info h2 {
        font-size:17px;
    }
}

/* General wp-text-module styles*/

.mgl_tweet_username {
	display: block;
}
.twitter-module .mgl_twitter .mgl_tweets .mgl_tweet .mgl_tweet_content {
	padding-top: 20px !important;
	font-size: 13px;
	padding-right: 8px;
}

.twitter-module .mgl_twitter .owl-carousel {
	width: 90%;
	display: block;
	margin: auto;
}

.twitter-module .mgl_twitter .owl-theme .owl-nav [class*='owl-'] {
	margin: 0;
	padding: 0;
}


@media (max-width: 767px) {
	.twitter-module .mgl_twitter .owl-carousel {
		width: 80%;
	}
}

/*Internships page*/

.page-template-work-experience .text-module {
    width:100%;
    border-bottom:1px solid #D9DDE0;
    padding-bottom:30px;
}
.page-template-work-experience .text-module p {
    color: #A4AA9F;
}

/*Work Experience Page*/

.page-template-work-experience .short-text-module {
    width:100%;
    border-bottom:1px solid #D9DDE0;
    padding-bottom:30px;
}
.page-template-work-experience .wp-text-module {
    border-bottom:none;
}
.page-template-work-experience .esg-section {
    padding-top:40px;
}

/*Work experience and careers */
.page-template-careers .short-text-module p, .page-template-work-experience .short-text-module p, .page-template-careers h3,
.single-jobs .job-list-categories  .content{
    color: #A4AA9F;
    max-width: 790px;
    width: 100%;
}

/*Careers Page*/
.page-template-careers .short-text-module {
    width:100%;
}

.page-template-careers .short-text-module .title-wrapper h2,
.page-template-careers .short-text-module .title-wrapper h3 {
    font-size: 45px;
    line-height: 50px;
}

.page-template-careers .short-text-module .content p,
.page-template-careers .short-text-module .content h2,
.page-template-careers .short-text-module .content li {
    font-size: 22px;
    line-height: 28px;
    font-weight: normal;
}

.page-template-careers .short-text-module .content h2 {
	margin: 0;
	color: black;
}

.page-template-careers .short-text-module .content ul {
	margin: 15px 0;
}

.page-template-careers .short-text-module .content li {
	margin-bottom: 0;
}

.page-template-careers .text-module .esg-section .short-text-module .content {
    padding-top: 0px;
}

.page-template-careers .text-module hr {
	margin: 35px 0;
}

.page-template-careers h3 {
    color:#A4AA9F;
}

.page-template-jobs article {
	margin-top: 0;
	height: 80px;
	line-height: 100px;
}

.page-template-jobs article .headings {
	margin-bottom: 0;
}

.page-template-jobs hr {
	margin: 40px 0;
}

@media (max-width: 1250px) {
	.page-template-jobs .text-module.esg-section {
		padding-top: 80px;
	}
}

/* Jobs Single */
.jobs-wrapper {
    overflow: hidden;
    padding-top: 40px;
}

.single-jobs main {
	width: 100%;
	padding-right: 0;
}

@media (min-width: 768px) {
    .single-jobs .single-article strong {
        width:100%;
        color: #000000;
    }
    .single-article article h3 {
        color: #A4AA9F;
    }

}


/* Key People */
body.blog .intro-section h2,
body.blog .intro-section h3,
body.page-template-key-people .intro-section h2,
body.page-template-key-people .intro-section h3,
body.page-template-digital-projects .intro-section h3 {
	font-size: 45px;
	line-height: 50px;
}

body.blog .intro-section h2,
body.blog .intro-section h3,

body.page-template-key-people .intro-section h2,
body.page-template-key-people .intro-section h3,

body.page-template-digital-projects .intro-section h2,
body.page-template-digital-projects .intro-section h3,

.key-shows-wrapper .box p,
.key-people-wrapper .box p	{
	color: #555559;
}

.key-people-wrapper .box h4,
.page-template-key-shows .item .title-wrapper h2,
.page-template-digital-projects .item .title-wrapper h2 {
	font-size: 24px;
	line-height: 30px;
	margin-bottom: 0
}

.key-shows-wrapper .box p,
.key-shows-wrapper .box .view-more,

.key-people-wrapper .box p,
.key-people-wrapper .box .view-more,

.page-template-key-shows .item .content p,
.page-template-key-shows .item .content .view-more {
	font-size: 16px;
	line-height: 20px;
	margin-bottom: 10px;
}

.key-people-wrapper .box .view-more,
.key-shows-wrapper .box .view-more {
	position: relative;
}

.grid-4 {
    margin: 0;
}


@media (min-width: 768px) {
	.col-4 {
	    padding:0 10px;
	}
	.grid-4 {
		margin: 0 -5px;
	}
}

/* General */
.royalSlider.rsDefault .rsBullet span {
    background: #68C3A0;
}

/* Top menu */
.main-nav ul.sf-menu > li a {
    padding-top:0;
}
.main-nav {
    padding-right:0;
}

.main-nav ul.sf-menu > li:last-child {
	margin-right: 51px;
}

.main-nav .search-wrapper {
	top: -11px;
}

.burger-icon span {
    background: #ffffff !important;
}

/* Homepage slider link underline */
.text-layer a:hover {
    text-decoration:none;
}

/* Change page width to 1100*/
@media (min-width: 1250px) {

    .container {
        width: 1100px;
    }
    .page-template-homepage .grid-3 {
        padding-left:68px;
    }
}


.page-template-careers .content ul li {
	font-size: inherit;
}

.page-template-work-experience .content ul li:before, .news-wrapper .content ul li:before {
    font-size: 1em;
    padding-right: 5px;
    position: relative;
    top: 0;
    content: "\2014";
    color: #A7ACA2;
    margin-left: -1.1em;
}

.page-template-careers .content ul li:before {
    font-size: 1em;
    padding-right: 5px;
    position: relative;
    top: 0;
    content: ">";
    color: #68c3a0;
}

.banner-slider {
    margin-top: 0px;
}

/* Active job tag class */
.active-job {
  font-weight:800;
}

/* Shunt the tags up on the single job page on desktop and center them on mobile */
@media (min-width: 768px) {
  .tags {
    margin-top:-40px;
    text-align:right !important;
  }
  .tags a,
  .tags span {
	  margin-right: 20px;
  }
}
@media (max-width: 767px) {
  .tags {
    margin:auto;
    text-align:right !important;
  }
  .tags a,
  .tags span {
	  margin-right: 10px;
	  display: inline-block;
  }
}

/* PDF comments from design via Nick */
/* Conflicitng requests from Design vs. what digital production are asking for  */


.page-template-homepage .grid-3 {
  padding:0;
  margin:0;
}

.page-template-homepage .col-3 {
  padding-left:5px;
  padding-right:5px;
}
.page-template-homepage .col-3:first-child {
  padding-left:0;
  padding-right:10px;
}
.page-template-homepage .col-3:last-child {
  padding-right:0;
  padding-left:10px;
}


.page-template-homepage .column3-module .thumbnail a {
  width:100%;
}

@media (max-width: 579px) {
  .page-template-homepage .col-3 {
    width:100%;
  }
}

p, h3 {
 color: #A7ACA2;
}

/* CSS To make a point in meeting with Nick so he can see the effect of the output/design request - sigh! */

.page-template-key-shows .intro-section h2, .page-template-digital-projects .intro-section h2 {
  font-size:45px;
  font-weight:800;
}

.page-template-key-shows .title-wrapper h3, .page-template-digital-projects .title-wrapper h3 {
	font-size: 14px;
	line-height: 17px;
	margin-bottom: 5px;
	color: #555559;
}

.page-template-key-shows .item .title-wrapper {
	margin-bottom: 0;
}

.page-template-key-shows .item .view-more {
	position: relative;
}

.burger-icon span {
	height: 3px;
}

.burger-icon span:nth-child(2), .burger-icon span:nth-child(3) {
	top: 11px;
}

.burger-icon span:nth-child(4) {
	top: 21px;
}

@media (max-width: 767px) {
	h2, .h2,
	.page-template-key-shows .intro-section h2,
	.page-template-digital-projects .intro-section h2,
	body.page-template-key-people .intro-section h2,
	body.page-template-key-people .intro-section h3,
	body.blog .intro-section h2,
	body.blog .intro-section h3 {
		font-size: 24px;
		line-height: 28px;
	}
	p {
		font-size: 18px;
		line-height: 22px;
	}
	a {
		font-size: inherit;
		line-height: inherit;
	}

	h1, .h1, div.h1 > p {
	    font-size: 20px;
	    line-height: 24px;
	}

	.col-3, .col-4 {
		width: 100%;
		padding: 0 !important;
		margin: 0;
		margin-bottom: 35px;
	}

	.banner-wrapper {
		height: 170px;
	}
	
	.banner-wrapper img {
		height: 100%;
		width: auto;
	}
	
	.header {
		padding: 20px 10px !important;
		min-height: inherit;
		height: 170px;
	}
	
	.header .container {
		padding: 0;
	}
	
	.header .container .logo img {
		width: 185px;
	}
	
	.header .container .logo {
		margin-top: 0;
	}
	
	.page-template-homepage .boxed-item .title-wrapper {
		margin-bottom: 10px;
	}

	.grid-under-popup .item {
		margin-top:15px !important;
	}

	.page-template-homepage .boxed-item {
		height:inherit !important;
		padding-bottom:0px;
	}
	
	.page-template-homepage .col-3:last-child {
		margin-bottom:0px;
	}
	
	.page-template-careers .short-text-module .title-wrapper h2, .page-template-careers .short-text-module .title-wrapper h3 {
		font-size: 24px;
		line-height: 28px;
	}
	
	.page-template-careers .text-module hr {
		margin: 25px 0;
	}
	
	.page-template-careers .short-text-module .content h1 {
		margin-bottom: 24px;
	}
	.page-template-careers .short-text-module .content p, .page-template-careers .short-text-module .content h2, .page-template-careers .short-text-module .content li {
		font-size: 18px;
		line-height: 22px;
	}
	
	.page-template-jobs article {
		height: inherit;
		line-height: inherit;
	}
	.page-template-jobs hr {
		margin: 30px 0;
	}
	.page-template-jobs .container .container {
		padding: 0;
	}
    .labels-module .labels-container .labels-wrapper .label .label-logo img {
        max-width: 85px;
        max-height: none;
    }

    /*Job listing overrides */
    hr {
        background: #D9DDE0;
        margin-top:30px;
    }

    .listing article {
        margin-top:30px;
    }
    .jobs-wrapper .job-list-categories {
        margin:0;
    }
    
    .mgl_twitter .owl-carousel .owl-item {
	    padding-left: 1px;
    }

    .footer {
	    border-top: none;
    }

    .footer .col-1-4:first-child {
	    border-top: 1px solid #555559;
	    padding-top: 20px;
    }

    .footer .col-1-4 {
	    border-bottom: 1px solid #555559;
	    padding-top: 20px;
    }
    
    .footer .info-column.footer-menu {
	    display: none;
    }

}

@media (max-width: 1250px) and (max-width: 767px) {
	.footer .footer-logo a, .footer .footer-logo img {
		max-width: none !important;
	}
}

.footer .footer-social li a {
	background: transparent;
	color: #8FD6BD;
	width: auto;
	height: auto;
	font-size: 24px;
	line-height: 1em;
	margin: 0;
}

.footer .footer-social li a:hover {
	background: transparent;
	color: #555559;
}

.footer .footer-social li {
	float: right;
}


.short-text-module {
	width: 100%;
	max-width: 790px;
}

.sharingtools {
	margin-top: 40px;
}

.sharingtools h4 {
	margin-right: 15px;
	display: inline-block;
}

.sharingtools .addthis_inline_share_toolbox {
	display: inline-block;
	vertical-align: middle;
}

.sharingtools .addthis_inline_share_toolbox a.at-icon-wrapper {
	background: #8FD6BD !important;
}

.sharingtools .addthis_inline_share_toolbox a.at-icon-wrapper:hover {
	background: #555559 !important;
}

.archives > ul > li {
	color: #68c3a0;
}

.pagination .prev, .pagination .next {
	height: 14px;
	width: 8.5px;
}

.news-wrapper.listing-wrapper .intro-section {
	margin-bottom: 1em;
}


.owl-carousel .owl-nav .owl-next:before {
    font-family: "FontAwesome"!important;
    content: "\f105"!important;
    font-size: 40px;
    text-align:right;

}

.owl-carousel .owl-nav .owl-prev:before {

    font-family: "FontAwesome"!important;
    content: "\f104"!important;
    font-size: 40px;

}

