/*!
Theme Name: Patsaspuhuu
Theme URI: http://www.patsaspuhuu.fi/
Author: wrkshp
Author URI: https://wrkshp.fi/
Description: Description
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: patsaspuhuu
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

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.

Patsaspuhuu is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  height: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
footer {
  margin-top: auto;
  align-self: flex-end;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

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

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

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

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}
/*--------------------------------------------------------------
# Mini (Typography) Reset
--------------------------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
}
/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
  color: #043a6e;
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

p {
  /* margin-bottom: 0.5em; /* 1.5 */
}

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

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 15px;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

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 {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/*--------------------------------------------------------------
# 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 https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
  box-sizing: inherit;
}

body {
  background: #f4f4f4;
  /* Fallback for when there is no custom background color defined. */
}

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

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

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. */
}

figure {
  margin: 1em 0;
  /* Extra wide images within figure tags don't overflow the content area. */
}

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

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
  color: #043a6e; /* color: #A92940; */
  text-decoration: none;
}

a:visited {
  color: #043a6e;
}

a:hover,
a:focus,
a:active {
  color: #00c8a9;
}

footer a:hover,
footer a:focus,
footer a:active {
  color: #f7f7f7;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}
a.btn {
  border-radius: 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.6em 2em;
  transition: all 0.3s ease-in-out 0s;
  display: inline-block;
  margin: 1rem;
}
a.btn.blue-on-red {
  background: #00c8a9;
  color: #2e364f;
}
a.btn.red-on-blue {
  background: #2e364f;
  color: #00c8a9;
}
a.btn:hover {
  color: #fff;
  transform: scale(1.1) !important;
}
.front-only {
  display: none !important;
}
.home .front-only {
  display: inline-block !important;
}
.home .not-on-front {
  display: none !important;
}
/* #about a {
	color: #E0062C; 
    text-decoration: none;
}

#about a:visited {
	color: #E0062C;
}

#about a:hover, #about a:focus, #about a:active {
	color: #DF8C00;
} */
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

#site-navigation {
  display: none;
  width: 100%;
  background: #00c8a9;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 333333;
}
#site-navigation {
  /* = .main-navigation */
  width: 100vw;
}
@media only screen and (min-width: 500px) {
  #site-navigation {
    width: 500px;
  }
}
.menu-main-menu-container,
.main-navigation ul {
  width: 100%;
}
.main-navigation ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding-left: 0;
  z-index: 999999;
}
.main-navigation li {
  text-align: center;
  margin: 1rem 0;
}
.main-navigation li.wpml-ls-item {
  text-transform: uppercase;
}
.main-navigation li.wpml-ls-item-fi {
  border-top: 2px dotted #043a6e;
  padding-top: 2rem;
}
.main-navigation a {
  display: block;
  text-decoration: none;
  color: #043a6e;
  font-size: 1.2rem;
  line-height: 1.5rem;
}
.main-navigation a:hover,
.main-navigation a:focus {
  color: #fff;
}
button.menu-toggle,
span.btn-search {
  border: none;
  border-radius: 0;
  background: transparent;
  color: #00c8a9;
  font-size: 1rem;
  line-height: 1;
  margin-top: 12px;
}
button.menu-toggle {
  position: fixed;
  top: 0;
  right: 0;
}
button.menu-toggle:hover,
span.btn-search:hover {
  color: #ff3050; /* color: #FFAE26; */
}
.navbar-toggler {
  position: fixed;
  top: 0;
  right: 0;
  width: 45px;
  height: 45px;
  box-sizing: border-box;
  padding: 0;
  margin: auto;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1;
  background-color: #043a6e;
  color: #fff;
  border-radius: 0;
  border: 0;
  z-index: 444444;
  cursor: pointer;
}
.navbar-toggler i:before {
  content: "\f0c9";
}
.navbar-toggler.toggled i:before {
  content: "\f00d";
}
.navbar-toggler:hover,
.navbar-toggler:focus {
  text-decoration: none;
  border: none;
}
span.btn-search {
  right: 48px;
}
.btn-search:hover {
  cursor: pointer;
  opacity: 0.6;
}
nav.scrollhide-nav {
  display: flex;
  justify-content: space-between;
}
.scrollhide-nav > div {
}
.scrollhide-nav {
  position: fixed;
  right: 0;
  top: 0;
  left: 0;
  transition: -webkit-transform 1s cubic-bezier(0.86, 0, 0.07, 1);
  transition: transform 1s cubic-bezier(0.86, 0, 0.07, 1);
  transition: transform 1s cubic-bezier(0.86, 0, 0.07, 1),
    -webkit-transform 1s cubic-bezier(0.86, 0, 0.07, 1);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  z-index: 999;
  width: 100%;
  min-height: 100px;
  margin: 0;
}
.scrollhide-nav.hidden {
  -webkit-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
}
#site-navigation {
  transition: -webkit-transform 1s cubic-bezier(0.86, 0, 0.07, 1);
  transition: transform 1s cubic-bezier(0.86, 0, 0.07, 1);
  transition: transform 1s cubic-bezier(0.86, 0, 0.07, 1),
    -webkit-transform 1s cubic-bezier(0.86, 0, 0.07, 1);
}
#site-navigation.hidden {
  -webkit-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
}
#menu-primary {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
#menu-footer {
  display: flex;
  list-style-type: none;
  align-items: center;
  flex-direction: column;
  align-content: center;
  justify-content: center;
}
.main-navigation ul {
  height: 100vh;
  padding: 8rem 2rem 0;
}
.brandbar {
  width: 100px;
  height: auto;
  z-index: 222;
  top: 0;
  transition: all 0.5s ease;
  min-height: 60px;
}
#wrks-search {
  width: auto;
  /* float:right; */
  margin-right: 1rem;
}
#brand {
  /* background-image: url(pix/brand.png); */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  height: 60px;
  width: 60px;
  padding: 0 !important;
  margin: 1rem;
}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 1024px) {
  /* #menu-primary, #menu-footer {
        flex-direction: row;
    }
   .menu-toggle {
		display: none;
	} 
    #menu-primary li, #menu-footer li {
        margin-right:2rem;
    } 
	.main-navigation ul {
		display: flex;
	}
    .scrollhide-nav {
        min-height:150px;
    } */
}
#wrks-search {
  width: auto;
  cursor: pointer;
}
/* @ Search Form */
.searchform {
  position: relative;
  width: 190px;
  margin: 3px 0 3px 0;
  display: inline-block;
}
.searchfield {
  border-radius: 3px;
  height: 23px;
  padding: 5px 5px 5px 12px;
  margin: 0;
  cursor: default;
  line-height: 1.2em;
  transition: all 0.7s;
  text-indent: 15px;
  box-sizing: border-box;
  width: 100%;
}
.searchfield:focus {
  cursor: text;
  box-shadow: none;
  background-color: #fff;
  color: #000;
}
#searchform {
  /*height: 40px;
    line-height: 40px;  
    vertical-align: top;
    margin-bottom: 0;
    position: absolute;
    display: inline-block;  */
  font-size: 12px;
  right: 9px;
  top: 8px;
}
#searchform fieldset {
  padding: 0;
  margin: 0;
  border: 0;
  position: fixed;
  right: 48px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}
