/*
	Theme Name: Suomi-Venaja-Seura
	Theme URI:
	Description: A mobile responsive and HTML5 theme built for the Genesis Framework.
	Author:
	Author URI:

	Version: 2.1.1

	Tags: black, blue, white, one-column, two-columns, three-columns, left-sidebar, right-sidebar, responsive-layout, custom-menu, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, premise-landing-page

	Template: genesis
	Template Version: 2.1

	License: GPL-2.0+
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Table of Contents

	- Imports
	- HTML5 Reset
		- Baseline Normalize
		- Box Sizing
		- Float Clearing
	- Defaults
		- Typographical Elements
		- Headings
		- Objects
		- Gallery
		- Forms
		- Tables
	- Structure and Layout
		- Site Containers
		- Column Widths and Positions
		- Column Classes
	- Common Classes
		- Avatar
		- Genesis
		- Search Form
		- Titles
		- WordPress
	- Widgets
		- Featured Content
	- Plugins
		- Genesis eNews Extended
		- Genesis Responsive Slider
		- Gravity Forms
		- Jetpack
	- Site Header
		- Title Area
		- Widget Area
	- Site Navigation
		- Header Navigation
		- Primary Navigation
		- Secondary Navigation
		- Responsive Menu
	- Content Area
		- Home Page
		- Entries
		- Entry Meta
		- After Entry
		- Pagination
		- Comments
	- Sidebars
	- Footer Widgets
	- Site Footer
	- Theme Colors
		- Enterprise Pro Black
		- Enterprise Pro Green
		- Enterprise Pro Orange
		- Enterprise Pro Red
		- Enterprise Pro Teal
	- Media Queries
		- Retina Display
		- Max-width: 1139px
		- Max-width: 1023px
		- Max-width: 767px

*/


/*
Imports
---------------------------------------------------------------------------------------------------- */

@font-face {
	font-family: 'Icon';
	src:url('fonts/Icon.eot');
	src:url('fonts/Icon.eot?#iefix') format('embedded-opentype'),
		url('fonts/Icon.woff') format('woff'),
		url('fonts/Icon.ttf') format('truetype'),
		url('fonts/Icon.svg#Icon') format('svg');
	font-weight: normal;
	font-style: normal;
}


/*
HTML5 Reset
---------------------------------------------------------------------------------------------------- */

/* Baseline Normalize
	normalize.css v2.1.3 | MIT License | git.io/normalize
--------------------------------------------- */

article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a{background:transparent}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}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}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}

/* Box Sizing
--------------------------------------------- */

*,
input[type="search"] {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
}

/* Float Clearing
--------------------------------------------- */

.author-box:before,
.clearfix:before,
.entry:before,
.entry-content:before,
.footer-widgets:before,
.nav-primary:before,
.nav-secondary:before,
.pagination:before,
.site-container:before,
.site-footer:before,
.site-header:before,
.site-inner:before,
.wrap:before {
	content: " ";
	display: table;
}

.author-box:after,
.clearfix:after,
.entry:after,
.entry-content:after,
.footer-widgets:after,
.nav-primary:after,
.nav-secondary:after,
.pagination:after,
.site-container:after,
.site-footer:after,
.site-header:after,
.site-inner:after,
.wrap:after {
	clear: both;
	content: " ";
	display: table;
}


/*
Defaults
---------------------------------------------------------------------------------------------------- */

/* Typographical Elements
--------------------------------------------- */

body {
	background-color: #ffffff;
	color: #444;
    /*font-family: 'Merriweather', sans-serif !important;*/
    font-family: 'Roboto', sans-serif !important;
	font-weight: 400;
	font-size: 15px; /* 14px */
	line-height: 1.66; /* 1.625 */
}

a,
button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus,
.button {
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition:    all 0.1s ease-in-out;
	-ms-transition:     all 0.1s ease-in-out;
	-o-transition:      all 0.1s ease-in-out;
	transition:         all 0.1s ease-in-out;
}

::-moz-selection {
	background-color: #333;
	color: #fff;
}

::selection {
	background-color: #333;
	color: #fff;
}

a {
	color: #1a4994;
	text-decoration: none;
}
a:hover {
	color: #333;
}
.content a {
	color: #4696f0;
}
.content a:hover {
	color: #255a96;
}
.content h1 a,
.content h2 a,
.content h3 a,
.content h4 a {
	color: #1a4994;
}
.content h1 a:hover,
.content h2 a:hover,
.content h3 a:hover,
.content h4 a:hover {
	color: #333;
}

p {
	margin: 0 0 12px;
	padding: 0;
}

strong {
	color: #333;
	font-weight: 700;
}

ol,
ul {
	margin: 0;
	padding: 0;
}

li {
	list-style-type: none;
}

blockquote,
blockquote::before {
	color: #999;
}

blockquote {
	margin: 40px;
}

blockquote::before {
	content: "\201C";
	display: block;
	font-size: 30px;
	height: 0;
	left: -20px;
	position: relative;
	top: -10px;
}

cite {
	font-style: normal;
}

/* Headings
--------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #333;
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	line-height: 1.2;
	margin: 0 0 10px;
}

h1 {
	font-size: 2.8em;
}

h2 {
	font-size: 2.4em;
}

h3 {
	font-size: 2.0em;
}

h4 {
	font-size: 1.6em;
}

h5 {
	font-size: 1.4em;
}

h6 {
	font-size: 1.2em;
}

/* Objects
--------------------------------------------- */

embed,
iframe,
img,
object,
video,
.wp-caption {
	max-width: 100%;
}

img {
	height: auto;
}

.featured-content img,
.gallery img {
	width: auto;
}

/* Gallery
--------------------------------------------- */

.gallery {
	overflow: hidden;
	margin-bottom: 28px;
}

.gallery-item {
	float: left;
	margin: 0;
	padding: 0 4px;
	text-align: center;
	width: 100%;
}

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

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

.gallery-columns-4 .gallery-item {
	width: 25%;
}

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

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

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

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

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

.gallery-columns-2 .gallery-item:nth-child(2n+1),
.gallery-columns-3 .gallery-item:nth-child(3n+1),
.gallery-columns-4 .gallery-item:nth-child(4n+1),
.gallery-columns-5 .gallery-item:nth-child(5n+1),
.gallery-columns-6 .gallery-item:nth-child(6n+1),
.gallery-columns-7 .gallery-item:nth-child(7n+1),
.gallery-columns-8 .gallery-item:nth-child(8n+1),
.gallery-columns-9 .gallery-item:nth-child(9n+1) {
	clear: left;
}

.gallery .gallery-item img {
	border: none;
	height: auto;
}

/* Forms
--------------------------------------------- */

input,
select,
textarea {
	background-color: #fff;
	border: 1px solid #ececec;
	border-radius: 3px;
	box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.06);
	color: #aaa;
	font-size: 1em;
	font-weight: 400;
	padding: 5px;
	width: 100%;
}

