@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	src: url('Fonts/OpenSans.woff2') format('woff2');
}

.red { color:Red!important; }

.text-bold {
	font-weight: 700;
}

.text-small {
	font-size: 12px;
}

.text-preview {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.version-number {
	font-size: 11px;
	position: fixed;
	bottom: 10px;
	right: 10px;
}

.display-none {
	display: none;
}

.display-none-important {
	display: none !important;
}

.display-inline {
	display: inline;
}

.display-block {
	display: block;
}

.display-inline-block {
	display: inline-block;
}

.hidden {
	visibility: hidden;
}

.word-wrap-anywhere {
	word-wrap: anywhere;
}

.header-small {
	display: block;
	font-size: 14px;
	font-weight: 700;
	margin: 0;
}

.margin-top-big {
	margin-top: 10px;
}

.margin-bottom-big {
	margin-bottom: 20px;
}

.margin-bottom-small {
	margin-bottom: 12px;
}

html {
	background-color: rgb(247, 247, 247);
}

body {
	color: black;
	font-family: "Open Sans", sans-serif;
	margin: 0px;
	padding: 0px;
}

button {
	font-family: "Open Sans", sans-serif;
}

a, .text-link {
	color: blue;
	text-decoration: underline;
	cursor: pointer;
}

a:focus {
	outline: thin solid grey;
}

img {
	border: 0; /* IE 10 fix to remove border */
	vertical-align: middle; /* för att centrera bild-länkar */
}

.content-container {
	max-width: 640px;
	margin-right: auto;
	margin-left: auto;
	position: relative;
	top: 50px; /* höjden på mobile-header */
	padding: 10px;
}

.window-body .content-container { /* Override for content-container in a window/dialog */
	top: 0; /* No mobile-header in a window/dialog */
}

.footer-on {
	padding-bottom: 60px !important; /* höjden på mobile-footer + 10px. */
}

.info-panel {
	margin-bottom: 20px;
}

.info-panel:last-of-type {
	margin-bottom: 0;
}

.required-label {
	color: rgb(199, 56, 49);
}

.notification-panel {
	background-color: rgb(255, 240, 176); /* secondary color, lum 99% */
	padding: 10px;
	text-align: center;
	margin-bottom: 20px;
}

.file-link {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 10px;
	background-color: rgb(255, 252, 239);
	border: thin solid grey;
	border-top: none;
}

.file-link:first-of-type {
	border-top: thin solid grey;
}

.file-link:hover {
	background-color: rgb(255, 237, 140);
}



/*--------------------------------*/
/* Icon */

.icon-inactive {
	opacity: .5;
}

.icon-disabled {
	opacity: .25;
	cursor: not-allowed !important;
}

.icon-flipped {
	-webkit-transform: rotateX(180deg); /* Safari */
	transform: rotateX(180deg);
}

.icon-arrow {
	height: 16px;
	width: 16px;
	-webkit-transition: -webkit-transform .2s; /* Safari */
	transition: transform .2s;
}

.icon-32x32 {
	height: 32px;
	width: 32px;
}

.icon-24x24 {
	height: 24px;
	width: 24px;
}

.icon-16x16 {
	height: 16px;
	width: 16px;
}

.icon-8x8 {
	height: 8px;
	width: 8px;
}

.icon-pulse-red {
	border-radius: 50%;
	box-shadow: 0 0 0 rgba(255,0,0, 0.7);
	animation: icon-pulse-red 1s infinite;
}
@keyframes icon-pulse-red {
	0% { box-shadow: 0 0 0 0 rgba(255,0,0, 0.7); }
	70% { box-shadow: 0 0 0 8px rgba(255,0,0, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255,0,0, 0); }
}



/*--------------------------------*/
/* Header */

.mobile-header, .mobile-header-notfixed {
	-ms-flex-align: center; /* IE 10 fix */
	-webkit-align-items: center; /* Safari fix */
	align-items: center;
	background-color: rgb(69, 45, 137); /* primary color */
	border: thin solid rgb(49, 27, 111); /* primary color, lum 17% */
	box-sizing: border-box;
	color: white;
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	height: 50px;
	-ms-flex-pack: justify; /* IE 10 fix */
	-webkit-justify-content: space-between; /* Safari fix */
	justify-content: space-between;
	top: 0;
	width: 100%;
	z-index: 50;
}

.mobile-header {
	position: fixed;
}

.header-title {
	font-size: 20px;
	font-weight: 400;
	margin: 0;
	overflow: hidden;
	white-space: nowrap;
}

.header-icon {
	cursor: pointer;
	height: 24px;
	min-height: 24px;
	min-width: 24px;
	padding: 10px;
	width: 24px;
}

.header-logo {
	width: 100px;
}



/*--------------------------------*/
/* Footer */

.mobile-footer {
	-ms-flex-align: center; /* IE 10 fix */
	-webkit-align-items: center; /* Safari fix */
	align-items: center;
	background-color: rgb(69, 45, 137); /* primary color */
	border: thin solid rgb(49, 27, 111); /* primary color, lum 17% */
	box-sizing: border-box;
	color: white;
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	height: 50px;
	-ms-flex-pack: center; /* IE 10 fix */
	-webkit-justify-content: center; /* Safari fix */
	justify-content: center;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 49;
}

.footer-icon {
	height: 28px;
	width: 28px;
	min-height: 28px;
	min-width: 28px;
	cursor: pointer;
	margin: 0 16px;
	-webkit-transition: opacity .2s; /* Safari */
	transition: opacity .2s;
}

.footer-button {
	border: none;
	max-width: 75px;
	min-width: 75px;
	box-sizing: border-box;
	background: none;
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	-webkit-flex-direction: column; /* Safari */
	flex-direction: column;
	-ms-flex-pack: center; /* IE 10 fix */
	-webkit-justify-content: center; /* Safari fix */
	justify-content: center;
	-ms-flex-align: center; /* IE 10 fix */
	-webkit-align-items: center; /* Safari fix */
	align-items: center;
	cursor: pointer;
	margin: 0 8px;
	white-space: nowrap;
	padding: 0;
	-webkit-transition: opacity .2s; /* Safari */
	transition: opacity .2s;
	overflow: visible; /* IE & Iphone fix for nowrap */
}

.footer-button:disabled {
	opacity: .25;
	cursor: not-allowed;
}

.footer-button:focus {
	border: thin dotted rgb(255, 237, 140); /* secondary color, lum 91% */
	outline: thin solid rgb(255, 237, 140); /* secondary color, lum 91% */
}

.footer-button > span {
	font-size: 12px;
	color: white;
}

.footer-button > img {
	width: 24px;
	height: 24px;
}

.footer-item {
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	-ms-flex-align: center; /* IE 10 fix */
	-webkit-align-items: center; /* Safari fix */
	align-items: center;
	margin: 0 8px;
}

.footer-item-icon {
	width: 28px;
	height: 28px;
	margin-right: 8px;
	cursor: pointer;
}



/*--------------------------------*/
/* Kolumner */

.columns-container {
	display: flex;
}

.column {
	flex: 1;
	margin-right: 16px;
}

.column:last-child {
	margin-right: 0;
}



/*--------------------------------*/
/* Input */

.input-text, .input-note, .input-search-text, .input-text-inline, .input-text-inline-small {
	-webkit-appearance: none; /* Safari fix */
	background-color: white;
	border: thin solid grey;
	border-radius: 2px;
	box-sizing: border-box;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	margin-bottom: 20px;
	padding: 8px;
	resize: none;
}

.input-text, .input-note, .input-search-text {
	display: block;
	width: 100%;
}

.input-text:invalid, .input-note:invalid {
	box-shadow: none; /* Firefox adds a red border on invalid textboxes */
}

.input-text-inline, .input-text-inline-small {
	display: inline;
	margin-bottom: 12px;
}

.input-text-inline-small {
	width: 55px;
}

.input-note {
	margin-bottom: 0;
}

.input-text:last-child {
	margin-bottom: 0;
}

.input-text:focus, .input-note:focus, .input-search-text:focus, .input-text-inline:focus, .input-text-inline-small:focus {
	outline: none;
	border: thin solid cornflowerblue; /* primary color */
	box-shadow: 0px 0px .1em cornflowerblue; /* primary color */
}

.input-text-inline:disabled, .input-text-inline-small:disabled {
	background-color: lightgrey;
	cursor: not-allowed;
	color: grey;
}

.input-button {
	-webkit-appearance: none; /* Safari fix */
	cursor: pointer;
	color: black;
	background-color: rgb(239, 239, 239);
	border: thin solid grey;
	border-radius: 2px;
	box-sizing: border-box;
	display: block;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	padding: 10px;
	width: 100%;
}

.input-button:hover {
	background-color: rgb(223, 223, 223);
}

.input-button:disabled {
	cursor: not-allowed;
	background-color: rgb(239, 239, 239);
	color: grey;
}

.input-search-container {
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	margin-bottom: 20px;
}

.input-advanced-search-container {
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	margin-top: 20px;
	margin-bottom: 20px
}

.input-advanced-search-container > img {
	margin-right: 5px;
	margin-top: 2px;
}
.input-search-text {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	margin: 0;
}

.input-search-button {
	-webkit-appearance: none; /* Safari fix */
	background-color: rgb(239, 239, 239);
	border: thin solid grey;
	border-left: none;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	border-top-right-radius: 2px;
	border-bottom-right-radius: 2px;
	box-sizing: border-box;
	cursor: pointer;
	margin: 0;
	width: 75px;
	height: 41px;
	padding: 8px;
}

.input-search-button:hover {
	background-color: rgb(223, 223, 223);
}

.input-search-button:disabled {
	background-color: rgb(239, 239, 239);
	cursor: not-allowed;
	color: grey;
}

input[type="checkbox"] + label, input[type="radio"] + label {
	cursor: pointer;
}

input[type="checkbox"]:disabled + label, input[type="radio"]:disabled + label {
	cursor: not-allowed;
	color: grey;
}

input[type="checkbox"], input[type="radio"] {
	cursor: pointer;
}

input[type="checkbox"]:disabled, input[type="radio"]:disabled {
	cursor: not-allowed;
}

.input-checkbox-row {
	margin-right: 16px;
	display: inline-block;
}

select {
	cursor: pointer;

	/* Custom down-arrow background image to make up for the -webkit-appearance: none that we use for some reason */
	background-image: url("../SvgLoader.ashx?name=arrow-down.svg&color=000000");
	background-position: right center;
	background-repeat: no-repeat;
	background-size: 16px;
	background-origin: content-box;
}

select:disabled {
	cursor: not-allowed;
}

/*--------------------------------*/
/* Icon page */

.application-icon-noblock {
	height: 50px;
	margin-left: auto;
	margin-right: auto;
	width: 50px;
}

.application-icon {
	display: block;
	height: 50px;
	margin-left: auto;
	margin-right: auto;
	width: 50px;
}

.application-name {
	font-size: 14px;
	line-height: 16px;
	text-align: center;
}

.icon-page-container {
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	-webkit-flex-wrap: wrap; /* Safari fix */
	flex-wrap: wrap;
	margin-right: auto;
	margin-left: auto;
	position: relative;
	top: 60px; /* höjden på mobile-header + 10px */
	visibility: hidden;
}

.icon-page-item {
	background: none;
	margin: 0;
	padding: 0;
	border: none;
	cursor: pointer;
	min-height: 100px;
	opacity: 0;
	width: 100px;
	overflow-wrap: break-word;
}

.icon-page-item > span {
	display: inline-block;
	vertical-align: top;
	width: 100%;
}

.icon-page-item:after {
	content: "";
	display: inline-block;
	vertical-align: top;
	height: 100%;
}

.help-text {
	color: #737373;
	font-size: 14px;
}


/*--------------------------------*/
/* Helpdesk */

.helpdesk-base-category {
	margin-top: 10px;
}

.helpdesk-base-category:first-of-type {
	margin-top: 0;
}



/*--------------------------------*/
/* Sliding panel */

.sliding-panel.with-bottom-margin {
	margin-bottom: 10px;
}

.sliding-panel.with-bottom-margin:last-of-type {
	margin-bottom: 0;
}

.sliding-panel-header {
	background-color: rgb(69, 45, 137); /* primary color */
	border-bottom: thin solid rgb(29, 9, 84); /* primary color, lum 9% */
	border-right: thin solid rgb(29, 9, 84); /* primary color, lum 9% */
	border-top: thin solid rgb(127, 108, 181); /* primary color, lum 48% */
	border-left: thin solid rgb(127, 108, 181);  /* primary color, lum 48% */
	box-sizing: border-box;
	color: white;
	cursor: pointer;
	display: -ms-flexbox; /* IE 10 */
	display: -webkit-flex; /* Safari */
	display: flex;
	-ms-flex-align: center; /* IE 10 */
	-webkit-align-items: center; /* Safari */
	align-items: center;
	padding: 10px;
}

.sliding-panel-delete-container {
	display: flex;
	justify-content: flex-end;
}

.sliding-panel-header:hover {
	background-color: rgb(49, 27, 111); /* primary color, lum 17% */
}

.sliding-panel-header.with-top-margin {
	margin-top: 10px;
}

.sliding-panel-header-title {
	-webkit-flex-grow: 1; /* Safari */
	flex-grow: 1;
}

.sliding-panel-header-icon {
	width: 16px;
	height: 16px;
	-webkit-transition: -webkit-transform .2s; /* Safari */
	transition: transform .2s;
}

.sliding-panel-delete-icon {
	width: 30px;
	height: 30px;
	-webkit-transition: -webkit-transform .2s; /* Safari */
	transition: transform .2s;
}

.sliding-panel {
	display: none;
}

.sliding-panel-item {
	background-color: rgb(255, 252, 239); /* secondary color, lum 99% */
	padding: 10px;
	cursor: pointer;
	border: thin solid grey;
	border-top: none;
}

.sliding-panel-item:hover {
	background-color: rgb(255, 237, 140); /* secondary color, lum 92% */
}



/*--------------------------------*/
/* Table */

table {
	border-collapse: collapse;
}

td {
	padding: 0;
}

.table {
	border: thin solid red;
}

.table td {
	border: thin solid red;
	padding: 16px;
}



/*--------------------------------*/
/* Tabs */

.tab-row {
	display: flex;
	background-color: dimgrey;
	overflow: auto;
}

.tab-row > button {
	cursor: pointer;
	padding: 5px 10px;
	border: none;
	font-size: 16px;
	background-color: transparent;
	color: white;
	min-width: 75px;
	max-width: 155px;
	flex-shrink: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	height: 40px;
}

.tab-row > button:hover {
	background-color: rgb(223, 223, 223);
	color: black;
}

.tab-row > button:disabled {
	cursor: default;
	color: black;
	background-color: rgb(247, 247, 247);
	border-bottom: none;
}

.tab-panels {
	overflow: auto;
}

.tab-panel {
	padding: 10px;
}

.tab-panel.no-padding {
	padding: 0;
}



/*--------------------------------*/
/* Button row */

.button-row {
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	padding: 10px;
}

.button-row > button {
	cursor: pointer;
	padding: 0;
	margin: 0 20px 0 0;
}

.button-row > button:last-of-type {
	margin: 0;
}

.button-row.button-text-bottom > button {
	max-width: 75px;
	min-width: 75px;
	max-height: 50px;
	min-height: 50px;
}

.button-row.button-text-right > button {
	max-width: 125px;
	min-width: 125px;
	max-height: 40px;
	min-height: 40px;
}

.button-row > button > span {
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	-webkit-align-items: center; /* Safari fix */
	align-items: center;
}

.button-row.button-text-bottom > button > span {
	flex-direction: column;
}

.button-row.button-text-right > button > span {
	justify-content: center;
}

.button-row > button > span > img {
	width: 24px;
	height: 24px;
}

.button-row.button-text-right > button > span > img {
	margin-right: 8px;
}



/*--------------------------------*/
/* Queues */
/*
.queue {
	border: thin solid black;

}
*/


/*--------------------------------*/
/* List */

.list {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.list-item, .list-item-button-row {
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	background-color: rgb(255, 252, 239); /* secondary color, lum 99% */
	border: thin solid grey;
	border-top: none;
	-webkit-user-select: none; /* Safari */
	-moz-user-select: none; /* Firefox */
	user-select: none;
}

.list-item.select-all {
	background-color: white;
}

.list-item-button-row {
	border: thin solid grey;
}

.list-item-top-row {
	border-top: thin solid grey;
}

.list-item:first-of-type {
	border-top: thin solid grey;
}

.list-item.offline-queue {
	margin-bottom: 10px;
	border: thin solid grey;
}

.list-item.offline-queue:last-child {
	margin-bottom: 0;
}

.list-item-content {
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	-ms-flex: 1; /* IE 10 fix */
	-webkit-flex: 1; /* Safari fix */
	flex: 1;
	cursor: pointer;
	padding: 10px;
	overflow: hidden;
	text-overflow: ellipsis;
}

.list-item-content-main {
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	flex-direction: column;
	overflow: hidden;
	text-overflow: ellipsis;
}

.list-item-main, .list-item-row {
	-ms-flex: 1; /* IE 10 fix */
	-webkit-flex: 1; /* Safari fix */
	flex: 1;
	cursor: pointer;
	padding: 10px;
	background-color: transparent;
	border: none;
	text-align: left;
	-webkit-transition: -webkit-opacity .2s; /* Safari */
	transition: opacity .2s;
}

.list-item-main-title-container {
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	-ms-flex: 1; /* IE 10 fix */
	-webkit-flex: 1; /* Safari fix */
	flex: 1;
	-webkit-align-items: center; /* Safari fix */
	align-items: center;
}

.list-item-main-title-container-icon {
	margin-left: 10px;
	height: 12px;
	width: 12px;
}

.list-item-main-title, .list-item-auth {
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	-webkit-justify-content: space-between; /* Safari fix */
	justify-content: space-between;
	-webkit-flex-wrap: wrap; /* Safari fix */
	flex-wrap: wrap;
}

	.list-item-auth div {
		display: -ms-flexbox; /* IE 10 fix */
		display: -webkit-flex; /* Safari fix */
		display: flex;
		align-items: flex-start;
	}

	.list-item-auth div span {
		padding-left: 5px;
	}


	.list-item-main-title > :first-child {
		margin-right: 10px;
	}

.list-item-row {
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	-webkit-align-items: center; /* Safari fix */
	align-items: center;
}

.list-item-row-main {
	-ms-flex: 1; /* IE 10 fix */
	-webkit-flex: 1; /* Safari fix */
	flex: 1;
}

.list-item-row-item {
	margin-left: 10px;
}

.list-item-extra {
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	-ms-flex-align: center; /* IE 10 fix */
	-webkit-align-items: center; /* Safari fix */
	align-items: center;
	cursor: pointer;
	padding: 10px;
	background-color: transparent;
	border: none;
	-webkit-transition: -webkit-opacity .2s; /* Safari */
	transition: opacity .2s;
}

	.list-item-extra.not-clickable {
		cursor: default;
		
	}

	.list-item-extra.not-clickable:hover {
		background-color: inherit;
	}

	.list-item-main:hover, .list-item-extra:hover, .list-item-row:hover, .list-item-content:hover {
		background-color: rgb(255, 237, 140); /* secondary color, lum 91% */
	}

.list-item.select-all > .list-item-main:hover {
	background-color: rgb(223, 223, 223);
}

.list-item.select-all > .list-item-main:hover {
	background-color: rgb(223, 223, 223);
}

.list-item-main.disabled, .list-item-extra.disabled, .list-item-main:disabled, .list-item-extra:disabled {
	opacity: .25;
	cursor: not-allowed;
	background-color: transparent;
}

.list-item-main.not-clickable, .list-item-row.not-clickable, .list-item-content.not-clickable {
	background-color: rgb(255, 252, 239); /* secondary color, lum 99% */
	cursor: default;
}

.item-text-left {
	width: 50%;
	display: inline-block;
}

.item-text-right {
	width: 50%;
	display: inline-block;
	text-align: right;
}

.note-info, .case-info {
	white-space: nowrap;
	overflow: hidden;
	max-width: 100%;
}

.case-list-panel-title {
	margin-top: 20px;
}

.case-list-panel-title:first-child {
	margin-top: 0;
}

.list-item.other-owner {
	background-color: rgb(245, 242, 229); /* secondary color, lum 99% */
}

/*--------------------------------*/
/* Signatur */
.signature-container {
	position: absolute;
	top: 60px; /* .mobile-header:height + 10px */
	bottom: 60px; /* .mobile-footer:height + 10px */
	left: 10px;
	right: 10px;
}

#signature-canvas {
	width: 100%;
	height: 100%;
	background-color: white;
	border: thin solid grey;
	cursor: crosshair;
}

#signaturePreview > img {
	border: thin solid grey;
}

