/* General
================================================== */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600,700);
*{ margin: 0; padding: 0; box-sizing: border-box; font-family: 'Open Sans', sans-serif;}
body{ color:#444; }
img.file-icon{ width: auto; }
img{
	width: 100%;
	height: auto;
}
a{ color: inherit; }
a:hover{ text-decoration: none; }

/* ADMIN STYLES */
div .messages img{
	width: auto;
	height: auto;
}

/* Input */
input[type="text"],
input[type="email"]{
	max-width: 100%;
	margin-top: 5px;
	padding: 5px;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}
input[type="submit"]{
	display: inline-block;
  background-color: #aaa;
  color: white;
  border: none;
	font-size: 18px;
  padding: 5px 15px;
  margin: 0;
	cursor: pointer;
}

/* Menu transitions */
.show-menu .menu-transition,
.show-menu #mobile-button:before,
.show-menu #mobile-button:after{
	transition: 0.3s ease all;
}
.show-menu .region-header{
	transition: 0.3s 0.3s ease all;
}
.menu-transition,
#mobile-button:before,
#mobile-button:after{
	transition: 0.3s 0.3s ease all;
}
.region-header{
	transition: 0.3s  ease all;
}

/* Logo */
#logo{
	width: 130px;
	height: auto;
}
#logo-text{ opacity: 1;  }
.show-menu #logo{ width: 90px; }
.show-menu #logo--text{ opacity: 0;}
.show-menu #logo .logo--text,
#page-wrapper.shard-image .logo--text{
	fill:#779BA3 !important; 
}
.show-menu #logo .logo--a,
#page-wrapper.shard-image .logo--a{ 
	fill:#CB7D88 !important; 
}
.show-menu #logo .logo--b,
#page-wrapper.shard-image .logo--b{	
	fill:#779BA3 !important; 
}
.show-menu #logo .logo--c,
#page-wrapper.shard-image .logo--c{ 
	fill:#F6A762 !important; 
}

/* Mobile menu button */
#mobile-button{
	position: absolute;
	top: 20px;
	right: 20px;
	width: 46px;
	height: 33px;
}
#mobile-button:before,
#mobile-button:after{
	display: block;
	content: '';
}
#mobile-button:before,
#mobile-button > div,
#mobile-button:after{
	height: 7px;
	-webkit-box-shadow: inset 0 10px 0;
	box-shadow: inset 0 10px 0;
}
#mobile-button > div{ margin: 6px 0; }
.show-menu #mobile-button{ color: black !important; }
.show-menu #mobile-button > div{ opacity: 0; }
.show-menu #mobile-button:before{
	transform: translateY(13px) rotate(45deg);
}
.show-menu #mobile-button:after{
	transform: translateY(-13px) rotate(-45deg);
}

/* Tabs */
ul.tabs{
	border: none;
	padding: 0;
	margin: 10px 0;
}
ul.tabs > li{ display: inline-block; }
ul.tabs > li > a,
ul.tabs > li > a.active,
ul.tabs > li > a:hover{
	display: inline-block;
	background-color: #aaa;
	color: white;
	border: none;
	padding: 5px 15px;
	margin: 0;
}

/* Heading & Text
================================================== */
#page-wrapper.banner-image #content > h1{ display: none; }

/* Sub titling - Field labels, Sidebar block titles etc. */
.field .field-label,
#sidebar .block > h2,
.field-name-body h3,
.block > h2{
	font-size: 1em;
	font-weight: bold;
	margin: 0 0 0 0;
}
.block-views > h2{ margin-bottom: 10px; }

/* Tape text */
.tape-text,
.tape-text p{
	display: inline;
	padding: 1px 0;
}
h1.tape-text,
.banner-summary.tape-text p{
	font-size: 1.2em;
	line-height: 1.7em;
}

