/*
 * official branding
 * med blue #2B64A6
 * light blue #6699CC
 * grey-blue tint #E7EBF1
 * dark grey #333333
 *
 * old blog
 * med-light blue #48a3d3
 * med-dark blue #287bc0
 *
 * bootstrap light grey #f8f8f8
 *
 */

/* Load fonts from Google */
@import url('https://fonts.googleapis.com/css?family=Noto+Sans:400,700|Open+Sans:400,700&display=swap');


html {
	height: 100%;
	position: relative;
}

body,
body.navbar-is-fixed-top {
	min-height: 100%;
	font-family: 'Open Sans', sans-serif;
	/* font-size: 16px; */
	margin-top: 0;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
#navbar {
	font-family: 'Noto Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	color: #444;
}

p {
	margin-bottom: 0.8rem;
}

a,
a:hover,
a:focus {
	color: #3d6db3;
}


#navbar #site_logo {
	background-image: url(../img/logo.png);
	background-repeat: no-repeat;
	background-size: 115px;
	width: 115px;
	height: 180px;
	transition: 0.2s;
	margin: 20px 0 20px 5px;
	padding: 0;
}

#navbar.minified #site_logo {
	height: 42px;
	background-size: 36px;
	width: 36px;
	margin: 8px 0 0 0;
}

#block-kitson-main-menu {
	float: right;
}
#block-kitson-main-menu a {
	font-size: 18px;
}

@media ( max-width: 767px ) {

	.container > .navbar-header,
	.container-fluid > .navbar-header {
		margin-left: 0;
	}

	#navbar.minified #site_logo {
		margin-top: 7px;
		background-size: 31px;
		width: 31px;
		height: 37px;
	}

	#block-kitson-main-menu {
		float: none;
	}
}


.navbar-nav > li > a {
	padding: 1em 1.5em;
}

#block-kitson-main-menu a.is-active,
#block-kitson-main-menu a.active-trail,
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
	color: #ffffff;
	border-color: #6699CC;

	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#6699cc+0,4978ba+100 */
	background: #6699cc; /* Old browsers */
	background: -moz-linear-gradient(top,  #6699cc 0%, #4978ba 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #6699cc 0%,#4978ba 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #6699cc 0%,#4978ba 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6699cc', endColorstr='#4978ba',GradientType=0 ); /* IE6-9 */
}

/*
#block-kitson-main-menu li:first-of-type {
	font-weight: bold;
}
*/


.main-container {
	position: relative;
	padding-top: 240px;
	padding-bottom: 240px;
}

.main-container > .row
{
	padding-bottom: 60px;
}

.main-container > .row > section {
	margin-bottom: 4rem;
}

.main-container .header .row {
	margin-left: 0;
}

#navbar {
	background-color: #f8f8f8;
	border-color: #cccccc;

	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f8f8f8+0,e7ebf1+100 */
	background: -moz-linear-gradient(top,  #e7ebf1 0%, #f8f8f8 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #e7ebf1 0%,#f8f8f8 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #e7ebf1 0%,#f8f8f8 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e7ebf1', endColorstr='#f8f8f8',GradientType=0 ); /* IE6-9 */
}

#navbar .navbar-nav {
	margin-top: 0;
}