#searchform form {
  margin: 0 0 21.7px;
}
#searchform input {
  margin: 0;
  margin-top: 10px;
  padding: 0;
  width: 0;
  background: transparent;
  -webkit-transition: width 0.5s ease-in-out;
  -moz-transition: width 0.5s ease-in-out;
  -ms-transition: width 0.5s ease-in-out;
  transition: width 0.5s ease-in-out;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
}
#searchform focus {
  box-shadow: none;
}
#searchform.has-focus input {
  width: 200px;
}
#searchform.has-focus .btn-search {
  color: #ff3050;
}

#disco-nav-sidebar .nav-scroll-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}
#disco-nav-sidebar .nav-scroll {
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  height: 100%;
  box-sizing: content-box;
}
#nav-overlay-wrapper {
  /* left: 0; */
  right: 0;
  z-index: 222222;
  position: fixed;
  top: 0;
  -webkit-backface-visibility: hidden;
  bottom: 0;
  display: none;
}
#nav-overlay {
  cursor: url("https://disco.teak.fi/tanssi/wp-content/plugins/superfly-menu/img/close3.png")
      16 16,
    pointer;
}
#nav-overlay[aria-expanded="true"] {
  opacity: 0.6;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
}
#nav-overlay {
  opacity: 0.6;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
  background: #333;
  width: 100vw;
  height: 100vh;
  -webkit-transition: opacity 0.4s cubic-bezier(0.215, 0.061, 0.355, 1);
  -moz-transition: opacity 0.4s cubic-bezier(0.215, 0.061, 0.355, 1);
  -ms-transition: opacity 0.4s cubic-bezier(0.215, 0.061, 0.355, 1);
  -o-transition: opacity 0.4s cubic-bezier(0.215, 0.061, 0.355, 1);
  transition: opacity 0.4s cubic-bezier(0.215, 0.061, 0.355, 1);
  -webkit-transition-delay: 0.05s;
  transition-delay: 0.05s;
  -webkit-transform: translate3d(0, 0, 0);
}
nav #home {
  width: 100%;
  height: 40vh;
  background-repeat: no-repeat;
  background-position: center 40px;
  background-size: contain;
}
nav #home {
  background-image: url(pix/m-tunnus-fi.png);
}
nav #home.sv {
  background-image: url(pix/m-tunnus-sv.png);
}
nav #home.en {
  background-image: url(pix/m-tunnus-en.png);
}

nav #home {
}
/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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;
  clip-path: none;
  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. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}
.content-link {
  position: absolute;
  left: -9999px;
}
/*--------------------------------------------------------------
# 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;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0 0 1.5em;
  /* Make sure select elements fit in widgets. */
}

.widget select {
  max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
  display: block;
}

.post,
.page {
  margin: 0; /*  margin: 0 0 1.5em; */
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 0 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# 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%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

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

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

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

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

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  margin-bottom: 1.5em;
  grid-column: 3 / 6;
}
.gallery-columns-1 {
  grid-column: 4;
}

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

/*--------------------------------------------------------------
# PATSASPUHUU.FI -tyylit
--------------------------------------------------------------*/
body {
  margin: 0;
  padding: 0;
  font-family: objektiv-mk3, sans-serif;
  font-weight: 400;
}
.brandbar a {
  display: flex;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
}
section.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
}
@media (min-width: 1024px) {
  section.slider_wrapper {
    position: relative;
    height: 100vh;
  }
  #slider {
    height: 100vh;
  }
  #headboard {
    left: 0;
    right: 0;
    text-align: center;
    z-index: 999;
    cursor: pointer;
  }
  section.content {
    margin: 4em auto;
    height: 90vh;
  }
}
#brand {
  position: relative;
  width: 60px;
  height: 60px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin: 0 2rem 0 0;
}
.brandbar #brand {
  width: 50px;
  height: 50px;
  margin: 1rem;
}
#headboard span {
  margin: 0;
  padding: 0;
  line-height: 1;
  text-transform: uppercase;
  color: #404040;
  font-weight: 300;
  display: block;
}
.sy-pager,
.sy-controls,
.sy-slides-wrap:hover .sy-controls {
  display: none !important;
}
.content div.info {
  text-align: center;
  z-index: 9999;
}
.info h2 {
  font-size: 1.2em;
  width: 25ch;
}
@media (min-width: 768px) {
  #billboard h1,
  #billboard h2 {
    font-size: 1.5rem;
  }
  .info h2 {
    font-size: 1.7em;
    width: 30ch;
  }
}
@media (min-width: 1024px) {
  #billboard h1,
  #billboard h2 {
    font-size: 2.5rem;
  }
  .info h2 {
    font-size: 2em;
    width: 36ch;
  }
}
@media (min-width: 1200px) {
  #billboard h1,
  #billboard h2 {
    font-size: 3.5rem;
  }
  .info h2 {
    font-size: 2.5em;
    width: 40ch;
  }
}
footer ul {
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  justify-items: center;
  list-style-type: none;
  flex-flow: column wrap;
  text-align: center;
  -webkit-margin-before: 0;
  -webkit-margin-after: 0;
  -webkit-margin-start: 0;
  -webkit-margin-end: 0;
  -webkit-padding-start: 0;
  margin: 3rem 0 1rem;
  padding: 0;
}
footer ul li span {
  font-weight: 500;
  font-size: 1.2em;
}
footer ul li span em {
  font-style: normal;
  font-weight: 700;
  display: block;
}
@media (min-width: 768px) {
}
@media (min-width: 1024px) {
}

.patsaspuhuu.manta {
  background-image: url(pix/manta.png);
}
.patsaspuhuu.runeberg {
  background-image: url(pix/runeberg.png);
}

div#tunnus2,
div#hel {
  width: 100%;
  height: auto;
  padding-top: 35%;
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
}
#tunnus2 {
  background-image: url(pix/tunnus-small-fi.png);
}
#tunnus2.sv {
  background-image: url(pix/tunnus-small-sv.png);
}
#tunnus2.en {
  background-image: url(pix/tunnus-small-en.png);
}
#hel {
  background-image: url(pix/hel-small.png);
}
#hel.sv {
  background-image: url(pix/hel-small-sv.png);
}

/* ============ Statues ================== */

#statue {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
#statue-nav {
  position: absolute;
  width: 100%;
  height: auto;
  padding-top: 45%;
  top: 0;
}
@media (max-width: 1024px) {
  #statue {
  }
  #statue-nav {
    width: 100%;
    height: auto;
    padding-top: 56.25%;
  }
}
#img-container {
  position: relative;
  width: 100%;
  height: auto;
  padding-top: 56.25%;
  margin: auto;
  border-radius: 0%;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: contain;
}
#vid-container {
  position: relative;
  top: 0;
  margin: 0 auto;
}
#wrapper {
  display: none;
}
#wrapper {
  width: 100%;
  max-width: 500px;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  /* left: 50%;
    transform: translateX(-50%); */
  margin: auto;
  font-size: 100%;
  z-index: 999;
  letter-spacing: 0.02em;
}

@media only screen and (max-width: 32.5em) /* 520 */ {
  #wrapper {
    width: 70%;
    height: auto;
  }
}
button#close-audio.ctrl-button.audioplayer-playpause {
  display: none;
}

