﻿/*
Theme Name: Vaparit
Theme URI: https://vapaa-ajattelijat.fi
Description: 
Author: techwizard
Author URI: http://techwizard.fi/
Version: 0.5.4

License: GNU General Public License, Version 3 or later
License URI: http://www.gnu.org/licenses/gpl.html
--------------------------------------------- */
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html, body, h1, h2, h3, h4, h5, h6, p, img, ul, ol, li, form, fieldset {
	border: 0 none;
	margin: 0;
	padding: 0;
	list-style: none;
}

body {
	width: 100%;
	color: #303030;
	font-family: Arial, Sans-serif;
	font-size: 13px;
	line-height: 20px;
	background-color: #505050;
}
h1, h2, h3, h4, h5, h6 {
	font-family: Arial, Sans-serif;
	font-weight: normal;
	clear: both;
}
h1 {font-size: 24px; font-weight:bold;}
h2 {font-size: 22px;}
h3 {font-size: 20px;}
h4 {font-size: 18px;}
h5 {font-size: 16px;}
h6 {font-size: 14px;}



a {
	color: #F14F11;
	text-decoration: underline;
	cursor: pointer;
}
a:hover {color: #019192;}

.cf:after {
    clear: both;
    content: "";
    display: table;
}

/*----------------------------------------------
   Main Containers
-----------------------------------------------*/
#container {
	margin: 0 auto;
	box-shadow: 0 0 6px #000;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	background:#FFFFFF;
}

#top-bar {
    background-color: #222;
	border-bottom: 1px solid #000;
    padding: 4px;
	min-height: 32px;
	width: 100%;
}
#top-bar-info {float: left;}
#site-title, #site-description {
    display: inline-block;
	margin-right: 4px;
}
#site-title {font-size: 20px;}
#site-title a {color: #DC8300;}
#site-description {color: #CCC; font-size: 15px;}

#header {
	background-color: #FFF;
	background-position: center;
	width: 100%;
	height:85px;
}
#header-logo {display: inline-block;}
#header-logo, #header-logo img {
	width:400px;
	float: left;
	padding-top:5px;
}

#below-menu {width: 100%;}

#main {
	background-color: #F5F5F5;
	padding: 5px;
	width: 100%;
}

#content {
	display: inline-block;
	padding: 5px;
}

.sidebar {
	display: inline-block;
	float: left;
	padding: 5px;
}

#footer {width: 100%;}

#theme-page {
	float: right;
	margin: 6px 10px;
	font-family: Arial, Sans-serif;
	font-size: 15px;
}
#theme-page a {color: #CCC;}
#theme-page a:hover {color: #DC8300;}

/* No Sidebar */
#content.no-sidebars,
.col-c #content {width: 100%; max-width: 100%;}

/* 1 Sidebar - Left */
.col-sc #content {float: left;}

/* 1 Sidebar - Right */
.col-cs #content {float: left;}

/* 2 Sidebars - Left */
.col-ssc #content {float: right;}

/* 2 Sidebars - Right */
.col-css #content {float: left;}

/* 2 Sidebars - Left & Right */
.col-scs #sidebar-right {float: right; margin-left: -4px;}

.page-template-page-sc-php #main #content {float: right;}
.page-template-page-cs-php #main #content {float: left;}
.page-template-page-scs-php #main #content  {float: none;}
.page-template-page-scs-php #main #sidebar-left {float: left; margin-right: 0;}
.page-template-page-scs-php #main #sidebar-right {float: right; margin-left: -4px;}

/*----------------------------------------------
   Navigation Menus
-----------------------------------------------*/
#nav-main {
	background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.15) 100%);
	background-color: #F14F11;
	padding-left: 10px;
	width: 100%;
	z-index: 20;

}
#nav-main * {
	-moz-transition: all 0.14s ease-out; 
	-webkit-transition: all 0.14s ease-out; 
	-o-transition: all 0.14s ease-out;
	transition: all 0.14s ease-out;
}

#nav-main .nav-main {
	float: left;

}
#nav-main .nav-main li {
	float: left;
	position: relative;
}

#nav-main .nav-main > li,
#nav-main .nav-main > ul > .page_item {
}

#nav-main .nav-main > li > a,
#nav-main .nav-main > ul > .page_item > a {
	min-width: 80px;
	text-align: center;
}

#nav-main .nav-main li a {
	display: block;
	padding: 8px 14px;
	color: #FFF;
	font-family: Arial, Sans-serif;
	font-size: 16px;
	text-shadow: 0 0 2px #222;
}
#nav-main .nav-main li a:hover {
	background-color: #FFF;
	color: #000;
	text-shadow: none;
}

#nav-main .menu-item-has-children > a:after,
#nav-main .page_item_has_children > a:after {
	font-family: "Genericons";
	content: "\f431";
	vertical-align: top;
	padding-left: 4px;
}

#nav-main .sub-menu,
#nav-main .children {
	width: 180px;
	position: absolute;
	z-index: 30;
	display: none;
	box-shadow: 0 1px 4px #000;
}

#nav-main .sub-menu li,
#nav-main .children li {
	background-color:#019192;
}

#nav-main .sub-menu li:first-child,
#nav-main .children li:first-child {border-top: none;}
#nav-main .sub-menu li:last-child,
#nav-main .children li:last-child {border-bottom: none;}

#nav-main .sub-menu li a,
#nav-main .children li a {
	float: left;
	width: 178px;
	padding: 10px 14px;
	font-size: 15px;
}

#nav-main .sub-menu .sub-menu,
#nav-main .children .children {top: -1px;}

/* Display Sub-Menus */
#nav-main li:hover > ul {display: inline;}

