/* --- Additional fixes 10.08.2016 onwards. These can be moved to other files later if necessary. --- */

body {
	color: #000;
	font-family: Arial, Helvetica, sans-serif;
}

.clear {
	display: block;
	width: 100%;
	clear: both;
}

/* --- Links --- */

a:focus,
a:hover,
a:visited:focus,
a:visited:hover {
	color: #59c7c7;
}

h1 a,
h1 a:link,
h1 a:visited,
h2 a,
h2 a:link,
h2 a:visited,
h3 a,
h3 a:link,
h3 a:visited,
h4 a,
h4 a:link,
h4 a:visited,
h5 a,
h5 a:link,
h5 a:visited,
h6 a,
h6 a:link,
h6 a:visited {
	color: #704f40;
}

#top-bar-menu .top-bar-right ul li a:hover {
	color: #704f40 !important;
}



/* --- Headings --- */

h1 {
	clear: both;
	font-size: 2.50rem;
	line-height: 2.50rem;
	margin-bottom: 1.00rem;
}

h1,
h2,
h3 {
	hyphens: auto;
	word-wrap: break-word;
}

article h2 {
	margin-top: 1.50rem;
}

p + h1,
ol + h1,
ul + h1,
h2 + h1 {
	margin-top: 1.50rem;
}



/* --- Blockquote --- */

blockquote {
	font-family: "Times New Roman", Times, serif;
	font-weight: normal;
	margin: 1.50rem 0;
	padding: 0 0 0 60px;
	position: relative;
}

blockquote::before {
	color: #704f40;
	content: url("../images/quote.jpg");
	left: 0;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 0;
2}

blockquote > p {
	font-family: "Times New Roman", Times, serif;
	font-weight: normal;
	margin-left: 0;
	font-size: 1.8rem;
}



/* --- Logo --- */

.logo-image {
	margin-left: 0;
	width: 180px;
}



/* --- Top links --- */

#top-topbar {
	padding: 0 20px !important;
}

/*
#menu-jasen-ylavalikko li a,
#top-topbar .top-bar-right .menu > li a {
	border-right: 1px solid #4c4e4e !important;
}
*/



/* --- Search --- */

.search-wrapper {
	margin: 35px 0px 30px 50px;
}



/* --- Main menu --- */

#top-bar-menu {
	padding: 27px 1.00rem 10px;
}

.top-bar .menu {
/*     margin: 38px 0 0 30px; */
	margin: 38px 0 0 0;
}

.top-bar .menu li a {
	font-weight: bold;
}

/* --- Frontpage grid --- */

.home .column,
.home .columns {
	padding-left: 0.9375rem;
	padding-right: 0.9375rem;
}

/*
.home #content > #inner-content {
	padding-left: 0 !important;
}
*/
@media only screen and (min-width: 30em) and (max-width: 64em) {
	.home .news-column {
		padding-right: 1rem !important;
	}
}

@media only screen and (min-width: 30em) and (max-width: 40em) {
	.home .news-column,
	.teema-articles-column {
		width: 50% !important;
	}
}

.home .news-column > div > article,
.home .news-column > article {
	width: 50%;
}

body.home .news-column > div > article,
.home .news-column > article {
	margin: 0;
}

.home #inner-content .main-column-right .columns .news-list {
	margin-left: 0;
	padding-right: 0.9375rem;
}

.home #inner-content .main-column-right .columns .news-list article {
	padding-left: 0.9375rem;
	padding-right: 0;
}

@media screen and (max-width: 63.9375em) {
	.home #inner-content .main-column-right .columns .news-list {
		margin-left: -0.9375rem;
		padding-right: 0;
	}
}



/* --- Grid corrections --- */

footer .column,
footer .columns {
	padding-left: 0.9375rem;
	padding-right: 0.9375rem;
}



/* --- Additions to grid --- */

@media screen and (max-width: 40em) {
	.xsmall-12 {
		width: 100%;
	}

	.xsmall-6 {
		width: 50%;
	}

	.xsmall-push-0 {
		left: 0%;
	}

	.xsmall-pull-0 {
		left: 0%;
	}
}



/* --- Frontpage DIF-teemat */

.home .q-box {
	height: auto;
	padding-bottom: 0.25rem;
}

.teemat-front-page {
	overflow: hidden;
	margin-bottom: 1rem;
	overflow: hidden;
}

.home .q-box .button {
	font-family: Arial, Helvetica, sans-serif;
	margin: 0 0 0 1rem;
	text-transform: uppercase;
}



/* --- What is DIF --- */

.what-is-dif {
	background-color: #59c7c7;
}

.what-is-dif.rale > span,
.what-is-dif h1 span {
	font-weight: normal;
	line-height: 1.20;
	padding: 25px 0.9375rem;
}

.what-is-dif .button {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.688rem;
	text-transform: uppercase;
}

.what-is-dif .button:hover {
	background-color: #59c7c7;
	color: #fff;
}



/* --- Frontpage blogs --- */

body.home .blogit {
	border-top: none;
}

.home .blogit .blog-list {
	padding-left: 16px;
}
@media only screen and (max-width: 54em) {
	.home .blogit .blog-list article {
		border: 0;
		min-height: 20em;
	}
}

