/*
Theme Name: maaltidskassefinder
Theme URI: https://smartmag.theme-sphere.com/
Description: A child theme of SmartMag
Author: ThemeSphere
Author URI: https://theme-sphere.com
Template: smart-mag
Version: 1.1
*/

/* ========== Generel Styling ========== */

.wp-block-list {
	margin-left: var(--ul-ml, 0)!important;
}

.wp-block-button a {
	text-decoration: none!important;
}

.post-content a,
.main-content-container a {
	text-decoration: underline;
	color: #006600;
}

/* ========== Tekst og Headings ========== */

.top-h1 {
	text-align: center;
	font-size: 60px;
	margin-top: 30px;
	line-height: 1.2em;
}

.intro-text {
	text-align: center;
	font-size: 18px;
	margin: 20px auto 40px auto;
	max-width: 800px;
}

/* ========== Frontpage og Annoncer ========== */

.annonce-disclaimer {
	font-size: 14px;
	margin-top: 0!important;
}

.ad-disclaimerr {
	font-size: 13px;
	text-align: center;
	margin: 10px auto;
}

.ad-disclaimerr a {
	color: #666666;
}

.frontpage-blogroll a {
	color: #000000!important;
	text-decoration: none!important;
}

/* ========== Tilbudsbokse (offer-box) ========== */

.offer-box {
	border: 2px solid #009900;
	padding: 30px;
	box-shadow: 5px 5px 10px -3px #cccccc;
}

.offer-box p {
	text-align: center;
}

.offer-box a {
	background-color: #009900;
	border-radius: 30px;
	padding: 15px 20px;
	color: #fff;
	font-weight: bold;
	text-decoration: none!important;
}

.offer-box a:hover {
	background-color: #006600;
}

.offer-box-inner .wp-block-image {
	margin-top: 0!important;
	margin-bottom: 0!important;
	max-width: 180px;
}

/* ========== Top 3 liste ========== */

.top3-container {
	margin: 0 auto;
	max-width: 1040px;
}

.top3-container-element {
	padding: 0 20px 20px 20px;
	background-color: #ffffff;
	box-shadow: 5px 5px 10px -3px #cccccc;
	margin-bottom: 30px!important;
}

.top3-container-element p {
	text-align: center;
	font-size: 14px;
}

.top3-price-bonus {
	text-align: center;
	transform: translateY(-10px);
	background-color: #F8C037;
	color: #09224B;
	padding: 5px 10px;
	max-width: 90%;
	margin: auto;
	font-size: 15px;
	font-weight: bold;
}

.top3-logo {
	margin-top: 10px!important;
	margin-bottom: 20px!important;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.top3-logo img {
	max-height: 50px;
	max-width: 150px;
	width: auto;
	height: auto;
}

.top3-info {
	border-top: 1px solid #e9e9e9;
	padding: 10px 0 0 0!important;
	margin-bottom: 15px!important;
	text-align: center;
}

.top3-info-data {
	font-weight: bold;
	font-size: 24px!important;
	margin-bottom: 0!important;
}

.top3-additional-info {
	border-top: 1px solid #e9e9e9;
	border-bottom: 1px solid #e9e9e9;
	padding: 10px;
	text-align: center;
	margin-bottom: 0;
}

.top3-price-container {
	margin-bottom: 0!important;
}

.top3-price {
	font-size: 28px;
	font-weight: bold;
	text-align: center;
}

.top3-price-before {
	font-size: 28px;
	text-decoration: line-through;
	font-weight: normal;
	text-align: center;
	color: red;
}

.top3-button {
	text-align: center;
	margin-top: 0;
}

.top3-button a {
	display: inline-block;
	background-color: #009933!important;
	padding: 10px 25px;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	border-radius: 30px;
	width: 100%;
	box-shadow: 5px 5px 10px -3px #ccc;
	text-decoration: none;
}

.top3-button a:hover {
	background-color: #336633!important;
	transition-duration: .3s;
}

.top3-read-review a {
	color: #009933;
	font-size: 16px!important;
	text-decoration: none;
}

.top3-read-review a:hover {
	color: #336633;
}

/* ========== Indhold og Tekstlayout ========== */

.main-container {
	margin: 0 auto;
	background-color: #f1f1f1;
	padding: 20px;
}

.main-content-container {
	max-width: 840px;
	margin: 0 auto;
	padding: 20px;
	font-size: 18px;
}

.main-content-container p {
	font-size: inherit;
	margin-bottom: 21px;
}

.main-content-container h2 {
	margin: 40px auto 30px auto;
}

.main-content-container h3 {
	margin: 30px auto 20px auto;
}

.main-content-container ul li,
.main-content-container ol li {
	margin: 1.2em;
	list-style-type: disc;
	font-size: inherit;
}

.main-content-container-full-width {
	margin: 0 auto;
	background-color: #F3F3F3;
	padding: 20px 20px 40px 20px;
}

/* ========== Tabeller ========== */

.main-content-container table,
.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	border: none;
}

.wp-block-table table {
	border: 2px solid var(--c-main);
}

.wp-block-table th,
.wp-block-table thead,
.main-content-container th,
.main-content-container thead {
	background-color: var(--c-main);
	color: #ffffff;
	border: none!important;
	padding: 10px 20px;
	font-size: 16px;
}

.wp-block-table td,
.main-content-container td {
	border: none;
	padding: 20px;
	font-size: 16px;
}

.wp-block-table tr:nth-child(even),
.main-content-container tr:nth-child(even) {
	background-color: #ECF3EA;
}

.wp-block-table a {
	text-decoration: none;
}

/* ========== FAQ & Rank Math Styling ========== */

.rank-math-list-item {
	border: 2px solid #57AB68!important;
	background-color: #ffffff!important;
	border-radius: 5px;
}

.rank-math-question.faq-q-open {
	border-bottom: 1px solid #57AB68!important;
}

.rank-math-answer {
	border-bottom: none!important;
}

/* ========== Disclaimer-boks ========== */

.test-disclaimer {
	padding: 20px;
	background-color: #ebebeb;
}

.test-disclaimer h2 {
	margin-top: 0px!important;
}

/* ========== Responsiv Styling ========== */

@media (max-width: 767px) {
	.wp-block-table th,
	.wp-block-table thead {
		padding: 10px 5px;
	}

	.wp-block-table td {
		padding: 10px 5px;
		font-size: 14px;
	}

	.box-koebsraad {
		padding: 20px;
	}

	.box-koebsraad h2 {
		margin: 10px 0 20px 0;
	}

	.top-h1 {
		font-size: 30px;
		margin-top: 30px;
		margin-bottom: 20px;
		line-height: 1.2em;
	}

	.offer-box {
		padding: 20px 20px 30px 20px;
	}

	.offer-box a {
		font-size: 15px!important;
		padding: 15px!important;
	}
}