/* Top Menu */
#nav-top {float: right;}
#nav-top .nav-top,
#nav-top .nav-top li {float: left;}
#nav-top .nav-top li a {
	display: block;
	padding: 0 18px;
	margin-top: 2px;
	color: #FFF;
	font-family: Arial, Sans-serif;
	font-size: 14px;
}

/*----------------------------------------------
   Content Elements
-----------------------------------------------*/
article, .author-info-box, .archive-info, .form-404 {
	background-color: #FFF;
	border: 1px solid #333;
	box-shadow: 0 0 2px #333;
    margin: 0 0 10px;
    padding: 10px;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}

.archive-title {color: #666;}
.archive-title span {color: #333;}
.archive-description {
    border-top: 2px dotted #888;
    margin-top: 8px;
    padding-top: 2px;
}

.form-404 h2 {
    border-bottom: 2px dotted #888;
    padding-bottom: 10px;
}
.form-404 p {margin: 4px 0 10px;}

.entry-header {margin-bottom: 4px;}
.entry-title a {color: #303030;}

.entry-author,
.entry-date,
.entry-categories,
.entry-comment-info {
	float: left;
	margin-right: 10px;
}

.entry-content h1, .entry-content h2, .entry-content h3, 
.entry-content h4, .entry-content h5, .entry-content h6, 
.comment-body h1, .comment-body h2, .comment-body h3, 
.comment-body h4, .comment-body h5, .comment-body h6 {
	margin-bottom: 4px; 
	margin-top: 8px;
	clear: none;
}

.entry-footer {clear: both;}
.entry-updated {
	font-size: 11px;
	color: #555;
}

.blog-view {border-top: 6px solid #2A5A8E;}
.blog-view.sticky {
	background-color: #FFDC8A;
	border-top: 6px solid #222;
}
.blog-view.sticky .entry-title:before {
	font-family: "Genericons";
	content: "\f308";
	vertical-align: top;
	padding-right: 4px;
	display: inline-block;
}

.blog-view .entry-content {
	padding-top: 4px;
	padding-bottom: 4px;
}

.blog-view .entry-content p {margin: 4px 0 10px;}

.entry-thumbnail {float: left; padding-right: 8px;}
.entry-thumbnail .post-thumbnail {
	display: table;
	background-color: #EEE;
	border: 1px solid #888;
	padding: 3px;
}
.entry-thumbnail img {
	float: left;
	width: auto;
	max-width: none;
}

.blog-view .entry-content .entry-excerpt p {margin: 0 0 4px;}

.continue-reading {
	background: #EEE;
	background: -moz-linear-gradient(top, #FBFBFB 0%, #E5E5E5 100%);
	background: -webkit-linear-gradient(top, #FBFBFB 0%, #E5E5E5 100%);
	background: linear-gradient(to bottom, #FBFBFB 0%, #E5E5E5 100%);
	display: inline-block;
	float: right;
	padding: 2px 10px;
	color: #555;
	border: 1px solid #CCC;
	border-radius: 4px;
}
article.sticky .continue-reading {border-color: #AAA;}
.continue-reading:hover {
	border-color: #AAA;
	color: #333;
}

.link-prev {float: left;}
.link-next {float: right;}

.blog-nav {padding: 4px 0;}
.blog-nav, .post-nav {margin-bottom: 10px;}

.blog-nav div[class*="link-"] a, .post-nav a {
	background-color: #FFF;
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid #333;
    box-shadow: 0 0 2px #333;
    color: #333;
}
.blog-nav div[class*="link-"] a:hover, .post-nav a:hover {
    color: #333;
}

.single-view .entry-title {line-height: 24px;}
.single-view .entry-byline {margin-bottom: 8px;}

.single-view.type-post .entry-content {
    font-family: Arial, Sans-serif;
    font-size: 14px;
    line-height: 21px;
}
.single-view.type-page .entry-content {
    font-family: Arial, Sans-serif;
    font-size: 14px;
    line-height: 21px;
}

.single-view.type-post .entry-content a,
.single-view.type-page .entry-content a {
	text-decoration: underline;
}

.type-attachment .entry-content div.attachment {
	margin-bottom: 10px;
	text-align: center;
}

.single-view .entry-content p, .comment-body p {
    margin: 4px 0 14px;
}

.page-nav, .comment-nav {
	display: block;
	padding: 2px 0;
	font-family: Arial, Sans-serif;
	font-size: 13px;
	line-height: 20px;
}

.page-nav > *, .comment-nav > * {
    background-color: #2A5A8E;
    color: #FFF;
    display: inline-block;
    padding: 2px 8px;
	border-radius: 3px;
}
.page-nav a:hover, .comment-nav a:hover {
	color: #FFF;
	text-decoration: underline;
}

/*-------------------------------------
   Post Elements
--------------------------------------*/
img[class*="align"], img[class*="wp-image-"], img[class*="attachment-"], .entry-content img, #comments img {
	max-width: 100%;
    height: auto;
}

embed, iframe, object, video {max-width: 100%;}

.wp-caption {max-width: 100%;}
.wp-caption img {
	width: 100%;
	max-width: 100%;
	background-color: #EEE;
	border: 1px solid #CCC;
	padding: 4px;
}
.wp-caption-text, .gallery-caption {
	font-size: 12px; 
	color: #555;
	padding: 0 4px;
	line-height: 1.6;
}
.wp-caption-text, .gallery-caption {margin: 0 !important;}
.wp-caption-text {margin-top: -2px !important; padding: 0 6px;}

.wp-smiley {width: auto !important;}

.alignnone {
	margin-top: 4px;
	margin-bottom: 4px;
}
.alignleft {
	display:inline;
	float:left;
	margin-top: 4px;
	margin-left: 0;
	margin-right: 8px;
	margin-bottom: 4px;
}
.alignright {
	display:inline;
	float:right;
	margin-top: 4px;
	margin-left: 8px;
	margin-right: 0;
	margin-bottom: 4px;
}
.aligncenter {
	display:block;
	clear: both;
	margin-top: 4px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 4px;
}

.gallery .gallery-item {
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
}
.gallery img {
    padding: 4px;
	display: inline-block;
	border: 1px solid #CCC !important;
}
.gallery img:hover {
	background-color: #DDD;
	border: 1px solid #AAA !important;
}

pre {
    background-color: #F0F0F0;
    border: 1px solid #AAA;
	margin: 8px 0;
    padding: 8px;
	overflow: auto;
	-ms-word-wrap: normal;
	word-wrap: normal;
	line-height: 20px;
}

blockquote {
	background-color: #EDEDED;
    border-left: 6px solid #687888;
    margin: 20px;
    padding: 10px 14px 4px;
	overflow: hidden;
}
blockquote p {font-style: italic;}
blockquote cite {
	float: right;
	margin-bottom: 8px;
	font-size: 13px;
	font-style: normal;
}
blockquote cite:before {content: "– ";}
blockquote cite:after {content: " –";}

address {margin-bottom: 10px;}

.entry-content dl, .comment dl {margin-left: 20px;}
.entry-content dt, .comment dt {margin: 8px 0 0; font-weight: bold;} 
.entry-content dd, .comment dd {margin: 0 0 10px;}

.entry-content table, .comment table {
    border-collapse: collapse;
	width: 98%;
	margin: 10px auto;
}
.entry-content th, .comment th {background-color: #C8CACD; font-weight: normal;}
.entry-content th, .entry-content td, .comment th, .comment td {
	border: 1px solid #555;
	padding: 8px 10px;
	text-align: left;
	font-size: 13px;
}

.entry-content ul, .entry-content ol, .comment ul, .comment ol {
	margin-top: 4px;
	margin-bottom: 8px;
	padding-left: 20px;
}
.entry-content ul ul, .entry-content ol ol, .comment ul ul, .comment ol ol {
	padding-left: 15px;
}
.entry-content li, .comment li {
	list-style-position: outside;
	list-style-type: disc;
	margin-top: 4px;
	margin-bottom: 4px;
	margin-left: 15px;
	margin-right: 0;
}
.entry-content ol > li, .comment ol > li {list-style-type: decimal;}
.entry-content ol li ol li, .comment ol li ol li {list-style-type: lower-alpha;}
.entry-content ol li ol li ol li, .comment ol li ol li ol li {list-style-type: lower-roman;}

.sitemap-template .entry-content h3 {margin-left: 10px;}
.sitemap-template .entry-content ul {margin: 8px 0 15px 10px;}
.sitemap-template .entry-content ul li {list-style: square inside;}

/*-------------------------------------
   Author Info Box
--------------------------------------*/
.author-info-box {padding: 0;}
.author-info-box .title {
	background-color: #2A5A8E;
    color: #FFF;
    padding: 4px 8px;
    text-shadow: 1px 1px 2px #222;
}
.author-info {
	background-color: #FFF;
	padding: 3px;
}
.author-avatar, .author-description{
    display: table-cell;
    padding: 5px;
    vertical-align: top;
}
.author-avatar img {display: block;}

.author-post-count {text-align: center;}

.author-latest-posts {
	background-color: #FFF;
	border: 1px solid #333;
	box-shadow: 0 0 2px #333;
	padding: 8px;
}
.author-latest-posts li {
    list-style: square inside;
	margin: 4px 0 4px 4px;
}

/*-------------------------------------
   Comments
--------------------------------------*/
#comment-header,
#respond,
.pingback .comment-body,
.trackback .comment-body,
.no-comments {
    background-color: #FFF;
    border: 1px solid #333;
    box-shadow: 0 0 2px #333;
    margin: 0 0 10px;
	padding: 8px;
}

#comment-header .title {display: inline-block; float: left;}
#comment-header .respond-link {display: inline-block; float: right;}
#comment-header .respond-link a {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    padding-left: 8px;
    padding-right: 8px;
}
#comment-header .respond-link a:hover {text-decoration: underline;}

#comments .children li {list-style: none;}

.comment-author-admin > .comment-body, .bypostauthor > .comment-body {border-top: 6px solid #2A5A8E;}

.comment-author {float: left;}

.comment-author .avatar, .comment-author .fn {
    float: left;
}

.comment-author .avatar {
    margin-left: -10px;
    margin-top: -10px;
}

.comment-author .fn {
    font-size: 14px;
    margin: 8px;
    word-wrap: break-word;
}

#comments .says {display: none;}

.comment-body .comment-awaiting-moderation {
	display: inline-block;
	float: right;
	margin: 0 8px;
	font-style: italic;
}

.comment-metadata {float: right;}
.comment-metadata a {color: #888;}

#comments .edit-link .comment-edit-link {
    background-color: #E0E0E0;
    color: #222;
    padding: 2px 8px;
}

.comment-content {
    clear: both;
	padding-top: 8px;
}

#comments .reply {
	margin-top: 8px;
	overflow: hidden;
}
#comments .reply .comment-reply-link {
	background-color: #2A5A8E;
	color: #FFF;
	display: inline-block;
	float: right;
    padding: 2px 10px;
}

.no-comments .genericon {
	font-size: 20px;
	color: #888;
}
.no-comments  h4 {
	display: inline-block;
	margin-left: 10px;
	color: #888;
}

#respond #reply-title {margin-bottom: 8px;}

#respond p {margin-top: 8px;}

#cancel-comment-reply-link {
	background-color: #F0F0F0;
	font-size: 16px;
	padding: 2px 8px;
}

.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
	margin-left: 2px;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
	display: block;
    border: 1px solid #555;
    box-shadow: 0 0 3px #888 inset;
}

.comment-form-comment label, .comment-form-comment textarea {display: block;}
.comment-form-comment {
    padding: 0 3px;
}
.comment-form-comment textarea {
	position: relative;
    border: 1px solid #555;
    box-shadow: 0 0 3px #555 inset;
    padding: 4px;
    width: 100%;
}

.form-submit #submit {padding: 5px 10px;}

.comment-navigation {margin-bottom: 10px;}

.page-numbers.current {cursor: default;}

#comment-area #disqus_thread {
    background-color: #FFF;
    border: 1px solid #333;
    box-shadow: 0 0 2px #333;
    padding: 10px;
}

/*----------------------------------------------
   Widgets
-----------------------------------------------*/

.widget-title {
    background-color: #019192;
    color: #FFFFFF;
    font-size: 18px;
    margin: -8px -8px 8px;
    padding: 4px 8px;
    text-transform: none;
}
.widget-title a {color: #FFF;}

.frontier-widget > ul {margin-bottom: 8px;}
.frontier-widget ul {padding: 0 4px;}
.frontier-widget ul li {padding: 4px 0; border-bottom: 1px solid #E0E0E0;}
.frontier-widget ul li ul {padding-left: 15px;}
.frontier-widget .children li:last-child {border-bottom: none;}
.frontier-widget select {max-width: 100%;}

.widget-body {display: inline-block;}
.widget-header {display: inline-block; float: left; margin: 0;}

.widget-header,
.widget-before-post,
.widget-before-post-content,
.widget-after-post-content,
.widget-after-post {
	background-color: transparent;
	border: none;
	box-shadow: none;
}

.widget-after-post {margin: 10px 0 0;}

.widget-footer {
	display: inline-block;
	float: left;
	margin: 0 0.5% 10px;
}

.widget-column-1 .widget-footer {width: auto; display: block; margin: 0 0 10px; float: none;}
.widget-column-2 .widget-footer {width: 48.98%;}
.widget-column-3 .widget-footer {width: 32.32%;}
.widget-column-4 .widget-footer {width: 23.98%;}
.widget-column-5 .widget-footer {width: 18.98%;}
.widget-column-6 .widget-footer {width: 15.65%;}

.widget-column-2 .widget-footer:nth-child(2n+1) {clear: left;}
.widget-column-3 .widget-footer:nth-child(3n+1) {clear: left;}
.widget-column-4 .widget-footer:nth-child(4n+1) {clear: left;}
.widget-column-5 .widget-footer:nth-child(5n+1) {clear: left;}
.widget-column-6 .widget-footer:nth-child(6n+1) {clear: left;}

#widgets-wrap-below-menu {
	background-color: rgba(0, 0, 0, 0.25);
	width: 100%;
	padding: 10px 10px 0;
}
#widgets-wrap-before-post,
#widgets-wrap-before-post-content,
#widgets-wrap-after-post-content,
#widgets-wrap-after-post {
	position: relative;
	clear: both;
}
#widgets-wrap-after-post {margin-top: 8px;}
#widgets-wrap-footer {
	background-color: rgba(0, 0, 0, 0.25);
	border-top: 1px solid #000;
	padding: 10px;
}

.frontier-widget .textwidget img {
	max-width: 100%;
    height: auto;
}

.frontier-widget .search-form label .screen-reader-text {
	margin: 2px 0;
}
.frontier-widget .search-form label .search-field {
    margin: 2px 2px 2px 0;
	background-color: #EEE;
	min-width: 40%;
	border: 1px solid #555;
	box-shadow: 0 0 2px #333 inset;
	padding: 3px;
}
.frontier-widget .search-form .search-submit {
    background-color: #2A5A8E;
	min-width: 20%;
    border: 1px solid #333;
    border-radius: 3px;
    box-shadow: 0 0 0 #333;
    color: #FFF;
    cursor: pointer;
	margin: 2px 0;
    padding: 3px;
}

#wp-calendar {
    background-color: #333;
	width: 100%;
	margin: 0 auto;
	border-spacing: 1px;
	text-align: center;
}
#wp-calendar caption {
	background-color: #2A5A8E;
    color: #FFF;
    padding: 4px;
}
#wp-calendar th {
	background-color: #E0E0E0;
    padding: 4px;
}
#wp-calendar td {
	background-color: #FFF;
	padding: 4px;
}

