/*
Theme Name: END-theme based on Poseidon
Theme URI: https://themezee.com/themes/poseidon/
Author: ThemeZee
Author URI: https://themezee.com
Description: Poseidon is an elegant designed WordPress theme featuring a splendid fullscreen image slideshow. The clean typography and spacious white layout makes it great to share your stories. You can use the theme as simple blog or easily create a news website with the widget-based Magazine Homepage template.
Version: 9.9.9.9.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: poseidon
Tags: two-columns, light, blue, custom-background, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, custom-colors, full-width-template, sticky-post, threaded-comments, translation-ready, theme-options, fluid-layout, responsive-layout, one-column, left-sidebar, right-sidebar, three-columns, black, red, silver, white, green, gray

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Poseidon is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - Normalize
2.0 - Typography
3.0 - Elements
4.0 - Forms
5.0 - Accessibility
6.0 - Alignments
7.0 - Clearings
8.0 - Layout Structure
9.0 - Header
10.0 - Navigation
	10.1 - Main Navigation
	10.2 - Social Icon Menu
11.0 - Widgets
	11.1 - Default Widgets
	11.2 - Magazine Posts Widgets
12.0 - Posts and pages
11.0 - Comments
12.0 - Footer
13.0 - Media
	13.1 - Captions
	13.2 - Galleries
14.0 - Media Queries
	14.1 - Desktop Large ( < 1120px )
	14.2 - Desktop Medium ( < 1040px )
	14.3 - Desktop Small ( < 960px )
	14.4 - Tablet Large ( < 880px )
	14.5 - Tablet Medium ( < 800px )
	14.6 - Tablet Small ( < 720px )
	14.7 - Mobile Extra Large ( < 640px )
	14.8 - Mobile Large ( < 560px )
	14.9 - Mobile Medium ( < 480px )
	14.10 - Mobile Small ( < 320px )
15.0 - Theme Option Styles
	15.1 - Sidebar Left Layout
	15.2 - Sticky Header
16.0 - Media Query Fixes
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# 1.0 - Normalize
--------------------------------------------------------------*/
html {
	font-family: 'Spartan', sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	background: white;
	background-position: left bottom;
	background-attachment: fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

body {
	margin: 0;
	overflow-x: hidden;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: 400;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 36px;
	margin: 0.67em 0;
	letter-spacing: 2px !important;
	text-transform: uppercase;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# 2.0 - Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #464646;
	line-height: 1.6;
	font-size: 13px;
	font-family: 'Spartan', sans-serif;
	font-weight: 300;
	margin: 0 0 24px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: 'Spartan', sans-serif;
	font-style: normal !important;
	font-weight: 300 !important;
	letter-spacing: 1px;
	color: #464646;
	word-break: break-word;
}

p {
	margin-bottom: 1.2em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

.sidebar blockquote {
	color: #bf1717;
	font-style: italic;
	font-size: 18px;
	text-align: center;
	font-weight: 400;
}

address {
	margin: 0 0 1.5em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# 3.0 - Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: """";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 0.5em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li>ul,
li>ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

a {
	color: #464646;
	text-decoration: none;
}

a:link,
a:visited {
	color: #464646;
}

a:hover,
a:focus,
a:active {
	color: #3e3e3e;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
# 4.0 - Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	padding: 0.2em 2.8em;
	font-family: 'Spartan', sans-serif;
	font-size: 13px !important;
	font-size: 0.8125rem;
	font-weight: 300;
	color: #464646;
	background: #e3e3e3;
	border: none;
	text-transform: normal;
	text-decoration: none;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	background: #404040;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	max-width: 100%;
	padding: 0.3em 0.6em;
	color: #666;
	border: 1px solid #ddd;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# 5.0 - Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.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-size: 0.875rem;
	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. */
}

/*--------------------------------------------------------------
# 6.0 - Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# 7.0 - Clearings
--------------------------------------------------------------*/
.clearfix:before,
.clearfix:after {
	content: "";
	display: table;
}

.clearfix:after {
	clear: both;
}

/*--------------------------------------------------------------
# 8.0 - Layout Structure
--------------------------------------------------------------*/
.site {
	width: 100%;
	margin: 0;
}

.container {
	max-width: 1400px;
	width: 100%;
	margin: 0 auto;
	padding: 0 3.8em;
}

.site-content {
	padding-top: 0px;
	background: rgba(255, 255, 255, 0.8);
	margin-top: 0 !important;
	margin-bottom: 0;
	padding-bottom: 50px;
}

.site-content-etusivu {
	padding-top: 0px;
	background: rgba(255, 255, 255, 1.0);
	margin-top: 0 !important;
	margin-bottom: 0;
	padding-bottom: 50px;
	/* max-width: unset; */
	padding: 0;
}

.content-area {
	float: left;
	width: 76%;
	padding-right: 2%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.sidebar {
	float: right;
	width: 22%;
}

/* Fullwidth Template */
.site-content .fullwidth-content-area {
	float: none;
	width: 100%;
	padding: 0;
}

/*--------------------------------------------------------------
# 9.0 - Header
--------------------------------------------------------------*/
.site-header {
	background: #fff;
	width: 100%;
}

.site-branding {
	max-width: 350px;
	/* margin: 0 auto; */
	padding: 0;
	/* padding-top: 50px; */
}

.site-branding a:link,
.site-branding a:visited,
.site-branding a:hover {
	text-decoration: none;
	padding: 0;
	border: none;
}

.site-title {
	display: inline-block;
	margin: 0;
	padding: 0;
	color: #404040;
	font-size: 38px;
	font-size: 2.375rem;
	font-weight: bold;
	text-decoration: none;
}

.site-title a:link,
.site-title a:visited {
	color: #404040;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.site-title a:hover,
.site-title a:active {
	color: #404040;
}

/* Custom Header Image */
.header-image {
	margin-top: -1px;
	text-align: center;
}

.header-image img {
	max-width: 2500px;
	max-height: 500px;
	vertical-align: top;
	width: 100%;
	height: auto;
}

/*--------------------------------------------------------------
# 10.0 - Navigation
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## 10.1 - Main Navigation
--------------------------------------------------------------*/
.primary-navigation {
	/* margin: auto 0; */
	/* display: flex; */
	align-items: center;
	margin-left: auto;
}

@media only screen and (min-width: 75em) {
	.primary-navigation {
		display: flex;
	}
}

.main-navigation-toggle {
	display: none;
}

.main-navigation-menu {
	margin: 0;
	padding: 0;
	list-style-type: none;
	list-style-position: outside;
}

.main-navigation-menu li {
	float: left;
	position: relative;
}

.main-navigation-menu a {
	display: block;
	font-family: 'Spartan', sans-serif;
	font-size: 14px;
	font-weight: 300;
	letter-spacing: 1px;
	padding: 0.6em 0.4em;
	margin: 0.5em 0.4em;
	padding-bottom: 5px;
	text-transform: uppercase;
	text-decoration: none;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}


.main-navigation-menu a:link,
.main-navigation-menu a:visited {
	color: #464646;
	text-decoration: none;
}

.main-navigation-menu a:hover
/* .main-navigation-menu a:hover:after  */
{
	text-decoration: none;
	border-bottom: 1px solid #464646;
}

.mPS2id-highlight {
	color: #bf1717 !important;
}


.main-navigation-menu ul {
	position: absolute;
	display: none;
	z-index: 99;
	margin: 0;
	padding: 0;
	list-style-type: none;
	list-style-position: outside;
	background: #fff;
	border: 1px solid #ddd;
	border-top: 1px solid #ddd;
}

.main-navigation-menu ul li {
	margin: 0;
}

.main-navigation-menu ul a {
	min-width: 200px;
	padding: 5px 0 10px 5px;
	float: left;
	font-size: 11px;
	line-height: 1.3;
	letter-spacing: 0.5px;
	text-transform: none;
	border-bottom: 1px solid #ccc;
	-webkit-transition: none;
	-moz-transition: none;
	-ms-transition: none;
	-o-transition: none;
	transition: none;
}

.main-navigation-menu ul li:last-child a {
	border-bottom: none;
}

.main-navigation-menu ul .menu-item-has-children>a:after {
	display: inline-block;
	margin: 0.2em 0 0 0.2em;
	font-size: 14px;
	line-height: 1;
	font-family: 'Spartan', sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-decoration: inherit;
	content: '»';
	color: #404040;

}

.main-navigation-menu li ul ul {
	margin-left: 208px;
	margin-top: -1px;
}

.main-navigation-menu li:hover ul ul,
.main-navigation-menu li:hover ul ul ul,
.main-navigation-menu li:hover ul ul ul ul {
	display: none;
}

.main-navigation-menu li:hover ul,
.main-navigation-menu li li:hover ul,
.main-navigation-menu li li li:hover ul,
.main-navigation-menu li li li li:hover ul {
	display: block;
}

.main-navigation-menu li.current_page_item>a {
	text-decoration: none;
	border-bottom: 1px solid #757575;
}

.current_page_item>a {
	color: #404040;
}

ul.sub-menu li.current_page_item>a {
	color: #404040;
}

/*--------------------------------------------------------------
## 10.2 - Social Icons Menu
--------------------------------------------------------------*/
.social-icons-menu {
	margin: 0;
	padding: 0;
	list-style-type: none;
	list-style-position: outside;
	line-height: 1;
}

.social-icons-menu li {
	float: left;
	margin: 0;
	padding: 0;
}

.social-icons-menu li a {
	position: relative;
	display: inline-block;
	padding: 0.5em;
	text-decoration: none;
}

.social-icons-menu li a .screen-reader-text {
	display: none;
}

/* Add Genericons */
.social-icons-menu li a:before {
	color: #fff;
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 16px;
	line-height: 1;
	font-family: 'Genericons';
	text-decoration: inherit;
	vertical-align: top;
}

.social-icons-menu li a:before {
	content: '\f408';
}

/* Default Icon */
.social-icons-menu li a[href*="codepen.io"]:before {
	content: '\f216';
}

.social-icons-menu li a[href*="digg.com"]:before {
	content: '\f221';
}

.social-icons-menu li a[href*="dribbble.com"]:before {
	content: '\f201';
}

.social-icons-menu li a[href*="facebook.com"]:before {
	content: '\f204';
}

.social-icons-menu li a[href*="flickr.com"]:before {
	content: '\f211';
}

.social-icons-menu li a[href*="plus.google.com"]:before {
	content: '\f218';
}

.social-icons-menu li a[href*="github.com"]:before {
	content: '\f200';
}

.social-icons-menu li a[href*="instagram.com"]:before {
	content: '\f215';
}

.social-icons-menu li a[href*="linkedin.com"]:before {
	content: '\f207';
}

.social-icons-menu li a[href*="pinterest.com"]:before {
	content: '\f209';
}

.social-icons-menu li a[href*="polldaddy.com"]:before {
	content: '\f217';
}

.social-icons-menu li a[href*="getpocket.com"]:before {
	content: '\f224';
}

.social-icons-menu li a[href*="reddit.com"]:before {
	content: '\f222';
}

.social-icons-menu li a[href*="spotify.com"]:before {
	content: '\f515';
}

.social-icons-menu li a[href*="skype.com"]:before,
.social-icons-menu li a[href*="skype:"]:before {
	content: '\f220';
}

.social-icons-menu li a[href*="stumbleupon.com"]:before {
	content: '\f223';
}

.social-icons-menu li a[href*="tumblr.com"]:before {
	content: '\f214';
}

.social-icons-menu li a[href*="twitch.tv"]:before {
	content: '\f516';
}

.social-icons-menu li a[href*="twitter.com"]:before {
	content: '\f202';
}

.social-icons-menu li a[href*="vimeo.com"]:before {
	content: '\f212';
}

.social-icons-menu li a[href*="wordpress.org"]:before {
	content: '\f205';
}

.social-icons-menu li a[href*="wordpress.com"]:before {
	content: '\f205';
}

.social-icons-menu li a[href*="youtube.com"]:before {
	content: '\f213';
}

.social-icons-menu li a[href*="newsletter"]:before,
.social-icons-menu li a[href*="mailto"]:before {
	content: '\f410';
}

.social-icons-menu li a[href*="/feed"]:before,
.social-icons-menu li a[href*="/feed/"]:before,
.social-icons-menu li a[href*="?feed=rss2"]:before,
.social-icons-menu li a[href*="feedburner.google.com"]:before,
.social-icons-menu li a[href*="feedburner.com"]:before {
	content: '\f413';
}

/*--------------------------------------------------------------
# 11.0 - Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 3em 0;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}

#polylang-2 {
	margin: 0;
}

.widget-header {
	margin: 0 0 1.5em 0;
}

.widget-title {
	display: inline-block;
	margin: 0;
	padding: 0;
	font-family: 'Spartan', sans-serif;
	font-size: 18px;
	font-size: 1.125rem;
	font-weight: bold;
	text-transform: uppercase;
	border-bottom: 4px solid #eee;
}

.widget ul {
	margin: 0;
	padding: 0 0.3em 0 1em;
	list-style: circle;
}

.widget ul .children,
.widget ul .sub-menu {
	padding: 0;
	margin: 0.5em 0 0.5em 1em;
}

.widget-title a:link,
.widget-title a:visited {
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.widget-title a:hover,
.widget-title a:active {
	color: #404040;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
## 11.1 - Default Widgets
--------------------------------------------------------------*/

/* Tagcloud Widget */
.widget_tag_cloud .tagcloud {
	font-size: 14px;
	font-size: 0.875rem;
}

.widget_tag_cloud .tagcloud:before,
.widget_tag_cloud .tagcloud:after {
	content: "";
	display: table;
}

.widget_tag_cloud .tagcloud:after {
	clear: both;
}

.widget_tag_cloud .tagcloud a {
	float: left;
	display: inline-block;
	margin: 0 2px 2px 0;
	padding: 0.2em 0.5em 0.3em;
	text-decoration: none;
	background: #eee;
	font-size: 16px !important;
	font-size: 1rem !important;
}

.widget_tag_cloud .tagcloud a:link,
.widget_tag_cloud .tagcloud a:visited {
	color: #777;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.widget_tag_cloud .tagcloud a:hover,
.widget_tag_cloud .tagcloud a:active {
	color: #fff;
	background: #5d1165;
}

/* Theme Search Widget */
.search-form {
	display: block;
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.search-form .screen-reader-text {
	display: none;
}

.search-form .search-field {
	display: inline-block;
	margin: 0;
	width: 100%;
	padding: 0.5em 1.5em 0.5em 0.7em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-appearance: none;
}

.search-form .search-submit {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	padding: 0.6em 0.6em 0 0;
	cursor: pointer;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.search-form .search-submit .genericon-search {
	display: inline-block;
	padding: 0.05em 0 0.55em 0.45em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 24px;
	line-height: 1;
	font-family: 'Genericons';
	text-decoration: inherit;
	font-weight: normal;
	font-style: normal;
	vertical-align: middle;
	color: #fff;
	content: '\f400';
}

/*--------------------------------------------------------------
## 11.2 - Magazine Posts Widgets
--------------------------------------------------------------*/

.widget-magazine-posts {
	margin-bottom: -1em;
}

.widget-magazine-posts .type-post {
	margin: 0 0 2em 0;
	padding: 0;
	border: none;
	background: none;
}

.widget-magazine-posts .type-post .wp-post-image {
	margin: 0 0 0.5em;
	max-width: 100%;
}

.widget-magazine-posts .type-post .entry-content {}

.widget-magazine-posts .type-post .entry-content p {
	margin: 1em 0 0;
}

.widget-magazine-posts .type-post .more-link {
	margin: 1em 0 0;
}

.widget-magazine-posts .large-post .entry-title {
	font-size: 24px;
	font-size: 1.5rem;
}

.widget-magazine-posts .medium-post {
	float: left;
	display: block;
	width: 33.33333333%;
	padding-right: 2em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.widget-magazine-posts .medium-post .entry-title {
	font-size: 16px;
	font-size: 1rem;
}

.widget-magazine-posts .small-post {
	float: left;
	display: block;
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.widget-magazine-posts .small-post .wp-post-image {
	float: left;
	margin: 0 1em 0 0;
	max-width: 40%;
}

.widget-magazine-posts .small-post .entry-title {
	font-size: 15px;
	font-size: 0.9375rem;
}

.widget-magazine-posts .medium-post .entry-meta,
.widget-magazine-posts .small-post .entry-meta {
	font-size: 12px;
	font-size: 0.75rem;
}

/* Magazine Posts Boxed Widget Horizontal Style */
.widget-magazine-posts-boxed .magazine-posts-boxed-horizontal .large-post .wp-post-image {
	float: left;
	width: 50%;
	margin: 0;
	padding-right: 1em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.widget-magazine-posts-boxed .magazine-posts-boxed-horizontal .large-post .post-content {
	float: right;
	width: 50%;
	padding-left: 1em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.widget-magazine-posts-boxed .magazine-posts-boxed-horizontal .medium-posts {
	margin-right: -2em;
}

/* Magazine Posts Boxed Widget Vertical Style */
.widget-magazine-posts-boxed .magazine-posts-boxed-vertical .large-post {
	float: left;
	width: 50%;
	margin-bottom: 1em;
	padding-right: 1em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.widget-magazine-posts-boxed .magazine-posts-boxed-vertical .small-posts {
	width: 50%;
	margin-left: 50%;
	padding-left: 1em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* Magazine Posts Grid Widget */
.widget-magazine-posts-grid .magazine-posts-grid-row {
	margin-right: -2em;
}

.widget-magazine-posts-grid .magazine-posts-grid-row .large-post {
	float: left;
	width: 50%;
	padding-right: 2em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* Magazine Posts Columns Widget */
.poseidon-magazine-posts-columns {
	padding: 0;
}

.widget-magazine-posts-columns .magazine-posts-columns .magazine-posts-columns-content .magazine-posts-columns-post-list {
	float: left;
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.widget-magazine-posts-columns .magazine-posts-columns .magazine-posts-columns-content {
	float: left;
	width: 100%;
}

.widget-magazine-posts-columns .magazine-posts-column-left {
	float: left;
	width: 50%;
	padding-right: 1em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.widget-magazine-posts-columns .magazine-posts-column-right {
	margin-left: 50%;
	width: 50%;
	padding-left: 1em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.widget-magazine-posts-columns .medium-post {
	width: 100%;
	padding-right: 0;
}

/*--------------------------------------------------------------
# 12.0 - Posts and pages
--------------------------------------------------------------*/
.type-post,
.type-page,
.type-attachment {
	margin: 0 0 0 0;
	max-width: 100%;
}

.page-title,
.entry-title {
	display: block;
	font-family: 'Spartan', sans-serif;
	font-size: 40px;
	font-size: 2.5rem;
	line-height: 1.3;
	font-style: normal;
	padding: 0;
	margin-top: 0px;
	margin-bottom: 20px;
	color: #757575;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}


.page-title_alasivu {
	display: inline;
	font-family: 'Spartan', sans-serif;
	font-size: 50px !important;
	font-size: 2.5rem;
	line-height: 1.3;
	font-weight: 300;
	padding: 0;
	margin: 0;
	color: #bf1717;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}


.entry-title a:link,
.entry-title a:visited {
	color: #404040;
	text-decoration: none;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.entry-title a:hover,
.entry-title a:active {
	color: #404040;
}

#sticky-posts-2 .type-post .wp-post-image,
#sticky-posts-3 .type-post .wp-post-image,
#sticky-posts-4 .type-post .wp-post-image {
	margin: 0 0 0.5em;
	width: 180px;
}


/* Read more Link */
.more-link {
	display: inline-block;
	margin: 0;
	margin-top: 10px;
	margin-bottom: 50px;
	padding: 0;
	font-family: 'Spartan', sans-serif;
	font-weight: 400;
	text-transform: normal;
	text-decoration: none;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

/* Small Post Layout */
.post-layout-small .type-post .wp-post-image {
	float: left;
	max-width: 40%;
	margin: 0 1.5em 1.5em 0;
	padding: 0.3em 0 0;
}

.post-layout-small .type-post .entry-title {
	font-size: 28px;
	font-size: 1.75rem;
	margin-top: 40px;
}

.post-layout-small .type-post .entry-content {}

.post-layout-small .type-post .entry-excerpt p {
	margin-bottom: 1em;
}

/* Page Links | wp_link_pages() */
.page-links {
	margin: 0;
	word-spacing: 1em;
	font-weight: bold;
}

/* Entry Meta */
.entry-meta {
	margin: 0.5em 0.2em 0;
	color: #aaa;
	font-size: 13px;
	font-size: 0.8125rem;
	text-transform: uppercase;
	display: block;
}

.entry-meta a:link,
.entry-meta a:visited {
	color: #aaa;
}

.entry-meta a:hover,
.entry-meta a:active {
	color: #777;
}

.entry-meta span:after {
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 16px 'Genericons';
	vertical-align: middle;
	color: #aaa;
	content: '\f428';
	margin-left: 0.2em;
}

.entry-meta span:last-child:after {
	display: none;
}

/* Entry Tags */
.entry-tags {
	clear: both;
	margin: 0 0 2em;
}

.entry-tags .meta-tags {
	display: block;
	margin: 0;
	font-size: 14px;
	font-size: 0.875rem;
}

.entry-tags .meta-tags a {
	float: left;
	display: inline-block;
	margin: 0 2px 2px 0;
	padding: 0.2em 0.5em 0.3em;
	text-decoration: none;
	background: #eee;
}

.entry-tags .meta-tags a:link,
.entry-tags .meta-tags a:visited {
	color: #777;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.entry-tags .meta-tags a:hover,
.entry-tags .meta-tags a:active {
	color: #fff;
	background: #404040;
}

/* Post Navigation */
.post-navigation {
	margin: 1em 0 0;
	padding: 0.6em 0;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

.post-navigation .nav-links:before,
.post-navigation .nav-links:after {
	content: "";
	display: table;
}

.post-navigation .nav-links:after {
	clear: both;
}

.post-navigation .nav-links .nav-previous {
	float: left;
}

.post-navigation .nav-links .nav-next {
	float: right;
}

/* Theme Pagination */
.post-pagination {
	display: inline-block;
	border-top: 4px solid #eee;
	margin: 0 0 3em;
}

.post-pagination a,
.post-pagination .current {
	display: inline-block;
	margin: 0;
	padding: 0.5em 0.9em;
	text-align: center;
	text-decoration: none;
	font-family: 'Spartan', sans-serif;
	font-size: 16px;
	font-size: 1rem;
	font-weight: bold;
	text-transform: uppercase;
}

.post-pagination a:link,
.post-pagination a:visited {
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

/* Infinite Scroll Pagination */
.infinite-scroll .post-pagination {
	display: none;
}

.infinite-scroll #infinite-handle span {
	display: inline-block;
	margin: 0 0 3em;
	padding: 0;
	background: none;
	color: #23408f;
	font-family: 'Spartan', sans-serif;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.infinite-scroll #infinite-handle span:hover {
	color: #404040;
}

/* Archives and Search Heading */
.page-header {
	margin: 0 0 1.5em 0;
}

.page-header .archive-title {
	display: inline-block;
	margin: 0;
	padding: 0;
	font-family: 'Spartan', sans-serif;
	font-size: 18px;
	font-size: 1.125rem;
	font-weight: bold;
	text-transform: uppercase;
	color: #404040;
	border-bottom: 4px solid #eee;
}

.archive-description {
	color: #666;
}

/* Breadcrumbs */
.breadcrumbs {
	margin: 0;
	padding: 0.5em 0;
	border-bottom: 1px solid #ddd;
}

.breadcrumbs-container {
	color: #222;
	font-size: 14px;
	font-size: 0.875rem;
}

.breadcrumbs .trail-browse,
.breadcrumbs .trail-items,
.breadcrumbs .trail-items li {
	display: inline;
	margin: 0;
	padding: 0;
}

.breadcrumbs .trail-browse {
	margin-right: 0.5em;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: normal;
}

.breadcrumbs .trail-items {
	list-style: none;
}

.breadcrumbs .trail-items li::after {
	content: "\00bb";
	/* Raquo */
	padding: 0 0.5em;
}

.trail-separator-slash .trail-items li::after {
	content: "\002F";
}

.trail-separator-dash .trail-items li::after {
	content: "\2013";
}

.trail-separator-bull .trail-items li::after {
	content: "\2022";
}

.trail-separator-arrow-bracket .trail-items li::after {
	content: "\003e";
}

.trail-separator-raquo .trail-items li::after {
	content: "\00bb";
}

.trail-separator-single-arrow .trail-items li::after {
	content: "\2192";
}

.trail-separator-double-arrow .trail-items li::after {
	content: "\21D2";
}

.breadcrumbs .trail-items li:last-of-type::after {
	display: none;
}

/*--------------------------------------------------------------
# 11.0 - Comments
--------------------------------------------------------------*/

/* Comment Header */
.comments-header,
.comment-reply-title {
	margin: 0 0 1.5em 0;
}

.comments-header .comments-title,
.comment-reply-title span {
	display: inline-block;
	margin: 0;
	padding: 0;
	font-family: 'Spartan', sans-serif;
	font-size: 18px;
	font-size: 1.125rem;
	font-weight: bold;
	text-transform: uppercase;
	color: #404040;
	border-bottom: 4px solid #eee;
}

/* Comment List */
.comment-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.comment {
	margin: 0 0 1.5em;
	padding: 1.5em;
	border: 2px solid #eee;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}

.comment-meta {
	float: left;
	width: 100%;
	padding: 0;
}

.comment-meta .comment-author img {
	float: left;
	margin-right: 1em;
}

.bypostauthor {
	display: block;
}

.comment-meta .comment-metadata {
	margin-top: 0.3em;
	font-size: 14px;
	font-size: 0.875rem;
}

.comment-meta .comment-metadata a {
	margin-right: 1em;
}

.comment-content {
	clear: left;
	padding: 0.2em 0 0;
}

.comment-content a {
	word-wrap: break-word;
}

.comment ol.children {
	list-style: none;
}

.comment .comment-respond {
	margin-top: 2em;
}

/* Comment Pagination */
.comment-navigation {
	margin: 0 0 1.5em;
	padding: 0.5em 0;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	font-size: 14px;
	font-size: 0.875rem;
}

.comment-navigation .nav-previous {
	float: left;
}

.comment-navigation .nav-next {
	float: right;
}

/* Comment Form */
.comment-form {
	padding: 0;
}

.comment-form label {
	display: inline-block;
	min-width: 150px;
	font-weight: bold;
}

.comment-form textarea {
	margin-top: 0.4em;
}

.comment-form .submit {
	padding: 1em 1.6em;
}

.comment-reply-title small a {
	margin-left: 1em;
	text-decoration: underline;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: normal;
}

/*--------------------------------------------------------------
# 12.0 - Footer
--------------------------------------------------------------*/

.site-footer {
	font-size: 14px;
	font-weight: 300;
	font-size: 0.875rem;
	text-align: center;
	padding-top: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
}

.site-footer a {
	font-size: 14px;
	color: #404040;

}

.site-footer a:hover {
	text-decoration: underline;

}

.site-footer .site-info {
	padding: 2em 0;
}

.colored-svg svg {
	height: 25px;
}

.colored-svg svg path {
	fill: #858585;
}

/*--------------------------------------------------------------
# 13.0 - Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## 13.1 - Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	text-align: center;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/*--------------------------------------------------------------
## 13.2 - Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 23%;
	margin-right: 4px;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# 14.0 - Media Queries
--------------------------------------------------------------*/


img.lukuja3,
img.lukuja4 {
	display: none;

}


/*--------------------------------------------------------------
## 14.1 - Desktop X-Large ( < 1300px )
--------------------------------------------------------------*/
@media only screen and (max-width: 1300px) {

	.main-navigation-menu a {
		display: block;
		font-family: 'Spartan', sans-serif;
		font-size: 14px;
		font-weight: 300;
		letter-spacing: 1px;
		padding: 0.6em 0.4em;
		margin: 0.5em 0.4em;
		padding-bottom: 5px;
		text-transform: uppercase;
		text-decoration: none;
		-webkit-transition: all 0.2s ease;
		-moz-transition: all 0.2s ease;
		-ms-transition: all 0.2s ease;
		-o-transition: all 0.2s ease;
		transition: all 0.2s ease;

	}
}

/*--------------------------------------------------------------
## 14.1 - Desktop X-Large ( < 1280px )
--------------------------------------------------------------*/
@media only screen and (max-width: 80em) {

	.site-content {
		padding-top: 0px;
	}

	.content-area {
		padding-right: 3em;
	}


}

@media only screen and (max-width: 75em) {


	.page-title,
	.entry-title {
		font-size: 40px;
	}

	.post-layout-small .type-post .entry-title {
		font-size: 26px;
		font-size: 1.625rem;
	}

}


/*--------------------------------------------------------------
## 14.2 - Desktop Large ( < 1120px )
--------------------------------------------------------------*/
@media only screen and (max-width: 1850px) {

	img.logo_h1 {
		width: 80%;
		max-width: 427px;
		height: auto;
		margin-top: 6% !important;
	}
}

@media only screen and (max-width: 75em) {

	.main-navigation-menu a {
		display: block;
		font-family: 'Spartan', sans-serif;
		font-size: 13px;
		font-weight: 300;
		letter-spacing: 1px;
		padding: 0.6em 0.4em;
		margin: 0.5em 0.4em;
		padding-bottom: 5px;
		text-transform: uppercase;
		text-decoration: none;
	}

	.widget-magazine-posts .large-post .entry-title {
		font-size: 22px;
		font-size: 1.375rem;
	}

	.widget-magazine-posts .medium-post .entry-title {
		font-size: 15px;
		font-size: 0.9375rem;
	}

	.widget-magazine-posts .small-post .entry-title {
		font-size: 14px;
		font-size: 0.875rem;
	}

	.widget-magazine-posts-boxed .magazine-posts-boxed-horizontal .large-post .more-link {
		display: none;
	}

}

/*--------------------------------------------------------------
## 14.2 - Desktop Medium ( < 1040px )
--------------------------------------------------------------*/
@media only screen and (max-width: 65em) {

	.widget-magazine-posts-boxed .magazine-posts-boxed-horizontal .large-post .entry-content {
		display: none;
	}
}

/*--------------------------------------------------------------
## 14.3 - Desktop Small ( < 960px )
--------------------------------------------------------------*/
@media only screen and (max-width: 75.01em) {

	.page-title,
	.entry-title {
		font-size: 40px;
	}

	.post-layout-small .type-post .entry-title {
		font-size: 24px;
		font-size: 1.5rem;
	}

	/*** Mobile Main Navigation ***/

	/* Reset */
	.primary-navigation {
		margin: 0;
	}

	.primary-navigation,
	.main-navigation-menu li {
		float: none;
		position: static;
		padding-left: 2%;
		padding-right: 2%;
	}

	.main-navigation-menu ul {
		position: static;
		display: block;
	}

	.main-navigation-menu ul a {
		width: auto;
		float: none;
	}

	.main-navigation-menu li ul ul {
		margin-left: 0;
	}

	.main-navigation-menu li:hover ul ul,
	.main-navigation-menu li:hover ul ul ul,
	.main-navigation-menu li:hover ul ul ul ul,
	.main-navigation-menu li:hover ul,
	.main-navigation-menu li li:hover ul,
	.main-navigation-menu li li li:hover ul,
	.main-navigation-menu li li li li:hover ul {
		display: inline;
	}

	.main-navigation-menu>.menu-item-has-children>a:after,
	.main-navigation-menu ul .menu-item-has-children>a:after {
		display: none;
	}

	/* Main Navigation Toggle */
	.main-navigation-toggle {
		float: left;
		display: inline-block;
		margin: 0.3em 0 0.2em 2em;
		padding: 1em;
		background: none;
	}

	.main-navigation-toggle:hover,
	.main-navigation-toggle:focus,
	.main-navigation-toggle:active {
		cursor: pointer;
		background: none;
	}

	.main-navigation-toggle:after {
		float: left;
		display: inline-block;
		font-size: 32px;
		line-height: 1;
		font-family: 'Genericons';
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		text-decoration: inherit;
		vertical-align: middle;
		content: '\f419';
		color: #404040;
	}

	.main-navigation-toggle:hover:after {
		color: #3e3e3e;
	}

	/* Main Navigation Menu */
	.main-navigation-menu {
		float: left;
		width: 100%;
		display: none;
		margin-bottom: 0.4em;
		border-top: 1px solid #5c1164;
	}

	.main-navigation-menu a {
		display: block;
		clear: left;
		font-size: 15px;
		font-size: 0.9375rem;
		padding: 0.8em;
		border-bottom: 1px dotted #ccc;
	}

	.main-navigation-menu li:last-child a {
		padding-bottom: 14px;
		margin-bottom: 19px;
	}

	.main-navigation-menu ul {
		float: none;
		width: 100%;
		border: none;
	}

	.main-navigation-menu ul a {
		display: block;
		width: 100%;
		padding-left: 2em;
	}

	.main-navigation-menu ul li ul a {
		padding-left: 4em;
	}

	.main-navigation-menu ul li ul li ul a {
		padding-left: 6em;
	}

	.main-navigation-menu ul li ul li ul li ul a {
		padding-left: 8em;
	}

	.main-navigation-menu ul li:last-child a {
		border-bottom: 1px dotted #ccc;
	}

	.main-navigation-menu ul ul {
		border-top: 1px dotted #ccc;
	}

	/* Mobile Submenu Dropdowns */
	.main-navigation-menu .submenu-dropdown-toggle {
		float: right;
		display: block;
		margin: 0;
		padding: 0.2em 1em;
	}

	.main-navigation-menu .submenu-dropdown-toggle:hover {
		cursor: pointer;
	}

	.main-navigation-menu .submenu-dropdown-toggle:before {
		font-size: 20px;
		line-height: 1;
		font-family: 'Genericons';
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		text-decoration: inherit;
		vertical-align: middle;
		content: '\f431';
		color: #757575;
	}

	.main-navigation-menu .submenu-dropdown-toggle:hover:before {
		color: #3e3e3e;
	}

	.main-navigation-menu .submenu-dropdown-toggle.active:before {
		content: '\f432';
	}

	.main-navigation-menu ul .submenu-dropdown-toggle {
		padding: 0.5em 1em;
	}

	.main-navigation-menu ul .submenu-dropdown-toggle:before {
		font-size: 24px;
	}

}

/*--------------------------------------------------------------
## 14.4 - Tablet Large ( < 880px )
--------------------------------------------------------------*/
@media only screen and (max-width: 55em) {

	.content-area,
	.site-content .fullwidth-content-area {
		float: none;
		width: 100%;
		padding: 0;
	}

	.sidebar {
		clear: both;
		padding: 2em 2em 0;
		width: 100%;
		border-top: 0px solid #ddd;
	}

	/* Magazine Post Widgets */
	.widget-magazine-posts-boxed .magazine-posts-boxed-horizontal .large-post .entry-content,
	.widget-magazine-posts-boxed .magazine-posts-boxed-horizontal .large-post .more-link {
		display: inline-block;
	}

	.widget-magazine-posts .large-post .entry-title {
		font-size: 24px;
		font-size: 1.5rem;
	}

	.widget-magazine-posts .medium-post .entry-title {
		font-size: 16px;
		font-size: 1rem;
	}

	.widget-magazine-posts .small-post .entry-title {
		font-size: 15px;
		font-size: 0.9375rem;
	}

}

/*--------------------------------------------------------------
## 14.5 - Tablet Medium ( < 800px )
--------------------------------------------------------------*/
@media only screen and (max-width: 50em) {


	.site-branding .site-title {
		font-size: 35px;
		font-size: 2.1875rem;
	}

	.main-navigation-toggle:after {
		font-size: 29px;
	}

	/* Magazine Post Widgets */
	.widget-magazine-posts .large-post .entry-title {
		font-size: 22px;
		font-size: 1.375rem;
	}

	.widget-magazine-posts .medium-post .entry-title {
		font-size: 15px;
		font-size: 0.9375rem;
	}

	.widget-magazine-posts .small-post .entry-title {
		font-size: 14px;
		font-size: 0.875rem;
	}

	.widget-magazine-posts-boxed .magazine-posts-boxed-horizontal .large-post .more-link {
		display: none;
	}

}

/*--------------------------------------------------------------
## 14.6 - Tablet Small ( < 720px )
--------------------------------------------------------------*/
@media only screen and (max-width: 45em) {

	.widget-magazine-posts-boxed .magazine-posts-boxed-horizontal .large-post .entry-content {
		display: none;
	}

}

/*--------------------------------------------------------------
## 14.7 - Mobile Extra Large ( < 640px )
--------------------------------------------------------------*/
@media only screen and (max-width: 40em) {


	.page-title,
	.entry-title {
		font-size: 34px;
	}

	.post-layout-small .type-post .entry-title {
		font-size: 22px;
		font-size: 1.375rem;
	}

	/* Magazine Post Widgets */
	.widget-magazine-posts-grid .magazine-posts-grid-row {
		margin-right: 0;
	}

	.widget-magazine-posts-grid .medium-post-row {
		margin-right: -1.2em;
	}

	.widget-magazine-posts-grid .magazine-posts-grid-row .large-post,
	.widget-magazine-posts-boxed .magazine-posts-boxed-horizontal .large-post .wp-post-image,
	.widget-magazine-posts-boxed .magazine-posts-boxed-vertical .large-post,
	.widget-magazine-posts-columns .magazine-posts-column-left {
		float: none;
		width: 100%;
		padding: 0;
	}

	.widget-magazine-posts-boxed .magazine-posts-boxed-vertical .small-posts,
	.widget-magazine-posts-columns .magazine-posts-column-right {
		width: 100%;
		padding-top: 1em;
		margin-left: 0;
		padding-left: 0;
	}

	.widget-magazine-posts .large-post .wp-post-image {
		float: left;
		margin: 0 1.5em 0 0;
		max-width: 50%;
	}

	.widget-magazine-posts-boxed .magazine-posts-boxed-horizontal .large-post .post-content {
		float: right;
		width: 50%;
		padding-left: 1.5em;
	}

	.widget-magazine-posts-grid .magazine-posts-grid-row .large-post {
		clear: left;
	}

	.widget-magazine-posts-grid .magazine-posts-grid-row .large-post .wp-post-image {
		margin-bottom: 1em;
	}

	.widget-magazine-posts .large-post .entry-content {
		display: none;
	}

	.widget-magazine-posts .small-post .entry-title {
		font-size: 15px;
		font-size: 0.9375rem;
	}

}

/*--------------------------------------------------------------
## 14.8 - Mobile Large ( < 560px )
--------------------------------------------------------------*/
@media only screen and (max-width: 35em) {

	.site-branding .site-title {
		font-size: 32px;
		font-size: 2rem;
	}

	.main-navigation-toggle:after {
		font-size: 26px;
	}

	.widget-magazine-posts-grid .medium-post-row {
		margin-right: 0;
	}

	.widget-magazine-posts .medium-post {
		float: none;
		width: 100%;
		padding-right: 0;
	}

	.widget-magazine-posts .medium-post .wp-post-image {
		float: left;
		margin: 0 1em 0 0;
		max-width: 120px;
	}

	.widget-magazine-posts .large-post .entry-title {
		font-size: 20px;
		font-size: 1.25rem;
	}

}

/*--------------------------------------------------------------
## 14.9 - Mobile Medium ( < 480px )
--------------------------------------------------------------*/
@media only screen and (max-width: 30em) {

	.container {
		padding-left: 2em;
		padding-right: 2em;
	}

	.page-title,
	.entry-title {
		font-size: 24px;
		font-size: 1.5rem;
	}

	.post-layout-small .type-post .entry-title {
		font-size: 20px;
		font-size: 1.25rem;
	}

	.alignright,
	.alignleft {
		float: none;
		margin: 1em 0;
	}

	/* Magazine Homepage: Category Post Widgets */
	.widget-magazine-posts .medium-post .wp-post-image,
	.widget-magazine-posts .small-post .wp-post-image {
		max-width: 30%;
	}

	.widget-magazine-posts .medium-post .entry-title {
		font-size: 14px;
		font-size: 0.875rem;
	}

	.widget-magazine-posts .large-post .wp-post-image,
	.widget-magazine-posts-grid .magazine-posts-grid-row .large-post .wp-post-image {
		float: none;
		margin: 0 0 0.5em 0;
		max-width: 100%;
	}

	.widget-magazine-posts-boxed .magazine-posts-boxed-horizontal .large-post .post-content {
		float: none;
		width: 100%;
		padding: 0;
	}

	.widget-magazine-posts .large-post .entry-title {
		font-size: 22px;
		font-size: 1.375rem;
	}

	.widget-magazine-posts .large-post .entry-content,
	.widget-magazine-posts .large-post .entry-content .more-link {
		display: inline-block;
	}

}

/*--------------------------------------------------------------
## 14.9.5 - Mobile Small ( < 320px )
--------------------------------------------------------------*/
@media only screen and (max-width: 25em) {

	.post-layout-small .type-post .wp-post-image {
		float: none;
		max-width: 100%;
		margin: 0 0 0.5em;
		padding: 0;
	}

}

/*--------------------------------------------------------------
## 14.10 - Mobile Small ( < 320px )
--------------------------------------------------------------*/
@media only screen and (max-width: 20em) {

	.site-branding .site-title {
		font-size: 28px;
		font-size: 1.75rem;
	}

	.main-navigation-toggle {
		padding: 0.75em;
	}

	.main-navigation-toggle:after {
		font-size: 24px;
	}

	.page-title,
	.entry-title {
		font-size: 20px;
		font-size: 1.25rem;
	}

	.entry-meta span {
		display: block;
	}

	.entry-meta span:after {
		display: none;
	}

}


/*--------------------------------------------------------------
# 15.0 - Theme Option Styles
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## 15.1 - Sidebar Left Layout
--------------------------------------------------------------*/
.sidebar-left .content-area {
	float: right;
	padding-right: 0;
	padding-left: 4em;
}

.sidebar-left .sidebar {
	float: left;
}

/*--------------------------------------------------------------
## 15.2 - Sticky Header
--------------------------------------------------------------*/
@media only screen and (min-width: 60em) {

	.sticky-header .site-header {
		position: fixed;
		z-index: 100;
		top: 0;
		width: 100%;
		height: 86px;
		padding: 0 0em;
		border-bottom: 1px solid #5c1164;

	}

	.sticky-header.admin-bar .site-header {
		top: 32px;
	}

	.site-header-push {
		display: none;
	}

}

@media only screen and (max-width: 60em) {
	.sticky-header .site-header {
		position: relative;
	}

	.site-header-push {
		display: none;
	}
}

/*--------------------------------------------------------------
# 16.0 - Media Query Fixes
--------------------------------------------------------------*/

/* Ensure navigation is visible on desktop view */
@media only screen and (min-width: 75.01em) {
	.main-navigation-menu {
		margin: 0 auto;
		display: table;
		height: 52px;
	}
}


img.headerlogo {
	/* max-width: 330px; */
	/* height: auto; */
	/* margin: 0 auto; */
	/* display: table; */
	/* margin-bottom: 15px; */
}

img.logo_h1 {
	width: 80%;
	max-width: 427px;
	height: auto;
	margin-top: 8%;
}

.entry-content h1 {
	text-transform: uppercase;
	font-size: 36px;
	line-height: 1.1;
	font-weight: 300;
	letter-spacing: 2px;
	margin: 50px 0 20px 0;
}

.entry-content h2 {
	font-style: normal;
	font-family: 'Spartan', sans-serif;
	font-weight: 300 !important;
	font-size: 22px;
	margin-top: 40px;
	line-height: 26px;
	margin-bottom: 15px !important;
	text-transform: uppercase;
}

.entry-content h3 {
	font-style: normal;
	font-family: 'Spartan', sans-serif;
	font-size: 16px;
	line-height: 18px;
	margin-top: 20px;
	margin-bottom: 0 !important;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.entry-content h4 {
	font-style: normal;
	font-family: 'Spartan', sans-serif;
	font-size: 14px;
	line-height: 16px;
	margin-top: 20px;
	margin-bottom: 0 !important;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.entry-content p {}

.header-main {
	max-width: 1300px;
	padding: 0 0;
	margin-bottom: 0px;
	justify-content: space-between;
	align-items: center;
	height: 100px;
	/* display: flex;  */
}

@media only screen and (min-width: 75em) {
	.header-main {
		display: flex;
	}
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	width: 100%;
	padding: 0.3em 0.6em;
	color: #666;
	border: 1px solid #ddd;
}

#etusivuntoinenosa h2 {
	clear: both;
	font-family: 'Spartan', sans-serif;
	font-weight: 300 !important;
	letter-spacing: 1px;
	color: #757575;
	font-size: 33px;
	text-transform: uppercase;
	letter-spacing: 2px;
}

@media only screen and (max-width: 45em) {

	/*
	.sticky-header .site-header {
		position: fixed;
		z-index: 100;
		top: 0;
		width: 100%;
		padding: 0 0em;
		margin-top: -30px;
		padding-top: 30px;
		background: #FFF;
	}
	*/

	.header-main {
		max-width: 1240px;
		padding: 0 1em;

	}

	.main-navigation-toggle {
		float: left;
		display: inline-block;
		margin: 0.3em 0 0.2em 2em;
		padding: 1em 1em;
		background: none;
	}


	.entry-content h1 {
		font-size: 36px;
		font-weight: 700;
		letter-spacing: 2px;
		margin: 50px 0 20px 0;
	}

	.entry-content h2, #etusivuntoinenosa h2 {
		font-size: 24px;
		line-height: 34px;
	}
}

@media only screen and (max-width: 30em) {

	img.logo_h1 {
		width: 70%;
		max-width: 273px;
		height: auto;
		margin-top: 30px;
	}

	.entry-content h1 {
		font-size: 24px !important;
		font-weight: 700;
		letter-spacing: 2px;

	}

	.entry-content h2, #etusivuntoinenosa h2 {
		font-size: 20px;
		line-height: 24px;
		padding: 0 0 0 0;
	}
}

@media only screen and (max-width: 1250px) {

	.sidebar {
		border-top: 0px solid #ddd;
	}

}

@media only screen and (max-width: 1160px) {

	.header-main {
		max-width: 1240px;
		padding: 0 1em;
	}
}

@media only screen and (max-width: 960px) {

	.header-main {
		max-width: 1240px;
		padding: 0 2em;
	}

	.site-content {
		padding-top: 0px;
		background: rgba(255, 255, 255, 0.7);
		margin-top: 0px !important;
		margin-bottom: 0;
		padding-bottom: 50px;
	}
}

@media only screen and (max-width: 45em) {

	.header-main {
		max-width: 1240px;
		padding: 0 1em;
	}
}

#footer {
	width: 100%;
	margin: 0 auto;
	padding: 0 2.8em;
	background: #e3e3e3;
	text-align: center;
	padding-top: 22px;
	padding-bottom: 22px;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 1px;
}

#kielet a,
#kielet_mobi a {
	font-family: 'Spartan', sans-serif;
	font-size: 10px;
	font-weight: 300;
	letter-spacing: 1px;
	padding: 0 0;
	margin: 0 0;
	padding-bottom: 5px;
	text-transform: uppercase;
	text-decoration: none;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

#kielet_mobi {
	margin-top: 28px;
	margin-left: 50px;
	float: left;
	list-style: none;
	display: none;
	min-width: 64px;
}

#somekielet {
	/* float: right; */
	/* margin-right: 30px; */
	/* margin-bottom: -10px; */
}

#kielet {
	/* margin-top: -35px; */
	/* margin-left: 73px; */
	/* float: left; */
	list-style: none;
	min-width: 70px;
}

#kielet li,
#kielet_mobi li {
	display: inline;
}


li.lang-item:first-child :after {
	content: " /";
}

#kielet li.current-lang>a,
#kielet_mobi li.current-lang>a {
	text-decoration: none;
	border-bottom: 1px solid #3e3e3e;
}

#etusivunylaosa {
	width: 100%;
	margin-top: 50px !important;
	margin-bottom: 0px !important;
	text-align: center;
	margin: 0 auto;
	display: table;

}

#etusivuntoinenosa {
	clear: both;
	width: 88%;
	margin-left: 6%;
	margin-right: 6%;
	margin-top: 40px;
	text-align: center;
	display: inline-block;
	margin-bottom: 40px;
}

#fb {
	display: block;
}

#fbmobile {
	display: none;
}

ul.dpe-flexible-posts {
	text-align: center;
}

#dpe_fp_widget-2,
#dpe_fp_widget-3,
#dpe_fp_widget-4 {
	margin: 0 auto;
	display: table;
}

#sticky-posts-2 h4.page-title,
h4.entry-title {
	display: block;
	font-family: 'Spartan', sans-serif;
	font-size: 15px;
	text-transform: uppercase;
	line-height: 1.2;
	font-style: normal;
	padding: 0;
	margin-top: 0px;
	margin-bottom: 0px !important;
	color: #757575;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}

#sticky-posts-2 h4.entry-title a {

	color: #757575;
}

@media only screen and (max-width: 1200px) {

	#fb {
		display: none;
	}

	#fbmobile {
		display: block;
	}

	#etusivuntoinenosa_vasen {
		float: left;
		width: 520px;
	}

	#etusivuntoinenosa_oikea {
		float: left;
		width: 350px;
	}

	#etusivunkolmasosa {
		width: 80%;
	}
}

@media only screen and (max-width: 990px) {
	#etusivuntoinenosa {
		width: auto;
		margin-top: 40px;
		text-align: center;
		display: table;
		margin: 0 auto;
	}

	#etusivuntoinenosa_vasen {
		float: left;
		width: 710px;
		margin-bottom: 40px;
		margin-top: 40px;
	}

	#etusivuntoinenosa_oikea {
		float: none;
		clear: both;
		width: 100%;
	}

	#etusivuntoinenosa_vasen #tuotantolaatikot {
		position: relative;
		width: 350px;
		height: 350px;
		float: left;
		background: #5e1165;

	}
}

@media only screen and (max-width: 75em) {

	#logo {
		margin-top: 1rem;
	}

	#kielet_mobi a {
		font-family: 'Spartan', sans-serif;
		font-size: 10px;
		font-weight: 300;
		letter-spacing: 1px;
		padding-bottom: 5px;
		text-transform: uppercase;
	}

	#kielet_mobi {
		margin-top: 24px;
		margin-right: 30px;
		margin-left: 40px;
		float: right;
		list-style: none;
		display: inline;
	}

	#kielet {
		margin-top: 28px;
		margin-left: 20px;
		float: right;
		list-style: none;
		display: none;
	}
}

