/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined in IE 8/9.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}
/**
 * Correct `inline-block` display not defined in IE 8/9.
 */
audio,
canvas,
video {
  display: inline-block;
}
/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}
/**
 * Address styling not present in IE 8/9.
 */
[hidden] {
  display: none;
}
/* ==========================================================================
   Base
   ========================================================================== */
/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  font-family: sans-serif;
  /* 1 */

  -webkit-text-size-adjust: 100%;
  /* 2 */

  -ms-text-size-adjust: 100%;
  /* 2 */

}
/**
 * Remove default margin.
 */
body {
  margin: 0;
}
/* ==========================================================================
   Links
   ========================================================================== */
/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */
a:focus {
  outline: thin dotted;
}
/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */
a:active,
a:hover {
  outline: 0;
}
/* ==========================================================================
   Typography
   ========================================================================== */
/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari 5, and Chrome.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
/**
 * Address styling not present in IE 8/9, Safari 5, and Chrome.
 */
abbr[title] {
  border-bottom: 1px dotted;
}
/**
 * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */
b,
strong {
  font-weight: bold;
}
/**
 * Address styling not present in Safari 5 and Chrome.
 */
dfn {
  font-style: italic;
}
/**
 * Address differences between Firefox and other browsers.
 */
hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}
/**
 * Address styling not present in IE 8/9.
 */
mark {
  background: #ff0;
  color: #000;
}
/**
 * Correct font family set oddly in Safari 5 and Chrome.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  font-size: 1em;
}
/**
 * Improve readability of pre-formatted text in all browsers.
 */
pre {
  white-space: pre-wrap;
}
/**
 * Set consistent quote types.
 */
q {
  quotes: "\201C" "\201D" "\2018" "\2019";
}
/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%;
}
/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
/* ==========================================================================
   Embedded content
   ========================================================================== */
/**
 * Remove border when inside `a` element in IE 8/9.
 */
img {
  border: 0;
}
/**
 * Correct overflow displayed oddly in IE 9.
 */
svg:not(:root) {
  overflow: hidden;
}
/* ==========================================================================
   Figures
   ========================================================================== */
/**
 * Address margin not present in IE 8/9 and Safari 5.
 */
figure {
  margin: 0;
}
/* ==========================================================================
   Forms
   ========================================================================== */
/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
/**
 * 1. Correct `color` not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */
legend {
  border: 0;
  /* 1 */

  padding: 0;
  /* 2 */

}
/**
 * 1. Correct font family not being inherited in all browsers.
 * 2. Correct font size not being inherited in all browsers.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 */
button,
input,
select,
textarea {
  font-family: inherit;
  /* 1 */

  font-size: 100%;
  /* 2 */

  margin: 0;
  /* 3 */

}
/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
button,
input {
  line-height: normal;
}
/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */
button,
select {
  text-transform: none;
}
/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  /* 2 */

  cursor: pointer;
  /* 3 */

}
/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default;
}
/**
 * 1. Address box sizing set to `content-box` in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */

  padding: 0;
  /* 2 */

}
/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */
input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */

  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* 2 */

  box-sizing: content-box;
}
/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/**
 * Remove inner padding and border in Firefox 4+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
/**
 * 1. Remove default vertical scrollbar in IE 8/9.
 * 2. Improve readability and alignment in all browsers.
 */
textarea {
  overflow: auto;
  /* 1 */

  vertical-align: top;
  /* 2 */

}
/* ==========================================================================
   Tables
   ========================================================================== */
/**
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/*
.rem-mixins-test-class {
    .font-size(10px);
    .line-height(20px);
    .margin(10px);
    .margin(3em);
    .margin(10px, 20px);
    .margin(10px, 20%);
    .margin(0px , 20px);
    .margin-top(2%);
    .margin-top(2px);
    .padding(10px);
    .padding(3em);
    .padding(10px, 20px);
    .padding(10px, 20%);
    .padding(3em, 20px)
}
*//* COLORS */
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
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%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}

blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:afseater,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
html {
  font-size: 62.5%;
}
html,
body {
  /* height: 100%; */

}
body {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-size: 1.3rem;
  line-height: 20px;
  line-height: 2rem;
  color: #333333;
  background-color: #f8f8f8 !important;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
/********************
02. WORDPRESS BODY CLASSES
    style a page via class
********************/
/* for sites that are read right to left (i.e. hebrew) */
/* home page */
/* blog template page */
/* archive page */
/* date archive page */
/* replace the number to the corresponding page number */
/* search page */
/* search result page */
/* no results search page */
/* individual paged search (i.e. body.search-paged-3) */
/* 404 page */
/* single post page */
/* individual post page by id (i.e. body.postid-73) */
/* individual paged single (i.e. body.single-paged-3) */
/* attatchment page */
/* individual attatchment page (i.e. body.attachmentid-763) */
/* style mime type pages */
/* author page */
/* user nicename (i.e. body.author-samueladams) */
/* paged author archives (i.e. body.author-paged-4) for page 4 */
/* category page */
/* individual category page (i.e. body.category-6) */
/* replace the number to the corresponding page number */
/* tag page */
/* individual tag page (i.e. body.tag-news) */
/* replace the number to the corresponding page number */
/* custom page template page */
/* individual page template (i.e. body.page-template-contact-php */
/* replace the number to the corresponding page number */
/* parent page template */
/* child page template */
/* replace the number to the corresponding page number */
/* if user is logged in */
/* paged items like search results or archives */
/* individual paged (i.e. body.paged-3) */
/*********************
03. LAYOUT & GRID STYLES
*********************/
.wrap {
  width: 96%;
  margin: 0 auto;
}
.col img {
  max-width: 100%;
}
.container {
  overflow: hidden;
}
/*********************
04. LINK STYLES
*********************/
a {
  color: #2b4560;
  text-decoration: underline;
  /* on hover */

  /* on click */

  /*&:visited {
		color: @link-visited;
	}
	*/

  /* mobile tap color */

}
a:hover,
a:focus {
  color: #000000;
}
a:active {
  color: #149ecb;
}
a:link {
  /*
		this highlights links on iPhones/iPads.
		so it basically works like the :hover selector
		for mobile devices.
		*/

  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.3);
}
/******************************************************************
05. H1, H2, H3, H4, H5 STYLES
******************************************************************/
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  text-rendering: optimizelegibility;
  margin: 0px 0 20px 0;
  color: #333333;
  /* removing text decoration from all headline links */

}
h1 a,
.h1 a,
h2 a,
.h2 a,
h3 a,
.h3 a,
h4 a,
.h4 a,
h5 a,
.h5 a,
h6 a,
.h6 a {
  text-decoration: none;
}
h1.no-margin-top,
.h1.no-margin-top,
h2.no-margin-top,
.h2.no-margin-top,
h3.no-margin-top,
.h3.no-margin-top,
h4.no-margin-top,
.h4.no-margin-top,
h5.no-margin-top,
.h5.no-margin-top,
h6.no-margin-top,
.h6.no-margin-top {
  margin-top: 0;
}
h1,
.h1 {
  font-family: 'PT Sans Narrow', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 28px;
  font-size: 2.8rem;
  line-height: 30px;
  line-height: 3rem;
  font-weight: bold;
}
h2,
.h2 {
  font-family: 'PT Sans Narrow', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-size: 2.2rem;
  line-height: 30px;
  line-height: 3rem;
  font-weight: bold;
}
h3,
.h3 {
  font-family: 'PT Sans Narrow', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-size: 1.8rem;
  line-height: 20px;
  line-height: 2rem;
  font-weight: bold;
}
h4,
.h4 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-size: 1.3rem;
  line-height: 20px;
  line-height: 2rem;
  font-weight: bold;
}
h5,
.h5 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-size: 1.3rem;
  line-height: 20px;
  line-height: 2rem;
  font-style: italic;
  font-weight: normal;
}
h6,
.h6 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-size: 1.2rem;
  line-height: 20px;
  line-height: 2rem;
  font-weight: bold;
}
.home h1 {
  font-size: 36px;
  line-height: 40px;
  font-weight: bold;
  text-transform: uppercase;
  color: #149ecb;
}
.home .h2 {
  color: #149ecb;
}
p {
  margin: 0px 0 20px 0;
  word-wrap: break-word;
}
fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  position: relative;
}
img {
  max-width: 100% !important;
}
hr {
  border: 0;
  border-bottom: 1px solid #c3c3c3;
  background: #dddddd;
  margin: 0px 0 20px 0;
}
/*********************
06. HEADER SYTLES
*********************/
.search {
  max-width: 960px;
  margin: 50px auto 30px auto;
}
.search label {
  min-width: 190px;
}
.search label.h2 {
  color: #333333;
  width: 17%;
  display: inline-block;
  padding: 10px 10px 1% 10px;
}
.search .search-container {
  padding: 10px;
  padding: 1rem;
  /*max-width: 600px;*/

  margin: 0 auto;
}
.search .search-field {
  width: 60%;
  background-color: #ffffff;
  background-image: none;
  border: none;
  box-shadow: 0 1px 1px #bfbfbf inset, 0 -1px 4px rgba(0, 0, 0, 0.07) inset;
  color: #333333;
  padding: 6px 10px 6px 10px;
  border-radius: 3px 3px 3px 3px;
  font-size: 13px;
  font-size: 1.3rem;
  line-height: 18px;
  line-height: 1.8rem;
  vertical-align: middle;
}
.search .magnifier {
  background: none;
  border: 1px solid #dba000;
  font-size: 16px;
  color: #333333;
  padding: 0;
  width: auto;
  height: 40px;
  position: static;
  width: 10%;
  background-color: #fecf4c;
  background-color: rgba(254, 186, 0, 0.7);
  border-color: rgba(219, 160, 0, 0.7);
  border-width: 1px;
  border-style: solid;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: inset 0px 1px 1px 0px rgba(255, 230, 162, 0.7);
  -moz-box-shadow: inset 0px 1px 1px 0px rgba(255, 230, 162, 0.7);
  -o-box-shadow: inset 0px 1px 1px 0px rgba(255, 230, 162, 0.7);
  -ms-box-shadow: inset 0px 1px 1px 0px rgba(255, 230, 162, 0.7);
  box-shadow: inset 0px 1px 1px 0px rgba(255, 230, 162, 0.7);
}
.search .magnifier span {
  background: transparent url("../img/suurennuslasi_icon_dark.png") scroll no-repeat;
  padding: 0 0 0 16px;
}
.search .magnifier span span {
  background: none;
}
/* NAVI */
nav.breadcrumb {
  margin-top: 0;
  margin-bottom: 20px;
  margin-bottom: 2rem;
  font-size: 13px;
  font-size: 1.3rem;
  line-height: 20px;
  line-height: 2rem;
}
nav.breadcrumb span {
  color: #fde7a5;
  padding: 0 px;
  font-weight: bold;
}
nav.breadcrumb a {
  font-weight: normal;
  text-decoration: none;
  margin-right: 5px;
  color: #149ecb;
}
nav.breadcrumb a:hover {
  color: #bfe4f1;
}
nav.breadcrumb a.home {
  height: 17px;
  width: 19px;
  padding-left: 20px;
  background: url('../img/home.png') no-repeat center left;
  display: inline-block;
  text-indent: -9999em;
}
nav.sidenav {
  font-size: 13px;
  font-size: 1.3rem;
  line-height: 20px;
  line-height: 2rem;
  margin-bottom: 80px;
  margin-bottom: 8rem;
}
nav.sidenav .w80 {
  display: inline-block;
  width: 80%;
}
nav.sidenav ul {
  border-top: 1px solid #bfe4f1;
}
nav.sidenav ul .no-icon {
  display: inline-block;
  width: 24px;
}
nav.sidenav ul li {
  position: relative;
  /* submenu */

}
nav.sidenav ul li a,
nav.sidenav ul li a:visited {
  color: #333333;
  text-decoration: none;
  display: block;
  padding-top: 10px;
  padding-top: 1rem;
  padding-bottom: 9px;
  padding-bottom: 0.9rem;
  padding-left: 10px;
  padding-left: 1rem;
  padding-right: 40px;
  border-bottom: 1px solid #bfe4f1;
}
nav.sidenav ul li a.expand-link,
nav.sidenav ul li a.expand-link:hover {
  position: absolute;
  top: 10px;
  right: 10px;
  margin: 0 !important;
  background: none !important;
  padding: 0 !important;
  border: 0;
}
nav.sidenav ul li a:hover {
  background: #ebf3f7 !important;
}
nav.sidenav ul li.current_page_item > a,
nav.sidenav ul li.current_page_ancestor > a {
  color: #333333;
}
nav.sidenav ul li.current_page_item > a,
nav.sidenav ul li.current_page_ancestor > a {
  font-weight: bold;
}
nav.sidenav ul li ul.children {
  display: none;
  transition: 1s linear;
  border: 0;
}
nav.sidenav ul li ul.children li a {
  background: #fff;
  padding-left: 30px;
  padding-left: 3rem;
}
nav.sidenav ul li ul.children li a:hover {
  color: #333333;
  background-color: #ebf3f7;
}
nav.sidenav ul li ul.children li ul li a {
  padding-left: 60px;
  padding-left: 6rem;
}
nav.sidenav ul li ul.children li.current_page_ancestor > a,
nav.sidenav ul li ul.children li.current_page_parent > a {
  background: #fafafa;
}
nav.sidenav ul li ul.children li.current_page_item ul.children li a,
nav.sidenav ul li ul.children li.current_page_ancestor ul.children li a,
nav.sidenav ul li ul.children li.current_page_parent ul.children li a {
  background: #fafafa;
}
nav.sidenav .current_page_item > a {
  background: #bfe4f1 !important;
}
nav.sidenav a.expanded + ul {
  display: block !important;
  transition: all 2s ease-in-out;
  overflow: hidden;
}
.expandable .expand-icon {
  display: inline-block;
  margin: 3px 10px 0 5px;
  vertical-align: middle;
  width: 9px;
  height: 14px;
  background: transparent url("../img/triangle-close.png") scroll no-repeat 0 0;
  vertical-align: top;
}
.expandable:hover .expand-icon {
  background-position: -9px 0;
}
.expandable:active .expand-icon {
  background-position: -18px 0;
}
.expandable.expanded .expand-icon {
  margin: 5px 10px 0 0;
  width: 14px;
  height: 9px;
  background: transparent url("../img/triangle-open.png") scroll no-repeat 0 0;
}
.expandable.expanded:hover .expand-icon {
  background-position: -14px 0;
}
.expandable.expanded:active .expand-icon {
  background-position: -28px 0;
}
nav.sidenav ul li ul.children li ul.children li ul li a {
  padding-left: 8rem;
}
.footer-nav {
  border: 1px solid #ececec;
  padding: 4px;
}
.footer-nav .footer-nav-logo {
  padding: 20px 20px 0 20px;
}
.footer-nav .footer-nav-logo img {
  max-width: 100%;
}
.footer-nav nav {
  overflow: auto;
  padding: 20px 20px 20px 20px;
}
.footer-nav nav ul li {
  line-height: 30px;
  line-height: 3rem;
  font-size: 16px;
  font-size: 1.6rem;
}
.footer-nav nav ul li a {
  color: #333333;
  text-decoration: none;
}
.footer-nav nav ul li a:hover {
  text-decoration: underline;
}
.footer-inner {
  background: #dcdcdc;
  float: left;
  width: 100%;
}
/* CONTENT */
header,
article,
section,
footer,
p {
  margin-bottom: 20px;
}
.page article.main p:first-of-type {
  font-family: "PT Serif", sans-serif;
  font-size: 18px;
  font-size: 1.8rem;
  line-height: 30px;
  line-height: 3rem;
  font-style: italic;
}
.content {
  padding: 0 20px;
}
.sign {
  margin: 5px 0;
  display: inline-block;
  padding-left: 10px;
  padding-left: 1rem;
  margin-right: 10px;
  margin-right: 1rem;
  text-decoration: none;
  color: #333333;
  font-size: 14px;
  font-size: 1.4rem;
  font-style: normal;
  font-weight: normal;
  border: 1px solid #edcf7f;
  background-color: #fee7a5;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: inset 0px 1px 1px 0px rgba(255, 230, 162, 0.7);
  -moz-box-shadow: inset 0px 1px 1px 0px rgba(255, 230, 162, 0.7);
  -o-box-shadow: inset 0px 1px 1px 0px rgba(255, 230, 162, 0.7);
  -ms-box-shadow: inset 0px 1px 1px 0px rgba(255, 230, 162, 0.7);
  box-shadow: inset 0px 1px 1px 0px rgba(255, 230, 162, 0.7);
}
.sign-inner {
  display: inline-block;
  background: url('../img/viitta-kolmio.png') center right no-repeat;
  padding-top: 5px;
  padding-top: 0.5rem;
  padding-bottom: 5px;
  padding-bottom: 0.5rem;
  padding-right: 30px;
  padding-right: 3rem;
}
.teaser {
  clear: both;
  background: #149ecb;
  padding: 20px 10px;
}
.teaser .item-wrapper .item {
  color: #ffffff;
  padding: 10px;
  padding: 1rem;
}
.teaser .item-wrapper .item ul {
  margin: 0;
  padding: 0;
  list-style-type: disc;
  list-style-position: inside;
}
.teaser .item-wrapper .item h2 {
  font-family: 'PT Sans Narrow', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-style: normal;
  text-transform: uppercase;
}
.teaser h2 {
  color: #ffffff;
  font-family: Georgia;
  font-weight: normal;
  font-style: italic;
  font-size: 18px;
  font-size: 1.8rem;
  line-height: 30px;
  line-height: 3rem;
}
.teaser .arrow:last-child {
  margin-bottom: 0;
}
.teaser .arrow .arrow-content {
  background: #fde7a5;
  padding: 10px;
  padding: 1rem;
  margin-right: 10px;
  margin-right: 1rem;
  background-color: #fde7a5;
  position: relative;
  border: 1px solid #bcbcbc;
  border-radius: 3px 3px 3px 3px;
  margin-right: 20px;
  min-height: 150px;
}
.teaser .arrow .arrow-content:after,
.teaser .arrow .arrow-content:before {
  left: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.teaser .arrow .arrow-content:after {
  border-color: rgba(254, 237, 189, 0);
  border-left-color: #fde7a5;
  border-width: 20px;
  top: 50%;
  margin-top: -20px;
}
.teaser .arrow .arrow-content:before {
  border-color: rgba(188, 188, 188, 0);
  border-left-color: #bcbcbc;
  border-width: 21px;
  top: 50%;
  margin-top: -21px;
}
.teaser .arrow .arrow-content h4 {
  margin: 10px 0;
  text-transform: uppercase;
  font-weight: normal;
}
.teaser .arrow .arrow-content ul {
  margin: 0;
  padding: 0;
  list-style-type: disc;
  list-style-position: inside;
}
.oph-highlight {
  display: inline-block;
  padding-left: 5px;
  padding-left: 0.5rem;
  padding-right: 5px;
  padding-right: 0.5rem;
  background: #dff2f8;
}
/* SUB - PAGE  */
.page article .article-image {
  clear: both;
}
.page article .article-image img {
  float: none;
}
.page article p {
  font-size: 13px;
  font-size: 1.3rem;
}
.page article img {
  float: none;
  border: 1px solid #cccccc;
}
.archive img {
  float: none;
  border: 1px solid #cccccc;
}
.single img {
  border: 1px solid #cccccc;
}
/* TABLES */
table {
  border-spacing: 0;
  border: none;
  width: 100%;
  margin-bottom: 20px;
  margin-bottom: 2rem;
  /*font-family: helvetica, arial, sans-serif;*/

  color: #333333;
  font-size: 13px;
  font-size: 1.3rem;
  line-height: 20px;
}
table th,
table td {
  border: 0;
  padding: 5px;
  padding: 0.5rem;
  text-align: left;
}
table tr:nth-child(odd) {
  background-color: #ffffff;
  border-bottom: 1px solid #bfe4f1;
}
table tr:nth-child(even) {
  background-color: #dff2f8;
  border-bottom: 1px solid #bfe4f1;
}
/* UNDER CONSTRUCTION - page */
.under-construction article {
  font-size: 16px;
  font-size: 1.6rem;
}
.under-construction article div img {
  max-width: 100%;
}
/* FOOTER */
footer .footer-item {
  text-align: center;
}
footer .footer-item p {
  /*text-align: left;*/

  font-size: 12px;
  font-size: 1.2rem;
  line-height: 20px;
  line-height: 2rem;
  color: #333333;
}
footer .footer-item img {
  max-width: 100%;
  padding: 10px;
}
footer .footer-wrapper {
  margin-bottom: 20px;
  margin-bottom: 2rem;
  padding: 20px;
  padding: 2rem;
  border: 1px solid #dcdcdc;
}
footer .small {
  margin: 40px 0;
  text-align: center;
  font-size: 12px;
  font-size: 1.2rem;
}
table {
  overflow: hidden !important;
}
article ul {
  list-style-type: disc;
  padding-left: 40px !important;
  padding-bottom: 15px;
}
article ol {
  list-style-type: decimal;
  padding-left: 40px !important;
  padding-bottom: 15px;
}
.notification {
  font-family: ArialMT, sans-serif;
  background-color: #feedbd;
  padding-left: 11px;
  padding-right: 11px;
  color: #333333;
  -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.14);
  -moz-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.14);
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.14);
}
.notification h4 {
  font-size: 12px;
}
.notif-icon {
  float: left;
  margin-right: 11px;
}
.notif-title {
  padding-top: 11px;
  min-height: 45px;
}
.notif-nojs {
  color: #c09853;
  overflow: auto;
  padding: 5px;
  width: 100%;
}
.notif-nojs div {
  float: left;
  margin-top: 5px;
}
.notification p {
  font-size: 13px;
}
.read-more {
  padding-bottom: 11px;
}
strong {
  font-weight: bold;
}
.content-middle {
  margin-left: 25%;
  margin-right: 25%;
}
.oph-school-listing ul {
  margin-left: 0;
  padding-left: 0 !important;
}