/* Menus & Links
================================================== */
/* Main Menu */
ul.menu > li{
	list-style-image: none;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
ul.menu > li > a{
	display: block;
	padding: 10px 20px;
	background-color: white;
	color: black;
	border-bottom: 1px solid #444;
	text-decoration: none;
	text-transform: uppercase;
}

/* Call to action */
.call-to-action {
	display: inline-block;
	border: 1px solid;
	color: inherit;
	text-decoration: none;
	padding: 10px 15px;
	margin-top: 20px;
}
.button.download{
	display: inline-block;
	border: 1px solid;
	background-color: #eee;
  color: inherit;
  text-decoration: none;
  padding: 10px 15px;
}

/* Social Links */
.social-link{
	display: inline-block;
	width: 37px;
	height: 37px;
	background-size: 35px;
	background-repeat: no-repeat;
	background-color: white;
	background-position: center center;
	margin: 10px 20px 0 0;
	text-decoration: none;
}
.social-link.twitter{
	background-image: url(../images/Twitter.png);
}
.social-link.linkedin{
	background-image: url(../images/LinkedIn.png);
}

/* Regions
================================================== */
#page-wrapper{
	position: relative; 
	width: 100%;
	min-height: 100vh;
	overflow: hidden;
}

/* Header */
.header-inner{ padding: 0 20px; }
.mobile-header{
	position: absolute;
	width: 100%;
	height: 134px;
	padding: 20px;
	background-color: rgba(255,255,255,0);
	top: 0;
	left: 0;
	z-index: 5;
}
.show-menu .mobile-header{
	height: 73px;
	background-color: rgba(255,255,255,1);
	color: black;
}
.region-header{
	position: absolute;
	width: 100%;
	left: 0;
	transform: translateY(-100%);
	z-index: 4; 
}
.show-menu .region-header{ 
	transform: translateY(0);
	margin-top: 73px;
}

/* Page Images */
#banner{
	background-size: cover;
	background-position: center center;
}

#banner:after{
	color:#fff;
	position: absolute;
	display: block;
	content: '';
	height: 0;
	width: 0;
	bottom: -1px;
	left: -1px;
}
	/* Banner Image */
	#page-wrapper.banner-image #banner{
		position: relative;
		height: 150vw;
		padding-top: 50px;
		overflow:hidden;
	}
	#page-wrapper.banner-image #banner:before{
		display: inline-block;
		content: '';
		height: 100%;
		vertical-align: middle;
	}
	#page-wrapper.banner-image .banner-inner{	
		position: relative;
		display: inline-block;
		width: 100%;
		vertical-align: middle;
	}
	.banner-video{ 
		position: absolute; 
		top: 0; 
		left: 0;
		width: 100%;
		height: 100%;
		max-height: 1053px;
	}
	.banner-video video{
		position: absolute;
		z-index: 0;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		min-width: 100%;
		min-height: 100%;
	}
	*::-webkit-media-controls-start-playback-button {
	  display: none!important;
	  -webkit-appearance: none;
	}
	.banner-inner .max-width{ 
		padding: 40px 20px 0 20px; 
		position:relative; 
		z-index: 1
	}
	#page-wrapper.banner-image #banner:after{
		border-right: 100vw solid transparent;
  		border-bottom: 10vw solid;
	}
	#page-wrapper.banner-image #content-wrapper{ 
		position: relative;
		padding-top: 10px; 
	}
	
	/* Shard Image */
	#page-wrapper.shard-image #banner-area{
		position: absolute;
		top: 0;
		right: 0;
		width: 50%;
		height: 0;
		padding-bottom: 50%;
	}
	#page-wrapper.shard-image #banner{
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}
	#page-wrapper.shard-image .banner-inner{ display: none; }
	#page-wrapper.shard-image #banner:after{
		border-right: 50vw solid transparent;
  		border-bottom: 50vw solid;
	}
	#page-wrapper.shard-image #content-wrapper{ 
		position: relative;
		padding-top: 130px; 
	}

#content-wrapper{ padding: 20px; }
#below-content{ 
	position: relative; 
	padding: 20px;
}
#footer{
	position: relative;
	padding: 0 20px;
}