@media only screen and (min-width: 30em) and (max-width: 40em) {
	.home .blogit .blog-list .xsmall-6 {
		width: 49.5% !important;
	}
}

body.home .blogit .blog-list article:first-of-type {
	border-top: 1px solid #d4d4d4
}

body.home .blogit article, body.category-blogit article {
	padding-right: 13px;
}

p.entry-date, p.entry-date a {
	/* font-family: "Times New Roman", Times, serif; */
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.813rem !important; /* 13px */
	font-weight: normal !important;
}

.blogit .post .entry-content p {
	color: #000;
	font-size: 0.938rem; /* 15px */
	line-height: 1.333;
}

article .text-column p {
	font-size: 0.938rem; /* 15px */
	line-height: 1.333;
}



/* --- Frontpage video --- */

.video-nosto-alue {
	float: right;
	overflow: hidden;
}

.video-nosto-alue .video-nosto-linkki {
	display: block;
	position: relative;
}

.video-nosto-alue .fa-5x {
	color: rgba(255,255,255,1);
	font-size: 2.50rem;
	left: 50%;
	margin-left: -1.25rem;
	margin-top: -1.25rem;
	right: 0;
	transition: 0.3s all;
	top: 50%;
}

.video-nosto-alue a:hover .fa {
	color: rgba(255,255,255,0.70);
}

.video-nosto-alue p {
	font-family: "Times New Roman", Times, serif;
	font-size: 1.125rem;
	line-height: 1.20;
}

.video-nosto-alue p:nth-of-type(2) {
	margin-bottom: 0;
	height: 100%;
}

.video-nosto-alue p a {
	color: #fff;
}

.video-nosto-alue p a:hover {
	color: #cce8e3;
}


/* --- Frontpage articles --- */

/*
.home .front-page-article {
	padding: 25px 32px;
}
*/

.home .teema article.yksi-palsta {
	background-color: #e2f1ef;
}

.home .teema article.yksi-palsta .article-content {
	padding: 1.3rem;
}

.home .teema article.yksi-palsta .article-content .teema-article-image {
	padding-left: 20px;
}

@media screen and (max-width: 40em) {
	.home .teema article.yksi-palsta .article-content .teema-article-image {
		padding-left: 0;
	}
}

.home .article-header h3,
.home .article-header h3 > a {
	font-family: Arial, Helvetica, sans-serif; 
	font-weight: bold;
}

.home .article-list.teema .article-header h3,
.home .article-list.teema .article-header h3 > a {
	font-size: 24px;
	color: #000;
	font-family: Arial, Helvetica, sans-serif; 
	font-weight: bold;
}

.home article .article-footer > *:last-child {
	margin-bottom: 0;
}

.home article .article-footer .tags {
	padding-bottom: 0;
}



/* --- Frontpage news --- */

.home h2.teemat-heading {
	margin-top: 0.5rem;
}

@media screen and (max-width: 29.9375em) {
	.home h2.ajankohtaista-heading {
		margin-top: 2rem;
	}
}

.home .news-column p.entry-date {
	margin-bottom: 1rem;
	min-height: auto;
}

.home .news-column article {
	background-color: transparent;
	margin-bottom: 1rem !important;
	padding: 0;
	padding-left: 0.9375rem;
	padding-right: 0.9375rem;
}

.home .news-column .news-list {
	margin-left: 0 !important;
}
@media screen and (min-width: 1024px) {
	.home .news-column .news-list {
		margin-left: 1rem !important;
	}
}
.home .news-column article {
	background-color: #59c7c7;
	padding: 0 !important;
}
.home .news-column article .article-wrapper {
	padding: 1.3rem;
}
.news-column p.entry-date {
	min-height: 3.20em;
}

.news-column p.entry-date,
.news-column p.entry-date a,
p.byline {
	/* font-family: "Times New Roman", Times, serif; */
	font-family: Arial, Helvetica, sans-serif;
}

.news-column article:not(.news-list-item) a:hover,
.news-column article:not(.news-list-item) p.tags a:hover {
	color: #fff !important;
}

article.news-list-item a:hover,
.news-column article p.tags a:hover {
	  color: #59c7c7 !important
}



/* --- All articles / blogs link --- */

.link-area > a:hover {
	color: #cce8e3;
}



/* --- Partners logos --- */

.kumppanit > h2 {
	font-size: 2.50rem;
}

.kumppanit > div {
	padding-left: 0.9375rem;
	padding-right: 0.9375rem;
}

.kumppanit > div > div {
	border: none;
	height: auto;
	margin: 0;
}

.kumppanit .logo-wrapper {
	border: 1px solid #d6d6d6;
	height: 132px;
	display: flex;
	align-items: center;
	padding: 0.5rem;
}

