@font-face {
	font-family: "Helvetica Now Regular";
	src:url(../fonts/HelveticaNowDisplay-Regular.otf) format("opentype");
}
@font-face {
	font-family: "Helvetica Now Regular Italic";
	src:url(../fonts/HelveticaNowDisplay-RegularIta.otf) format("opentype");
}
@font-face {
	font-family: "Helvetica Now Bold";
	src:url(../fonts/HelveticaNowDisplay-Bold.otf) format("opentype");
}


html {
	min-height: 100vh;
}
body {
	min-height: 100vh;
	font-family: "Helvetica Now Regular", sans-serif;
    line-height: 1.3;
}
main {
	min-height: calc(100vh - 120px);
	margin-top: -110px;
}

body {
  background-color: hsl(0, 0%, 97%);
}
@media (min-width: 1200px) {
  main,
  header,
  footer,
  #main-navbar {
    /* padding-left: 240px; */
    padding-left: 70px;
  }
}

.text-transparent {
  color: transparent !important;
}
.text-light {
  color: #9FA6B2 !important;
}
.text-lightgray {
	color: lightgray !important;
}

.bg-aliceblue {
    background-color: aliceblue;
}
.bg-darkblue {
    background-color: darkblue !important;
}

.bg-lightgray {
	background-color: lightgray !important;
}
.bg-darkgray {
	background-color: #b3b3b3 !important;
}
.bg-darkred {
	background-color: darkred !important;
}
.bg-green {
	background-color: rgba(30, 126, 52, 0.784) !important;
}
.bg-darkblue {
	background-color: rgba(0, 0, 128, 0.784) !important;
}
.bg-dhbrown {
	background-color: rgba(199, 174, 133, 1) !important;
}
.bg-orange {
	background-color: #FB8C00 !important;
}
.bg-whitesmoke {
	background-color: #F4F4F4;
}


.c-white { color: white; }
.c-red { color: red; }
.c-darkred { color: darkred; }
.c-green { color: green; }
.c-orange { color: orange; }
.c-gray { color: gray; }
.c-lightgray { color: lightgray; }


.cursor-pointer {
	cursor: pointer !important;
}
i.fas.cursor-pointer {
	pointer-events: auto;
}
.cursor-default {
	cursor: default;
}

i.fas,
i.far {
	pointer-events: none;
}

/**************************************
	- Responsive Spacing
**************************************/
.spc-address {
	min-width: 230px;
}
.spc-contact {
	min-width: 180px;
}
.spc-companyname {
	min-width: 150px;
}
.spc-jobtitle {
	min-width: 300px;
	width: 300px;
}
.spc-tags {
	min-width: 150px;
}
.spc-venuename {
	min-width: 200px;
}
.spc-fullname {
	min-width: 140px;
}
.spc-firstname {
	min-width: 100px;
}
.spc-lastname {
	min-width: 100px;
}
.spc-datetime {
	min-width: 140px;
}
.spc-actions-1 {
	min-width: 80px;
	width: 80px;
}
.spc-actions-2 {
	min-width: 120px;
	width: 120px;
}
.spc-actions-3 {
	min-width: 170px;
	width: 170px;
}
.spc-actions-4 {
	min-width: 180px;
	width: 180px;
}
.spc-card-header-actions-2 {
	min-width: 100px;
	width: 100px;
}
.spc-card-header-actions-3 {
	min-width: 140px;
	width: 140px;
}
.spc-card-body-table-desc {
	min-width: 180px;
	width: 180px;
}

.line-clamp-2 {
	-webkit-line-clamp: 2;
	/* autoprefixer: off */
	-webkit-box-orient: vertical;
	/* autoprefixer: on */
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	white-space: normal;
}

.contacts-icon {
  width: 20px;
}




.page-headline {
	color: white;
	font-size: 1.5rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}


/**************************************
	-- Navigation
**************************************/
#main-sidenav .logo-hg {  
	display: inline-block;
	width: 1.75em;
	height: 1.75em;
	stroke-width: 0;
	stroke: currentColor;
	fill: #9d9d9d;
	margin-left: 4px;
}
#main-sidenav .companyname {
	font-size: 26px;
	line-height: 1;
	/* font-family: ivyjournal; */
	margin-top: 0px;
}
#main-navbar .logo-hg {  
	display: inline-block;
	width: 2.25em;
	height: 1.5em;
	stroke-width: 0;
	stroke: currentColor;
	fill: #9d9d9d;
	margin-left: 5px;
}
.rotate-icon {
	right: -5px;
}
.sidenav-collapse .sidenav-link {
	padding-left: 3.4rem;
}
.sidenav-link.current {
	background-color: hsla(0,0%,97.6%,.05);
}