@media only screen and (max-width: 800px) {

	#etusivuntoinenosa_vasen {
		float: left;
		width: 100%;
		margin-bottom: 40px;
		margin-top: 40px;
	}

	#etusivunkolmasosa {
		width: 100%;
	}

	.yhteystiedot_teksti {
		width: 300px;
		float: none;
		margin-bottom: 20px;
		margin: 0 auto;
		display: table;
	}
	#kielet_mobi {
		margin-top: 20px;
		margin-right: 20px;
		margin-left: 20px;
	}
}

@media only screen and (max-width: 636px) {

	#valmiit {
		margin-top: 0px;
		float: none;
		clear: both;
		margin: 0 auto;
		display: table;
		text-align: center;
	}

	#dpe_fp_widget-2 ul>li.type-tuotannot,
	#dpe_fp_widget-3 ul>li.type-tuotannot,
	#dpe_fp_widget-4 ul>li.type-tuotannot {
		float: none;
		width: 255px;
		height: 255px;
		list-style: none;
		margin: 0 0;
		padding: 0 0;
	}
	#kielet_mobi {
		margin-top: 20px;
		margin-right: 10px;
		margin-left: 10px;
	}
}

}

@media only screen and (max-width: 500px) {

	#etusivuntoinenosa_vasen #tuotantolaatikot {
		position: relative;
		width: 300px;
		height: 300px;
		float: none;
		margin: 0 auto;
		background: #5e1165;

	}

	#uutiset .upw-posts article,
	#uutiset_sivu .upw-posts article,
	#tiedotteet .upw-posts article,
	#tiedotteet_sivu .upw-posts article {
		display: block;
		margin-bottom: 3px;
		padding-bottom: 3px;
		border-bottom: 1px solid #ddd;
	}

	#aika {
		float: left;
		font-size: 12px;
		margin-bottom: 0px;
		padding-bottom: 0px;
		margin-top: 5px;
		display: block;
		width: 70px;
	}

	.alignleft {
		display: block;
		float: left;
		margin: 0 auto;
		margin-right: 1.5em;
	}
	#kielet_mobi {
		margin-top: 20px;
		margin-right: 0px;
	}
}