input:focus,
textarea:focus {
	border: 1px solid #999;
	outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

::-moz-placeholder {
	color: #666;
	opacity: 1;
	font-weight: 400;
}

::-webkit-input-placeholder {
	color: #666;
	font-weight: 400;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.content a.button,
.home-top .more-link {
	background-color: #1a4994;
	border: none;
/*	border-radius: 3px; */
	color: #fff;
	cursor: pointer;
	font-size: 1.2em;
	font-weight: 400;
	padding: 5px 24px;
	width: auto;
}
.button.mediumbutton,
.content a.button.mediumbutton {
	background-color: #db642c;
	border-radius: 3px;
	font-size: 1.2em;
	padding: 5px 16px;
	margin-bottom: 4px;
}
.button.smallbutton,
.content a.button.smallbutton {
	background-color: #db642c;
	border-radius: 3px;
	font-size: 1.0em;
	padding: 3px 8px;
	margin-bottom: 4px;
}

button:hover,
input:hover[type="button"],
input:hover[type="reset"],
input:hover[type="submit"],
.button:hover,
.content a.button:hover,
.home-top .more-link:hover {
	background-color: #333;
	color: #fff;
}

.entry-content .button:hover,
.footer-widgets .button {
	color: #fff;
}

.button {
	display: inline-block;
}

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

/* Tables
--------------------------------------------- */

table {
	border-collapse: collapse;
	border-spacing: 0;
	line-height: 2;
	margin-bottom: 40px;
	width: 100%;
}

tbody {
	border-bottom: 1px solid #ddd;
}

td,
th {
	text-align: left;
}

td {
	border-top: 1px solid #ddd;
	padding: 6px 0;
}

th {
	font-weight: 700;
	text-transform: uppercase;
}


/*
Structure and Layout
---------------------------------------------------------------------------------------------------- */

/* Site Containers
--------------------------------------------- */

.breadcrumb > span,
.wrap {
	margin: 0 auto;
	max-width: 1140px;
}
.kavennettu-sivu .home-upper .wrap {
	max-width:900px;
	width:100%;
	display:flex;
	align-items: center;
	justify-content: center;
}
.home-upper .wrap {
	width:100%;
	display:flex;
	align-items: center;
	justify-content: center;
	position:relative;
}
.enterprise-pro-landing .wrap {
	max-width: 800px;
}

.site-inner {
	background-color: #fff;
	clear: both;
	padding-top: 40px;
}

/* Column Widths and Positions
--------------------------------------------- */

/* Wrapping div for .content and .sidebar-primary */

.content-sidebar-sidebar .content-sidebar-wrap,
.sidebar-content-sidebar .content-sidebar-wrap,
.sidebar-sidebar-content .content-sidebar-wrap {
	width: 920px;
}

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

.sidebar-content-sidebar .content-sidebar-wrap,
.sidebar-sidebar-content .content-sidebar-wrap {
	float: right;
}

/* Content */

.content {
	float: right;
	width: 65.21%;
}

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

.content-sidebar-sidebar .content,
.sidebar-content-sidebar .content,
.sidebar-sidebar-content .content {
	width: 520px;
}

.full-width-content .content {
	width: 100%;
}

/* Primary Sidebar */

.sidebar-primary {
	float: right;
	width: 30.42%;
}

.sidebar-content .sidebar-primary,
.sidebar-sidebar-content .sidebar-primary {
	float: left;
}

/* Secondary Sidebar */

.sidebar-secondary {
	float: left;
	width: 180px;
}

.content-sidebar-sidebar .sidebar-secondary {
	float: right;
}

/* Column Classes
	Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css
--------------------------------------------- */

.five-sixths,
.four-sixths,
.one-fourth,
.one-half,
.one-sixth,
.one-third,
.three-fourths,
.three-sixths,
.two-fourths,
.two-sixths,
.two-thirds {
	float: left;
	margin-left: 2.564102564102564%;
}

.one-half,
.three-sixths,
.two-fourths {
	width: 48.717948717948715%;
}

.one-third,
.two-sixths {
	width: 31.623931623931625%;
}

.four-sixths,
.two-thirds {
	width: 65.81196581196582%;
}

.one-fourth {
	width: 23.076923076923077%;
}

.three-fourths {
	width: 74.35897435897436%;
}

.one-sixth {
	width: 14.52991452991453%;
}

.five-sixths {
	width: 82.90598290598291%;
}

.first {
	clear: both;
	margin-left: 0;
}


/*
Common Classes
---------------------------------------------------------------------------------------------------- */

/* Avatar
--------------------------------------------- */

.avatar {
	float: left;
}

.alignleft .avatar,
.author-box .avatar {
	margin-right: 24px;
}

.alignright .avatar {
	margin-left: 24px;
}

.comment .avatar {
	margin: 0 16px 24px 0;
}

/* Genesis
--------------------------------------------- */

.breadcrumb {
	padding: 10px 0px 10px;
	background-color: #eeeeee;
	margin-bottom: 0px;
}
.breadcrumb > span {
	display: block;
}

.kavennettu-sivu .breadcrumb,
.levennetty-sivu .breadcrumb {
	padding: 8px 0px 8px;
	background-color: transparent;
}
.single .breadcrumb {
	padding: 8px 0px 8px;
	background-color: transparent;
	text-align: center;
}
.single-tuotteet .breadcrumb,
.single-matkat .breadcrumb,
.single-osastot .breadcrumb {
	padding: 10px 0px 10px;
	background-color: #eeeeee;
	text-align: left;
}

.archive-description,
.author-box {
	background-color: #fff;
	border: 1px solid #ececec;
	margin-bottom: 40px;
	padding: 15px 18px 4px;
}
.search-results .archive-description {
	border: none;
	background-color: #4696f0;
	color: #ffffff;
}
.search-results .archive-description h1 {
	color: #ffffff;
}

.author-box-title {
	color: #333;
	font-family: 'Montserrat', sans-serif;
	font-size: 1.2em;
	margin-bottom: 4px;
}

/* .archive-description p:last-child, */
.author-box p:last-child {
	margin-bottom: 0;
}

/* Search Form
--------------------------------------------- */

.search-form {
	overflow: hidden;
}

.site-header .search-form {
	float: right;
	margin-top: 8px;
}

.entry-content .search-form,
.site-header .search-form {
	width: 50%;
}

.genesis-nav-menu .search input[type="submit"],
.widget_search input[type="submit"] {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	margin: -1px;
	padding: 0;
	position: absolute;
	width: 1px;
}

/* Titles
--------------------------------------------- */

.archive-title {
	font-size: 1.6em;
}

.entry-title {
	font-size: 2.2em;
	margin: 0;
	text-transform: uppercase;
}
.single .entry-title {
	font-weight: 700;
	text-transform: none;
	text-align: center;
}

.entry-title a,
.sidebar .widget-title a {
	color: #333;
}

.entry-title a:hover {
	color: #4696f0;
}

.widget-title,
.footer-widgets .featured-content .widget-title {
	font-size: 1.2em;
	margin: 0 0 12px;
	padding: 0 0 0px;
}

.home-bottom .widget-title,
.sidebar .widget-title {
	margin: 0px 0px 32px;
	padding: 18px 8px;
	text-align: center;
	color: #ffffff;
	background-color: #4696f0;
}

/* WordPress
--------------------------------------------- */

.alignleft {
	float: left;
	text-align: left;
}

.alignright {
	float: right;
	text-align: right;
}

a.alignleft,
a.alignnone,
a.alignright {
	max-width: 100%;
}

a.alignnone {
	display: inline-block;
}

a.aligncenter img {
	display: block;
	margin: 0 auto;
}

img.centered,
.aligncenter {
	display: block;
	margin: 0 auto 24px;
}

img.alignnone,
.alignnone {
	margin-bottom: 12px;
}

a.alignleft,
img.alignleft,
.wp-caption.alignleft {
	margin: 0 24px 12px 0;
}

a.alignright,
img.alignright,
.wp-caption.alignright {
	margin: 0 0 12px 24px;
}

.wp-caption-text {
	font-weight: 700;
	text-align: center;
}

.entry-content p.wp-caption-text {
	margin-bottom: 0;
}

.gallery-caption {
	margin: 0 0 10px;
}


/*
Widgets
---------------------------------------------------------------------------------------------------- */

.widget {
	word-wrap: break-word;
	margin-bottom: 40px;
}

.widget li {
	border-bottom: 1px dotted #ececec;
	margin-bottom: 10px;
	padding-bottom: 10px;
}

.widget ol > li {
	list-style-position: inside;
	list-style-type: decimal;
	padding-left: 20px;
	text-indent: -20px;
}

.widget li li {
	border: none;
	margin: 0 0 0 30px;
	padding: 0;
}

.widget ul > li:last-child,
.widget p:last-child {
	margin-bottom: 0;
}

.widget_calendar table {
	width: 100%;
}

.widget_calendar td,
.widget_calendar th {
	text-align: center;
}

/* Featured Content
--------------------------------------------- */

.after-entry .widget.featured-content,
.featured-content,
.home-bottom .widget.featured-content,
.sidebar .widget.featured-content {
	border-bottom-width: 0;
	padding: 0;
}

.featured-content .entry {
	background: none;
	border: none;
	box-shadow: none;
	margin: 0;
	padding: 0;
}
.featured-content .alignleft {
	width:40%;
}
.featured-content .entry-header {
	margin: 0;
}

.featured-content .entry-title {
	font-size: 1.2em;
	margin: 0;
	text-transform: none;
}
.featured-content .entry-title > a {
	color:#1a4994 !important;
}
.featured-content .entry-content {
	padding: 40px;
}

.featured-content .alignnone {
	background: #f8f8f8;
	border-bottom: 1px solid #ececec;
	margin-bottom: 0;
}

.featured-content img {
	margin-bottom: -7px;
}

.featured-content .more-link {
	display: block;
	font-weight: 700;
	margin-top: 20px;
}

.featured-content .more-from-category,
.featured-content ul {
	border-bottom: 1px solid #ececec;
	margin: 0;
	padding: 40px;
}

.footer-widgets .featured-content .alignnone {
	margin-bottom: 24px;
}

.footer-widgets .featured-content .entry {
	background: none;
	border: none;
	margin-bottom: 30px;
}

.footer-widgets .featured-content .entry-header,
.footer-widgets .featured-content .more-from-category,
.footer-widgets .featured-content ul {
	border: none;
	padding: 0 0 10px;
}

.footer-widgets .featured-content .entry-content {
	padding: 0;
}


/*
Plugins
---------------------------------------------------------------------------------------------------- */

/* Genesis eNews Extended
--------------------------------------------- */

.enews-widget input {
	margin-bottom: 16px;
}

.enews-widget input[type="submit"] {
	margin: 0;
	width: 100%;
}

.enews form + p {
	margin-top: 24px;
}

/* Genesis Responsive Slider
--------------------------------------------- */

.home-top .genesis_responsive_slider {
	margin: 0;
}

.site-container #genesis-responsive-slider {
	border-width: 0;
	padding: 0;
}

.site-container #genesis-responsive-slider .flex-control-nav {
	margin-top: -40px;
}

.site-container #genesis-responsive-slider .more-link {
	float: none;
	text-align: center;
}

.site-container #genesis-responsive-slider li {
	border-width: 0;
	margin: 0;
	padding: 0;
	text-indent: 0;
}

/* Gravity Forms
--------------------------------------------- */

div.gform_wrapper input[type="email"],
div.gform_wrapper input[type="text"],
div.gform_wrapper textarea,
div.gform_wrapper .ginput_complex label {
	font-size: 16px;
	padding: 16px;
}