.oph-school-listing ul li {
  list-style: none;
}


/* WIDGETS */
.footer-nav {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
.footer-nav .widget {
  padding: 20px;
}
.footer-nav .menu li a {
  text-decoration: none;
  font-size: 1.3rem;
  color: #333;
}
.footer-nav .menu li a:hover {
  text-decoration: underline;
}
.footer-nav h2 {
  margin-bottom: 10;
}
/* Caption image */
.wp-caption {
  position: relative;
  overflow: auto;
  margin: 0 auto;
  margin-bottom: 10px;
}
.wp-caption.alignleft {
  float: left;
  max-width: 100% !important;
  width: auto !important;
  margin-right: 20px;
  margin-right: 2rem;
}
.wp-caption.alignleft img {
  height: auto !important;
  margin-bottom: inherit;
}
.wp-caption.alignright {
  float: right;
  max-width: 100% !important;
  width: auto !important;
  margin-left: 20px;
  margin-left: 2rem;
}
.wp-caption.alignright img {
  height: auto !important;
  margin-bottom: inherit;
}
.wp-caption.aligncenter img {
  margin-bottom: inherit;
  display: block;
  width: 100%;
  height: auto;
}
.wp-caption img {
  vertical-align: bottom;
}
.wp-caption .wp-caption-text {
  background-color: #000000;
  opacity: 0.8;
  -khtml-opacity: 0.8;
  -moz-opacity: 0.8;
  filter: alpha(opacity=80);
  width: 100%;
  color: #ffffff;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 7px;
  padding-top: 7px;
  margin-right: 0px !important;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-left: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
}
p.wp-caption-text {
  margin-bottom: inherit;
}
.oph-story .alignleft {
  float: left;
  max-width: 100% !important;
  width: auto !important;
  margin-right: 20px;
  margin-right: 2rem;
}
.oph-story .alignleft img {
  height: auto !important;
  margin-bottom: inherit;
}
.oph-story .alignright {
  float: right;
  max-width: 100% !important;
  width: auto !important;
  margin-left: 20px;
  margin-left: 2rem;
}
.oph-story .alignright img {
  height: auto !important;
  margin-bottom: inherit;
}
.oph-story .aligncenter img {
  margin-bottom: inherit;
  display: block;
  width: 100%;
  height: auto;
}
/* Contact form */
.contact-form tr:nth-child(odd) {
  background-color: #ffffff;
}
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
  background: transparent;
  border: 1px solid #c8c8c8;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}
.wpcf7-form input,
.wpcf7-form select {
  width: 60%;
}
.wpcf7-form textarea {
  width: 100%;
}
.wpcf7-submit.submit-button {
  background: none;
  border: 1px solid #dba000;
  font-size: 16px;
  color: #333333;
  padding: 0;
  width: auto;
  padding: 5px;
  height: 40px;
  position: static;
  background-color: #fecf4c;
  background-color: rgba(254, 186, 0, 0.7);
  border-color: rgba(219, 160, 0, 0.7);
  border-width: 1px;
  border-style: solid;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: inset 0px 1px 1px 0px rgba(255, 230, 162, 0.7);
  -moz-box-shadow: inset 0px 1px 1px 0px rgba(255, 230, 162, 0.7);
  -o-box-shadow: inset 0px 1px 1px 0px rgba(255, 230, 162, 0.7);
  -ms-box-shadow: inset 0px 1px 1px 0px rgba(255, 230, 162, 0.7);
  box-shadow: inset 0px 1px 1px 0px rgba(255, 230, 162, 0.7);
  float: right;
}
em {
  font-style: italic;
}
/* Lookup section */
/*
section p:first-of-type {
    display: initial !important;
} */
section article p:first-of-type {
  display: block !important;
  clear: left;
}
.vertical-img {
  float: left;
  padding-right: 25px;
}
section h5 {
  font-style: normal;
  text-transform: uppercase;
}
/* Stories */
.stories {
  overflow: auto;
  column-gap: 20px;
  -webkit-column-gap: 20px;
  -moz-column-gap: 20px;
  column-count: 2;
  -webkit-column-count: 2;
  -moz-column-count: 2;
}
.story h5 {
  font-weight: bold;
}
.story {
  overflow: auto;
  width: 75%;
  float: left;
}
.story-meta {
  padding-bottom: 5px;
}
.single-story p {
  padding-top: 0px;
}
.single aside {

}
section.story {
  -webkit-column-break-inside: avoid;
  -moz-column-break-inside: avoid;
  -o-column-break-inside: avoid;
  -ms-column-break-inside: avoid;
  column-break-inside: avoid;
}
.stories-sidenav {
  border-top: 0 !important;
}
/* Wordpress oEmbeds */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  /*  overflow: hidden; */

}
.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* Search field */
#search-field-frontpage {
  margin-top: -9px;
}
/* Skip to content */
.offscreen {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Misc */
.bc-img {
  background: url('../img/breadcrumb-arrow-icon.png');
  background-repeat: no-repeat;
  width: 10px;
  height: 10px;
  display: inline-block;
}
section ul {
  list-style-type: disc;
  padding-left: 40px !important;
  padding-bottom: 15px;
  padding-top: 10px;
}
section ol {
  list-style-type: decimal;
  padding-left: 40px !important;
  padding-bottom: 15px;
  padding-top: 10px;
}
.textversion {
  float: right;
  margin-top: -13px;
}
.textversion a {
  color: #ffffff;
  font-size: 13px;
}
.oph-story {
  border-bottom: 1px dashed #c3c3c3;
}
.sidebar-node {
  padding-bottom: 20px;
}
h5.theme-term {
  font-style: normal;
  font-weight: bold;
  text-transform: uppercase;
}
/* 404 error page */
#post-error404 {
  height: 400px;
}
/* Tooltip style */
.wp_tooltip:hover:after {
  content: attr(data-tooltip);
  position: absolute;
  white-space: nowrap;
  background: #fee7a5;
  padding: 0.25em 0.25em;
  color: #333333;
  border: 1px solid #edcf7f;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  margin-left: -27px;
  margin-top: -27px;
  -webkit-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.65);
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.65);
}
.wp_tooltip {
  color: #333333;
  border-bottom: 1px dotted #333 !important;
  position: relative;
  text-decoration: none;
  cursor: pointer;
}
/* Pagination style */
.wp-pagenavi a,
.wp-pagenavi span {
  padding: 8px 12px;
  line-height: 20px;
  text-decoration: none;
  background-color: #d2ecf5;
  border: 1px solid #92cce0 !important;
  border-left-width: 0;
}
.wp-pagenavi {
  display: block;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.previouspostslink {
  border-left-width: 1px;
  -webkit-border-top-left-radius: 3px;
  -moz-border-radius-topleft: 3px;
  border-top-left-radius: 3px;
  -webkit-border-bottom-left-radius: 3px;
  -moz-border-radius-bottomleft: 3px;
  border-bottom-left-radius: 3px;
}
.nextpostslink {
  border-right-width: 1px;
  -webkit-border-top-right-radius: 3px;
  -moz-border-radius-topright: 3px;
  border-top-right-radius: 3px;
  -webkit-border-bottom-right-radius: 3px;
  -moz-border-radius-bottomright: 3px;
  border-bottom-right-radius: 3px;
}
a.external:before {
  content: "\f14c";
  padding-right: 4px;
  text-decoration: none;
}
.external:before {
  display: inline-block;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) */
@font-face {
  font-family: 'FontAwesome';
  src: url('../fonts/fontawesome-webfont.eot');
  src: url('../fonts/fontawesome-webfont.eot') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff') format('woff'), url('../fonts/fontawesome-webfont.ttf') format('truetype'), url('../fonts/fontawesome-webfont.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}
.sidebar-node p {
  margin-bottom: 10px;
}
aside section p {
  margin-bottom: 10px !important;
}
/* TablePress */
.tablepress tfoot th,
.tablepress thead th {
  background-color: #ffffff !important;
  border-bottom: 1px solid #BFE4F1 !important;
  border-top: 1px solid #BFE4F1 !important;
}
.tablepress .even td {
  background-color: #dff2f8 !important;
  border-bottom: 1px solid #bfe4f1;
}
.tablepress .odd td {
  border-bottom: 1px solid #bfe4f1;
}
/*@page-max-width: 960px;*/
@media only screen and (min-width: 519px) {
  .container {
    width: 100%;
    max-width: 1170px;
    overflow: hidden;
    margin: 0 auto;
  }
  .row.padded {
    padding: 0 20px;
  }
  .row .col {
    float: left;
  }
  .row .col.span_1 {
    width: 8.333333333333334%;
  }
  .row .col.span_2 {
    width: 16.666666666666668%;
  }
  .row .col.span_3 {
    width: 25%;
  }
  .row .col.span_4 {
    width: 33.333333333333336%;
  }
  .row .col.span_5 {
    width: 41.66666666666667%;
  }
  .row .col.span_6 {
    width: 50%;
  }
  .row .col.span_7 {
    width: 58.333333333333336%;
  }
  .row .col.span_8 {
    width: 66.66666666666667%;
  }
  .row .col.span_9 {
    width: 75%;
  }
  .row .col.span_10 {
    width: 83.33333333333334%;
  }
  .row .col.span_11 {
    width: 91.66666666666667%;
  }
  .row .col.span_12 {
    width: 100%;
  }
  .row .col.w33 {
    width: 33.33333333333%;
  }
  .row .col.w50 {
    width: 50%;
    padding: 0 20px;
  }
  .row .col.w50:first-of-type {
    padding-left: 0;
  }
  .row .col.w66 {
    width: 66.666666666666%;
  }
  .row .col.w100 {
    width: 100%;
  }
  .row .col img {
    display: block;
    max-width: 100%;
  }
  .row .col:last-of-type {
    border-right: 0;
  }
  aside {

  }
  aside section {
    width: 50%;
    float: left;
    padding-right: 20px;
    padding-right: 2rem;
  }
  aside section:nth-child(odd) {
    clear: left;
  }
  .teaser {
    overflow: hidden;
  }
  .teaser .item-wrapper .item {
    float: left;
    width: 33%;
  }
  .teaser .arrow {
    margin-right: 0;
    width: 50%;
    float: left;
    margin-bottom: 20px;
  }
  .teaser .arrow:nth-child(2n+1) {
    clear: left;
    margin-bottom: 0;
  }
  .teaser .arrow .arrow-content {
    margin-right: 30px;
    margin-right: 3rem;
    min-height: 180px;
  }
  .page article,
  .page section {
    overflow: auto;
  }
  .page article img.alignleft,
  .page section img.alignleft {
    float: left;
    max-width: 50% !important;
    height: auto !important;
    margin-right: 20px;
    margin-right: 2rem;
  }
  .page article img.alignright,
  .page section img.alignright {
    float: right;
    max-width: 50% !important;
    height: auto !important;
    margin-left: 20px;
    margin-left: 2rem;
  }
  .footer-nav .footer-nav-logo {
    clear: none;
    float: left;
    width: 50%;
  }
  .footer-nav nav {
    padding: 20px;
  }
  .footer-nav nav ul li {
    width: 50%;
    float: left;
  }
  footer .footer-wrapper {
    overflow: auto;
  }
  footer .footer-item {
    text-align: left;
    width: 50%;
    float: left;
    margin: 20px 0;
  }
  footer .footer-item:nth-child(odd) {
    clear: left;
  }
}
/*
TABLET & SMALLER LAPTOPS
This is the average viewing window. So Desktops, Laptops, and
in general anyone not viewing on a mobile device. Here's where
you can add resource intensive styles.
*/
@media only screen and (min-width: 759px) {
  .container {
    width: 100%;
    max-width: 1170px;
    overflow: hidden;
    margin: 0 auto;
  }
  .row.padded {
    padding: 0 20px;
  }
  .row .col {
    float: left;
  }
  .row .col.span_1 {
    width: 8.333333333333334%;
  }
  .row .col.span_2 {
    width: 16.666666666666668%;
  }
  .row .col.span_3 {
    width: 25%;
  }
  .row .col.span_4 {
    width: 33.333333333333336%;
  }
  .row .col.span_5 {
    width: 41.66666666666667%;
  }
  .row .col.span_6 {
    width: 50%;
  }
  .row .col.span_7 {
    width: 58.333333333333336%;
  }
  .row .col.span_8 {
    width: 66.66666666666667%;
  }
  .row .col.span_9 {
    width: 75%;
  }
  .row .col.span_10 {
    width: 83.33333333333334%;
  }
  .row .col.span_11 {
    width: 91.66666666666667%;
  }
  .row .col.span_12 {
    width: 100%;
  }
  .row .col.w33 {
    width: 33.33333333333%;
  }
  .row .col.w50 {
    width: 50%;
    padding: 0 20px;
  }
  .row .col.w50:first-of-type {
    padding-left: 0;
  }
  .row .col.w66 {
    width: 66.666666666666%;
  }
  .row .col.w100 {
    width: 100%;
  }
  .row .col img {
    display: block;
    max-width: 100%;
  }
  .row .col:last-of-type {
    border-right: 0;
  }
  .content {
    padding: 0;
  }
  article.main {
    border-bottom: 1px dotted #dcdcdc;
    width: 66.66666666666667%;
    float: left;
    border: 0;
    padding: 0 40px 0 10px;
  }
  aside {

  }
  aside section {
    clear: both;
    width: 100%;
  }
  .teaser .teaser-text {
    width: 50%;
    float: left;
    padding-right: 40px;
    padding-right: 4rem;
  }
  .teaser .arrow {
    width: 25%;
    float: left;
    clear: none !important;
    margin-bottom: 0 !important;
  }
  .teaser .arrow:first-of-type {
    width: 50%;
  }
  .teaser .arrow:nth-child(2) {
    clear: left !important;
  }
  .teaser .arrow .arrow-content {
    min-height: 220px;
  }
  /* SUB-page */

  .page .center-content {
    width: 50%;
    float: left;
    padding-right: 20px;
    padding-right: 2rem;
  }
  .page .center-content article p {
    margin-right: 20px;
    margin-right: 2rem;
  }
  .page aside {

  }
  .page aside section {
    width: auto;
    float: none;
    clear: both !important;
  }
  .footer-nav .footer-nav-logo {
    width: 25%;
  }
  .footer-nav nav {
    width: 50%;
    float: left;
    clear: none;
    padding-left: 0;
  }
  footer .footer-wrapper {
    overflow: auto;
    width: 83.33333333333334%;
    margin: 40px auto;
  }
  footer .footer-item {
    width: 25%;
    float: left;
    clear: none !important;
    margin: 0;
  }
  footer .footer-item p {
    margin: 0;
  }
}
/*
DESKTOP
This is the average viewing window. So Desktops, Laptops, and
in general anyone not viewing on a mobile device. Here's where
you can add resource intensive styles.
*/
@media only screen and (min-width: 959px) {
  .container {
    width: 100%;
    max-width: 1170px;
    overflow: hidden;
    margin: 0 auto;
  }
  .row.padded {
    padding: 0 20px;
  }
  .row .col {
    float: left;
  }
  .row .col.span_1 {
    width: 8.333333333333334%;
  }
  .row .col.span_2 {
    width: 16.666666666666668%;
  }
  .row .col.span_3 {
    width: 25%;
  }
  .row .col.span_4 {
    width: 33.333333333333336%;
  }
  .row .col.span_5 {
    width: 41.66666666666667%;
  }
  .row .col.span_6 {
    width: 50%;
  }
  .row .col.span_7 {
    width: 58.333333333333336%;
  }
  .row .col.span_8 {
    width: 66.66666666666667%;
  }
  .row .col.span_9 {
    width: 75%;
  }
  .row .col.span_10 {
    width: 83.33333333333334%;
  }
  .row .col.span_11 {
    width: 91.66666666666667%;
  }
  .row .col.span_12 {
    width: 100%;
  }
  .row .col.w33 {
    width: 33.33333333333%;
  }
  .row .col.w50 {
    width: 50%;
    padding: 0 20px;
  }
  .row .col.w50:first-of-type {
    padding-left: 0;
  }
  .row .col.w66 {
    width: 66.666666666666%;
  }
  .row .col.w100 {
    width: 100%;
  }
  .row .col img {
    display: block;
    max-width: 100%;
  }
  .row .col:last-of-type {
    border-right: 0;
  }
  .content {
    padding: 0;
  }
  .home article.main {
    border-bottom: 1px dotted #dcdcdc;
    width: 50%;
    float: left;
    padding: 0 40px 0 10px;
    border: 0;
  }
  .home aside {
    overflow: auto;
    width: 50%;
    float: left;
    column-gap: 20px;
    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;
    column-count: 2;
    -webkit-column-count: 2;
    -moz-column-count: 2;
  }
  .home aside section {
    /*.padding-right(@gutter * 2);
  		 * 
  		 */
    width: 100%;
    display: inline-block;
    margin-bottom: 0;
    /*		clear: none !important;
  		
  		&:nth-child(odd) {
  			clear: left !important;
  		}
  */
  
  }
  .page .center-content article p {
    margin-right: 40px;
    margin-right: 4rem;
  }
  .teaser {
    clear: both;
  }
  .teaser .arrow {
    width: 25%;
    float: left;
    clear: none !important;
    margin-bottom: 0 !important;
  }
  .teaser .arrow .arrow-content {
    min-height: 150px;
  }
  footer .footer-wrapper {
    overflow: auto;
    width: 83.33333333333334%;
    margin: 40px auto;
  }
  footer .footer-item {
    width: 50%;
    float: left;
    clear: none !important;
    margin: 0;
  }
  footer .footer-item p {
    margin: 0;
  }
}


a.no_icon:before {
    content: '' !important;
}

.ysi-info .main-column ul, .ysi-info-sv .main-column ul {
    list-style: initial;
    padding-left: 20px;
}

.box-opo h1, .box-opo h2, .box-opo h3, .box-opo h4 {
    padding-left: 20px;
}

.sign-lookup {
    padding-bottom: 20px;
}

.post-edit {
    height: 40px;
}

@media all and (min-width: 769px) {
  .search-education {
      text-align: right;
   }
}

.os-box {
    background-image: url(../img/oppisopimusnosto-tausta.png);
    background-repeat: repeat-x;
    margin-bottom: 10px;
    border: 1px solid #bee4f1;
}

.os-wrapper h3 {
    margin-bottom: 5px;
    text-align: center;
}

.os-wrapper > div > .os-box-content:first-of-type > h3 {
  text-align: left;
  padding-bottom: 25px;
}

.os-box img {
    border: 0px !important;
}

.os-wrapper {
  padding-top: 20px;
}

.os-wrapper > div > .os-box-content:first-of-type {
  text-align: left;
}

.os-wrapper > div > .os-box-content:first-of-type > ul {
  margin-left: 10px;
  padding-bottom: 50px;
}

.os-box-content {
    text-align: center;
}

.col-centered {
    display:inline-block;
    float:none;
    /* reset the text-align */
    text-align:left;
    /* inline-block space fix */
    margin-right:-4px;
}

hr.os {
  margin-top: 35px !important;
}

.oppisopimus article, .tyonantajalle article, .opiskelijalle article, .yrittajalle article, .laroavtal article, .for-studerande article, .for-arbetsgivare article, .for-foretagare article {
    background-color: #E9F4FB;
    padding: 20px;
}

.os-topbanner {
  background: url('../img/oppisopimus-ylaosa.jpg') no-repeat;
  height: 50px;
  margin-bottom: -10px;
}

.os-sidebar {
  padding-top: 20px;
}

.vertical-align {
    display: flex;
    align-items: center;
}


nav.sidenav {
    float: left;
    width: 100%;
}


.search-button {
    padding-top: 2px;
}

button.btn.btn-primary {
    width: initial !important;
}


@media all and (max-width: 768px) {
  .search-education {
      text-align: center;
      padding-bottom: 10px;
   }
    
    nav.sidenav {
        margin-bottom: 30px;
        margin-bottom: 3rem;
    }
    
    .search-group {
        padding-bottom: 5px;
    }
    
    .stories {
        column-count: auto;
        -webkit-column-count: auto;
        -moz-column-count: auto;
    }
    
    .story {
        width: inherit;
    }
    
    .glyphicon.glyphicon-search {
        padding-right: 0px !important;
    }
}

#maincontent {
    background-color: #fff;
    padding-top: 5px;
    border: 1px solid #efefef;
}

