/*
Theme Name: Tech City UK
Theme URI: http://techcityuk.com
Author: 3eleven digital ltd
Author URI: http://3eleven.net
Description: Theme for Tech City UK based on _s by Automattic, with Twitter Bootstrap integration
Version: 1.0
*/

/* Import the necessary TK Bootstrap WP CSS additions */
@import url( includes/css/bootstrap-wp.css );



/* My Minimal WordPress Styling comes here */

/* This is a small security for too long strings titles */
body {
	word-wrap: break-word;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}


/* Images and wp-captions should always fit and be responsive */
img {
	display: inline-block;
	height: auto;
	max-width: 100%;
}
img[class*="wp-image-"] {
	margin-top: 10px;
	margin-bottom: 10px;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 10px;
	max-width: 100%;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 0 10px;
}
.wp-caption.aligncenter {
	margin-bottom: 10px;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
}
.wp-caption .wp-caption-text {
	text-align: center;
	margin-top: 10px;
}

/* WP Gallery */
.gallery {
	margin-bottom: 1.5em;
}
.gallery a img {
	border: none!important;
	height: auto;
	max-width: 90%;
}
.gallery dd {
	margin: 0;
}


/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}


/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}
.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}


/* Content */
.main-content-inner {
	padding-bottom: 1.5em;
}
.hentry {
	margin: 0 0 1.5em;
}


/* Clearing */
.clear {
	clear: both;
}


/* Here some needed widget styles
 * Most widgets are adapted in the file bootstrap-wp.js - and REALLY easy to modify! ;) */
.widget { margin-bottom: 2em; }
.widget_nav_menu ul.sub-menu li, .widget_pages ul.children li { padding-left: 15px; }

/* Hiding the search widget's button in widgets. thats just too old-skool. :) but if you want it back, just delete the next line.
 * Note: you can change the whole appearance of the search_form() function in our searchform.php */
.widget_search .search-form input[type="submit"] { display: none; }

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Nested comments? They are threaded and nested already, you just need to add your own styling to finalize!
 * For example with some margin, like the line below ;) Delete, modify, change classes in HTML if you desire another style */
 .comment .children { margin-left: 1.5em; }

/*
 == Quick CSS styling tips ==

 You can start off in a rough direction with some minimal styles.
 See below for some tips. ;)


 == Want to have the whole site wrapped? ==

 Just fill the .container class with some background color to have a the whole site "wrapped".
 This works so easy because every main part is wrapped only once into a container class by bootstrap.
 Try out by decommenting the next line and go from there.

 .container { background: #f9f9f9; border-right: 1px solid #eee; border-left: 1px solid #eee; }


 == Want to wrap just the content and sidebar in Bootstrap style? ==

 That one is a great example to show that some things are much cleaner and easier to do via just adding some HTML classes.
 In this case, we will add just one CSS class "panel", look for example at the beginning in content.php!


 == Infinite Scrolling by Jetpack ==
 You can enable this cool feature by simply decommenting the lines below and make sure you use the same classes on the right place in your html..

/* Globally hidden elements when Infinite Scroll is supported and in use.
 * Older / Newer Posts Navigation (the pagination, must always be hidden), Theme Footer only when set to scrolling.. */

/*
.infinite-scroll .page-links,
.infinite-scroll.neverending .site-footer {
	display: none;
}
*/

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */

/*
.infinity-end.neverending .site-footer {
	display: block;
}
*/

/* Hey, if you don't need my comments anymore, just delete me! :)  */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* simple */
.image-card-wrap {
	-webkit-perspective: 1000;
	-moz-perspective: 1000;
	-ms-perspective: 1000;
	perspective: 1000;

	-ms-transform: perspective(1000px);
	-moz-transform: perspective(1000px);
		-moz-transform-style: preserve-3d; 
		-ms-transform-style: preserve-3d; 
	
	margin-bottom:30px;
}
/*
.image-card-wrap:hover .image-card-flipper, .image-card-wrap.hover .image-card-flipper, #flip-toggle.flip .image-card-flipper {
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
	transform: rotateY(180deg);
	filter: FlipH;
	-ms-filter: "FlipH";
}
*/
/* START: Accommodating for IE */
	.image-card-wrap:hover .image-card-back, .image-card-wrap.hover .image-card-back {
	-webkit-transform: rotateY(0deg);
	-moz-transform: rotateY(0deg);
	-o-transform: rotateY(0deg);
	-ms-transform: rotateY(0deg);
	transform: rotateY(0deg);
}