.card-header-tabs {
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	margin-bottom: -1rem;
}
.card-header-tabs .nav-link {
	white-space: nowrap;
}
.card-header-tabs + .card-header-actions {
	margin-left: 1rem !important;
}




/**************************************
	-- Global Search
**************************************/
#globalsearchcontent {
	position: absolute;
	padding-top: 0;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
	width: calc(100% - 1.5rem);
	right: 0.75rem;
	max-height: 19rem;
	overflow-y: auto;
	overflow-x: hidden;
  
	top:50px;
	background-color: #fff;
	background-clip: padding-box;
	border-radius: .25rem;
	z-index: 1050;
  
	display:none;
}
#globalsearchcontent.show {
    display: block;
}
@media (min-width: 576px) {
  #globalsearchcontent {
    position: absolute;
    width: auto;
    min-width: 18.75rem;
    left: calc(70px + 0.375rem);
	right: auto;
  }
  #globalsearchcontent .dropdown-globalsearch-item .dropdown-globalsearch-item-content .dropdown-globalsearch-item-content-text {
    max-width: 13rem;
  }
}
#globalsearchcontent .dropdown-globalsearch-item {
  padding: .5rem;
  border-bottom: 1px solid #e3e6ec;
}
#globalsearchcontent .dropdown-globalsearch-item .dropdown-globalsearch-item-content .dropdown-globalsearch-item-content-text {
  font-size: 0.9rem;
  font-weight: 300;
  max-width: calc(100vw - 8.5rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#globalsearchcontent .dropdown-globalsearch-item .dropdown-globalsearch-item-content .dropdown-globalsearch-item-content-text i.fas {
	width: 20px;
	text-align:center;
}
#globalsearchcontent .dropdown-globalsearch-footer {
	display: flex;
    -webkit-box-align: center;
    align-items: center;

  -webkit-box-pack: center;
          justify-content: center;
  font-size: 0.8rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #a2acba;
  cursor: pointer;
}
#globalsearchcontent .dropdown-globalsearch-footer:active {
  color: #fff;
}




/**************************************
	-- Modal
**************************************/
.modal .modal-footer .btn {
	box-shadow: none !important;
}
@media (min-width: 768px) {
	.modal .modal-dialog.modal-right {
		top: 0px;
		right: 0px;
	}
	.modal .modal-dialog.modal-right .modal-content {
		border-top-right-radius: 0px;
		border-bottom-right-radius: 0px;
		/* border-radius: 0px; */
	}
	.modal .modal-dialog.modal-full-height,
	.modal .modal-dialog.modal-full-height .modal-content {
		height: 100vh;
	}
}

@media (min-width: 768px) {
	.modalEventsDashboardPositionsAddStaff .modal-dialog {
		max-width: 1500px;
	}
}



/**************************************
	-- Tables
**************************************/
.table-responsive a {
	color: inherit;
}

.table-responsive tr th,
.table-responsive tr td {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.table-small tr th,
.table-small tr td {
	padding-top: 0.25rem !important;
	padding-bottom: 0.25rem !important;
	padding-left: 0.25rem !important;
	padding-right: 0.25rem !important;
}
:not(.content-card) > .table-responsive > .table > :not(caption) > * > * {
	padding-left: 0.4rem;
	padding-right: 0.4rem;
}

.table-responsive tbody td.actions a:not(:first-of-type) {
	margin-left: .375rem;
}

@media (max-width: 991px) {
	.content-card > .table-responsive > .table {
		white-space: nowrap;
	}
}


.table-responsive tr div {
	max-height:none;
}



.table-responsive table#livesearchcontent #loading-placeholder {
	min-height: 120px;
}



.containerLivesearch {
	margin-bottom: .5rem;
}
.containerLivesearch > div:first-of-type:not(:last-of-type) {
	width: 100px;
}
.containerLivesearch > div:last-of-type {
	/*width: 40%;
	max-width: 150px;*/
}
#txtLivesearch {
	width: 150px;
	max-width: 150px;
}
#livesearchcontent {
	white-space: nowrap;
}


