/*
Theme Name: Ns2025
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1 {
	text-wrap: pretty;
	text-align: center;
}

h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}


.keski {
	text-align: center;
}

.post-date-ns2025 {
	font-size: 1.38rem;
}


/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}


.tcb-style-wrap strong {
	font-weight: bold;
}

.vk-logo {
	width:150px;
	display:block;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:10px
}

.leivanmuru {
    font-size: 0.9rem;
    margin-bottom: 1em;
}

.leivanmuru a {
    text-decoration: none;
    color: inherit;
}

.leivanmuru span {
    font-weight: 600;
}


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

.wp-block-post-content {
	padding-left: 50px;
	padding-right: 50px;
}
.wp-block-post-featured-image {
	width: 70%;
}

header .hmn {
    display: none;
}

header nav .sub-menu {
	border: 1px solid black;
}

header nav>ul.menu li.current-menu-item>a, header nav>ul.menu li.current_page_item>a, header nav ul#menu li.current-menu-item>a, header nav ul#menu li.current_page_item>a {
    color: #28cdfb;
}
header nav>ul>li.menu-item-has-children>a:after {
    content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='currentColor'><path d='M1.50002 4L6.00002 8L10.5 4' stroke-width='1.5'/></svg>");
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.3em;
}
header nav>ul>li.menu-item-has-children:hover>a:after {
    color: #0077a9;
}
header nav>ul>li>ul li.menu-item-has-children>a:after {
    content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='currentColor'><path d='M4 1.5 L8 6 L4 10.5' stroke-width='1.5'/></svg>");
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.3em;
	float:right;
}
header nav ul {
	margin-top:0px;
	margin-bottom:0px;
}
header nav ul li {
    display: inline-block;
    font-size: 1.05rem;
    padding: 0px 10px;
    position: relative;
}
header nav ul li a {
	text-decoration: none;
    color: #111111;
	font-weight:500;
    display: block;
}
header nav ul li a:hover {
    color: #0077a9;
}
header nav ul li>ul {
    box-shadow: 0 2px 4px -3px #000000;
    border: 1px solid #f0f0f0;
    display: none;
    margin-left: -100px;
    min-width: 200px;
    position: absolute;
    left: 50%;
    top: 30px;
    z-index: 4000;
}
header nav ul li>ul li {
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
    color: #fff;
    display: block;
    float: none;
    font-size: 0.85rem;
    position: relative;
    padding: 0px;
}
header nav ul li>ul li:first-child {
    border-top: none;
}
header nav ul li>ul li a {
    height: 40px;
    line-height: 40px;
    text-indent: 15px;
}
header nav ul li>ul li a:hover {
    background-color: #f6f6f6;
}
header nav ul li>ul li ul {
    top: -2px;
    left: 150%;
    width: 100%;
    z-index: 10000;
}
header nav ul li>ul li.menu-item-has-children>a:after {
   /* content: '\f0d7';
    color: #c2bdae;
    float: right;
    font-family: FontAwesome;
    font-size: 10px;
    margin-right: 15px;*/
}
header nav ul li>ul li.menu-item-has-children:hover>a:after {
    color: #0077a9;
}
header nav>ul>li {
    padding-bottom: 10px;
    padding-top: 10px;
}
header nav ul li>ul {
	top:30px;
	padding-left:0px;
}

header nav .menu .menu-item {
	font-weight:none;
	height: 100%;
	text-align:left;
}
header nav .menu .sub-menu .menu-item {
	background-color: #ffffff;
}
header nav > .menu .menu-item:hover {
	background-color: rgba(255,255,255,0.2);
}
header nav > .menu .sub-menu .menu-item:hover {
	background-color: #e0e0e0;
}
header nav ul.sub-menu li {
	padding-left: 5px;
}
header nav ul.sub-menu li a {
	display: block;
	height: auto;
	text-indent: initial;
	padding-left:15px;
}

/* nykyisen sivun linkin väri */
header nav>ul.menu li.current-menu-item>a, header nav>ul.menu li.current_page_item>a, header nav ul#menu li.current-menu-item>a, header nav ul#menu li.current_page_item>a {
	/*color: #a5a5d5;*/
	color: #000000;
}

/* haku-kenttä */
.vk_haku {
	position: absolute;
	top: 50px;
	right: 10px;
}

.portalbar {
	top:0;
	width:100%;
	height: 40px;
	background-color: #0077a9;
	padding: 0px;
	text-align: center;
	z-index: 1000;
	color: white;
	font-size: 15px;
}
.portalnavi {
	float:right;
	margin-top: 10px;
	margin-right: 20px;
}
.portallink {
	float:right;
	margin-left: 20px;
}
.portallink a{
	text-decoration: none;
	font-weight: normal;
}
.portallang {
	float: left;
	margin-left: 20px;
	margin-top: 10px;
	padding:2px;
}
.portallang a{
	text-decoration: none;
	font-weight: bold;
}
.vk_floating_button {
	float:right;
	margin-right: 10px;
	background-color: #e8ac62;
	border-radius: 0px;
	padding: 12px;
}

.vk_floating_button a{
	color: #000000;
	font-family: Roboto, sans-serif;
    font-size: 15px;
	text-decoration: none;
	font-weight: bold;
}