div.gform_wrapper .ginput_complex label {
	padding: 0;
}

div.gform_wrapper li,
div.gform_wrapper form li {
	margin: 16px 0 0;
}

/* Jetpack
--------------------------------------------- */

#wpstats {
	display: none;
}


/*
Site Header
---------------------------------------------------------------------------------------------------- */

.site-header {
	background-color: #fff;
	min-height: 168px;
	font-size: 14px;
}

.site-header .wrap {
	padding: 51px 0px;
}

/* Title Area
--------------------------------------------- */

.title-area {
	float: left;
	padding: 0 0 4px;
	width: 288px;
}

.header-full-width .title-area {
	width: 100%;
}

.site-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.2;
}

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

.header-image .site-title > a {
	background-position: top !important;
	float: left;
	min-height: 120px;
	width: 100%;
}
.header-image .site-title a {
	background-size: contain !important;
}

.site-description {
	color: #aaa;
	font-family: 'Montserrat', sans-serif;
	font-size: 1.2em;
	font-weight: 400;
	letter-spacing: 1px;
	line-height: 1.5;
	text-transform: uppercase;
}

.site-description,
.site-title {
	margin-bottom: 0;
}

.header-image .site-description,
.header-image .site-title {
	display: block;
	text-indent: -9999px;
}

/* Widget Area
--------------------------------------------- */

.site-header .widget-area {
	float: right;
	text-align: right;
	width: 832px;
}

.site-header .widget-area .widget {
	margin-bottom: 0;
}

.site-header .genesis-nav-menu li {
	border: none;
	margin: 0;
	padding: 0;
}


/*
Site Navigation
---------------------------------------------------------------------------------------------------- */

.genesis-nav-menu {
	clear: both;
	font-family: 'Montserrat', sans-serif;
	font-size: 1.2em;
	line-height: 1.5;
	width: 100%;
	text-transform: uppercase;
}

.genesis-nav-menu a {
	color: #111111;
}

.genesis-nav-menu .menu-item {
	display: inline-block;
	text-align: left;
}

.genesis-nav-menu > .menu-item-has-children > a:after {
	content: "\f347";
	font: normal 0.75em/1 'dashicons';
	color: #888888;
	position: relative;
	top: 1px;
	left: 4px;
}
.genesis-nav-menu > .menu-item-has-children .menu-item-has-children > a:after {
	content: "\f345";
	font: normal 0.75em/1 'dashicons';
	color: #888888;
	position: relative;
	top: 1px;
	left: 4px;
}

.genesis-nav-menu a {
	display: block;
	padding: 20px 12px;
}

.genesis-nav-menu a:hover,
.genesis-nav-menu .current-menu-item > a,
.genesis-nav-menu .sub-menu a:hover,
.genesis-nav-menu .sub-menu .current-menu-item > a:hover {
	color: #000000;
}
.genesis-nav-menu a:hover {
	color: #255a96;
}
.genesis-nav-menu .sub-menu .current-menu-item > a {
	background-color: #f8f8f8;
}
.genesis-nav-menu .sub-menu a:hover {
	background-color: #f0f0f0;
}

.genesis-nav-menu .sub-menu {
	border-top: 1px solid #ececec;
	left: -9999px;
	opacity: 0;
	position: absolute;
	-webkit-transition: opacity .4s ease-in-out;
	-moz-transition:    opacity .4s ease-in-out;
	-ms-transition:     opacity .4s ease-in-out;
	-o-transition:      opacity .4s ease-in-out;
	transition:         opacity .4s ease-in-out;
	width: 200px;
	z-index: 99;
}

.genesis-nav-menu .sub-menu a {
	background-color: #ffffff;
	border: 1px solid #ececec;
	border-top: none;
	color: #333;
	font-size: 0.7em;
	padding: 12px 18px;
	position: relative;
	width: 200px;
	text-transform:none;
}

.genesis-nav-menu .sub-menu .sub-menu {
	margin: -44px 0 0 199px;
}
.genesis-nav-menu > li:last-child .sub-menu .sub-menu {
	margin-left: -199px;
}

.genesis-nav-menu .menu-item:hover {
	position: static;
}

.genesis-nav-menu .menu-item:hover > .sub-menu {
	left: auto;
	opacity: 1;
}

.genesis-nav-menu > .first > a {
	padding-left: 0;
}

.genesis-nav-menu > .last > a {
	padding-right: 0;
}

.genesis-nav-menu > .right {
	float: right;
	list-style-type: none;
	padding: 0;
}

.genesis-nav-menu > .date,
.genesis-nav-menu > .right > a {
	display: inline-block;
	padding: 20px 24px;
}

.genesis-nav-menu > .search {
	padding: 8px 0 0;
}

.genesis-nav-menu > .search input {
	font-size: 0.9em;
	padding: 12px 20px;
}

/* Piilotetaan 4 ensimmaista valikkoa normaalissa nakymassa */
.site-header .nav-header .genesis-nav-menu > li:nth-child(99n+1),
.site-header .nav-header .genesis-nav-menu > li:nth-child(99n+2),
.site-header .nav-header .genesis-nav-menu > li:nth-child(99n+3),
.site-header .nav-header .genesis-nav-menu > li:nth-child(99n+4) {
	display: none;
}

/* Site Header Navigation
--------------------------------------------- */

.site-header .widget_nav_menu {
	color: #333;
}

.site-header .genesis-nav-menu li li {
	margin-left: 0;
}

/* Primary Navigation
--------------------------------------------- */

.nav-primary {
	background-color: #333;
}

.nav-primary,
.nav-primary a {
	color: #fff;
}

.nav-primary .sub-menu {
	border-color: #222;
}

.nav-primary .sub-menu a {
	background-color: #333;
	border-color: #222;
	color: #fff;
}

/* Secondary Navigation
--------------------------------------------- */

.nav-secondary {
	text-transform: none;
	letter-spacing: 0;
	margin-bottom: 20px;
}

.nav-secondary .genesis-nav-menu a {
	padding: 6px 20px;
}

.site-footer .nav-secondary .genesis-nav-menu a {
	color: #aaa;
}

.nav-secondary .genesis-nav-menu a:hover {
	color: #4696f0;
}

/* Responsive Menu
--------------------------------------------- */

.responsive-menu-icon {
	cursor: pointer;
	display: none;
}

.responsive-menu-icon::before {
	content: "\f333";
	display: block;
	font: normal 20px/1 'dashicons';
	margin: 0 auto;
	padding: 10px;
	text-align: center;
}

.site-header .responsive-menu-icon::before {
	padding: 0;
}


/*
Content Area
---------------------------------------------------------------------------------------------------- */

/* Home Page
--------------------------------------------- */

.home-top {
	padding: 40px 0px 0px;
	text-align: center;
}
.home-top .wrap {
	max-width: 740px;
}

