/*
Theme Name: Jyrki Vanamo 8.0
Theme URI: https://www.jyrkivanamo.com
Author: Jyrki Vanamo
Author URI: https://www.jyrkivanamo.com
Description:
License:
Tags: 
*/

html {
	height: 100%;
}


body {
	height: 100%;
}

body.error404 {
	background-image: url(images/404.gif);
	background-position: right bottom;
	background-repeat: no-repeat;
	background-size: 50%;
	background-attachment: fixed;
}


a:focus,
a:hover {
	text-decoration: none;
}

a .entry-title {
	color: inherit;
	text-decoration: none;
}

a:hover .entry-title {
	text-decoration: none;
}

b, strong {
	font-weight: 600;
}


h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: 'IBM Plex Sans', sans-serif;
	word-wrap: break-word;
	word-break: break-word;
	white-space: normal;
}

h1, .h1 {
	font-size: 1.5rem;
}

h2, .h2 {
	font-size: 1.25rem;
}

h3, .h3 {
	font-size: 1.125rem;
}

h4, .h4 {
	font-size: 1rem;
}

h5, .h5 {
	font-size: .875rem;	
}

h6, .h6 {
	font-size: .75rem;
}


a h1, a h2, a h3, a h4,
h1 a, h2 a, h3 a, h4 a {
	color: #037;
	text-decoration: none;
}

a:hover img {
	opacity: .75;
}

p {
	margin-bottom: 1.6em;
}

p > a {
	color: #037;
	border-bottom: solid 2px;
}

p > a:hover {
	border-bottom: solid 2px;
	text-decoration: none;
}

article h1, article h2, article h3 {
	margin-top: 3em;
}

article p > a {
	border-bottom: solid 2px;
	color: inherit;
}

figure {
	margin: 0;
}

article figure {
	margin: 2rem 0;
	overflow: auto;
}

figcaption,
p.figcaption {
	margin: 1rem auto;
	color: #6f6f7a;
	font-size: .875rem;
}

article figure + figcaption,
article figure + .figcaption {
	margin-top: -2em;
	margin-bottom: 3em;
}

article figcaption a,
article .figcaption a {
	border: none;
	color: inherit;
	text-decoration: underline;
}

article ul,
article ol {
	margin-top: 0;
	margin-bottom: 2em;
	padding-left: 3rem;
}
	
article ul li,
article ol li {
	margin-bottom: .5em;
	padding-left: .5em;
}

article .gallery {
	margin: 1em 0 1.25em;
}


blockquote {
    margin: 0;
	padding: 0 0 0 1rem;
	border-left: 2px solid #037;
	font-size: 1em;
	white-space: -moz-pre-wrap !important;
	white-space: -o-pre-wrap;
	white-space: pre-wrap;
	white-space: normal;
	word-wrap: break-word;
	word-break: break-word;	
}


blockquote p {
	margin: 0 0 .5em 0;
}

blockquote.jumbo {
	padding: 0;
	border: 0;
}
	
blockquote.jumbo p {
	margin-top: 1em;
	margin-bottom: 1em;
	font-size: 2rem;
	font-weight: 400;
	line-height: 1.25;
}

.article-title {
	margin-top: 4rem;
	margin-bottom: 4rem;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 3rem;
	font-style: italic;
	font-weight: 200;
	line-height: 1;
}

.article-meta {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 75%;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.article-meta > li {
	display: inline-block;
	margin: 0;
	padding: 0
}

.article-meta > li:not(:first-child):before {
	content: '\2014';
	display:inline-block;
	width: 4ex;
	text-align: center;
}

.bg-blue {
	background-color: #037;
}

.bg-dim:before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(255, 248, 244, .5);
	z-index: 0;
}