.kumppanit > div > div a {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.kumppanit > div > div a img {
	height: auto !important;
	margin-left: auto;
	margin-right: auto;
	max-height: 100px;
	width: auto !important;
}



/* --- Asiantuntijakumppanimme --- */

.archive .asiantuntijakumppani,
.archive .kumppani  {
	background-color: transparent !important;
	margin-bottom: 0.9375rem;
	padding: 0;
	padding-right: 0.9375rem;
}

.archive .asiantuntijakumppani .article-wrapper,
.archive .kumppani .article-wrapper {
	background: #cce8e3;
	padding: 25px;
}

.archive .asiantuntijakumppani .entry-content,
.archive .kumppani .entry-content {
	text-align: center;
}

.asiantuntijakumppani .helper,
.kumppani .helper {
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}

.archive .asiantuntijakumppani .entry-content a,
.archive .kumppani .entry-content a {
	display: inline-block;
}

.archive .asiantuntijakumppani .entry-content a img,
.archive .kumppani .entry-content a img {
	display: inline-block;
	height: auto !important;
	max-height: 100px;
	vertical-align: middle;
	width: auto !important;
}



/* --- Tags --- */

.article-footer {
	clear: both;
	margin: 1.00rem 0 0;
}

.news-column .tags-label {
	color: #fff;
}

p.tags,
.article-footer .tags-label,
.single .news-column article .article-footer > span.tags-title,
.single .news-column article .article-footer > span.tags-title a {
	/* font-family: "Times New Roman", Times, serif; */
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.813rem; /* 14px */
	font-weight: normal;
}

/*
.archive .news-column p.tags {
	color: #fff;
}
*/

p.tags a {
	font-size: 0.875rem; /* 14px */
}

p.tags a:hover,
article.category-teema-artikkelit p.tags a:hover,
article.category-teema-artikkelit p.tags a:visited:hover {
	color: #59c7c7 !important;
}

.front-page-article .article-footer p.tags a:hover {
	color: #59c7c7 !important;
}

.category-blogit .type-post .article-footer p.tags a,
.category-blogit .type-post .article-footer p.tags a:visited,
.single .type-post .article-footer p.tags a,
.single .type-post .article-footer p.tags a:visited {
	color: #704f40 !important;
}

.category-blogit .type-post .article-footer p.tags a:hover,
.category-blogit .type-post .article-footer p.tags a:visited:hover,
.single .type-post .article-footer p.tags a:hover,
.single .type-post .article-footer p.tags a:visited:hover {
	color: #59c7c7 !important;
}

.archive .news-column article:not(.news-list-item) p.tags a:hover {
	color: #cce8e3 !important;
}

.single .news-column article .article-footer > span.tags-title:after {
	content: ",";
}

.single .news-column article .article-footer > span:last-child:after {
	content: "";
}



/* --- Tag listing page --- */
/* --- Category post listing page --- */

/* .category-articles-list article .article-wrapper, */
.category-articles-list article.category-teema-artikkelit .article-wrapper,
.tag article.tag-listing .article-wrapper {
	background-color: #e2f1ef;
	margin-bottom: 0.9375rem;
	padding: 25px;
}

.archive.tag .column,
.archive.tag .columns {
	padding-left: 0;
}

.archive.tag .sidebar.columns {
	padding-left: 0.9375rem;
}

.archive.tag .blogit .post {
	padding-left: 0.9375rem;
}

.archive.tag .blogit .link-area {
	margin-left: 0.9375rem;
}

.archive.tag .news-column article.news-item {
	background-color: transparent;
	color: #000;
	margin-bottom: 1.00rem;
	padding: 0 1.00rem 0 0;
}

.archive.tag .news-column article.news-item .article-wrapper {
	background-color: #cce8e3;
	padding: 25px;
}

.archive.tag .news-column article.news-item h3 a {
	color: #59c7c7;
}

.archive.tag .news-column article.news-item p.entry-date,
.archive.tag .news-column article.news-item p.entry-date a {
	color: #000 !important;
}

.archive.tag .news-column article.news-item .button:hover {
	color: #fff !important;
}

.archive.tag .news-column article.news-item p.tags,
.archive.tag .news-column article.news-item .tags-title {
	color: #000;
}

.archive.tag .news-column article.news-item p.tags a {
	color: #000;
}



/* --- Buttons --- */

input[type="submit"] {
	background: #59c7c7;
	color: #fff;
	font-family: "Times New Roman", Times, serif;
	font-size: 1.250rem;
	font-weight: normal;
	padding: 1.00rem 2.00rem;
}

input[type="submit"]:hover,
input[type="submit"]:focus {
	background: #03839c;
	color: #fff;
}

.button {
	font-weight: bold;
	padding: 0.35em 0.50em;
}

.button.small {
	font-size: 0.688rem;
}

a.button,
a.button.tiny,
a.button.small,
body article p a.button.tiny,
body article p a.button.small,
body .blogit article p.tags a.button.tiny,
body .blogit article p.tags a.button.small {
	color: #060707 !important;
}

a.button:hover,
a.button.tiny:hover,
a.button.small:hover,
body article p a.button.tiny:hover,
body article p a.button.small:hover,
body .blogit article p.tags a.button.tiny:hover,
body .blogit article p.tags a.button.small:hover,
.news-column a.button:hover {
	color: #fff !important;
	text-decoration: none !important;
}

.news-column a.button:hover {
	background-color: #59c7c7;
}

.footer .button,
.footer a.button {
	color: #fff !important;
}

.button.brown {
	color: #fff !important;
}

.button.brown:hover {
	color: #cce8e3 !important;
}

.button.light:hover {
	background-color: #59c7c7;
}



/* --- Pagination --- */

.page-navigation {
	overflow: hidden;
}

.page-navigation .pagination {
	margin-top: 1.00rem;
}

.pagination .current {
	background: #00a1c1;
	color: #fff;
}



/* --- Frontpage banners --- */

.banneri-alue-1 a img {
	display: block;
	height: auto;
	margin: 0 auto;
	padding: 0 16px;
}

.banneri-alue-2:before,
.banneri-alue-2:after {
	border-top: 1px solid #d8d8d8;
	box-shadow: 0px 1px 0px #ececec;
	clear: both;
	content: "";
	display: block;
	margin: 0 0 20px;
}

.banneri-alue-2:after {
	border-bottom: 1px solid #d8d8d8;
	border-top: none;
	box-shadow: 0px 1px 0px #ececec;
	margin: 0;
	padding: 20px 0 0;
}

.banneri-alue-2 .banner-link {
	border: 1px solid #d6d6d6;
	display: flex;
	align-items: center;
	padding: 25px;

}

.banneri-alue-2 a img {
	display: block;
	height: auto;
	margin: 0 auto;
	max-width: 320px;
	width: 100%;
}



/* --- Twitter feed --- */

.twitter-feed-wrapper {
	background-color: #59c7c7;
	padding: 25px 22px 10px;
}

.simple-tweets {
	background-color: transparent;
	padding: 0;
}

.twitter-feed-wrapper h2,
.twitter-feed-wrapper h3 {
	color: #fff;
}

.twitter-wrapper a:hover,
.twitter-wrapper a:focus {
	color: #cce8e3;
}



/* --- Single post/article page --- */

.ingressi,
.ingressi p {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
}

.single article .entry-content img.wp-post-image {
	margin-bottom: 2rem;
}



/* --- Image caption --- */

.wp-caption,
.wp-caption p.wp-caption-text {
	font-size: 0.750rem;
	text-align: left;
}

.wp-caption img {
	display: block;
}

.wp-caption {
	background: none;
	padding: 0;
}

.wp-caption p.wp-caption-text {
	background: #cce8e3;
	margin: 0;
	padding: 15px 20px;
}

.ccfic {
	background: #cce8e3;
	font-size: 0.750rem;
	padding: 15px 20px;
	text-align: left;
}

.single article .entry-content img.wp-post-image + .ccfic {
	margin-bottom: 2.00rem;
	margin-top: -2.00rem;
}



/* --- Organization --- */

.person_wrapper {
	overflow: hidden;
}

.person_wrapper .column {
	margin-bottom: 30px;
	margin-top: 20px;
	text-align: center;
}

.person_wrapper .column:last-child:not(:first-child),
.person_wrapper .columns:last-child:not(:first-child) {
	float: left;
}

.person_wrapper img {
	border-radius: 50%;
	overflow: hidden;
}

.person_wrapper .grey-box {
	border-radius: 50%;
	height: 150px;
	overflow: hidden;
}



/* --- Members list --- */

#henkilojasenet li a {
	color: #59c7c7;
}

