/*
Theme Name: Arkkigraf 2020
Theme URI: http://www.arkkigraf.fi
Author: Jyrki Vanamo
Author URI: https://www.jyrkivanamo.com/
Version: 2.0
Description: Custom theme for Arkkigraf
License:
Tags: 
*/


body {
	letter-spacing: .025em;
}

body.fixed-navbar {
	padding-top: 5rem;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	text-transform: uppercase;
	word-wrap: break-word;
}

a:hover h1, a:hover h2, a:hover h3, a:hover h4, a:hover h5, a:hover h6 {
	color: inherit;
}

a img {	
	-webkit-transition: all 100ms ease-in-out;
	transition: all 100ms ease-in-out;
}

a:hover img {
	opacity: .75;
}

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

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

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

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

article h1, article h2, article h3, article h4,
article .h1, article .h2, article .h3, article .h4 {
	margin: 3em 0 1em;
}

article h1:first-child,
article h2:first-child,
article h3:first-child,
article h4:first-child {
	margin-top: 0;
}

img + p {
	margin-top: 5px;
}

.bg-body {
	background-color: #1a1a1a;
}

.cookie-notice-container, .cn-button {
	font-family: Raleway, Helvetica, Arial, sans-serif;
}

.cn-text-container {
    margin: 0;
}

.dl-horizontal {
	font-size: 1em;
}

.dl-horizontal dt {
	float: left;
	width: 100px;
	overflow: hidden;
	clear: left;
	font-weight: 400;
	text-align: left;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dl-horizontal dd {
    margin-left: 120px;
	margin-bottom: .5em;
	color: #eee;
}



.dl-horizontal a {
	color: inherit;
}



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

.entry-preview a:hover .entry-title {
	color: #eee;
}

.entry-preview.active .entry-image {
	background-color: #000080;
}

.entry-preview.active img {
	opacity: .25;
}



.entry-title {
	display: inline-block;
	margin: 1rem .5ex 0 0;
}

.entry-person .entry-title {
	margin-top: 0;
}

.entry-details {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

.entry-details li {
	display: inline-block;
	margin: 0 .25ex 0;
}

.gallery figure {
	margin-bottom: 1rem;
}

.gallery figcaption {
	margin: 1rem 0;
	font-size: .75rem;
	font-weight: 400;
}

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

.img-responsive {
	display: inline-block;
}

.size-full {
	display: inline-block;
	width: 100%;
	height: auto;
}

.lead {
	margin: 0 0 1em 0;
	color: #eee;
	font-size: 1em;
	font-weight: 400;
	line-height: 1.6;
}

.navbar-brand {
	margin: 0;
}

.navbar-brand img {
	display: inline-block;
}

.navbar-brand-symbol {
	width: auto;
	height: 1.5rem;
	margin-right: .5rem;
}

.navbar-brand-type {
	width: auto;
	height: 1.5rem;
}

.navbar-toggler {
	padding: .25rem;
	border-color: transparent;
}

.navbar-nav {
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.navbar-nav .nav-link {
	padding-left: 1rem;
	padding-right: 1rem;
	font-size: 1.5rem;
	line-height: 1.5rem;
    text-align: center;
    text-transform: uppercase;
	-webkit-transition: all 100ms ease-in-out;
	transition: all 100ms ease-in-out;
}


.nav-section .nav-link {
	padding-left: .75rem;
	padding-right: .75rem;
	background: none;
	color: inherit;
	font-weight: 400;
	line-height: 1.25;
	text-transform: uppercase;
}

.nav-section > .nav-item.active > .nav-link,
.nav-section > .nav-item.active > .nav-link:hover,
.nav-section > .nav-item.active > .nav-link:focus,
.nav-section > .nav-item > a:hover,
.nav-section > .nav-item > a:focus {
	background: none;
	color: #ffffff;
}


.row-inline {
	margin: -.75rem;
	padding: 0;
	list-style: none;
}

.row-inline > li {
	display: inline-block;
	padding: .75rem;
	vertical-align: top;
}

.row-inline > .col-block-xs {
	display: block;
}

.row-inline > .col-inline-block-xs {
	display: inline-block;
}

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

.section-title {
	margin-top: 0;
	margin-bottom: 1rem;
}

.slick {
	margin-bottom: 1rem;
}

.smart-scroll {
	transition: all 0.25s ease-in-out;
}
.smart-scroll.scrolled-down {
   transform: translateY(-100%);
}
.smart-scroll.scrolled-up {
   transform: translateY(0); 
}

.text-default,
.text-default a,
a.text-default {
	color: inherit;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
}
.wp-block-image figcaption {
    margin: 1rem 0;
    font-size: .75rem;
    font-weight: 400;
}

.pswp__caption__center {
    max-width: 100%;
}

.col.img img {
	padding-bottom:20px;
	width: 100%;
}

.col.img video {
	width:100%;
}

.row.images {
	margin-top:50px;
}

@media (max-width: 1023.98px)  {

	/* 

		hack to override Gutenberg's built-in styling
		probably needs to be rewritten as Gutenberg evolves and there are more styling hooks available

	*/
	.wp-block-columns {
	    flex-wrap: wrap !important;
	}

	.wp-block-column {
	    flex-basis: 100% !important;
	    flex-grow: 1 !important;
	    margin-left: 0 !important;
	}

}


@media (min-width: 1024px)  {

	body.fixed-navbar {
		padding-top: 7.5rem;
	}
	
	h1, .h1 {
		font-size: 1.75rem;
	}
	
	h2, .h2 {
		font-size: 1.5rem;
	}
	
	h3, .h3 {
		font-size: 1.25rem;
	}
	
	h4, .h4 {
		font-size: 1.0rem;
	}
		
	.dl-horizontal {
		font-size: 1rem;
	}
	
	.dl-horizontal dt {
		width: 5rem;
	}

	.dl-horizontal dd {
		margin-left: 6rem;
	}
		
	.lead {
		font-size: 1.25em;
	}

	.navbar-brand {
		padding-top: 1rem;
		padding-bottom: 1rem;
		line-height: 1.25;
	}

	.navbar-brand-symbol {
		height: 2rem;
	}
	
	.navbar-brand-type {
		height: 1.75rem;
	}

	.navbar .container {
		margin-top: 1rem;
		margin-bottom: 1rem;
	}

	.navbar-centered .container {
		flex-direction: column;
		margin-top: 2rem;
		margin-bottom: 2rem;
	}

	.navbar-centered .navbar-brand-symbol {
		height: 3rem;
	}
	
	.navbar-centered .navbar-brand-type {
		height: 3rem;
	}

	.navbar-centered .navbar-nav {
		padding-top: 0;
		padding-bottom: 0;
	}

	.navbar-expand-lg .navbar-nav .nav-link {
	    padding-right: 0.5rem;
	    padding-left: 0.5rem;
		margin-left: 3px;
        margin-right: 3px;
	}

	.nav-section {
		font-size: 1.25rem;
	}

	.section {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}
	
	.section-title {
		margin-top: 0;
		margin-bottom: 3rem;
	}
	
	.slick {
		margin-bottom: 2rem;
	}

	.wp-block-columns {
	    margin-left: -16px;
	    margin-right: -16px;
	}

	.wp-block-column {
	    margin: 0 !important;
	    padding-left: 16px;
	    padding-right: 16px;
	}

}

@media (min-width: 1280px)  {
	
		
	.dl-horizontal dt {
		width: 6rem;
	}

	.dl-horizontal dd {
		margin-left: 8rem;
	}
	
	
}

@media (max-width: 767px)  {
	.row.details {
		flex-direction: column;
	}
}