/*
Theme Name: Avoimuusilmoitus
Theme URI: http://www.keskisuomalainen.com
Description: Tämä on Keskisuomalainen Oyj:n kehittämä Wordpress-teema konsernin avoimuusilmoitussivustoa varten
Version: 1.1
Author: Digitiimi
Author URI: http://www.twitter.com/digitiimi/
Tags: Keskisuomalainen Oyj, Digitiimi, Wordpress
*/
/* ==========================================================================
   Variables
   ========================================================================== */
/* ==========================================================================
   Other functions
   ========================================================================== */
@font-face {
  font-family: 'CaslonDoric';
  src: url("fonts/caslonDoric/CaslonDoric-RegularNo2-Web.woff2") format('woff2'), url("fonts/caslonDoric/CaslonDoric-RegularNo2-Web.woff") format('woff');
  font-weight: 400;
  font-style: normal;
  font-stretch: normal;
}
@font-face {
  font-family: 'CaslonDoric';
  src: url("fonts/caslonDoric/CaslonDoric-RegularNo2Italic-Web.woff2") format('woff2'), url("fonts/caslonDoric/CaslonDoric-RegularNo2Italic-Web.woff") format('woff');
  font-weight: 400;
  font-style: italic;
  font-stretch: normal;
}
@font-face {
  font-family: 'CaslonDoric';
  src: url("fonts/caslonDoric/CaslonDoric-Semibold-Web.woff2") format('woff2'), url("fonts/caslonDoric/CaslonDoric-Semibold-Web.woff") format('woff');
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
}
/* USES normalize.css v2.1.0 | MIT License | git.io/normalize */
/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */
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] {
  display: none;
}
/* ==========================================================================
   Base
   ========================================================================== */
* {
  box-sizing: inherit;
}
html {
  height: 100%;
  box-sizing: border-box;
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-size: 100%;
  line-height: 1;
  scroll-padding-top: 3rem;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  height: 100%;
  margin: 0;
  font-family: "CaslonDoric", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background: #f5f5f5;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* ==========================================================================
   Typography
   ========================================================================== */
p {
  margin: 0 0 1rem 0;
}
a {
  color: #0e57b6;
  text-decoration: underline;
}
a:hover {
  color: #262626;
  text-decoration: none;
}
a:focus {
  outline: 0;
  color: #262626;
}
a:active,
a:hover {
  outline: 0;
}
a.read-more {
  display: block;
}
h1,
h2,
h3,
h4,
h5 {
  margin-top: 0;
  font-weight: 400;
  font-family: "CaslonDoric", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
h1 {
  font-size: 2em;
  margin-bottom: 0.67em;
}
h2 {
  font-size: 1.5rem;
}
abbr[title] {
  border-bottom: 1px dotted;
}
b,
strong {
  font-weight: bold;
}
dfn {
  font-style: italic;
}
hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}
mark {
  background: #ff0;
  color: #262626;
}
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: -0.5em;
}
sub {
  bottom: -0.25em;
}
/* ==========================================================================
   Embedded content
   ========================================================================== */
img {
  border: 0;
  margin: 0;
  max-width: 100%;
  height: auto;
  border: 0;
}
svg:not(:root) {
  overflow: hidden;
}
iframe {
  max-width: 100% !important;
}
/* ==========================================================================
   Figures
   ========================================================================== */
figure {
  margin: 0;
}
/* ==========================================================================
   Forms
   ========================================================================== */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
