@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
/* root variablen */

#service_edit_form {
	/* colors */
	--color1: #00000029;
	--color2: #00000040;
	--color3: #00000082;
	--color4: #004985;
	--color5: #70707080;
	--color6: #ACA69B;
	/* --color7: #ACA69B7A; */
	--color7: #D7D4CF;
	--color8: #ACA69B8A;
	--color9: #EBE2D3;
	--color10: #EBE2D38C;
	--color11: #00498591;
	/* font sizes */
	--font-size1: 12px;
	--font-size2: 13px;
	--font-size3: 14px;
	--font-size4: 16px;
	--font-size5: 18px;
	--font-size6: min(24px, 2.5vw);
	/* standard values */
	font-size: 16px;
	color: black;
}

/* @media screen and (min-width: 1200px) { */

#service_edit_form {
	--font-size6: 24px;
}

/* } */

/* @media screen and (min-width: 1024px) { */

#service_edit_form {
	--font-size1: 12px;
	--font-size2: 13px;
	--font-size3: 16px;
	--font-size4: 18px;
	--font-size5: 20px;
}

/* } */

/* scrollbar */

::-webkit-scrollbar {
	width: 15px;
}

/* Track */

::-webkit-scrollbar-track {
	background: var(--color10);
}

/* Handle */

::-webkit-scrollbar-thumb {
	background: var(--color9);
}

/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
	background: var(--color9);
}

#service_edit_form html, #service_edit_form body, #service_edit_form button, #service_edit_form input, #service_edit_form select, #service_edit_form textarea {
	font-family: 'Ubuntu', sans-serif;
	font-weight: 300;
	outline: none;
}

/*
#service_edit_form datalist {
	display: none;
}

#service_edit_form .freestyle-input::-webkit-calendar-picker-indicator {
	display: none;
}

#service_edit_form .freestyle-input:hover {
	background: transparent url(../icons/Pfeil_nach_unten.svg) no-repeat right;
	background-size: 15px;
	background-position-x: 95%;
}
*/

#service_edit_form select {
	-webkit-appearance: none;
	-moz-appearance: none;
	background: transparent url(../icons/Pfeil_nach_unten.svg) no-repeat right;
	background-size: 15px;
	background-position-x: 95%;
}

#service_edit_form b, #service_edit_form em {
	font-weight: bold;
}

#service_edit_form html, #service_edit_form body {
	background-color: var(--color6);
}

/* Input felder ohne border */

#service_edit_form input {
	border: 0px solid;
	border-bottom: 1px solid var(--color5);
	outline: none;
}

#service_edit_form .input-label {
	width: 40%;
	padding-bottom: 2px;
	display: flex;
}

#service_edit_form .text-input, #service_edit_form .select-input {
	width: 60%;
	min-width: 150px;
	max-width: 80%;
	/* background-color: transparent; */
	border: 0px solid;
	outline: none;
	font-size: var(--font-size2);
	color: black;
}

/* Kopfleiste mit Schatten */

#service_edit_form #header-shadow {
	height: 5px;
	width: 100%;
	box-shadow: 0px 3px 6px var(--color1);
	position: absolute;
	top: -5px;
	z-index: 1;
}

#service_edit_form #header-bar {
	height: 56px;
	width: 100%;
	position: absolute;
	box-shadow: 0px 3px 6px var(--color1);
	z-index: 1;
}

/* Main Panel mit Schatten */

#service_edit_form #main-div {
	/* box-shadow: 0 9px 0px 0px #a7a174d3, 0 -9px 0px 0px #a19c6dd3, 12px 0 15px -4px #696645d3, -12px 0 15px -4px #696645d3; */
	box-shadow: 0px 3px 6px var(--color1);
	max-width: 1200;
	width: 100%;
	height: 100%;
	margin: 0 auto;
	background-color: white;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	z-index: 2;
	position: absolute;
}

#service_edit_form #main-window {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: rgb(172, 166, 155);
}

#service_edit_form .main-element {
	width: 100%;
	display: flex;
	justify-content: center;
}

#service_edit_form #top {
	flex-shrink: 0;
	z-index: 3;
}

#service_edit_form #middle {
	flex-grow: 1;
	z-index: 2;
}

#service_edit_form #bottom {
	flex-shrink: 0;
	z-index: 3;
}

#service_edit_form .main-child {
	width: 100%;
	max-width: 1200px;
}

/* Tableiste */