.btn {
	font-weight: bold;
	padding: 0.5em 1em;
	border-radius: 8px;
}
.btn-default {
	color: #444;
}
.btn-primary {
	border-color: #6699cc;

	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#6699cc+0,4978ba+100 */
	background: #6699cc; /* Old browsers */
	background: -moz-linear-gradient(top,  #6699cc 0%, #4978ba 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #6699cc 0%,#4978ba 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #6699cc 0%,#4978ba 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6699cc', endColorstr='#4978ba',GradientType=0 ); /* IE6-9 */
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus
 {
	background: #4978ba;
	border-color: #4978ba;
}

.breadcrumb
{
	background: transparent;
	padding: 0;
	margin-bottom: 4rem;
}

.page-header {
	border-bottom: none;
}

footer.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	color: #ffffff;

	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#6699cc+0,4978ba+100 */
	background: #6699cc; /* Old browsers */
	background: -moz-linear-gradient(top,  #6699cc 0%, #4978ba 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #6699cc 0%,#4978ba 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #6699cc 0%,#4978ba 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6699cc', endColorstr='#4978ba',GradientType=0 ); /* IE6-9 */
}

footer.footer nav {
	margin-left: -15px;
}

footer.footer a {
	color: #fff;
}

footer.footer a:hover,
footer.footer a:focus {
	background: none;
	color: #333333;
}

footer.footer #block-copyright-message {
	clear: both;
	font-size: 12px;
	padding-top: 1.5em;
	margin-left: 10px;
}

@media ( max-width: 767px ) {
	footer.footer #block-copyright-message {
		margin-left: 0;
	}
}


.block-title {
	font-size: 24px;
	margin-top: 0;
	margin-bottom: 1em;
}
.region-sidebar-second .block ul {
	padding-left: 0;
}
.region-sidebar-second .block ul li {
	margin-bottom: 4rem;
	list-style: none;
}


/*.region-sidebar-second .block ul li .views-field-changed,
.region-sidebar-second .block ul li .views-field-created,
.region-sidebar-second .block ul li .views-field-type,*/
.region-sidebar-second .block ul li .views-field-title,
.region-sidebar-second .block ul li .views-field-title a {
	color: #666;
	font-size: 12px;
}
.region-sidebar-second .block ul li .views-field-comment-body {
	margin-bottom: 0.8rem;
}

.region-sidebar-second .block ul li .views-field-type::after {
	content: '\2022';
	margin: 0 1em;
	opacity: 0.4;
	font-size: 130%;
	position: relative;
	top: 2px;
}

/*
 * Blog
 */

article.teaser {
	margin-bottom: 2.5em;
}

/*
article.teaser h2 {
	border-bottom: 1px solid #eeeeee;
	margin-bottom: 6px;
}
*/

article img {
	max-width: 100%;
	height: auto;
	margin-bottom: 1em;
}

/*
article.teaser img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
*/

article.teaser .comment-add {
	display: none;
}


/**
 * Comments
 */

.js-comment {
	font-size: 15px;
	border-left: 1px solid #dddddd;
	padding: 0 0 1px 1.5em;
	margin-top: 2em;
}
.js-comment h3 {
	clear: both;
	font-size: 17px;
}
.js-comment footer {
	color: #666666;
}
.js-comment footer p {
	display: inline-block;
	margin-bottom: 0;

}
.indented {
	margin-left: 3em;
}


/* Author info container - eg. 'posted on' */
article footer {
	color: #666;
	font-size: 12px;
	margin: 2rem 0 1.8rem 0;
	position: relative;
	min-height: 28px;
}
/* Author picture */
article footer img {
	border-radius: 4px;
	margin: 0 1em 0 0;
	width: 28px;
	float: left;
}
/* Author name and publish date on article */
article footer .author {
	position: relative;
	top: 7px;
}
/* Author name and publish date on comment */
article footer p {
	margin-top: 7px;
}
/*
article .author a {
	color: #6699CC;
}
*/

/*
article .author a:hover,
article .author a:focus {
	color: #6699CC;
}
*/


article .links.list-inline {
	margin-top: 1em;
	margin-left: -10px;
}

article .links.list-inline li {
	padding-left: 10px;
	padding-right: 10px;
}




/*
 * Single node (Blog post or Project)
 */

article.full author {
}

article.full .field {
	margin-bottom: 1em;
}

article.full.project {
	margin-bottom: 2em;
}



/**
 * Testimonials and blockquotes (on front page and on single Project page)
 */

blockquote,
.paragraph--type--testimonial .field--name-bp-text {
	padding: 4em 2em 0 2em;
	position: relative;
	font-size: 90%;
}


