/* ubuntu-300 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Ubuntu';
	font-style: normal;
	font-weight: 300;
	src: url('/system/fonts/ubuntu-v20-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ubuntu-regular - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Ubuntu';
	font-style: normal;
	font-weight: 400;
	src: url('/system/fonts/ubuntu-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


html,body {
	border: 0;
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	font-size: 1em;
	background-color: #f0f1f5; /* #f6f7fa; */
	color: #464646;
}

* {
	box-sizing: border-box;
	font-family: 'Ubuntu';
	font-weight: 300;
	font-size: 1rem;
	color: rgba(0,0,0,0.8);
	/*
	-webkit-user-select: none;
  -ms-user-select: none; 
  user-select: none; 
  */
}

.filter {
	display: flex;
	justify-content: flex-end;
	padding: 15px 0px;
}

.hideMe {
  display: none;
}

.dragDropArea {
	width:100%;
	padding: 65px 0px;
	text-align: center;
	border: 2px dotted #ccc;
	border-radius: 7px;
	
	position: relative;
	cursor: pointer;
	margin-bottom:0px;
	
	&.dragover {
		background-color: rgba(0,180,0,0.1);
	}
}
.dragDropArea span.label {
	position: absolute;
	top:50%;
	font-size: 20px;
	line-height:20px;
	width: 100%;
	left: 0;
	color: #aaa;
	transform:translateY(-50%);
}

#fileList {
	padding-top: 10px;
}

.file-item {
	padding: 5px;
	border-bottom: 1px solid rgba(0,0,0,0.2);
	
	span {
		display: inline-block;
		padding-right: 15px;
	}
	
	button {
		background-color: transparent;
		border: 0;
	}
	
	&:last-of-type {
		border-bottom: 0;
	}
}

img {
	display: block;
}

.helperWrap {
	display: none;
	visibility: hidden;
}

.stickyTable {
	position: sticky;
	top: 55px;
	z-index: 100;
	box-shadow: 0px 15px 15px -15px rgba(0, 0, 0, 0.5);
	
	table {
		td {
			vertical-align: bottom;
			height: 120px;
			position: relative;
			padding: 10px;
			font-size: 0.85rem;
			font-weight: 400;
			
			div {
				font-size: 0.85rem;
				font-weight: 400;
			}
		}
	}
}

#overviewService {
	td {
		hyphens: auto;
		padding: 5px 5px 5px 8px !important;
		
		span {
			font-size: 0.85rem;
		}
	}
	th {
		padding: 5px 5px 5px 8px !important;
		width: auto !important;
	}
}

.template-uvvProtocol {
	table tr {
		td, th {
		}
		
		th:first-child,
		td:first-child {
			width: 300px !important;
		}
		th:last-child,
		td:last-child {
			width: 300px !important;
		}
		
		.vertical {
			transform-origin: left bottom;
			transform: rotate(-90deg);
			position: absolute;
			left: 50%;
			bottom: 10px;
		}
	}
}


.w4 {
	width: 4%;
}

.w5 {
	width: 5%;
}
.w8 {
	width: 8%;
}
.w10 {
	width: 10%;
}

.w15 {
	width: 15%;
}

.w20 {
	width: 20%;
}

.w25 {
	width: 25%;
}

.w30 {
	width: 30%;
}

.w33 {
	width: 33%;
}

.w40 {
	width: 40%;
}

.w49 {
	width: 49%;
}


.w50 {
	width: 50%;
}

.w100 {
	width: 100%;
}

.w70px {
	width: 70px !important;
}

.mb25 {
	margin-bottom: 25px !important;
}

.mb20 {
	margin-bottom: 20px;
}

.mt20 {
	margin-top: 20px;
}

.pl15 {
	padding-left: 15px;
}

.pr10 {
	padding-right: 10px;
}

.pr15 {
	padding-right: 15px;
}

.pb16 {
	padding-bottom: 16px;
}

.pt10 {
	padding-top: 10px;
}

.bRadius15 {
	border-radius: 15px;
}

.dFlex {
	display: flex;
	align-items: flex-start;
}

.stretchItems {
	justify-content: stretch;
}

.flexEnd {
	align-items: flex-end;
}

.todo {
	display: none;
	border-radius: 8px;
	overflow: hidden;
	opacity: 0.95;
}

.todo section:last-child {
	margin-bottom: 0 !important;
}

.gap20 {
	gap: 20px !important;
}
.gap10 {
	gap: 10px !important;
}