/* ===== taustaprofiilit ============ */

.aleksanteriii #img-container {
  background-image: url(pix/aleksanteri.jpg);
}
.havisamanda #img-container {
  background-image: url(pix/havisamanda.jpg);
}
.leino #img-container {
  background-image: url(pix/leino.jpg);
}
.keisarinnankivi #img-container {
  background-image: url(pix/keisarinna.jpg);
}
.runeberg #img-container {
  background-image: url(pix/runeberg.jpg);
}
.topelius #img-container {
  background-image: url(pix/topelius.jpg);
}
.mannerheim #img-container {
  background-image: url(pix/mannerheim.jpg);
}
.paasikivi #img-container {
  background-image: url(pix/paasikivi.jpg);
}
.stahlberg #img-container {
  background-image: url(pix/stahlberg.jpg);
}
.svinhufvud #img-container {
  background-image: url(pix/svinhufvud.jpg);
}
.kallio #img-container {
  background-image: url(pix/kallio.jpg);
}
.ryti #img-container {
  background-image: url(pix/ryti.jpg);
}
.relander #img-container {
  background-image: url(pix/relander.jpg);
}
.kekkonen #img-container {
  background-image: url(pix/kekkonen.jpg);
}
.miina #img-container {
  background-image: url(pix/sillanpaa.jpg);
}

#vid-container {
  z-index: 999;
}
#vid-container {
  display: none;
}

#vid-fi,
#vid-sv,
#vid-en {
  display: none;
}

/* ============ WP Grid Base ================== */

#main {
  grid-template-columns: 6vw 1fr 6vw;
  grid-gap: 0;
}
body.single,
body.page {
  display: grid;
  grid-template-rows: -webkit-min-content -webkit-min-content auto;
  grid-template-rows: min-content min-content auto;
  grid-gap: 0;
}
.single header,
.page header,
#featured {
  grid-row: 1;
}
.single #content,
.page #content,
#front-loop {
  grid-row: 2;
}
.single footer,
.page footer,
#about {
  grid-row: 3;
}
.home #map {
  grid-row: 4;
}
/* ---- #featured / about-----*/

section#featured {
  grid-column: 1 / 4;
  display: grid;
  grid-gap: 1vh;
  grid-template-columns: 1fr;
  grid-template-rows: 40vh 8vh 50vh;
  align-items: center;
  background: #00c8a9;
  height: 100vh;
}
div.tunnus {
  width: 100%;
  height: 40vh;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}
div#tunnus {
  width: 100%;
  height: 40vh;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
}
#tunnus {
  background-image: url(pix/m-tunnus-fi.png);
}
#tunnus.sv {
  background-image: url(pix/m-tunnus-sv.png);
}
#tunnus.en {
  background-image: url(pix/m-tunnus-en.png);
}

#language-sw {
  height: 8vh;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
div.patsaspuhuu {
  width: 100%;
  height: 50vh;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: contain;
}
ul.unslider-wrap {
  width: 100%;
  height: 50vh;
}
section#about {
  grid-column: 1 / 4;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 2;
  align-items: center;
  background: #00c8a9;
}
section.error-404 {
  grid-column: 1 / 4;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}
#about .logo {
}
@media (orientation: portrait) and (max-width: 767px) {
  div#tunnus {
    background-position: center bottom;
  }
}
@media (orientation: landscape), (min-width: 768px) {
  section#featured {
    grid-template-columns: 2fr 3fr;
    grid-row-gap: 2vh;
    grid-template-rows: 38vh 10vh;
    height: 50vh;
  }
  div.tunnus {
    grid-column: 1;
    grid-row: 1;
  }
  #tunnus {
    background-image: url(pix/tunnus-fi.png);
  }
  #tunnus.sv {
    background-image: url(pix/tunnus-sv.png);
  }
  #tunnus.en {
    background-image: url(pix/tunnus-en.png);
  }
  #language-sw {
    grid-column: 1;
    grid-row: 2;
  }
  div.unslider {
    grid-column: 2;
    grid-row: 1 / 3;
  }
  div.tunnus {
    height: 38vh;
  }
  div#tunnus {
    height: 38vh;
  }
  #language-sw {
    height: 10vh;
    justify-content: flex-end;
  }
  div.unslider {
    height: 50vh;
  }
  div.patsaspuhuu {
    height: 50vh;
  }
  ul.unslider-wrap {
    width: 100%;
    height: 50vh;
  }
  section#about {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto;
    grid-gap: 2rem;
  }
  #about .logo {
    display: block;
    grid-column: 2;
    grid-row: 1;
  }
  #about .content {
    grid-column: 1;
    grid-row: 1;
  }
}
@media (orientation: landscape) and (max-width: 767px) {
  section#featured {
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 2vh;
    grid-template-rows: 70vh 28vh;
    height: 100vh;
  }
  div.tunnus {
    grid-column: 1;
    grid-row: 1;
  }

  #tunnus {
    background-image: url(pix/m-tunnus-fi.png);
  }
  #tunnus.sv {
    background-image: url(pix/m-tunnus-sv.png);
  }
  #tunnus.en {
    background-image: url(pix/m-tunnus-en.png);
  }

  #language-sw {
    grid-column: 1;
    grid-row: 2;
  }
  div.unslider {
    grid-column: 2;
    grid-row: 1 / 3;
  }
  div.tunnus {
    height: 70vh;
  }
  div#tunnus {
    height: 70vh;
    background-position: center 40px;
  }
  #language-sw {
    height: 28vh;
    justify-content: center;
  }
  div.unslider {
    height: 100vh;
  }
  div.patsaspuhuu {
    height: 100vh;
  }
  ul.unslider-wrap {
    width: 100%;
    height: 100vh;
  }
  section#about {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto;
    grid-gap: 2rem;
  }
  #about .logo {
    display: block;
    grid-column: 2;
    grid-row: 1;
  }
  #about .content {
    grid-column: 1;
    grid-row: 1;
  }
}
@media (min-width: 1024px) {
  section#featured {
    grid-template-rows: 55vh 10vh;
    grid-row-gap: 5vh;
    height: 70vh;
  }
  div.tunnus {
    height: 55vh;
  }
  #tunnus {
    background-image: url(pix/tunnus-fi.png);
  }
  #tunnus.sv {
    background-image: url(pix/tunnus-sv.png);
  }
  #tunnus.en {
    background-image: url(pix/tunnus-en.png);
  }

  div#tunnus {
    height: 55vh;
  }
  div.patsaspuhuu {
    height: 70vh;
  }
  div.unslider {
    height: 70vh;
  }
  ul.unslider-wrap {
    width: 100%;
    height: 70vh;
  }
}
section.bannerit {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  grid-gap: 2rem;
  list-style: none;
  margin: 0;
  align-items: center;
  background: #00c8a9;
}
@media (min-width: 500px) {
  section.bannerit {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .patsaat {
    grid-row: 2;
    grid-column: 1/ 4;
  }
}
@media (min-width: 768px) {
  section.bannerit {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .patsaat {
    grid-row: 1;
    grid-column: 4;
  }
}
.search-results h1,
section.no-results {
  grid-column: 2 / 3;
}
section.loopwrap {
  grid-column: 2 / 3;
}
#front-loop {
  margin-top: 2rem;
}
#main {
  display: grid;
  grid-template-columns: 5vw 1fr 5vw;
  grid-gap: 0;
  /* grid-row-gap: 3rem; */
}
#about .content {
}
#about .title,
#about .title a,
#featured .title,
#kuv-banner .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
}
#about .logo {
  width: 100%;
  height: 0;
  padding-top: 60%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