/*-------------------------------------
   Basic Slider
--------------------------------------*/
#slider {
    background-color: #FFF;
    border: 1px solid #333;
    box-shadow: 0 0 2px #333;
    display: block;
    overflow: hidden;
}
.slider-main {margin: 5px;}
.slider-content {margin-bottom: 10px;}

.bjqs {
	position: relative;
	padding: 0;
	margin: 0;
	overflow: hidden;
	display: none;
}
.bjqs-slide {position: absolute; display:none;}
.bjqs-slide a {display: block;}
.bjqs-slide img {display: block; margin: auto;}

.bjqs-controls {list-style: none; margin: 0; padding: 0; z-index: 9999;}
.bjqs-controls a {
	position: absolute;
	-webkit-transition: left 0.3s ease-in-out;
	-webkit-transition-property: left, right;
	-moz-transition: left 0.3s ease-in-out;
	-moz-transition-property: left, right;
	transition: left 0.3s ease-in-out;
	transition-property: left, right;
}
.bjqs-prev a {left: -50px;}
.bjqs-next a {right: -50px;}
.slider-prev {background-image: url('images/slider-prev.png');}
.slider-next {background-image: url('images/slider-next.png');}
.slider-prev, .slider-next {
	display: block;
	height: 32px;
	width: 38px;
}
#basic-slider:hover li.bjqs-next a {right: 10px;}
#basic-slider:hover li.bjqs-prev a {left: 10px;}