.flexWrap {
	flex-wrap: wrap;
	justify-content: center;
}

.itemAlignCenter {
	align-items: center;
}

.alignRight {
	text-align: right;
}

.subHeadline {
	color: #464646;
	text-align: left;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.smallThumbWrap {
	width: 120px;
	height: 120px;
	border-radius: 10px;
	overflow: hidden;
	position: relative;
	text-decoration: none;
	display: block;
	margin-top: 10px;
	margin-bottom: 10px;
}

.smallThumbWrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

label {
	color:rgba(70,70,70,0.95);
	display: block;
	font-size: 13px;
}

label span {
	color:rgba(70,70,70,0.95);
	display: block;
	font-size: 14px;
	white-space: nowrap;
}

.nowrap {
	white-space: nowrap !important;
	width: auto !important;
	
	select {
		display: inline-block;
		width: 30px;
		padding: 8px 5px;
	}
}

input[type="text"],input[type="password"],input[type="number"],input[type="date"],input[type="datetime-local"],input[type="time"], select, textarea {
	display: block;
	width: 100%;
	border-radius: 8px;
	appearance: none;
	border: 0;
	padding: 8px 10px;
	margin-top: 4px;
	margin-bottom: 8px;
	background-color: rgba(0,0,0,0.05);
	height: 36px;
}

select {
	padding: 8px 25px 8px 10px;
}

textarea {
	resize: none;
	height: 150px;
}

.selectWrap {
    position: relative;
    width: 100%;
}

.selectWrap::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    right: 10px;
    top: 50%;
    border-right: 2px solid #3b3f4a;
    border-bottom: 2px solid #3b3f4a;
    transform: translateY(-50%) rotate(45deg);
    margin-top: -3px;
}

.btn {
	display: block;
	width: 100%;
	border-radius: 5px;
	appearance: none;
	border: 0;
	padding: 25px 10px;
	background-color: #ab3537;
	color: rgba(255,255,255,0.8);
	text-decoration: none;
	text-align: center;
	font-weight: 400;
}

.btnLogout {
	background-color: #464646;
	padding: 8px;
	width: 140px;
	
}

.siteTitle {
	width: 100%;
  text-align: center;
  color: #fff;
  padding: 8px;
  font-weight: 400;
}


.pageContent {
	width: 100%;
	height: auto;
	padding-top: 55px;
	padding-bottom: 70px;
	max-width: 1000px;
	margin: 0 auto;
}

.template-serviceTasks .pageContent {
	max-width: 1600px;
}

.template-home img,
.template-service img,
.template-miete img {
	max-width: 170px;
	height: auto;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: 35px;
}



#loginForm .btn {
	height: 45px;
	padding: 5px;
	margin-top: 20px;
}

.template-pool,
.template-mietpark,
.template-kundenmaschinen,
.template-lagermaschinen,
.template-serviceMietpark,
.template-serviceTasks {
	.header {
		height: 65px;
		padding: 15px;
	
		input {
			margin: 0;
			border-radius: 5px;
			padding-left: 15px;
			background-color: #fff;
			color: rgba(0,0,0,0.8);
			
			&:focus {
				opacity: 1;
			}
		}
		.dFlex {
			align-items: center;
			gap: 20px;
		}
	}
	
	.pageContent {
		padding-top: 65px;
		
		a {
			text-decoration: none;
		}

	}
}

.scanLink {
	display: block;
	width: 30px;
	height: 30px;
	background-image: url(../img/iconQR.png);
	background-size: 100% 100%;
	flex-shrink: 0;
}

.homeLink {
	display: block;
	width: 30px;
	height: 30px;
	background-image: url(../img/iconHome.png);
	background-size: 100% 100%;
	flex-shrink: 0;
	margin-right: 15px;
}

.signaturePadWrap {
	padding-bottom: 35px;
}

.signaturePad {
	width: 100%;
	height: 150px;
	background-color: rgba(255,255,255,0.75);
	padding: 15px 15px 15px 0;
	border-radius: 8px;
	position: relative;
	margin-top: 4px;
}

.signaturePadCanvas {
	height: 125px;
	width: 285px;
	border-bottom: 2px solid #999;
	
}

.signaturePadCanvasClear {
	position: absolute;
	top: 15px;
	right: 20px;
	text-decoration: none;
	color: rgba(0,0,0,0.55);
}

.fileLabel {
	position: relative;
	height: 80px;
	width: 80px;
	border-radius: 8px;
	background-color: rgba(0,0,0,0.1);
	margin-bottom: 5px;
	overflow: hidden;
	margin-bottom: 0;
	flex-shrink: 0;
}