.entry-tags {
	clear: both;
	margin: 0 0 2em;
}

.upw-posts .entry-meta {
	color: #888;
	font-size: .9em;
	margin-bottom: 0 !important;
	line-height: 1.4;
}

.meta-author {
	display: none;
}

.tp-video-play-button {
	display: none !important;
}

.upw-posts article {
	display: block;
	width: 21%;
	margin-left: 2%;
	margin-right: 2%;
	float: left;
	margin-bottom: 1.5em;
	padding-bottom: 1em;
	border-bottom: 0px solid #ddd !important;
}

#etusivunostot {
	margin-top: 50px;
}

.nostobox1 {
	float: left;
	text-align: center;
	font-size: 13px;
	line-height: 1.6;
	width: 32%;
	/*
	margin-left: 0%;
	margin-right: 5%;
	*/
	margin-left: 0%;
	margin-right: 0%;
}

.nostobox2 {
	float: left;
	text-align: center;
	font-size: 13px;
	line-height: 1.6;
	width: 32%;
	/*
	margin-left: 0%;
	margin-right: 5%;
	*/
	margin-left: 2%;
	margin-right: 2%;
}

.nostobox3 {
	float: left;
	text-align: center;
	font-size: 13px;
	line-height: 1.6;
	width: 32%;
	/*
	margin-left: 0%;
	margin-right: 0%;
	*/
	margin-left: 0%;
	margin-right: 0%;
}