#service_edit_form #tab-header {
	height: 56px;
	background-color: var(--color9);
	column-count: 6;
	column-gap: 0;
	flex-shrink: 0;
	display: flex;
	/* box-shadow: 0px 3px 6px var(--color1); */
	z-index: 2;
}

#service_edit_form .tab-item {
	width: 100%;
	box-shadow: 0px 3px 6px var(--color1);
	display: flex;
	justify-content: center;
	cursor: pointer;
	position: relative;
}

#service_edit_form .header-description {
	font-size: var(--font-size5);
	display: flex;
	align-items: center;
	padding-top: 2px;
}

#service_edit_form .header-image {
	width: 25px;
	height: 30px;
	filter: invert(100%) opacity(40%);
	padding-bottom: 4px;
}

#service_edit_form .header-text {
	display: none;
}

@media screen and (min-width: 1024px) {
	#service_edit_form .header-text {
		display: block;
	}
}

#service_edit_form .header-check {
	position: absolute;
	width: 20px;
	height: 20px;
	top: 10%;
	right: 5%;
	display: none;
}

/* Tabfenster */

#service_edit_form .data-input {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

#service_edit_form #tab-content {
	flex-grow: 1;
	overflow-y: scroll;
	overflow: overlay;
	min-height: 2em;
	position: relative;
	background-color: white;
	box-shadow: 0px 6px 9px #00000073;
}

@-moz-document url-prefix() {
	#service_edit_form #tab-content {
		scrollbar-color: var(--color9) var(--color10);
	}
}

#service_edit_form .data-input-part-body {
	font-weight: 300;
	color: var(--color3);
	padding: 15px 0 35px;
}

/* Für Abfragen die nur über halbe Seite gehen */

#service_edit_form .half-width {
	width: inherit;
	padding: 0 35px;
}

@media screen and (min-width: 1024px) {
	#service_edit_form .half-width {
		width: 50%;
		padding: 0 35px;
	}
}

#service_edit_form .full-width {
	width: 100%;
	padding: 0 35px;
}

/* kleine Panels im Tabfenster */

#service_edit_form .data-input-part {
	margin: 25px auto;
	width: 90%;
	box-shadow: 0px 3px 6px var(--color1);
}

#service_edit_form .sub-data-input-part {
	margin: 25px auto;
	width: 98%;
	box-shadow: 0px 3px 6px var(--color1);
}

/* Überschrift Inputfeld */

#service_edit_form .data-input-part-header {
	width: 100%;
	margin: auto;
	background-color: var(--color8);
	padding: 10px 0px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#service_edit_form .data-input-part-header-text, #service_edit_form .search-field-input {
	padding: 0 35px;
	font-weight: normal;
	font-size: var(--font-size5);
}

#service_edit_form .header-link {
	color: black;
}

#service_edit_form .header-link:hover, #service_edit_form .header-link:active {
	text-decoration: underline;
}

#service_edit_form .sub-header {
	padding: 20px 35px 10px;
	color: black;
	font-weight: normal;
	font-size: var(--font-size4);
	display: flex;
}

#service_edit_form .sub-sub-header {
	padding: 35px 35px 10px;
	color: black;
}

#service_edit_form .line {
	width: 90%;
	border-bottom: 5px solid var(--color8);
	margin: 20px auto 10px;
	position: relative;
}

#service_edit_form .protocol-part-input {
	padding: 10px 20px 30px;
}

/* Suchfeld  */

#service_edit_form .search-field {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-width: 20%;
	max-width: 40%;
}

#service_edit_form .search-field-input {
	border-bottom: 1px solid white;
	color: white;
	background-color: transparent;
	margin-right: 15px;
	width: 90%;
}

#service_edit_form .search-field-input::placeholder {
	color: white;
}

#service_edit_form .search-image {
	width: 30px;
	height: 30px;
}

/* Infoanzeige (zB. "Pflichtfeld*") */

#service_edit_form .info-div {
	font-style: italic;
	float: right;
	z-index: 200;
	opacity: 0.5;
	margin: 10px 25px -25px;
}

/* Input Feld */

#service_edit_form .input-table {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

#service_edit_form .input-field {
	border-bottom: 1px solid var(--color5);
	width: 100%;
	margin: 10px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#service_edit_form .input-text {
	padding-bottom: 2px;
}

/* Knopfleiste Unten */

#service_edit_form #footer {
	background-color: var(--color7);
	padding: 10px 46px;
	display: flex;
	flex-direction: row;
	justify-content_: center;
	justify-content: space-between;
	align-items: center;
	flex-shrink: 0;
	box-sizing: border-box;
	bottom: 0;
	box-shadow: 0px 6px 9px #00000073;
}