.slider-element {display: none;}

.bjqs-heading, .bjqs-descript {
	background-color: rgba(0, 0, 0, 0.65);
	color: #EEE;
	padding: 8px;
	width: 100%;
}
.bjqs-heading {
	position: absolute;
	top: 0;
	font-size: 16px;
}
.bjqs-descript {
	position: absolute;
	bottom: 0;
}

.page-template-page-c-php #basic-slider,
.page-template-page-sc-php #basic-slider,
.page-template-page-cs-php #basic-slider,
.page-template-page-scs-php #basic-slider {
	max-width: 100% !important;
}

/*-------------------------------------
   Extra
--------------------------------------*/
#wpadminbar {box-shadow: 0 0 3px #000;}

/* BBPress */
#content #bbpress-forums a {text-decoration: none;}
#bbpress-forums .avatar {min-height: 20px; min-width: 20px;}

#bbpress-forums .bbp-topic-permalink {
    color: #333;
    font-family: Arial, Sans-serif;
    font-size: 14px;
}
#bbpress-forums p.bbp-topic-meta {margin: 5px 0 0px; color: #888;}

#bbpress-forums .bbp-topics ul.topic {
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    border-top: 1px solid #CCC !important;
}

#content.no-sidebars #bbpress-forums .bbp-body .forum,
#content.no-sidebars #bbpress-forums .bbp-body .topic {
    padding: 8px 40px !important;
}