.nosto1 {
	height: 200px;
	/*background: url("../../uploads/2021/03/projektinhallinta.jpg");*/
	/*background: url("../../uploads/2023/03/Paloturvalliset-verhokankaat.jpg");*/
	background: url("../../uploads/2023/03/Paloturvalliset-verhokankaat.jpg");
	background-size: 392px;
	padding-top: 60px;
}

.nosto2 {
	height: 200px;
	/*background: url("../../uploads/2018/02/etusivu-KANKAAT.jpg");*/
	/*background: url("../../uploads/2023/03/Verhoilut-ja-sisustuskankaat.jpg");*/
	background: url("../../uploads/2023/05/Sisustuskankaat.jpg");
	background-size: 392px;
	padding-top: 60px;
}

.nosto3 {
	height: 200px;
	/*background: url("../../uploads/2018/02/etusivu-TUOTTEET.jpg");*/
	/*background: url("../../uploads/2023/03/Tuotteet.jpg");*/
	background: url("../../uploads/2023/05/Tuotteet.jpg");;
	background-size: 392px;
	padding-top: 60px;
}

.nosto1, .nosto2, .nosto3 {
	background-repeat: no-repeat;
	background-size: cover;
}

.kangas1 {
	height: 200px;
	background: url("../../uploads/2018/02/navigointi-VERHOKANKAAT.jpg");
	background-size: 392px;
	padding-top: 35px;
}