.home-upper {
	padding: 10vw 0px 11vw;
	background-color: #ffffff;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	color: #ffffff;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.29);
	position:relative;

}
.home-upper:before {
	position:absolute;
	height:100%;
	width:100%;
	top:0;
	bottom:0;
	right:0;
	left:0;
	content:" ";
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0.73+0,0+67 */
background: -moz-linear-gradient(-45deg, rgba(0,0,0,0.73) 0%, rgba(0,0,0,0) 67%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(-45deg, rgba(0,0,0,0.73) 0%,rgba(0,0,0,0) 67%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg, rgba(0,0,0,0.73) 0%,rgba(0,0,0,0) 67%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ba000000', endColorstr='#00000000',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.home-upper h1,
.home-upper h2,
.home-upper h3,
.home-upper h4,
.home-upper h5,
.home-upper h6 {
	color: #ffffff;
}
.home-upper .button {
	background-color: #db642c;
}
.home-upper .button:hover {
	background-color: #333;
}


/*
.home-top .widget:first-child h4 {
	padding-top: 20px;
}
*/

.home-top input[type="submit"] {
	width: 100%;
}

.home-top .entry {
	background: none;
}

.home-top .featured-content a.alignleft,
.home-top .featured-content a.alignnone,
.home-top .featured-content a.alignright {
	margin-bottom: 0;
}

.home-top a.alignleft,
.home-top a.alignright {
	width: 66%;
}

.home-top .featured-content,
.home-top .featured-content .entry {
	border: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.home-top .featured-content .entry-header {
	border: none;
/*	padding: 10% 40px 0; */
}

.home-top .featured-content .entry-title {
	font-size: 2.4em;
}

.home-top .featured-content .entry-content {
	padding: 0 40px;
}

.home-top .more-link {
	display: table;
	text-align: center;
}


.kavennettu-sivu .home-bottom > .wrap {
	max-width: 900px;
	background-color: #ffffff;
	padding: 0px 3% 0px 3%;
}

.home-bottom .widget {
	float: left;
	margin-left: 4.37%;
	width: 30.42%;
}

.home-bottom .widget:nth-child(3n+1) {
	clear: both;
	margin-left: 0;
}

.home-bottom.columns2 .widget {
	float: left;
	margin-left: 4.37%;
	width: 47.81%;
}

.home-bottom.columns2 .widget:nth-child(2n+1) {
	clear: both;
	margin-left: 0;
}

/* Entries
--------------------------------------------- */

.entry {
	padding: 0px;
	margin-bottom: 40px;
}

.entry-header,
.entry-header-sub {
	margin: 0px 0px 32px;
}

.entry-header-sub {
	margin-top: 48px;
}

.entry-header .entry-title,
.entry-header-sub .entry-title {
}


.entry-header .entry-title a {
	color: #333;
}
.entry-header .entry-title a:hover {
	color: #666;
}

.entry-content ol,
.entry-content p,
.entry-content ul {
	margin-bottom: 17px;
}

.entry-content ol,
.entry-content ul {
	margin-left: 40px;
}

.entry-content ol > li {
	list-style-type: decimal;
}

.entry-content ul > li {
	list-style-type: disc;
}

.entry-content ol ol,
.entry-content ul ul {
	margin-bottom: 0;
}

.entry-content code {
	background-color: #333;
	color: #ddd;
}

/* Entry Meta
--------------------------------------------- */

p.entry-meta {
	color: #aaa;
	font-size: 1em;
	margin-bottom: 0;
}
.single p.entry-meta {
	text-align: center;
}

.entry-meta a {
	font-weight: 700;
}
.entry-meta .entry-tags a {
	font-weight: 400;
}

.entry-header .entry-meta {
	margin: 10px 0 0;
}

.entry-footer {
	margin-top: 0px;
}

.entry-footer .entry-meta {
	border-top: 1px solid #ececec;
	margin: 0px;
	padding: 16px 0px 0;
}

.entry-tags {
	float: right;
}

.entry-comments-link::before {
	content: "\2014";
	margin: 0 6px 0 2px;
}

/* After Entry
--------------------------------------------- */

.after-entry {
	background-color: #fff;
	border: 1px solid #ececec;
	box-shadow: 0 1px #ececec;
	margin-bottom: 40px;
}

.after-entry .widget {
	margin: 0;
	padding: 40px;
}

.after-entry .widget-title {
	border-top: 1px solid #ececec;
	margin: -40px -40px 30px;
	padding: 30px 40px;
}

.after-entry .widget:first-child .widget-title {
	border-top: 0;
}

.after-entry .featured-content .entry:last-of-type,
.after-entry .featured-content .more-from-category {
	border-bottom: none;
}

.after-entry .featured-content .more-from-category {
	padding: 20px 40px;
}

.after-entry li {
	list-style-type: none;
}

/* Pagination
--------------------------------------------- */

.pagination {
	margin: 40px 0;
}

.adjacent-entry-pagination {
	margin-bottom: 0;
}

.archive-pagination li {
	display: inline;
}

.archive-pagination li a {
	background-color: #fff;
	border: 1px solid #ececec;
	box-shadow: 0 1px #ececec;
	color: #333;
	cursor: pointer;
	display: inline-block;
	padding: 8px 12px;
}

.archive-pagination li a:hover,
.archive-pagination .active a {
	background-color: #4696f0;
	color: #fff;
}

.entry-pagination.pagination {
	margin: 0 0 10px;
}

/* Comments
--------------------------------------------- */

.comment-respond,
.entry-comments,
.entry-pings {
	background-color: #fff;
	border: 1px solid #ececec;
	box-shadow: 0 1px #ececec;
	margin-bottom: 40px;
}

.comment-respond {
	padding: 40px 40px 16px;
}

.comment-respond h3 {
	border-bottom: 1px solid #ececec;
	margin: -40px -40px 40px;
	padding: 30px 40px;
}

.entry-comments {
	border-bottom-width: 0;
}

.entry-comments h3,
.entry-pings h3 {
	border-bottom: 1px solid #ececec;
	margin: 0;
	padding: 30px 40px;
}

.comment-list li.depth-1 {
	border-bottom: 1px solid #ececec;
	padding-bottom: 40px;
}

.comment-content {
	clear: both;
}

.comment-list li {
	padding: 40px 40px 0;
}

.comment-list li li {
	padding-right: 0;
}

.comment-respond input[type="email"],
.comment-respond input[type="text"],
.comment-respond input[type="url"] {
	width: 50%;
}

.comment-respond label {
	display: block;
	margin-right: 12px;
}

.entry-comments .comment-author,
.entry-comments .comment-author a {
	color: #333;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	margin-bottom: 0;
}

.comment-meta,
.comment-meta a {
	color: #aaa;
	font-size: 1em;
}

.entry-comments .comment-author a:hover,
.comment-meta a:hover {
	color: #4696f0;
}

.ping-list li {
	padding: 40px 40px 16px;
}

.entry-pings .reply {
	display: none;
}

.comment-reply-link {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
}

.form-allowed-tags {
	background-color: #f5f5f5;
	padding: 24px;
}


/*
Sidebars
---------------------------------------------------------------------------------------------------- */

.sidebar .widget {
/*	background-color: #fff;
	border: 1px solid #ececec;
	box-shadow: 0 1px #ececec; TODO POIS */
	padding: 0px;
}


/*
Footer Widgets
---------------------------------------------------------------------------------------------------- */

.footer-widgets {
	background-color: #4695ec;
	clear: both;
	padding-top: 40px;
	color: #ffffff;
}

.footer-widgets input {
	border: 1px solid #333;
}

.footer-widgets strong {
	color: #ffffff;
}

.footer-widgets li {
	border-bottom: none;
	margin-bottom: 8px;
	padding-bottom: 0px;
}

.footer-widgets h4 {
	color: #ffffff;
}

.footer-widgets a {
	color: #ffffff;
}

.footer-widgets a:hover {
	color: #000000;
}


.footer-widgets-1 img {
	max-width: 256px !important;
}
.footer-widgets-1 .widget {
	float: left;
	margin-right: 48px;
}
.footer-widgets-1 .widget:nth-child(2n+2) {
	padding-top: 9px;
	margin-right: 0px;
}

.footer-widgets-2 {
	clear: both;
}

.footer-widgets-2 .widget {
	float: left;
	width: 19.2%;
	margin-right: 1%;
}
.footer-widgets-2 .widget:nth-child(5n+5) {
	margin-right: 0%;
}
.footer-widgets-2 .widget .menu-item {
	font-size: 13px;
}

.footer-widgets-3 {
	clear: both;
	float: left;
	width: 79.8%;
}
.footer-widgets-3 .widget {
	float: left;
	width: 24.0625%;
	margin-right: 1.25%;
	margin-bottom: 24px;
}
.footer-widgets-3 .widget:nth-child(4n+4) {
	margin-right: 0%;
}
.footer-widgets-3 .widget:nth-child(4n+5) {
	clear: both;
}
.footer-widgets-3 .widget .textwidget {
	font-size: 12px;
}

.footer-widgets-4 {
	float: right;
	width: 19.2%;
}

/*
Site Footer
---------------------------------------------------------------------------------------------------- */

.site-footer {
	background-color: #3b7dc4;
	color: #295687;
	font-size: 0.9em;
	padding: 10px 0px 8px;
	text-align: center;
	text-transform: uppercase;
}

.site-footer a {
	color: #224973;
}

.site-footer a:hover {
	color: #1c3c5e;
}

.site-footer p {
	margin-bottom: 0;
}


/*
Sekalaiset muotoilut
---------------------------------------------------------------------------------------------------- */

.ulkoinen_linkki a:after,
a.ulkoinen_linkki:after {
	content: "\00A0\00BB\00BB";
}

.sisainen_linkki a:after,
a.sisainen_linkki:after {
	content: "\00A0\003E\003E";
}


.kahtiajaettu1 {
	width: 50%;
}
.kahtiajaettu2 {
	width: 50%;
}
.kahtiajaettu2 {
	text-align: right;
}
.kahtiajaettu1 p,
.kahtiajaettu1ja2 p {
	font-size: 1.15em;
}

.kuvagalleria {
	margin: 0px 0px 32px;
}
.kuvagalleria_kuva {
	width: 31%;
	margin-right: 3.5%;
	float: left;
}
.kuvagalleria_kuva:nth-child(3n+3) {
	margin-right: 0%;
}
.kuvagalleria_kuva:nth-child(3n+1) {
	clear: both;
}


.hinta_laatikko {
	background-color: #eeeeee;
	padding: 20px !important;
}
.hinta_laatikko .button {
	background-color: #db642c;
	text-align: center;
	width: 100%;
}
.hinta_laatikko .button:hover {
	background-color: #333;
}

.site-title a.venajanmatkat-logo {
	background-image: url('/wp-content/themes/suomivenajaseuratheme/images/VenajanMatkat-logo.png') !important;
}

.kavennettu-sivu .site-inner > .wrap {
	margin-top: 0px;
	background-color: #ffffff;
	max-width: 900px;
}
.kavennettu-sivu .site-inner > .wrap .content {
	padding: 40px 40px 0px 40px;
}

.kavennettu-sivu.ylasisennys .site-inner > .wrap {
	margin-top: -120px;
	position: relative;
}
.kavennettu-sivu.ylasisennys .site-inner > .wrap .content {
	padding-top: 55px;
}


/*
Toimintopalkki ennen headeria
---------------------------------------------------------------------------------------------------- */

.header-top {
	background-color: #eeeeee;
	text-transform: uppercase;
	color: #111111;
	font-size: 14px;
}

.header-top .widget {
	float: left;
	margin-bottom: 0px;
	padding-top: 8px;
	padding-bottom: 4px;
}

.header-top .widget:nth-child(4n+1) {
	padding-top: 5px;
	margin-right: 20px;
}

.header-top .widget:nth-child(4n+3) {
	margin-left: 20px;
}

.header-top .widget:nth-child(4n+3),
.header-top .widget:nth-child(4n+4) {
	float: right;
}

.header-top .widget li {
	margin-bottom: 0px;
	padding-bottom: 0px;
}

.header-top a {
	color: #111111;
}
.header-top a:hover {
	color: #000000;
}

.header-top input {
	padding: 2px 4px;
	width: 160px;
	color: #111111;
	border: 1px solid #b4b4b4;
	border-radius: 0px;
}
.header-top input:focus {
	border: 1px solid #535353;
}

.header-top .menu .menu-item {
	float: left;
	padding: 0px 12px;
}

/* TODO KIELIVALINNAN PIILOTUS */
.header-top .widget_icl_lang_sel_widget {
	display: none;
}

.header-top .wpml-ls-legacy-list-horizontal {
	padding: 0px 0px 0px 0px;
}
.header-top .wpml-ls-legacy-list-horizontal a {
	padding: 0px 15px 0px 0px;
	font-weight: 700;
}

/* TODO KESKEN hakukentt��n tulee jatkuvasti otsikko, vaikka sen poistaa */
.header-top .widget_search .widget-title {
	display: none;
}

/*
Linkkipalkki ennen sis�lt��
---------------------------------------------------------------------------------------------------- */

.content-top {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-end;
	align-items: center;
	justify-content: center;
}
.content-top a {
	flex: 1;
}
.content-top .content-topdiv {
	padding: 0;
	background-color: #000;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 22vw;
	display: flex;
	max-height: 335px;
}
.content-top .content-topdiv .svs-overlay {
	align-items: center;
	justify-content: center;
	height:100%;
	width:100%;
	align-items: center;
	justify-content: center;
	display:flex;
}

.content-top .content-topdiv h3 {
	text-align: center;
	font-weight: 500;
	font-size: 22px;
	margin: 0;
	color: #fff;
	text-transform: uppercase;
}

.content-top .content-topdiv1 .svs-overlay,
.content-top .content-topdiv2 .svs-overlay,
.content-top .content-topdiv3 .svs-overlay,
.content-top a .content-topdiv h3 {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.content-top .content-topdiv1 .svs-overlay {
	background: rgba(0, 0, 0, 0.5);
}
.content-top .content-topdiv1 .svs-overlay:hover {
	background: rgba(0, 0, 0, 0.65);
}
.content-top .content-topdiv2 .svs-overlay {
	background: rgba(51, 128, 244, 0.5);
}
.content-top .content-topdiv2 .svs-overlay:hover {
	background: rgba(51, 128, 244, 0.65);
}
.content-top .content-topdiv3 .svs-overlay {
	background: rgba(225, 64, 64, 0.5);
}
.content-top .content-topdiv3 .svs-overlay:hover {
	background: rgba(225, 64, 64, 0.65);
}

.content-top a .content-topdiv h3 {
	color: #000000;
	text-shadow: 0px 0px 6px rgba(255, 255, 255, 0.35);
}
.content-top a:hover .content-topdiv h3 {
	color: #000000;
	text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.5);
}
.content-top a .content-topdiv .content-topnega h3 {
	color: #ffffff;
	text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.65);
}
.content-top a:hover .content-topdiv .content-topnega h3 {
	color: #ffffff;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 1);
}


/*
Linkkipalkki ennen footeria
---------------------------------------------------------------------------------------------------- */

.footer-top {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-end;
	align-items: center;
	justify-content: center;
}
.footer-top a {
	flex: 1;
}
.footer-top .footer-topdiv {
	padding: 0;
	background-color: #000;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 8vw;
	display: flex;
}
.footer-top .footer-topdiv .svs-overlay {
	align-items: center;
	justify-content: center;
	height:100%;
	width:100%;
	align-items: center;
	justify-content: center;
	display:flex;
}

.footer-top .footer-topdiv h3 {
	text-align: center;
	font-weight: 500;
	font-size: 22px;
	margin: 0;
	color: #fff;
	text-transform: uppercase;
}

.footer-top .footer-topdiv1 .svs-overlay,
.footer-top .footer-topdiv2 .svs-overlay,
.footer-top .footer-topdiv3 .svs-overlay,
.footer-top a .footer-topdiv h3 {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.footer-top .footer-topdiv1 .svs-overlay {
	background: rgba(0, 0, 0, 0.5);
}
.footer-top .footer-topdiv1 .svs-overlay:hover {
	background: rgba(0, 0, 0, 0.65);
}
.footer-top .footer-topdiv2 .svs-overlay {
	background: rgba(51, 128, 244, 0.5);
}
.footer-top .footer-topdiv2 .svs-overlay:hover {
	background: rgba(51, 128, 244, 0.65);
}
.footer-top .footer-topdiv3 .svs-overlay {
	background: rgba(225, 64, 64, 0.5);
}
.footer-top .footer-topdiv3 .svs-overlay:hover {
	background: rgba(225, 64, 64, 0.65);
}

.footer-top a .footer-topdiv h3 {
	color: #000000;
	text-shadow: 0px 0px 6px rgba(255, 255, 255, 0.35);
}
.footer-top a:hover .footer-topdiv h3 {
	color: #000000;
	text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.5);
}
.footer-top a .footer-topdiv .footer-topnega h3 {
	color: #ffffff;
	text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.65);
}
.footer-top a:hover .footer-topdiv .footer-topnega h3 {
	color: #ffffff;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 1);
}



/*
.footer-top {
	display:flex;
	width:100%;
	flex-direction:row;
}
.footer-topdiv {
	padding: 0;
	float: none;
	background-color: #000;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	flex:1;
	text-align: center;
	display: flex;
	position:relative;
}
.footer-topdiv .svs-overlay {
	padding: 3em 1.5em;
	justify-content: center;
	height:100%;
	width:100%;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.footer-topdiv:hover .svs-overlay {
	opacity:0.6;
}
.footer-topdiv1 .svs-overlay {
	background: rgba(0, 0, 0, 0.5);
}
.footer-topdiv2 .svs-overlay {
	background: rgba(51, 128, 244, 0.5);
}
.footer-topdiv3 .svs-overlay {
	background: rgba(225, 64, 64, 0.5);
}
.footer-topdiv h3 {
	text-align: center;
	font-weight: 500;
	font-size: 22px;
	margin:0;
}
.footer-topdiv a h3 {
	color: #111111;
	text-shadow: 0px 0px 6px rgba(255, 255, 255, 0.5);
}
.footer-topdiv a h3:hover {
	color: #000000;
	text-shadow: 0px 0px 6px rgba(255, 255, 255, 0.65);
}
.footer-topdiv .footer-topnega a h3 {
	color: #ffffff;
	text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.65);
}
.footer-topdiv .footer-topnega a h3:hover {
	color: #ffffff;
	text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.85);
}
*/
/*
Tuotteet
---------------------------------------------------------------------------------------------------- */

.svs_elokuvat,
.svs_tuotteet {
	justify-content: space-around;
	display: flex;
	flex-flow: row wrap;
}
.svs_elokuvat .svs_4jako,
.svs_tuotteet .svs_4jako {
	width: 23.5%;
	line-height:1.65;
	align-items:stretch;
	display:flex;
	align-items:stretch;
	flex-direction: column;
	height: auto;
}
.svs_elokuvat img,
.svs_tuotteet img {
	align-self: flex-start;
}
.svs_4jakoteksti {
	display:flex;
	align-items:stretch;
	flex-direction: column;
	height: auto;
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: auto;
	flex:1;

}
.svs_elokuvat .svs_4jako a.button,
.svs_tuotteet .svs_4jako a.button {
	margin-top:auto;
	flex-direction: row;
}
.svs_elokuvat .svs_4jako h3,
.svs_tuotteet .svs_4jako h3 {
	font-size: 1.4em;
	text-transform: uppercase;
	margin-bottom: 0.52em;
	margin-top: 1em;
}
.svs_elokuvat .svs_4jako .svs_4jakotekstikuvaus,
.svs_tuotteet .svs_4jako .svs_4jakotekstikuvaus {
	font-size:0.8em;
}
.svs_4jakoteksti h4 {
	font-size: 1.2em;
	text-transform: uppercase;
	margin-bottom: 0px;
	font-weight: 400;
}

/*
4-palstainen kuvanoston�kym�
---------------------------------------------------------------------------------------------------- */
/*
.svs_4jako {
	position: relative;
	width: 24.5%;
	margin-right: 0.65%;
	float: left;
}
.svs_4jako img {
	width: 100%;
}
.svs_4jako:nth-child(4n+4) {
	margin-right: 0%;
}
.svs_4jako:nth-child(4n+1) {
	clear: both;
}
*/



/*
3-palstainen kuvanoston�kym�
---------------------------------------------------------------------------------------------------- */

.svs_3jako {
/*	position: relative; */
	width: 32.9%;
	margin-right: 0.65%;
	float: left;
	padding-bottom: 20px;
}
.svs_3jako img {
	width: 100%;
}
.svs_3jako:nth-child(3n+3) {
	margin-right: 0%;
}
.svs_3jako:nth-child(3n+1) {
	clear: both;
}
.svs_3jakoteksti {
/*	position: absolute;
	left: 32px;
	bottom: 32px;
	color: #ffffff; */
}
.svs_3jakoteksti span.price {
	font-weight:bold;
	font-size:1.15em;
}

.svs_3jakoteksti span.date {
	font-weight:normal;
	font-size:1em;
}
.svs_3jakoteksti p {
	margin: 0.5em 0 0.35em;
	line-height: 1.3;
}
.svs_3jako a {
/*	color: #ffffff; */
}
.svs_3jakoteksti h3 {
	font-size: 1.4em;
	text-transform: uppercase;
	margin-bottom: 0px;
}
.svs_3jakoteksti h4 {
	font-size: 1.2em;
	text-transform: uppercase;
	margin-bottom: 0px;
	font-weight: 400;
}


/*
3-palstainen kuvanoston�kym� isolla (t�ysileve�) alkunostolla
---------------------------------------------------------------------------------------------------- */
.js-wpv-view-layout-85, .js-wpv-view-layout-121 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 10px;
}
.widget_custom_svsblog .js-wpv-view-layout-121 {
	display:block;
}

.svs_3jako_isoalkunosto {
	position: relative;
	/* width: 32.9%; */
	margin-right: 0.65%;
	float: left;
	line-height: 0;
	margin-bottom: 4px;
	position: relative;
}
.svs_3jako_isoalkunosto:first-child {
	/* width: 100%; */
}
.svs_3jako_isoalkunosto:nth-child(3n+1) {
	margin-right: 0%;
}
.svs_3jako_isoalkunosto:nth-child(3n+2) {
	clear: both;
}
.svs_3jako_isoalkunosto::before {
	position:absolute;
	width:100%;
	height:100%;
	left:0;
	right:0;
	top:0;
	bottom:0;
	content:" ";
	-webkit-transition: all .4s ease-in-out;
	-moz-transition:    all .4s ease-in-out;
	-ms-transition:     all .4s ease-in-out;
	-o-transition:      all .4s ease-in-out;
	transition:         all .4s ease-in-out;
	background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,0.91) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 45%,rgba(0,0,0,0.91) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 45%,rgba(0,0,0,0.91) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#e8000000',GradientType=0 ); /* IE6-9 */
}
.svs_3jako_isoalkunosto:hover::before {
	opacity:0.3;
}