html[lang|="fi"] .logo {
  background-image: url(pix/logo-fi.png);
}
html[lang|="en"] .logo {
  background-image: url(pix/logo-en.png);
}
html[lang|="sv"] .logo {
  background-image: url(pix/logo-sv.png);
}
section#front-loop {
  grid-column: 2 / 3;
}
ul.le-loop {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  align-items: start;
  grid-gap: 2rem;
  list-style: none;
  margin: 0;
  -webkit-margin-start: 0;
  -webkit-padding-start: 0;
  -moz-padding-start: 0;
}
#more-loop ul.le-loop {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  align-items: start;
  grid-gap: 2rem;
  list-style: none;
  margin: 0;
  -webkit-margin-start: 0;
  -webkit-padding-start: 0;
  -moz-padding-start: 0;
}
.le-loop li {
  display: flex;
  flex-direction: column;
  align-content: flex-start;
  justify-content: center;
  padding-top: 1rem;
}
.single article {
  grid-row: 2;
}
.nav-links {
  display: grid;
  grid-template-columns: 40% 1fr 40%;
  grid-template-rows: -webkit-min-content -webkit-min-content 4rem auto;
  grid-template-rows: min-content min-content 4rem auto;
  grid-gap: 0;
}
footer {
  margin-top: 1rem;
}
.single .thmb-img {
  width: 100%;
  height: 50vh;
  position: relative;
  grid-row: 1;
  grid-column: 1 / 4;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin: 3rem 0 1rem 0;
}
.single #main article {
  grid-column: 2;
}
#statue {
  grid-column: 1 /4;
  grid-row: 1;
}
.single #map {
  grid-column: 1 /4;
  grid-row: 3;
}
@media (min-width: 1024px) {
  .le-loop li {
    padding-top: 2rem;
  }
  article.category-info {
    display: grid;
    grid-template-columns: 1fr minmax(50ch, 75ch) 1fr;
    grid-column-gap: 20px;
  }
}
@media (min-width: 1025px) {
  #statue {
    grid-column: 2;
  }
}
@media (min-width: 1280px) {
}
@media (min-width: 1366px) {
}
@media (min-width: 1500px) {
  #main {
    grid-template-columns: 10vw 1fr 10vw;
    grid-gap: 0;
  }
  .home section#about {
    grid-template-columns: 10vw 1fr 1fr 10vw;
  }
  .home section#about .title {
    grid-column: 2;
  }
  .home section#about .content {
    grid-column: 3;
  }
}

article.category-info > * {
  grid-column: 2;
}
.article-body > * {
  z-index: 1;
}

/* ============ WP tyylit ================== */

h1,
h2 {
  color: #043a6e;
}
#front-loop {
  margin: 2rem 0;
}
/* #about {
    background-color: #2E364F;
    min-height:30vh; 
}*/
#about {
  min-height: 30vh;
  padding: 3rem 5vw;
}
#about {
  background-color: #00c8a9;
}
#featured .featured {
  background-image: url(pix/default.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 50vh;
  padding: 0;
  margin: 0;
}
#featured.seura .featured {
}
#featured.paikallis .featured {
}
#featured.lehti .featured {
}
#featured article {
  min-height: 40vh;
}
#kuv-banner {
  background-color: #00c8a9;
  min-height: 50vh;
  margin-bottom: 2rem;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
div.feature-img {
  width: 100vw;
  height: 100vw;
  background-position: center;
  background-size: cover;
}
div.entry-thumb {
  background-position: center;
  background-size: cover;
  background-color: #00c8a9;
  width: 80%;
  padding: 40% 0;
  border-radius: 50%;
  height: 0;
  margin: 0 auto;
}
.le-loop li:nth-child(even) div.entry-thumb {
  border-radius: 0;
}
div.entry-content {
  /* width:80%; */
  margin: 0 auto;
  margin-bottom: 1rem;
  text-align: left;
}
.entry-content p:first-child {
  margin-top: 0;
}
.article-body {
  margin: 2rem 0;
}
header.entry-header {
  width: 100%;
  margin: 0 auto;
}
.thmb-wrap {
  position: relative;
}
.thmb-wrap img {
  border-radius: 50%;
  max-width: 80%;
  margin: 0 10%;
  opacity: 0.85;
}
.thmb-wrap a:hover img {
  opacity: 1;
}
.flagg {
  width: 100%;
  height: 6.5em;
  position: absolute;
  bottom: 0;
  left: 0;
  /*border-radius:50%;
    background:#00C8A9; */
  background-image: url(pix/flagg.png);
  background-repeat: no-repeat;
  background-position: top left;
  background-size: cover;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
  padding: 1rem;
}
.flagg span.title {
  font-weight: 500;
}
.flagg span {
  align-self: center;
  font-weight: 500;
  font-size: 1.5em;
  line-height: 1;
}
.flagg span.title {
  font-weight: 400;
  font-size: 1.5em;
  text-transform: uppercase;
}
.flagg span em {
  display: block;
  font-size: 0.8em;
  font-weight: 500;
  text-transform: uppercase;
  font-style: normal;
}
@media (min-width: 768px) {
  .flagg {
  }
  .flagg span {
  }
}
@media (min-width: 1024px) {
  .flagg {
  }
  .flagg span {
  }
}
@media (min-width: 1366px) {
  .flagg {
  }
  .flagg span {
  }
}
@media (min-width: 1500px) {
  #about {
    padding: 3rem 0;
  }
}
/* .single .nav-links {
    display:flex;
    justify-content: space-between;
    align-content: center;
    align-items:center;
} */
.nav-links > div a {
  display: flex;
  align-content: center;
  align-items: center;
  font-size: 0.8rem;
  line-height: 1.2em;
  min-height: 2rem;
}
.nav-links > div a em {
  display: block;
  font-style: normal;
}
.single div.nav-next {
  grid-column: 1 / 2;
  grid-row: 2;
  text-align: left;
}
.single div.nav-previous {
  grid-column: 3 / 4;
  grid-row: 2;
  text-align: right;
}
.single div.nav-previous a {
  justify-content: flex-end;
}
.single div.nav-next a {
  justify-content: flex-start;
}
.nav-previous a:after,
.nav-next a:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 2rem;
}
.nav-previous a:after {
  content: "\f061";
  padding-left: 1rem;
}
.nav-next a:before {
  content: "\f060"; /* "\f053" */
  padding-right: 1rem;
}
.nav-previous b,
.nav-next b {
  padding-right: 0.5rem;
}
@media only screen and (orientation: landscape) {
  div.feature-img {
    width: 100vw;
    height: 70vh;
    background-position: center;
    background-size: cover;
  }
}
section.divider {
}
footer {
  width: 100%;
  min-height: 120px;
  background-image: url(pix/footer.png);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  margin: 0;
  padding-top: 80px;
  color: #043a6e;
  background: #00c8a9;
}
.home footer {
  margin-top: 0;
}
div.post-nav {
  position: fixed;
  width: 100%;
  top: 50vh;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  z-index: 0;
}
.next-post {
  justify-content: flex-start;
  padding-left: 1vw;
}
.prev-post {
  justify-content: flex-end;
  padding-right: 1vw;
}
.post-nav i {
  font-size: calc(0.5rem + 3vw);
}
/*--------------------------------------------------------------
## Patsaspuhuu TYPOGRAPHY
--------------------------------------------------------------*/
body {
  font-style: normal;
  font-weight: 400;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}