.kangas2 {
	height: 200px;
	background: url("../../uploads/2018/02/verhoilu-ja-sis.jpg");
	background-size: 392px;
	padding-top: 35px;
}

.kangas3 {
	height: 200px;
	background: url("../../uploads/2018/02/SBM-1.jpg");
	background-size: 392px;
	padding-top: 45px;
}

.palvelu1 {
	height: 140px;
	background: #e3e3e3;
	background-size: 392px;
	padding-top: 14px;
}

.palvelu2 {
	height: 140px;
	background: #e3e3e3;
	background-size: 392px;
	padding-top: 14px;
}

.palvelu3 {
	height: 140px;
	background: #e3e3e3;
	background-size: 392px;
	padding-top: 14px;
}

.nosto1 h2,
.nosto2 h2,
.nosto3 h2 {
	clear: both;
	background: white;
	padding-top: 6px;
	padding-bottom: 6px;
	text-align: center;
	text-transform: uppercase;
	font-size: 22px;
	font-family: 'Spartan', sans-serif;
	font-weight: 300 !important;
	letter-spacing: 2px;
	color: #757575;
}

.nosto1 h2 a,
.nosto2 h2 a,
.nosto3 h2 a {
	color: #757575;
}

.nosto1 h2 a:hover,
.nosto2 h2 a:hover,
.nosto3 h2 a:hover {
	color: #4e4e4e;
}