.svs_3jako_isoalkunosto_kuva img {
	width: 100%;
	object-fit: cover;
}
.svs_3jako_isoalkunosto_teksti {
	position: absolute;
	left: 20px;
	bottom: 20px;
	color: #ffffff;
}
.content .svs_3jako_isoalkunosto a,
.content .svs_3jako_isoalkunosto a:hover,
.svs_3jako_isoalkunosto a {
	color: #ffffff;
}
.svs_3jako_isoalkunosto_teksti h3 {
	font-size: 1.4em;
	text-transform: uppercase;
	margin-bottom: 0px;
}
.svs_3jako_isoalkunosto_teksti:not(:nth-child(3n+1)) h3 {
    font-size: 0.95em;
    text-transform: uppercase;
    margin-bottom: 0;
    font-weight: bold;
}
.svs_3jako_isoalkunosto:first-child .svs_3jako_isoalkunosto_teksti h3 {
/*	font-size: 2.0em; */
}
.svs_3jako_isoalkunosto_teksti h4 {
	font-size: 1.2em;
	text-transform: uppercase;
	margin-bottom: 0px;
	font-weight: 400;
}
.svs_3jako_isoalkunosto:first-child .svs_3jako_isoalkunosto_teksti h4 {
	font-size: 1.34em;
}