#henkilojasenet li a:hover {
	color: #59c7c7;
	text-decoration: underline;
}



/* --- Esityslistaus --- */

.esityslistaus .columns a {
	word-wrap: break-word;
}

.column:last-child:not(:first-child),
.columns:last-child:not(:first-child) {
	float: left;
}



/* --- Boardview magazine --- */

.boardview-lehti .boardview  img {
	max-width: 560px;
	width: 100%;
}



/* --- Tilaisuudet --- */

.post-type-archive-tilaisuudet article.event {
	margin-bottom: 0.9375rem;
	padding-left: 0;
	padding-right: 0.9375rem;
}

article.event .date-label {
    background: #e4f7fa;
    color: #020c0e;
    padding: 15px 25px;
}

article.event .article-content-wrapper {
	background-color: #cce8e3;
	overflow: hidden;
	padding: 25px;
	position: relative;
}

article.event .article-content-wrapper > *:first-child {
	margin-top: 0;
}

article.event .article-content-wrapper > *:last-child {
	margin-bottom: 0;
}

article.event .article-header h3 {
	margin: 1rem 0 1.00rem;
}

article.event .article-content {
	background-color: #cce8e3 !important;
}

article.event .entry-content {
	word-wrap: break-word;
}

article.event .entry-content .button:before {
	clear: both;
	content: "";
	display: block;
}

article.event .article-footer {
	margin: 0;
	padding: 25px;
}

article.event .event-time-info {
	margin: 0;
}

article.event .event-time-info .item {
	margin: 0 0 0.50rem;
}

article.event .event-time-info .venue {
	display: block;
	word-wrap: break-word;
}

article.event .article-footer > *:last-child,
article.event .event-time-info > *:last-child {
	margin-bottom: 0;
}

@media screen and (max-width: 600px) {
	.post-type-archive-tilaisuudet article.event {
		width: 100%;
	}
}