.kangas1 h2,
.kangas2 h2,
.kangas3 h2 {
	clear: both;
	background: white;
	padding-top: 6px;
	padding-bottom: 6px;
	text-align: center;
	text-transform: uppercase;
	font-size: 22px;
	line-height: 1.1;
	font-family: 'Spartan', sans-serif;
	font-weight: 300 !important;
	letter-spacing: 2px;
	color: #757575;
}

.kangas1 h2 a,
.kangas2 h2 a,
.kangas3 h2 a {
	color: #757575;
}

.kangas1 h2 a:hover,
.kangas2 h2 a:hover,
.kangas3 h2 a:hover {
	color: #4e4e4e;
}

.palvelu1 h2,
.palvelu2 h2,
.palvelu3 h2 {
	clear: both;
	background: white;
	padding-top: 6px;
	padding-bottom: 6px;
	text-align: center;
	text-transform: uppercase;
	font-size: 22px;
	line-height: 1.1;
	font-family: 'Spartan', sans-serif;
	font-weight: 300 !important;
	letter-spacing: 2px;
	color: #757575;
}

.palvelu1 h2 a,
.palvelu2 h2 a,
.palvelu3 h2 a {
	color: #757575;
}

.palvelu1 h2 a:hover,
.palvelu2 h2 a:hover,
.palvelu3 h2 a:hover {
	color: #4e4e4e;
}

#sticky-posts-2 p {
	color: #757575;
	line-height: 1.7;
	font-size: 12px;
	font-family: 'Spartan', sans-serif;
	font-weight: 300;
	margin-top: 10px;
	margin-bottom: 10px;
}

#sticky-posts-2 .upw-posts .more-link,
#sticky-posts-3 .upw-posts .more-link,
#sticky-posts-4 .upw-posts .more-link {
	color: #757575;
	font-style: italic;
	font-weight: 300;
}

#footermenuwrap {
	max-width: 1250px;
	width: 100%;
	padding-left: 50px;
	padding-right: 50px;
	padding-top: 20px;
	padding-bottom: 20px;
	margin: 0 auto;
	display: table;
	font-size: 13px;
	text-transform: none;
}

#footermenuwrap .widget {
	margin: 0;
}

#footer1,
#footer2,
#footer3,
#footer4,
#footer5,
#footer6 {
	float: left;
	width: 16%;
	text-align: left;
}

#footer7 {
	float: left;
	width: 32%;
	text-align: left;
}

#footer1 li,
#footer2 li,
#footer3 li,
#footer4 li,
#footer5 li,
#footer6 li,
#footer7 li {
	list-style: none;
	font-weight: 600;
	line-height: 1.3;
	margin-top: 6px;
	margin-bottom: 7px;
	font-size: 12px;
}

#footermenuwrap ul>li {
	/* font-weight: 600; */
	text-transform: uppercase !important;
}

#footermenuwrap ul.sub-menu {
	margin: 0;
	padding: 0;
}

#footermenuwrap ul.sub-menu li {
	/* font-weight: 300 !important; */
	text-transform: none !important;
}

#footercopy {
	margin: 0 auto;
	display: table;
}

#somefooter {
	float: left;
	margin-top: 10px;
}

#someheader {
	float: right;
	margin-top: -40px;
}

#copy {
	float: left;
	margin-top: 30px;
	margin-left: 30px;
	font-size: 12px;
	color: #bababa;
}

#kangaslaatikot {
	position: relative;
	width: 250px;
	height: 250px;
}

#kangaslaatikot:hover {
	opacity: 0.5;
}

/* 
#dpe_fp_widget-2 ul>li.type-kangas,
#dpe_fp_widget-3 ul>li.type-kangas,
#dpe_fp_widget-4 ul>li.type-kangas,
#dpe_fp_widget-6 ul>li.type-tuote,
#dpe_fp_widget-7 ul>li.type-tuote,
#dpe_fp_widget-9 ul>li.type-tuote,
#dpe_fp_widget-8 ul>li.type-referenssi { */
div[id^="dpe_fp_widget-"] ul > li[class*="type-"] {
	display: inline-block;
	width: 250px;
	height: 250px;
	list-style: none;
	margin: 25px 25px 25px 25px;
	padding: 0 0;
}

.kangas_title {
	position: absolute;
	background: white;
	padding: 10px;
	top: 50%;
	width: 100%;
	transform: translateY(-50%);
	display: table;
	text-align: center;
	color: #757575;
	font-family: 'Spartan', sans-serif;
	font-size: 17px;
	line-height: 22px;
	text-transform: uppercase;
	font-weight: 300;
	letter-spacing: 2px;
}

#someheader_left {
	display: none;
}

#kangas_navi {

	width: 22%;
	float: left;
	margin-right: 2%;
	margin-top: 80px;
	padding: 20px 30px 10px 40px;
	background: #e3e3e3;
}

#kangas_navi ul.sub-menu li.current_page_item>a {
	color: #757575;
}

#palvelu_navi {

	width: 22%;
	float: left;
	margin-right: 2%;
	margin-top: 80px;
	padding: 20px 30px 10px 40px;
	background: #e3e3e3;
}

#palvelu_navi ul.sub-menu li.current_page_item>a {
	color: #757575;
}

#tuote_navi {

	width: 22%;
	float: left;
	margin-right: 2%;
	margin-top: 40px;
	padding: 20px 30px 10px 40px;
	background: #e3e3e3;
}

#kangas_navi_mobi,
#tuote_navi_mobi,
#palvelu_navi_mobi {
	display: none;
}

#kangas_navi h2,
#kangas_navi_mobi h2,
#tuote_navi h2,
#tuote_navi_mobi h2,
#palvelu_navi h2,
#palvelu_navi_mobi h2 {
	font-style: normal;
	font-family: 'Spartan', sans-serif;
	font-weight: 300 !important;
	font-size: 18px;
	margin-top: 20px;
	line-height: 22px;
	margin-bottom: 8px !important;
	text-transform: uppercase;
}

#kangas_navi li,
#kangas_navi_mobi li,
#tuote_navi li,
#tuote_navi_mobi li,
#palvelu_navi li,
#palvelu_navi_mobi li {
	list-style: none;
}

#kangas_navi li.current-menu-item,
#kangas_navi_mobi li.current-menu-item,
#tuote_navi li.current-menu-item,
#tuote_navi_mobi li.current-menu-item,
#palvelu_navi li.current-menu-item,
#palvelu_navi_mobi li.current-menu-item {
	font-weight: 600 !important;
}

#kangas_navi ul,
#kangas_navi_mobi ul,
#tuote_navi ul,
#tuote_navi_mobi ul,
#palvelu_navi ul,
#palvelu_navi_mobi ul {
	padding: 0;
	margin-top: 6px;
	font-size: 13px;
	text-transform: none;
}

#kangas_navi li.menu-item-has-children,
#kangas_navi_mobi li.menu-item-has-children,
#tuote_navi li.menu-item-has-children,
#tuote_navi_mobi li.menu-item-has-children,
#palvelu_navi li.menu-item-has-children,
#palvelu_navi_mobi li.menu-item-has-children {
	font-style: normal;
	font-family: 'Spartan', sans-serif;
	font-weight: 300 !important;
	font-size: 18px;
	margin-top: 20px;
	line-height: 22px;
	margin-bottom: 8px !important;
	text-transform: uppercase;
}

#kangas_navi.widget ul .children,
.widget ul .sub-menu li,
#kangas_navi_mobi.widget ul .children,
.widget ul .sub-menu li,
#tuote_navi.widget ul .children,
.widget ul .sub-menu li,
#tuote_navi_mobi.widget ul .children,
.widget ul .sub-menu li,
#palvelu_navi.widget ul .children,
.widget ul .sub-menu li,
#palvelu_navi_mobi.widget ul .children,
.widget ul .sub-menu li {
	font-weight: 300 !important;
}

#kangas_keski {

	width: 52%;
	float: left;
	margin-top: 80px;
	padding: 0 30px 30px 45px;
	background: #FFFFFF;
}

#palvelu_keski {

	width: 52%;
	float: left;
	margin-top: 80px;
	padding: 0 30px 30px 45px;
	background: #FFFFFF;
}

#kangas_keski .gallery {
	margin-top: 35px;

}

.gallery-caption {
	display: block;
	font-size: 11px;
}

#kangas_keski .gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
	width: 80px;
	margin-right: 10px;
}

#kangas_keski a {
	color: #8c8c8c;
	font-weight: 400;
}

#kangas_keski a:hover {
	color: #444444;
}


h1.kangas_otsikko {
	text-transform: uppercase;
	font-size: 36px;
	font-weight: 300;
	letter-spacing: 2px;
	margin: 0 0 0 0;
}

h1.kangas_otsikko p {
	margin: 0 0 0 0;
}

#hierarkia {
	font-style: italic;
	font-size: 11px;
	margin-bottom: 30px;
}

#hierarkia a {
	font-weight: 300;
}

#hierarkia a:hover {
	font-weight: 300;
	color: #444444;
}

#materiaalit_mobi {
	display: none;
}

#kangas_oikea {
	width: 22%;
	float: left;
	margin-left: 2%;
	margin-top: 80px;
	padding: 30px 0px 30px 20px;
	background: #FFFFFF;
}

#palvelu_oikea {
	width: 22%;
	float: left;
	margin-left: 2%;
	margin-top: 80px;
	padding: 30px 0px 30px 20px;
	background: #FFFFFF;
}

#kangas_oikea p {
	font-size: 11px;
}