#landscapeOnly {
	text-align: center;
}



/*--------------------------------*/
/* Sidomeny */

.side-menu {
	position: fixed;
	top: 50px;
	left: -270px; /* Because shadow and border */
	width: 250px;
	background-color: rgb(69, 45, 137); /* primary color */
	border: thin solid rgb(49, 27, 111); /* primary color, lum 17% */
	border-bottom-right-radius: 2px;
	border-top: none;
	z-index: 75;
	box-shadow: 0 14px 28px rgba(0, 0, 0, .25), 0 10px 10px rgba(0, 0, 0, .22);
	-webkit-transition: left .2s; /* Safari */
	transition: left .2s;
}

.side-menu.visible {
	left: 0px;
}

.side-menu-background {
	position: fixed;
	z-index: 74;
	background-color: rgba(0, 0, 0, .5);
	top: 50px;
	bottom: 0;
	left: 0;
	right: 0;
	opacity: 0;
	visibility: hidden;
	-webkit-transition: all .2s; /* Safari */
	transition: all .2s;
}

.side-menu-item {
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	-ms-flex-align: center; /* IE 10 fix */
	-webkit-align-items: center; /* Safari fix */
	align-items: center;
	padding: 12px;
}

.side-menu-item:hover {
	background-color: rgb(49, 27, 111); /* primary color, lum 17% */
	color: white;
	cursor: pointer;
}