/* --- Single tilaisuus --- */

.single-tilaisuudet article.type-tilaisuudet .entry-content {
}

.single-tilaisuudet article.type-tilaisuudet .entry-content p {
	line-height: 1.40;
	margin-bottom: 1.00rem;
}



/* --- Share buttons --- */

body .addthis_toolbox {
	border-bottom: 1px solid #d4d4d4;
	border-top: 1px solid #d4d4d4;
	clear: both;
	margin: 20px 0 !important;
	padding: 20px 5px;
}



/* --- For logged in users box --- */

.notice-not-logged {
	margin: 1.50rem 0;
}



/* --- Related to article --- */

body .yarpp-related {
	padding-top: 3rem;
}

body .yarpp-related h3 {
	font-size: 2.00rem !important;
	font-weight: normal;
	line-height: 1.20rem !important;
	margin: 0 0 1.00rem !important;
}

body .yarpp-related h3 a {
	font-weight: bold;
}

/* --- Some very basic default styles for sidebar widgets */
.sidebar .widget {
	padding: 20px;
	margin-bottom: 0.9375rem;
	background-color: #f0e8d9;
}

.sidebar .widgettitle {
	font-size: 32px;
}

/* --- Category sidebar blocks, etc. --- */

.category-sidebar .menu,
.category-sidebar-2 .menu {
	margin-left: 0;
}

.category-sidebar .menu a,
.category-sidebar-2 .menu a {
	font-weight: normal;
}

.category-sidebar a:hover,
.category-sidebar-2 a:hover,
.tietopankki-sidebar a:hover,
.category-sidebar .menu-item > a:hover,
.category-sidebar-2 .menu-item > a:hover,
#menu-top-navigation-2 li.menu-item a:hover,
.sidebar-blue .menu-item > a:hover {
	color: #cce8e3 !important;
}

.page-nav-sidebar-secondary .menu .sub-menu .sub-menu li,
.teema-sidebar .menu .sub-menu .sub-menu li,
.teema-sidebar li li {
	margin-left: 25px;
}

.page-nav-sidebar-secondary .menu .sub-menu .sub-menu li ul,
.teema-sidebar ul ul {
	margin-left: 0;
}

.page-nav-sidebar-secondary .menu .sub-menu .sub-menu li li {
	margin-left: 25px;
}

.page-nav-sidebar-secondary > ul.menu > li {
	display: block;
}

/*#menu-top-navigation-2 > li.menu-item > a,*/
.page-nav-sidebar-secondary > ul.menu > li > a,
/* body #sidebar1 .teema-sidebar > ul.menu > li:first-child > a, */
.tietopankki-sidebar.tietopankki-linkki h2 {
	border-bottom: 1px solid #7ccfdf;
	font-size: 2.00rem !important;
	display: block;
	line-height: 1.20;
	margin: 0 0 17px !important;
	padding: 0 0 15px !important;
}

h2.sidebar-section-title {
	font-size: 2.00rem !important;
	display: block;
	line-height: 1.20;
	margin: 0 0 17px !important;
	padding: 0 0 15px !important;
}

.teema-sidebar .menu > li > a {
	display: inline;
}

.category-sidebar .menu .sub-menu,
.category-sidebar-2 .menu .sub-menu,
.teema-sidebar .menu .sub-menu {
	margin-left: 0;
}

.category-sidebar li.menu-item.current_page_item > a,
.category-sidebar-2 li.menu-item.current_page_item > a {
	font-size: inherit;
}
.category-sidebar h2 a {
	font-family: "Times New Roman", Times, serif;
	font-weight: normal;
}
.category-sidebar a,
.category-sidebar-2 a,
.tietopankki-sidebar a :not(h2) {
	font-family: Arial, Helvetica, sans-serif;}

.category-sidebar .current_page_item a,
.category-sidebar-2 .current_page_item a,
.tietopankki-sidebar a {
	border-bottom: 1px solid #7ccfdf;
	font-weight: normal;
}

.category-sidebar .menu .sub-menu a,
.category-sidebar-2 .menu .sub-menu a {
	border-bottom: none;
	font-size: 0.875rem; /* 14px */
	font-weight: normal;
	text-transform: uppercase;
}

.category-sidebar .sub-menu li.menu-item.current_page_item > a,
.category-sidebar-2 .sub-menu li.menu-item.current_page_item > a {
	font-size: 0.875rem; /* 14px */
}

.category-sidebar.blog-writer .writers a {
	font-size: 1.00rem;
}

.category-sidebar h2,
.category-sidebar-2 h3,
.blogin-sidebar h2,
.page-nav-sidebar .menu .sidebar-h2 {
	border-bottom: 1px solid #7ccfdf !important;
	font-weight: normal;
	padding: 0 0 0.50rem !important;
}

.category-sidebar h2,
.page-nav-sidebar .menu .sidebar-h2 {
	font-size: 2.00rem !important;
	line-height: 1.20 !important;
	margin: 0 0 17px !important;
	padding: 0 0 15px !important;
}

.page-nav-sidebar .menu .sidebar-h2 {
	margin-top: 0 !important;
}

