/*
Theme Name: Uusiouutiset, WPE
Theme URI: http://underscores.me/
Author: Ville Vainio
Author URI: http://vianueva.fi
Description: Vianueva 1.0
Version: 1.1.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vianueva
Tags:

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.

vianueva is based on Underscores http://underscores.me/, (C) 2012-2015 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 http://necolas.github.com/normalize.css/
*/

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;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

.group:after, .main-content section:after, .main-content:after {
  content: "";
  display: table;
  clear: both;
}

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

body {
  font-family:"proxima-nova";
  margin:0 auto;
  max-width:1440px;
}

p {
  line-height:1.375em;
}

strong, b {
  font-weight:bold;
}

@font-face {
  font-family: 'montserrat';
  src: url('fonts/montserrat-extrabold-webfont.eot');
  src: url('fonts/montserrat-extrabold-webfont.eot?#iefix') format('embedded-opentype'),
  url('fonts/montserrat-extrabold-webfont.woff2') format('woff2'),
  url('fonts/montserrat-extrabold-webfont.woff') format('woff'),
  url('fonts/montserrat-extrabold-webfont.ttf') format('truetype'),
  url('fonts/montserrat-extrabold-webfont.svg#montserratextra_bold') format('svg');
  font-weight: 900;
  font-style: normal;

}

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

}

html, body {
  overflow-x:hidden;
}

/* Login specifics */

.asauth-widget-login .trayMenuContentButton {
  background: #88a93f !important;
  border: none !important;
  border-radius: 0 !important;
}

.asauth-widget-login .trayMenuContentButton span {
  color: #fff !important;
}

.latest-mag .magazineListing li {
  width: 100%;
  max-width: 100%;
  padding: 20px;
}

.latest-mag .magazineCover {
  padding-bottom: 0;
}

.magazineCoverCurlBottom.labelDownload, .magazineCoverLabel, .magazineInfo, .magazineCoverCurlTop.labelDownload {
  display: none;
}

.digimagazine .magazineListingWidget {
  float: left;
  height: 100%;
  width: 45%;
}

.digimagazine .asmag-widget-toc {
 float: right;
}

/**********/

.site-header {
  background:#fff;
  position:relative;
  width:100%;
  top:0;
  left:0;
  z-index:99;
  clear:both;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;

}

.navigation-phone {
  position:absolute;
  right:4%;
  font-size:1.25em;
  font-family:montserrat;
  font-weight:900;
  background:#05400D;
  color:#fff;
  padding:0.25em;
}

@media screen and (max-width: 55em) {
  .navigation-phone {
    right:4em;
    top:1.4em;
    font-size:1.125em;
    background:none;
    padding:none;
    color:#05400D;
  }
}

.language-selector {
  position:absolute;
  color:#fafafa;
  margin-top:2.75em;
  right:1.5%;
  top:1.625em;
}



.language-item {
  position:relative;
  text-transform:uppercase;
  z-index:2;
  display:none;
}

.language-item a {
  display:block;
  color:#fff;
  height: 1.5em;
  line-height:1.5em;
  width:2em;
  padding-left:0.5em;
  padding-right:0.5em;
  font-size:1.25em;
  background:#666;

}

.language-selector.opened .language-item {
  display:block !important;
}

.language-item:first-child {
  position:relative;
  display:block;
}

.language-item:first-child a:after {
  position:absolute;
  content:'';
  width:0.5em;
  height:0.5em;
  background:url('assets/nuoli_valk.png') no-repeat;
  background-size:contain;
  margin-left:0.25em;
  margin-top:0.625em;
  right:0.5em;
}

.language-selector:hover .language-item, .language.item.opened {
  display:block;
}

.language-item a:hover {
  background:#2F9E97;
}
.language-selected a:hover {
  color:#fafafa;
  background:#666;
}

.main-navigation {
  margin:1em auto;
  font-family:"proxima-nova";
  text-align:center;
  clear:both;
  float:left;
  width:100%;
  border-top:2px solid #000;
  border-bottom:2px solid #000;
}


@media screen and (max-width:60em) {
  .main-navigation {
    font-size:1em;
    margin-top:1.625em;
  }
}