.tbl-expand-rows .fas {
	-webkit-transition: -webkit-transform .25s ease-in-out;
		-ms-transition: -ms-transform .25s ease-in-out;
			transition: transform .25s ease-in-out;  
}
.show .tbl-expand-rows .fas {
	-webkit-transform: rotate(90deg);
			transform: rotate(90deg);
}


#table-objects-positionen {
	font-size: .8rem;
}



/**************************************
	-- Cards
**************************************/
.card-header-actions {
	padding-top: .25rem;
}
.card-header-actions .btn {
	box-shadow: none;
}
.card-header-actions .dropdown-toggle::after {
	display: none;
}

.content-card {
	box-shadow: none;
	border: 1px solid rgba(0,0,0,0.16);
	margin-bottom:1rem;
}
.content-card .card-header {
	padding: .5rem 1.5rem;
	background-color: lightgray;
}
.content-card .card-header a:not(.btn) {
	color: inherit;
}
.content-card .card-header-actions {
	padding-top: 0px;
}
.content-card .card-header-actions .btn {
	box-shadow: none;
}

.content-card > .table-responsive tr th,
.content-card > .table-responsive tr td {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.content-card > .table-responsive .table-y-sm tr th,
.content-card > .table-responsive .table-y-sm tr td {
	padding-top: 0.1rem;
	padding-bottom: 0.1rem;
	vertical-align: middle;
}

.content-card > .table-responsive tbody tr:last-of-type td {
	border-bottom: 0;
}



/**************************************
	-- Forms
**************************************/
.select-wrapper .select-arrow::before {
	font-family: "Font Awesome 5 Free";
	content: "\f0dc";
	font-weight: 900;
}
.select-wrapper .select-arrow {
	top: 9px;
}

.form-control.is-valid,
.form-control.is-invalid,
.form-check-input.is-valid ~ .form-check-label,
.form-check-input.is-invalid ~ .form-check-label {
	margin-bottom:0px;
}

.search-table-itemsperpage .select-input {
	height: 29.5px;
}
.search-table-itemsperpage .select-wrapper .select-arrow {
	top: 7px;
}

.checkbox-align {
	margin-top: .1rem;
}
input[type=checkbox] {
	-ms-user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}



/**************************************
	-- Accordion
**************************************/
.accordion--custom .accordion-header {
	display: flex; /* make flex element */
	align-items: center; /* aligning child items */
	column-gap: 0.25rem; /* adding gap between items in row */
	padding-left: 1rem;
}

/* small udjustments */
.accordion--custom .accordion-header .accordion-button {
	padding-left: 0;
	background: none;
}

.accordion--custom .accordion-button:not(.collapsed) {
	box-shadow: none;
}



/**************************************
	-- Badges
**************************************/
.badge {
	cursor: default;
}






.card-login .card-header {
	background-color: #343a40;
	color: #fff;
}
.card-login .card-header .companyname {  
	font-size: 30px;
	line-height: 1;
	margin-top: -1px;
}




.slim-staff-profilbild {
	max-width: 250px;
	margin-left: calc(50% - 125px);
}


.container-events-projects-positionen-actions a {
	color: inherit;
}
.container-events-projects-positionen-actions span[data-mdb-toggle="tooltip"]:not(:first-of-type) {
	margin-left: .375rem;
}





.calendar-day,
.calendar-noday {
	width: 100%;
	margin-bottom: 0.25rem;
	margin-left: 0.25rem;
	margin-right: 0.25rem;
}
.calendar-day {
	border: 1px solid #383737;
	border-radius: 3px;
}
.calendar-noday {
	border: 1px solid white;
}
@media (min-width: 1200px) {
	.calendar-day,
	.calendar-noday {
		width: calc(100% / 7 - 8px);
		max-width: calc(100% / 7 - 8px);
	}
}

.calendar-day .toggleCalendarWeek {
	background-color: #EEEEEE;
}

.calendar-weekitem {
	height: 0;
	opacity: 0;
	transition: opacity 0.5s linear;
    overflow: hidden;
	font-size: 0.9rem;
}
.calendar-weekitem.show {
	height: auto;
	opacity: 1;
}
.calendar-project-content {
	height: 0;
	opacity: 0;
	transition: opacity 0.5s linear;
    overflow: hidden;
}
.calendar-project-content.show {
	height: auto;
	opacity: 1;
}

.calendar-project-title > div:first-of-type {
    width: 90%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.calendar-project-title .calendar-project-expand i.fas {
    -webkit-transition: -webkit-transform .25s ease-in-out;
    -ms-transition: -ms-transform .25s ease-in-out;
    transition: transform .25s ease-in-out;  
}
.calendar-project-title.show .calendar-project-expand i.fas {
	-webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}



/**************************************
	-- Objektschutz
**************************************/
.table-object {
	position: relative;

	border-collapse: separate; /* Don't collapse */
	border-spacing: 0;
}
.table-object tr th {
	z-index: 200;
}
.table-object tr.row1 th {
	height: 43px;
}
.table-object tr.row2 th {
	height: 43px;
}
.table-object-sticky tr th {
	position: sticky;
}
.table-object-sticky tr.row1 th {
	top: 55px; /* Don't forget this, required for the stickiness */
}
.table-object-sticky tr.row2 th {
	top: 98px; /* Don't forget this, required for the stickiness */
}
.table-object-sticky tr.row3 th {
	top: 141px; /* Don't forget this, required for the stickiness */
}
.table-object tr th:not(.isWeekend):not(.isHoliday) {
	background-color: #fff;
}



.table-object tr th:not(.object-day),
.table-object tr td:not(.object-day) {
	padding-top: 0.25rem !important;
	padding-bottom: 0.25rem !important;
	padding-left: 0.25rem !important;
	padding-right: 0.25rem !important;
}

.table-object tr th.activedrop,
.table-object tr th div.activedrop,
.table-object tr td.activedrop {
	background-color: lightgreen;
	border-color: lightgreen;
}
.table-object tr th.activedrop .object-shift,
.table-object tr th div.activedrop .object-shift,
.table-object tr td.activedrop .object-shift,
.table-object tr td.activedrop > a {
	pointer-events: none;
	opacity: 0.3;
}
.table-object tr .isWeekend {
	background-color: #eee;
}
.table-object tr .isHoliday {
	background-color: #f5e8d7;
}
.table-object tr th.activedrop .object-shift:last-child,
.table-object tr td.activedrop .object-shift:last-child {
	/*margin-bottom: 2rem !important;*/
}
.table-object tr th div.activedrop {
	/*padding-bottom: 2rem;*/
}

.object-day-stats {
	text-align: center;
	padding-top: 0.15rem !important;
	padding-bottom: 0.15rem !important;
	vertical-align:middle;
}


.object-stats-position,
.object-stats-comment {
	width: 184px;
	overflow-x: hidden;
}
.object-stats-area div,
.object-stats-comment div,
.object-stats-position div {
	display: inline-block;
}
.object-stats-area div:first-of-type,
.object-stats-comment div:first-of-type,
.object-stats-position div:first-of-type {
	/*width: 25px;*/
}

.btn-expand-openshifts {
	position:absolute;
	bottom: 3px;
	right: 5px;
	z-index: 1;
	cursor:pointer;
}
.btn-expand-openshifts .fas {
	transition: 0.2s;
}
.btn-expand-openshifts.active .fas {
	-webkit-transform: rotate(-180deg);
  	transform: rotate(-180deg);
}




.object-day {
	text-align: center;
	padding:0px !important;
	position: relative;
}
th.object-day div.droptarget {
	max-height:none;
	min-height:62px;
}
.object-day.absence {
	background-color:#eee;
	vertical-align:middle;
}
.object-day.absence.absence-with-shifts {
	background-color: #dc4c64;
  	color: white;
}
.object-day:not(.absence) {
	vertical-align:top;
}
.object-day.staff-available::after,
.object-day.staff-unavailable::after {
	content: "";
	display: block;
	height: 11px;
	width: 11px;
	border-radius: 4px;

	position:absolute;
	top: 3px;
	right: 3px;
	z-index: 1;
}
.object-day.staff-available::after {
	background-color: #14a44d;
	border: 1px solid #14a44d;
}
.object-day.staff-unavailable::after {
	background-color: #dc4c64;
	border: 1px solid #dc4c64;
}
.object-further-positions {
	font-size: .7rem;
	color: #757575 !important;
	margin-top: .25rem;
}





.object-shift {
	-ms-user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	user-select: none;
	padding-top: .25rem !important;
	padding-bottom: .25rem !important;

	position: relative;
	z-index:100;
}
.object-day .object-shift:not(:last-child) {
	margin-bottom: 2px;
}
.object-shift.confirmed {
	border-top:2px solid #14a44d;
	border-bottom: 2px solid gray;
	background-color: #fff;
}
.object-shift.pending {
	border-top:2px solid #e4a11b;
	border-bottom: 2px solid gray;
	background-color: #fff;
}
.object-shift.default {
	border-top:2px solid gray;
	border-bottom: 2px solid gray;
	background-color: #fff;
}
.object-shift.shift-selected {
	background-color: #14a44d;
}

.object-shift.confirmed,
.object-shift.pending,
.object-shift.default {
	cursor: grab;
}
.object-shift.pos-abgerechnet {
	cursor: pointer;
}

.object-shift.pos-abgerechnet:after {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 9px;
	content: "\f00c";

	position: absolute;
	z-index: 101;

	bottom: 0px;
	left: 2px;
}
.object-shift.sub-pending:before,
.object-shift.sub-declined:before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 9px;

	position: absolute;
	z-index: 101;

	bottom: 0px;
	right: 2px;
}
.object-shift.sub-pending:before {
	content: "\f254";
	color: #e4a11b;
}
.object-shift.sub-declined:before {
	content: "\f00d";
	color: #dc4c64;
}

.object-shift.pos-invisible:before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 9px;

	position: absolute;
	z-index: 101;

	top: 0px;
	left: 0px;
}
.object-shift.pos-invisible:before {
	content: "\f070";
	color: #dc4c64;
}