.fileLabel::after {
	content: '';
	position: absolute;
	top:50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 30px;
	height: 30px;
	background-image: url(../img/iconCamera.png);
	background-size: 100% auto;
	background-position: center center;
	background-repeat: no-repeat;
	z-index: 50;
}

.fileLabel input {
	display: none;
}

.fileLabel img {
	width: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	z-index: 25;
}

.header {
	position: fixed;
	top: 0;
	width: 100%;
	
	background-color: #ab3537;
	padding: 10px;
	font-weight: 400;
	color: #fff;
	text-align: center;
	font-size: 0.9rem;
	z-index: 100;
	-webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
-moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
}

.footer {
	position: fixed;
	bottom: 0;
	left: 50%;
	width: 100%;
	transform: translateX(-50%);
	background-color: #464646;
	z-index: 100;
	-webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.05);
	box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.15);
	margin: 0 auto;
}

.template-addItem .footer {
	
}

.footer .dFlex {
	justify-content: space-between;
}

.footer .btn {
	padding: 25px 15px;
	border-radius: 0px;
	white-space: nowrap;
	height: 100%;
	border-right: 1px solid #292929;
}

.footer .btnCancel, .popupContent .btnCancel {
	background-color: #464646;
	color: rgba(255,255,255,0.7);
}

.footer .btnSubmit, .popupContent .btnSubmit {
	background-color: #ab3537;
}

#popupFormSubmit .btnSubmit,
#popupFormCancel .btnSubmit,
#popupUndo .btnSubmit {
	background-color: #fff;	
	color: #ab3537;
}

.sectionHeadline {
	background-color: #fff;
	color: rgba(70,70,70,0.75);

	padding: 15px 15px 0px 15px;
	margin: 2px 0px 0px 0px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 12px;
} 

section {
	margin: 0;
}
#itemPool {
	margin: 0;
}

section section {
	padding: 15px;
	background-color: #fff;
	margin: 0 0 2px 0;
}




section section section {
	padding: 10px 0px;
	border-top: 1px solid rgba(0,0,0,0.1);
}

section .dFlex {
	gap: 10px;
}

section table {
	width: 100%;
}

section table tr:nth-child(odd) {
	background-color: rgba(0,0,0,0.065);
}

section table th {
	font-weight: 400;
	text-align: right;
	padding: 5px 15px 5px 5px;
	width: 40%;
	font-size: 0.85rem;
	
}
section table td {
	text-align: left;
	padding: 5px 5px 5px 15px;
	font-size: 0.85rem;
}



.expandedSection {
	position: relative;
	border-radius: 0;
	margin-bottom: 1px;
}

.overviewItem {
	position: relative;
}

.btnDeleteProperty, .btnDelete {
	height: calc(100% - 24px);
	height: 100%;
	width: 40px;
	margin-top: 24px;
	margin-top: 0;
	position: relative;
}

.btnDelete {
	height: 100%;
	margin-top: 0;
}

.btnDeleteProperty::before,
.btnDeleteProperty::after,
.btnDelete::before,
.btnDelete::after
 {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 15px;
	height: 4px;
	background-color: #fff;
	transform: translate(-50%,-50%) rotate(45deg);
}

.btnDeleteProperty::after,
.btnDelete::after {
	transform: translate(-50%,-50%) rotate(-45deg);
}

.wrapTable .wrapTR {
	background-color: transparent;
	
	> th,
	> td {
		padding: 0;
		margin: 0;
		background-color: transparent;
		vertical-align: top;
		border: none !important;
	}
}

.propertiesSection,
.qrSection,
.tableSection,
.smallPaddingSection {
	padding: 15px;
}

.propertiesSection .dFlex {
	align-items: stretch;
}

.propertiesSection input {
	margin-bottom: 0;
}

.tableSection {
	padding: 15px 0;
}

.overviewItem {
	padding: 20px;
	text-decoration: none;
}

.available {
	border-left: 10px solid #32c896;
}

.unavailable {
	border-left: 10px solid #963232;
}
.runningProcess {
	border-left: 10px solid #ffcc33 !important;
}

.overviewItem * {
	text-decoration: none;
}

.overviewItem h2 {
	margin-top: 0;
	margin-bottom: 5px;
	font-weight: 400;
}

.overviewItem p {
	margin: 0;
}

#overviewTodos a {
	text-decoration: none;
}