.main-navigation li {
  display:inline-block;
  position:relative;
  width:auto;
  text-transform: uppercase;
  font-size:1em;
}

.main-navigation li a {
  display:block;
  padding:1.5em 0.75em;
  text-decoration: none;
  color:#000;
}

.main-navigation li:hover {
  background:#ddd;
}

.main-navigation li:hover, .main-navigation li:active, .main-navigation li:focus {

}

.main-navigation .current-menu-item, .main-navigation .current-menu-ancestor {

}

.main-navigation .sub-menu .current-menu-ancestor, .main-navigation .sub-menu .current-menu-item {
  border:none;
}

.main-navigation .sub-menu li:hover {
  border:none;
  background:#fff;
}

.main-navigation .sub-menu li:hover a {
  padding:0.5em 4%;
}

.main-navigation li:first-child a {

}

.main-navigation .sub-menu {    
  display:none;
  -webkit-font-smoothing: subpixel-antialiased;
  position:relative;
  background:#fff;
  color:#fff;
  text-align:left;
}

.main-navigation .menu-item-has-children:hover .sub-menu {
  width:14em;
  position:absolute;
  display:block;
  z-index:2;
  xtop:4.5em;
  padding-left:0;
}

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

.main-navigation .sub-menu li {
  display:block;
  position:relative;
  width:100%;
  font-size:0.9375em;
  margin-top:0;
  clear:both;
  background:#88A93F;
  color:#fff;
  text-transform:none;
}

.main-navigation .sub-menu li:first-child:before {
  bottom: 100%;
  left: 20%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(0, 0, 0, 0);
  border-bottom-color: #88A93F;
  border-width: 8px;
  margin-left: -8px;
}

.main-navigation .sub-menu .sub-menu li:first-child:before {
  display:none;
}

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

.main-navigation .sub-menu li a {
  display:block;
  width:100%;
  padding:0.5em 4%;
  line-height:1.5em;
  height:auto;
  color:#fff;
}

@media screen and (max-width:47.9375em) {
  .main-navigation .sub-menu li a {
    line-height:2em;
  }
}

.main-navigation .sub-menu .sub-menu li {
  font-size:1em !important;
  background:#333;
}

.main-navigation .sub-menu li:hover {
  background:RGBA(136, 169, 63, 0.80);
}

.main-navigation .sub-menu .current-menu-item, .main-navigation .sub-menu .current-menu-ancestor {
  background:RGBA(136, 169, 63, 0.80);
}

.main-navigation .sub-menu li:first-child:hover:before {
  border: solid transparent;
  border-color: rgba(0, 0, 0, 0);
  border-bottom-color: RGBA(136, 169, 63, 0.80);
  border-width: 8px;
  margin-left: -8px;
}



.main-navigation .sub-menu .sub-menu li:hover {
 background:#999;
}

.main-navigation .sub-menu .sub-menu .current-menu-item, .main-navigation .sub-menu .sub-menu .current-menu-ancestor {
  background:#999;
}

.main-navigation .sub-menu .sub-menu {
  display:none !important;
  margin-left:0 !important;
  padding-top:0 !important;

}



.main-navigation .sub-menu .sub-menu li:first-child:after {
  right: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(51, 51, 51, 0);
  border-right-color: #333;
  border-width: 8px;
  margin-top: -8px;
  z-index:9;
}

.main-navigation .sub-menu .sub-menu li:first-child:hover:after {
  border: solid transparent;
  border-color: rgba(51, 51, 51, 0);
  border-right-color: #999;
  border-width: 8px;
  margin-top: -8px;
}

.main-navigation .sub-menu .menu-item-has-children:hover .sub-menu {
  display:block !important;
  position:absolute;
  left:14.933333333em;
  top:0;
  z-index:3;
}

.mobile-navigation {
  float:right;
  font-size:3em;
  display:none;
  margin-top:0.8em;
  margin-bottom:0.5em;
  margin-right:2%;
}

.mobile-navigation .menu-close {
  display:none;
  font-weight:bold;
}


.mobile-navigation .menu-toggle, .menu-close {
  text-decoration:none;
  color:#000;
  width:40px;
  text-align:center;
}