.ns_footer {
	width: 100%;
	background-color: #0077a9;
	color: white;
	padding-top: 20px;
	padding-bottom: 20px;
	
}

.ns_footer a {
	text-decoration: none;
}
.alapalkki {
	width: 100%;
	text-align: center;
	padding-top: 10px;
	padding-bottom: 10px;
}

.ns_footer_sarake {
	display: block;
	float: left;
	width: 33%;
	font-size: 15px;
	font-weight: normal;
}
.ns_footer_h {
	font-weight: bold;
	padding-bottom: 10px;
	width: 100%;
	text-align: left;
}
.ns_footer_vasen {
	text-align: left;
	padding: 20px;
}
.ns_footer_oikea {
	text-align: right;
	padding: 20px;
}
.ns_footer_oikea a{
}
.ns_footer_some_wrapper {
	width: 100%;
	text-align: left;
	padding-top: 10%;
}
.ns_footer_copyright {
}
.ns_footer_some {
}
.ns_footer_some img {
	height: 30px;
}


}@media only screen and (max-width: 774px) {
	
h1 {
	font-size: 30px !important;
}
	
header {
    position: relative;
}

header .hmn {

	position: absolute;
	top: 25px;
	right: 10px;
}
header .hmn .rmn {
}
header #nav_right {
    display: block;
    /*float: right;*/
    background: #E9E9E9;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    /*overflow-y: scroll;*/
    z-index: 101;
	color: #4e4e4e;
}
header #nav_right:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
header nav {
    box-sizing: border-box;
    clear: both;
    display: block;
    overflow: hidden;
    width: 100%;
	height: 100%;
    z-index: 10;
}
header nav>ul>li.menu-item-has-children>a:after {
    display: inline-block;
    vertical-align: middle;
    /*margin-left: 0.3em;*/
}
header nav .menu>li:first-child:before {
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #28cdfb transparent;
    content: '';
    display: block;
    height: 0px;
    position: absolute;
    right: 10px;
    top: -12px;
    width: 0px;
}
header nav ul {
    box-shadow: 0 4px 11px -9px #000000;
    display: block;
	list-style-type:none;
	padding-left:10px;
}
header nav ul li {
    /*background: #f9f9f9;*/
    display: block;
    float: left;
	width:100%;
    padding: 0px;
	text-align: left;
}
header nav ul li > ul li{
	float:left;
	width:100%;
}
header nav ul li:first-child {
    /*border-top: 2px solid #28cdfb;*/
}
header nav ul li a {
    box-sizing: border-box;
    border-top: 1px solid #dcdcdc;
	text-decoration: none;
    display: block;
    height: 36px;
    line-height: 36px;
    padding-left: 20px;
    width: 100%}
header nav ul li ul {
    width: 100%
	box-sizing: border-box;
    box-shadow: none;
    border: none;
    margin-left: 0px;
    position: static;
}
header nav ul li ul li ul {
	width: 100%
}
header nav ul li ul li a:before {
    /*content: '-';*/
    padding-right: 10px;
}
header nav ul li ul li.menu-item-has-children>a:after {
    content: '';
}

.entry-content {
	margin-left: 10px;
	margin-right: 10px;
}

.has-free {
    display: none !important;
}

.VK_plussign {
	float:right;
	box-sizing: border-box;
	border-top: 1px solid #dcdcdc;
	display: block;
	height: 36px;
	line-height: 36px;
	padding-left: 20px;
	width: 20%;
}

.VK_plussign:hover{
	background-color: rgb(240,240,240);
}
.VK_plussign:after {
	content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='currentColor'><path d='M1.50002 4L6.00002 8L10.5 4' stroke-width='1.5'/></svg>");
	color: #828282;
	font-weight: 300;
	font-size: 10px;
}
#nav_right .menu-item-has-children > a {
	float:left;
	width:80%;
}
.portalbar {
	display: block;
}
.portallang {
	display: none;
}
.portalnavi {
	display: none;
}
.vk_haku {
	display:none;
}
.vk_floating_button {
	position: absolute;
	top: 25px;
	left: 10px;
	height: 39px;
	background-color: #e8ac62;
	border-radius: 0px;
	padding: 9px 10px 0px;
	z-index: 1000;
}

.vk_floating_button a{
	color: #000000;
	font-family: Roboto, sans-serif;
    font-size: 14px;
	text-decoration: none;
	font-weight: bold;
}
.ns_footer {
	width: 100%;
	background-color: #0077a9;
	color: white;
	padding-top: 20px;
	padding-bottom: 20px;
}
.ns_footer_sarake {
	width: 100%;
	font-size: 15px;
	font-weight: normal;
}
.ns_footer_h {
	font-weight: bold;
	padding-bottom: 10px;
	width: 100%;
	text-align: center;
}
.ns_footer_vasen {
	text-align: center;
	padding: 0px;
}
.ns_footer_oikea {
	text-align: center;
	padding: 0px;
}
.ns_footer_oikea a{
}
.ns_footer_some_wrapper {
	width: 100%;
	text-align: left;
	padding-top: 10%;
}
.ns_footer_copyright {
}
.ns_footer_some {
	width: 100%;
	text-align: center;
	padding-top: 20px;
}
.ns_footer_some img {
	height: 20px;
}
}
