/*
Theme Name:     Webto Theme
Theme URI:      https://webto.dk
Template:       kadence
Author:         Webto
Author URI:     n/a
Description:    Child Theme Description
Version:        10.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

table.has-fixed-layout td {	border-color: #C4C3C3; }
table.has-fixed-layout tr:first-child td { background: #d3e1b9; font-weight: bold; }
table.has-fixed-layout tr:first-child > td { background: #d3e1b9; font-weight: bold; }
table.has-fixed-layout tr:first-child:has(td[rowspan], td[colspan]) + tr > td { background: #d3e1b9; font-weight: bold; }
table.has-fixed-layout tr:nth-child(odd) { background-color: #dddddd; }
.wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.wp-block-table table.has-fixed-layout { width: max-content; min-width: 100%; border-collapse: collapse; }
.wp-block-table td { white-space: nowrap; }
.wp-block-table td:first-child { white-space: normal; }
figure.wp-block-table {	margin: .25em 0; margin-bottom: 1em !important; }
.afgrode-grid-item, .afgrode-grid-item:hover { background-color: #d93b33; }
.afgrode-grid-item h2 { background: #ee4138; }
.afgrode-grid-item:hover h2 { text-decoration: underline; }
.afgrode-level-1 p.afgrode-excerpt, .afgrode-level-1 .article-link { display: none; }
.afgrode-grid.afgrode-level-2 {grid-template-columns: repeat(3, minmax(0, 1fr)); }
.afgrode-level-2 .afgrode-grid-item.afgrode-grid-item--post { background-color: #f9f9f9; padding: .5em 2em 2em }
.afgrode-level-2 .afgrode-grid-item.afgrode-grid-item--post h2 { padding: .5em 0; text-align: left !important; background-color: transparent; color: #000; font-weight: 700 !important; font-size: 28px !important; line-height: 1.5 !important; }
.afgrode-level-2 .afgrode-grid-item.afgrode-grid-item--post p.afgrode-excerpt { padding: .5em 0; text-align: left !important; background-color: transparent; color: #000; font-style: normal; font-weight: normal; font-size: 16px;	line-height: 1.75; }
.afgrode-level-2 .afgrode-grid-item.afgrode-grid-item--post a.article-link { font-style: normal; font-weight: 700; color: #000; padding: 0 1em; }
.single-content p.wp-block-kadence-advancedheading:not(.keep-margins) { margin-bottom: 0; }
.kb-table-of-content-list li { margin-bottom: 1em; }
.wp-theme-kadence .wp-block-kadence-tableofcontents.kb-table-of-content-nav .kb-table-of-content-wrap .kb-table-of-content-list { line-height: 1.5; } 
.wp-theme-kadence .wp-block-kadence-tableofcontents.kb-table-of-content-nav .kb-table-of-content-wrap .kb-table-of-content-list .kb-table-of-contents__entry { line-height: 1.5; }
.kb-table-of-content-list li::before { top: 3px; } 

@media print {
  	/* All your print styles go here */
  	header,
  	footer,
  	nav, 
  	#temasider,
  	.notonmyaccount {
		display: none !important;
  	}
	h1,h2,h3,h4,h5,h6,p,strong,a {
		color: #000 !important;
	}
  	.site-main button, .kt-has-2-columns .kb-section-is-sticky {
	  display: none !important;
	}
	.kt-row-column-wrap.kt-has-2-columns {
		grid-template-columns: 100% !important;
	}
}