/*
1-palstainen noston�kym�, kuva ylh��ll�, teksti alhaalla
---------------------------------------------------------------------------------------------------- */

.svs_1palsta {
	clear: both;
	padding-bottom: 24px;
}
.svs_1palsta_kuva {
}
.svs_1palsta_kuva img {
	width: 100%;
}
.svs_1palsta_teksti {
}
.svs_1palsta_teksti h4 {
	font-size: 1.2em;
}
.svs_1palsta_metatieto {
	color: #a2a2a2;
}


/*
1-palstainen noston�kym�, vain teksti
---------------------------------------------------------------------------------------------------- */

.svs_1palsta_kuvaton {
	clear: both;
	padding-bottom: 24px;
}
.svs_1palsta_kuvaton_teksti {
}
.svs_1palsta_kuvaton_teksti h4 {
	font-size: 1.2em;
}
.svs_1palsta_kuvaton_metatieto {
	color: #a2a2a2;
}


/*
2-palstainen noston�kym�, kuva vasemmalla, teksti oikealla
---------------------------------------------------------------------------------------------------- */

.svs_2palsta {
	clear: both;
	padding-bottom: 8px;
}
.svs_2palsta_kuva {
	width: 40%;
	float: left;
}
.svs_2palsta_kuva img {
	width: 100%;
}
.svs_2palsta_teksti {
	width: 55%;
	float: right;
}
.svs_2palsta_teksti h4 {
	font-size: 1.2em;
}
.svs_2palsta_metatieto {
	color: #a2a2a2;
}


/*
2-palstainen p��n�kym�, kuva vasemmalla, teksti oikealla
---------------------------------------------------------------------------------------------------- */

.svs_2palsta_iso {
	clear: both;
	padding-bottom: 8px;
}
.svs_2palsta_iso_kuva {
	width: 40%;
	float: left;
}
.svs_2palsta_iso_kuva img {
	width: 100%;
}
.svs_2palsta_iso_teksti {
	width: 55%;
	float: right;
}
.svs_2palsta_iso_teksti h4 {
	font-size: 1.2em;
}
.svs_2palsta_iso_metatieto {
	color: #a2a2a2;
}

.svs_vieraskynablogi {
	background-color: #eeeeee;
	padding: 26px 40px 12px 40px;
	margin-bottom: 40px;
}


/*
Tekstilista, vain teksti
---------------------------------------------------------------------------------------------------- */

.svs_tekstilista {
	clear: both;

}
.svs_tekstilista_teksti {
	margin-bottom: 12px;
}
.svs_tekstilista_teksti h4 {
	font-size: 1.2em;
}







/*
Osastot ja osastojen henkilot
---------------------------------------------------------------------------------------------------- */

.svs_henkilot {
	padding-top: 12px;
	margin-bottom: 24px;
	border-bottom: 1px solid #999999;
}
.svs_osastonhenkilot {
}

.svs_henkilot .svs_henkilo,
.svs_osastonhenkilot .svs_osastonhenkilo {
	width: 31%;
	margin-right: 3.5%;
	float: left;
}
.svs_henkilot .svs_henkilo:nth-child(3n+3),
.svs_osastonhenkilot .svs_osastonhenkilo:nth-child(3n+3) {
	margin-right: 0%;
}
.svs_henkilot .svs_henkilo:nth-child(3n+1),
.svs_osastonhenkilot .svs_osastonhenkilo:nth-child(3n+1) {
	clear: both;
}

.svs_henkilot h4,
.svs_osastonhenkilot h4 {
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 6px;
}
.svs_henkilot .henkilo_titteli,
.svs_osastonhenkilot .henkilo_titteli {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.osastohakukentta {
	width: 18.4%;
	margin-right: 2%;
	float: left;
}
.osastohakukentta:nth-of-type(5n+5) {
	margin-right: 0%;
}
.osastohakukentta input[type="submit"] {
	width: 100%;
}

.svs_osastot {
	border-top: 1px solid #999999;
	margin-top: 24px;
	padding-top: 36px;
}

.svs_someicon {
	width: 32px;
	height: 32px;
	margin: 12px 24px 12px 0px;
}

.videoalue {
	position: relative;
	height: 0;
	overflow: hidden;
	padding-top: 0px;
	padding-bottom: 56.25%;
}
.videoalue iframe, .videoalue object, .videoalue embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


#mc_embed_signup form {
	padding: 0px 0px 10px 0px !important;
}
#mc_embed_signup .indicates-required {
	margin-top: -8px !important;
	margin-bottom: -8px;
}
#mc_embed_signup .mc-field-group input {
	padding: 2px 0px !important;
}
#mc_embed_signup .mc-field-group.input-group ul li {
	padding: 0px 0px !important;
}
#mc_embed_signup .button {
	background-color: #1a4994 !important;
}
#mc_embed_signup .button:hover {
	background-color: #333 !important;
}