legend {
  border: 0;
  padding: 0;
}
button,
input,
select,
textarea {
  max-width: 95%;
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  padding: 0.3em;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  border: 0;
}
input[type="text"],
textarea {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  border: 1px solid #ccc;
}
select {
  border: 1px solid #222;
}
button,
select {
  text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  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;
}
label {
  display: block;
  font-weight: bold;
}
button,
input[type="button"],
input[type="submit"] {
  align-items: center;
  background: #262626;
  box-shadow: 2px 2px 0px 0px rgba(38,38,38,0.08);
  border: 1px solid #262626;
  border-radius: 2px;
  color: #fff;
  display: inline-flex;
  font-family: "CaslonDoric", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 600;
  padding: 0.6875rem 1.9375rem;
  font-size: 1rem;
  line-height: 1.5rem;
}
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  background: #1c1c1c;
  box-shadow: none;
}
button:focus,
input[type="button"]:focus,
input[type="submit"]:focus {
  background: #191919;
  outline: 2px solid #1b1b1b;
}
button:link,
input[type="button"]:link,
input[type="submit"]:link,
button:visited,
input[type="button"]:visited,
input[type="submit"]:visited,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
button:focus,
input[type="button"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="submit"]:active {
  color: #fff;
  text-decoration: none;
}
/* ==========================================================================
   Search Form
   ========================================================================== */
#searchform {
  display: block;
  max-width: 80%;
  width: 100%;
}
#searchform label.screen-reader-text {
  display: none;
}
#searchform input#s {
  width: 78%;
  margin: auto;
  padding: 4px;
}
#searchform input#searchsubmit {
  padding: 5px 10px 6px;
  width: 20%;
  margin: auto;
  float: right;
}
/* ==========================================================================
   Tables
   ========================================================================== */
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* ==========================================================================
   WordPress gallery
   ========================================================================== */
.gallery-item {
  float: left;
  margin: 10px;
}
/* ==========================================================================
   WordPress comments
   ========================================================================== */
.commentlist {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.commentlist .comment {
  padding-bottom: 10px;
  margin-bottom: 30px;
  border-bottom: 1px solid #ccc;
  list-style: none;
  list-style-type: none;
}
.commentlist .comment [class*="depth"] {
  border-top: 1px dotted #ccc;
  border-bottom: 0;
  padding-bottom: 10px;
  margin-bottom: 10px;
  padding-top: 10px;
  margin-top: 10px;
}
.comment-text a {
  word-break: break-word;
}
#comments .comment-form-label {
  display: block;
}
#comments .comment-form-label label {
  display: inline-block;
}
/* ==========================================================================
   General classes
   ========================================================================== */
.first {
  margin-left: 0;
}
.last {
  margin-right: 0;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.alignleft {
  float: left;
  margin: 0 1em 1em 0;
}
.alignright {
  float: right;
  margin: 0 0 1em 1em;
}
.wp-caption {
  max-width: 100%;
  padding: 4px;
}
.wp-caption-text {
  text-align: center;
  font-size: 0.9em;
}
.gallery-caption {
  margin: 0;
}
.wrapper {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
/* ==========================================================================
   Primary Header and Navigation
   ========================================================================== */
.header {
  text-align: center;
  padding: 1rem;
  background: #fff;
  margin-bottom: 2rem;
}
#primary-nav .menu {
  display: inline-block;
}
#primary-nav ul {
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
  list-style-type: none;
}
#primary-nav li {
  display: block;
  float: left;
  margin: 10px;
}
#primary-nav li:first-child {
  margin-left: 0;
}
#primary-nav li:first-child a {
  padding-left: 0;
}
#primary-nav a {
  padding: 5px;
}
#primary-nav .current_page_item a {
  color: #262626;
}
.js #primary-nav {
  position: relative;
  max-height: none;
}
#nav-toggle {
  display: none;
}
/* ==========================================================================
   Primary Footer
   ========================================================================== */
