@CHARSET "UTF-8";

/*****************************************************************************/
/*******************************     header     ******************************/
/*****************************************************************************/

#page {
	position: relative;
}

#header {
	position: relative;
	display: flex;
	height: 70px;
	background-color: white;
	background-image: url('../images/header-background.jpg');
	background-repeat: no-repeat;
	background-position: top left;
	z-index: 10;
}

.headerLeft {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
}

.headerRight {
	flex: 0 0 auto;
	margin-left: auto;
}

#headerLogo {
	position: absolute;
	top: 1px;
	left: 0px;
}

#headerLangSelect {
	position: absolute;
	top: 5px;
	left: 219px;
}

#headerPhoneList {
	position: absolute;
	top: 36px;
	left: 266px;
}

#headerPhoneList img {
	width: 46px;
	height: 32px;
}

#headerSmsSender {
	position: absolute;
	top: 5px;
	left: 280px;
}

#headerSmsSender img {
	width: 32px;
	height: 32px;
}

.headerLinks {
	margin: 0;
	text-align: left;
	font-weight: bold;
	list-style: none;
}

/* Takes whatever width is left between the fixed left icons and the right part (search, user),
   so it can never overlap them; the birthday ticker adapts via container queries on this element. */
#headerAppsLinks {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  margin-left: 330px;
  container-type: inline-size;
  display: flex;
  gap: 24px;
  padding: 0;
}

#headerAppsLinks li {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  height: 66px;
}

@container (max-width: 320px) {
  #headerAppsLinks a span {
    display: none;
  }
}

#headerAppsLinks a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.2;
}

#headerAppsLinks img {
  width: 40px;
  height: 40px;
}

.headerLinks #callIcon_1 {
	 margin-left: 1px;
	 width: 14px;
	 height: 14px;
 }

.headerLinks li {
  line-height: 22px;
}
.headerLinks img {
  vertical-align: middle;
  width: 16px;
  height: 16px;
}
.headerLinks a {
  text-decoration: none;
}

/* Environment badge: fixed overlay, must never push page content around */
.dev-warning {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 2000;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px 6px 10px;
	border-radius: 999px;
	background: linear-gradient(135deg, #FF8A65, #E64A19);
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	box-shadow: 0 4px 14px rgba(230, 74, 25, 0.4);
	pointer-events: none;
	user-select: none;
}

.dev-warning-icon {
	font-size: 18px;
	line-height: 1;
}

.dev-warning-text {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 2px;
	line-height: 1.1;
}

.dev-warning-text small {
	display: block;
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.3px;
	opacity: 0.9;
}

@media print {
	.dev-warning {
		display: none;
	}
}

#headerExternalAccessAlert {
	position: absolute;
	top: 21px;
	left: 405px;
	width: 40px;
	height: 39px;
	border: 4px solid red;
}

#headerExternalAccessAlertMessage {
	position: absolute;
	top: 38px;
	left: 455px;
	font-weight: bold;
}

#headerGraph {
	position: absolute;
	top: 0;
	right: 20px;
}

#quickLinks {
	margin-top: 5px;
	float:right;
	margin-right:40px;
}

#activeUser {
	float:right;
	margin-right:30px;
	text-align: right;
}

#activeUser .userName {
	padding-top:8px;
	font-size: 14pt;
	color: gray;
}

.statusNotAtWork {
	color: #AA0000;
	font-weight: bold;
}

.statusNotWorking {
	color: rgb(183,40,39);
	font-weight: bold;
}

.statusLunch {
	color: rgb(87,145,69);
	font-weight: bold;
}

.statusWorkOutsideOfOffice {
	color: rgb(215,127,47);
	font-weight: bold;
}

.statusWorkInOffice {
	color: rgb(0,58,108);
	font-weight: bold;
}

.statusPrivateActivities {
	color: rgb(240,183,4);
	font-weight: bold;
}

.statusVacationCalendar {
	color: #EC0C00;
	font-weight: bold;
}

.statusHomeoffice {
  color: rgb(210, 183, 158);;
  font-weight: bold;
}

#attendanceList td.checkbox-cell{
	padding: 0;
	width: 10px;
}

#attendanceList td.checkbox-cell input[type=checkbox]{
	margin: 0;
}

.attendanceBar {
	margin: 1px 0 1px 1px;
	height: 8px;
}

.barNotWorking {

}

.barLunch {
	background-color: rgb(87,145,69) !important;
}

.barWorkOutsideOfOffice {
	background-color: rgb(215,127,47) !important;
}

.barHomeoffice {
  background-color: rgb(210, 183, 158) !important;
}

.barWorkInOffice {
	background-color: rgb(0,58,108) !important;
}

.barPrivateActivities {
	background-color: rgb(240,183,4) !important;
}

.barVacationCalendar {
	background-color: #EC0C00 !important;
}


#flashMessages {
	margin-bottom: 10px;
}

#errorMessages .ui-widget, #warningMessages .ui-widget, #infoMessages .ui-widget {
	float:left;
}

#errorMessages .ui-state-error, #infoMessages .ui-state-highlight, #warningMessages .ui-state-highlight {
	margin:2px;
	padding: 4px 13px 4px 4px;
}

#errorMessages .ui-icon, #warningMessages .ui-icon, #infoMessages .ui-icon, .invalidEmails .ui-icon {
	float: left;
	margin-right: .3em;
}


li.errorItem {
	list-style-image: url("/images/ico-error-small.png");
}

li.warningItem {
	list-style-image: url("/images/ico-warning-small.png");
}

table.directSearch input {
	margin: 0px;
	width: 200px;
}