/*
Theme Name: RHN - Custom Theme
Author: Rasmus Hultquist
Description: Mit personlige og simple tema
Version: 1.0
*/

* {
	font-family: 'Montserrat', sans-serif;
}

.flex {
	display: flex;
}

.jc-center {
	justify-content: center;
}

.jc-sb {
	justify-content: space-between;
}

.bold {
	font-weight: bold !important;
}

.copyright_area {
	margin: 20px 0;
}

.overflow-auto {
	overflow: auto;
}

h1, .h1 {
	font-size: 3rem !important;
}

h2, .h2 {
	font-size: 2.4rem !important;
}

p {
	font-size: 1.8rem;
}

a {
	color: #121212 !important;
	font-weight: bold;
	font-size: 1.5rem;
	transition: ease-in-out 0.2s;
	position: relative;
}

a:hover {
	color: #121212 !important;
	text-decoration: none !important;
	transform: translate(0, -2px);
}

footer {
	background: #F5F5F5;
	padding: 40px 0;
}

footer ul {
	padding-left: 0;
}

footer li {
	list-style-type: none;
	margin: 15px 0;
}

.footer_info_div a {
	font-weight: normal !important;
}

.footer_info_title {
	font-weight: bold;
	font-size: 1.8rem;
}

.footer-links {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

header form {
	order: 3;
	margin-top: 20px;
	display: none;
}

header input[type="text"], footer input[type="text"] {
	width: 100%;
	padding: 10px 10px 10px 50px;
	border-radius: 8px;
	border: 2px solid #121212 !important;
	outline: 0;
}

header input[type="submit"], footer input[type="submit"] {
	border: none;
	position: absolute;
	right: 0;
	top: 50%;
	height: 100%;
	transform: translate(0, -50%);
	padding: 0 20px;
	background: #121212;
	color: #fff;
	border-radius: 0 8px 8px 0;
}

.search-icon {
	position: absolute;
	left: 0;
	top: 50%;
	height: 50%;
	width: auto;
	transform: translate(15px,-50%);
}

.clb {
	clear: both;
}

.relative {
	position: relative;
}

.absolute {
	position: absolute;
}

.intro-area {
	padding-top: 20px;
}

.content-area {
	max-width: 100%;
	width: 800px;
	margin: 40px auto;
}

.discount-label a {
	color: #D90225 !important;
}

.left-mob-0 {
	left: 0 !important;
}

.shadow-overlay {
	position: relative;
	overflow: hidden;
}

.shadow-overlay::after {
	height: 100%;
	width: 100%;
	background: #121212;
	opacity: 0.4;
	z-index: 1;
	content: "";
	position: absolute;
	left: 0;
	top: 0;
}

.row {
	margin: 0 !important;
	padding: 0 15px;
}

.main-navigation {
	transition: ease-in-out 0.2s;
	position: fixed;
	left: -100%;
	height: 100%;
	top: 0;
	padding-top: 75px;
	background: #121212;
}

.main-navigation a {
	color: #fff !important;
}

.main-navigation .discount-label a {
	color: #D90225 !important;
}

.top-nav-area {
	display: grid;
}

.nav-and-menu {
	justify-content: space-between;
}

.cm-site-logo {
	text-align: center;
}

.cm-site-logo a {
	font-size: 7rem;
	font-family: cursive;
}

.website-title {
	margin-top: 10px;
}

.fp-products {
	display: grid;
	grid-template-areas:
		'one one one one one one'
		'two two two three three three'
		'four four four four four four'
		'five five five six six six';
	gap: 10px;
}

.fp-products a {
	color: #fff !important;
	font-size: 2rem;
}

.fp-product-item:nth-child(1) {
	grid-area: one;
}

.fp-product-item:nth-child(2) {
	grid-area: two;
}

.fp-product-item:nth-child(3) {
	grid-area: three;
}

.fp-product-item:nth-child(4) {
	grid-area: four;
}

.fp-product-item:nth-child(5) {
	grid-area: five;
}

.fp-product-item:nth-child(6) {
	grid-area: six;
}

.fp-product {
	position: relative;
	transition: ease-in-out 0.2s;
}

.fp-product:hover {
	transform: translate(0,-2px);
}

.fp-product::after {
	position: absolute;
	content: "";
	background: #000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.4;
}

.fp-product img {
	width: 100%;
	height: auto;
}

.fp-product-title {
	transform: translate(-50%, -50%);
	left: 50%;
	top: 50%;
	z-index: 1;
}

.mob-nav-open {
	position: relative;
	top: 15px;
	z-index: 3;
	height: fit-content;
	cursor: pointer;
	width: 25%;
}

.mob-nav-open div {
	background: #121212;
	width: 50px;
	height: 5px;
	margin: 5px 0;
	transition: ease-in-out 0.2s;
	border-radius: 20px;
	box-shadow: 0 0 1px 0px #121212;

}

.mob-nav-active {
	background: #fff !important;
	z-index: 1;
	position: relative;
}

.mob-nav-active:nth-child(1) {
	transform: rotate(45deg);
	position: relative;
	top: 11px;
}

.mob-nav-active:nth-child(2) {
	transform: rotate(-45deg);
	position: relative;
	left: -1px;
	top: 1px;
}

.mob-nav-active:nth-child(3) {
	display: none;
}

.open-mob-nav {
	width: 300px;
	z-index: 2;
}

.menu-navmenu-container li {
	list-style-type: none;
}

body.mob-menu-open {
	overflow: hidden;
}

.sidebar-produtpages {
	display: flex;
	gap: 20px;
	width: max-content;
	padding: 20px 0;
}

.sidebar-produtpages a {
	font-weight: normal;
}

.products {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 20px 0;
	position: relative;
}

.products.product-filter-applied {
	top: 50px;
}

.product {
	transition: ease-in-out 0.2s;
}

.product:hover {
	transform: translate(0,-2px);
}

.product.discount {
	position: relative;
}

.discount-price {
	color: #D90225;
}

.product.discount::after {
	position: absolute;
	content: "Tilbud";
	left: 10px;
	top: 10px;
	background: #121212;
	padding: 2px 5px;
	color: #fff;
	font-size: 1rem;
}

.product.discount .product-price {
	color: #757575;
	text-decoration: line-through;
	font-weight: normal;
}

.product.discount .product-newprice {
	color: #D90225;
}

.product-img {
	background: #F5F5F5;
	border-radius: 8px;
	padding: 20px;
	text-align: center;
	margin: 0 0 10px;
}

.product img {
	max-width: 100%;
	height: auto;
}

.product-title {
	font-weight: normal;
	font-family: fantasy;
	font-size: 1rem;
}

.product-prices {
	display: flex;
	gap: 10px;
}

.blog-overview {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin: 40px auto;
}

.blog-overview img {
	width: 100%;
	height: auto;
	margin-bottom: 20px;
	border-radius: 6px;
	box-shadow: 0 0 13px 0px #a2a2a2;
}

p.blogpost-author-meta {
	font-size: 14px;
	color: #8e8a87;
	font-weight: 900;
	letter-spacing: 3px;
}

.blogpost-author-meta a {
	text-transform: uppercase;
	color: #8e8a87 !important;
	font-weight: 900;
	transition: ease-in-out 0.2s;
	position: relative;
}

.cm-blogpost-title {
	color: #121212;
	font-size: 1.8rem;
	letter-spacing: 2px;
}

.some-links {
	position: relative;
	top: 5px;
	justify-content: end;
}

.some-link {
	width: 30px;
	height: 20px;
	margin: 14px 0 14px 5px;
}

.some-link img {
	width: 100%;
	height: auto;
}

.open-search-icon {
	cursor: pointer;
}

.show-mob-form {
	opacity: 1;
	height: 100%;
}

.single-product {
	text-align: center;
}

.single-product img {
	width: 80%;
	height: auto;
}

.single-product-link {
	margin: 20px 0;
}

.single-product-link a {
	color: #fff !important;
}

.single-product-link a {
	font-size: 3rem;
	font-weight: normal !important;
}

.single-product-cta {
	background: #121212;
	padding: 20px;
}

.single-product-name {
	font-size: 2rem;
	margin-top: 20px;
}

.fa-shopping-cart:before {
	color: #fff;
	font-size: 32px;
	margin-left: 10px;
}

.single-product-prices {
	gap: 10px;
	font-size: 2rem;
}

.single-product-price {
	font-weight: bold;
}

.single-product-discountprice {
	font-weight: bold;
}

.single-product-prices.discount .single-product-price {
	font-weight: normal;
	text-decoration: line-through;
	color: #757575;
}

.alternative-shop {
	font-size: 2rem;
	margin: 10px 0;
}

.alternative-shop-single {
	border-bottom: 1px solid #757575;
	padding: 20px 0 2px;
}

.producter-filter-btn {
	position: absolute;
	top: -55px;
	box-shadow: 0 0 13px 0 #A2A2A2;
	padding: 10px 20px;
	border-radius: 8px;
	transition: ease-in-out 0.2s;
}

.producter-filter-btn:hover {
	cursor: pointer;
	transform: translate(0,-2px);
}

.product-filters {
	position: fixed;
	width: 0;
	z-index: 3;
	background: #fff;
	left: -100%;
	transition: ease-in-out 0.2s;
    height: 100%;
    top: 0;
    padding: 40px 0 40px 20px;
}

.show-product-filters {
	width: 300px;
	left: 0;
}

.body-shadow {
	position: relative;
	overflow: hidden;
}


.body-shadow::after {
	position: absolute;
	background: #121212;
	opacity: 0.4;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	content: "";
}

.close-btn {
	top: 0;
    right: 0;
    position: absolute;
    font-size: 36px;
    padding: 20px;
	cursor: pointer;
}

.close-btn div {
	background: #121212;
    width: 30px;
    height: 5px;
    margin: 5px 0;
    transition: ease-in-out 0.2s;
    border-radius: 20px;
    box-shadow: 0 0 1px 0px #121212;
	position: relative;
}

.close-btn div:nth-child(1) {
	transform: rotate(45deg);
	top: 10px;
}

.close-btn div:nth-child(2) {
	transform: rotate(-45deg);
}

.product-filter {
	margin-bottom: 10px;
}

.filter-title {
	font-size: 2.2rem;
	margin-bottom: 10px;
}

.filter-option {
	padding: 5px 0;
	position: relative;
}

.filter-option input {
	display: none;
}

.filter-option label {
	position: relative;
    bottom: 7px;
    left: 0;
    font-size: 1.8rem;
	padding-left: 30px;
	z-index: 1;
	cursor: pointer;
}

.filter-input {
	padding: 10px;
    border: 1px solid #121212;
    border-radius: 6px;
    position: absolute;
    left: 0;
    top: 0;
	transition: ease-in-out 0.2s;
}

.filter-input.filter-activated {
	background: #121212;
}

@media (min-width: 1200px) {
	.footer-links {
		grid-template-columns: 1fr 1fr 1fr 1fr !important;
	}


	.blog-overview {
		grid-template-columns: 1fr 1fr 1fr !important;
	}
}

@media (min-width: 992px) {
	.product-overview {
		display: grid;
		grid-template-columns: 1fr 4fr;
	}

	.sidebar-produtpages {
		display: grid;
		gap: 30px;
	}
}

@media (min-width: 768px) {

	.left-mob-0 {
		left: inherit !important;
		width: inherit;
	}

	.main-navigation {
		display: block;
		position: relative;
		left: 0;
		height: inherit;
		top: inherit;
		padding-top: 0;
		background: transparent;
	}

	.main-navigation a {
		color: #121212 !important;
	}

	.menu-navmenu-container {
		padding: 1rem;
		border-top: 1px solid #E3E3E3;
		border-bottom: 1px solid #E3E3E3;
	}

	.menu-navmenu-container ul {
		display: flex;
		justify-content: center;
		gap: 5rem;
	}

	.menu-navmenu-container li {
		list-style-type: none;
	}

	.menu-navmenu-container a {
		font-size: 1.8rem;
	}

	.mob-nav-open {
		display: none;
		width: inherit;
	}

	.fp-products {
		grid-template-areas:
			'one one one one one one'
			'two two two three three three'
			'four four four four four four'
			'five five five six six six';
		margin-top: 40px;
	}

	.fp-products a {
		font-size: 3rem;
	}

	.footer-links {
		grid-template-columns: 1fr 1fr;
		gap: 0;
	}

	.products {
		grid-template-columns: 1fr 1fr 1fr;
	}

	.product-title {
		font-size: 1.8rem;
	}

	header form {
		width: 300px;
		margin-top: 20px;
		order: inherit;
		display: block;
	}

	.top-nav-area {
		display: flex;
		justify-content: space-between;
	}

	.blog-overview {
		grid-template-columns: 1fr 1fr;
	}

	.some-links {
		width: inherit;
		margin-left: 10px;
	}

	.open-search-icon {
		display: none;
	}

	.shadow-overlay::after {
		content: none;
		background: inherit;
	}

	body.mob-menu-open {
		overflow: unset;
	}

	.single-product-overview {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}

	.single-product-ean {
		margin: auto 0 20px;;
	}
}

@media (max-width: 767px) {
	.open-mob-nav nav {
		top: 20px;
		position: relative;
	}

	.open-mob-nav nav ul {
		padding-left: 0;
	}

	.open-mob-nav nav li {
		margin: 20px 0;
		text-align: center;
		left: 0;
	}

	.main-navigation a {
		font-size: 3rem;
	}
}