/*
Theme Name: Twenty Twenty-Four Child
Theme URI: http://example.com/twenty-twenty-four-child/
Description: Twenty Twenty-Four Child Theme
Author: Your Name
Author URI: http://example.com
Template: twentytwentyfour
Version: 1.0.0
Text Domain: twentytwentyfour-child
*/

.wp-block-site-logo img {
    /* height: 2.5em; */
}

@media (max-width: 429px){
	.wp-block-site-logo img {
		/* height: 1.8em; */
	}
}

.chatboks .wp-block-column:hover{
	outline: 2px solid #99002b;
	cursor: pointer;
}

.chatboks .wp-block-column a{
	text-decoration: none;
}

.logged-in .feide-knapp{
	display: none !important;
}

/*ny*/

/*forside*/
.forside-knapper li.wp-block-post {
    display: flex;
    background: #ffffff;
    flex-direction: row;
    /* width: 100%; */
    border: 2px solid #99002b;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    padding: 0.5rem;
}

.forside-knapper .wp-block-post-featured-image {
    width: 20%;
    margin: 0.5rem;
}

.forside-knapper img {
    height: 4rem !important;
    object-fit: fill !important;
}

.forside-knapper .wp-block-post-title {
    width: 80%;
    font-size: 1.5rem;
    margin: 1rem;
}

.forside-knapper ul.wp-block-post-template {
    margin: 1rem;
}

.forside-knapper ul.wp-block-post-template li a{
    width: 100%;
}

.forside-knapper ul.wp-block-post-template li:hover a{
    text-decoration: underline;
}

@media (max-width: 768px){
.forside-knapper .wp-block-post-title {
    font-size: 1rem;
}
    
}

@media (max-width: 440px){
header p.header-nafo {
    font-size: 0.6em !important;
}

.home .wp-block-kadence-posts article {
    margin: 0 1em;
}
}

/*WPML language switcher*/
[data-wpml="language-item"] a.wp-block-navigation-item__content {
    text-decoration: underline;
    text-underline-offset: 5px;
	/*color: #3c3c3c !important;*/
}

[data-wpml="language-item"] a.wp-block-navigation-item__content:hover {
    text-decoration: none;
}

[data-wpml="current-language-item"] {
    font-weight: bold;
	font-size: 1.2em;
}

/*toppmeny*/
.toppmeny .wp-block-navigation__responsive-container {
    margin-right: 0 !important;
}

.toppmeny span.wp-block-navigation-item__label {
    padding: 0.2rem 0.5rem;
}

.toppmeny a.wp-block-navigation-item__content {
    border: 2px solid white;
    border-radius: 2px;
}

.toppmeny a.wp-block-navigation-item__content:hover {
    background: white;
    color: #992b00;
}

.home main,
.page-id-1533 main{
	display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    /*background: #fff5ef;
    margin-top: 0;
    padding-top: 1.2rem;*/
}

.home h1,
.page-id-1533 h1{
	display: none;
}

.home .wp-block-kadence-posts article,
.page-id-1533 .wp-block-kadence-posts article{
	/*background: #ffcf9e;*/
	background: #ffe6e1;
    height: 100%;
    border: 3px solid #99002b;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.home .wp-block-kadence-posts article .entry-content-wrap{
	/*height: -webkit-fill-available;
    display: flex;
    align-items: center;
    justify-content: center;*/
}

.home .wp-block-kadence-posts article .entry-title,
.page-id-1533 .wp-block-kadence-posts article .entry-title{
    text-align: center;
	font-weight: bold;
}

.home .wp-block-kadence-posts a,
.page-id-1533 .wp-block-kadence-posts a{
	text-decoration: none;
    line-height: 1.5;
}

.home .wp-block-kadence-posts article:hover a,
.page-id-1533 .wp-block-kadence-posts article:hover a,
.home .wp-block-kadence-posts a:hover,
.page-id-1533 .wp-block-kadence-posts a:hover {
    text-decoration: underline;
	text-underline-offset: 10px;
}

.home .wp-block-kadence-posts .post-thumbnail{
    display: none !important;
}

.home .navigering-bar{
    display: flex;
    justify-content: center;
    padding: 1rem !important;
}

.home main{
    padding-top: 2rem !important;
}

.breadcrumbs{
	display: none;
}

body:not(.home) .breadcrumbs,
.iframe-bot .breadcrumbs{
    text-align: left;
    display: flex;
    max-width: 800px;
    margin: 0.1rem auto;
    align-items: center;
}

span.breadcrumbs-separator,
span.breadcrumbs-separator-hjem {
    display: inline-flex;
    align-items: center;
}

.breadcrumbs a {
    padding: 0.5em;
	text-underline-offset: 5px;
}

.iframe-bot .breadcrumbs-separator-hjem{
	display: none;
}

.iframe-bot h1.mal-h1,
.iframe-bot footer.wp-block-template-part,
.iframe-bot section#ki-bot-compact p:empty,
.iframe-bot section#ki-bot-compact+p:empty{
	display: none;
}

/*testing*/
.iframe-bot header,
.iframe-bot header {
	display: none;
}

.iframe-bot .breadcrumbs-hjem,
.iframe-bot .breadcrumbs-separator{
    /*display: none;*/
}

@media (max-width: 640px){
.navigering-bar{
    padding: 0 10px;
}

.navigering-bar *{
    font-size: 10px;
}

.nafoki-header{
	padding: 10px;
}

}

@media (max-width: 600px){
	.iframe-bot header.wp-block-template-part,
	.iframe-bot footer.wp-block-template-part{
		display: none;
	}

	/*.iframe-bot section#ki-bot-compact p:empty{
    	display: none;
	}*/

	/*.entry-content,
	section#ki-bot-compact{
		padding: 0;
	}*/
}

@media (max-width: 515px){
	.wp-block-site-logo {
		display: none;
	}
}

/*kladd side*/
.logged-in .wpml-language-switcher-block a[href*="?page_id="]:after {
    content: " [kladd]";
}

.gjem{
	display: none !important;
}