@charset "UTF-8";

:root {
	/* --bigHeaderColor1: #01c675;
	--bigHeaderColor2: #00a05e; */
	--bigHeaderColor1: #334155;
	--bigHeaderColor2: #1E293C;
	--bigHeaderTextColor: #fff;
	--bigHeaderMargin: 6px;
	--bigHeaderHeight: 44px;
	--bigHeaderLeftPadding: 15px;
	
	--defaultFontColor: #626262;

	--defaultButtonColorHover: color-mix(in srgb, var(--bigHeaderColor1), #000 20%);
	
	--menuBG: #1E293C;
	--menuIcon: #CBD5E2;
	--menuIconChatNormal: #01c675;
	--menuIconChatAdmin: #01c675;
	--menuIconChatDebtor: #01c675;
	--menuIconChatSentinel: #eee867;
	--menuWidth: 90px;
	--menuHoverWidth: 230px;
	--menuIconHeight: 50px;
	--menuHover: #334155;
	/* --menuHover2: forestgreen; */
	--menuHover2: color-mix(in srgb, var(--menuHover), #000 20%);
	--menuTextColor: #fff;
	
	
	--noteActiveColor: rgba(77, 147, 219, 1);
	--noteFreezeColor: #fcbc11;
	
	--defaultOutlineColor: lightgrey;
	--defaultOutlineColor2: #909090;
	
	--disabledColor: #eee;
	--disabledFontColor: #444;
	--disabledFontColor2: color-mix(in srgb, var(--bigHeaderTextColor), #000 20%);
	--disabledFontColor3: #8d8d8d;
	
	--redColor: #b83c39;
	--redColor2: color-mix(in srgb, var(--redColor), #FFF 20%);
	
	--redColorHover: color-mix(in srgb, var(--redColor), #000 20%);
	
	
	--invIconColor_patportal: #00c675;
	--invIconColor_debportal: #00c675;
	--invIconColor_printed: #00c675;
	--invIconColor_emailed: #00c675;
	--invIconColor_ean: #00c675;
	--invIconColor_danmark: var(--redColor);
	
	
	 --color-indbetaling: #00874540;
	 --color-indbetaling-hover: #006c3640; /* 20% darker */
	
	 --color-udbetaling: #00874540;
	 --color-udbetaling-hover: #006c3640;
	
	 --color-faktura: #fcbc1140;
	 --color-faktura-hover: #c9970e40;
	
	 --color-kreditnota: #00874540;
	 --color-kreditnota-hover: #006c3640;
	
	 --color-selected: #466ef87d;
	 --color-selected-hover: #3859c67d;
}

/*
	DEFAULT FONT
*/
* {
    font-family: "IBM Plex Sans", sans-serif;
  	font-optical-sizing: auto;
	/* font-weight: normal; */
	font-style: normal;
	font-variation-settings: "wdth" 100;
  }

/*
	GENERIC
*/
.flexRow {
	display: flex;
	flex-direction: row;
}

.flexColumn {
	display: flex;
	flex-direction: column;
}


/*
	NOTEPANEL SPECIFIC
*/
.notePanelHeaderNormal {
	background-color: var(--bigHeaderColor1);
	color: #fff;

	/* background-color: #1c935838; */
	padding-left: 8px;
	min-height: 32px;
	line-height: 32px;
	display: flex;
	flex-direction: row !important;
	grid-row-start: 1;
	grid-column-start: 1;
	grid-column-end: -1;
	margin: -5px;
	flex-direction: row;

	box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.4);
}

.notePanelHeaderNormal.active {
	background: linear-gradient(135deg, var(--bigHeaderColor1) 0%, var(--bigHeaderColor1) 500px, var(--noteActiveColor) 500px);
}

.notePanelHeaderNormal.active.freeze {
	background: linear-gradient(135deg, var(--bigHeaderColor1) 0%, var(--bigHeaderColor1) 500px, var(--noteFreezeColor) 500px) !important;
}

.notePanelHeaderNormal.freeze:not(.active) {
	background-color: var(--noteFreezeColor) !important;
}

.notePanelHeaderFreeze {
	background-color: var(--noteFreezeColor) !important;
	color: #fff;
	padding-left: 8px;
}

.notePanelGrid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(4, auto);
	grid-column-gap: 10px;
	grid-row-gap: 10px;
	padding: 5px;
}

.notePanelGrid>div {
	display: flex;
	flex-direction: column;
}

.notePanelGridDualRow>label:nth-child(2n),
.notePanelGridDualColumn>label:nth-child(2n),
.notePanelGridTripleColumn>label:nth-child(2n),
.notePanelGrid>div>label:nth-child(2n):not(.header),
.noteFakeGrid {
	border: 1px solid #dddddd;
	white-space: pre-wrap;
	min-height: 30px;
	flex: 1;
	word-wrap: break-word;
	word-break: break-all;
	background-color: rgb(239, 239, 239);
}


.notePanelGridDualRow>label:nth-child(2n-1),
.notePanelGrid>div>label:nth-child(2n-1) {
	font-weight: bold;
}

.notePanelGrid>div>textarea {
	resize: vertical;
	min-height: 60px;
}

.notePanelBlock {
	border-radius: 12px;
	margin: 10px 10px;
	overflow: hidden;

	box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.2);
}


.notePanelGridFooter {
	display: grid !important;
	grid-auto-columns: 1fr;
	grid-auto-flow: column;
	grid-column-gap: 10px;
	grid-row-gap: 0px;
	grid-column-start: 1;
	grid-column-end: -1;
	border-top: 1px solid grey;
	word-wrap: break-word;
	word-break: break-all;
}

.notePanelGridDualRow {
	display: grid !important;
	grid-auto-columns: auto;
	grid-auto-flow: column;
	grid-template-rows: auto 1fr;
	grid-column-gap: 10px;
	grid-row-gap: 0px;
}

.notePanelGridDualColumn {
	display: grid !important;
	grid-auto-rows: auto;
	grid-auto-flow: row;
	grid-template-columns: auto 1fr;
	grid-column-gap: 0px;
	grid-row-gap: 10px;
}

.notePanelGridTripleColumn {
	display: grid !important;
	grid-auto-rows: auto;
	grid-auto-flow: row;
	grid-template-columns: repeat(3, 1fr 0.5fr);
	grid-column-gap: 0px;
	grid-row-gap: 10px;
}

.noteHeaderButton {
	background-color: transparent;
	border: none;
	border-left: 2px solid var(--defaultButtonColorHover);
	color: white;
	cursor: none;
	transition: 0.2s;
	padding: 10px 23px;
}

.noteHeaderButton.red {
	background-color: var(--redColor);
	border: none;
	border-left: 2px solid var(--defaultButtonColorHover);
	color: white;
	cursor: none;
	transition: 0.2s;
	padding: 10px 23px;
}

.noteHeaderButton:hover {
	background-color: var(--defaultButtonColorHover);
	text-decoration: none;
	cursor: pointer;
}

.noteHeaderButton.red:hover {
	background-color: var(--redColorHover);
	text-decoration: none;
	cursor: pointer;
}

.noteHeaderButton.highlight.red {
	background: linear-gradient(135deg, rgb(219 77 77) 0%, rgb(219 77 77) 13px, transparent 13px);
}

.noteHeaderButton.highlight.red:hover {
	background: linear-gradient(135deg, rgb(219 77 77) 0%, rgb(219 77 77) 13px, var(--defaultButtonColorHover) 13px);
}

.noteHeaderButton.highlight.yellow {
	background: linear-gradient(135deg, #fcbc11 0%, #fcbc11 13px, transparent 13px);
}

.noteHeaderButton.highlight.yellow:hover {
	background: linear-gradient(135deg, #fcbc11 0%, #fcbc11 13px, var(--defaultButtonColorHover) 13px);
}

.noteHeaderButton.highlight.white {
	background: linear-gradient(135deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 13px, transparent 13px);
}

.noteHeaderButton.highlight.white:hover {
	background: linear-gradient(135deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 13px, var(--defaultButtonColorHover) 13px);
}


.noteHeaderButton:disabled,
.noteHeaderButton[disabled] {
	background-color: #727272;
}

.notePanelBlock input[type='text'],
.notePanelBlock select {
	margin: 0;
}

.noteLabelSingleLine {
	display: flex;
	align-items: center;
	font-weight: normal !important;
}

/* .noteExaminationArea {

} */

.noteExaminationArea>label {
	font-weight: bold;
}

.noteExaminationArea>div {
	display: flex;
}

.noteExaminationArea>div>label:nth-child(2n-1) {
	flex: 1;
}

.noteExaminationArea>div>label:nth-child(2n) {
	flex: 3;
}


.noteSpecialGridRow {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr);
	grid-column-gap: 10px;
	word-wrap: break-word;
	word-break: break-all;
}

.notePanelGridFooter select {
	max-width: 100%;
	min-width: 0;
}

.notePanelGridFooter option {
	-moz-white-space: pre-wrap;
	-o-white-space: pre-wrap;
	white-space: pre-wrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/*
	NAVIGATOR PANEL
*/

.navigatorContainer {
	display: flex;
	flex-direction: row;
}

.roleSelectContainer {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 0 16px;
}

.roleSelectContainer>label {
	flex: 1;
}

.roleSelectContainer>select {
	flex: 4;
	height: 25px;
}

.normalContainer {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 0 16px;
}

.normalContainer>label {
	flex: 1;
}

.normalContainer>input,
.normalContainer>select {
	flex: 4;
	height: 30px;
	margin-bottom: 0 !important;
}

.documentLabel {
	height: 20px !important;
	padding: 0 !important;
	overflow: hidden;
	word-break: break-all;
}

.verticalCenter {
	display: flex;
	align-items: center;
}

.diagnosisColumn {
	min-width: 350px;
	padding-top: 10px;
	padding-left: 20px;
	flex: 1;
	/* border-right: 1px solid grey; */
}

/* 
	There is a bug with justify-content; It turns off scrollbar, 
	so we have to use this little trick with :first-child to snap 
	things in the reverse order to enable it again. 
*/
.dateColumns {
	flex: 3 !important;
	flex-direction: row;
	display: flex;
	overflow-x: auto;
	direction: rtl;
	/* justify-content: left; */
}

.dateColumns> :first-child {
	margin-right: auto !important;
}

.dateColumns>div {
	width: 60px;
	min-width: 60px;
}

.dateColumns>div:nth-child(even) {
	background: #f1f7fc;
}

.dateColumns>div>label:first-child,
.dateColumns>div>a:first-child {
	white-space: pre;
	height: 50px;
	display: block;
	text-align: center;
	font-size: 14px;
	border-bottom: 6px solid #6d94db;
	font-family: monospace;
	cursor: pointer;
	direction: ltr;
}

.dateColumns a {
	color: var(--defaultFontColor);
	text-decoration: none;
}

.dateColumns>div>label:not(:first-child),
.dateColumns>div>a:not(:first-child) {
	font-size: 24px;
	font-family: monospace;
	display: block;
	height: 40px;
	text-align: center;
}

/* .dateColumns > div.year {
	width: 20px;
    min-width: 20px;
}

.dateColumns > div.year > label {
	writing-mode: vertical-lr;
} */

.dateColumns>div>div {
	text-align: center;
}

.diagnosisColumn>div,
.dateColumns:not(.noSet)>div>div {
	height: 40px;
}

.dateColumns.noSet>div {
	display: grid;
	grid-template-rows: 50px;
	grid-auto-rows: 20px;
}

.dateColumns.noSet>div>label:first-child,
.dateColumns.noSet>div>a:first-child {
	grid-column: 1/2;
}

.dateColumns.noSet>div>div {
	justify-self: center;
}

.dateColumns .freeze {
	border-bottom-color: #fcbc11 !important;
}

.dateColumns .selected {
	border-bottom-color: #00a05e !important;
	cursor: default;
}

.dateColumns .futureAgreement {
	border-bottom-color: #00a05e !important;
	cursor: default;
}

.dateColumns .proposedAgreement {
	border-bottom-color: #40ff00 !important;
	cursor: default;
}

.dateColumns .processAgreement {
	border-bottom-color: #7c3c94 !important;
	cursor: default;
}

.dateColumns .notMe {
	border-bottom-color: #dddddd !important;
	cursor: default;
}

.dateColumns .letter-icon {
	padding: 2px;
	border-radius: 2px;
	font-size: 14px;
	font-family: monospace;
	color: white;
	height: 14px;
	line-height: 10px;
	width: 14px;
	display: block;
}

.dateColumns .letter-icon.blue {
	background: #4d93db;
}

.dateColumns .letter-icon.green {
	background: #00a05e;
}

.dateColumns .letter-icon.yellow {
	background: #fcbc11;
}

.dateColumns .letter-icon.red {
	background: var(--redColor);
}

.dateColumns .letter-icon.purple {
	background: #7c3c94;
}




/* 
	Checkbox Switches
*/

.soaSwitch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
}

.soaSwitch>input {
	opacity: 0;
	width: 0;
	height: 0;
}

.soaSwitch>.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
	border-radius: 34px;
	border: 4px solid transparent;
	/* This is a really nice trick to add Fake padding on the slider */
}

.soaSwitch>.slider:before {
	position: absolute;
	content: "";
	height: 100%;
	width: 50%;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
	border-radius: 50vh;
}

.soaSwitch>input:checked+.slider {
	background-color: #2196F3;
}

.soaSwitch>input:focus+.slider {
	box-shadow: 0 0 1px #2196F3;
}

.soaSwitch>input:checked+.slider:before {
	-webkit-transform: translateX(100%);
	-ms-transform: translateX(100%);
	transform: translateX(100%);
}

/*
	Square variant
*/
.soaSwitch.square>.slider {
	border-radius: 0px;
}

.soaSwitch.square>.slider:before {
	border-radius: 0px;
}

/*
	Sizes
*/
.soaSwitch.small {
	width: 50px;
	height: 28px;
}

.soaSwitch.verysmall {
	width: 40px;
	height: 23px;
}

.content-wrapper {
  padding-left: var(--menuWidth);
}

.left-menu-soa {
	position: fixed;
	top: 0;
	bottom: 0;
	z-index: 10000;
	background: var(--menuBG);
	width: var(--menuWidth);
	display: flex;
	flex-direction: column;
}

.left-menu-soa .menuIcon {
	color: var(--menuIcon);
	height: var(--menuIconHeight);
	place-content: center;
    align-items: center;
}

.left-menu-soa > div ul {
	padding-left: 0;
	margin:0;
    flex-direction: column;
}

.left-menu-soa > div > ul li {
	text-align: center;
	list-style: none;
	position: relative;
	display: flex;
	justify-content: center;
}

.left-menu-soa > div > ul > li > ul {
	position: absolute;
	top: 0;
	left: var(--menuWidth);
	min-width: 0;
	width: 0;
	z-index: -1;
	height: max-content;
	list-style: none;
	overflow:hidden;
	opacity: 0;
	
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
	
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.left-menu-soa > div > ul > li > ul > li {
	background: var(--menuHover);
	text-align: left;
	z-index: -1;
	color: var(--menuTextColor);
	line-height: var(--menuIconHeight);
	padding-top: 0;
	justify-content: left;
}

.left-menu-soa > div > ul > li > ul > li a {
	color: #fff;
	display: block;
	padding-left: 10px;
}

.left-menu-soa > div > ul > li > ul > li a:hover {
	text-decoration: underline;
}

.left-menu-soa > div > ul > li > ul > li {
	cursor: hand;
	cursor: pointer;
}

.left-menu-soa > div > ul > li > ul > li * {
	cursor: hand;
    cursor: pointer;
    text-wrap-mode: nowrap;
    display: block;
    width: 100%;
    padding: 0 10px;
}

.left-menu-soa > div > ul > li > ul > li:hover {
	background-color:var(--menuHover2);
}

.left-menu-soa > div > ul > li > ul > li a:hover {
	text-decoration: underline;
}

.left-menu-soa > div > ul > li.active {
	background: #01c675;
	box-shadow: inset 5px 0px 0px 0px rgba(0, 0, 0, 0.15);
}

.left-menu-soa > div > ul > li.activedebitor {
	background: #7c3c94;
	box-shadow: inset 5px 0px 0px 0px rgba(0, 0, 0, 0.15);
}

.left-menu-soa > div > ul > li.inactive {
	background: var(--redColor);
	box-shadow: inset 5px 0px 0px 0px rgba(0, 0, 0, 0.15);
}

.left-menu-soa > div > ul > li:hover {
	background: var(--menuHover);
}

.left-menu-soa > div > ul > li:hover>ul {
	min-width: var(--menuHoverWidth);
	width: fit-content;
	opacity: 1;
	
}


.soaButtonRow {
	background-color: var(--bigHeaderColor1);
	
	border-style: none;
	
	cursor: hand;
	cursor: pointer;
	color: white;
	
	padding: 15px;
    margin: 0px;
	
	-webkit-transition: all 0.1s;
	transition: all 0.1s;
	
	/* border: var(--defaultOutlineColor2) solid 1px; */
	border-radius: 50px;
}

.soaButtonRow.small {
	background-color: var(--bigHeaderColor1);
	padding: 0 15px;
	height: 34px;
}

.soaButtonRow.edit {
	background-color: transparent;
	border: 1px solid var(--bigHeaderColor1);
	padding: 0 15px;
	height: 34px;
    color: var(--defaultFontColor);
}

.soaButtonRow.edit:hover {
	background-color: #00000024;
}

.soaButtonRow:disabled {
	background-color: #8c8c8c !important;
}

.soaButtonRow:hover {
	background-color: var(--defaultButtonColorHover);
}

.soaButtonRow.blue {
  background: #4d93db;
}
.soaButtonRow.blue:hover {
  background: #2979cc;
}

.soaButtonRow.kircacs {
	background-color: #0097a0;
}

.soaButtonRow.kircacs:hover {
	background-color: #00676d;
}

.soaButtonRow.orange {
	background-color: #edb742;
}

.soaButtonRow.orange:hover {
	background-color: #D49E29;
}

.soaButtonRow.red {
	background-color: var(--redColor);
}

.soaButtonRow.red:hover {
	background-color: var(--redColorHover);
}



.big-header-soa {
  height: var(--bigHeaderHeight);
  line-height: var(--bigHeaderHeight);
  padding-left: var(--bigHeaderLeftPadding);
  background: var(--bigHeaderColor1);
}

.big-header-soa .button {
  margin-right: 0;
  padding-left: 5px;
  padding-right: 5px;
}

.big-header-soa label {
  font-size: 14px;
  color: #fff;
}

.big-header-soa .soaButton {
	padding: 0 15px;
    margin: 0;
    border: none;
    line-height: var(--bigHeaderHeight);
    border: var(--defaultOutlineColor2) solid 1px;
    background: var(--bigHeaderColor2);
    height: auto;
    cursor: hand;
    cursor: pointer;
    color: white;
    white-space: nowrap;
    -webkit-transition: all 0.1s;
    transition: all 0.1s;
    border-radius: 50px;
    margin: 5px;
    line-height: normal;
}

.big-header-soa a.soaButton {
	flex: 0 1 auto;
	text-decoration: none;
	align-content: center;
}

.big-header-soa .soaButton:hover {
	background-color: var(--defaultButtonColorHover);
}

.big-header-soa .soaButton:disabled {
	color: var(--disabledFontColor3);
}

.big-header-soa .soaButton.highlight.red {
	background: linear-gradient(270deg, rgb(219 77 77) 0%, rgb(219 77 77) 13px, var(--bigHeaderColor2) 13px);
}

.big-header-soa .soaButton.highlight.red:hover {
	background: linear-gradient(270deg, rgb(219 77 77) 0%, rgb(219 77 77) 13px, var(--defaultButtonColorHover) 13px);
}

.big-header-soa .soaButton.highlight.yellow {
	background: linear-gradient(270deg, #fcbc11 0%, #fcbc11 13px, var(--bigHeaderColor2) 13px);
}

.big-header-soa .soaButton.highlight.yellow:hover {
	background: linear-gradient(270deg, #fcbc11 0%, #fcbc11 13px, var(--defaultButtonColorHover) 13px);
}

.big-header-soa .soaButton.highlight.white {
	background: linear-gradient(270deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 13px, var(--bigHeaderColor2) 13px);
}

.big-header-soa .soaButton.highlight.white:hover {
	background: linear-gradient(270deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 13px, var(--defaultButtonColorHover) 13px);
}

.big-header-soa .inputField,
.big-header-soa .inputWithClear > input {
	background-color: var(--bigHeaderColor2);
	border: none;
	margin: var(--bigHeaderMargin);
}

.big-header-soa .inputField::placeholder,
.big-header-soa .inputWithClear > input::placeholder,
.big-header-soa * {
	color: var(--bigHeaderTextColor);
}

.big-header-soa .search {
	line-height: 32px;
	padding-left: 30px;
	background: var(--bigHeaderColor2) url('../images/search.svg') no-repeat left 5px center;
	width: 100%;
}

/*
	We do it this way, because we have to split the horizontal border apart.
*/
.big-header-spacer {
	height: auto;
	background: linear-gradient(to bottom, var(--bigHeaderColor2) var(--bigHeaderHeight), var(--defaultOutlineColor) var(--bigHeaderHeight), var(--defaultOutlineColor) 100%);
	width:1px;
}



.headerContainer {
	border-bottom: 12px solid var(--bigHeaderColor1);
	display:flex;
}

.googleButton {
	font-family: Material Icons;
	/* font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; */
	background: none;
    border: none;
    font-size: 24px;
    
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.googleButton:hover {
	cursor:pointer;
}

.googleButtonOutlined {
	font-family: Material Symbols Outlined;
	font-variation-settings: 'FILL' 0, 'wght' 100, 'GRAD' 0, 'opsz' 34; 
	background: none;
    border: none;
    font-size: 34px;
    
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.googleButtonOutlined:hover {
	cursor:pointer;
}

.inputWithClear {
	display:flex;
	border: 1px solid #dddddd;
}

.inputWithClear > input[type='text'] {
	border: none;
	width:100%;
	margin: 0;
}

.inputWithClear > input[type='text']:focus {
  outline: none;
}

.inputWithClear:focus-within { 
  outline: 1px solid black;
}

.linkType {
	color: #2548ff !important;
    text-decoration: underline !important;
	cursor: pointer;
}

.linesGrid {
	display: grid;
	grid-auto-rows: 1fr;
	grid-column-gap: 15px;
	grid-row-gap: 0px;
	padding: 5px;
	align-items: center;
	
	-webkit-transition: all 0.1s ease-out;
	-moz-transition: all 0.1s ease-out;
	-o-transition: all 0.1s ease-out;
	transition: all 0.1s ease-out;
}

.linesGrid:not(.lineHeader):not(.linesGridData):not(.disableHover):hover {
	background-color: #0000000d !important;
}

.lineHeader {
	background: #dddddd;
}

.lineFooter {
	margin-bottom: 30px;
    border-top: 1px solid grey;
    font-weight: bold;
   }

.linesGridData {
	background: #f1f7fc;
}

.linesGridData:hover {
	background: #E4EAEF;
}

.linesGridData:nth-of-type(odd) {
	background: transparent;
}

.linesGridData:nth-of-type(odd):hover {
	background: #E4EAEF;
}

.linesGridData.yellow {
	background: #ffe19e;
}

.linesGridData:nth-of-type(odd).yellow {
	background: #ffdb8c;
}


.kircacsPagableNav {
	display:flex;
	align-items:center;
	justify-content:center;
}


.kircacsPagableNav .goto a {
	display:flex;
	
	border-radius: 8px;
	border-style: none;
	
	margin:10px !important;
	padding:10px !important;
	
   	color: var(--defaultFontColor);
   	text-decoration: none;
   	
	cursor: hand;
	cursor: pointer;
	
	padding: 10px;
	margin: 8px;
}
.kircacsPagableNav .goto a[disabled] {
    box-shadow: 		0px 0px 8px 2px rgba(0,0,0,0.1);
	-moz-box-shadow:    0px 0px 8px 2px rgba(0,0,0,0.1);
   	-webkit-box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.1);
}


.kircacsPagableNav .first,
.kircacsPagableNav .prev,
.kircacsPagableNav .next,
.kircacsPagableNav .last {
	display:flex;
	
	border-radius: 8px;
	border-style: none;
	
	cursor: hand;
	cursor: pointer;
   	color: var(--defaultFontColor);
   	text-decoration: none;
	
	padding: 10px;
	margin: 8px;
	
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}

/*
	KIRCACS POPUP
*/
div.kircacsPopup {
	overflow:hidden;
	border-radius: 8px;
	
	margin: 10px;
	
    box-shadow: 		0px 0px 8px 2px rgba(0,0,0,0.1);
	-moz-box-shadow:    0px 0px 8px 2px rgba(0,0,0,0.1);
   	-webkit-box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.1);
}

div.kircacsPopup .w_right .w_caption {
	box-shadow: 		0 1px 8px grey;
	-moz-box-shadow:    0 1px 8px grey;
   	-webkit-box-shadow: 0 1px 8px grey;
	
	/* background: #0097a0; 
	background: -webkit-linear-gradient(left top, #00c2cc, #0097a0 , #006166); 
	background: -moz-linear-gradient(bottom right, #00c2cc, #0097a0, #006166);
	background: linear-gradient(to bottom right, #00c2cc, #0097a0 , #006166);  */
	
	
	background: var(--bigHeaderColor1); 
	background: -webkit-linear-gradient(left top, var(--bigHeaderColor1), var(--bigHeaderColor2)); 
	background: -moz-linear-gradient(bottom right, var(--bigHeaderColor2), var(--bigHeaderColor1));
	background: linear-gradient(to bottom right, var(--bigHeaderColor2) , var(--bigHeaderColor1));  
}

div.kircacsPopup.orange .w_right .w_caption {
	background: #edb742; 
	background: -webkit-linear-gradient(left top, #FFD15C, #edb742 , #D49E29); 
	background: -moz-linear-gradient(bottom right, #FFD15C, #edb742, #D49E29);
	background: linear-gradient(to bottom right, #FFD15C, #edb742 , #D49E29);  
}

div.kircacsPopup.purple .w_right .w_caption {
	background: #8230c4; 
	background: -webkit-linear-gradient(left top, #a83dff, #8230c4, #531d7e); 
	background: -moz-linear-gradient(bottom right, #a83dff, #8230c4, #531d7e);
	background: linear-gradient(to bottom right, #a83dff, #8230c4, #531d7e);  
}

div.kircacsPopup.red .w_right .w_caption {
	background: #ba1a1a; 
	background: -webkit-linear-gradient(left top, #ba1a1a, #a00000, #870000); 
	background: -moz-linear-gradient(bottom right, #ba1a1a, #a00000, #870000);
	background: linear-gradient(to bottom right, #ba1a1a, #a00000, #870000);  
}

div.kircacsPopup [class^="w_right"] {
	margin: 0 !important;
}

/* Popup scrollsbars - VIRKER KUN PÅ WEBKIT */

div.kircacsPopup ::-webkit-scrollbar {
    width: 10px;
}

div.kircacsPopup ::-webkit-scrollbar-track {
    background: #f1f1f1; 
}

div.kircacsPopup ::-webkit-scrollbar-thumb {
    background: var(--bigHeaderColor1); 
}

div.kircacsPopup ::-webkit-scrollbar-thumb:hover {
    background: var(--bigHeaderColor2); 
}

div.kircacsPopup .w_close {
    position: absolute;
    width: 16px;
    height: 16px;
    /* opacity: 0.3; */
    /* color: white; */
    margin: 10px !important;
}

div.kircacsPopup .w_close:hover {
  opacity: 1;
}

div.kircacsPopup .w_close:before, 
div.kircacsPopup .w_close:after {
    position: absolute;
    left: 7px;
    content: ' ';
    height: 16px;
    width: 2px;
    background-color: var(--bigHeaderTextColor);
}

.kircacsHeader {
	margin-top: 20px;
	padding: 10px;
	font-size: 18px;
	color: grey;
	border-radius: 18px;
	border-top: 8px solid var(--bigHeaderColor1);
}

.kircacsHeader.orange {
	border-top-color: #ffd15c;
}

/*
	JAVASCRIPT TABS
*/
.kircacsJStabMain {
	display: flex;
	flex-wrap: wrap;
	width:100%;
	border:none !important;
	padding:0;
	background:none !important;
}

.kircacsJStabMain > ul,
.kircacsJStabMain > ul > li {
	border: none !important;
    background: transparent !important;
    outline: none !important;
}

.kircacsJStabMain > ul > li > a,
.kircacsJStabButton {
	display:flex;
	flex-grow: 1;
	border: 0;
	outline: none;
	padding: 5px;
    margin: 0 5px !important;
    max-width: 140px;
    
    font-size: 14px;
    
    background: var(--bigHeaderColor1);
	
	/* border-left: 1px solid grey;
	border-top: 1px solid grey; */
	
	box-shadow: 0px 0px 8px 1px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 8px 1px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0px 0px 8px 1px rgba(0,0,0,0.2);
    
	border-radius: 8px 0 0 0;
	
	-webkit-transition: background 0.3s;
	transition: background 0.3s;
	
	color: white;
	justify-content: center;
	
	z-index: 1;
}

.kircacsJStabMain > ul > li:first-child,
.kircacsJStabButton:first-child {
	margin-left: 30px !important;
}

.kircacsJStabMain > ul > li:not(.ui-tabs-active):hover > a,
.kircacsJStabButton:hover {
	background: var(--menuHover2);
	color: white;
}

.kircacsJStabMain > ul > li:hover::-moz-focus-inner > a,
.kircacsJStabButton:hover::-moz-focus-inner { 
	border:0; 
}

.kircacsJStabMain > ul > li.ui-tabs-active > a,
.kircacsJStabButton.active {
	background: white;
	color: grey;
}


.kircacsJStabMain > div,
.kircacsJStabContent {
	display:none;
	width:100%;
	flex-wrap: wrap;
	
	border-radius: 8px;
    
    box-shadow: 		0px 0px 8px 1px rgba(0,0,0,0.2);
	-moz-box-shadow:    0px 0px 8px 1px rgba(0,0,0,0.2);
   	-webkit-box-shadow: 0px 0px 8px 1px rgba(0,0,0,0.2);
   	
   	margin: 0px 8px 8px 8px;
   	padding: 8px !important;
   	
    overflow: hidden;
}

.kircacsJStabMain > div[aria-hidden="false"] {
	display:flex !important;
	/* flex-direction: column; */
}

.kircacsCategory {
	display: flex;
	width: 100%;
	/* border-top: 1px solid #a2daae; */
	margin: 5px;
	overflow: hidden;
}

.kircacsCategory>div:first-child {
	display: flex;
	padding: 10px;
	font-size: 14px;
    color: var(--defaultFontColor);
	/* border-right: 8px solid #a2daae; */
	width: 120px;
	/* justify-content: flex-end; */
	background-color: var(--defaultOutlineColor);
}

.kircacsCategory>div:first-child span {
	/* transform-origin: 100% 100%;
    transform: rotate(-90deg) translate(50%); */
	text-align: left;
}

.kircacsCategory>div:first-child::after {
	height: auto;
}

.kircacsCategory>div:not(:first-child) {
	/* width: auto;
	display: flex; */
	width: 100%;
}

.kircacsTextEntry {
	border-radius: 8px;
	overflow: hidden;
	
	display: flex;
	flex-direction: row;
	justify-content: center;
	
    box-shadow: 		0px 0px 4px 1px rgba(0,0,0,0.1);
	-moz-box-shadow:    0px 0px 4px 1px rgba(0,0,0,0.1);
   	-webkit-box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.1);
   	
    margin: 8px;
}

.kircacsTextEntry label:first-child {
	flex-grow: 1;
	width: 33%;
	padding: 10px;
	background-color: var(--bigHeaderColor1);
    color: var(--bigHeaderTextColor);
}

.kircacsTextEntry label:not(:first-child) {
	flex-grow: 2;
	width: 66%;
	padding: 10px;
}


.kircacsTextEntry input:-moz-read-only,
.kircacsTextEntry input:read-only { 
    background-color: lightgrey;
}

/* Kendo timepickers included */
.kircacsTextEntry input, 
.kircacsTextEntry select,
.kircacsTextEntry .k-timepicker,
.kircacsTextEntry .k-input {
	position: initial;
	flex-grow: 2;
	width: 66%;
	margin: 0;
	border:none !important;
    border-radius: inherit
}

.kircacsTextEntry input:focus,
.kircacsTextEntry select:focus {
	outline:none;
    border: 1px solid lightskyblue;
}

.kircacsTextEntry .k-timepicker,
.kircacsTextEntry .k-input {
	display: flex;
}

.kircacsTextEntry .k-picker-wrap {
	position: relative;
	width: 100%;
	height: 100%;
	border: 0;
}

.kircacsTextEntry .k-input {
	width: 100%;
	height: 100%;
	background: transparent;
}

.kircacsTextEntry:empty {
   display: none;
}


.kircacsVerticalTextEntry {
	border-radius: 8px;
	overflow: hidden;
	
	display: flex;
	justify-content: center;
	flex-direction: column;
	
    box-shadow: 		0px 0px 4px 1px rgba(0,0,0,0.1);
	-moz-box-shadow:    0px 0px 4px 1px rgba(0,0,0,0.1);
   	-webkit-box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.1);
   	
    margin: 8px;
}

.kircacsVerticalTextEntry:empty {
   display: none;
}

.kircacsVerticalTextEntry label {
	width: 100%;
	padding: 10px;
	background-color: var(--bigHeaderColor1);
    color: var(--bigHeaderTextColor);
}

.kircacsVerticalTextEntry input, 
.kircacsVerticalTextEntry textarea,
.kircacsVerticalTextEntry select {
	position: initial;
	width: 100%;
	margin: 0;
	border:none !important;
	padding:10px;
	max-width:100%;
	height: 45px;
  	border-radius: inherit
}

.kircacsVerticalTextEntry input:-moz-read-only,
.kircacsVerticalTextEntry input:read-only { 
    background-color: lightgrey;
}

.kircacsVerticalTextEntry input:focus,
.kircacsVerticalTextEntry select:focus {
	outline:none;
    border: 1px solid lightskyblue;
}

.kircacsVerticalTextEntry select[multiple],
.kircacsVerticalTextEntry textarea {
	height: 200px;
	resize: vertical;
}



/* Simple TextEntry */
.kircacsSimpleTextEntry {
	overflow: hidden;
	
	display: flex;
	flex-direction: row;
	justify-content: center;
	
   	padding: 8px;
}

.kircacsSimpleTextEntry label:first-child {
	flex-grow: 1;
	width: 50%;
	padding: 10px;
}

/* Kendo timepickers included */
.kircacsSimpleTextEntry label:not(:first-child),
.kircacsSimpleTextEntry input, 
.kircacsSimpleTextEntry select {
	padding: 10px;
}

.kircacsSimpleTextEntry input:-moz-read-only,
.kircacsSimpleTextEntry input:read-only { 
    background-color: lightgrey;
}

.kircacsSimpleTextEntry label:not(:first-child),
.kircacsSimpleTextEntry input, 
.kircacsSimpleTextEntry select,
.kircacsSimpleTextEntry .k-timepicker,
.kircacsSimpleTextEntry .k-input {
	position: initial;
	flex-grow: 2;
	width: 50%;
	margin: 0;
	border:none !important;
	border-radius: 8px;

    box-shadow: 		0px 0px 4px 1px rgba(0,0,0,0.1);
	-moz-box-shadow:    0px 0px 4px 1px rgba(0,0,0,0.1);
   	-webkit-box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.1);
}

.kircacsSimpleTextEntry .k-timepicker,
.kircacsSimpleTextEntry .k-input {
	display: flex;
}

.kircacsSimpleTextEntry .k-picker-wrap {
	display: flex;
	position: relative;
	width: 100%;
	height: 100%;
	border: 0;
}

.kircacsSimpleTextEntry .k-input {
	display: flex;
	padding:0;
	width: 100%;
	height: 100%;
	background: transparent;
}

.kircacsSimpleTextEntry input:disabled,
.kircacsSimpleTextEntry select:disabled {
	background-color: lightgrey !important;
	content: '' !important;
	color: lightgrey !important;
}

/* Simple Vertical TextEntry */
.kircacsSimpleVerticalTextEntry {
	overflow: hidden;
	
	display: flex;
	flex-direction: column;
	justify-content: center;
	
   	padding: 8px;
}

.kircacsSimpleVerticalTextEntry .select2-container--disabled .select2-selection,
.kircacsSimpleVerticalTextEntry.fakedSelectDisabled label:not(:first-child),
.kircacsSimpleVerticalTextEntry input:disabled,
.kircacsSimpleVerticalTextEntry select:disabled {
	background-color: var(--disabledColor) !important;
	content: '' !important;
	color:var(--disabledFontColor) !important;
}

.kircacsSimpleVerticalTextEntry label:first-child {
	flex-grow: 1;
	width: 100%;
	padding: 10px;
}

.kircacsSimpleVerticalTextEntry label:not(:first-child) {
	display:flex;
	flex-direction: column;
	align-content: center;
	justify-content: center;
}

/* Kendo timepickers included */
.kircacsSimpleVerticalTextEntry label:not(:first-child),
.kircacsSimpleVerticalTextEntry .select2-selection, 
.kircacsSimpleVerticalTextEntry input, 
.kircacsSimpleVerticalTextEntry textarea,
.kircacsSimpleVerticalTextEntry select {
	position: initial;
	background-color: white;
	color: black;
	flex-grow: 1;
	width: 100%;
	margin: 0;
	padding: 10px;
	border:none !important;
	border-radius: 8px;
	height: 45px;
	max-width: 100%;

    box-shadow: 		0px 0px 4px 1px rgba(0,0,0,0.1);
	-moz-box-shadow:    0px 0px 4px 1px rgba(0,0,0,0.1);
   	-webkit-box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.1);
}

.kircacsSimpleVerticalTextEntry .select2-selection__arrow {
	height: 100% !important;
} 

.kircacsSimpleVerticalTextEntry input:-moz-read-only,
.kircacsSimpleVerticalTextEntry input:read-only { 
    background-color: lightgrey;
}

.kircacsSimpleVerticalTextEntry select[multiple],
.kircacsSimpleVerticalTextEntry textarea {
	height: 200px;
	resize: vertical;
	min-height: 40px;
}

.kircacsSimpleVerticalTextEntry input:focus,
.kircacsSimpleVerticalTextEntry select:focus {
	outline:none;
    border: 1px solid lightskyblue;
}

.kircacsBubbleText {
	border-radius: 8px;
	overflow: hidden;
	
	display: flex;
	justify-content: center;
	flex-direction: column;
	
    box-shadow: 		0px 0px 4px 1px rgba(0,0,0,0.1);
	-moz-box-shadow:    0px 0px 4px 1px rgba(0,0,0,0.1);
   	-webkit-box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.1);
   	
    margin: 2px;
    
	width: 100%;
	padding:6px;
	height: 40px;
}

.kircacsBubbleText.variable {
	width: auto;
}

.kircacsBubbleText.simple {
	border-radius: 0;
	border: 1px solid var(--defaultOutlineColor);
	
	box-shadow: 		initial;
	-moz-box-shadow:    initial;
   	-webkit-box-shadow: initial;
}

.ellipsisText:not(.printClipText) {
	text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.printClipText {
    -webkit-line-clamp: 1;
    line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}

/* 
	select2 has a VERY low z-index compared to cacs popups of 20000,
	so we need all select2 dropdowns to be ABOVE this.
 */
.select2-dropdown {
	z-index: 20100 !important;
}


.soaInputSelect {
	border: 1px solid #dddddd;
    line-height: 30px;
    height: 30px;
    padding-right: 10px;
    padding-left: 10px;
    cursor: hand;
    cursor: pointer;
}


.kircacsFlowHeader {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: white;
    margin: -5px;
    z-index: 10;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--defaultOutlineColor);;
}


.cacsIndicator {
	max-width: 16px;
	max-height: 16px;
}

.cacsIndicator, 
.cacsIndicator img {
	width: 16px;
    height: 16px;
	max-width: 16px;
	max-height: 16px;
}

/*
	FIXES JQUERY FROM MESSING UP THESE ELEMENTS FONT CONFIGS
*/
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
	font-family: inherit !important;
    font-size: inherit !important;
}



/* Invoice/Transaction listing */
.KircacsBGColor_Indbetaling {
  background: var(--color-indbetaling) !important;
}
.KircacsBGColor_Indbetaling:hover {
  background: var(--color-indbetaling-hover) !important;
}

.KircacsBGColor_Udbetaling {
  background: var(--color-udbetaling) !important;
}
.KircacsBGColor_Udbetaling:hover {
  background: var(--color-udbetaling-hover) !important;
}

.KircacsBGColor_Faktura {
  background: var(--color-faktura) !important;
}
.KircacsBGColor_Faktura:hover {
  background: var(--color-faktura-hover) !important;
}

.KircacsBGColor_Kreditnota {
  background: var(--color-kreditnota) !important;
}
.KircacsBGColor_Kreditnota:hover {
  background: var(--color-kreditnota-hover) !important;
}

.KircacsBGColor_Selected {
  background: var(--color-selected) !important;
}
.KircacsBGColor_Selected:hover {
  background: var(--color-selected-hover) !important;
}


/*
	UI Accordion changes 
*/

.ui-accordion-header:hover {
	display:flex !important;
}

.ui-accordion-header {
	display:flex !important;
	color: var(--bigHeaderTextColor) !important;
	
	border-radius: 0;
	
	
	box-shadow: 		0 1px 8px grey;
	-moz-box-shadow:    0 1px 8px grey;
   	-webkit-box-shadow: 0 1px 8px grey;
	
	border: none !important;
	
	background: var(--bigHeaderColor1) !important;
}

.ui-accordion-header.orange {
	background: #edb742 !important; 
}

.ui-accordion-header-active.orange {
	background: #FFD15C !important; 
}

.ui-accordion-header-active {
	background: var(--bigHeaderColor2) !important;
}

/*
	Context menu
*/
.context-menu {
	z-index: 100000;
}

.context-menu .ui-widget-content {
	background: var(--bigHeaderColor1);
	color: var(--bigHeaderTextColor) !important;
}

.moveBottom::after {
	bottom: 0;
    position: absolute;
    width: 100%;
}

/*
	General Select 2 CSS overrides
*/
.select2-selection__clear {
	font-size: 23px;
    line-height: 24px;
    width: 20px;
    text-align: center;
}

.select2-results__option {
    white-space: nowrap;
}

.select2-container--default .select2-results>.select2-results__options {
    max-height: 400px;
}