#generatedCode {
	text-align: center;
	max-width: 500px;
  margin: 0 auto;
}

#generatedCode canvas {
	max-width: 500px;
}

#generatedCode canvas, #generatedCode img {
	width: 40% !important;
	height: auto !important;
	margin-bottom: 15px;
	margin-left: auto;
	margin-right: auto;
}

.mashineDataPrint {
	display: none;
}

.imgCluster .w50,
.imgCluster .w100 {
	text-align: center;
	color: rgba(255,255,255,0.5);
}

.imgCluster .fileLabel {
	display: inline-block;
	margin-top: 5px;
}

.radioWrap {
	width: 50px;
}

.radioWrap input {
	display: none;
}

.radioWrap .helper, .checkboxStatus {
	position: relative;
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #ddd;
	cursor: pointer;
	flex-shrink: 0;
}

.radioWrap .helper::before,
.radioWrap .helper::after,
.checkboxStatus::before,
.checkboxStatus::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	height: 3px;
	width: 20px;
	transform: translate(-50%,-50%);
	background-color: #fff;
}

.radioWrap .helper::before,
.checkboxStatus::before {
	transform: translate(-50%,-50%) rotate(45deg);
}

.radioWrap .helper::after,
.checkboxStatus::after {
	transform: translate(-50%,-50%) rotate(-45deg);
}


.radioWrap.positive .helper::before,
.checkboxStatus.status-ja::before {
	transform: translate(-85%, 60%) rotate(45deg);
	width: 10px;
}
.radioWrap.positive .helper::after,
.checkboxStatus.status-ja::after {
	transform: translate(-25%, 0%) rotate(-45deg);
	width: 15px;
}

.radioWrap.positive input[type="radio"]:checked + .helper,
.checkboxStatus.status-ja {
	background-color: #32c896;
}

.radioWrap.negative input[type="radio"]:checked + .helper,
.checkboxStatus.status-nein {
	background-color: #963232;
}

input[type="checkbox"] {
	width: 20px;
	height: 20px;
	border-radius: 3px;
	border: 0;
}

.checkComment {
	display: none;
	margin-bottom: 0;
	margin-top: 10px;
}

.serviceWrap {
	position: absolute;
	top: 15px;
	right: 15px;
	display: flex;
	gap:10px;
}

.serviceWrap img {
	width: 30px;
	height: 30px;
}

.printContent * {
	color: #000 !important;
}

.printContent h2 {
	font-size: 20px;
	font-weight: bold;
}

.printContent th,.printContent td {
	text-align: left !important;
}

.fancybox-button.fancybox-button--zoom {
	display: none !important;
}

.fancybox-button--close svg, .fancybox-button--close svg path {
	fill: #ddd !important;
}

.fancybox-caption__body {
	color: #ddd !important;
}
.onlyPrint {
	display: none;
}

.serviceTable .btn {
	padding: 5px 15px;
}

.serviceTable th {
	text-align: left;
	padding: 10px 15px;
}

.processDetails {
	b {
		display: block;
		font-size: 0.85rem;
		font-weight: 400;
	}
	
	ul {
		margin-left: 25px !important;
		font-size: 0.85rem;
		padding-left: 0 !important;
		
		li {
			font-size: 0.85rem;
		}
	}
	
	th {
		white-space: nowrap;
	}
	
	.alignLeft {
		text-align: left !important;
	}
}

.signatureLabel {
	display: block;
	padding-top: 10px;
	border-top: 1px solid #000;
	width: 95%;
}
.signatureWrap {
	width: 150px;
	height: 65px;
}