#bbpress-forums .forums .bbp-reply-content {
    padding: 10px 0 0;
}
#bbpress-forums .forums .bbp-body .topic, #bbpress-forums .forums .bbp-body .reply {
    padding: 0;
}

.bbp-pagination-links > * {
    background-color: #222;
    border: 1px solid #000 !important;
    color: #FFF;
    padding: 2px 8px !important;
}
.bbp-pagination-links .page-numbers.current {background-color: #444;}
.bbp-pagination-links > a:hover {
    background-color: #E0E0E0;
    color: #000;
    font-weight: bold;
}

/* added by a wizard */
#search-2 h4{
	display:none;
}
#search-2 {
	float:right;
	width:275px;
	padding-top:25px;
}
#search-2 .search-submit{
	float:right;
	background-color:#019192;
}
#search-2 label{
	display:inline-table;
}
#search-2 .search-field{
	width:200px;
}
#search-2 .screen-reader-text{
	display:none;
}
#bottom-bar-text {
	float: left;
	padding: 6px 8px;
	font-family: Arial, Sans-serif;
	height:30px;
}

#bottom-bar{
	margin:0.5%;
	padding-top:5px;
	padding-left:10px;
	width:99%;
	background-color:#019192;
	min-height: 34px;
	color: #FFF;
	text-shadow: 0 0 2px #000;
}

#bottom-bar a{
	color:#FFFFFF;
}

.current-menu-item, .current-page-item{
	background-color:#019192!important;
	color:#FFFFFF!important;
}
#vslider-widget-2{
	padding:0px!important;
	border:none;
	box-shadow:none;
}
#naamatcontainer{
	margin:0px!important;
}
#drop-in-image-slideshow .widget-title{
	display:none;
}

#sidebar-right{
	background-color:#F3F4F8!important;

}

#nav_menu-3{
}
.frontier-widget {
	color: #019192;
	font-size:18px;
	margin: 0 0 10px;
	padding: 8px;
}
.frontier-widget a:hover{
	color: #F14F11;
}
.frontier-widget:after {
    clear: both;
    content: "";
    display: table;
}
#menu-sivumenu a{
	display:block;
	background-image:url(images/icon-link.png);
	background-repeat:no-repeat;
	background-position:right center;
	background-size:20px 20px;
	width:100%;

}

#menu-sivumenu .menu-item{
	background-repeat:no-repeat;
	background-position:left center;
	background-size:35px 35px;
	padding-left:50px;
	padding-top:13px;
	height:45px;
	border-top: 2px solid #FFFFFF;
	border-bottom: 1px solid #DADFE5;
}
#menu-item-76{
	background-image:url(images/icon-liity.png);
}

#menu-item-74{
	background-image:url(images/icon-lausunnot.png);
}
#menu-item-2696{
	background-image:url(images/icon-projektit.png);
}
#menu-item-75{
	background-image:url(images/icon-kysy.png);
}

/*vapari uutissyöte*/
#vapari-posts{
	width:100%;
}
.vapari-post div,span,img{
}
.vapari-post{
	position:relative;
	width:100%;
	height:100px;
	border-top: 2px solid #FFFFFF;
	border-bottom: 1px solid #DADFE5;
}
#vapari-posts > :first-child {
	border-top: none;
	border-bottom: 1px solid #DADFE5;
}
#vapari-posts > :last-child { 
	border-top: 2px solid #FFFFFF;
	border-bottom: none;
}


.vapari-post-img{
	width: 75px;
	height:75px;
	margin:12.5px;
	background-position:center center;
	background-size:cover;
}

.vapari-cat_date{
	position:absolute;
	top:13px;
	left:100px;
	color: #019192;
}