#kangas_oikea .show_more p.wpsm-show,
.show_more p.wpsm-hide {
	font-size: 11px !important;
}

#tekniset {
	color: #757575;
	line-height: 1.6;
	font-size: 11px;
	font-family: 'Spartan', sans-serif;
	font-weight: 300;
	margin-bottom: 10px;
}

#tekniset p {
	font-size: 11px;
	line-height: 14px;
	margin-bottom: 10px !important;
	margin-top: 0 !important;
}

#kangas_oikea h2 {
	font-style: normal;
	font-family: 'Spartan', sans-serif;
	font-weight: 300 !important;
	font-size: 18px;
	margin-top: 40px;
	line-height: 22px;
	margin-bottom: -6px !important;
	text-transform: uppercase;
}

#kangas_oikea img.tuotekortti {
	border: 1px solid #e3e3e3;
	width: 160px;
}

#kangas_oikea .show_more {}

#kangas_oikea .show_more p.wpsm-show,
#kangas_oikea .show_more p.wpsm-hide {
	color: #8c8c8c !important;
}

.show_more p.wpsm-show,
.show_more p.wpsm-hide {
	color: #8c8c8c !important;
}

#tuote_keski {

	width: 46%;
	float: left;
	margin-top: 40px;
	padding: 0 30px 30px 30px;
	background: #FFFFFF;
}

#tuote_oikea {
	width: 28%;
	float: left;
	margin-left: 0%;
	margin-top: 0px;
	padding: 0px 0px 30px 20px;
	background: #FFFFFF;
}

#tuote_oikea h2,
#palvelu_oikea h2 {
	font-style: normal;
	font-family: 'Spartan', sans-serif;
	font-weight: 300 !important;
	font-size: 18px;
	margin-top: 40px;
	line-height: 22px;
	margin-bottom: -6px !important;
	text-transform: uppercase;
}

#tuote_oikea .show_more p.wpsm-show,
.show_more p.wpsm-hide,
#palvelu_oikea .show_more p.wpsm-show,
.show_more p.wpsm-hide {
	font-size: 11.5px !important;
}

#tuote_oikea p,
#palvelu_oikea p {
	font-size: 11.5px;
}

#tuoteotsikko_mobi,
#refeotsikko_mobi {
	display: none;
}

#tuoteotsikko {
	margin-top: 40px;
}

#tuoteotsikko h1 {
	text-transform: uppercase;
	font-size: 36px;
	line-height: 1.1;
	font-weight: 300;
	letter-spacing: 2px;
	margin: 0 0 0 0;
}

#tuoteotsikko h2 {
	text-transform: uppercase;
	font-size: 18px;
	line-height: 1.1;
	font-weight: 300;
	letter-spacing: 1px;
	margin: 12px 0 23px 0 !important;
}


#tuote_oikea img.tuotekortti {
	border: 1px solid #e3e3e3;
	width: 160px;

}

#tuote_oikea .show_more {}

#tuote_oikea .show_more p.wpsm-show,
#tuote_oikea .show_more p.wpsm-hide {
	color: #8c8c8c !important;
}

.wpcf7 p {
	margin-bottom: 0;
	margin-top: 0;
}

@media only screen and (max-width: 1200px) {
	#kangas_navi {
		width: 24%;
		float: left;
		margin-right: 2%;
		margin-top: 70px;
		padding: 10px 10px 10px 30px;
	}

	#tuote_navi {
		width: 24%;
		float: left;
		margin-right: 2%;
		padding: 10px 10px 10px 30px;
	}

	#kangas_keski {
		width: 50%;
		float: left;
		margin-top: 80px;
		padding: 0 10px 10px 10px;
	}

	#palvelu_keski {
		width: 50%;
		float: left;
		margin-top: 80px;
		padding: 0 10px 10px 10px;
	}

	#kangas_oikea {
		width: 22%;
		float: left;
		margin-left: 0%;
		margin-top: 80px;
		padding: 30px 0px 30px 20px;
	}

	#palvelu_oikea {
		width: 22%;
		float: left;
		margin-left: 0%;
		margin-top: 80px;
		padding: 30px 0px 30px 20px;
	}

	.main-navigation-menu a {
		display: block;
		font-family: 'Spartan', sans-serif;
		font-size: 12px;
		font-weight: 300;
		letter-spacing: 1px;
		padding: 0.6em 0.4em;
		margin: 0.5em 0.4em;
		padding-bottom: 5px;
		text-transform: uppercase;
		text-decoration: none;
	}

	/*--------------------------------------------------------------

	#somekielet {
		float: none !important;
		clear: both;
		margin: 0 auto;
		display: table;
		margin-top: 40px;
	}
	--------------------------------------------------------------*/

	#kielet {
		margin-top: -35px;
		margin-left: 0;
		float: left;
		list-style: none;
	}
}

@media only screen and (max-width: 1100px) {

	#footermenuwrap {
		max-width: 1200px;
		width: 100%;
		padding-left: 0px;
		padding-right: 0px;
		padding-top: 20px;
		padding-bottom: 20px;
		margin: 0 auto;
		display: table;
		font-size: 13px;
		text-transform: none;
	}

	#footer1,
	#footer2,
	#footer3,
	#footer4,
	#footer5,
	#footer6 {
		float: left;
		width: 16%;
		text-align: center;

	}

	#footer7 {
		float: left;
		width: 32%;
		text-align: center;

	}
}

@media only screen and (max-width: 960px) {
	#somekielet {
		display: none;
	}

	#someheader_left {
		display: block;
		float: left;
		margin-top: 20px;
	}

	#someheader {
		display: none;
	}

	.nosto1 h2,
	.nosto2 h2,
	.nosto3 h2 {
		font-size: 22px;
	}

	.nosto1,
	.nosto2,
	.nosto3 {
		padding-top: 62px;
	}

	#kangas_navi {
		display: none;
	}

	#palvelu_navi {
		display: none;
	}

	#tuote_navi {
		display: none;
	}

	#palvelu_keski {

		width: 70%;
		float: left;
		margin-top: 60px;
		padding: 0 10px 0px 0px;
	}

	#kangas_keski {

		width: 70%;
		float: left;
		margin-top: 60px;
		padding: 0 10px 0px 0px;
	}

	#kangas_oikea {
		width: 30%;
		float: left;
		margin-left: 0%;
		margin-top: 80px;
		padding: 30px 0px 30px 10px;
	}

	#kangas_navi_mobi {
		display: block;
		width: 100%;
		float: left;
		margin-right: 0%;
		margin-top: 0px;
		padding: 20px 30px 10px 40px;
		background: #e3e3e3;
	}

	#tuote_navi_mobi {
		display: block;
		width: 100%;
		float: left;
		margin-right: 0%;
		margin-top: 0px;
		padding: 20px 30px 10px 40px;
		background: #e3e3e3;
	}

	#palvelu_navi_mobi {
		display: block;
		width: 100%;
		float: left;
		margin-right: 0%;
		margin-top: 0px;
		padding: 20px 30px 10px 40px;
		background: #e3e3e3;
	}

	#tuote_keski {

		width: 100%;
		float: left;
		margin-top: 30px;
		padding: 0 30px 30px 30px;
		background: #FFFFFF;
	}

	#tuote_oikea {
		width: 100%;
		float: left;
		margin-left: 0%;
		margin-top: 0px;
		padding: 0px 0px 30px 20px;
		background: #FFFFFF;
	}

	#tuoteotsikko_mobi,
	#refeotsikko_mobi {
		display: block;
		margin-top: 0px;
	}

	#tuoteotsikko {
		display: none;
	}

	#tuoteotsikko_mobi h1 {
		text-transform: uppercase;
		font-size: 36px;
		line-height: 1.1;
		font-weight: 300;
		letter-spacing: 2px;
		margin: 0 0 0 0;
	}

	#refeotsikko_mobi h1 {
		text-transform: uppercase;
		font-size: 36px;
		line-height: 1.1;
		font-weight: 300;
		letter-spacing: 2px;
		margin: 0 0 20px 0;
	}

	#tuoteotsikko_mobi h2 {
		text-transform: uppercase;
		font-size: 18px;
		line-height: 1.1;
		font-weight: 300;
		letter-spacing: 1px;
		margin: 12px 0 23px 0 !important;
	}
}

@media only screen and (max-width: 60em) {
	.main-navigation-menu {
		display: none;
		float: left;
		width: 100%;
		margin-bottom: 0.4em;
		border-top: 0px;
	}
}

@media only screen and (max-width: 860px) {

	#footer {
		padding: 2em 0.2em 1em 0.2em;
	}

	#footer1,
	#footer2,
	#footer3,
	#footer4,
	#footer5,
	#footer6 {
		width: 33%;
		height: auto;
		min-height: 140px;
		padding-bottom: 20px;
		text-align: center;
		float: left;
	}

	#footer7 {
		width: 33%;
		height: auto;
		min-height: 140px;
		padding-bottom: 20px;
		text-align: center;
		float: left;
	}

}

@media only screen and (max-width: 700px) {
	.nostobox1 {
		text-align: center;
		font-size: 13px;
		line-height: 1.3;
		max-width: 390px;
		width: 100%;
		margin-bottom: 20px;
		float: none;
		margin: 0 auto;
		margin-bottom: 20px;
	}

	.nostobox2 {
		float: none;
		margin: 0 auto;
		text-align: center;
		font-size: 13px;
		line-height: 1.3;
		max-width: 390px;
		width: 100%;
		margin-bottom: 20px;
	}

	.nostobox3 {
		float: none;
		text-align: center;
		font-size: 13px;
		line-height: 1.3;
		max-width: 390px;
		width: 100%;
		margin: 0 auto;
		margin-bottom: 20px;
	}

	.upw-posts article {
		display: block;
		width: 46%;
		height: auto;
		min-height: 370px;
		margin-left: 2%;
		margin-right: 2%;
		float: left;
		margin-bottom: 1.5em;
		padding-bottom: 1em;
		border-bottom: 0px solid #ddd !important;
	}

	h1 {
		font-size: 26px;
		line-height: 1.2;
		margin: 0.67em 0;
		letter-spacing: 2px !important;
	}

	#etusivunylaosa {
		width: 95%;
		margin-top: 60px !important;
		margin-bottom: 0px !important;
		text-align: center;
		margin: 0 auto;
		display: table;

	}
}

@media only screen and (max-width: 700px) {
	.upw-posts article {
		display: block;
		width: 100%;
		height: auto;
		min-height: 100px;
		margin-left: 0%;
		margin-right: 0%;
		float: left;
		margin-bottom: 1.5em;
		padding-bottom: 1em;
		border-bottom: 0px solid #ddd !important;
	}
}

@media only screen and (max-width: 600px) {

	#kangas_keski,
	#palvelu_keski {
		width: 100%;
		float: left;
		margin-top: 40px;
		padding: 0 10px 0px 0px;
	}

	#materiaalit_mobi {
		display: block;
	}

	#materiaalit {
		display: none;
	}

	#kangas_oikea,
	#palvelu_oikea {
		width: 100%;
		float: left;
		margin-left: 0%;
		margin-bottom: 0;
		margin-top: 0px;
		padding: 30px 0px 30px 0px;
	}
}