.mobile-navigation.opened .menu-toggle {
  display:none;

}

.mobile-navigation .menu-close.visible {
  display:block;
}

.mobile-navigation .menu-toggle:hover, .mobile-navigation .menu-close:hover {
  cursor:pointer;
}


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

  .mobile-navigation {
    display:block;
    margin-top:2.5em;
    font-size:2em;
    margin-right:4%;
  }

  .mobile-navigation .menu-toggle, .mobile-navigation .menu-close {
    width:24px;
  }
  .main-navigation, .site-logo {

  }

  .logo-link {
    margin-top:0.685em;
  }

  .main-navigation {
    display:none;
  }

  .language-selector {
    position:absolute;
    margin-top:3.325em;
    right:5em;
  }

}
.mobile-menu {
  max-height:0;
  max-width:0;
  overflow: hidden;
  clear:both;
  opacity:0.5;
  transition:max-height 0.3s ease-out, opacity 0.3s ease-out;
}

.mobile-menu.opened {
  max-height:2000px;
  max-width:100%;
  opacity:1;
}

.mobile-menu li {
  width:100%;
  text-transform:uppercase;
  background:RGBA(136, 169, 63, 1.00);
  position:relative;
}


.mobile-menu li a {
  display:block;
  padding:1em 2%;
  width:100%;
  text-decoration:none;
  color:#fff;

}

.mobile-menu li a:hover {
  opacity:0.8;
}

.mobile-menu .sub-menu {
  display:none;
}

.mobile-menu .nav-expand {
  display:none;
  position:absolute;
  top:0;
  right:0.625%;
  height:1em;
  padding:1em 2%;
  width:auto;
  z-index:4;
  background:none !important;
}

@media screen and (max-width:47.9375em) {
  .mobile-menu .nav-expand {
    padding:1em 6%;
    right:0;
  }
}
.mobile-menu .menu-item-has-children .nav-expand {
  display:block;
}

.mobile-menu .menu-item-has-children .sub-menu .nav-expand {
  display:none;
}

.mobile-menu .menu-item-has-children .sub-menu .menu-item-has-children .nav-expand {
  display:block;
}

.mobile-menu .sub-menu.opened {
  display:block;
}

.mobile-menu .sub-menu .sub-menu li a {
  padding-left:6%;

}

.mobile-menu .sub-menu .sub-menu li {
  background:#797979;
}

.site-header.is-admin {
  xtop:32px;
}

main {
  margin:0;
  display:block;
}

main.investments {
  margin:0;
  background:#f3f3f3;
}

@media screen and (max-width:767px) {
  main.investments {
    margin:0 4%;
    background:#fff;
  }
}

main img {
  display:block;
  max-width:100%;
  height:auto;
  margin:1em auto;
}

main p, blockquote {
  margin:1em 0;
  line-height:1.4em;
  font-size: 14px;
}

main a, .footer a{
  color:#177873;
}

main ul, main ol, main h1, main h2 {
  line-height:1.4em;
}

.page-content input.wpcf7-text, .page-content textarea, .mc4wp-form-fields input, input.wpcf7-form-control {
  display:block;
  width:480px;
  max-width:100%;
  font-size:1em;
  padding:1em;
  border:1px solid #666;
}

.page-content select {
  font-size:1em;
}

input, textarea {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing:border-box;
}
.section {
  padding:0 4% 3em 4%;
}

.section:after {
  display:table;
  content:"";
  clear:both;
}

.two-column-item {
  width:48%;
  float:left;
  margin-left:4%;
}

.three-column-item {
  width:32%;
  float:left;
  margin-left:2%;
}

.four-column-item {
  width:23.5%;
  float:left;
  margin-left:2%;
}

.two-column-item:nth-child(2n+1), .three-column-item:nth-child(3n+1), 
.four-column-item:nth-child(4n+1) {
  margin-left:0;
  clear:left;
}


@media screen and (max-width:767px) {
  .two-column-item, .three-column-item, .four-column-item {
    float:none;
    width:100%;
    margin-left:0;
  }

  .breaks-into-three {
    width:32%;
    float:left;
    margin-left:2%;
  }

  .breaks-into-two {
    width:48%;
    float:left;
    margin-left:2%;
  }
}