.tietopankki-sidebar > h2 > a {
	text-decoration: none;
}

.category-sidebar,
.category-sidebar-2,
.avainhenkilot-sidebar,
.tietopankki-sidebar,
.blogin-sidebar,
.sidebar-blue {
	padding-bottom: 35px;
}

.tietopankki-sidebar.yritys-boksi {
	padding-bottom: 10px;
	padding-top: 35px;
}


/* --- Table of contents --- */

.sidebar #toc ul {
	margin-left: 0;
}

.toc-h2 {
	padding-left: 1.250rem;
}
.toc-h3 {
	padding-left: 2rem;
}


/* --- Tag cloud --- */

.widget_most_popular_tags_dif {
	padding-bottom: 35px;
}

.widget_most_popular_tags_dif h4 {
	font-weight: normal;
}

.widget_most_popular_tags_dif a {
	font-weight: normal;
}
.widget_most_popular_tags_dif a:hover {
	color: #59c7c7;
}

.wp-tag-cloud li,
.wp-tag-cloud li a {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
}



/* --- Tietopankki --- */

.uudet-syventavat p a,
.uudet-syventavat p a:visited {
	color: #59c7c7 !important;
}



/* --- Search results --- */

.search-results article p.tags a,
.search-results article p.tags a:visited {
	color: #444 !important;
}

.search-results article p.tags a:hover,
.search-results article p.tags a:visited:hover {
	color: #59c7c7 !important;
}



/* --- Footer --- */

.footer #inner-footer {
	padding: 50px 0;
}

.footer p {
	font-size: 0.938rem; /* 15px */
	line-height: 1.5;
}

.footer img {
	margin-bottom: 1.30rem;
	margin-top: 0;
}

.footer #inner-footer > .columns:nth-child(2) img {
	max-width: 120px;
}

.footer .some-icon {
	border-radius: 50%;
	display: inline-block;
	height: 30px;
	margin: 10px 10px 0 0;
	overflow: hidden;
	transition: 0.2s all;
	width: 30px;
}

.footer .some-icon:hover {
	background: #cce8e3;
}

.footer .menu {
	margin-bottom: 0;
	margin-top: 0;
}

.footer .menu li a {
	font-family: Arial, Helvetica, sans-serif;
	text-align: left;
}

.footer .menu li a:hover {
	color: #cce8e3 !important;
}

.footer .menu > li.menu-item > a,
.footer .menu > li.menu-item > a {
	border-bottom: 1px solid #fff;
	color: #fff;
	font-size: 1.00rem;
	font-weight: normal;
	margin: 5px 0;
	padding: 10px 30px !important;
}



/* --- Mobile menu --- */

.slicknav_nav .dropdown.menu.vertical > li.opens-right > a::after {
	content: '';
	display: none;
	width: 0;
	height: 0;
	border: inset 5px;
	border-color: transparent;
	border-left-style: solid;
	border-right-width: 0;
}

.slicknav_brand {
	margin: 0.9375rem;
	padding: 2px 12px 2px 0;
}

.slicknav_brand img {
	height: 3rem;
}

.slicknav_btn {
	margin: 1.25rem 0.9375rem 0.9375rem;
	padding: 0.438em 0 0.438em 0.625em;
}

.slicknav_menu {
	padding: 0;
}

.slicknav_nav {
	background: #333;
	padding: 0.9375rem;
}

.slicknav_nav ul {
	margin: 0;
}

.slicknav_nav ul ul {
	margin: 0;
}

.slicknav_nav .menu > li {
	display: block;
}

.slicknav_nav .slicknav_row:hover {
	background: transparent;
	border-radius: 0px;
	color: #fff;
}

.slicknav_nav .menu > li > a {
	background: #59c7c7;
	border: 2px solid #fff;
	border-radius: 0px;
	color: #fff !important;
	font-family: Arial, Helvetica, sans-serif;
	margin: 0 0 0.50rem !important;
	padding: 1.00rem !important;
}

.slicknav_nav .kirjautuneiden-menu .menu > li > a {
	background: #333;
}

.slicknav_nav .menu > li li > a {
	background: #cce8e3;
	color: #333 !important;
}

.slicknav_nav .menu > li > a:hover,
.slicknav_nav .menu > li > a:hover > a {
	background: #fff;
	color: #59c7c7 !important;
}

.slicknav_nav .menu > li.active > a,
.slicknav_nav .menu > li.active > a > a {
	background: #fff;
	color: #59c7c7 !important;
}

.slicknav_nav .menu li li a {
	padding-left: 2.00rem !important;
}

.slicknav_nav .menu li li li a {
	padding-left: 3.00rem !important;
}

.slicknav_nav .menu li li li li a {
	padding-left: 4.00rem !important;
}

.slicknav_nav .menu li li li li li a {
	padding-left: 5.00rem !important;
}

.slicknav_nav .is-accordion-submenu-parent > a::after {
	content: "";
	display: none;
}

.slicknav_nav .search-item {
	margin: 1rem 0;
}

.slicknav_nav .login-button {
	background-color: transparent !important;
}