.vapari-title{
	position:absolute;
	top:33px;
	left:100px;
	width:640px;
	color: #F14F11;
	font-weight: bold;
	font-size:20px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.vapari-excerpt{
	position:absolute;
	top:56px;
	left:100px;
	width:100%;
	max-width:650px;
	height:30px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #000000;
}

.paikallinen{
	display:block;
	width:500px!important;
}
.vapari-author{
	position:absolute;
	bottom:5px;
	left:100px;
	color: #F14F11;
	font-weight:bold;
}
.vapari-more{
	position:absolute;
	bottom:5px;
	right:5px;
	color: #019192;	
}
.vapari-more:hover{
	color: #F14F11;
}
.vapari-post-single div,span,img{
}
.vapari-post-single{
	position:relative;
	width:100%;
	background-color:#FFFFFF;
	padding:7px;
	box-shadow: 2px 2px 6px #000000;
	
}
.vapari-post-single h2,h1,h3{
	color:#F14F11;
	margin-top:0.5em;
	margin-bottom:0.5em;
}

.vapari-post-img-single{
	float:left;
	top:60px;
	left:10px;
	width:400px;
	height:250px;
	background-position:center center;
	background-size:cover;
	background-repeat:no-repeat;
}

.vapari-author_date-single{
	color: #019192;
	margin-bottom: 20px;
}

.vapari-title-single{
	top:10px;
	left:10px;
	color: #F14F11;
	font-weight:bold;
	font-size:30px;
	line-height:32px;
}

.vapari-excerpt-single{
	padding-left:20px;
	width:300px;
	height:250px;
	color: #000000;
	font-size:18px;
	font-weight:bold;
	font-style:italic;
    text-align: left;
    text-overflow: ellipsis;
    line-height: 25px;
    word-wrap: break-word;
    overflow: hidden;

}

.vapari-author-single{

}

.vapari-post-content-single{
	margin-top:20px;
	width:90%;
	font-size:16px;
	font-weight:normal;
	color: #000000;
	text-align: left;
}

.mt-panel{
	float:left;
	width:350px;
	height:250px;
    overflow: hidden;
	padding:10px;
	margin-left:25px;
	margin-bottom:10px;
	margin-top:15px;
	border: 3px solid #F14F11;
	background:#FFFFFF;
	border-radius: 10px 10px 10px 10px;
}

.mt-panel:hover{
	background:#F14F11;
}

.mt-img{
	width:90%;
	height:100px;
	background-position:center center;
	background-repeat:no-repeat;
	background-size:contain;
	margin:auto;
	
}
.mt-content{
	margin:10px;
	font-size:16px;
	text-align:centerM
}
.mt-content:hover{
	color:#FFFFFF;
}

.toimintapalkki{
	float:left;
	width:350px;
	height:300px;
    overflow: hidden;
	padding:10px;
	margin-left:15px;
	margin-bottom:10px;
	margin-top:15px;
	border: 3px solid #F14F11;
	background:#FFFFFF;
	border-radius: 10px 10px 10px 10px;
}

.toiminta-cat-img{
	width:90%;
	height:0px;
	background-position:center center;
	background-repeat:no-repeat;
	background-size:contain;
	margin:auto;
}

.toiminta-cat-desc{
	text-align:center;
	color: #F14F11;
	font-weight:bold;
	font-size:16px;
}

.toiminta-panel{
	border-top: 2px solid #019192;
	border-bottom: 1px solid #DADFE5;	
}

.toiminta-img{

}

.toiminta-title{

}

.toiminta-author_date{

}

.toiminta-excerpt{

}
/*#top-bar, #header,  #nav-main, #sidebar-right
{
	position:fixed;*
}*/

/*#content{!important
	height:600px!important;
	overflow-x:hidden!important;
	oveflow-y:scroll!important;
}*/
#vaparitoimintaa{
	height:600px!important;
	overflow-x:hidden!important;
	oveflow-y:scroll!important;
}
	
#em_calendar-2 .widget-title{
	background: #019192;
	text-shadow: none;
	text-align: center;
	width:100%;
	margin:0px;
}
.vapari-content{
	width:100%;
	background:#FFFFFF;
	padding:10px;
}
#sidebar-left{
	float:right;
	background:#FFFFFF;
}
.vapari-post-content-single li, .vapari-content li{
	list-style-image:url(images/li.png);
	margin-left:30px;
	margin-bottom: 0.25em;
}

.vapari-post-content-single p, .vapari-content p{
	margin-top:0.5em;
	line-height:1.3;
}

.vapari-post-content-single, .vapari-content{
	margin-bottom:30px;
}

#menu-sivumenu a{
	text-decoration:none;
}

#menu-sivumenu .menu-item:hover{
	background-color:#019192;
	color:white;
}

#nav-main a{
	text-decoration:none;
}

.va-lehti-palkki{
	float:left;
	width:233px;
	height:400px;
    overflow: hidden;
	padding:10px;
	margin-left:15px;
	margin-bottom:10px;
	margin-top:15px;
	border: 3px solid #F14F11;
	background:#FFFFFF;
	border-radius: 10px 10px 10px 10px;
	text-align:center;
}

.va-lehti-palkki a{
	text-decoration:none;
}
.va-lehti-title{
	font-size:18px;
	font-weight:bold;
	color:#019192;
}
.va-lehti-img{
	width:180px;
	height:250px;
	background-position:center;
	background-repeat:no-repeat;
	background-size:contain;
	margin:auto;
}

#va-lehti-nav{
	display:block;
	width:398px;
	height:30px;
}

#va-lehti-nav a{
	text-decoration:none;
	color:#FFFFFF;
}

.va-lehti-nav-button{
	display:table-cell;
	width: 133px;
	height:30px;
	text-align:center;
	padding-top:3px;
	border:3px solid #F5F5F5;
	background: #F14F11;
}
.va-lehti-nav-button:hover{
	background: #019192;
}