.site-header {
  width:92%;
  margin:3em 4% 2em;
}

.header-ads .widget-title {
  display:none;
}

.header-ads {
  text-align:center;
  margin-bottom:3em;
}

.headers-ads img, .header-ads .widget {
  display:inline;
}

.header-ads img {
  height:auto;
  max-width:100%;
}

.header-ads .widget {

}

@media screen and (max-width:767px) {
  .header-ads .widget {
    display:block;
  }

  .header-ads {
    margin-bottom:0;
  }

  .site-logo {
    margin-top:1em;
  }
}

.site-logo img {
  display:block;
  margin:0 auto;
  max-width:460px;
}

.header-subscribe {
  margin-top:3.7em;
  width:15%;
  float:left;
}

.search-bar {
  width:25%;
  float:right;
  margin-top:6em;
}

.site-logo {
  float:left;
  width:56%;
  margin:2em 2% 0;
}
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.search-submit {
  display:none;
}

.search-form {
  position:relative;
}

.search-form:before {
  background:url('/wp-content/uploads/2017/08/icon_suurennus_360.png') no-repeat;
  background-size:80% 80%;
  background-position:40% 50%;
  position:absolute;
  content:' ';
  left:0.125em;
  width:2.125em;
  height:2.125em;
  top:0.125em;
  z-index:2;
  background-color:#BD5926;
}

_::-webkit-full-page-media, _:future, :root .search-form:before {

  width:2.375em;
  height:2.375em;
  top:0.25em;

}



.search-field {
  padding:0.5em 1em 0.5em 2.75em;
  width:14em;
  font-size:16px;
  background:#fff;
  border:2px solid #000;
  color:#444;
}

.header-jobs-link {
  padding-right:2em;
}

.main-content {
  margin:0 4% 3em;
}

.main-content a {
  color:#88A93F;
}

.column {
  float:left;
}

.first-column, .third-column {
  width:24%;
}

.first-column {
  margin-right:2%;
}

.second-column {
  width:48%;
  margin-right:2%;
}

.third-column {
  float:right;
}

.single-content .main-area, .archive .main-area {
  float:left;
  width:74%;
  margin-right:2%;
}

@media screen and (max-width:1143px) {
  .main-area, .single-content .main-area, .archive .main-area {
    float:left;
    width:64%;
    margin-right:2%;
  }
  .first-column, .second-column {
    width:100%;
  }

  .third-column {
    width:34%;
  }
  .search-bar, .header-subscribe {
    display:none;
  }

  .site-logo {
    float:left;
    margin-left:0;
  }

  .site-logo img {
    max-width:320px;
  }
}

@media screen and (max-width:767px) {
  .main-area, .third-column, .first-column, .second-column, .single-content .main-area, .archive .main-area {
    width:100%;
    float:none;
  }

  .site-logo img {
    max-width:240px;
    margin-top:1.5em;
  }
}
.home-top-news li:first-child {
  display:none;
}

.archive .item-list li {
  float:left;
  width:48%;
}

.archive .item-list li:nth-child(2n+1) {
  clear:left;
  margin-right:4%;
}

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

  .archive .item-list, .archive .item-list li {
    width:100%;
    float:none;
    margin-right:0;
  }

  .archive .item-list li:nth-child(2n+1) {
    margin-right:0;
  }
}

.post-navigation {
  clear:left;
}

a.link-button, input.wpcf7-submit, .mc4wp-form-fields input[type="submit"] {
  display:block;
  padding:0.75em;
  background:#88A93F;
  text-align:center;
  width:10em;
  color:#fff;
  font-weight:bold;
  margin:1em 0;
  font-size:0.875em;
}

@media screen and (max-width:576px) {
  a.link-button, input.wpcf7-submit, .mc4wp-form-fields input[type="submit"] {
    font-size:1.1em;
  }
}

.header-button {
  background:#fff;
  color:#88A93F;
  border:1px #88A93F solid;
  margin-bottom:1em;
}