.slicknav_nav .login-button a {
	display: block;
	width: 100%;
}



/* --- Back to top --- */

.gp-back-to-top span {
	-ms-transform: translateX(0%);
	text-align: center;
	width: 35px;
}


/* --- Share buttons --- */
.share-buttons {
	border-bottom: 1px solid #d4d4d4;
	border-top: 1px solid #d4d4d4;
	clear: both;
	margin: 20px 0 !important;
	padding: 30px 5px;
}
.share-buttons-title {
	color: black;
	display: inline-block;
	font-weight: bold;
	font-size: 16px;
	font-family: Arial, Helvetica, sans-serif;
	margin: 0 1em 0 0;
	text-shadow: 0;
	vertical-align: middle;
}
.share-buttons-icon-wrapper {
	display: inline-block;
	line-height: 1;
	height: 32px;
	width: 32px;
	border-radius: 50%;
	background-color: #704f40;
	position: relative;
	vertical-align: middle;
	margin: 0 0.25em 0 0;
}
.share-buttons-icon-wrapper-pdf {
	display: inline-block;
	line-height: 1;
	height: 32px;
	width: 32px;
	border-radius: 50%;
	position: relative;
	vertical-align: middle;
	margin: 0 0.25em 0 0;
}
.share-buttons-icon-wrapper svg {
	fill: #ffffff;
	width: 1em;
	height: 1em;
	line-height: 1;
	left: 50%;
	position: absolute;
	margin-left: -0.5em;
	top: 50%;
	margin-top: -0.5em;
}


/* --- Additional media queries --- */

/* Small screens */
@media only screen {
}

/* Small screens */ /* max-width 640px, mobile-only styles, use when QAing mobile issues */
@media only screen and (max-width: 40em) {

	h1 {
		font-size: 2.0rem;
		line-height: 2.0rem;
	}

	h2 {
		font-size: 1.50rem;
		line-height: 1.20;
	}

	.slide-title {
		font-size: 1.90rem;
		line-height: 1.20;
	}

	.slick-slider {
		background-image: none !important;
	}

	.home .medium-6,
	.home .medium-12 {
		width: 100%;
	}

	.home .blog-article .large-5  {
		text-align: center;
	}

	.home .avatar {
		float: none;
		margin-left: auto;
		margin-right: auto;
	}

	.home .medium-12 .attachment-teema-thumb {
		margin-top: 20px;
	}

	.share-buttons-2 {
		margin-top: 1em;
	}

}

/* Medium screens */ /* min-width 641px, medium screens */
@media only screen and (min-width: 40.063em) {
}

/* Medium screens */ /* min-width 641px and max-width 1024px, use when QAing tablet-only issues */
@media only screen and (min-width: 40.063em) and (max-width: 64em) {

	.slide-title {
		font-size: 2.0rem;
		line-height: 1.20;
	}

	.share-buttons-2 {
		margin-top: 1em;
	}

}

/* Large screens */ /* min-width 1025px, large screens */
@media only screen and (min-width: 64.063em) {
}

.newsletter-ecoda-container {
	padding-left: 1rem;
	padding-right: 1rem;
	margin-bottom: 1.5rem;
}

.front-page-newsletter, .front-page-ecoda,
.sidebar-newsletter, .sidebar-ecoda {
	background: #cce8e3;
	padding: 2rem !important;
}

.front-page-ecoda img,
.sidebar-ecoda img {
	max-width: 225px;
}

.front-page-ecoda,
.sidebar-ecoda {
	text-align: center;
}

.front-page-newsletter, .front-page-ecoda {
	margin-bottom: 1rem;
}

.sidebar-ecoda, .sidebar-newsletter, .sidebar-boardview {
	background: #ede2df;
	
}


.front-page-newsletter,
.sidebar-newsletter {
	background: #f7e4d2;
	/* background: rgba(245, 184, 128, 0.3); */
}

.home .sidebar-newsletter {
	background: transparent;
	padding: 0 0.5rem 0 0 !important;
	margin-top: 1rem;
}

.home .sidebar-newsletter__content {
	background: rgba(245, 184, 128, 0.3);
	padding: 1rem 1.5rem 1rem 1rem;
}

.home .sidebar-ecoda {
	background: transparent;
	padding: 0 0 0 0.5rem !important;
	margin-top: 1rem;
}

.home .sidebar-ecoda__content {
	background: rgba(112, 79, 64, 0.3);
	background-color: #e2f1ef;
	padding: 1rem;
	color: black!important;
}
.home .sidebar-ecoda__content h3{
	color: black!important;
}

@media screen and (max-width: 64em) {
	.home .sidebar-newsletter, .home .sidebar-ecoda {
		padding: 0 1rem !important;
	}
}

.home .news-list .thumbnail-container, .archive .thumbnail-container {
	height: 11rem;
	width: 100%;
	background-size: cover;
	background-position: center;
	margin-bottom: 1rem;
}



.sidebar-box {
	padding: 0.9rem;
}

.sidebar-boardview {
	padding: 2rem 1.5rem !important;
}

.newsletter-link {
	text-transform: uppercase;
	font-size: 0.8rem;
	display: block;
	text-align: right;
	color: black!important;
}

