﻿/* Fede links */
.elementor p > a {
	text-decoration: underline!important;
}
.elementor p > a:hover {
	color: #999;
}

/* Menu dropdown padding */
[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu {
	padding-bottom: 3px;
	padding-top: 3px;
}

/* 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:first-child {
	margin-top: 0px!important; 
}
.lwptoc_header {
    margin-bottom: 0px!important;
}
.lwptoc_i {
    padding: 18px 18px 18px!important;
    text-align: left;
}

/* Grid images margin bottom */
[data-layout="grid"] .entry-card>*:not(:last-child) {
	margin-bottom: 6px;
}

/* Search result grid images margin top */
[data-layout="grid"] .entry-card>.ct-image-container+* {
	margin-top: 0px;
}

/* Related posts sectiontitle */
[data-prefix="single_blog_post"] .ct-related-posts .ct-block-title {
	font-size: 28px;
	margin-bottom: 20px;
}
/* Related posts posttitle */
.ct-related-posts .related-entry-title {
	font-size: 18px;
	margin: auto;
	text-align: center;
}
/* Related posts margin */
.ct-related-posts-items {
	grid-column-gap: var(--grid-columns-gap, 20px);
	grid-row-gap: var(--grid-columns-gap, 20px);
}

/* Kategoriside styling */
[data-archive=default][data-layout*=grid] .entry-card>*:not(:last-child) {
    margin-bottom: 0px;
}
[data-archive=default][data-layout*=grid] .entry-card>*:not(:last-child).entry-meta {
    margin-bottom: 6px;
}

/* Gutenberg galleri smal mellemrum */
	
/* Gutenberg media and text mellemrum ved text fix */
@media screen and (max-width: 600px) {
.wp-block-media-text .wp-block-media-text__content {
	padding: 20px 0px 0px 0px;
}
}
@media screen and (min-width: 600px) {
.wp-block-media-text .wp-block-media-text__content {
	padding: 10px 10px 10px 10px;
	vertical-align: top;
}
}
.wp-block-media-text {
	align-items: flex-start;
}
@media screen and (max-width: 600px) {
.wp-block-media-text__media {
	padding: 0px 0px 10px 0px;
}
}

/* Wide section Gutenberg */
@media screen and (min-width: 1200px) {
.alignwide {
	min-width: 960px;
	transform: translateX(-150px);
}
}
@media screen and (max-width: 1200px) {
.alignwide {
	min-width: 100%;
}
}

/* Træk til venstre */
@media screen and (min-width: 1350px) {
.venstreblok {
	margin-left: -150px;
}
}

/* Træk til højre */
@media screen and (min-width: 1350px) {
.hoejreblok {
	margin-right: -150px;
}
}

/* Forskudte billeder */
@media screen and (min-width: 600px) {
.wp-block-column:not(:first-child) {
    margin-left: 8px;
	  margin-right: 0px;
}
.wp-block-column:not(:last-child){
    margin-left: 0px;
	  margin-right: 8px;
}
.forskudt-op {
	padding-bottom: 50px;
}
.forskudt-ned {
	padding-top: 50px;
}
}
@media screen and (min-width: 600px) {
.skub-op {
margin-top: -50px!important;
	}
}

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

@media screen and (max-width: 600px) {
.wp-block-columns {
	flex-wrap: wrap;
}
}
.wp-block-image img {
	margin-bottom: 20px;
}

/* Annoncemarkering */
.spons {
  position: absolute;
    left: 0;
    bottom: 15px;
}

/* Bannere */
.bannervenstre {
    position: absolute;
    left: 10px;
    padding: 00;
    margin-top: 0; 
}
.bannerhoejre {
    position: absolute;
    right: 10px;
    padding: 00;
    margin-top: 0; 
}
/* Kategori bannere */
.katbannervenstre {
    position: absolute;
    left: 10px;
    padding: 00;
    margin-top: 0; 
}
.katbannerhoejre {
    position: absolute;
    right: 10px;
    padding: 00;
    margin-top: 0; 
}

/* Main content background */
@media screen and (min-width: 1020px) {
.main-content-background {
		max-width: 1000px;
		min-width: 1000px;
    margin: auto;
}
}
@media screen and (max-width: 1019px) {
.main-content-background {
		max-width: 100%;
		min-width: 100%;
    margin: auto;
}
}

	
/* Content ved sidebar banner */
@media screen and (min-width: 701px) {
.comment-content-banner {
		max-width: 680px;
    min-width: 680px;
    margin: auto;
}
.main-content-banner {
		max-width: 680px;
    min-width: 680px;
    margin: auto;
}
}
@media screen and (min-width: 1020px) {
.main-content-banner-wide {
		max-width: 980px;
		min-width: 980px;
		padding: 10px;
    margin: auto;
}
.main-content-banner-wide-innersection {
		max-width: 980px;
    min-width: 980px;
		padding: 10px;
    margin: auto;
}
}
@media screen and (max-width: 700px) {
.comment-content-banner {
    max-width: 100%!important;
		padding: 17px;
}
.main-content-banner {
    max-width: 100%!important;
		padding: 17px;
}
.main-content-banner-wide {
    max-width: 100%!important;
		padding: 17px;
}
.main-content-banner-wide-innersection {
    max-width: 100%!important;
		padding: 7px;
}
}