/*
Theme Name: Behavioural Insights Team - Public Site
Theme URI: http://www.behaviouralinsights.co.uk/
Author: Dynamic Array
Author URI: http://dynamicarray.co.uk/
Description: 2015 theme for the Behavioural Insights Team website
Version: 1.0
Text Domain: behavioural-insights
*/

body {
	font-family: 'Apercu Pro Regular', 'Trebuchet MS', Arial, sans-serif;
	background-color: #000;
	font-size: 15px;
}

body {
	padding-top: 70px; /* Required padding for .navbar-fixed-top. Change if height of navigation changes. */
}

body.admin-bar nav {
	margin-top: 32px;
}

@media screen and (max-width: 768px) {
	body.admin-bar nav {
		margin-top: 46px;
	}

	.navbar-header {
		margin-top: 2%;
	}

	#main-content {
		margin-top: 40px;
	}
}

ul.nav.navbar-nav {
	float: right;
	margin-top: 35px;
}

@media screen and (max-width: 768px) {
	#bit-navbar-collapse {
		background-color: #F1F1F2;
		border-bottom: 1px solid;
		border-top-style: none;
	}

	ul.nav.navbar-nav {
		float: none;
	}

	.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus, .navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover {
		color: #333;
	}	

	.navbar-fixed-top .navbar-collapse {
		max-height: 560px;
	}	
}

nav.navbar.navbar-inverse.navbar-fixed-top {
	height: 			110px;
	background-color:	#F1F1F2;
	border-style: 		none;
}

@media screen and (min-width: 769px) and (max-width: 991px) {
	nav.navbar.navbar-inverse.navbar-fixed-top {
		height: 150px;
	}

	ul.nav.navbar-nav {
		float: none;
	}

	#main-content {
		margin-top: 45px;
	}
}

.navbar-inverse .navbar-toggle .icon-bar {
	background-color: #000;
}


.navbar-inverse .navbar-nav > li > a {
	color: #000;
	text-transform: uppercase;
	font-size: 1.1em;
}

.navbar-inverse .navbar-nav>li>a:focus, .navbar-inverse .navbar-nav > li > a:hover {
	color: #000;
	background-color: inherit;
	text-decoration: underline;
}

.navbar-fixed-top .nav {
	padding: 15px 0;
}

.navbar-fixed-top .navbar-brand {
	padding: 0 15px;
}

footer {
	padding: 30px 0;
}

@media(min-width:768px) {
	body {
		padding-top: 100px; /* Required padding for .navbar-fixed-top. Change if height of navigation changes. */
	}
	body.admin-bar {
		padding-top: 102px; /* Required padding for .navbar-fixed-top. Change if height of navigation changes. */
	}
	.navbar-fixed-top .navbar-brand {
		padding: 15px 0;
	}
	.navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
  		margin-left: 0;
	}
}

#main-content {
	background-color: #fff;
	padding-bottom: 15px;
}

#cabinet-office-box {
	margin-bottom: 2%;
}

#cabinet-office-box p {
	margin: 0;
	padding-top: 1em;
	display: table-cell;
	vertical-align: bottom;
	color: #6D6E70;
	text-transform: uppercase;
	font-size: 1.25em;
	line-height: 1.25em;	
}

#cabinet-office-box p img {
	padding-left: 10px;
	height: 28px;
	opacity: 0.6;
}

footer {
	color: #fff;
}

a:link, a:visited {
	color: #00AEEF;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;	
}

.blue {
	color: #00AEEF;
}

.teamTitle {
	position: absolute;
	bottom: 0px;
	width: 100%;
	padding-bottom: 0.3em;
	padding-top: 0.3em;
	margin-bottom: 0.4em;
	background-color: rgba(0, 174, 239, 0.7);
	color: #FFF;
	padding-left: 1em;
	padding-right: 1em;
}

.toggled {
	background: #F2F2F2 url('assets/img/minus.png') 97% 45% no-repeat !important;
	background-size: 30px !important;
	padding: 14px 10px;
}
.toggler {
	cursor: pointer;
	box-sizing: border-box;
	display: block;
	width: 100% !important;
	padding: 14px 10px;
	background: #F2F2F2 url('assets/img/plus.png') 97% 45% no-repeat;
	background-size: 30px !important;
	margin-bottom: 25px;
}
.togg {
	display: none;
}

.blog-meta {
	color: #6D6E70;
	font-weight: normal;
	font-size: 1em;
}	

img.press_logo.wp-post-image {
	height: 30px;
	width: auto;
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-ms-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	filter: gray;
}

.press-title {
	font-size: 1.2em;
}

.carousel-image {
    display: block;
    width: 100%;
    height: auto;
}

.carousel-contents {
	position: absolute;
	bottom: 0;
	width: 100%;
	padding: 2%;
	margin: 0;
	background-color: rgba(0, 174, 239, 0.7);
	min-height: 120px;
	color: #fff;
}

.carousel-contents a {
	text-decoration-line: none;
}