#signature-div .button, #service_edit_form .button {
	background-color: var(--color4);
	font-weight: 300;
	font-size: var(--font-size6);
	border: none;
	height: auto;
	min-height: 33px;
	width: 25%;
	margin: 0 10px;
	border-radius: 28px;
	box-shadow: 0px 3px 6px var(--color2);
	color: white;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	padding: 0px 25px;
	box-sizing: border-box;
}

#signature-div .button {
	font-size: min(24px, 2.5vw);
	background-color: #004985;
	box-shadow: 0px 3px 6px #00000040;
}

#service_edit_form #footer-button-middle {
	background-color: var(--color6);
	width: 40%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

#service_edit_form #footer-button-back {
	background-color: var(--color11);
}

#service_edit_form #button-middle-check-div {
	position: absolute;
	width: 25px;
	height: 25px;
	right: 5%;
}

#service_edit_form #button-middle-check {
	display: none;
	position: absolute;
	width: 25px;
	height: 25px;
	right: 5%;
}

#service_edit_form .button_protocol {
	font-size: var(--font-size3);
	background-color: var(--color6);
	margin-right: 35px;
	padding: 7px 25px;
}

#service_edit_form #button_protocol_latest {
	width: auto;
	height: auto;
}

#service_edit_form #button_protocol_finalized {
	font-size: 25px;
	padding: 15px 70px;
	width: auto;
	height: auto;
	background: var(--color4);
	margin: 40% 0 7% 0;
}

#service_edit_form .signature-button {
	font-size: var(--font-size3);
	background-color: var(--color6);
	height: 30px;
	width: 235px;
	margin-right: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#service_edit_form #protocol-signature-image {
	width: 0;
	height: 0;
}

/* Abfragen in einer Zeile */

#service_edit_form .single-row-input {
	padding: 10px 35px 10px;
	color: black;
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
}

#service_edit_form .double-row-input {
	display: block;
}

@media screen and (min-width: 1024px) {
	#service_edit_form .double-row-input {
		display: flex;
	}
}

#service_edit_form .additional-text {
	/* min-width: 60%;
	width: 85%; */
	flex-grow: 1;
	margin-left: 25px;
}

#service_edit_form .multi-row-input {
	display: flex;
}

#service_edit_form .flex {
	display: flex;
}

#service_edit_form .input-left {
	width: 50%;
	padding-right: 35px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#service_edit_form .input-right {
	width: 50%;
	padding-left: 35px;
	align-items: center;
	display: flex;
}

/*
.checkbox-with-label {
	width: 20%;
}
 */

#service_edit_form .checkbox-with-label {
	display: flex;
}

#service_edit_form .checkboxLabel {
	color: black;
}

#service_edit_form .small-text {
	font-size: var(--font-size1);
}

/* Warntext */

#service_edit_form .attention-text {
	background-color: var(--color4);
	color: white;
	width: 90%;
	text-align: center;
	padding: 15px 0;
	box-shadow: 0px 3px 6px var(--color1);
	margin: 75px auto 35px;
}

#service_edit_form #protocol-finalized-text {
	font-size: var(--font-size5);
}

#service_edit_form #div_protocol_finalized {
	display: flex;
	align-items: center;
	justify-content: center;
}

/*
Textarea mit Linien
https://stackoverflow.com/questions/9468153/textarea-with-horizontal-rule 

Auto Height
https://stackoverflow.com/questions/17772260/textarea-auto-height
*/

#service_edit_form .notes {
	background-attachment: local;
	background-color: inherit;
	background-image: linear-gradient(to right, transparent 0, transparent 0), linear-gradient(to left, transparent 0, transparent 0), repeating-linear-gradient(transparent, transparent 25px, var(--color5) 25px, var(--color5) 26px, transparent 26px);
	line-height: 26px;
	/* padding: 8px 10px; */
	padding: 0px;
	border: 0px;
	outline-width: 0;
	min-height: 28px;
	height: 28px;
	/* resize: vertical; */
	resize: none;
	overflow: hidden;
}

/* collapsible */

#service_edit_form .collapsible {
	cursor: pointer;
	border-bottom: 1px solid var(--color5);
	text-align: left;
	outline: none;
}