.side-menu-item-icon {
	height: 24px;
	width: 24px;
}

.side-menu-item-text {
	color: white;
	font-size: 16px;
	margin-left: 12px;
}


/*--------------------------------*/
/* Transfer call menu */

.transfer-call-menu {
	position: fixed;
	bottom: 50px;
	left: -320px; /* Because copied from side-menu */
	width: 300px;
	background-color: rgb(69, 45, 137); /* primary color */
	border: thin solid rgb(49, 27, 111); /* primary color, lum 17% */
	border-bottom-right-radius: 2px;
	border-top: none;
	z-index: 75;
	box-shadow: 0 14px 28px rgba(0, 0, 0, .25), 0 10px 10px rgba(0, 0, 0, .22);
	-webkit-transition: left .2s; /* Safari */
	transition: left .2s;
}

	.transfer-call-menu.visible {
		left: 0px;
	}

.transfer-call-menu-background {
	position: fixed;
	z-index: 74;
	background-color: rgba(0, 0, 0, .5);
	top: 50px;
	bottom: 0;
	left: 0;
	right: 0;
	opacity: 0;
	visibility: hidden;
	-webkit-transition: all .2s; /* Safari */
	transition: all .2s;
}

.transfer-call-menu-item {
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	-ms-flex-align: center; /* IE 10 fix */
	-webkit-align-items: center; /* Safari fix */
	align-items: center;
	padding: 12px;
}

	.transfer-call-menu-item:hover {
		background-color: rgb(49, 27, 111); /* primary color, lum 17% */
		color: white;
		cursor: pointer;
	}