.image-card-wrap:hover .image-card-front, .image-card-wrap.hover .image-card-front {
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	transform: rotateY(180deg);
}

/* END: Accommodating for IE */

.image-card-wrap, .image-card-front, .image-card-back {
	width: 100%;
	height: 230px;
}
.image-card-flipper {
	-webkit-transition: 0.6s;
	-webkit-transform-style: preserve-3d;
	-ms-transition: 0.6s;

	-moz-transition: 0.6s;
	-moz-transform: perspective(1000px);
	-moz-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;

	transition: 0.6s;
	transform-style: preserve-3d;

	position: relative;
}
.image-card-front, .image-card-back {
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;

	-webkit-transition: 0.6s;
	-webkit-transform-style: preserve-3d;
	-webkit-transform: rotateY(0deg);

	-moz-transition: 0.6s;
	-moz-transform-style: preserve-3d;
	-moz-transform: rotateY(0deg);

	-o-transition: 0.6s;
	-o-transform-style: preserve-3d;
	-o-transform: rotateY(0deg);

	-ms-transition: 0.6s;
	-ms-transform-style: preserve-3d;
	-ms-transform: rotateY(0deg);

	transition: 0.6s;
	transform-style: preserve-3d;
	transform: rotateY(0deg);

	position: absolute;
	top: 0;
	left: 0;
	box-shadow:0 0 5px rgba(0,0,0,.5);
}
.image-card-front {
	-webkit-transform: rotateY(0deg);
	-ms-transform: rotateY(0deg);
	z-index: 2;
	background-color:#fff;
	padding:20px;
}
.image-card-front a{
	font-size:1.1em;
	display:block;
	line-height:200px;
	color:#fff;
	font-weight:bold;
	text-align:center;
	text-transform:uppercase;
}
.image-card-back {
	-webkit-transform: rotateY(-180deg);
	-moz-transform: rotateY(-180deg);
	-o-transform: rotateY(-180deg);
	-ms-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
	background-color:#fff;
	padding:0 20px;
	font-size:.8em;
	text-align:center;
}
.image-card-back li:before{
	content:'';
}
.image-card-back a{
	font-weight:normal;
	color:inherit;
}
.image-card-back p{
	font-weight:600;
}





.splash-image{
	padding-top:300px;
}
.main-content-image{
	width:100%;
	height:500px;
	position:absolute;
	top:0;
	background-position:center bottom;
	background-size:cover;
}
.tech-nation-logo{
	background:transparent url(img/technation_logo_242x152.png) no-repeat 50px 50px;
	min-height:152px;
	padding:60px 50px 50px 340px;
	cursor:pointer;
}
@media screen and (max-width: 700px) {
	.splash-image{
		padding-top:400px;
	}
	.tech-nation-logo{
		text-align:center;
		background:transparent url(img/technation_logo_242x152.png) no-repeat center 50px;
		padding:220px 50px 50px 50px;
	}
}
.cluster-title{
	padding:20px 30px;
	padding-left:8.33333333%;
	padding-right:8.33333333%;
/*	margin:-80px 0 30px 0;*/
	background-color:#1fc2de;
	
}
.cluster-title-link{
	font-size:.9em;
	margin:0;
	color:#fff;
	padding:0;
	font-weight:300;
	float:right;
	line-height:3em;
}
.cluster-title-link:hover{
	color:#fff;
}
.cluster-title-title{
	text-align:left;
	color:#fff;
	font-weight:400;
	margin:0;
	padding:0;
}
@media screen and (max-width: 990px) {
	.cluster-title{
		padding-left:40px;
		padding-right:40px;
	}
}

.tech-nation-logo p{
	color:#fff;
	margin:0;
	line-height:2em;
}
.tech-nation-logo strong{
	display:block;
	font-size:1.5em;
	line-height:1.1em;
	text-transform:uppercase;
	color:#fff;
}
@media screen and (max-width: 600px) {
	.tech-nation-logo strong{
		font-size:1.3em;
	}
}




a.button-small{
	font-size:1em;
	padding:10px !important;
	display:inline-block;
}






.cluster-map-section{
	margin-top:3em;
	margin-bottom:3em;
}
@media screen and (max-width: 500px) {
	.cluster-map-section{
		display:none;
	}
}

