/* General
================================================== */
*{
	margin: 0;
	padding: 0;
}
body{ font-family: 'Montserrat', sans-serif; }

/* MOBILE COLUMN GRID */
.s-col-1{ width: 8.33%; }
.s-col-2{ width: 16.66%; }
.s-col-3{ width: 25%; }
.s-col-4{ width: 33.33%; }
.s-col-5{ width: 41.66%; }
.s-col-6{ width: 50%; }
.s-col-7{ width: 58.33%; }
.s-col-8{ width: 66.66%; }
.s-col-9{ width: 75%; }
.s-col-10{ width: 83.33%; }
.s-col-11{ width: 91.66%; }
.s-col-12{ width: 100%; }

.square{
	height: 0;
	padding-bottom: 100%;
}
.column{ box-sizing: border-box; }

/* CONTAINERS */
.container{
	box-sizing: border-box;
	padding: 0 20px;
}
.cover{
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}
.field-name-field-downloadable-resources .file-icon{ display: none; }

/* PAGER */
.pager-current{ 
	font-weight: normal; 
	margin: 0 20px;
}
ul.pager{ margin: 15px 0; }
ul.pager li{ 
	padding: 0;
	margin: 0; 
}
ul.pager li a{
	color: white;
	background-color: #6C7A89;
}

/* GENERIC BUTTONS */
.button,
ul.tabs.primary li a,
ul.pager li a{
	display: inline-block;
	text-decoration: none;
	text-transform: capitalize;
	border-radius: 4px;
	margin: 5px 0;
	font-size: 0.81em;
	padding: 5px 7px;
}
.button.tab{
	border-radius: 0px;
	padding: 5px;
	text-transform: uppercase;
	font-size: 0.8em;
}

/* TABS */
.tabs{ margin-bottom: 20px; }
ul.tabs.primary{
	border-bottom: none;
    border-collapse: collapse;
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.tabs.primary li{	display: inline-block; }
ul.tabs.primary li a{
	color: white;
	border: none;
	margin-right: 10px;
	background-color: #6C7A89;
}

/* BREADCRUMBS */
body.node-type-themes #breadcrumb{ display: none; }
#breadcrumb i{
    margin: 1px 7px;
    font-size: 10px;
    vertical-align: top;
}
#breadcrumb{
	text-transform: uppercase;
	font-size: 0.8em;
	padding-bottom: 10px;
}

/* EXPOSED FORM FILTERS */
.ajax-progress-throbber { display: none; }
.views-exposed-form .views-exposed-widget{ padding: 0; }
.bef-checkboxes .form-item{ display: inline-block; }
.bef-checkboxes .form-item input{ display: none; }
.bef-checkboxes .form-item label{
	position: relative;
	display: inline-block;
    text-transform: capitalize;
    border-radius: 4px;
	box-sizing: border-box;
    margin: 5px 0;
    padding: 6px 30px 6px 8px;
	background-color: #999;
	color: #fff;
}
.bef-checkboxes .form-item label:after{
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 22px;
    display: block;
    color: #fff;
    content: '\f055';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 21px;
    height: 22px;
    transition: 0.4s ease all;
	text-align: center;
}
.bef-checkboxes .form-item > input:checked + label:after{
	transform: rotate(135deg);
	top: 5px;
	right: 5px;
}

/* EMBEDDED VIDEO */
.field-name-field-video .player{
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.3%;
	margin-bottom: 20px;
}
.field-name-field-video .player iframe{
	position: absolute;
	width: 100%;
	height: 100%;
}

/* HEADER PADDING */
.header-padding{
	padding-bottom: 90px;
	display: none;
}

/* INPUT & FORM/ITEMS */
input:focus,
textarea:focus{ 
	outline: none; 
}
.webform-component input,
.form-item input,
.form-actions input,
.webform-component textarea{
	width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	border: 1px solid #999;
	box-shadow: none;
	font-family: 'Montserrat', sans-serif;
	background-color: white;
	font-size: 1em;
	border-radius: 1px;
}
input[type="submit"]{
	cursor: pointer;
	background: #999;
	border: 1px solid #999;
	color: white;
	text-transform: uppercase;
}
.webform-component-textarea .grippie{ display: none; }