.transfer-call-menu-item-icon {
	height: 24px;
	width: 24px;
}

.transfer-call-menu-item-text {
	color: white;
	font-size: 16px;
	margin-left: 12px;
	width: 100%;
}

.transfer-call-menu-item-input {
	margin-bottom: 0;
	margin-left: 12px;
	height: 41px;
}


/*--------------------------------*/
/* Phonebook */

.phonebook-item-panel {
	background-color: white;
	padding: 10px;
}

.phonebook-item-panel-column-container {
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	-ms-flex-pack: justify; /* IE 10 fix */
	-webkit-justify-content: space-between; /* Safari fix */
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}
	.phonebook-item-panel-numbers-column {
		flex: 1;
		max-width: fit-content;
	}

.phonebook-item-avatar {
	max-width: 100px;
	max-height: 100px;
}

.phonebook-item-default-number {
	margin-right: 10px;
	margin-left: auto;
	word-wrap: anywhere;
}

.phonebook-item-default-number a {
	color: white;
}

.phonebook-redirection {
	border: thin solid rgb(49, 27, 111); /* primary color, lum 17% */
}

.phonebook-redirection-header {
	background-color: rgb(69, 45, 137); /* primary color */
	border: thin solid rgb(49, 27, 111); /* primary color, lum 17% */
	box-sizing: border-box;
	color: white;
	padding: 0 10px;
}
.phonebook-redirection-redirect-phone {
	background-color: red;
}
.phonebook-redirection-redirect-no-phone {
	background-color: gray;
}