/*
Media Queries
---------------------------------------------------------------------------------------------------- */

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	only screen and (-moz-min-device-pixel-ratio: 1.5),
	only screen and (-o-min-device-pixel-ratio: 3/2),
	only screen and (min-device-pixel-ratio: 1.5) {

}

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

	.entry h1 {
	    font-size: 2.2em;
	}
	.entry h2 {
	    font-size: 1.6em;
	}
	.entry h3 {
	    font-size: 1.5em;
	}
	.entry h4 {
	    font-size: 1.4em;
	}

}

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

	.entry h1 {
		font-size: 1.8em;
	}
	.entry h2 {
		font-size: 1.4em;
	}
	.entry h3 {
		font-size: 1.3em;
	}
	.entry h4 {
		font-size: 1.2em;
	}

	.site-inner {
		padding-top: 32px;
	}
	.home .site-inner {
		padding-top:30px;
	}
	.kavennettu-sivu .site-inner > .wrap .content {
		padding: 40px 0px 0px 0px;
	}
	.breadcrumb > span,
	.wrap {
		max-width: none;
		padding: 0 3%;
	}
	.content-top .content-topdiv h3 {
		font-size: 19px;
	}
	.site-header .wrap {
		padding: 51px 3%;
	}
	.content-sidebar-sidebar .content-sidebar-wrap,
	.sidebar-content-sidebar .content-sidebar-wrap,
	.sidebar-sidebar-content .content-sidebar-wrap {
		width: 740px;
	}

	.content {
	}

	.site-header .widget-area {
		width: 652px;
	}

	.genesis-nav-menu a {
		padding: 20px 10px;
	}

	.sidebar-content-sidebar .content,
	.sidebar-sidebar-content .content,
	.content-sidebar-sidebar .content {
		width: 400px;
	}

	.home-upper {
		padding: 100px 0px 110px;
	}
	.kavennettu-sivu.ylasisennys .site-inner > .wrap {
		margin-top: -90px;
	}

	.svs_henkilot .svs_henkilo,
	.svs_osastonhenkilot .svs_osastonhenkilo {
		width: 48.25%;
		margin-right: 3.5%;
	}
	.svs_henkilot .svs_henkilo:nth-child(3n+3),
	.svs_osastonhenkilot .svs_osastonhenkilo:nth-child(3n+3) {
		margin-right: 3.5%;
	}
	.svs_henkilot .svs_henkilo:nth-child(3n+1),
	.svs_osastonhenkilot .svs_osastonhenkilo:nth-child(3n+1) {
		clear: none;
	}
	.svs_henkilot .svs_henkilo:nth-child(2n+2),
	.svs_osastonhenkilot .svs_osastonhenkilo:nth-child(2n+2) {
		margin-right: 0%;
	}
	.svs_henkilot .svs_henkilo:nth-child(2n+1),
	.svs_osastonhenkilot .svs_osastonhenkilo:nth-child(2n+1) {
		clear: both;
	}
	.svs_2palsta_teksti h4 {
		font-size: 1.1em;
	}
	.svs_2palsta_metatieto {
		color: #a2a2a2;
		font-size: 0.97em;
	}
	.home-upper .wrap {
		flex-direction: column;
	}
	.kahtiajaettu2, .kahtiajaettu1 {
		width: 100%;
		text-align:center;
	}