.clusters-list{
	list-style:none !important;
	margin:0;
	padding:0;
}
.clusters-list>li{
	list-style:none !important;
	padding:5px 0;
	border-bottom:1px solid #eee;
}
.clusters-list li::before{
	content:'';
}







.logo-top{
	text-align:center;
	height:145px;
}
.logo-top img{
	max-width:150px;
}
.founded{
	display:block;
	font-size:.8em;
	font-weight:bold;
	color:#aaa;
}
.blurb{
	height:300px;
}


.cluster-map-wrap{
	position:relative;
}
.cluster-map{
	background:transparent url(img/map.png) no-repeat center top;
	width:428px;
	height:800px;
}
.cluster-pins{
	top:0;
	left:0;
	position:absolute;
	padding:0;
	margin:0;
}
.cluster-pin{
	position:absolute;
	padding:0;
	margin:0;
}
.cluster-pins li::before{
	content:'';
}
.cluster-pin a{
	display:block;
	width:20px;
	height:30px;
	background:transparent url(img/pin_20x30.png) no-repeat center top;
	border-radius:10px;
	display:block;
	overflow:hidden;
	text-indent:20px;
	position:absolute;
}






.popover{
	box-shadow:0 0 3px rgba(0,0,0,.3);
	padding:0px 10px;
	min-width:200px;
	border:0;
	border-radius:2px;
}
.popover p, .popover ul{
	font-size:.9em !important;
}
.popover ul{
	margin:0 0 1em 0;
	padding:0 0 0 15px;
	list-style:disc;
}
.popover ul li{
	margin:0;
	padding:0;
}
.popover h3{
	margin-top:0;
}
.stat-panel{
	text-align:left;
	width:48%;
	float:left;
	padding-right:2%;
}
.stat-panel p, .stat-panel ul{
	font-size:.8em !important;
}
.stat-panel ul{
	margin:0 0 1em 0;
	padding:0 0 0 15px;
	list-style:disc;
}
.stat-panel ul li{
	margin:0;
	padding:0;
	border:0;
}
.card .button{
	margin-top:5px;
}

.card .button .btn-inline {
	display: inline-block;
    	margin: 10px 20px 0;
}




.tech-nation-download{
	height:250px;
	background:#222 url(img/technation_download_480x305.jpg) no-repeat 50% center;
	background-size:cover;
	box-shadow:0 0 5px rgba(0,0,0,.5);
}
.tech-nation-download a{
	display:block;
	height:200px;
	padding-left:55%;
	padding-right:15px;
	color:#1c2b39;
	font-weight:300;
	font-size:.9em;
	line-height:1.3em;
}
.tech-nation-download a em{
	display:block;
	text-transform:uppercase;
	font-size:1.5em;
	font-style:normal;
	line-height:1.3em;
	margin:5px 0;
}
@media screen and (max-width: 400px) {
	.tech-nation-download a{
		font-size:.8em;
	}
	.tech-nation-download a em{
		font-size:1.2em;
	}
}

.tech-nation-interactive{
	height:250px;
	background:#222 url(img/technation_interactive_480x305.jpg) no-repeat 50% center;
	background-size:cover;
	box-shadow:0 0 5px rgba(0,0,0,.5);
}
.tech-nation-interactive a{
	display:block;
	height:200px;
	padding-left:55%;
	padding-right:15px;
	color:#fff;
	font-weight:300;
	font-size:.9em;
	line-height:1.3em;
}
.tech-nation-interactive a em{
	display:block;
	text-transform:uppercase;
	font-size:1.5em;
	font-style:normal;
	line-height:1.3em;
	margin:5px 0;
}
@media screen and (max-width: 400px) {
	.tech-nation-interactive a{
		font-size:.8em;
	}
	.tech-nation-interactive a em{
		font-size:1.2em;
	}
}


.duedil-inline{
	margin-top:5px;
	width:100px;
	vertical-align:-30%;
}


body.logged-in.admin-bar{
	margin-top:35px;
}






/*
.main-content-image {
	box-shadow:inset 0 -150px 50px -100px whitesmoke;
}

body.technation-page.logged-in{
	background-color:whitesmoke;
	background-image:none;
}
body.technation-page.logged-in h1.card-title{
	background-color:whitesmoke;
}
*/