/* Heading & Text
================================================== */
h1, h2, h3,
h4, h5, h6{
	font-weight: normal;
}

/* BLOCK HEADER */
.block h2,
.field-name-field-related-projects .field-label,
.field-name-field-collaborators .field-label,
.field-name-field-theme .field-label,
.field-name-field-tags .field-label{
	font-size: 0.9em;
	color: #999;
	text-transform: uppercase;
	padding: 25px 0 10px 0;
}

/* PAGE TITLE */
.front #page-title{ padding-bottom: 0; }
#page-title{
	padding-bottom: 20px;
}

/* PARAGRAPHS */
.field-name-body p{
	display: inline-block;
	padding-bottom: 15px;
	font-family: 'Roboto', sans-serif;
}

/* BODY IMAGES */
.field-name-body img{
	width: 100%;
    height: auto;
}

.submitted{ padding-bottom: 20px; }

/* Menus & Links
================================================== */
a{ 
	color: inherit;
	text-decoration: none;
}

/* TEXT LINK */
.field-name-body a,
.filed-summary a,
.block p a{
	color: #777;
}
.field-name-body a:hover,
.filed-summary a:hover,
.block p a:hover{
	box-shadow: inset 0px -1px 0px #777;
}

/* GENERIC MENU */
ul.menu li{
	list-style-image: none;
	list-style-type: none;
	padding: 0;
	margin: 0;
}

/* PRIMARY MENU */
#block-menu-block-1{
	position: absolute;
	top: -300px;
	left: 0;
	box-sizing: border-box;
	width: 100%;
	padding: 70px 0 0 0;
	background-color: #eee;
	z-index: 1;
	transition: 0.3s ease all;
}
.show-menu #block-menu-block-1{ top: 0; }
#block-menu-block-1 li a{
	text-transform: uppercase;
	display: block;
	padding: 15px;
	border-bottom: 1px solid #ccc;
}

/* MENU BUTTON */
#block-block-6{
    position: absolute;
    top: 0;
    right: 0;
    padding: 15px;
    z-index: 3;
}
#menu-button{
    position: relative;
    line-height: 40px;
    text-transform: uppercase;
    padding-right: 35px;
}
#menu-button div,
#menu-button:after,
#menu-button:before{
    content: '';
    display: block;
    position: absolute;
    background-color: #000;
    width: 28px;
    height: 4px;
    right: 0;
    border-radius: 2px;
	transition: 0.3s ease all;
}
.show-menu #menu-button div{ display: none; }
.show-menu #menu-button:after{ transform: translateY(-8px) rotate(45deg); }
.show-menu #menu-button:before{ transform: translateY(8px) rotate(-45deg); }
#menu-button div{ top: 17px; }
#menu-button:after{ bottom: 11px; }
#menu-button:before{ top: 9px; }

/* Regions
================================================== */
/* PAGE WRAPPER */
#page-wrapper{ position: relative; }

/* HEADER */
#header-wrapper{ height: 70px; }
#header{ position: relative; }
#header > .block{ margin: 0; }

/* FOOTER */
#footer-wrapper{
    background-color: #eee;
    padding: 20px 0;
}
#footer-wrapper.sticky-footer{
	position: absolute;
	bottom: 0;
	width: 100%;
}

/* Blocks
================================================== */
.block{ margin-bottom: 15px; }

/* LOGO */
#block-block-5{
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	box-sizing: border-box;
	padding: 15px;
	background-color: white;
	z-index: 2;
}
#logo{
	width: 80px;
	height: 40px;
	background-image: url('../logo.png');
	background-size: cover;
	background-repeat: no-repeat;
}

/* SEARCH BUTTON */
#block-block-7{ display: none; }

/* PROJECT TITLE */
.project-title{
	height: 0;
	padding-bottom: 80%;
	position: relative;
}
.project-title-inner{
	position: absolute;
	width: 100%;
	top: 50%;
	transform: translateY(-50%);
	text-align: center;
	box-sizing: border-box;
    padding: 0 20px;
}
.project-title h1{
	display: inline-block;
	padding: 8px;
}
.project-summary {
    display: inline-block;
    padding: 8px;
    margin: 15px 0;
	max-width: 1200px;
}