.phonebook-redirection-time {
	padding: 0 10px;
}

.phonebook-redirection-comment {
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	padding: 0 10px;
}

.phonebook-item-title-number-wrapper {
	margin-left: .75em;
	flex: 1;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.phonebook-item-title {
	-ms-flex: 1; /* IE 10 fix */
	-webkit-flex: 1; /* Safari fix */
	flex: 1;
	margin-right: 10px;
}
	.phonebook-item-title-number-wrapper .phonebook-item-title
	{
		flex: unset;
	}



/*--------------------------------*/
/* Kalender */

.fc-today {
	background-color: rgb(255, 237, 140) !important; /* secondary color, lum 91% */
}



/*--------------------------------*/
/* Karta */

#map-canvas {
	width: 100%;
	top: 50px; /* .mobile-header:height */
	position: absolute;
	bottom: 50px; /* .mobile-header:height */
}

.map-canvas {
	width: 100%;
	top: 50px; /* .mobile-header:height */
	position: absolute;
	bottom: 50px; /* .mobile-header:height */
}



/*--------------------------------*/
/* Betyg */

.rating-container {
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	-ms-flex-pack: justify; /* IE 10 fix */
	-webkit-justify-content: space-between; /* Safari fix */
	justify-content: space-between;
}

.rating-star {
	height: 32px;
	width: 32px;
	cursor: pointer;
}