.footer-inner{
	position: relative;
	padding: 20px 20px 40px 20px;
}


/* Blocks
================================================== */
#block-views-promoted-block{ margin-top: 40px; }

/* Associated team member */
.team-member .name{ font-size: 1.2em; }

/* London Elections Webform Block */
#banner form.webform-client-form{
	background-color:#00024f;
}

#banner .form-item{ padding: 0 10px; }

#banner .form-item.form-type-checkbox{padding:0;}

#banner form.webform-client-form input[type="text"],
#banner form.webform-client-form input[type="email"]{
	width: 100%;
	background-color: #40417b;
	color: #fff;
	border: none;
    border-radius: 2px;	
}

#banner .form-actions{ padding:0 10px 10px 10px; }

#banner form.webform-client-form input[type="submit"] {
    background-color: #8081a7;
	color: #fff;
}
#block-views-partners-block > h2,
#block-views-services-block > h2,
#block-views-case-studies-block > h2 ,
#block-views-child-pages-block-1 > h2,
#block-views-team-sector-block > h2,
#block-views-team-sector-block-1 > h2,
#block-views-team-sector-block-2 > h2,
#block-views-team-sector-block-3 > h2,
#block-views-team-sector-block-4 > h2,
#block-views-team-sector-block-5 > h2,
#block-views-team-sector-block-6 > h2 {
  font-size: 1.5em;
  margin: 40px 0 20px 0;
}



/* Nodes
================================================== */
.node-teaser{ margin-bottom: 20px; }
.node-teaser a{ 
	color: inherit; 
	text-decoration: none; 
}
.node-teaser a:not([href]) .call-to-action,
.node-teaser a:not([href]) .summary{
	display: none !important;
}
.node-teaser .node-image{
	background-size: cover;
	background-position: center center;
	height: 0;
	padding-bottom: 100%;
}
.node-teaser .content{
	text-align: center; 
	padding: 20px; 
}
.node-teaser h2{ 
	font-weight: normal; 
	margin-bottom: 10px;
}
.node-teaser .icon{
	background-size: contain;
	background-position: center center;
	background-repeat:no-repeat;
	height: 0;
	padding-bottom: 35%;
}
.node-teaser .summary{ margin-bottom: 10px; }
.node-teaser .call-to-action{ margin-top: 0; }

/* Testimonials */
.node.node-testimonial.node-teaser{
	display: block;
	width: 100%;
	padding: 0;
}
.testimonial--body{
	font-size: 1.1em;
	font-style: italic;
}
.testimonial--author,
.testimonial--client{
	display: inline;
	font-size: 0.8em;
}
#block-views-services-block .call-to-action {
  display: none;
}


	/* Summary Field Formatting
	================================================== */
	.node:not(.node-teaser) .summary{
		font-size: 1.2em;
		margin-bottom:40px;
	}


	/* Body Field Formatting
	================================================== */
	.node:not(.node-teaser) .content h3{
		margin:40px 0;
	}

	.node:not(.node-teaser) .content p{
		margin-bottom:20px;
	}
	
	.node:not(.node-teaser) .content ul{
		margin:20px;
	}	
	
	.node:not(.node-teaser) .content ul li{
		margin:20px;
	}
	
	
/*	SPECIFIC NODES */

	/* TEAM */
	.node-team-member.node-teaser h2{
		margin-bottom:0;
	}
	
	.node-team-member.node-teaser .job-title{
		margin-bottom:20px;
	}
	
	.node:not(.node-teaser) .field-name-field-job-title{
		font-size:1.5em;
		margin-bottom:20px;
	}

	.node:not(.node-teaser) .field-name-field-email{
		margin-bottom:40px;
	}
	
	/* NEWS */
	.node-news-item.node-teaser h2{
		margin-bottom:0;
	}
	
	.node-news-item.node-teaser .publication-date{
		margin-bottom:20px;
	}		

	/* CASE STUDY */
	.node-case-study.node-teaser h2{
		margin-bottom:0;
	}
	
	.node-case-study.node-teaser .client-name{
		margin-bottom:20px;
	}	

	/* Client Logos */
	.node-teaser.node-client-logo{
		position: relative;
		height: 0;
		padding-bottom: 100%;
	}
	.node-teaser.node-client-logo .node-image{
		position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 0;
    padding-bottom: 90%;
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center center;
	}
	.node-teaser.node-client-logo a{
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}