.object-shift.othershift {
	width: 100%;
	color: #4f4f4f;
	background-color:#eee;
	border-top:2px solid lightgray;
	border-bottom: 2px solid lightgray;
}



.object-sub-headrow {
	position: relative;
}
.object-sub-headrow .object-sub-expandchilds {
	cursor: pointer;
	position: absolute;
	top: 5px;
	right: 7px;
}
.object-sub-headrow .object-sub-expandchilds .fas {
	transition: 0.2s;
}
.object-sub-headrow .object-sub-expandchilds.show .fas {
	-webkit-transform: rotate(90deg);
  	transform: rotate(90deg);
}

tr.object-sub-staff {
	transition: 0.2s;
}
tr.object-sub-staff td {
	background-color: #eee;
}





.object-return-shift,
.object-del-shift {
	position: relative;
	width: 50px;
	height: 30px;

	border-radius: 3px;
	border: 1px dotted #aaa;

	display: inline-block;
}
.object-return-shift.activedrop,
.object-del-shift.activedrop {
	padding-bottom: 0px !important;
}
.object-return-shift:after {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: .8rem;
	content: "\f3e5";

	position: absolute;
	z-index: 101;

	top: calc(50% - 8.5px);
	left: calc(50% - 6.5px);
}
.object-del-shift:after {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: .8rem;
	content: "\f1f8";

	position: absolute;
	z-index: 101;

	top: calc(50% - 8.5px);
	left: calc(50% - 5.5px);
}






/* Borders */
.table-object th {
	border-bottom: 1px solid #e0e0e0;
	border-left: 1px solid #e0e0e0;
}
.table-object td {
	border-bottom: 1px solid #e0e0e0;
	border-left: 1px solid #e0e0e0;
}
.table-object tr th:last-child,
.table-object tr td:last-child {
	border-right: 1px solid #e0e0e0;
}
.table-object tr:first-child th {
	border-top: 1px solid #e0e0e0;
}
.table-object thead tr:last-child th {
	border-bottom: 2px solid darkgray !important;
}






/* numbered pin */
.leaflet-div-icon.numbered-pin {
  background: #ff5722;
  border: 2px solid white;
  border-radius: 50%;
  color: white;
  font-weight: bold;
  text-align: center;
  line-height: 30px; /* = height */
  width: 30px;
  height: 30px;
}
/* future‐segment style */
.leaflet-polyline-future {
  stroke-dasharray: 8, 6;
  opacity: 0.4;
}
/* legend swatch */
.legend-item {
  display: inline-flex;
  align-items: center;
  margin-right: 1rem;
}
.legend-color {
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
  border: 1px solid #333;
}