@charset "ISO-8859-1";

@font-face {
	font-family: WorkSans;
  	src: url('../fonts/WorkSans-Light.ttf');
}

@font-face {
	font-family: EDEKAsymbole;
  	src: url('../fonts/edeka.ttf');
}

:root {
	--yellow: #ffe601;
	--blue: #0166b3;
	--red: #ee1d23;
	--dark: #3c4858;
	--gray: #3c4858;
	--light_gray: #999;
	--green: #64b512;
	--orange: orange;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: WorkSans, EDEKAsymbole;
	overflow-x: hidden;
}

a {
	color: var(--dark);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
	cursor: pointer;
}

.symbol {
	font-family: EDEKAsymbole;
}

.disabled:hover {
	cursor: not-allowed;
}

.success-box {
	text-align: center;
	color: white;
	width: 100%;
	border-radius: 5px;
	font-size: 16px;
    line-height: 1.5;
    padding: 7.5px 16px;
	box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
}

/* Formulardesign */

input:not([type="range"]):not([type="checkbox"]):not([type="submit"]):not([type="reset"]):not([type="file"]), select:not(.region-selector) {
	width: 100%;
	height: 40px;
	padding: 10px;
	border: none;
	border-bottom: 1px solid var(--dark);
	background-color: transparent;
}

input:not([type="range"]):not([type="checkbox"]):not([type="submit"]):not([type="reset"]):not([type="file"]):focus, select:not(.region-selector):focus {
	outline: 0;
	border-bottom: 2px solid var(--blue);
	transition: 0.1s ease all;
}

input[type=date] {
	font-family: Arial;
	text-align: center;
}

input[type=range] {
	width: 100%;
	-webkit-appearance: none;
	background: transparent;
	border: 2px solid var(--blue);
}

input[range]::-webkit-slider-runnable-track {
	background-color: transparent;
	height: 25px;
}

input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
   	appearance: none;
   	margin-top: -3px;
  	background-color: var(--blue);
   	height: 20px;
   	width: 20px;  	
   	border-radius: 5px;
}

textarea {
	font-family: Arial;
	padding: 10px;	
	width: 100%;
	overflow: auto;
	resize: none;
	border: 1px solid var(--dark);
	background-color: transparent;
}

textarea:focus {
	outline: 0;
	border: 2px solid var(--blue);
	transition: 0.1s ease all;
}

input[type=submit], input[type=reset], button, .file-upload-button, .button {
	font-family: WorkSans, EDEKAsymbole;
	color: white;
	cursor: pointer;
    border: none;
    font-size: 16px;
    line-height: 1.5;
    padding: 7.5px 16px;
    border-radius: 5px;
    background-color: #005ca9;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2),0 1px 5px 0 rgba(0, 0, 0, .12);
}

input[type=submit]:disabled,
input[type=reset]:disabled,
button:disabled,
.file-upload-button.disabled,
.button.disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.65;
}

input[type=submit].secondary, input[type=reset].secondary, button.secondary, .file-upload.secondary, .button.secondary {
	background-color: var(--light_gray);
}	

input[type=submit].red, input[type=reset].red, button.red, .file-upload.red {
	background-color: var(--red);
}

input[type=file] {
	visibility: hidden;
}

.upload-button {
	height: 50px;	
}

.upload-button input, .upload-button label {
	position: absolute;
}

.button.green {
	background-color: var(--green);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
}

.switch input { 
	 display:none;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
	width: 60px;
}

.slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
	bottom: 4px;
}

.switch input:checked + .slider {
	background-color: var(--blue);
}

.switch input:focus + .slider {
	box-shadow: 0 0 1px var(--blue);
}

.switch input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

/* Impressum, Datenschutzerklärung, Fehlerseite */

.fullscreen-text-container {
	width: 80%;
	max-width: 800px;
	padding: 50px;	
	overflow-x: hidden;
}

.fullscreen-text-container a {
	color: var(--blue);
}

/* Popups */

.popup-container {
	opacity: 1;
	width: 100%;
	height: 100%;
	padding: 30px;
	display: flex;
	justify-content: center;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 5;
	overflow: hidden;
	background-color: rgba(0, 0, 0, 0.3);
	overflow-y: scroll;
}

.popup-box {
	width: 100%;
	height: min-content;
	max-width: 800px;
	border-radius: 5px;
	background-color: white;
}

.popup-header, .popup-markt-container {
	width: 100%;
	display: flex;
	align-items: center;
	font-size: 15px;
	font-family: "Roboto", "Helvetica", "Arial", sans-serif;
	padding: 10px 20px;
	border-bottom: 1px solid #dee2e6;
}

.popup-header {
	justify-content: space-between;
}

.popup-markt-container {
	justify-content: flex-start;
	gap: 50px;
}

.popup-close {
	color: #aaaaaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.popup-close:hover, .popup-close:focus {
	color: var(--yellow);
	text-decoration: none;
	cursor: pointer;
}	

.popup-content {
	padding: 20px 20px;
	border-bottom: 1px solid #dee2e6;
}

.popup-buttons {
	display: flex;
	justify-content: space-between;
	gap: 50px;
	padding: 10px 20px;
	border-bottom: 1px solid #dee2e6;	
}

.markt-name-container {
	font-size: 20px;
}

/* Icon-Buttons */

.icon-button, .icon-text-container {
	
	display: flex;  
  	align-items: center;
  	justify-content: center;	
}

.icon-button .icon, .icon-text-container .icon {
	font-family: EDEKAsymbole;
  	margin-right: auto;
}

.icon-button .label, .icon-text-container .label {
  margin-right: auto;
}

.corner-ribbon {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none; /* Badge nicht klickbar */
    z-index: 1000;
}

/* Environment-Badges */

.ribbon {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
}
.ribbon::before,
.ribbon::after {
    position: absolute;
    z-index: -1;
    content: '';
    display: block;
    border: 5px solid #2980b9;
}
.ribbon span {
    position: absolute;
    display: block;
    width: 225px;
    padding: 15px 0;
    background-color: #3498db;
    box-shadow: 0 5px 10px rgba(0,0,0,.1);
    color: #fff;
    font: 700 18px/1 'Lato', sans-serif;
    text-shadow: 0 1px 1px rgba(0,0,0,.2);
    text-transform: uppercase;
    text-align: center;
}

.local span {
    background-color: gray;
}

.test span {
    background-color: orange;
}

/* top left*/
.ribbon-top-left {
    top: -10px;
    left: -10px;
}
.ribbon-top-left::before,
.ribbon-top-left::after {
    border-top-color: transparent;
    border-left-color: transparent;
}
.ribbon-top-left::before {
    top: 0;
    right: 0;
}
.ribbon-top-left::after {
    bottom: 0;
    left: 0;
}
.ribbon-top-left span {
    right: -25px;
    top: 30px;
    transform: rotate(-45deg);
}

/* Responsives Design */

@media only screen and (max-width: 767px) {
	.fullscreen-text-container {
		width: 100%;
		padding: 20px;
	}
}