.owl-controls {
	display: block;
	margin: 2% 0;
	height: 30px;
	margin-top: 10px;
  	text-align: center;
}

.owl-theme .owl-controls .owl-page {
	display: inline-block;
	zoom: 1;
}

.owl-controls .owl-page span {
	width: 20px;
  	height: 20px;
	border-radius: 0px;
	-webkit-border-radius: 0px;
	background-repeat: no-repeat;
	background: url('/wp-content/themes/bit-2015/assets/img/grey-diamond.png') no-repeat;
	margin: 0px 5px;
	display: inline-block;
}

.owl-controls .owl-page.active span {
	background: url('/wp-content/themes/bit-2015/assets/img/blue-diamond.png') no-repeat;
}

img.img-responsive {
	width: 100%;
}

.isotope-item {
	padding: 0;
	background-color: rgba(0, 174, 239, 1);
	margin-right: 1%;
	margin-bottom: 1%;
}

.isotope-item img {
	transition: 	opacity 0.5s;
}

.isotope-item a:hover img {
	opacity: 0.5;
}

.isotope-item .people-title {
	position: relative;
	bottom: 0;
	width: 100%;
	padding: 2%;
	margin: 0;
	background-color: rgba(0, 174, 239, 0.7);
	color: #fff;
}

.page-id-581 .north-america img.isotope-image {
	width: 100%;
	height: auto;
}

h2.blue {
	margin-top: 0;
}

.page-numbers.current {
	color: #fff;
	background-color: rgba(0, 174, 239, 1);
}

.pagination>li>a, .pagination>li>span {
	color: rgba(0, 174, 239, 1);
}

body.post-type-archive-bit_people {
  overflow-y: scroll;
}

.widget_authors ul li {
  list-style-type: none;
}

.widget_authors ul li img {
  margin-right: 5px;
}

ul.filter, .widget_authors ul {
	padding: 0;
}

ul.filter li {
  list-style-type: none;
  margin: 3px;
  margin-left: 0;
}

ul.filter a.active {
	background-color: #00AEFF;
	color: #FFF;
	border-radius: 3px;
}

ul.filter a {
	padding: 5px;
}

.partner-logo {
	float: left;
	width: 150px;
	height: 130px;
	background-size: contain; 
	background-repeat: no-repeat;
	background-position: center;
	margin-right: 50px;
}

@media (min-width: 768px) {
	.navbar-right .dropdown-menu {
		left: 0;
	}
	
	.dropdown:hover .dropdown-menu {
		display: block;
	}
}

.dropdown-menu {
	box-shadow: none;
	background-color: #F1F1F2;
	color: #000;
	top: 75%;
	border-style: none;
}

.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
	color: #eee;
	background-color: #00AEFF;
}

.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:focus, .navbar-inverse .navbar-nav>.active>a:hover {
	color: #000;
	background-color: transparent;
	text-decoration: underline;
}

.navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:focus, .navbar-inverse .navbar-nav>.open>a:hover {
	color: inherit;
	background-color: inherit;
}

.navbar-nav .caret { display: none; }



.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {
	color: #FFF;
	text-decoration: none;
	background-color: #00AEFF;
}

.h1, h1 {
  font-size: 2.0em;
}

.h2, h2 {
	font-size: 1.75em;
}

.sidebar .h2, .sidebar h2 {
	font-size: 1.25em;
}

.sidebar .screen-reader-text {
	display: none;
}

a .block, a:hover .block {
	color: #000;
}

a.no-decoration, a.no-decoration:hover {
	text-decoration: none;
}

.block img {
	width: 		100% !important;
	height: 	auto;
	transition: opacity 0.5s;
}

.block.blue {
	background-color: #00AEFF;
}

a:hover .block img {
	opacity: 0.5;
}

.img-featured {
	margin-bottom: 2%;
}


.widget_mailchimpsf_widget .mc_input {
	width: 80%;
	border: 1px solid #e1e1ef;
}

.widget_mailchimpsf_widget .mc_merge_var {
	margin: 0;
}

.widget_mailchimpsf_widget #mc_signup_submit {
	margin-top: 2%;
}

.widget_mailchimpsf_widget .mc_signup_submit {
	text-align: left;
}

#s {
	border: 1px solid #e1e1ef;
}

.bit-widget::after {
	content: '';
	border-bottom: 1px solid #EEE;
	margin: 10px;
	display: block;
}

.publication-shot {
	border: 1px solid #000;
	vertical-align:	text-top;
}


footer ul.nav.navbar-nav {
	float: none;
	margin: 0;
}

footer .navbar-nav>li>a {
	padding-top: 0;
}
footer .nav>li>a:focus, footer .nav>li>a:hover {
  text-decoration: underline;
  background-color: transparent;
  color: #fff;
}
.widget_authors li {
	margin-bottom: 2%;
}

@media (min-width: 768px) {
	.dropdown:hover .dropdown-menu {
    		min-width: 180px;
    }
}