.latest-mag .link-button, .newsletter .link-button {
  margin:1em auto;
  background:inherit;
  border:2px solid #fff;
}

.newsletter-image {
  position:relative;
}

.newsletter-image img {
 margin:0;
}

.newsletter-image .link-list {
  position:absolute;
  bottom:0;
  width:100%;
}
.news-info {
  font-size:0.75em;
  font-weight:300;
}

@media screen and (max-width:576px) {
  .news-info {
    font-size:1.1em;
  }
}

.news-info p {
  display:inline;
  font-weight:300;
}

.news-category, .news-tags {
  position:relative;
  padding-left:1em;
}

.news-category:before, .news-tags:before {
  position:absolute;
  content:' ';
  width:0.375em;
  height:0.375em;
  background:#BD5926;
  left:0.25em;
  top:0.375em;
}

.news-image {
  max-height: 260px;
  overflow: hidden;
  margin:1em 0;
  height: 260px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.single-content .news-image {
 height: 100%;
}

.news-image img {
  /* corrects inline gap in enclosing div */
  display: block;
  width: 100%;
  /* just in case, to force correct aspect ratio */
  height: auto !important;
  width: auto\9; /* ie8+9 */
  /* lt ie8 */
  -ms-interpolation-mode: bicubic;
}

.single-image {
  max-height:none;
}

.single-image img {
  width:auto;
}

.news-content h1, .page-content h1 {
  font-size:1.5em;
  margin:0.666667em 0;
}

.news-content h2, .page-content h2 {
  font-size:1.25em;
  margin:0.8em 0;
}

.news-content h3, .page-content h3 {
  font-size:1.125em;
  margin:0.888889em 0;
}

.news-content h4, .page-content h4 {
  margin:1em 0;
}

.news-content .alignleft, .page-content .alignleft {
  float:left;
  margin-right: 1em;
}

.news-content .alignright, .page-content .alignright {
  float:right;
  margin-left: 1em;
}

.news-content h1, .news-content h2, .news-content h3, .news-content h4, 
.page-content h1, .page-content h2, .page-content h3, .page-content h4 {
  font-weight:bold;
}

.news-content em, .page-content em {
  font-style:italic;
}

.news-content ul, .page-content ul {
  list-style:disc;
  margin:1em;
  line-height:1.4;
}

.news-content ol, .page-content ol {
  list-style:decimal;
  margin:1em;
  line-height:1.4;
}
.home-main-news {
  text-align:center;
}

.home-main-news .news-excerpt {
  text-align:left;
}

.home-main-news a.link-button {
  margin:1em auto;
}

.home-top-news .news-item {
  margin-bottom:3em;
}

.news-item .news-heading {
  font-size: 1.27em;
}

.home-top-news .news-heading, .home-main-news .news-heading {
  font-size:1.425em;
  font-weight:bold;
}

.home-top-news .news-info, .home-main-news .news-info {
  xtext-align:center;
}
.news-heading a {
  color:#000;
}

.news-heading a:hover {
  color:#88A93F;
}

.section-heading {
  background:#137FAA;
  color:#fff;
  font-size:1.425em;
  text-align:center;
  padding:0.75em 0;
}

.home-more-news, .home-most-read, .home-stock-companies {
  border:1px solid #eee;
  margin:1em 0;
}
.sidebar-section {
  border:2px solid #137FAA;
  margin:1em 0;
}

.sidebar img {
  margin:1em auto;
  display:block;
  max-width:100%;
  height:auto;
}

.sidebar .link-list {
  padding:1em 0;
  background:#137FAA;
  opacity:0.8;
}
.home-more-news li, .home-most-read li, .home-stock-companies li {
  padding:0.5em;
  border-bottom:1px solid #ddd;
}

.home-more-news li:last-child, .home-most-read li:last-child, .home-stock-companies li:last-child {
  border-bottom:none;
}

.home-more-news .news-heading, .home-most-read .news-heading, .home-stock-companies .news-heading {
  text-transform:none;
  font-size:0.875em;
  font-weight:bold;
}

@media screen and (max-width:576px) {
  .home-more-news .news-heading, .home-most-read .news-heading, .home-stock-companies .news-heading {
    font-size:1.1em;
  }
}

.home-most-read ol {
  counter-reset:li;
}

.home-most-read ol li {
  position:relative;
  padding-left:3em;
}

.home-most-read ol li:before {
  content: counter(li);
  counter-increment: li;
  position: absolute;
  width: 2em;
  height: 2em;
  line-height: 2em;
  background:#BD5926;
  color:#fff;
  text-align:center;
  border-radius:2em;
  left:0.5em;
}

.home-most-read .news-heading {
  line-height:1.4;
}

.home-archives, .home-partners, .home-blog, .home-twitter {
  background:#f7f7f7;
  padding:1em;
  margin-bottom:2em;
}

.home-archives .section-heading, .home-partners .section-heading, .home-blog .section-heading, .home-twitter .section-heading {
  color:#fff !important;
  padding:0.25em 0;
  margin-bottom:0.5em;
}

.home-archives .section-heading, .home-partners .section-heading {
  background:#137FAA;
}

.home-blog .section-heading {
  background:#000;
}

.home-blog {
  background:#137FAA;
  color:#fff;
}

.home-blog a {
  color:#fff;
}

.home-archives .news-item  {
  padding-bottom:1em;
  padding:0.5em;
  border-bottom:1px solid #ccc;
}

.home-archives .news-listing li:last-child {
  border-bottom:none;
}

.placeholder-image {
  float:left;
  clear:left;
  width:10em;
  height:14em;
  margin-right:1em;
}

.placeholder-image img {
  margin:0;
}

.home-blog a.link-button {
  background:inherit;
  display:inline;
  font-weight:bold;
  color:#fff;
  margin:0;
  padding:0;
  margin-bottom:1em;
}

.archive-link {
  font-size:0.875em;
  font-weight:bold;
}

@media screen and (max-width:576px)  {
  .archive-link {
    font-size:1.1em;
  }
}


.latest-mag .section-heading {
  /*padding-bottom:0;*/
}

.mag-number {
  background:#137FAA;
  color:#fff;
  font-size:0.875em;
  text-align:center;
  font-weight:300;
  padding-bottom:1em;
}

@media screen and (max-width:576px) {
  .mag-number {
    font-size:1.1em;
  }
}

.latest-mag-cover {
  margin:1em 2em;
}

.single-heading, .page-heading {
  font-size:2.5em;
  margin-bottom:0.8em;

}
.single-image img {
  margin:1em 0;
}

.single-info {
  margin-bottom:1em;
}
input, textarea {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing:border-box;
}

input[type=search] {
 -moz-appearance:none;
 -webkit-appearance:none;
}

ul#related_posts_thumbnails,
.related-posts {
  display: flex;
  flex-wrap: wrap;
}

.relpost-thumb-container h3,
.related_content h3,
.related_post_title {
  font-size:2em;
  font-weight:bold;
  margin:0.8em 0;
}

#related_posts_thumbnails img,
.related-posts img {
  margin: 0 auto;
  margin-bottom: 16px;
  max-width: 150px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

#related_posts_thumbnails,
.related-posts {
  text-align: center;
  line-height: 22px;
}

#related_posts_thumbnails li,
.related_content li,
.related_post li {
  float:left;
  width:31%;
  margin-left:2%;
}

li.related-post.extended_view, li.related_du-post.extended_view{
  float: none;
}

.extended_view span.related-post-title {
  background-color: transparent;
  color: #88A93F;
  font-size: 16px;
  overflow: visible;
  position: relative;
}

.related-post-link {
  position: relative;
  display: block;
}

#related_posts_thumbnails li:nth-child(3n+1),
.related_content li:nth-child(3n+1),
.related_post li:nth-child(3n+1) {
  clear:left;
  margin-left:0;
}

@media screen and (max-width:767px) {
  ul#related_posts_thumbnails,
  .related-posts {
    flex-direction: column;
    margin: 0 auto;
  }
  #related_posts_thumbnails li,
  .related_content li,
  li.related-post.extended_view,
  .related_post li {
    float:none;
    width:100%;
    margin-left:0;
  }

  .placeholder-image {
    display:none;
  }

  .single-heading, .related_post_title {
    font-size:1.5em;
  }
}

.wp_rp_footer {
  clear:left;
  margin:1em 0;
}
.footer {
  background:#137FAA;
  padding:3em 4%;
  clear:both;
}

.footer a {
  color:#fff;
}

.footer-logo {
  width:18em;
  margin-bottom:2em;
}

.footer-logo img {
  margin:0 auto;
  width:100%;
  height:auto;
}

.footer-heading {
  color:#fff;
  text-transform:uppercase;
  font-size:1.25em;
  font-weight:bold;
  margin-bottom:0.8em;
}

.footer-column {
  margin-bottom:1em;
}

.footer-column li {
  margin-bottom:1em;
}

.footer a.link-button {
  background:inherit;
  color:#fff;
  border:2px solid #fff;
}

.footer .social-item {
  display: inline-block;
}

.social-icon img {
  max-width:32px;
  height:auto;
}

.page-Yhteystiedot .page-content img {
  margin:0 1em 0;
}

.page-content td {
  line-height:1.4;
}

.wpcf7-captchac {
  margin:0;
}

.search-instructions {
  font-size:0.8125em;
  color:#666;
}
/*@media screen and (min-width:1400px) {
    body {
        font-size:1.125em;
    }
}

@media screen and (min-width:1600px) {
    body {
        font-size:1.175em;
    }
}

@media screen and (min-width:1800px) {
    body {
        font-size:1.25em;
    }
}

@media screen and (min-width:2000px) {
    body {
        font-size:1.3125em;
    }
}

@media screen and (min-width:2200px) {
    body {
        font-size:1.375em;
    }
}

@media screen and (min-width:2400px) {
    body {
        font-size:1.4375em;
    }
}

@media screen and (min-width:2600px) {
    body {
        font-size:1.5em;
    }
}*/

.job-archives .placeholder-image {
  height: 10em;
}

/*Paywall*/

.paywall-excerpt {
  max-height: 120px;
  position: relative;
  overflow: hidden;
  margin-bottom: 25px;
}

.paywall-excerpt .paywall-excerpt-fade {
  position: absolute; 
  bottom: 0; 
  left: 0;
  width: 100%; 
  text-align: center; 
  margin: 0; 
  padding: 50px 0; 
  /* "transparent" only works here because == rgba(0,0,0,0) */
  background-image: linear-gradient(to bottom, transparent, white);
}

.order-prompt {
  margin-bottom: 40px;
}

/* media page*/

.mediabar {
    background: #88A93F;
    margin: 10px 0;
    padding: 30px 30px 30px 70px;
    width: auto;
}
@media screen and (max-width:992px) {
    .mediabar {
    padding: 20px 12px 20px 52px;
}
  }
    .mediabar__row {
      display: flex;
      justify-content: space-between;
    }
          @media screen and (max-width:576px) {
            .mediabar {
                -webkit-hyphens: auto;
                -ms-hyphens: auto;
                hyphens: auto;
        }
          }

        .mediabar__texts p {
        font-size: 1rem;
        line-height: 1.4375rem;
        font-weight: 500;
        font-family: proxima-nova, sans-serif;
        color: #fff;
    }  
        @media screen and (max-width:576px) {
            .mediabar__texts p {
            width: 100%; 
          padding-top: 0;
        } 
        }
    

      .mediabar__texts h3 {
        margin: 0;
        font-family: proxima-nova, sans-serif;
        font-size: 1.25rem;
        line-height: 1.625rem;
        color: #fff;
    }
    .submitbutton {
        display: inline-block;
        width: auto;
        border: solid thin #fff;
        color: #fff !important;
        font-family: proxima-nova, sans-serif;
        font-size: 1rem;
        line-height: 1.4375rem;
        font-weight: 600;
        text-align: center;
        padding: 12px 30px;
        text-decoration: none;
    }

    .submitbutton:hover {
        background-color: #fff;
        border: solid thin #88A93F;
        color: #88A93F !important;
      }

      /* Accordion block https://wordpress.org/plugins/accordion-blocks/*/
      
      .wp-block-pb-accordion-item h2.c-accordion__title {
        background: #000;
        color: #fff;
        font-family: proxima-nova, sans-serif;
        font-weight: 500;
        font-size: 1.375rem;
        line-height: 1.625rem;
        margin: 0 0 12px 0;
        padding: 16px 18px;
        border: none;
        outline: none;
        appearance: none;
        -moz-appearance: none;
        -webkit-appearance: none;
        position: relative;
    }
    @media screen and (max-width:576px) {
    .wp-block-pb-accordion-item h2.c-accordion__title {
      font-size: 15px;
  }
}  
    .wp-block-pb-accordion-item h2.c-accordion__title:hover {
            background: #88A93F;
          }
          
          .wp-block-pb-accordion-item h2.c-accordion__title:after {
            font-size: rem(20);
            color: #fff;
            display: inline-block;
            padding: 0 12px;
          }
          
          .wp-block-pb-accordion-item h2.c-accordion__title:before {
            display: inline-block;
            content: 'Avaa';
            line-height: 58px;
            height: 58px;
            position: absolute;
            top: 0;
            right: 44px;
          }
        
          .wp-block-pb-accordion-item .c-accordion__content {
          margin-bottom: 12px;
        }
        
        .wp-block-pb-accordion-item.is-open h2.c-accordion__title { /* accordion open */
          background: #88A93F;
          margin: 0;
        }
          
          .wp-block-pb-accordion-item.is-open h2.c-accordion__title:before {
            content: 'Sulje';
          }

          .wp-block-table table {
            border-collapse: collapse;
            margin-bottom: 12px;
            border-spacing: 0;
          }
            thead tr {
              color: #fff;
              background: #656561;
            }
            
            th {
              padding: 15px;
            }
            
            td {
              padding: 20px;
              border-right: solid 4px #fff;
              vertical-align: top;
                          
            }

            @media screen and (max-width:992px) {
              td {
              padding: 12px;
            }
            }

            td:last-child {
              border-right: none;
            }
            
            tbody tr:nth-child(odd) {
              background: #f5f5f5;
            }
          
            tbody tr:nth-child(even) {
              background: #fff;
            }
            
            tbody tr:nth-child(odd):last-child {
              border-bottom: solid 4px #fff;
            }

            .wp-block-table {
              background: #f5f5f5;
              padding: 20px;
          }
.wp-block-pb-accordion-item {
  font-size: 14px !important;
}

/* STYLING FOR rp4wp-related-posts PLUGIN */

.rp4wp-related-posts ul>li{
  list-style:none;
  padding:0;
  margin:0;
  padding-bottom:20px;
  clear:both;
   position: relative;
   display: inline-block;
   float: left;
   list-style: none;
   width: 31%;
   min-height: 20px;
   margin: 0 2% 10px 0;
   margin-left: 0px;
   cursor: pointer;
  text-align:center;
 }
 .rp4wp-related-posts ul>li::before {
     content: '';
     width: 100%;
 max-width: 112px;
 margin: auto;
     aspect-ratio: 4/3;
     margin-bottom: 15px;
     display: block;
     max-height: 110px;
   background: url('https://uusiouutiset.fi/wp-content/uploads/2017/08/uusiouutiset_valkoinen_480.png'), #137FAA;
 background-position: center;
     background-size: contain;
     background-repeat: no-repeat;
 }
 .rp4wp-related-posts ul>li:has(.rp4wp-related-post-image){
   padding-top: 0;
 }
 .rp4wp-related-posts ul>li:has(.rp4wp-related-post-image)::before {
    content: '';
   display: none;
 }
 
 .rp4wp-related-post-image img{
  aspect-ratio: 4/3;
   object-fit: cover;
   height: 120px;
 }
 
 .rp4wp-related-posts > h3 {font-size: 2em;
   font-weight: bold;
   margin: 0.8em 0;
 }
 .rp4wp-related-posts ul {
 display: flex;
   flex-wrap: wrap;
 }
 
 .rp4wp-related-post-content p {display:none;}
 
 
 @media only screen and (max-width: 740px) {
   .rp4wp-related-posts ul {
      flex-direction: column;
    }
  .rp4wp-related-posts ul>li{
    width: 100%;
  }
 }