.hquk-diagram{
	background-color:#d8eeeb;
	float:left;
	padding:20px;
	background:#d8eeeb url(img/hquk_diagram_bg.jpg) no-repeat top center;
	background-size:cover;
	min-height:2800px;
	margin:20px 0;
}
.hquk-diagram li{
	list-style-position:inside;
	width:45%;
	clear:both;
	float:left;
	background-color:#fff;
	padding:20px;
	list-style:none;
}
.hquk-diagram li:nth-child(even){
	float:right;
}
.hquk-diagram strong{
	display:block;
	font-size:1.5em;
}


.video-wrapper{
	position:relative;
	padding-bottom:56.25%;
	padding-top:25px;
	height:0;
	margin:40px 0;
}
.video-wrapper iframe{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}






.sidebar{
	font-size:13px;
}
.sidebar-padder{
	padding:30px;
	background-color:whitesmoke;
	border-top-left-radius:10px;
	border-bottom-left-radius:10px;
	border-top:1px solid #eee;
	border-left:1px solid #eee;
	border-bottom:1px solid #eee;
}
.sidebar .nav li{
	margin:0;
	padding:0;
	border-top:1px solid #eee;
}
.sidebar .nav li::before{
	content:'';
}
.pager li::before{
	content:'';
}
.featured-image img{
	width:100%;
	margin-bottom:20px;
}



.dropdown-wrapper .drop-wrapper .dropdown{
	text-align:left;
	padding:20px 20px 20px 0;
}
.dropdown-wrapper .drop-wrapper .dropdown ul{
	padding:0;
	font-size:16px !important;
}
.dropdown-wrapper .drop-wrapper .dropdown ul li{
	padding-right:0;
}
.dropdown-wrapper .drop-wrapper .dropdown ul li a{
/*	border-bottom:1px solid #3f4c56;*/
	padding:3px 0;
	display:block;
}
.main-dropdown-nav>li>a{
	margin-top:15px;
	color:#fff;
	font-family: Corbel, Arial, sans-serif;
	font-size: 19px;
	font-weight: 300;
	height: 40px;
	line-height: 21px;
	text-transform: uppercase;
}
.main-dropdown-nav>li>ul>li>a{
	color:#fff;
	font-family: Corbel, Arial, sans-serif;
	font-size: 16px;
	font-weight: 300;
	color:fff;
	border-top:1px solid #3f4c56;
}






.pointers{
	display:none;
}

.firstcard{
	padding-top:60px !important;
}








.technation-page-2016
	.tech-nation-logo{
		background:transparent url(img/technation2016_logo2.png) no-repeat 50px 40px;
		background-position:0 50px;
		padding:240px 0 50px 20px;
		margin-left:40px;
	}
.page-id-3573.technation-page-2016
	.tech-nation-logo{
		display:none;
	}
.technation-page-2016
	.main-content-image{
		background-repeat:no-repeat;
/*		box-shadow:inset 100px -100px 100px rgba(19,47,45,1);*/
		-webkit-box-shadow:inset -40px -250px 100px -100px rgba(19,47,45,1);
		-moz-box-shadow:inset -40px -250px 100px -100px rgba(19,47,45,1);
		box-shadow:inset -40px -250px 100px -100px rgba(19,47,45,1);
	}
.technation-page-2016
	.tech-nation-download{
		background:#222 url(/technation_2016/download_bg.jpg) no-repeat 50% center;
		background-size:cover;
	}
.technation-page-2016
	.tech-nation-download a{
		color:#fff;
	}
.technation-page-2016
	.tech-nation-interactive{
		/* background:#222 url(/technation_2016/swipe.jpg) no-repeat 50% center; */
	}
.technation-page-2016
	.cluster-map{
		background:transparent url(img/map2016.png) no-repeat center top;
		width:428px;
		height:800px;
	}

.technation-page-2016 .splash-image{
	padding-top:450px;
}
.technation-page-2016 .cluster-title-title{
	font-size:90px;
	text-transform:uppercase;
	font-weight:100;
	line-height:100px;
	margin:0;
	text-shadow:0 0 20px #000;
}
@media(max-width:900px) {
	.technation-page-2016
		.main-content-image{
/*			height:300px;*/
		}
	.technation-page-2016 .splash-image{
/*		padding-top:350px;*/
	}
	.technation-page-2016 .cluster-title-title{
		font-size:50px;
		line-height:50px;
	}
	.technation-page-2016
		.tech-nation-logo{
/*			margin-left:20%;*/
		}
}
@media(max-width:600px) {
	.technation-page-2016
		.tech-nation-logo{
			margin-left:0;
		}
}


