#posten-bring-checkout-overlay {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
}

.posten-bring-checkout-container.dark, .posten-bring-checkout-container.bring.dark {
	background-color: #252525;
	color: #B4B4B4;

	.name {
		color: #fff;
	}

	.service-description {
		color: #B4B4B4;
	}

	.button__plain {
		color: #999999;
	}

	.button__plain:hover, .button__plain:focus-visible {
		color: #FFFFFF;
		text-decoration-color: #FFFFFF;
	}

	.address {
		border-color: #FFFFFF;
		color: #B4B4B4;
	}

	#posten-bring-checkout-delivery-dates, #posten-bring-checkout-pickup-points {
		background-color: #252525;

		.alternative {
			background-color: #333333;
			box-shadow: 1px 1px 0 #121212;
		}

		input.radio__checkmark {
			border-color: #999999;
		}

		.radio__checkmark:focus {
			outline: 1px solid #999999;
		}

		.radio__checkmark:checked::before {
			background-color: #252525;
		}

		.button__plain {
			color: #999999;
		}

		.button__plain:hover, .button__plain:focus-visible {
			color: #FFFFFF;
			text-decoration-color: #FFFFFF;
		}

		.posten-bring-checkout-radio {
			label {
				color: #fff;
			}
		}

		.date-description {
			color: #fff;
		}
	}
}

.posten-bring-checkout-container {
	position: relative;
	margin-top: 10px;
	font-family: "Posten Sans", Arial, sans-serif;
	font-weight: 400;
	text-shadow: none;
	color: black;
	background-color: #f2f2f2;
	border-radius: 5px;
	padding: 20px;
	margin-bottom: 10px;

	a {
		font-weight: normal;
	}

	.name {
		font-weight: normal;
		font-size: 1em;
		color: black;
		display: flex;
		gap: 7px;
		line-height: 29px;
	}

	.service-description {
		font-size: 0.73em;
		line-height: normal;
		margin-bottom: 0;
		color: rgb(35, 35, 35);
	}

	.logo {
		width: 82px;
	}

	.selected {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap-reverse;
	}

	.button__plain {
		text-align: left;
		border: 0;
		background: none;
		color: #4a1011;
		cursor: pointer;
		text-decoration: underline;
		padding: 0;
	}

	.button__plain:hover, .button__plain:focus-visible {
		color: #E32D22;
		text-decoration-color: #E32D22;
	}

	.address {
		display: flex;
		flex-direction: column;
		border-left: 2px solid #4a1011;
		padding-left: 7px;
		font-size: .7em;
		line-height: 15px;
		color: #4a1011;
		text-shadow: none;
		margin-bottom: 7px;
	}

	fieldset {
		border: none;
	}

	legend {
		font-size: 1.6em;
		font-weight: 400;
		margin-bottom: .8em;
	}

	.close {
		display: flex;
		justify-content: flex-end;
		flex-direction: row;
		padding-bottom: 20px;
	}

	.leadtime {
		font-size: 0.8em;
		margin-bottom: 7px;
	}

	.environmental {
		margin-top: 1em;
		line-height: 0;

		img {
			height: 27px;
		}
	}

	.dot {
		display: none;
		color: #E32D22;
	}

	.distance {
		display: none;
	}
}

:host(:focus), :host(:focus-within) {
	outline: none !important;
	border: none !important;
}

:host {
	all: initial;
}

#posten-bring-checkout-delivery-dates {
	margin-top: 3px;
	padding: 20px 30px 40px 30px;
	border-radius: 5px;
	background-color: #F2F2F2;
	font-family: "Posten Sans", Arial, sans-serif;
	font-weight: 400;
	position: fixed;
	text-align: left;
	z-index: 99999;
	left: 50%;
	right: 50%;
	transform: translate(-50%, -50%);
	top: 50%;
	overflow-y: scroll;
	bottom: 0;
	max-height: 215px;
	max-width: 800px;
	width: 90vw;

	.delivery-dates {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap-reverse;
		justify-content: space-between;
		align-items: flex-end;
	}

	.posten-bring-checkout-header {
		display: flex;
		justify-content: space-between;
		margin-bottom: 15px;
	}

	.posten-bring-checkout-logo {
		width: 82px;
		box-shadow: none;
		border: none;
	}

	.alternatives {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		gap: .5em;
		margin-top: 1em;
	}

	.alternative {
		background-color: #fff;
		border-right: 5px;
		box-shadow: 1px 1px #e4e4e4;
		width: 83px;
		height: 85px;
		padding: 8px;
		text-align: center;
		line-height: 19px;
	}

	.alternative_date {
		display: flex;
		flex-direction: column;
		margin-top: 32px;
	}

	.radio {
		user-select: none;
		display: block;
		position: relative;
		cursor: pointer;
		--checkmark-width: 16px;
		--checkmark-margin: 4px;
	}

	.content-container {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		height: 100%;
	}

	input.radio__checkmark {
		appearance: none;
		background: #FFFFFF;
		display: inline-block;
		margin: 4px!important;
		height: 20px;
		width: 20px;
		border: solid 2px #4a1011;
		border-radius: 50%;
		position: absolute!important;
		left: 36px;
	}

	.radio__checkmark:focus {
		outline: 1px solid #252525;
		outline-offset: 2px;
	}

	.radio__checkmark:checked::before {
		content: "";
		display: block;
		background: #980000;
		border-radius: 50%;
		width: 10px;
		height: 10px;
		top: 3px;
		left: 3px;
		margin: 0;
		position: absolute;
	}
}