.footer {
  color: #262626;
  padding: 25px 0;
}
.footer__content {
  text-align: center;
  margin: 0 auto;
  max-width: 640px;
  width: auto;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e5e5;
}
.footer__content a,
.footer__content a:link,
.footer__content a:visited,
.footer__content a:focus {
  text-decoration: none;
  color: #262626;
}
.footer__content a:hover {
  text-decoration: underline;
  color: #0e57b6;
}
.footer__content-items {
  list-style: none;
  list-style-type: none;
  padding: 0;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.footer__content-link {
  text-decoration: none;
}
.footer__content-link:hover {
  text-decoration: underline;
}
.footer__link {
  font-size: 1.15rem;
  font-weight: 600;
}
/* ==========================================================================
   Content
   ========================================================================== */
.content--size-m {
  margin: 0 auto;
  max-width: 640px;
  width: auto;
}
.page__content {
  background: #fff;
  padding: 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.front-page__content {
  background: #fff;
  padding: 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.single-post__content {
  background: #fff;
  padding: 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.single-post__content h2 {
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 1rem;
  font-weight: 600;
}
.single-post__report-title {
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 1rem;
  font-weight: 600;
}
.single-post__report-button {
  diaplay: block;
  background: #262626;
  color: #fff;
}
.single-post__report-button--hidden {
  display: none;
}
.single-post__report-form {
  display: block;
}
.single-post__report-form--hidden {
  display: none;
}
#gform_wrapper_1 legend,
#gform_wrapper_1 label {
  font-weight: 500;
  color: #262626;
}
#gform_wrapper_1 .gform-field-label--type-sub {
  font-weight: 400;
}
#gform_wrapper_1 input[type="text"],
#gform_wrapper_1 input[type="email"],
#gform_wrapper_1 textarea,
#gform_wrapper_1 select {
  color: #262626;
  border: 1px solid #949494;
  border-radius: 2px;
  box-shadow: none;
}
#gform_wrapper_1 button,
#gform_wrapper_1 input[type="button"],
#gform_wrapper_1 input[type="submit"] {
  align-items: center;
  background: #262626;
  box-shadow: 2px 2px 0px 0px rgba(38,38,38,0.08);
  border: 1px solid #262626;
  border-radius: 2px;
  color: #fff;
  display: inline-flex;
  font-family: "CaslonDoric", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.5rem;
  padding: 0.1875rem 1.4375rem;
}
#gform_wrapper_1 button:hover,
#gform_wrapper_1 input[type="button"]:hover,
#gform_wrapper_1 input[type="submit"]:hover {
  background: #1c1c1c;
  box-shadow: none;
}
#gform_wrapper_1 button:focus,
#gform_wrapper_1 input[type="button"]:focus,
#gform_wrapper_1 input[type="submit"]:focus {
  background: #191919;
  outline: 2px solid #1b1b1b;
}
#gform_wrapper_1 button:link,
#gform_wrapper_1 input[type="button"]:link,
#gform_wrapper_1 input[type="submit"]:link,
#gform_wrapper_1 button:visited,
#gform_wrapper_1 input[type="button"]:visited,
#gform_wrapper_1 input[type="submit"]:visited,
#gform_wrapper_1 button:hover,
#gform_wrapper_1 input[type="button"]:hover,
#gform_wrapper_1 input[type="submit"]:hover,
#gform_wrapper_1 button:focus,
#gform_wrapper_1 input[type="button"]:focus,
#gform_wrapper_1 input[type="submit"]:focus,
#gform_wrapper_1 button:active,
#gform_wrapper_1 input[type="button"]:active,
#gform_wrapper_1 input[type="submit"]:active {
  color: #fff;
  text-decoration: none;
}
/* ==========================================================================
   Pagination & Paginate Nav
   ========================================================================== */