.newsletter-link:hover {
	text-decoration: underline;
}

#mc_embed_signup .button {
	background-color: #59c7c7 !important;
	background-color: rgba(112, 79, 64, 1)!important;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 0.8rem;
}

#mc_embed_signup .button:hover,
#mc_embed_signup .button:focus {
	background-color: #08bbde !important;
	background-color: rgba(112, 79, 64, 0.8)!important;
}

@media screen and (min-width: 40.063em) {
	.front-page-newsletter, .front-page-ecoda {
		width: 49%;
	}
	.front-page-ecoda {
		float: right !important;
	}
}

#mc_embed_signup input.email {
	width: 100% !important;
}

#mc_embed_signup input {
	border: none !important;
}


/* ---- Header addittions ---- */

@media screen and (min-width: 865px) {

	#menu-paavalikko-2 {
		margin-top: 1rem !important;
		margin-right: 0.5rem;
		margin-bottom: 1.1rem;
	}

	#top-bar-menu {
		padding: 1.5rem 1rem 0.5rem;
	}

	.search-wrapper {
		margin: 0.6rem 0.3rem;
	}

	#top-bar-menu .top-bar-right ul:not(.submenu) > li {
		padding-right: 0.4rem;
	}

	.dropdown.menu.medium-horizontal > li.is-dropdown-submenu-parent > a::after {
		border-color: #59c7c7 transparent transparent;
	}

}

@media screen and (min-width: 994px) {
	#menu-paavalikko-2 {
		margin-top: 2.5rem !important;
		margin-right: 0.2rem;
		margin-bottom: 0;
	}
}


.single-avainhenkilot .henkilon-kuva img {
	border-radius: 100%;
}

@media screen and (min-width: 1024px) {

	.home .twitter-wrapper {
		padding-right: 2rem;
	}

}

/* --- Restricted article info --- */

.restricted-article {
	text-align: center;
	padding: 3rem;
	position: relative;
	margin-top: -1rem;
	background: #fff;
}

.restricted-article:before {
	content: "";
	display: block;
	position: absolute;
	height: 96px;
	width: 100%;
	top: -96px;
	left: 0;
	background: rgba(255,255,255,0);
	background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #fff), color-stop(1, rgba(255,255,255,0)));
	background: -ms-linear-gradient(bottom, #fff, rgba(255,255,255,0));
	background: -moz-linear-gradient(center bottom, #fff 0, rgba(255,255,255,0) 100%);
}

.restricted-article img {
	width: 85px;
}

.restricted-article a {
	text-transform: uppercase;
	margin: 1rem 0.3rem 0;
}

.single-osa main > h1 { /* Fix strange h1 positioning */
	padding: 1rem 1rem 0.5rem 1rem;
}

.member-content-excerpt .readmore-btn {
	display: none;
}

.member-content-excerpt {
	padding: 0 1rem;
}

/* Ul styles for text widget */
.textwidget ul {
	margin-left: 2rem;
}

.textwidget ul li {
	list-style: disc;
}


/* Front Page styles */

.front-page-hero {
	background-size: cover;
	background-position: top center;
	min-height: 20rem;
	color: #fff;
}

.front-page-hero h1 {
	font-size: 2.4rem;
	color: #fff;
}

.front-page-hero h1, .front-page-hero p {
	text-shadow: 0px 2px 3px rgba(0,0,0,0.1);
}

.front-page-hero-inner {
	padding: 3rem 2rem !important;
	max-width: 55rem;
}

.front-page-hero-inner p {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.5rem;
	line-height: 1.4;
}

.front-page-hero-inner a {
	color: #fff;
}

@media screen and (max-width: 64em) {
	.front-page-hero h1 {
		font-size: 2.2rem;
	}

	.front-page-hero p {
		font-size: 1.2rem;
	}
}

/* --- Frontpage DIF-teema hero images */
.front-page-hero.dif-teema-2018-3 {
	background-color: #bfbeba;
}


.home .blog-list h2, .home .news-column h2, .home .article-list__title {
	border-bottom: 10px solid;
	margin-bottom: 1rem;
}

.article-list.teema .entry-date a {
	color: #000;
}

.article-list.teema .button {
	text-transform: uppercase;
}

.home .link-area {
	margin-bottom: 1.5rem;
}

.home .news-column {
	padding: 0 0.4rem 0 0;
}

.teemat-front-page {
	padding: 0 0.4rem 0 1rem;
}

.teemat-front-page .theme-list .q-box{
	font-family: "Times New Roman", Times, serif;
	font-weight: normal;
}
.teemat-front-page .q-box{
	font-family: Arial, Helvetica, sans-serif; 
}
.home .teema-articles-column {
	padding: 0 0 0 0.6rem;
}

.home .twitter-wrapper {
	padding: 0 2rem 0 0.6rem;
}

@media screen and (max-width: 64em) {
	.home .teema-articles-column, .home .news-column, .teemat-front-page, .home .twitter-wrapper {
		padding: 0;
	}
}

.blog-writer-single .avatar-wrapper{
  display: flex;
  flex-direction: column;
}