h6 {
  font-weight: 500;
}
.error-404 h1 {
  text-align: center;
  margin: 5vw;
}
#menu-primary li a,
#menu-footer li a {
  text-transform: uppercase;
  color: #00c8a9;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.025em;
}
#menu-footer li a {
  color: #043a6e;
}
#menu-primary ul li a,
#menu-footer ul li a {
  font-weight: 400 !important;
}
#menu-primary li a:hover {
  color: #ff3050;
}
#menu-footer li a:hover {
  color: #f7f7f7;
}
#about .content p,
#featured .content p {
  margin: 0.5em 5vw;
  font-size: 1.2em;
  color: #043a6e;
}
.featured .content p:first-of-type {
  margin-top: 1.5rem !important;
}
.featured .content p:last-of-type {
  margin-bottom: 1.5rem !important;
}
.home #about .content p:nth-of-type(3),
.home #about .content p:nth-of-type(4) {
  display: none;
}
.article-body p,
.entry-content p {
  font-weight: 400;
  line-height: 1.6em;
  font-size: 1.4em;
  margin-bottom: 0.5em;
}
.category-info .article-body p {
  font-weight: 300;
}
.entry-content p {
  font-size: 1.2em;
}
.tiistai .entry-content p {
  font-size: 1.5em;
}
h4.aika {
  color: #00c8a9;
}
.article-body p strong {
  font-weight: 500;
  line-height: 1.6em;
}
.article-body p.kirjoittaja {
  font-weight: 500;
  text-transform: uppercase;
}
.article-body p.pieni {
  font-weight: 500;
  font-size: 1rem;
}
.article-body p.ingressi {
  font-weight: 500;
  color: #00c8a9;
  font-size: 1.6em;
  line-height: 1.4em;
}
.article-body p a {
  font-weight: 700;
  font-size: 0.8em;
  text-transform: uppercase;
  word-break: break-word;
  line-height: 0.5em;
}
.article-body blockquote p {
  font-style: normal;
  font-weight: normal;
}
/* .sticky:first-of-type .entry-content p {
    font-size:1.5em;
} */
body .pl-fixed-top {
  background-color: #ffffff;
  box-shadow: none;
}
h1,
h2,
h3,
h4,
h5,
h6,
.loop-menu .categories {
  line-height: 1.2em;
  margin: 0.6em 0;
  text-rendering: optimizelegibility;
}
h1 {
  font-size: calc(1.5rem + 2vw); /* font-size:1.5em; */
}
#about h1,
#featured h1 {
  font-size: calc(1.4rem + 1vw); /* font-size:1.5em; */
}
h3 {
  font-size: 2em;
}
h4 {
  font-size: 1.6em;
}
h5,
h6 {
  font-size: 1.4em;
}
h4.loop-title,
h4.topic,
.tiistai-info h4 {
  font-weight: 900;
  color: #00c8a9;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tiistai-info h4 {
  color: #fff;
}
h2,
h3.subhead {
  font-size: calc(1rem + 2vw); /* font-size:2.4em; */
}
.category-info h2 {
  font-size: calc(1rem + 1vw);
  margin: 1.2em 0 0.6em 0;
}
#kuv-banner {
  text-align: center;
  color: #043a6e;
}
#kuv-banner h2 {
  font-size: calc(1rem + 3vw); /* font-size:2.4em; */
  color: #043a6e;
}
#kuv-banner p {
  font-size: 1.5em;
}
#kuv-banner a {
  margin-top: 1rem;
}
/* .single article h2 {
    font-size: calc(1.5rem + 2vw);
    font-weight: 400;
    margin-top: 0;
} */
h1.site-title em,
h1.site-title em {
  font-style: normal;
  color: #e0062c;
  font-size: 1.5em;
  line-height: 1.2em;
  display: block;
}
h1.entry-title i {
  font-style: normal;
  font-weight: 400;
  display: block;
  /* color:#E63359; */
}
h1.entry-title em,
h2.entry-title em,
h3.subhead,
.le-loop h2 i {
  font-style: normal;
  display: block;
  font-weight: 400;
}
h1.entry-title em {
  font-weight: 300;
}
.brandbar span {
  font-size: 0.9rem; /* font-size: calc(1rem + 1.8vw);  */
  color: #00c8a9;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  display: none;
}
.home .brandbar span {
  display: block;
}
.le-loop h2,
.le-loop h3 {
  font-size: calc(1rem + 1vw);
  padding: 0;
}
#more-loop .le-loop h2 {
  font-size: calc(1rem + 0.7vw);
}
blockquote {
  color: #666;
}
/*.article-body p a:after {
    content: "\f03e";
    font-family: 'Font Awesome 5 Free';
    padding:0 0.5em;
}
.article-body p strong a:after {
    content: "\f0a9";
}
.article-body p strong a {
    font-weight: normal;
} */
.wp-block-media-text p {
  font-weight: 400;
  font-size: 1.5em;
}
figcaption,
figcaption em,
figcaption i {
  font-weight: 500;
  font-style: normal;
  text-align: left;
}
figcaption i {
  font-size: 0.8em;
  text-transform: uppercase;
}
figcaption i:before,
figcaption i:before,
figcaption em:before,
figcaption em:before {
  content: "\f030";
  font-family: "Font Awesome 5 Free";
  padding: 0 0.5em 0 1em;
  font-weight: 900;
}
.gallery figcaption {
  margin: 1em 0 0 0;
}
.pquote figcaption {
  color: #fff;
  text-align: right !important;
  width: 40%;
  margin: 0 2rem 2rem 60%;
}
.tiistai-info span {
  font-size: 1.1em;
  font-weight: 700;
  text-transform: uppercase;
}
.tiistai-info span em {
  font-style: normal;
  font-size: 1.3em;
  font-weight: 400;
  text-transform: none;
  padding-left: 1rem;
}
div.napit {
  margin: 2rem 0;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}
table.align-top td {
  vertical-align: top;
}
table tr {
  border-bottom: 1px #404040 solid !important;
  border-bottom-style: solid !important;
  border-bottom-width: 1px !important;
}
.mediakortti th {
  text-align: left;
  font-size: 1.2em;
}

@media (min-width: 768px) {
}
@media (min-width: 1024px) {
  #about .content p,
  #featured .content p {
    margin: 0.5em 0;
    font-size: 1.5em;
  }
}
@media (min-width: 1280px) {
  #about .content p,
  #featured .content p {
    text-align: left;
  }
}

/* ========== UNSLIDER ================= */