.field-name-body img{
	display: block;
	max-width: 100%;
	height: auto;
}
.field-name-body img[style^="float: left;"]{
	margin: 0 20px 20px 0;
}
.field-name-body img[style^="float: right;"]{
	margin: 0 0 20px 20px;
}

/* Views
================================================== */
	/* CHILD PAGES VIEW */
	.view-child-pages{
		margin-bottom:40px;
	}
	
	
/* PARALAX
================================================== */	
#parashards{
	position:absolute;
	width:100%;
	top:0;
	left:0;
	height:100vh;
}
img.parashards{
	width:auto;
	height:auto;
	position:fixed;
	top:0;
	left:0;
	opacity: 0.8;
}

.st0{fill:#E4E4E4;stroke:#B0B0B0;stroke-width:2;stroke-miterlimit:1;}
.st1{display:none;}
.st2{display:inline;}
.st3{fill:#F1F1F1;stroke:#B1B3B4;stroke-width:4;stroke-miterlimit:1;}
.st4{display:inline;fill:none;stroke:#979797;stroke-width:4;stroke-miterlimit:1;}
.st5{fill:#FFFFFF;stroke:#979797;stroke-miterlimit:1;}
.st6{fill:none;stroke:#FFFFFF;}
.st7{font-family:'Helvetica';}
.st8{font-size:29px;}
.st9{letter-spacing:2;}
.st10{fill:#FFFFFF;}
.st11{fill:#1A171B;}
.st12{font-size:25px;}

/* BOROUGH NEWS */
.page-node-360,
body.node-type-london-2018-news-item{ 
  background-color: #a34d46; 
  /*background-image: url(../images/map_background.jpg);*/
  color: #fff; 
}
body.node-type-london-2018-news-item .node-unpublished{
  background-color: rgba(0,0,0,0.3);
}
.page-node-360 h1, .page-node-359 h1{ background-color: #00024f; color: #FFF; display: inline-block; padding: 0.2em; margin: 0; }
.page-node-360 #content, .page-node-359 #banner{ text-align: center; padding: 0!important; }

.page-node-359 .banner-summary.tape-text{
    color: #ffffff;
    background-color: #a34d46;
    box-shadow: 10px 0 0 #a34d46, -10px 0 0 #a34d46;
    line-height: 30px;
	margin-bottom: 20px;
}
.page-node-359 #page-wrapper.banner-image .backing-colour{
	width: 100%;
}
#block-views-sector-content-block-1,
#block-views-sector-content-block-2,
#block-views-sector-content-block-3 {
  margin-bottom: 50px;
}
#block-views-sector-content-block-1 > h2,
#block-views-sector-content-block-2 > h2,
#block-views-sector-content-block-3 > h2,
#block-views-sector-content-block-4 > h2{
  font-size: 1.5em;
}

/* BOROUGH MAP */
#map .borough{ fill: #57585a; }
#map text{ 
  fill: #FFFFFF; 
  font-size:29px; 
  pointer-events: none;
}

/* Contact form */
#block-webform-client-block-667 {
  padding: 20px;
  width: 100%;
  background-color: #9fb8d9;
  max-width: 500px;
}
#block-webform-client-block-667 > h2 {
  font-size: 1.5em;
}
#block-webform-client-block-667 textarea,
#block-webform-client-block-667 input[type="text"],
#block-webform-client-block-667 input[type="email"]{
  padding: 5px;
  width: 100%;
  margin-top: 5px;
  background-color: #fff;
  border-radius: 0;
  border: 1px solid #ccc;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}
#block-webform-client-block-667 input[type="submit"] {
  background-color: #444;
}