/*
	.svs_3jako_isoalkunosto, .svs_3jako_isoalkunosto:first-child {
	    width: 48%;
	    float:left;
	    margin-bottom: 4px;
	    clear: none;
	}
	*/
	.svs_3jako_isoalkunosto:nth-child(3n+2) {
	    clear: none;
	}

	.svs_3jako_isoalkunosto h3 {
	    font-size: 1.0em !important;
	}
	.svs_3jako_isoalkunosto a {
	    color: #fff !important;
	}
	.svs_3jako_isoalkunosto:nth-child(3n+1) {
	    margin-right: 0.65%;
	}
	.svs_3jako_isoalkunosto:nth-child(2n+1) {
	    clear: both;
	}
	.matkat .svs_3jako .titlelink {
		font-size:1.1em;
	}
	.entry-header-sub {
    	margin-top: 34px;
	}
}

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

	.wrap {
		max-width: none;
	}

	.site-inner {
		padding-top: 24px;
	}

	.content,
	.content-sidebar-sidebar .content,
	.content-sidebar-sidebar .content-sidebar-wrap,

	.sidebar-content-sidebar .content,
	.sidebar-content-sidebar .content-sidebar-wrap,
	.sidebar-primary,
	.sidebar-secondary,
	.sidebar-sidebar-content .content,
	.sidebar-sidebar-content .content-sidebar-wrap,
	.site-header .widget-area,
	.title-area {
		width: 100%;
	}

	.title-area {
		padding-bottom: 8px;
	}
	.site-header .wrap {
		padding: 32px 0px 4px;
	}

	.header-top input {
		width: 124px;
		font-size: 0.9em;
	}
	.header-top .widget:nth-child(4n+3) {
		margin-left: 16px;
	}
	.header-top .menu .menu-item {
		padding: 0px 8px;
	}

	.genesis-nav-menu li,
	.site-header ul.genesis-nav-menu,
	.site-header .search-form {
		float: none;
	}

	.genesis-nav-menu,
	.site-description,
	.site-header .search-form,
	.site-header .title-area,
	.site-header .widget-area,
	.site-title {
		text-align: center;
	}

	.site-header .search-form {
		margin: 16px auto;
	}

	.genesis-nav-menu li.right {
		display: none;
	}


	.footer-widgets-2 .widget {
		float: left;
		width: 32.666%;
		margin-bottom: 32px;
	}
	.footer-widgets-3 {
		clear: both;
		float: left;
		width: 66.333%;
	}
	.footer-widgets-3 .widget {
		float: left;
		width: 49.25%;
		margin-right: 1.5%;
	}
	.footer-widgets-4 {
		float: right;
		width: 32.666%;
	}
	.footer-widgets-2 .widget:nth-child(5n+5) {
		margin-right: 1%;
	}
	.footer-widgets-2 .widget:nth-child(3n+3) {
		margin-right: 0%;
	}
	.footer-widgets-2 .widget:nth-child(3n+4) {
		clear: both;
	}
	.footer-widgets-3 .widget:nth-child(4n+4) {
		margin-right: 1.5%;
	}
	.footer-widgets-3 .widget:nth-child(2n+2) {
		margin-right: 0%;
	}

	.featured-content .alignnone {
		display: block;
		text-align: center;
	}

	.home-top .wrap {
		max-width: 65%;
	}
	.home-top a.alignleft,
	.home-top a.alignright {
		width: 100%;
	}

	.home-top .featured-content .entry-header {
		clear: both;
		padding: 40px 40px 0;
	}

	.home-top .featured-content .entry-content {
		padding: 0 40px 40px;
	}

	.svs_henkilot .svs_henkilo,
	.svs_osastonhenkilot .svs_osastonhenkilo {
		width: 31%;
		margin-right: 3.5%;
	}
	.svs_henkilot .svs_henkilo:nth-child(2n+2),
	.svs_osastonhenkilot .svs_osastonhenkilo:nth-child(2n+2) {
		margin-right: 3.5%
	}
	.svs_henkilot .svs_henkilo:nth-child(2n+1),
	.svs_osastonhenkilot .svs_osastonhenkilo:nth-child(2n+1) {
		clear: none;
	}
	.svs_henkilot .svs_henkilo:nth-child(3n+3),
	.svs_osastonhenkilot .svs_osastonhenkilo:nth-child(3n+3) {
		margin-right: 0%;
	}
	.svs_henkilot .svs_henkilo:nth-child(3n+1),
	.svs_osastonhenkilot .svs_osastonhenkilo:nth-child(3n+1) {
		clear: both;
	}
	.svs_elokuvat .svs_4jako,
	.svs_tuotteet .svs_4jako {
		width: 32.5%;
	}
	.svs_3jako {
	    width: 49.35%;
	    margin-right: 0.65%;
	}
	.svs_3jako:nth-child(3n+3) {
    	margin-right: 0.65%;
	}
	.svs_3jako:nth-child(3n+1) {
    	clear: none;
	}

	.svs_3jako:nth-child(2n+1) {
    	clear: both;
	}

}

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

	.home-upper {
		padding: 100px 0px 80px;
	}
	.kavennettu-sivu.ylasisennys .site-inner > .wrap {
		margin-top: -24px;
	}

}

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

	body {
		font-size: 14.5px;
		line-height: 1.6;
	}

	h1 {
		font-size: 2.5em;
	}

	h2 {
		font-size: 2.1em;
	}

	h3 {
		font-size: 1.8em;
	}


	.site-inner {
		padding-top: 16px;
	}

	.entry-header, .entry-header-sub {
		margin: 0px 0px 1em;
	}
	.home-bottom .widget-title, .sidebar .widget-title {
		margin: 0px 0px 1em;
		padding: 11px 8px;
	}
	.home-bottom .widget {
		margin: 0 0 1em;
	}
	.breadcrumb > span,
	.wrap {
		padding-left: 5%;
		padding-right: 5%;
	}

	.site-header {
		min-height: 140px;
	}
	.title-area {
		padding-bottom: 17px;
	}
	.header-image .site-title > a {
		min-height: 54px;
	}

	.archive-pagination li a {
		margin-bottom: 4px;
	}

	.five-sixths,
	.four-sixths,
	.one-fourth,
	.one-half,
	.one-sixth,
	.one-third,
	.three-fourths,
	.three-sixths,
	.two-fourths,
	.two-sixths,
	.two-thirds {
		margin: 0;
		width: 100%;
	}

	.home-top .wrap {
		max-width: 75%;
		padding-left: 0%;
		padding-right: 0%;
	}
	.home-top .more-link {
		display: block;
	}

	.home-bottom .widget {
		margin: 0 0 40px;
		width: 100%;
	}

	.genesis-nav-menu.responsive-menu {
		padding-bottom: 8px;
	}
	.genesis-nav-menu.responsive-menu,
	.genesis-nav-menu.responsive-menu > .menu-item > .sub-menu {
		display: none;
	}

	.genesis-nav-menu.responsive-menu .menu-item,
	.responsive-menu-icon {
		display: block;
	}

	.genesis-nav-menu.responsive-menu .menu-item:hover {
		position: static;
	}

	.genesis-nav-menu.responsive-menu li a,
	.genesis-nav-menu.responsive-menu li a:hover {
		background: none;
		border: none;
		display: block;
		line-height: 1;
		padding: 8px 20px;
		text-transform: none;
	}

	.genesis-nav-menu.responsive-menu .menu-item-has-children {
		cursor: pointer;
	}

	.genesis-nav-menu.responsive-menu .menu-item-has-children > a {
		margin-right: 60px;
	}

	.genesis-nav-menu.responsive-menu > .menu-item-has-children:before {
		content: "\f347";
		float: right;
		font: normal 16px/1 'dashicons';
		height: 16px;
		padding: 8px 20px;
		right: 0;
		text-align: right;
		z-index: 9999;
	}

	.genesis-nav-menu.responsive-menu .menu-open.menu-item-has-children:before {
		content: "\f343";
	}

	.genesis-nav-menu.responsive-menu .sub-menu {
		background-color: rgba(0, 0, 0, 0.05);
		border: none;
		left: auto;
		opacity: 1;
		position: relative;
		-moz-transition:    opacity .4s ease-in-out;
		-ms-transition:     opacity .4s ease-in-out;
		-o-transition:      opacity .4s ease-in-out;
		-webkit-transition: opacity .4s ease-in-out;
		transition:         opacity .4s ease-in-out;
		width: 100%;
		z-index: 99;
	}

	.genesis-nav-menu.responsive-menu .sub-menu li a,
	.genesis-nav-menu.responsive-menu .sub-menu li a:hover {
		padding: 8px 20px;
		position: relative;
		text-transform: none;
		width: 100%;
	}

	.genesis-nav-menu > li:last-child .sub-menu .sub-menu {
		margin-left: 0px;
	}

	.nav-primary .genesis-nav-menu.responsive-menu {
		padding-bottom: 16px;
	}

	.nav-primary .genesis-nav-menu.responsive-menu .sub-menu {
		background-color: rgba(0, 0, 0, 0.07);
	}

	.genesis-nav-menu.responsive-menu .sub-menu .sub-menu,
	.nav-primary .genesis-nav-menu.responsive-menu .sub-menu .sub-menu {
		background-color: transparent;
		margin: 0;
		padding-left: 25px;
	}

	.genesis-nav-menu > .menu-item-has-children > a:after {
		content: none;
	}
	.genesis-nav-menu > .menu-item-has-children .menu-item-has-children > a:after {
		content: none;
	}

	/* Palautetaan nakyviin 4 ensimmaista valikkoa mobiilissa nakymassa */
	.site-header .nav-header .genesis-nav-menu.responsive-menu > li:nth-child(99n+1),
	.site-header .nav-header .genesis-nav-menu.responsive-menu > li:nth-child(99n+2),
	.site-header .nav-header .genesis-nav-menu.responsive-menu > li:nth-child(99n+3),
	.site-header .nav-header .genesis-nav-menu.responsive-menu > li:nth-child(99n+4) {
		display: block;
	}
	/* Piilotetaan ylavalikko mobiilissa nakymassa */
	.header-top .widget_nav_menu {
		display: none;
	}

	.svs_henkilot .svs_henkilo,
	.svs_osastonhenkilot .svs_osastonhenkilo {
		width: 48.25%;
		margin-right: 3.5%;
	}
	.svs_henkilot .svs_henkilo:nth-child(3n+3),
	.svs_osastonhenkilot .svs_osastonhenkilo:nth-child(3n+3) {
		margin-right: 3.5%;
	}
	.svs_henkilot .svs_henkilo:nth-child(3n+1),
	.svs_osastonhenkilot .svs_osastonhenkilo:nth-child(3n+1) {
		clear: none;
	}
	.svs_henkilot .svs_henkilo:nth-child(2n+2),
	.svs_osastonhenkilot .svs_osastonhenkilo:nth-child(2n+2) {
		margin-right: 0%;
	}
	.svs_henkilot .svs_henkilo:nth-child(2n+1),
	.svs_osastonhenkilot .svs_osastonhenkilo:nth-child(2n+1) {
		clear: both;
	}
	.svs_elokuvat .svs_4jako,
	.svs_tuotteet .svs_4jako {
		width: 48.5%;
	}
	.footer-top .footer-topdiv {
		height: 16vw;
	}
	.footer-top a {
	    flex: auto;
	}
	.home-bottom.columns2 .widget {
    float: none;
    margin-left: 0;
    width: 100%;
	}

	.osastohakukentta {
		width: 48%;
		margin-right: 4%;
		float: left;
	}
	.osastohakukentta:nth-of-type(2n+2) {
		margin-right: 0%;
	}

}

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

	.js-wpv-view-layout-85, .js-wpv-view-layout-121 {
	    display: grid;
	    grid-template-columns: 1fr;
	    grid-gap: 10px;
	}


	.footer-widgets-3,
	.footer-widgets-4 {
		clear: both;
		float: none;
		width: 100%;
	}
	.footer-widgets-2 .widget,
	.footer-widgets-3 .widget {
		float: left;
		width: 49.5%;
		margin-right: 1%;
	}
	.footer-widgets-2 .widget:nth-child(3n+3) {
		margin-right: 1%;
	}
	.footer-widgets-2 .widget:nth-child(3n+4) {
		clear: none;
	}
	.footer-widgets-2 .widget:nth-child(2n+2) {
		margin-right: 0%;
	}
	.footer-widgets-2 .widget:nth-child(2n+3) {
		clear: none;
	}

	.svs_3jako_isoalkunosto, .svs_3jako_isoalkunosto:first-child {
	    width: 100%;
	    float: none;
	    clear: both;
	    margin-right: 0px;
	}
	.svs_3jako_isoalkunosto:nth-child(3n+1) {
	    margin-right: 0px;
	}

}

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

	body {
		font-size: 14px;
		line-height: 1.55;
	}

	h1 {
		font-size: 2.2em;
	}

	h2 {
		font-size: 1.8em;
	}

	h3 {
		font-size: 1.6em;
	}

	h4 {
		font-size: 1.5em;
	}

	h5 {
		font-size: 1.4em;
	}

	h6 {
		font-size: 1.2em;
	}

	.home-top .wrap {
		max-width: 80%;
	}
	.content-top {
		flex-flow: column wrap;
	}
	.content-top .content-topdiv {
		height: 60px;
	}
	.content-top a {
		width: 100%;
	}

	.content-top .content-topdiv {
		height: 50px;
	}
	.footer-top .footer-topdiv {
		height: 20vw;
	}
	.entry-title {
		font-size: 1.4em;
	}
	.svs_3jako {
    	width: 100%;
    	margin-right: 0;
	}

	.svs_2palsta_iso_kuva {
		width: 100%;
		float: none;
	}
	.svs_2palsta_iso_teksti {
		width: 100%;
		float: none;
	}
	.svs_2palsta_iso_teksti h3 {
		font-size: 1.6em;
	}

	.footer-widgets-1 .widget {
		float: none;
		margin-right: 0px;
	}
	.footer-widgets-1 .widget:nth-child(2n+1) {
		margin-bottom: 16px;
	}

}

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

	.site-header {
		min-height: 130px;
	}
	.site-header .wrap {
		padding: 28px 0px 4px;
	}
	.title-area {
		padding-bottom: 16px;
	}
	.header-image .site-title > a {
		min-height: 50px;
	}

	.header-top .kirjasinkokovaihto {
		display: none;
	}

	.svs_henkilot .svs_henkilo,
	.svs_osastonhenkilot .svs_osastonhenkilo {
		width: 100%;
		margin-right: 0%;
		float: none;
	}
	.svs_henkilot .svs_henkilo:nth-child(3n+3),
	.svs_osastonhenkilot .svs_osastonhenkilo:nth-child(3n+3) {
		margin-right: 0%;
	}

	.footer-top .footer-topdiv {
		height: 24vw;
	}

}

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

	.site-header {
		min-height: 120px;
	}
	.site-header .wrap {
		padding: 24px 0px 4px;
	}
	.title-area {
		padding-bottom: 14px;
	}
	.header-image .site-title > a {
		min-height: 48px;
	}

	.footer-widgets-2 .widget,
	.footer-widgets-3 .widget {
		float: none;
		width: 100%;
		margin-right: 0%;
		margin-bottom: 24px;
	}
	.footer-widgets-2 .widget:nth-child(5n+5),
	.footer-widgets-2 .widget:nth-child(3n+3),
	.footer-widgets-3 .widget:nth-child(6n+6),
	.footer-widgets-3 .widget:nth-child(3n+3) {
		margin-right: 0%;
	}
	.svs_elokuvat .svs_4jako,
	.svs_tuotteet .svs_4jako {
		width: 100%;
	}

	.footer-top .footer-topdiv {
		height: 28vw;
	}

	.osastohakukentta {
		width: 100%;
		margin-right: 0%;
		float: none;
	}

}