input#search-field-frontpage {
    background-color: #fff !important;
}

.list-arrow {
    list-style-image: url('../img/link_arrow.jpg');
    line-height: 2em;
}

.list-arrow a {
    color: #149ecb;
}

#sitefooter {
    padding-top: 20px;
}

button.btn.btn-primary {
    height: inherit !important;
}

.search-education a {
    text-decoration: none;
}

.btn-secondary {
    width: initial;
    color: #333333;
    text-shadow: none;
    background-color: #feba00;
    background-image: none;
    border: 1px solid #dea300;
    -webkit-box-shadow: inset 1px 1px 1px rgba(253, 237, 193,1.0);
    -moz-box-shadow: inset 1px 1px 1px rgba(253, 237, 193,1.0);
    box-shadow: inset 1px 1px 1px rgba(253, 237, 193,1.0);
}

.btn-secondary:hover {
    color: #333333;
    background-color: #e99f00;
    border-color: #c69100;
    -webkit-box-shadow: inset 1px 1px 1px rgba(253, 237, 193, 1.0);
    -moz-box-shadow: inset 1px 1px 1px rgba(253, 237, 193, 1.0);
    box-shadow: inset 1px 1px 1px rgba(253, 237, 193, 1.0);
}

.btn-secondary:active {
    color: #333333;
    background-color: #e99f00;
    border-color: #c69100;
    -webkit-box-shadow: inset 1px 1px 1px rgba(253, 237, 193, 1.0);
    -moz-box-shadow: inset 1px 1px 1px rgba(253, 237, 193, 1.0);
    box-shadow: inset 1px 1px 1px rgba(253, 237, 193, 1.0);
}

.btn-secondary:focus {
    color: #333333;
    background-color: #e99f00;
    border-color: #c69100;
    -webkit-box-shadow: inset 1px 1px 1px rgba(253, 237, 193, 1.0);
    -moz-box-shadow: inset 1px 1px 1px rgba(253, 237, 193, 1.0);
    box-shadow: inset 1px 1px 1px rgba(253, 237, 193, 1.0);
}

a.btn.btn-secondary.external:before {
    content: '';
}

.input-group-btn:last-child>.btn {
    border-radius: 3px !important;
}

.sidenav ul {
    list-style-type: none;
}

.author-avatar {
    float: left;
    padding-right: 10px;
}
button.btn.btn-primary {
    width: 100% !important;
}
@media all and (min-width: 768px) { 
    span.input-group-btn {
        width: 100%;
    }
    
    .glyphicon.glyphicon-search {
        padding-right: 0px !important;
    }
}