/*--------------------------------*/
/* E-tjänst */

.fullpage-content-panel {
	width: 100%;
	top: 50px; /* .mobile-header:height */
	position: absolute;
	bottom: 50px; /* .mobile-header:height */
}

#eservice-frame {
	width: 100%;
	height: 100%;
	-webkit-appearance: none; /* Safari fix */
	background-color: white;
	border: none;
	box-sizing: border-box;
	display: block;
	resize: none;
}



/*--------------------------------*/
/* Bild */

.image-container {
	position: absolute;
	top: 50px; /* .mobile-header:height */
	bottom: 50px; /* .mobile-footer:height */
	left: 0;
	right: 0;
	overflow: hidden;
}

.image {
	width: 100%;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
}



/*--------------------------------*/
/* Avatar */

.profile-avatar {
	max-height: 240px;
	max-width: 50%;
	margin-bottom: 20px;
}



/*--------------------------------*/
/* Messages */

.message-icon {
	margin-right: 16px;
	height: 32px;
	width: 32px;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes hourglass-animation {
	0% {transform: rotate(0deg);}
	25% {transform: rotate(0deg);}
    50% {transform: rotate(180deg);}
	75% {transform: rotate(180deg);}
	100% {transform: rotate(360deg);}
}

@keyframes hourglass-animation {
	0% {transform: rotate(0deg);}
	25% {transform: rotate(0deg);}
    50% {transform: rotate(180deg);}
	75% {transform: rotate(180deg);}
	100% {transform: rotate(360deg);}
}

.message-box-background {
	background-color: rgba(0, 0, 0, .5);
	position: fixed;
	z-index: 100;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	-ms-flex-align: center; /* IE 10 fix */
	-webkit-align-items: center; /* Safari fix */
	align-items: center;
	-ms-flex-pack: center; /* IE 10 fix */
	-webkit-justify-content: center; /* Safari fix */
	justify-content: center;
}

.message-box {
	background-color: white;
	border: thin solid black;
	border-radius: 2px;
	box-shadow: 0 14px 28px rgba(0, 0, 0, .25), 0 10px 10px rgba(0, 0, 0, .22);
	margin: 10px;
	padding: 16px;
	min-width: 240px;
	max-width: 640px;
}

.message-box-main {
	margin-bottom: 16px;
	overflow-wrap: break-word;
}

.message-box-footer {
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	-ms-flex-pack: end; /* IE 10 fix */
	-webkit-justify-content: flex-end; /* Safari fix */
	justify-content: flex-end;
}

.message-box-button {
	background-color: rgb(239, 239, 239);
	border: thin solid grey;
	border-radius: 2px;
	cursor: pointer;
	font-size: 16px;
	margin-right: 16px;
	min-width: 100px;
	padding: 10px;
}

.message-box-button:last-child {
	margin-right: 0;
}

.message-box-button:hover {
	background-color: rgb(223, 223, 223);
}

.message-box-button:disabled {
	background-color: rgb(239, 239, 239);
	cursor: not-allowed;
	color: grey;
}

.toast-box {
	background-color: rgb(79, 79, 79);
	border: thin solid black;
	border-radius: 2px;
	color: white;
	display: flex;
	justify-content: center;
	min-width: 240px;
	max-width: 640px;
	padding: 10px;
	position: fixed;
	box-shadow: 0 14px 28px rgba(0, 0, 0, .25), 0 10px 10px rgba(0, 0, 0, .22);
	bottom: 75px;
	z-index: 100;
}

.selected {
	background-color: rgb(255, 237, 140); /* secondary color, lum 91% */
}



/*--------------------------------*/
/* Window */

.fullscreen-window {
	background-color: whitesmoke;
	display: flex;
	flex-direction: column;
	position: fixed;
	z-index: 100;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.fullscreen-window-header {
	background-color: rgb(69, 45, 137); /* primary color */
	height: 50px;
	min-height: 50px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: thin solid rgb(49, 27, 111); /* primary color, lum 17% */
	color: white;
	box-sizing: border-box;
}

.fullscreen-window-body {
	flex-grow: 1;
}

.fullscreen-window-footer {
	align-items: center;
	background-color: rgb(69, 45, 137); /* primary color */
	border: thin solid rgb(49, 27, 111); /* primary color, lum 17% */
	box-sizing: border-box;
	color: white;
	display: flex;
	height: 50px;
	justify-content: center;
	min-height: 50px;
}

.window-background {
	background-color: rgba(0, 0, 0, .5);
	position: fixed;
	z-index: 100;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.window {
	position: fixed;
	top: 20px;
	left: 20px;
	bottom: 20px;
	right: 20px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 14px 28px rgba(0, 0, 0, .25), 0 10px 10px rgba(0, 0, 0, .22);
}

.window-header {
	background-color: rgb(69, 45, 137); /* primary color */
	height: 50px;
	min-height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	border-bottom: thin solid rgb(49, 27, 111); /* primary color, lum 17% */
}

.window-header-title {
	font-size: 20px;
	color: white;
}

.window-footer {
	background-color: rgb(69, 45, 137); /* primary color */
	height: 50px;
	min-height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	border-top: thin solid rgb(49, 27, 111); /* primary color, lum 17% */
}

.window-body {
	background-color: whitesmoke;
	overflow: auto;
	padding: 10px;
	flex-grow: 1;
}



/*--------------------------------*/
/* Knowledge Base */

.knowledgebase-item {
	display: flex;
	flex-direction: column;
}

.knowledgebase-item-internal-html {
	overflow-y: auto;
	height: 40%;
}

.knowledgebase-item-external-html {
	-webkit-appearance: none; /* Safari fix */
	border: none;
	height: 60%;
	width: 100%;
	flex-grow: 1;
}



/*--------------------------------*/
/* IFrame */

.iframe {
	-webkit-appearance: none; /* Safari fix */
	background-color: white;
	border: thin solid grey;
	border-radius: 2px;
	box-sizing: border-box;
	display: block;
	padding: 8px;
	resize: none;
	width: 100%;
}



/*--------------------------------*/
/* Syn */

.aural {
	position: fixed;
	top: 0;
	left: -10000px;
	font-size: 1px;
}









/*--------------------------------*/
/* Tolk  */

.missionInfo {
	width: 100%;
}

.missionInfo, .missionInfo td {
	border-collapse: collapse;
}

.missionInfo td {
	vertical-align: top;
	border-bottom: thin solid silver;
}

.missionInfo tr:nth-child(even) {
	background-color: rgba(255, 255, 255, .5);
}

.toolbar {
	-ms-flex-pack: justify; /* IE 10 fix */
	-webkit-justify-content: space-between; /* Safari fix */
	justify-content: space-between;
	-ms-flex-align: center; /* IE 10 fix */
	-webkit-align-items: center; /* Safari fix */
	align-items: center;
	display: -ms-flexbox; /* IE 10 fix */
	display: -webkit-flex; /* Safari fix */
	display: flex;
	height: 100%;
	height: 50px;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 49;
	padding: 10px;
}



/*--------------------------------*/
/* Tolkkarta */

.mapInfo {
	margin-bottom: 10px;
}

#road-canvas {
	width: 100%;
	height: 400px;
	
}

/* Begin Admin */

.logged-in-agent-item-panel {
	background-color: white;
	padding: 10px;
}

.logged-in-agent-item-panel-column-container {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-ms-flex-pack: justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

/* End Admin */
