﻿/* Undeline links */
body .elementor p > a {
	text-decoration: underline;
	font-weight: 600;
	word-break: break-word;
}
body .wp-block-image figcaption > a {
	text-decoration: underline;
	font-weight: 600;
	word-break: break-word;
}
body h2 > p > a {
	text-decoration: underline!important;
	word-break: break-word;
}
body h3 > p > a {
	text-decoration: underline!important;
	word-break: break-word;
}
body h4 > p > a {
	text-decoration: underline!important;
	word-break: break-word;
}
.elementor li > p > a {
	text-decoration: underline!important;
	font-weight: 600;
	word-break: break-word;
}
main li > a {
	text-decoration: underline!important;
}


/* Liste margin bund fix */
ul {
	margin-bottom: 12px;
}

/* Block columns fix tablet */
@media (max-width: 782px) {
.wp-block-columns {

	flex-wrap: nowrap;
}
}
@media (max-width: 600px) {
.wp-block-columns {

	flex-wrap: wrap;
}
}


/* Gutenberg p with bg */
p.has-background {
	padding: 24px 36px 24px 36px;
}
@media screen and (max-width: 600px) {
	p.has-background {
	padding: 12px 12px 12px 12px;
}
}


/* Gutenberg Background */
.bred.has-background {
		padding: 48px;
}
@media screen and (max-width: 800px) {
.bred.has-background {
	padding: 12px 12px 12px 12px;
}
}
@media screen and (max-width: 600px) {
.bred.has-background {
	padding: 12px 12px 12px 12px;
}
}


/* Bred section Gutenberg */
@media screen and (min-width: 1240px) {
.bred {
	min-width: 880px;
	transform: translateX(-100px);
	margin: 48px 0px 48px 0px;
}
}
@media screen and (max-width: 1240px) {
.bred {
	min-width: 780px;
	transform: translateX(-50px);
	margin: 24px 0px 24px 0px;
}
}
/* Bred section Gutenberg disable mobile */
@media screen and (max-width: 890px) {
.bred {
	margin: 12px 0px 12px 0px;
	transform: translateX(0px);
	min-width: 100%;
}
}

/* Skub ned */
@media screen and (min-width: 600px) {
.skub-ned {
	padding-top: 48px;
}
}
/* Skub ned disable */
@media screen and (max-width: 600px) {
.skub-ned {
	padding-top: 0px;
}
}
/* Skub meget ned */
@media screen and (min-width: 600px) {
.skub-meget-ned  {
	padding-top: 96px;
}
}
/* Skub meget ned disable */
@media screen and (max-width: 600px) {
.skub-meget-ned {
	padding-top: 0px;
}
}

/* Table of contents */
.lwptoc_items {
	line-height: 1.4em;
	margin-left: 12px;
	margin-top: 6px;
}
@media screen and (max-width: 680px) {
.lwptoc_items {
	margin-left: 0px;
	margin-top: 6px;
}
.lwptoc {
    margin: 0px 0!important;
}
}
.lwptoc:first-child {
	margin-top: 0px!important; 
}
.lwptoc_header {
    margin-bottom: 0px!important;
}
.lwptoc_i {
    padding: 18px 18px 18px!important;
    text-align: left;
}

/* Justified text */
.justified-text {
	text-align: justify;
}

/* Gutenberg img block center */
.wp-block-image .aligncenter {
	margin: auto!important;	
}

/* Float left Gutenberg */
@media screen and (min-width: 1040px) {
.float-left {
	float: left;
	max-width: 50%;
	margin: 12px 36px 12px -100px;
}
}
@media screen and (max-width: 1240px) {
.float-left {
	float: left;
	max-width: 50%;
	margin: 12px 24px 12px -50px;
}
}
/* Float left tablet */
@media screen and (max-width: 890px) {
.float-left {
	float: left;
	max-width: 50%;
	margin: 12px 24px 12px 0px;
}
}
/* Float left disable mobile */
@media screen and (max-width: 600px) {
.float-left {
	float: left;
	max-width: 100%;
	margin: 0px 0px 12px 0px;
}
}

/* Float right Gutenberg */
@media screen and (min-width: 1040px) {
.float-right {
	float: right;
	max-width: 50%;
	margin: 12px -100px 24px 36px;
}
}
@media screen and (max-width: 1240px) {
.float-right{
	float: right;
	max-width: 50%;
	margin: 12px -75px 12px 24px;
}
}

/* Float right tablet */
@media screen and (max-width: 890px) {
.float-right {
	float: right;
	max-width: 50%;
	margin: 12px 0px 12px 24px;
}
}
/* Float right disable mobile */
@media screen and (max-width: 600px) {
.float-right {
	float: right;
	max-width: 100%;
	margin: 0px 0px 12px 0px;
}
}

/* Temp desk rec old recipes */
.half-rec {
    display: inline-flex;
}
.fw-rec {
	padding-bottom: 20px;
}

/* Blocksy width fix */
section.elementor-section.elementor-section-boxed>.elementor-container {
 width: initial !important;
}

/* Site title kursiv */
.site-title {
  font-style: italic;
}

/* Mobile recipe-ad fix */
#mboost-mr1 {
	width: 100vw!important;
	margin-left: -30px;
}
#mboost-mr2 {
	width: 100vw!important;
	margin-left: -30px;
}
#mboost-mr4 {
	width: 100vw!important;
	margin-left: -30px;
}

/* Header sidebar-ad fix */
#header {
	z-index: 1001;
}

/* WPRM wide width desktop */
.wprm-recipe-container {
    max-width: var(--wp--style--global--wide-size);
}