body {
	/*width: 100%;*/
  /*width: 99%;*/
  /*width: 99.86%;*/
  width: 100%;
}

#wrapper {
	width: 99% !important;
	margin-left: auto;
	margin-right: auto;
}

/* .resizecrop = 0 !important; */

#navigation_bar {

}

#header {
	margin-top: 70px;
}

.container {
	width: 90% !important;
}

.logo>h1 {
	font-family: 'Lato';
	font-size: 59px;
}

.selected {
    /*background-color: #ff5a00;*/
background-color: #D14900 !important;
}

.suodatus {
	margin: 30px 0px;
}

input[type=submit] {
	transition: all 0.15s;
}

input[type=submit]:hover {
    /*background-color: #ff5a00;*/
    transition: all 0.15s;
}

label {
	margin-top: 5px !important;
}

@media only screen and (max-width: 767) {
	.nlposts-wrapper {
		width: 310px;
	}

	.nlposts-block-item {
		margin-top: 30px;
	}
}

@media only screen and (min-width: 767) {
	.nlposts-wrapper {
		width: 620px;
	}
}

@media only screen and (min-width: 960) {
	.nlposts-wrapper {
		width: 930px;
	}
}

@media only screen and (min-width: 1240) {
	.nlposts-wrapper {
		width: 1240px;
	}
}

@media only screen and (min-width: 1550) {
	.nlposts-wrapper {
		width: 1550px;
	}
}

.nlposts-wrapper {
  align-items: center;
  justify-content: center !important;
}

.nlposts-block-container .nlposts-block-item {
	width: 350px !important;
	height: 420px;
}

.nlposts-block-thumbnail-litem-thumb:hover {

}

.nlposts-block-pagination span {
	padding: 1% 3%;
}

.nlposts-block-container .pagination li:first-child span {
	border-radius: 0 !important;
}

div.nlposts-block-pagination.pagination>ul>li {
}

.nlposts-block-container .pagination .current {
	border-radius: 0 !important;
	padding: 20px 25px !important;
	/*padding: 2% 3% !important;*/
}

.nlposts-block-container .pagination li a {
	border-radius: 0 !important;
	margin: 1%;
	padding: 0 !important;
	width: 70px !important;
	padding: 20px 25px !important;
	/*padding: 2% 3% !important;*/
}

.pagination>ul>li>a:hover {
	color: #fff;
	/*background-color: #ff5a00 !important;*/
	background-color: #D14900 !important;
}

#top_social {
	margin-top: 12px;
}

#top_social em {
	line-height: 25px !important;
}

#footer_social em {
	line-height: 25px !important;
}

.fa {
	width: 25px !important;
	height: 25px !important;
}

.footer_bottom {
	letter-spacing: 1px;
	color: #fff !important;
}

.footer_bottom p {
	margin-top: 20px;
}

.blogit-info {
	margin-left: auto;
	margin-right: auto;
	margin-top: 25px;
	margin-bottom: 25px;
	padding-left: 40px;
	padding-right: 40px;
	text-align: center;
	width: 35%;
	font-family: 'Lato';
	font-size: 16px;
	color: #747678;
	border-left: 5px solid #ff5a00;
	border-right: 5px solid #ff5a00;
	display: none; /* väliaikainen */
}

.blogit-info h3 {
	margin: 8px auto;
}

@media only screen and (min-width: 960) {
	.blogit-info {
		margin-left: auto;
		margin-right: auto;
		margin-top: 25px;
		margin-bottom: 25px;
		text-align: center;
		width: 40%;
		font-family: 'Lato';
		font-style: italic;
		font-size: 16px;
		color: #747678;
	}
}


/* korjataan jQuery puljaaminen */
.nlposts-block-container .nlposts-block-thumbnail-litem a > img {
  height: auto; 
  width: auto; 
  min-width: 100%;
  min-height: 209px;

}

.nlposts-block-title {
	font-family: 'Lato' !important;
	transition: 0.15s all;
	font-size: 20px !important;
}

.nlposts-block-title:hover {
	text-decoration: underline;
	transition: 0.15s all;
}

#previous {
	transition: 0.25s all;
	text-align: center;
	width: 120px !important;
	border-radius: 0 !important;
	color: #999 !important;
	background-color: #eee !important;
}

#previous:hover {
	transition: 0.25s all;
	background-color: #ff5a00 !important;
}

#previous:hover a {
	color: #fff !important;
}

#previous a:hover {
	background-color: transparent !important;
}


#top_social {
		display: none !important;
}

@media only screen and (min-width: 1025px) {
	#top_social {
		display: block !important;
	}	
}


.nlposts-block-meta a {
	transition: 0.25s all;
}

.nlposts-block-meta a:hover {
	transition: 0.25s all;
	color: #000 !important;
	text-decoration: underline;
}

.current-menu-item .current_page_item {
	color: #fff !important;
}

/* lukija sivun widget hässäkkää */
.widget .widget-picture a:hover {
	text-decoration: underline;
}

.footer-small-info {
	font-family: 'Lato', sans-serif; 
	float:left !important;
	color: #8C8C8C !important;
	width: 50%;
	padding-bottom: 50px;
	padding-left: 20px;
	margin-right: 0;
}

.footer-small-info p {
	font-style: italic;
	width: 80%;
	font-size: 14px;
}
.footer_bottom p{
        color: #8C8C8C !important;

}

.footer-extra-links {
	font-family: 'Lato', sans-serif;
        float: right !important;
	color: #fff;
	/*width: 40%;*/
	margin-right: 0;
}

.footer-extra-links p {
	font-style: normal;
	font-size: 14px;
	padding-right:20px; 
}

.footer-extra-links p a{
	color: #fff !important;	
        text-decoration:underline;
	margin-left:5px;
	
}


blockquote {
  
  border-left: 1px solid #fff !important;
  margin: 1.5em 10px !important;
  padding: 0.5em 10px !important;
  quotes: "\201C""\201D""\2018""\2019" !important;
}
/*
blockquote p{
color:blue !important;
}
*/