.bg-image {
	background-attachment: scroll;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.blockquote {
	font-size: 1rem;
}

.blockquote-footer {
	font-size: 0.875rem;
}

.blockquote-footer:before {
	content: "";
}

.display-table {
	display: table;
}

.display-table-cell {
	display: table-cell;
	vertical-align: middle;
}

.embed-sm {
	max-width: 430px;
	margin-left: auto;
	margin-right: auto;
}

.embed-md {
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.embed-background {
	background: #fff;
}

.entry-insights a {
	color: inherit;
}

.entry-awards p,
.entry-talks p {
	margin: 0;
}

.entry-awards .entry-title,
.entry-clients .entry-title,
.entry-talks .entry-title {
	margin: 0;
}

.entry-preview a:hover {
	text-decoration: none;
}

.entry-meta {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 75%;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.entry-meta > li {
	display: inline-block;
}

.entry-meta > li:not(:first-child):before {
	content: '\2014';
	display:inline-block;
	width: 4ex;
	text-align: center;
}

.entry-work ul {
	margin: 1rem 0 1.5rem;
	list-style-position: outside;
	page-break-inside: avoid;
}

.entry-work ul > li {
	margin: 0 0 .5rem;
	page-break-inside: avoid;
}

.entry-appendix:not(.expand) ul > li:nth-child(n+3) {
	display: none;
}

.entry-appendix.expand .entry-appendix-collapser .collapsed {
	display: none
}

.entry-appendix:not(.expand) .entry-appendix-collapser .expanded {
	display: none
}

.entry-preview figure {
	margin: 1rem 0;
}

.entry-section {
	margin-bottom: 10vmin;	
}

.full-size,
.full-width {
	width: 100%;
}

.full-size,
.full-height {
	min-height: 100vh;
}

.iframe-controls {
	margin: 2rem 1rem;
}

.img-full {
	width: 100%;
	height: auto;
}

.lead {
	font-size: 1.25rem;
}

.list-contacts {
	list-style: none;
	padding: 0;
	margin: 0 -0.5rem;
}

.list-contacts li {
	display: inline-block;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}

.map {
	position: relative;
	width: 100%;
	height: 100%;
}

.media h1, .media h2, .media h3, .media h4, .media h5, .media h6 {
	margin: 0;
}

.media p {
	margin: 0;
}

.navbar-header {
	min-height: 3.5rem;
}

.navbar-brand {
	font-size: 1rem;
	font-weight: 600;
}

.navbar-link {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 3.5rem;
	font-weight: 600;
	line-height: 1rem;
}

.navbar-nav .nav-link {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 3.5rem;
	font-weight: 600;
}

.navbar-light .navbar-nav .active > .nav-link, 
.navbar-light .navbar-nav .nav-link.active, 
.navbar-light .navbar-nav .nav-link.show, 
.navbar-light .navbar-nav .show > .nav-link {
    color: #037;
}

.nav-sidebar > li > a {
	padding: 0 0 1rem;
	color: #665;
}

.nav-sidebar > li > a:hover,
.nav-sidebar > .active:not(.current-menu-parent) > a,
.nav-sidebar > .active:not(.current-menu-parent) > a:focus,
.nav-sidebar > .active:not(.current-menu-parent) > a:hover {
	background: transparent;
	color: #037;
	text-decoration: none;
}

.nav-sidebar > li.menu-item-space-before {
	margin-top: 3.5rem;
}

.position-top,
.position-top-right,
.position-top-left {
	top: 0;
}

.position-bottom,
.position-bottom-right,
.position-bottom-left {
	bottom: 0;
}

.position-left,
.position-top-left,
.position-bottom-left {
	left: 0;	
}

.position-right,
.position-top-right,
.position-bottom-right {
	right: 0;	
}

.section {
	padding-top: 3rem;
	padding-bottom: 3rem;
}


.section-sm {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.section-title {
	margin: 3rem auto;
	font-family: 'IBM Plex Mono', monospace;
    font-size: 3rem;
	font-style: italic;
	font-weight: 200;
	line-height: 1;
}

.section-title a {
	color: inherit;
}

.site-title {
	margin: 0;
}

.site-title a {
	color: inherit;
}

.table-responsive {
	-webkit-overflow-scrolling: touch;
}

.text-coral,
.text-coral a {
	color: coral;
}

.text-green,
.text-green a {
	color: #094;
}

.text-white,
.text-white a {
	color: #fff;
}

.text-underline {
	border-bottom: solid 2px;
	text-decoration: none;
}

.text-bold {
	font-weight: 600 !important;
}

.text-regular {
	font-weight: normal !important;
}

.text-overline {
	color: inherit;
	text-decoration:line-through;
}

.text-serif {
	font-family: 'IBM Plex Serif', serif !important;
}

.z-index-0 {
	z-index: 0;
}

.z-index-1000 {
	z-index: 1000;
}

.swiper-wrapper {
	list-style-type: none;
	margin: 0;
	padding: 0;
	page-break-inside: avoid;
}

.swiper-container .image-container {
	padding: 2rem 1rem;
	background-color: #252532;
}

.swiper-container .image-container img {
	width: 100%;
	height: auto;
}


/* breakpoint sm */
@media (min-width: 768px) {

	.position-sm-relative {
		position: relative;
	}

}

/* breakpoint md */
@media (min-width: 1024px) {

	h1, .h1 {
		font-size: 2rem;	
	}
	
	h2, .h2 {
		font-size: 1.5rem;	
	}
	
	h3, .h3 {
		font-size: 1.25rem;	
	}
	
	h4, .h4 {
		font-size: 1.125rem;
	}
	
	h5, .h5 {
		font-size: 1rem;	
	}
	
	h6, .h6 {
		font-size: .75rem;
	}

	p {
		font-size: 1.25rem;
	}

	p.lead {
		font-size: 2rem;
	}
	
	.blockquote {
		font-size: 2rem;
	}

	article {
		padding-bottom: 4rem;
	}

	article figure {
		margin: 3rem 0;
	}

	article ul li,
	article ol li {
		font-size: 1.25rem;
	}

	blockquote.jumbo {
		margin-left: calc(50vw / -6);
		margin-right: calc(50vw / -6);	
	}

	blockquote.jumbo p {
		font-size: 8vmin;
	}
	
	.article-title {
		margin: 20vmin 10vw;
		font-size: 12vmin;
	}
	
	.iframe-controls {
		margin: 0 2rem;
	}

	.list-contacts {
		margin: 0 -1rem;
	}
	
	.list-contacts li {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.modal-header,
	.modal-body,
	.modal-footer {
		border: 0;
	}
	
	.position-md-fixed {
		position: fixed;
	}

	.position-md-relative {
		position: relative;
	}

	.section {
		padding-top: 4rem;
		padding-bottom: 4rem;
	}

	.section-sm {
		padding-top: 1rem;
		padding-bottom: 1rem;
	}

	.section-title {
		font-size: 3rem;
	}
	
	.sidebar {
		top: 0;
		z-index: 1030;
	}
	
	.site-title {
		margin: 3rem 0;
	}
	
	.swiper-container .image-container {
		padding: 2rem 1rem;
	}
	
}

/* breakpoint lg */
@media (min-width: 1280px) {

	h1, .h1 {
		font-size: 2.5rem;	
	}
	
	h2, .h2 {
		font-size: 2rem;	
	}
	
	h3, .h3 {
		font-size: 1.5rem;	
	}
	
	h4, .h4 {
		font-size: 1.25rem;
	}
	
	h5, .h5 {
		font-size: 1.125rem;	
	}
	
	h6, .h6 {
		font-size: 1rem;
	}

	p {
		font-size: 1.5rem;
	}

	p.lead {
		font-size: 2.5rem;
	}

	article {
		padding-bottom: 6rem;
	}

	.blockquote {
		font-size: 1.5rem;
	}

	.article-title {
		font-size: 16vmin;
	}
	
	.embed-lg {
		margin-left: calc(50vw / -6);
		margin-right: calc(50vw / -6);
	}
	
	.embed-lg figcaption,
	.embed-lg .figcaption {
		margin-left: calc(50vw / 6);
		margin-right: calc(50vw / 6);
	}
	
	.position-lg-fixed {
		position: fixed;
	}

	.rotate-lg-270 {
		position: absolute;
		top: 600px;
		left: 0;
		width: 600px;
    	height: 0;
		transform: rotate(270deg);
    	transform-origin: left;
	}

	.section {
		padding-top: 6rem;
		padding-bottom: 6rem;
	}

	.section-sm {
		padding-top: 1.25rem;
		padding-bottom: 1.25rem;
	}

	.section-title {
		font-size: 5rem;
	}
	
	.rotate-lg-270 .section-title {
		margin: 0;
	}

}

/* breakpoint xl */
@media (min-width: 1536px) {

	article {
		padding-bottom: 8rem;
	}

	.section {
		padding-top: 8rem;
		padding-bottom: 8rem;
	}

	.section-sm {
		padding-top: 1.5rem;
		padding-bottom: 1.5rem;
	}

}

@media print {

    html {
        font-size: 62.5%;
    }
	
	body {
		background-color: transparent;
	}

}


.animated { 
    -webkit-animation-duration: 800ms; 
	animation-duration: 800ms; 
    -webkit-animation-fill-mode: both; 
    animation-fill-mode: both; 
} 

.fade-in-down { 
    -webkit-animation-name: fade-in-down; 
    animation-name: fade-in-down; 
}

@-webkit-keyframes fade-in-down { 
    0% 		{ opacity: 0; -webkit-transform: translateY(-20px); } 
    100% 	{ opacity: 1; -webkit-transform: translateY(0); } 
} 

@keyframes fade-in-down { 
    0% 		{ opacity: 0; transform: translateY(-20px); } 
    100% 	{ opacity: 1; transform: translateY(0); } 
}