.unslider {
  overflow: auto;
  margin: 0;
  padding: 0;
}
.unslider-wrap {
  position: relative;
}
.unslider-wrap.unslider-carousel > li {
  float: left;
}
.unslider-vertical > ul {
  height: 100%;
}
.unslider-vertical li {
  float: none;
  width: 100%;
}
.unslider-fade {
  position: relative;
}
.unslider-fade .unslider-wrap li {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  z-index: 8;
}
.unslider-fade .unslider-wrap li.unslider-active {
  z-index: 10;
}
.unslider li,
.unslider ol,
.unslider ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: none;
}
.unslider-arrow {
  position: absolute;
  left: 20px;
  z-index: 2;
  cursor: pointer;
}
.unslider-arrow.next {
  left: auto;
  right: 20px;
}

/* ================================== *
 *      box-menu / loop-menu              *
 * ================================== */
.top {
  margin-bottom: 20px;
}
@media (min-width: 700px) {
  .top {
    margin-bottom: 0;
  }
}
.bottom {
  position: relative;
  margin-top: -60px;
  padding-bottom: 40px;
}
.ruusu {
  width: 96px;
  height: 70px;
  position: absolute;
  top: 5px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.top .ruusu.vasen {
  left: 5px;
  background-image: url(pix/ruusu-vy.png);
}
.top .ruusu.oikea {
  right: 5px;
  background-image: url(pix/ruusu-oy.png);
}
.bottom .ruusu.vasen {
  left: 5px;
  background-image: url(pix/ruusu-va.png);
}
.bottom .ruusu.oikea {
  right: 5px;
  background-image: url(pix/ruusu-oa.png);
}

.rounded-thumb img {
  border-radius: 50% !important;
}

.loop-menu .rounded-thumb img {
  border: 6px solid #00d7a7;
  background: #00d7a7;
}

.loop-menu-item h2.power-title {
  font-size: 1.6em;
  color: #00d7a7;
  text-transform: uppercase;
  margin-top: 0.8em;
}

.loop-menu-item h2.power-title em {
  font-style: normal;
  font-weight: normal;
  text-transform: none;
  display: block;
}

.loop-menu-item h2.power-title em::before {
  content: "\f041";
  display: inline-block;
  font: normal normal normal 14px/1 PageLinesFont;
  font-size: inherit;
  text-rendering: auto;
  font-style: normal;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-right: 0.4em;
}

.loop-menu-item a {
  font-weight: normal;
}

@media only screen and (max-width: 320px) {
  .top-ruusut,
  .bottom {
    display: none;
  }
}

.pres-menu-item {
  border: 6px solid #f19e00;
  width: 100%;
  opacity: 0.8;
}

.section-pl-powerloop article .power-thumb img,
.loop-menu-item img {
  opacity: 1;
}

.loop-menu-item h2,
.loop-menu-item h2 a {
  color: #00d7a7;
}
.loop-menu-item:hover h2,
.loop-menu-item h2:hover,
.loop-menu-item:hover h2 a,
.loop-menu-item h2 a:hover {
  color: #043a6e;
}

.section-pl-powerloop article .power-thumb:hover img,
.loop-menu-item:hover,
.loop-menu-item:hover img,
.loop-menu-item:hover h2 a {
  opacity: 1 !important;
}
.loop-menu-item:hover .power-thumb img {
  border: 6px solid #043a6e;
  background: #043a6e;
}

.loop-menu .rounded-thumb img {
  max-width: 70%;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 1024px) {
  .loop-menu .rounded-thumb img {
    max-width: 80%;
  } /* 50% */
}

@media (max-width: 767px) {
  .loop-menu .row .span3 {
    width: 48.936170208% !important;
    float: left;
  }
}
@media (max-width: 413px) {
  .loop-menu .row .span3 {
    width: 99.99999% !important;
  }
}

/*=================== FOOTER + cover stuff ====================*/

.banneri {
  width: 100%;
  height: 0;
  padding: 20% 0;
  position: relative;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: contain;
}
.fi .banneri.pressat {
  background-image: url(pix/pressat-fi.png);
}
.sv .banneri.pressat {
  background-image: url(pix/pressat-sv.png);
}
.en .banneri.pressat {
  background-image: url(pix/pressat-en.png);
}
.fi .banneri.sylit {
  background-image: url(pix/sylit.png);
}
.sv .banneri.sylit {
  background-image: url(pix/sylit-sv.png);
}
.en .banneri.sylit {
  background-image: url(pix/sylit-en.png);
}
.banneri.hel {
  background-image: url(pix/helsinki.png);
}
.sv .banneri.hel {
  background-image: url(pix/hel-sv.png);
}
.patsaat span {
  font-size: 0.8em;
  font-weight: 500;
  color: #043a6e;
  text-transform: uppercase;
  text-align: center;
}
.patsaat {
  text-align: center;
}

/* =========== ETUSIVU ============================= */
#masthead {
  position: relative;
  width: 100%;
  margin: 0;
}
.le-loop h2 {
  text-align: center;
  margin: 1rem auto 0.5rem auto;
  color: #043a6e;
}
.thmb-wrapper {
  position: relative;
}
.thmb-wrap {
}

/* ========== Nappulat =============== */

#pressanapit {
  padding: 10px;
}
#pressanapit div {
  display: inline-block;
  padding: 0 10px 0 10px;
}
#language-sw div {
  display: inline-block;
  padding: 0.3rem 0.5rem;
  border: 3px #09326c solid;
  border-radius: 3px;
  margin: 0 0.5rem;
}
#language-sw div:hover {
  border: 3px #fff solid;
}
#language-sw {
  text-align: right;
}
#language-sw .lang-button {
  text-align: center;
  cursor: pointer;
  width: 100px; /*150 */
  padding: 0;
  border: none;
  background-color: transparent;
  border-image: none;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: cover;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.9em;
  color: #043a6e;
}
@media (orientation: landscape), (min-width: 768px) {
  #language-sw div {
    padding: 0.3rem 0.5rem;
  }
  #language-sw .lang-button {
    font-size: 1em;
  }
}
@media (min-width: 1024) {
  #language-sw div {
    padding: 0.5rem 1rem;
  }
  #language-sw .lang-button {
    font-size: 1.1em;
  }
}
#language-sw .lang-button:hover {
  color: #fff;
}
#language-sw:hover {
  color: #fff;
}
#ctrls,
.video-replay {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 100px;
  right: 100px;
  text-align: center;
  z-index: 9992;
}
.statue-nav {
  position: absolute;
  width: 100px;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  z-index: 99;
}
.statue-nav.prev {
  left: 0;
}
.statue-nav.next {
  right: 0;
}
.statue-nav a {
  position: relative;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
i.icon {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-style: normal;
}
.statue-nav a:hover {
  color: #00d7a7 !important;
}
@media (max-width: 1024px) {
  .statue-nav {
    width: 60px;
  }
  .statue-nav.on-video a {
    color: rgba(255, 255, 255, 0.15);
  }
}
.statue-nav i.icon {
  font-size: 3em;
}
@media (min-width: 700px) {
  .statue-nav i.icon {
    font-size: 5em;
  }
}
#ctrls .ctrl-button,
.video-replay .ctrl-button,
.body-button {
  text-align: center;
  cursor: pointer;
  color: #fff;
  width: 60px;
  height: 60px;
  padding: 0;
  border: none;
  background-color: transparent;
  box-sizing: border-box;
  border-image: none;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: contain;
}

@media (min-width: 700px) {
  #ctrls .ctrl-button,
  .video-replay .ctrl-button,
  .body-button {
    width: 125px;
    height: 125px;
  }
}
.demo-button {
  text-align: center;
  color: #fff;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: transparent;
  box-sizing: border-box;
  border-image: none;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: cover;
  float: left;
  margin-right: 0.2em;
}

#paussi-select .ctrl-button:hover {
}