.va-lehti-img-single{
	float:left;
	top:60px;
	left:10px;
	width:400px;
	height:566px;
	background-position:center center;
	background-size:contain;
	background-repeat:no-repeat;
}

.va-lehti-exp-single{
	padding-left:20px;
	width:300px;
	height:250px;
	color: #000000;
	font-size:18px;
	font-weight:bold;
	font-style:italic;
    text-align: left;
    text-overflow: ellipsis;
    line-height: 25px;
    word-wrap: break-word;
    overflow: hidden;

}

#vapari-lehti-top{
	height:580px;
}
#apinalaatikko a{
	text-decoration:none;!important
}
#apinalaatikko .otsikko{
	font-size:18px;
	color:#FFFFFF;
	background:#F14F11;
	text-shadow:none;
	text-align:center;
	width:249px;
	padding:10px;
}

#apinalaatikko .nimi{
	font-size:18px;
	color:#00908f;
	text-align:left;
	width:249px;
	padding:5px;
}

#apinalaatikko .bio{
	font-size:16px;
	color:#000000;
	text-align:left;
	width:249px;
	padding-left:5px;
	padding-top:0px;	
	padding-right:5px;
	padding-bottom:0px;
}

#vapari-author-title{
	font-size:22px;
	color:#F14F11;
	font-weight:bold;
	text-shadow:none;
	padding:5px;		
}
.blogger-bio{
	font-size:16px;
}
.blogilista-title{
	font-size:16px;
	color:#FFFFFF;
	background:#00908f;
	text-shadow:none;
	text-align:center;
	width:100%;
	padding:5px;
	margin-top:25px;
}

.blogilista-blogger{
	width:49%;
	display:inline-block;
}

.blogilista-blogger a{
	text-decoration:none;!important
}

.blogilista-blogger:hover{
	background:#00908f;!important
	color:#ffffff;!important
}
.blogilista-nimi{
	color:black;
	font-weight:bold;
}

.blogilista-kuva{

}

.blogilista-bio{
	color:black;
	height:60px;
	overflow:hidden;
	text-overflow: ellipsis;
}

.viim_blogs{
	font-size:16px;
	color:#00908f;
	text-align:left;
	width:249px;
	padding:5px;
}

.vapari-article-title-sb{
	float:left;
	font-size:12px;
	width:190px;
	height:20px;
	text-align:left;
	white-space: nowrap;
	overflow:hidden;
	text-overflow: ellipsis;
	padding:0px;
	margin:0px;
	margin-bottom:5px;	
}
.vapari-article-date-sb{
	float:left;
	font-size:10px;
	color:#00908f;
	width:55px;
	height:20px;
	text-align:right;
	padding:0px;
	padding-top:2px;
	margin:0px;
	margin-bottom:5px;
}
#shiftnav-toggle-main{
	display:none;
}

.vaadimme-post-single{
	width:600px;
	min-height:700px;
}
div.vaadimme-vaatimus h3{
	color:#FFFFFF;
}

div.vaadimme-vaatimus blockquote{
	color:#019192!important;
	margin:10px;
	font-family:monospace;
	
}
.vapari-vaadimme{
	width:100%;
	color:#FFFFFF;
	font-size:20px;
	text-align:center;
	padding-top:5px;
	font-weight:bold;
	height:30px;
	background-color:#019192;
}
.vaadimme-left{
	display:inline-block;
	width:430px;
}


.vaadimme-title{
	color:#F14F11;
	font-size:24px;
	font-weight:bold;
	margin-top:10px;
	margin-bottom:10px;
	
}

.vaadimme-img{
	width:430px;
	height:300px;
	background-repeat:no-repeat;
	background-size:cover;
	margin-bottom:10px;

}

.vaadimme-content{
	font-size:16px;
}

.vaadimme-right{
	float:right;
	width:300px;
	background:
	margin-left:30px;
	background:#F14F11;
	padding:10px;
	margin:15px;
	box-shadow: 2px 2px 6px #000000;
}

.vaadimme-vaatimus{
	color: #FFFFFF;
	font-size:16px;
}

.vaadimme-sign{
	border-radius: 11px 11px 11px 11px;
	-moz-border-radius: 11px 11px 11px 11px;
	-webkit-border-radius: 11px 11px 11px 11px;
	background:#FFFFFF;
	border:3px solid #019192;
	padding:5px;
	height:138px;
	margin-top:10px;

}

.vaadimme-count{
	float:left;
	margin-left:5px;
	margin-top:5px;
	color: #019192;
	font-weight: bold;
	width:155px;
}
.vaadimme-button{
	border-radius: 11px 11px 11px 11px;
	-moz-border-radius: 11px 11px 11px 11px;
	-webkit-border-radius: 11px 11px 11px 11px;
	border:none;
	background:#019192;
	padding:5px;
	font-size:16px;
	font-weight:bold;
	color:#FFFFFF;
	float:right;
	margin-top:6px;
	margin-right:5px;

}

.vaadimme-name,
.paikkakunta-name,
.vaadimme-email{
	width:250px;
	font-size:16px;
	margin-left:5px;
	margin-top:5px;
}

.vaadimme-list-post{
	position:relative;
	background:#FFFFFF;
	border-bottom:1px solid gray;
	border-top:1px solid white;
	height:270px;
	padding-top:10px;
}
.vaadimme-list-post a{
	text-decoration:none;
}

.vaadimme-list-img{
	float:left;
	width:250px;
	height:250px;
	background-size:cover;
	background-repeat:no-repeat;
	margin-right:10px;
}

.vaadimme-list_date{
	color:#019192;
}

.vaadimme-list-title{
	font-size:24px;
	color:#F14F11;
	font-weight:bold;
}