.technation-page-2016 .main-content{
/*	background-color: rgba(28,43,57,1);*/
/*	background: linear-gradient(to bottom, rgba(19,47,45,1) 0%, rgba(19,47,45,1) 80%, rgba(28,43,57,1) 100%);*/
	
	background-color: rgba(28,43,57,1);
	background: -moz-linear-gradient(top, rgba(19,48,45,1) 0%, rgba(18,46,43,1) 80%, rgba(28,43,57,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(19,48,45,1)), color-stop(80%, rgba(18,46,43,1)), color-stop(100%, rgba(28,43,57,1)));
	background: -webkit-linear-gradient(top, rgba(19,48,45,1) 0%, rgba(18,46,43,1) 80%, rgba(28,43,57,1) 100%);
	background: -o-linear-gradient(top, rgba(19,48,45,1) 0%, rgba(18,46,43,1) 80%, rgba(28,43,57,1) 100%);
	background: -ms-linear-gradient(top, rgba(19,48,45,1) 0%, rgba(18,46,43,1) 80%, rgba(28,43,57,1) 100%);
	background: linear-gradient(to bottom, rgba(19,48,45,1) 0%, rgba(18,46,43,1) 80%, rgba(28,43,57,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#13302d', endColorstr='#1c2b39', GradientType=0 );
}
.technation-page-2016 .card.hasimage{
	border-radius:3px;
}

.technation-page-2016 .case-study-founder-image{
	width:150px;
	height:150px;
	display:inline-block;
	border-radius:150px;
	overflow:hidden;
	margin-bottom:20px;
	background-position:50% 50%;
	background-size:cover;
}
.technation-page-2016 .blurb{
	height:auto;
	margin-bottom:30px;
}
.technation-page-2016 .blurb-founder{
	text-align:center;
	border-right:1px solid #eee;
}
.technation-page-2016 .founder-name{
	margin:0;
}
.technation-page-2016 .founder-position{
	font-size:.8em;
	color:#aaa;
	font-weight:bold;
}
.technation-page-2016 .card{
	-webkit-box-shadow: 0 10px 10px rgba(0,0,0,.3);
	-moz-box-shadow: 0 10px 10px rgba(0,0,0,.3);
	box-shadow: 0 10px 10px rgba(0,0,0,.3);
}
.technation-page-2016  .map-title{
	font-size:50px;
	text-align:center;
	margin-top:30px;
	line-height:54px;
}


.page-id-3573.technation-page-2016 .splash-image{
/*	padding-top:550px;*/
}
.page-id-3573.technation-page-2016 .main-content-image{
/*	height:600px;*/
	-webkit-box-shadow:inset -50px -50px -30px -50px rgba(19,47,45,1);
	-moz-box-shadow:inset -50px -50px -30px -50px rgba(19,47,45,1);
	box-shadow:inset -50px -50px -30px -50px rgba(19,47,45,1);
}
@media(max-width:600px) {
	.page-id-3573.technation-page-2016 .splash-image{
		padding-top:300px;
	}
	.page-id-3573.technation-page-2016 .main-content-image{
		height:330px;
	}
}
@media screen and (max-width: 500px) {
	.technation-page-2016 .cluster-map-section{
		display:block;
	}
}
@media screen and (max-width: 992px) {
	.technation-page-2016 .cluster-map-section .cluster-map-wrap{
		display:none;
	}
}


/* HACKY HOMEPAGE */

.home-hero {
  background-position:center top;
  background: none;
  height: 450px!important;
}

.home-hero .hero-caption {
  padding-top: 100px !important;
}

.home-hero .hero-caption h1 {
  text-align: left;
  max-width: 700px;
}

@media screen and (max-width: 992px) {
  .home-hero {
    height: 450px!important;
  }
  .home-hero .hero-caption {
    padding-top: 100px !important;
  }   
}


@media screen and (max-width: 768px) {
  .home-hero .hero-caption {
    padding-top: 110px !important;
  }
.home-hero .hero-caption h1 {
    text-align: center;
  }
}

@media screen and (max-width: 580px) {
  .home-hero {
    height: 250px!important;
  }
  .home-hero .hero-caption {
    padding-top: 60px !important;
  }    
}

/* Remove excessive padding on h1 tags */
h1 {
padding-top: 0;
}