.video-replay {
  -webkit-animation-delay: 2s;
  -moz-animation-delay: 2s;
  -ms-animation-delay: 2s;
  -o-animation-delay: 2s;
  display: none;
  position: absolute;
  z-index: 999;
}
#play-video.ctrl-button {
  background-image: url(pix/play.png);
}
#replay-video.ctrl-button {
  background-image: url(pix/replay.png);
}
#hide-video.ctrl-button {
  background-image: url(pix/hide-video.png);
}

#play-audio.ctrl-button {
  background-image: url(pix/play.png);
}
#pause-audio.ctrl-button {
  background-image: url(pix/pause.png);
  display: none;
}
#hide-audio.ctrl-button {
  background-image: url(pix/hide-audio.png);
  display: none;
}
#pic-button.body-button {
  background-image: url(pix/button-pic.png);
  float: right;
}
#goto-map-button.ctrl-button {
  background-image: url(pix/goto-map-button.png);
}
#video-button.demo-button {
  background-image: url(pix/play-video.png);
}
#audio-button.demo-button {
  background-image: url(pix/play-audio.png);
}

.body-tail {
  display: flex;
  flex-direction: column;
}
.body-tail > div {
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  justify-content: center;
}
#pressa,
.pressatunnus {
  width: 80%;
}

@media (min-width: 413px) {
  .body-tail {
    display: flex;
    flex-direction: row;
  }
  #ham,
  #more-about {
    width: 49%;
  }
  #pressa,
  .pressatunnus {
    width: 33%;
  }
}

#ham,
#more-about,
#pressa,
#pressatunnus {
  /*  min-height:80px; */
  margin-top: 0;
  margin-bottom: 0.6em;
  padding: 1em;
  text-align: center;
  box-sizing: border-box;
  color: #043a6e;
}
@media (min-width: 1024px) {
  #ham,
  #more-about,
  #pressa,
  #pressatunnus {
    padding: 2em;
  }
}
#ham {
  border-radius: 8px;
  border: #043a6e 4px solid;
}

#ham:hover {
  background: #00c8a9;
}

#pressa {
  padding-left: 0;
}

#more-about {
  border-radius: 8px;
}
#more-about:hover {
  background: #00c8a9;
}
#pressatunnus {
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: contain;
  background-image: url(pix/pressat-fi.png);
}
#pressatunnus.sv {
  background-image: url(pix/pressat-sv.png);
}
#pressatunnus.en {
  background-image: url(pix/pressat-en.png);
}

@media (min-width: 413px) {
  #more-about {
    margin-left: 1%;
  }
}
#ham p,
#more-about p {
  font-size: 1.4em;
  padding: 12px;
  letter-spacing: 0.01em;
  line-height: 1.1em;
  margin: 0;
  color: #043a6e;
}
#pressa p {
  font-size: 1.2em;
  padding: 0 12px 24px 0;
  letter-spacing: 0.01em;
  line-height: 1.3em;
  margin: 0;
}

#ham span,
#more-about span,
#pressa span {
  font-size: 1em;
  padding: 0.2em;
  letter-spacing: 0.01em;
  line-height: 1.1em;
  margin: 0;
  color: #043a6e;
  display: block;
}
@media (min-width: 1024px) {
  #ham span,
  #more-about span,
  #pressa span {
    font-size: 1.2em;
  }
}
#ham span.box-title,
#more-about span.box-title,
#pressa span.box-title {
  text-transform: uppercase;
  font-style: normal;
  color: #043a6e;
}

#ham p em,
#more-about p em,
#pressa p {
  text-transform: uppercase;
  display: block;
  font-style: normal;
  color: #043a6e;
}
#pressa p:hover {
  color: #00d7a7 !important;
}
#pressa,
#pressatunnus {
  height: 8em !important;
}
#more-about .icon {
  margin-right: 0.5em;
}
#ham .txt {
  float: left;
  margin: auto;
}
#more-about .txt {
  padding: 10% 0;
}
.postid-60 a.bio-link,
.postid-62 a.bio-link,
.postid-72 a.bio-link {
  display: none;
}
.postid-60 #more-about:hover,
.postid-62 #more-about:hover,
.postid-72 #more-about:hover {
  background: #f4f4f4;
}
.postid-51 #more-about,
.postid-53 #more-about,
.postid-55 #more-about {
  display: none;
}
/* ================================== *
  * MAP  *
  * ================================== */

#map {
  height: 50vh;
  width: 100%;
  grid-column: 1 / 4;
  font-family: objektiv-mk3, sans-serif;
  font-weight: 500;
}
div.gm-style-iw {
  text-align: center;
}
#map span {
  display: block;
  font-style: normal;
  font-size: 1.2em;
}
span.nimi {
  text-transform: uppercase;
  font-style: normal;
  min-width: 200px;
}
div.statue {
  width: 200px;
  height: 180px;
  margin-bottom: 10px;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: contain;
}
.gm-style .gm-style-iw {
  font-weight: 500;
}
.gm-style .gm-style-iw b {
  font-weight: 600;
}
div.statue.aleksanteriii {
  background-image: url(pix/map-alex.png);
}
div.statue.keisarinnankivi {
  background-image: url(pix/map-keisarinna.png);
}
div.statue.havisamanda {
  background-image: url(pix/map-manta.png);
}
div.statue.runeberg {
  background-image: url(pix/map-johan.png);
}
div.statue.leino {
  background-image: url(pix/map-leino.png);
}
div.statue.topelius {
  background-image: url(pix/map-topelius.png);
}
div.statue.mannerheim {
  background-image: url(pix/map-mannerheim.png);
}
div.statue.paasikivi {
  background-image: url(pix/map-paasikivi.png);
}
div.statue.svinhufvud {
  background-image: url(pix/map-svinhufvud.png);
}
div.statue.stahlberg {
  background-image: url(pix/map-stahlberg.png);
}
div.statue.kallio {
  background-image: url(pix/map-kallio.png);
}
div.statue.relander {
  background-image: url(pix/map-relander.png);
}
div.statue.ryti {
  background-image: url(pix/map-ryti.png);
}
div.statue.kekkonen {
  background-image: url(pix/map-kekkonen.png);
}
div.statue.miina {
  background-image: url(pix/map-miina.png);
}
/* ================================== *
  * pressavid page  *
  * ================================== */

.content-wrapper {
  width: 100%;
  margin: auto;
  text-align: center;
}
.fluid-width-video-wrapper-pressa {
  width: 100%;
  /* position: relative; */
  padding: 0;
}

.noshow {
  display: none;
}

#kielivalinta {
  position: relative;
  top: 75px;
  min-height: 300px;
  margin: auto;
  text-align: center;
}