@media print {
	* {
		background-color: #fff !important;
	}
	
	.onlyPrint {
	display: block;
}

.onlyScreen {
	display: none;
}

	tr.onlyPrint {
	display: table-row;
}
	
	.pageContent {
		padding-bottom: 0 !important;
		padding-top: 0 !important;
	}
	
	.toDoDetails {
		position: relative;
		top: -75px;
		margin: 0 !important;
	}
	
	.toDoDetails th, .processDetails th {
	width: 250px;
	white-space: nowrap;
	color: #888 !important;
}

	.toDoDetails table, .processDetails table {
width: 100%;
}
	
	.toDoDetails th,
	.toDoDetails th *,
	.toDoDetails td,
	.toDoDetails td *,
	.processDetails th,
	.processDetails th *,
	.processDetails td,
	.processDetails td * {
	font-size: 12px !important;
	font-weight: normal !important;
}

.serviceTasksDetails {
	td {
		font-weight: 300 !important;
	}
	th {
		font-weight: 400 !important;
	}
}
	
  .header, .footer, section {
	  display: none !important;
  }
  section h2,
  section .btn {
	  display: none;
  }
  .qrSectionWrap, .qrSection {
	  display: block !important;
	  width: 100%;
	  height: auto;
	  margin: 0;
	  padding: 0;
  }
  
  .mashineDataPrint {
	  display: block;
  }
  
  .toDoDetails,
  .toDoDetails section,
  .processDetails,
  .processDetails section {
	  display: block !important;
  }
  
  .toDoDetails *,
  .processDetails * {
	  color: #000 !important;
	  text-align: left !important;
	  padding-left: 0 !important;
	  margin-left: 0 !important;
	}
  
  .toDoDetails h2,
  .processDetails h2 {
	  display: block !important;
	  color: #888 !important;
  }
  
  .toDoDetails h2.sectionHeadline,
  .processDetails h2.sectionHeadline {
	  font-size: 14px;
	  color: #444 !important;
  }
  
  
  .toDoDetails td,
  .toDoDetails th,
  .processDetails td,
  .processDetails th {
	  border-bottom: 1px solid #aaa !important;
  }
  
  .toDoDetails section,
  .processDetails section {
	  padding-top: 0 !important;
	  padding-bottom: 5px !important;
  }
  .toDoDetails section.hideOnPrint,
  .processDetails section.hideOnPrint {
	  display: none !important;
  }
  
  .wrapTable .wrapTR {
	background-color: transparent;
	
	> th,
	> td {
		padding: 0;
		margin: 0;
		background-color: transparent;
		vertical-align: top;
		border: none !important;
		}
	}
  
}

.eigentuemerName, .lagerort {
  display: none;
}


.eigentuemerSelect:has(> select option:checked:is([value="1"])) > .eigentuemerName {
  display: block;
}

.eigentuemerSelect:has(> select option:checked:is([value="2"])) > .lagerort {
  display: block;
}

.notification {
	position: fixed;
	z-index: 1000;
	top:-200px;
	left: 50%;
	width: auto;
  max-width: 90vw;
  height: auto;
	  transform: translate(-50%,-50%);
	  background-color: #99cc99;
	  color: #fff;
	  padding: 15px 20px;
	  transform: translateX(-50%);
	  border-radius: 20px;
}
.notification.error {
	background-color:#990000;
}

.popupBG {
	background-color: rgba(0,0,0,0.5);
	position: fixed;
	z-index: 1000;
	top:0;
	left: 0;
	width: 100vw;
	height: 100vh;
	display: none;
}

.popupContent {
	position: absolute;
  width: auto;
  max-width: 85vw;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 20px;
  background-color: #ab3537;
  padding: 15px;
  text-align: center;
  color: #fff;
}

.popupContent .btn {
	padding: 10px !important; 
}

.popupContent p {
	padding: 15px 15px 0 15px !important;
	margin-top: 0;
	color: rgba(255,255,255,0.75);
	}
	
	
.template-service,
.template-serviceTasks,
.template-addServiceTask,
.template-editServiceTask,
.template-serviceMietpark,
.template-kundenmaschinen,
.template-serviceTaskDetails {
	.header,
	.btnSubmit {
		background-color: #b9baba;
	}
}

body.template-serviceTaskDetails {
	background-color: #fff !important;
	height: auto;
	min-height: 100%;
	
	h1.sectionHeadline {
		letter-spacing: 1px;
		font-size: 30px;
	}
	
	p {
		font-size: 0.85rem;
	}
	
	h2.sectionHeadline {
		padding-left: 0 !important;
	}
	.borderBottom {
		border-bottom: 2px solid #000;
	}
	
	.tableSection {
		padding-top: 5px;
		
		td {
			padding-left: 5px !important
		}
	}
}

.btnService {
	background-color: #b9baba;
}

.loadingRing {
  display: inline-block;
  position: absolute;
  width: 80px;
  height: 80px;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.loadingRing div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #fff;
  border-radius: 50%;
  animation: loadingRing 1.2s cubic-bezier(0.5, 0, 0.8, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.loadingRing div:nth-child(1) {
  animation-delay: -0.45s;
}
.loadingRing div:nth-child(2) {
  animation-delay: -0.3s;
}
.loadingRing div:nth-child(3) {
  animation-delay: -0.15s;
}



@keyframes loadingRing {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