/* BACK TO TOP */
#block-block-3{
	text-transform: uppercase;
	color: #999;
	font-size: 0.8em;
	display: inline-block;
}
#block-block-3 .fa{
	background-color: #999;
	color: white;
	padding: 11px 9px;
	margin-right: 5px;
}

/* ADD THIS */
#block-block-9{ float: right; }

/* FUNDERS SUPPORTERS COLLABORATORS */
#block-views-react-supporters-block,
#block-views-react-supporters-block-1,
#block-views-react-supporters-block-2{
	float: left;
	margin: 0 40px 20px 0;
}
.view-react-supporters a{
	display: inline-block;
}
.view-react-supporters a img{
	vertical-align: middle;
	box-sizing: border-box;
	padding: 5px;
}

/* DEV CREDIT */
#block-block-1{ clear: both; }

/* SEARCH FORM */
body.show-search #block-search-form{ display: block; }
#block-search-form{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	background-color: rgba(0,00,00,0.7);
}
#search-block-form{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

/* SEARCH RESULTS */
ol.search-results li{ margin-bottom: 30px; }

/* Nodes
================================================== */
/* TEASERS */
.node-teaser{
	border: 2px solid white;
	position: relative; 
}
.teaser-image,
.teaser-colour,
.teaser-link{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: -1;
}
.teaser-link{ z-index: 1; }
.teaser-content{
	box-sizing: border-box;
	padding: 20px;
	overflow-x: hidden; 
}
.node-teaser .button.tab{ 
	margin: 0 100% 0 0;
	white-space: nowrap;
}
.node-teaser h1{
	display: inline-block;
	font-size: 1.3em;
	padding: 8px;
}
.node-teaser .fa{
	position: absolute;
	text-align: center;
	bottom: 20px;
	right: 20px;
	border-radius: 50%;
}
.node-teaser .fa.fa-play{ padding: 10px 10px 10px 13px; }
.node-teaser .fa.fa-arrow-right{ padding: 10px 8px 10px 10px; }
.node-teaser .fa.fa-search{ padding: 10px 9px 10px 8px; }
.node-teaser .fa.fa-file{ padding: 8px 9px 10px 11px; }
	
	/* BLOG AUTHOR */
	.teaser-author{
		position: absolute;
		bottom: 25px;
		left: 15px;
	}
	
	/* GALLERY TEASER */
	.node-gallery.node-teaser .teaser-content{ display: none; }
	
	/* VIDEO TEASER */
	.node-video.node-teaser h1{
		padding: 8px;
		background-color: rgba(0,0,0,0.75);
		color: white;
	}
	.node-video.node-teaser .teaser-image{
		background-size: 180%;
	}
	
	/* THEME TEASER */
	.node-themes.node-teaser{ color: white; }
	.node-themes.node-teaser .teaser-content{    
		position: absolute;
		text-align: center;
		width: 100%;
    	top: 50%;
    	transform: translateY(-50%);
	}
	
	.node-themes.node-teaser:not(.has-img) .teaser-image{ display: none; }
	
	/* PROJECT TEASER */
	.node-project.node-teaser h1,
	.node-teaser.has-img h1,
	.node-teaser.node-page h1{
		padding: 8px;
		background-color: rgba(0,0,0,0.75);
		color: white;
	}
	
	/* COLLABORATOR TEASER */
	.node-teaser.node-collaborator{
		text-align: center;
		padding: 0 5px;
		margin-bottom: 20px;
	}
	.collaborator-image{
		width: 60%;
		height: 0;
		margin: 0 auto;
		padding-bottom: 60%;
		border-radius: 50%;
		background-color: #6C7A89;
	}
	.node-teaser.node-collaborator h1{
		margin-top: 10px;
	}
	.node-teaser.node-collaborator h3{
		font-size: 0.8em;
	}
	#block-views-partners-and-people-block .node-teaser.node-collaborator h1{
		margin-top: 10px;
		font-size: 1em;
		min-height: 3em;
	}
	
	/* COLOUR TEASERS */
	.node-teaser:not(.white-teaser) h1,
	.node-teaser:not(.white-teaser) .teaser-author{
		color: white;	
	}
	
	/* WHITE TEASERS */
	.node-teaser.white-teaser .teaser-colour{
		display: none;
	}
	