#kielivalinta .nappi,
input:matches([type="button"], [type="submit"], [type="reset"]) {
  text-align: center;
  cursor: pointer;
  color: #fff;
  width: 240px;
  height: 50px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background-color: #000;
  box-sizing: border-box;
  border-image: none;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: cover;
}

#kielivalinta .nappi:hover,
input:matches([type="button"], [type="submit"], [type="reset"]):hover {
  background-position: 0 -50px;
}

#suomi.nappi {
  background-image: url(pix/fi-button.png);
}
#svenska.nappi {
  background-image: url(pix/sv-button.png);
}
#english.nappi {
  background-image: url(pix/en-button.png);
}

#lang-select {
  /* display:none; */
}

#vid-container {
  display: none;
}

#lang-select {
  position: relative;
  margin: auto;
  margin-top: 10%;
  text-align: center;
}

#lang-select {
  -webkit-animation-delay: 2s;
  -moz-animation-delay: 2s;
  -ms-animation-delay: 2s;
  -o-animation-delay: 2s;
}

#lang-select .lang-button {
  text-align: center;
  cursor: pointer;
  color: #fff;
  width: 240px;
  height: 50px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background-color: #000;
  box-sizing: border-box;
  border-image: none;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: cover;
}

#lang-select .lang-button:hover {
  background-position: 0 -50px;
}

#suomi.lang-button {
  background-image: url(pix/fi-button.png);
}
#svenska.lang-button {
  background-image: url(pix/sv-button.png);
}
#english.lang-button {
  background-image: url(pix/en-button.png);
}

/* =========== KUVA ja kuvateksti=================== */

.gallery img {
  border: none !important;
}

.gallery-item {
  text-align: left !important;
}

body .pl-thumbnails .thumbnail,
body .gallery .gallery-icon a,
.pl-thumbnail {
  display: block;
  padding: 0;
  line-height: 21.7px;
  border: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

body .pl-thumbnails .thumbnail[href]:hover,
body .gallery .gallery-icon a[href]:hover,
.pl-thumbnail[href]:hover {
  border-color: #00b7b7;
  -webkit-box-shadow: 0 1px 4px rgba(0, 183, 183, 0.25);
  -moz-box-shadow: 0 1px 4px rgba(0, 183, 183, 0.25);
  box-shadow: 0 1px 4px rgba(0, 183, 183, 0.25);
}

#slb_viewer_wrap .slb_slideshow {
  display: none !important;
}
#slb_viewer_wrap
  .slb_theme_slb_default
  .slb_controls
  .slb_close
  .slb_template_tag {
  background: url("pix/ui_close.png") 0 0 no-repeat !important;
}
body .pl-thumbnails .thumbnail,
body .gallery .gallery-icon a,
.pl-thumbnail {
  display: block;
  padding: 0;
  line-height: 21.7px;
  border: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
body .pl-thumbnails .thumbnail[href]:hover,
body .gallery .gallery-icon a[href]:hover,
.pl-thumbnail[href]:hover {
  border-color: #00b7b7;
  -webkit-box-shadow: 0 1px 4px rgba(0, 183, 183, 0.25);
  -moz-box-shadow: 0 1px 4px rgba(0, 183, 183, 0.25);
  box-shadow: 0 1px 4px rgba(0, 183, 183, 0.25);
}
.gallery .gallery-item {
  text-align: left !important;
}
.gallery-columns-1 .gallery-item {
}

.gallery-columns-2 .gallery-item {
  width: 49% !important;
  margin-right: 1% !important;
}
.gallery-columns-2 .gallery-item {
  width: 49% !important;
  margin-right: 1% !important;
}
.gallery-columns-3 .gallery-item {
  width: 32% !important;
  margin-right: 1% !important;
}

.gallery-columns-4 .gallery-item,
.gallery-columns-5 .gallery-item,
.gallery-columns-6 .gallery-item,
.gallery-columns-7 .gallery-item,
.gallery-columns-8 .gallery-item,
.gallery-columns-9 .gallery-item {
  float: none;
  display: table;
  margin-top: 10px;
  text-align: center;
  position: relative;
  width: 99% !important;
}
.gallery-columns-5 .gallery-icon,
.gallery-columns-6 .gallery-icon,
.gallery-columns-7 .gallery-icon {
  float: left !important;
}
.gallery-columns-4 .gallery-icon {
  width: 40%;
}
.gallery-columns-5 .gallery-icon {
  width: 50%;
}
.gallery-columns-6 .gallery-icon {
  width: 56%;
}
.gallery-columns-7 .gallery-icon {
  width: 66%;
}
.gallery-columns-8 .gallery-icon {
  width: 76%;
}
.gallery-columns-9 .gallery-icon {
  width: 33%;
}
.gallery-columns-4 .gallery-caption,
.gallery-columns-5 .gallery-caption,
.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
  float: left;
  position: absolute;
  bottom: 0;
  padding-left: 1em;
}
.gallery-columns-4 .gallery-caption {
  left: 40%;
  width: 40%;
}
.gallery-columns-5 .gallery-caption {
  left: 50%;
  width: 40%;
}
.gallery-columns-6 .gallery-caption {
  left: 56%;
  width: 40%;
}
.gallery-columns-7 .gallery-caption {
  left: 66%;
  width: 34%;
}
.gallery-columns-8 .gallery-caption {
  left: 76%;
  width: 24%;
}
.gallery-columns-9 .gallery-caption {
  left: 33%;
  width: 40%;
}
dd.gallery-caption em {
  font-size: 0.8em;
  text-transform: uppercase;
  font-style: normal;
}
dd.gallery-caption em:before {
  content: "\f030";
  font-family: "Font Awesome 5 Free";
  padding: 0 1em;
}
.wp-caption {
  margin-left: 0px;
  margin-right: 0px;
  text-align: left;
  padding: 0;
  border: none;
  border-radius: 0px;
  max-width: 98%;
  margin-bottom: 1em;
  background-color: transparent !important;
}
.wp-caption.alignleft {
  margin-left: 0px;
  margin-right: 2em;
}
.wp-caption img {
  -moz-box-sizing: none;
  background: none;
  padding: 0;
}
img.alignnone {
  margin-left: 0px;
  margin-right: 0px;
}
img.alignleft {
  margin-left: 0px;
  margin-right: 2em;
}
#gallery .gallery-caption {
  margin-left: 0;
}
body .pl-thumbnails:after,
body .gallery:after {
  display: none;
}

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
  display: inline-block;
  height: 32.55px;
  padding: 4px 6px;
  margin-bottom: 9px;
  font-size: 14px;
  line-height: 21.7px;
  color: #555;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}
input,
textarea,
.uneditable-input,
.add-on {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
input {
  width: 220px;
}
textarea {
  width: 100%;
  height: auto;
}
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
  -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
  -ms-transition: border linear 0.2s, box-shadow linear 0.2s;
  transition: border linear 0.2s, box-shadow linear 0.2s;
}
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
  border-color: rgba(82, 168, 236, 0.8);
  outline: 0;
  outline: thin dotted \9;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(82, 168, 236, 0.6);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(82, 168, 236, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(82, 168, 236, 0.6);
}
