/*
 *  Theme Name: Paperspace for knome.fi
 *  Author: Pasi Lallinaho
 *  Version: 3.0 (2019-03-22)
 *  Template: paperspace
 *
 *  Description: An elegant theme to use with WordPress. The theme is generally simple but modern, enhanced with some jQuery. This subtheme includes knome.fi -specific tweaks, including styling and considerations for a multisite front page.
 *
 */

/*
 *  Styles for knome.fi
 *
 */

/*  Multisite front page
 */

#multiwidgets {
	font-size: 107%;
	line-height: 1.6em;
	color: rgba( 0, 0, 0, 0.7 );
}

/*  Content
 */

.post-post .post-serie {
	padding: 0.3em 0.6em;
	margin: 1.5em 0;

	background: transparent linear-gradient( to right, rgba( 0, 0, 0, 0.05 ), transparent );
	border-radius: 2px;

	font-size: 95%;
}

/*  Search page
 */

#all-tags-label,
#tiny-tags {
	display: none;
}
	#all-tags-label a {
		display: block;
		font-size: 90%;

		color: #bbb;
		border-bottom: none;
	}

#tiny-tags {
	font-size: 90%;
	line-height: 1.3em;

	margin-top: 0.3em;
	padding-left: 1px;
}
	#tiny-tags a {
		margin-right: 0.3em;
	}

/*  Archive page
 */

.archive-sub .static-pages {
	float: left;
	width: 75%;
}

main .archive-sub .static-pages li {
	list-style-type: none;
	margin-left: 0;
}

.post-list .post-status-private h3 a {
	color: #d40000;
}

aside#sidebar a {
	font-weight: bold;
}

/*  Digitoucan colors in the sidebar
 */

aside .digitoucan a { color: #444 !important; }
aside .digitoucan b a,
aside .digitoucan b a:link,
aside .digitoucan b a:visited,
aside .digitoucan a:hover,
aside .digitoucan a:active,
aside .digitoucan a:focus { color: #d40000 !important; }
aside h2.digitoucan { background: transparent url(icons/digitoucan-25.png) 100% 0 no-repeat; }

/*  Plugin: Article series
 */

aside .article-series-promotion p.more-link {
	font-weight: bold;
	margin: 0 0 0;
	line-height: 1.8em;
}

aside .all-article-series {
	font-size: 90%;
	margin-top: -1em;
	margin-bottom: 1.2em;
}

/*  Plugin: Links with Descriptions
 */

aside .links-with-descriptions li {
	clear: both;
	line-height: 1.7em;
	list-style-type: none;
	margin-left: 0;
}

aside .links-with-descriptions a {
	display: block;
	width: 100%;
	border-bottom: none;
}

aside .links-with-descriptions a span.description {
	float: right;
	color: rgba(0,0,0,0.25);

	transition: color 200ms ease-in-out;
}

aside .links-with-descriptions a:hover span.description,
aside .links-with-descriptions a:active span.description,
aside .links-with-descriptions a:focus span.description {
	color: rgba(0,0,0,0.9);
}

aside .links-with-descriptions a span.name {
	border-bottom: 1px solid transparent;

	transition: border 200ms ease-in-out;
}

aside .links-with-descriptions a:hover span.name,
aside .links-with-descriptions a:active span.name,
aside .links-with-descriptions a:focus span.name {
	border-bottom: 1px solid #777;
}

aside .links-with-descriptions span.separator {
	display: none;
}

/*  Plugin: Flashback
 */

aside .flashback {
	font-size: 80%;
	line-height: 1.2em;
	margin-bottom: 1.25em;
}
aside .flashback strong {
	display: block;
	font-size: 130%;
	font-weight: normal;
	line-height: 1.2em;
	margin-bottom: -0.4em;
}

/*  Plugin: Simple Lightbox
 */

.slb_container {
	padding: 0.75em !important;
	border-radius: 3px !important;
}
	.slb_prev .slb_template_tag {
		left: 0.75em !important;
	}
	.slb_next .slb_template_tag {
		right: 0.75em !important;
	}
	.slb_data_content {
		margin: 0.5em 0 !important;
	}
		.slb_data_title,
		.slb_group_status {
			font-family: 'Lato', 'Arial', sans-serif !important;
			font-size: 120% !important;
		}
		.slb_group_status {
			font-style: normal !important;
			float: right !important;
		}

/*  Contact information
 */

dl.contact:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

dl.contact dt {
	float: left;
	width: 13%;
	margin-right: 5%;
	font-weight: bold;
}

dl.contact dd {
	float: left;
	width: 82%;
}

/*  Tilted author image
 */

.author-tilt img {
	padding: 0.75em;

	background-color: #fff;
	box-shadow: 0 0 0.5em 0 rgba(0, 0, 0, 0.2);
}

/*
 *  Gutenberg blocks
 *
 */

/*  Categories
 */

.wp-block-categories li {
	list-style-type: none;
	margin-left: 0;
}

/*  Columns
 */

.wp-block-column > :first-child { margin-top: 0; }
.wp-block-column > :last-child { margin-bottom: 0; }

/*  Compact & Chronological
 */

.wp-block-compact-chronological {
	font-size: 113%;
}
	.wp-block-compact-chronological li {
		margin-left: 0;
	}
		.wp-block-compact-chronological .month a .count {
			display: none;
		}
		.wp-block-compact-chronological a {
			border-bottom: none;
		}
			.wp-block-compact-chronological a .name {
				border-bottom: 1px solid transparent;
			}
				.wp-block-compact-chronological a:hover .name,
				.wp-block-compact-chronological a:active .name,
				.wp-block-compact-chronological a:focus .name {
					border-bottom: 1px solid rgba( 0, 0, 0, 0.5 );
				}
			.wp-block-compact-chronological .year_name {
				color: #555 !important;
				font-weight: bold;
			}
			.wp-block-compact-chronological .month a .count {
				color: rgba( 0, 0, 0, 0.35 );
			}

/*  List
 */

ul.no-bullets li {
	list-style-type: none;
	margin-left: 0;
}


/*  Page List
 */

.wp-block-page-list li {
	list-style-type: none;
	margin-left: 0;
}

/*  Separator
 */

.wp-block-separator.is-style-wide {
	border-top: 1px solid rgba( 0, 0, 0, 0.15 );
	border-bottom: none;
}