div.fa_slide_content .vaadimme-ote h3, div.fa_slide_content .vaadimme-ote blockquote{
	display:none;
}
.vaadimme-list-excerpt h3{
	display:none;
}
.vaadimme-otsake{
	display:none;
}
div.fa_slide_content .vaadimme-otsake{
	position:absolute;
	right:0px;
	top:-60px;
	display:block;
	background:#019192;
	padding:5px;
	color:#FFFFFF;
	font-size:20px;
}

.vaadimme-list-excerpt blockquote{
	display:none;
}
.vaadimme-list-excerpt{
	color:#000000;
	font-size:16px;
}
.vaadimme-list-count{
	position:absolute;
	bottom:5px;
	left:270px;
	font-size: 16px;
	color:#019192;
	font-weight:bold;

}
.vaadimme-list-more{	
	position:absolute;
	bottom:5px;
	right:10px;
	font-size: 16px;
}
#thx_content{font-size:16px;}

/*Mobiiliteemaviritelmä*/
@media only screen and (max-width: 1000px) {

#top-bar{display:none;}
#search-2{display:none;}
#container{position:absolute; width:100%;}
#nav-main{display:none;}
#shiftnav-toggle-main{display:initial;}
#shiftnav-main{
		background-color:#F14F11;

}
#shiftnav-main a{
		color:#ffffff;!important
		font-size:14px;
		font-weight:bold;
}

#header{
	display:block;
	width:100%;
}
#header-logo img{
	width:100%;
}
#header-logo{
	display:block;
	width:100%;
}	margin:auto;
.vapari-post{width:240px;overflow:hidden;}
.vapari-title{width:200px;white-space: nowrap;overflow:hidden;text-overflow: ellipsis;}
.vapari-excerpt{width:200px;white-space: nowrap;overflow:hidden;text-overflow: ellipsis;}
}

#top-bar .fb-like{
	z-index:999;!important
	margin-left:50px;
	margin-top:10px;
	float:right;
	color:white;!important
}

/*#019192#F14F11*/

#jasenlomake{
	width:333px;
	background:#F14F11;
	padding:10px;
	border-radius: 11px 11px 11px 11px;
	-moz-border-radius: 11px 11px 11px 11px;
	-webkit-border-radius: 11px 11px 11px 11px;
	box-shadow: 2px 2px 6px #000000;

}

#jasenlomake input{
	border-radius: 6px 6px 6px 6px;
	-moz-border-radius: 6px 6px 6px 6px;
	-webkit-border-radius: 6px 6px 6px 6px;
}

#jasenlomake label, .jasLabel{
	color:#FFFFFF;
	font-weight:normal;
}

#jaseninfo{

	position:absolute;
	margin-top:33px;
	margin-left:33px;
	background:#019192;
	width:250px;
	height:480px;
	padding:10px;
	color:#FFFFFF;
	border-radius: 11px 11px 11px 11px;
	-moz-border-radius: 11px 11px 11px 11px;
	-webkit-border-radius: 11px 11px 11px 11px;
	box-shadow: 2px 2px 6px #000000;

}

#snd{
	background:#019192;
	color:#FFFFFF;
	font-size:18px;
	padding:5px;
	border-radius: 11px 11px 11px 11px!important;
	-moz-border-radius: 11px 11px 11px 11px;
	-webkit-border-radius: 11px 11px 11px 11px;
}
.vapari-event-date{
	margin-right:10px;
	font-size:20px;
	font-weight:bold;
	color: #019192;
}
.vapari-event-time{
	font-size:20px;
	font-weight:bold;
	color: #F14F11;
}
#cke_1_contents{ 
	background: #FFFFFF!important;
}


#vapari-event-coming, #vapari-event-gone{
	margin-top:15px;
	margin-bottom:5px;
	font-size:20px;
	font-weight:bold;
	color: #019192;
}
.fa_slide_content h2 a{
	font-size:22px;
	font-weight:bold;
	color:#F14F11!important;
}

.progress-bar{
	display:none!important;
}

.vaalitagi{
	background:url(images/vaalitagi.png);
	width:200px;
	height:40px;
	margin-bottom:7px;
	background-repeat:no-repeat;
	background-size:contain;
	border-radius: 3px;
	box-shadow: 0 1px 4px #000;
}

.ehdokasboxi{
	font-size:14px!important;
}

.eb_vaalipiiri{
	font-size:18px;
	font-weight:bold;
	color:#F14F12;
}

.eb_puolue{
	position:absolute;
	top:80px;
	right:0px;
	color:white;
	background:#666666;
	padding:0px 5px 0px 5px ;
	border-radius: 3px;
	box-shadow: 0 1px 4px #000;
	font-weight:bold;
	font-size:12px;
	height:17px;
}
.eb_tiedot{
	margin-bottom:7px;
	font-weight:normal;
}
.eb_sivu{
	margin-bottom:7px;
	border-radius: 3px;
	box-shadow: 0 1px 4px #000;
	font-weight:bold;
	position:absolute;
	bottom:0px;
	right:0px;
}

.eb_sivu a{	
	display:inline-block;
	text-decoration:none;
	color:white;
	background:#F14F12;
	padding:2px;
}

.eb_sivu a:hover{
	background:#019192;
}

.eb_teemat li{
	list-style-position: outside;
	list-style-type: disc;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 15px;
	margin-right: 0;
	font-weight:bold;
}

.vapari-excerpt-single .eb_puolue{
	top:125px;
	right:30px;
	font-size:12px!important;
	height:19px;

}

div.vapari-excerpt-single .eb_sivu{
	top:350px;
	right:30px;
	bottom:initial!important;
	font-size:13px;
}