.paginate-nav {
  margin: 30px auto;
  padding: 10px 0 0 0;
  border-top: 1px solid #eee;
}
.paginate-nav .next {
  float: right;
  margin-bottom: 10px;
  text-align: right;
  padding: 10px;
}
.paginate-nav .next .paginate-label {
  text-align: right;
}
.paginate-nav .next .meta-nav {
  float: right;
  margin-left: 10px;
}
.paginate-nav .previous {
  float: left;
  margin-bottom: 10px;
  text-align: left;
  padding: 10px;
}
.paginate-nav .previous .meta-nav {
  float: left;
  margin-right: 10px;
}
.paginate-nav:before,
.paginate-nav:after {
  display: table;
  content: "";
  line-height: 0;
}
.paginate-nav:after {
  clear: both;
}
.paginate-nav a {
  color: #262626;
  text-decoration: none;
}
.paginate-nav a:hover {
  color: #0e57b6;
}
.paginate-nav a:hover .meta-nav {
  color: #0e57b6;
}
.paginate-nav .paginate-label {
  display: block;
  margin-bottom: 5px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: bold;
  color: #0e57b6;
}
.paginate-nav .meta-nav {
  font-size: 26px;
  clear: both;
  margin-top: -10px;
}
.pagination>li>a,
.pagination>li>span {
  color: #0e57b6;
}
.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination>li>span:focus,
.pagination>li>span:hover {
  color: #144d5c;
}
.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
  background-color: #0e57b6;
  border-color: #bd5184;
}
/* ==========================================================================
   Sidebars
   ========================================================================== */
.sidebar .sidebar-box {
  margin-bottom: 20px;
}
.sidebar h3.sidebar-title {
  font-size: 22px;
  margin: 0 auto 10px;
}
.sidebar ul {
  margin: 0 0 20px 0;
  padding: 0;
  list-style-type: none;
}
.sidebar ul li {
  margin: 0;
  padding: 0;
}
/* ==========================================================================
   Selection
   ========================================================================== */
::selection {
  background: #0e57b6;
  color: #262626;
}
::-moz-selection {
  background: #0e57b6;
  color: #262626;
}
/* ==========================================================================
   Media Querys
   ========================================================================== */
@media only screen and (min-width: 768px) {
  #primary-nav {
    display: block !important;
  }
}
@media only screen and (max-width: 767px) {
  #nav-toggle {
    display: block;
  }
  #nav-toggle:hover,
  #nav-toggle:focus {
    text-decoration: none;
  }
  #navopen-icon {
    display: block;
    text-align: center;
    font-style: normal;
    font-weight: normal;
    padding: 5px;
    width: 100%;
    background: #0e57b6;
    color: #fff;
    font-size: 20px;
  }
  #navopen-icon:before {
    color: #fff;
    font-family: "FontAwesome";
    content: "\f0c9";
    margin-right: 10px;
    font-size: 22px;
    font-style: normal;
    transition: all 0.35s;
    -webkit-transition: all 0.35s;
    width: 25px;
    height: 25px;
    display: inline-block;
  }
  #navopen-icon.opened:before {
    font-family: "FontAwesome";
    content: "\f00d";
    transition: all 0.35s;
    -webkit-transition: all 0.35s;
  }
  #primary-nav {
    display: none;
  }
  #primary-nav.opened {
    max-height: 9999px;
  }
  #primary-head {
    text-align: center;
  }
  #primary-head .container {
    padding-right: 0;
    padding-left: 0;
  }
  #primary-nav {
    background: #0e57b6;
  }
  #primary-nav .menu {
    width: 100%;
  }
  #primary-nav .menu li {
    float: none;
    width: 100%;
    margin: 0;
    margin-left: 0;
    padding-left: 0;
    text-align: center;
    padding: 0;
    font-size: 17px;
    text-transform: uppercase;
  }
  #primary-nav .menu li a {
    color: #fff;
    padding: 10px;
    display: block;
  }
  #primary-nav .menu li a:hover,
  #primary-nav .menu li a:focus {
    text-decoration: none;
    background: #847aff;
  }
}
/* ==========================================================================
   Print Stylesheet
   ========================================================================== */

	@media print {
		* { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
		a, a:visited { text-decoration: underline; }
		a[href]:after { content: " (" attr(href) ")"; }
		abbr[title]:after { content: " (" attr(title) ")"; }
		.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
		pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
		thead { display: table-header-group; } /* h5bp.com/t */
		tr, img { page-break-inside: avoid; }
		img { max-width: 100% !important; }
		@page { margin: 0.5cm; }
		p, h2, h3 { orphans: 3; widows: 3; }
		h2, h3 { page-break-after: avoid; }
	}