/* NODE IMAGES */
.node-image{
	height: 0;
	margin-bottom: 20px;
	padding-bottom: 40%;
}
.field-name-field-images{ margin-bottom: 15px; }

/* NODE SUMMARY */
.field-name-summary,
.field-name-tagline{
	padding-bottom: 20px;
	font-size: 1.25em;
	line-height: 1.3em;
}

/* NODE GALLERY */
.field-name-field-images .field-items > a{ border: 2px solid white; }


/* PROJECT PARTNER */
.project-partner{ margin-bottom: 5px; }
.project-partner b{ margin-right: 5px; }

/* COLLABORATOR PAGE */
.user-image{
	float: left;
	margin-right: 15px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
}
.user-org{ padding-bottom: 20px; }
.user-email,
.user-twitter,
.user-web{
	display: inline-block;
	margin-right: 20px;
	margin-bottom: 20px;
}
.user-email i,
.user-twitter i,
.user-web i{
	margin-right: 5px;
}

/* TAGS FIELD */
.field-name-field-tags .field-item,
.field-name-field-tags .field-item a{
	display: inline-block;
}
.field-name-field-tags .field-item a,
.field-name-field-theme .button{
	display: inline-block;
	padding: 4px 7px;
	margin: 0 5px 5px 0;
	font-size: 1em;
	background-color: #999;
	border-radius: 4px;
	color: #fff;
}

/* LINK FIELD */
.field-name-field-link .field-item{
	display: block;
}
.field-name-field-link .field-item a{
	display: inline-block;
}
.field-name-field-link .field-item a:before{
	display: inline-block;
	margin-right: 5px;
	font: normal normal normal 14px/1 FontAwesome;
	content: "\f0c1";
}
.field-name-field-link .field-item a{
	background-color: #999;
	color: #fff;
	padding: 4px 7px;
	margin: 0 5px 5px 0;
	border-radius: 4px;
}

/* DOWNLOADABLE FILE FIELD */
.field-name-field-downloadable-resources a{
	padding: 4px 7px;
	margin: 0 5px 5px 0;
	font-size: 1em;
	background-color: #999;
	border-radius: 4px;
	color: #fff;
	display: inline-block;
}
.field-name-field-downloadable-resources a:before{
	display: inline-block;
	margin-right: 5px;
	font: normal normal normal 14px/1 FontAwesome;
	content: "\f15b";
}

/* Views
================================================== */
.view-content:after{
	display: block;
	content: '';
	clear: both;
}

/* PEOPLE */
#block-views-partners-and-people-block .view-filters{
	margin: -15px 0 20px 0;
}
#edit-submit-partners-and-people{ margin: 0 0 0 5px; }

/* STAFF */
.view-id-staff_extended_team.view-display-id-block_1 .staff,
.view-id-staff_extended_team.view-display-id-block_1 .view-content{ 
	text-align: left; 
}
.view-staff-extended-team .view-content{ 
	font-size: 0;
	text-align: center;
}
.view-staff-extended-team .view-content:after{
	display: block;
	content: '';
	clear: both;
}
.staff{
	position: relative;
	text-align: center;
	margin-bottom: 40px;
	font-size: 16px;
	vertical-align: top;
}
.staff .views-field-field-images img{
	width: 150px;
	height: auto;
	border-radius: 50%;
}
.staff .views-field-title{
	font-weight: 500;
	font-size: 1.2em;
}
.staff .views-field-field-organisation{
	margin-bottom: 10px;
	font-weight: 600;
    font-family: 'Roboto', sans-serif;
}
.staff .views-field-body{
	font-family: 'Roboto', sans-serif;	
}