#posten-bring-checkout-pickup-points {
	margin-top: 3px;
	padding: 20px 30px;
	border-radius: 5px;
	background-color: #F2F2F2;
	font-family: "Posten Sans", Arial, sans-serif;
	font-weight: 400;
	position: fixed;
	text-align: left;
	z-index: 99999;
	right: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	top: 50%;
	overflow-y: scroll;
	bottom: 0;
	max-height: 420px;
	max-width: 700px;
	width: 90vw;

	.pickup-point-list {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap-reverse;
		justify-content: space-between;
		align-items: flex-end;
	}

	.service-name {
		font-size: 1.4em;
		line-height: 30px;
		font-family: "Posten Sans", Arial, sans-serif;
		color: #121212;
	}

	label, button {
		font-weight: 400;
		text-transform: none;
		font-family: "Posten Sans", Arial, sans-serif;
		color: #121212;
	}

	label {
		margin: 0;
		padding: 0;
		font-size: 17px;
		line-height: 1.7 !important;
		text-shadow: none;
		text-decoration: none;
		text-transform: none;
		text-align: left;
		text-emphasis: none;
	}

	button {
		padding: 0;
		letter-spacing: normal;
		appearance: auto;
		font-style: normal;
		font-variant-ligatures: normal;
		font-stretch: normal;
		font-size: 14px;
		font-optical-sizing: none;
		font-size-adjust: none;
		font-kerning: none;
		font-feature-settings: normal;
		font-variation-settings: normal;
		text-rendering: auto;
		color: buttontext;
		word-spacing: normal;
		line-height: normal;
		text-transform: none;
		text-indent: 0;
		display: inline-block;
		text-align: center;
		align-items: flex-start;
		box-sizing: border-box;
		margin: 0;
		padding-block: 1px;
		padding-inline: 6px;
	}

	.posten-bring-checkout-header {
		display: flex;
		justify-content: space-between;
		margin-bottom: 15px;
	}

	.posten-bring-checkout-logo {
		width: 82px;
		box-shadow: none;
		border: none;
	}

	.content-container {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		height: 100%;
	}

	.posten-bring-checkout-radio {
		padding: 0 0 0 36px;
		border-radius: 2px;
		user-select: none;
		display: block;
		position: relative;
		cursor: pointer;
		margin-bottom: .5em;
		--checkmark-width: 16px;
		--checkmark-margin: 4px;
		text-indent: 0 !important;
		label:focus {
			cursor: pointer;
		}
	}

	.posten-bring-checkout-radio.hidden {
		display: none;
	}

	.button__plain {
		color: #4a1011;
		margin: 0 0 0 32px;
	}

	.button__plain:hover, .button__plain:focus-visible {
		color: #E32D22;
		text-decoration-color: #E32D22;
	}

	input.radio__checkmark {
		appearance: none;
		background: #FFFFFF;
		display: inline-block;
		margin: 4px!important;
		height: 20px;
		width: 20px;
		border: solid 2px #4a1011;
		border-radius: 50%;
		position: absolute!important;
		left: 0!important;
		top: 0!important;
	}

	.radio__checkmark:focus {
		outline: 1px solid #252525;
		outline-offset: 2px;
	}

	.radio__checkmark:checked::before {
		content: "";
		display: block;
		background: #980000;
		border-radius: 50%;
		width: 10px;
		height: 10px;
		position: absolute;
		top: 3px;
		left: 3px;
		margin: 0;
	}
}

@media (max-width: 1350px) {
	#posten-bring-checkout-delivery-dates {
		max-height: 380px;
		padding: 20px;
	}
}

@media (max-width: 700px) {
	.button__plain {
		margin-top: 7px;
	}
}


.posten-bring-checkout-container.bring {
	.button__plain:hover, .button__plain:focus-visible {
		color: #00643A;
		text-decoration-color: #00643A;
	}

	.button__plain {
		color: #002F19;
	}

	.address {
		border-color: #002F19;
		color: #002F19;
	}

	.dot {
		display: block;
		color: #7BC144;
	}

	.distance {
		display: block;
	}
}

#posten-bring-checkout-pickup-points.bring {

	input.radio__checkmark {
		border-color: #002F19;
	}

	.radio__checkmark:focus {
		outline: 1px solid #002F19;
	}

	.radio__checkmark:checked::before {
		background: #00643A;
	}

	.posten-bring-checkout-logo {
		width: 82px;
	}

	.button__plain:hover, .button__plain:focus-visible {
		color: #00643A;
		text-decoration-color: #00643A;
	}

	.button__plain {
		color: #002F19;
	}
}