@media only screen and (max-width: 500px) {

	#footer1,
	#footer2,
	#footer3,
	#footer4,
	#footer5,
	#footer6 {
		width: 50%;
		height: auto;
		min-height: 40px;
		padding-bottom: 20px;
		text-align: center;
		float: left;
	}

	#footer7 {
		width: 50%;
		height: auto;
		min-height: 40px;
		padding-bottom: 20px;
		text-align: center;
		float: left;
	}
}

#artikkeli_wrap {
	margin-top: 0px;
}

#ajankohtaista_wrap {
	margin-top: 30px;
}

.meta-category {
	display: none;
}

#category-posts-2-internal .cat-post-current .cat-post-title,
#category-posts-3-internal .cat-post-current .cat-post-title,
#category-posts-4-internal .cat-post-current .cat-post-title {
	font-weight: 400 !important;
	text-transform: uppercase;
}

.entry-meta span:after {
	display: none;
	-webkit-font-smoothing: antialiased;
	font: normal 16px 'Genericons';
	vertical-align: middle;
	color: #aaa;
	content: '\f428';
	margin-left: 0.2em;
}

ul#category-posts-2-internal,
ul#category-posts-3-internal,
ul#category-posts-4-internal {
	margin: 0;
	padding: 0;
}


.cat-post-widget {
	margin-top: 80px;
	margin-bottom: 80px;
	padding: 20px 30px 40px 40px;
	background: #e3e3e3;
}

.cat-post-item {
	font-weight: 300 !important;
	list-style: none;
	margin-bottom: 10px;
	line-height: 16px;
	font-family: 'Spartan', sans-serif;
	font-size: 13px;
}

#category-posts-2>.widget-header,
#category-posts-3>.widget-header,
#category-posts-4>.widget-header {
	margin: 0 0 10px 0;
}

#category-posts-2>div>h3.widget-title,
#category-posts-3>div>h3.widget-title,
#category-posts-4>div>h3.widget-title {
	font-style: normal;
	font-family: 'Spartan', sans-serif;
	font-weight: 300 !important;
	font-size: 18px;
	margin-top: 20px;
	line-height: 22px;
	margin-bottom: 8px !important;
	text-transform: uppercase;
	border-bottom: 0;
}

.tuotetiedot img {
	width: 80%;
}

#cnss_widget-4 {
	text-align: left;
	margin-left: -17px;
}

#text-2 p {
	margin: 0 0 0 0;
}

#logo .widget {
	margin: 0 0 0 0 !important;
}

@media screen and (min-width: 960px) {
	.alignwide,
	.alignfull {
		width: 100vw;
		max-width: 100vw;
		margin-left: calc(50% - 50vw);
	}
}

@media only screen and (min-width: 1200px) {
	.mosaic .wp-block-group__inner-container {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		grid-auto-rows: 250px;
		gap: 20px 20px;
	}
	.mosaic .wp-block-cover {
		min-height: 100%;
	}
}


.mosaic .wp-block-cover .wp-block-cover__inner-container,
.mallisto.wp-block-cover .wp-block-cover__inner-container,
.ref-mosaic .wp-block-cover .wp-block-cover__inner-container {
	display: none;
}

.mosaic .wp-block-cover:hover .wp-block-cover__inner-container,
.mallisto.wp-block-cover:hover .wp-block-cover__inner-container,
.ref-mosaic .wp-block-cover:hover .wp-block-cover__inner-container {
	display: block;
	max-width: 400px;
}

.mosaic .wp-block-cover:hover .wp-block-cover__inner-container a h2,
.mallisto.wp-block-cover:hover .wp-block-cover__inner-container a h2,
.ref-mosaic .wp-block-cover:hover .wp-block-cover__inner-container a h2 {
	color: white;
}

.mosaic .wp-block-cover::before,
.mallisto.wp-block-cover::before,
.ref-mosaic .wp-block-cover::before {
	opacity: 0 !important;
}

.mosaic .wp-block-cover:hover::before,
.mallisto.wp-block-cover:hover::before,
.ref-mosaic .wp-block-cover:hover::before {
	opacity: 0.5 !important;
}

.mosaic .wp-block-cover,
.mallisto.wp-block-cover {
	max-height: 250px;
}

.mosaic .wp-block-cover,
.mallisto.wp-block-cover,
.ref-mosaic .wp-block-cover {
	background-size: cover;
	background-repeat: no-repeat;
	padding: 30px;
}

@media only screen and (min-width: 1200px) {
	.mallisto.wp-block-cover,
	.ref-mosaic .wp-block-cover {
		min-height: 100%;
	}
}

@media only screen and (max-width: 1199px) {
	.mallisto.wp-block-cover,
	.ref-mosaic .wp-block-cover {
		margin-bottom: 10px;
	}
}

@media only screen and (max-width: 1199px) {
	.mosaic .wp-block-cover {
		margin-bottom: 10px;
	}
}

.mosaic .wp-block-cover h2,
.mallisto.wp-block-cover h2,
.ref-mosaic .wp-block-cover h2 {
	margin-top: 0px;
}

.mosaic .wp-block-cover h2 a,
.mallisto.wp-block-cover h2 a,
.ref-mosaic .wp-block-cover h2 a {
	color: white;
}

@media only screen and (max-width: 1199px) {
	.mosaic .wp-block-cover, .ref-mosaic .wp-block-cover {
		min-height: calc( 100vw * 0.533 );
	}
}

.mosaic .wp-block-cover .wp-block-cover__inner-container:hover h2 a,
.mallisto.wp-block-cover .wp-block-cover__inner-container:hover h2 a,
.ref-mosaic .wp-block-cover .wp-block-cover__inner-container:hover h2 a,
.mosaic .wp-block-cover .wp-block-cover__inner-container:hover p a,
.mallisto.wp-block-cover .wp-block-cover__inner-container:hover p a,
.ref-mosaic .wp-block-cover .wp-block-cover__inner-container:hover p a {
	/* color: #c35147; */
}

.entry-content > a:hover > h2 {
	color: #c35147 !important;
}

.mosaic .wp-block-cover:nth-child(1) {
	grid-column-end: span 2;
	grid-row-end: span 2;
	max-height: 500px;
}

.etu-sivu-title {
	font-size: 80px !important;
	text-shadow: 0 0 5px gray;
	line-height: 100px !important;
	max-width: 900px;
	margin: 0 auto 200px auto !important;
	text-align: left;
	font-weight: 200 !important;
}

.entry-content h2.etu-sivu-title {
	font-weight: 200 !important;
}

@media only screen and (min-width: 1200px) {
	.ref-mosaic .wp-block-group__inner-container {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		grid-auto-rows: 250px;
		gap: 20px 20px;
	}
}

.ref-mosaic .wp-block-cover {
	max-height: 200px;
}

.ref-mosaic .wp-block-cover:nth-child(5n+1) {
	grid-row-end: span 2;
}

.ref-mosaic .wp-block-cover:nth-child(5n+2) {
	grid-column-end: span 2;
	grid-row-end: span 2;
}

.ref-mosaic .wp-block-cover:nth-child(5n+3) {
	grid-column-end: span 2;
	grid-row-end: span 2;
}

.ref-mosaic .wp-block-cover:nth-child(5n+4) {}

.ref-mosaic .wp-block-cover:nth-child(5n+5) {}

@media only screen and (min-width: 1024px) {
	.gallery-mosaic .blocks-gallery-grid {
		display: grid;
		grid-template-columns: 1fr 0.7fr 1fr;
		grid-auto-rows: 500px;
		gap: 20px 20px;
	}
	.gallery-mosaic .blocks-gallery-item {
		height: 500px;
	}
}

.gallery-mosaic .blocks-gallery-item figure {
	display: block;
}

.gallery-mosaic .blocks-gallery-item figure img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.gallery-mosaic .blocks-gallery-item figure figcaption,
.baguetteBox-overlay figcaption {
	display: none;
}
.gallery-mosaic .blocks-gallery-item:hover figure figcaption,
.baguetteBox-overlay figcaption {
	display: block;
}

.gallery-mosaic .blocks-gallery-item:nth-child(5n+1) {
	grid-column-end: span 3;
}

.gallery-mosaic .blocks-gallery-item:nth-child(5n+2) {}

.gallery-mosaic .blocks-gallery-item:nth-child(5n+3) {
	grid-column-end: span 2;
}

.gallery-mosaic .blocks-gallery-item:nth-child(5n+4) {
	grid-column-end: span 2;
}

.gallery-mosaic .blocks-gallery-item:nth-child(5n+5) {}

.wp-block-button .wp-block-button__link {
	color: #868686 !important;
	text-transform: uppercase;
}

.wp-block-button:not(.palvelut-button):not(.mallisto-button) .wp-block-button__link:hover {
	color: #c35147 !important;
	border-color: #c35147;
}

.palvelut-button,
.mallisto-button {
	font-size: 40px;
	text-transform: uppercase;
}

.wp-block-button.palvelut-button .wp-block-button__link,
.wp-block-button.mallisto-button .wp-block-button__link {
	color: white !important;
}

.mallisto-button {
	margin-left: 180px;
}

.palvelut-button a,
.mallisto-button a {
	border-width: 3px !important;
	background-color: rgba(0, 0, 0, 0.05) !important;
}

.main-navigation-menu li.current_page_item > a,
.main-navigation-menu a:hover /* .main-navigation-menu a:hover:after */
{
	border-bottom: 2px solid #c35147 !important;
}

@media only screen and (min-width: 1024px) {
	.ingressi {
		max-width: 80%;
	}
}

.ingressi {
	line-height: 1.6;
	font-size: 13px !important;
}

#referenssi-filter fieldset {
	display: flex;
	border: 0;
	flex-wrap: wrap;
	justify-content: center;
}
#referenssi-filter fieldset .button {
	margin-right: 1em !important;
}
#referenssi-filter fieldset .button.mixitup-control-active {
	color: #c35147 !important;
}

.mixitup-page-list {
	display: flex;
	justify-content: center;
}

#content a{
	font-weight: 500;
}

.wp-block-button__link {
	padding: .767em 1.333em .667rem 1.333rem !important;
}

/* .login-link {
	text-transform: uppercase;
	border: 2px solid #858585;
	padding: .6rem 1rem .5rem 1rem;
	margin-left:10px;
	margin-right:10px;
}
.menu-item-type-custom a:hover {
	border: 2px solid #858585 !important;
} */

.wp-block-cover.alignfull {
	min-height: 220px;
}

@media only screen and (min-width: 75.01em) {
	.menu-item-type-custom a {
		text-transform: uppercase;
		border: 2px solid #858585;
		padding: .6rem 1rem .5rem 1rem;
		margin-left:10px;
		margin-right:10px;
	}
	.menu-item-type-custom a:hover {
		border: 2px solid #858585 !important;
	}
	.wp-block-cover.alignfull {
		min-height: 500px;
	}
}

/* @media only screen and (min-width: 60em) and (max-width: 75em) {
	.login-link {
		position:absolute;
		right:120px;
		margin-top: 10px;
	}
}
@media only screen and (max-width: 60em) {
	.login-link {
		position:absolute;
		right:110px;
		margin-top: 10px;
	}
} */