#service_edit_form .collapsible-arrow:after {
	background-image: url(../icons/Pfeil_nach_unten.svg);
	background-position: right;
	background-size: 15px;
	background-repeat: no-repeat;
	padding: 10px;
	margin-right: 10px;
	content: "";
}

#service_edit_form .active:after {
	background-image: url(../icons/Pfeil_nach_oben.svg);
	background-position: right;
	background-size: 15px;
	background-repeat: no-repeat;
	padding: 10px;
	margin-right: 10px;
	content: "";
}

#service_edit_form .collapsible-content {
	padding: 0 18px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
}

#service_edit_form .collapsible-label {
	min-width: 140px;
}

#service_edit_form .content-right {
	width: 120px;
	margin-left: auto;
	margin-right: 0;
}

#service_edit_form .selectedCollText {
	width: 50%;
	/* text-align: right; */
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Tabelle */

#service_edit_form .data-table th {
	font-weight: 300;
}

#service_edit_form .data-table th, td {
	padding: 5px;
	height: 20px;
}

#service_edit_form .data-table {
	width: 100%;
	height: auto;
	text-align: center;
	border-collapse: collapse;
	margin: 0 auto;
}

#service_edit_form .data-table td, #service_edit_form .data-table th {
	border: 1px solid black;
}

#service_edit_form .data-table tr td:first-child {
	font-weight: normal;
}

@media screen and (max-width: 1049px) {

	#service_edit_form .data-table {
		margin: 0 auto;
	}

	#service_edit_form .data-table .header-td {
		text-align: left;
	}

	#service_edit_form .data-table tr:first-child th {
		border-top: 0;
	}

	#service_edit_form .data-table tr:last-child td {
		border-bottom: 0;
	}

	#service_edit_form .data-table tr td:first-child,
	#service_edit_form .data-table tr th:first-child {
		border-left: 0;
	}

	#service_edit_form .data-table tr td:last-child,
	#service_edit_form .data-table tr th:last-child {
		border-right: 0;
	}
}

@media screen and (min-width: 1050px) {

	#service_edit_form .data-table {
		margin: auto;
		width: auto;
		height: auto;
	}

	#service_edit_form .data-table .header-td {
		text-align: center;
	}

	#service_edit_form .data-table th {
		text-align: left;
	}

	#service_edit_form .data-table th {
		border-left: 0;
	}

	#service_edit_form .data-table tr:last-child td {
		border-right: 0;
	}

	#service_edit_form .data-table tr td:first-child,
	#service_edit_form .data-table tr th:first-child {
		border-top: 0;
	}

	#service_edit_form .data-table tr td:last-child,
	#service_edit_form .data-table tr th:last-child {
		border-bottom: 0;
	}

	#service_edit_form .data-table tr {
		display: block;
		float: left;
	}

	#service_edit_form .data-table th, #service_edit_form .data-table td {
		display: block;
	}
}

#service_edit_form #scroll-indicator {
	pointer-events: none;
	width: inherit;
	max-width: inherit;
	height: 100%;
	position: fixed;
}

#service_edit_form #scroll-icon {
	position: absolute;
	width: 75px;
	height: 75px;
	margin-right: 50px;
	margin-bottom: 130px;
	bottom: 0px;
	right: 0px;
}

#service_edit_form .validation-checkbox {
	display: none;
}

#signature-div {
	position: fixed;
	top: 20%;
	left: 15%;
	z-index: 100;
	background-color: white;
	height: 70%;
	width: 70%;
	box-shadow: 0px 6px 9px #00000082;
	/* box-shadow: 0px 6px 9px var(--color3); */
	display: none;
	flex-direction: column;
}

#signature-header {
	flex-shrink: 0;
	z-index: 101;
	background-color: #004985;
	/* background-color: var(--color4); */
	height: 56px;
	width: 100%;
	box-shadow: 0px 3px 6px #00000082;
	/* box-shadow: 0px 3px 6px var(--color3); */
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: min(24px, 2.5vw);
	/* font-size: var(--font-size6); */
	color: white;
}

.signature-header-label {
	padding: 0 3% 0 7%;
}

#signature-header-close {
	cursor: pointer;
}

#canvas-div {
	color: black;
	flex-grow: 1;
	z-index: 101;
}

#signature-canvas {
	color: black;
}

#signature-footer {
	flex-shrink: 0;
	z-index: 101;
	background-color: #D7D4CF;
	/* background-color: var(--color7); */
	height: 56px;
	width: 100%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	font-size: min(24px, 2.5vw);
	/* font-size: var(--font-size6); */
	color: white;
}