blockquote::before,
blockquote::after,
.paragraph--type--testimonial .field--name-bp-text::before,
.paragraph--type--testimonial .field--name-bp-text::after {
	position: absolute;
	font-size: 600%;
	opacity: 0.3;
}

blockquote::before,
.paragraph--type--testimonial .field--name-bp-text::before {
	content: '“';
	top: -15px;
	left: 0px;
}
blockquote::after,
.paragraph--type--testimonial .field--name-bp-text::after {
	content: '”';
	bottom: -105px;
	right: 0px;
}


.paragraph--type--testimonial .field--name-field-client-name {
	margin: 4em 1em 1em 2em;
	font-style: italic;
	font-size: 14px;
	font-weight: bold;
}

/*
.paragraph--type--testimonial .field--name-field-client-name::before {
	content: '~';
	margin-right: 0.3em;
	float: left;
}
*/

.paragraph--type--testimonial .field--name-field-client-name a {
	color: #eee;
}


/* Make Views slideshows (eg. front page testimonials) width responsive */
/*.views_slideshow_cycle_main,*/
.views_slideshow_cycle_main > div,
.views_slideshow_cycle_slide {
	width: 100% !important;
}


/**
 * Portfolio section
 */
article.project h2 {
	margin-bottom: 0.5em;
}

article.project img {
	margin-bottom: 0.5em;
	border: 1px solid #eeeeee;
}

/* Projects tags */
article.project .field--name-field-tags {
/*
	text-align: center;
*/
	margin-bottom: 1em;
}

article.project .field--name-field-tags .field--item {
	display: inline;
	font-size: 12px;
}

/* dots between project tags */
article.project .field--name-field-tags .field--item::after {
	content: '\2022';
	margin: 0 1.5em;
	opacity: 0.4;
	font-size: 160%;
	position: relative;
	top: 4px;
}

article.project .field--name-field-tags .field--item:last-of-type::after {
	display: none;
}
/*
article.project.teaser .field--name-body {
	margin-top: 1em;
}
*/


@media ( min-width: 768px ) {
	/* Left - image */
	article.project.teaser .field--name-field-image {
		width: 40%;
		display: inline-block;
		float: left;
		padding-right: 20px;
	}

	/* Right - other fields */
	article.project.teaser .field--name-field-tags,
	article.project.teaser .field--name-body,
	article.project.teaser .links.list-inline {
		width: 60%;
		display: inline-block;
		float: right;
	}
}

/* Projects 'Read more' links */
article.project.teaser .links.list-inline {
	margin: 1em 0 0 0;
}

article.project.teaser .links.list-inline li {
	padding: 0;
}


/**
 * Single project page
 */

body.page-node-type-project .region-sidebar-second .block {
	padding: 0;
	border: none;
	border-radius: 6px;
	color: #ffffff;
	border-color: #6699cc;

	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#6699cc+0,4978ba+100 */
	background: #6699cc; /* Old browsers */
	background: -moz-linear-gradient(top,  #6699cc 0%, #4978ba 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #6699cc 0%,#4978ba 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #6699cc 0%,#4978ba 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6699cc', endColorstr='#4978ba',GradientType=0 ); /* IE6-9 */
}


/**
 * Section intro text (eg. 'this is our portfolio...')
 */
body:not( .path-taxonomy ) .view-header,
body.path-taxonomy .view-header .field--name-description {
	border-radius: 6px;

	/*background-color: #e7ebf1;*/

	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f8f8f8+0,e7ebf1+100 */

	min-height: 20px;
	padding: 3.5rem 60px 4rem;
	margin: 0 0 20px 0;
	background-color: #f5f5f5;
	border: 1px solid #e3e3e3;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}


/**
 * User profiles
 */

.field--name-user-picture img {
	border-radius: 8px;
}


h4.label {
	color: #444444;
}


/**
 * hCaptcha
 */

 .h-captcha {
	 margin-top: 1rem;
	 margin-bottom: 1rem;
 }
