/*------------------------------
=BASIC SETUP
------------------------------*/

/* Tell the browser to render HTML 5 elements as block */

html {
	width: 100%;
	height:100%;
}

footer, header, section, aside, nav, article {
	display: block;
}

body {
	font: 14px/22px Helvetica, Arial, sans-serif;
	background-color: var(--color-background-primary);
	color: var(--color-text-primary);
}

.HolyGrail {
	height: 100%;
	width: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

header {
	width: 100%;
}

main {
	display: flex;
	flex: 1;
	overflow-y: auto;
}

main a {
	color: var(--color-text-secondary);
}

main a:hover {
	color: var(--color-text-secondary);
}

#contentcontainer {
	display: flex;
	width: 100%;
}

#content {
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
	font-size: 16px;
	width: 100%;
	padding-top: 30px;
	padding-left: 3%;
	padding-right: 3%;
	padding-bottom: 50px;
	flex: 4.5;
	overflow-y: auto;
	/*zoom: 0.8; -moz-transform: scale(0.8); -moz-transform-origin: 0 0*/
}

h1, h2 {
	font-size: 28px;
	/*line-height: 44px;*/
	padding: 22px 0;
}

h3 {
	font-size: 18px;
	line-height: 22px;
	padding: 22px 22px 22px 0px;
}

h4 {
	font-size: 16px;
	line-height: 15px;
	padding: 20px 0 8px;
}

@font-face {
	font-family: 'Pacifico';
	font-style: normal;
	font-weight: 400;
	src: local('Pacifico Regular'), local('Pacifico-Regular'), url(/google_pacificio.woff) format('woff');
}

em {
	font-style:  italic;
}

p {
	margin: 1em 0px;
}
.text-crop {
	white-space: nowrap;
	text-overflow:ellipsis;
	overflow: hidden;
}


progress {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 100%;
	background: var(--color-background-secondary);
	color: rgb(54, 154, 202);
	border: 1px solid var(--color-background-quaternary);
}

progress::-webkit-progress-bar {
	background: var(--color-background-secondary);
}
progress::-webkit-progress-value {
	border-radius: none;
	background: rgb(54, 154, 202);
}
progress::-ms-fill {
	border-radius: none;
	background: rgb(54, 154, 202);
}
progress::-moz-progress-bar {
	border-radius: none;
	background: rgb(54, 154, 202);
}

select {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	border-radius: 0;
}

input:not([type=checkbox]):not([type='range']) {
	-moz-appearance: none;
	-webkit-appearance: none;
	border-radius: 0;
	text-rendering: auto;
	letter-spacing: normal;
	word-spacing: normal;
	text-transform: none;
	text-indent: 0px;
	text-shadow: none;
	display: inline-block;
}

input:not([type=checkbox]):not([type='range']):not([type='number']) {
	appearance: textfield;
}

textarea {
	-moz-appearance: none;
	-webkit-appearance: none;
	border-radius: 0;
	text-rendering: auto;
	letter-spacing: normal;
	word-spacing: normal;
	text-transform: none;
	text-indent: 0px;
	text-shadow: none;
	background-color: transparent;
	color: var(--color-text-primary);
}

textarea:focus {
	border: 2px solid var(--color-org-global);
}

rect:hover {
  fill: var(--color-org-global);
}

/* Scrollbars */
/* FIREFOX */
/*
@-moz-document url-prefix() {
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
  }
}
*/

/* CHROME */
::-webkit-scrollbar {
  width: 0.5rem;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 30px;
}

.markupresult {
	margin-bottom: 10px;
	line-height: 16px;
	overflow: auto;
	max-height: 600px;
	overflow-y: auto;
	min-height: 40px;
}

.markupresult:hover {
	background-color: var(--color-background-tertiary);
	border-radius: 3px;
}

.markupresult p {
	margin: 0;
}

.diff{overflow:auto;}
.diff ul{overflow:auto;font-size:13px;list-style:none;margin:0;padding:0;display:table;width:100%;}
.diff del, .diff ins{display:block;text-decoration:none;}
.diff li{padding:0; display:table-row;margin: 0;height:1em;}
.diff li.ins{background:#dfd; color:#080}
.diff li.del{background:#fee; color:#b00}
.diff li:hover{background:#ffc}
/* try 'whitespace:pre;' if you don't want lines to wrap */
.diff del, .diff ins, .diff span{white-space:pre-wrap;font-family:courier;}
.diff del strong{font-weight:normal;background:#fcc;}
.diff ins strong{font-weight:normal;background:#9f9;}
.diff li.diff-comment { display: none; }
.diff li.diff-block-info { background: none repeat scroll 0 0 gray; }

/*-----------------------------
=FLASH MESSAGES
-----------------------------*/

.formerror {
	border: 2px solid red !important;
}

.flashmessages {
	position: absolute;
	left: 0;
	z-index: 199;
	text-align: center;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.flashmessages.modalerror {
	flex:0;
	position:absolute;
	top:0;
}

.notice {
	flex: 1;
	padding: 10px;
	border: thin solid green;
	background: #A6FA9B;
	color: green;
}

.error {
	flex: 1;
	padding: 10px;
	border: thin solid red;
	background: #ffc0cb;
	color: red;
}

.warning {
	flex: 1;
	padding: 10px;
	border: thin solid #dab300;
	background: #fff5bf;
	color: #dab300;
}

.hidden {
	display: none;
}

#hideMe {
	animation: cssAnimation 2s ease-in 1s forwards;
}

@keyframes cssAnimation {
	to {
		opacity: 0;
		z-index: -100;
		overflow:hidden;
	}
}

/*------------------------------
ITEMS abstract class for list items
------------------------------*/

.items {
	flex-direction: column;
	align-items: center;
	background: var(--color-background-secondary);
	padding: 10px 10px 5px 10px;
}

.item {
	width: 100%;
	background-color: var(--color-background-item);
	cursor: pointer;
	margin-bottom: 6px;
}

.item:hover {
	background-color: var(--color-background-tertiary);
}

.item a {
	text-decoration: none;
}

/*------------------------------
=HEADER
------------------------------*/

.header-top {
	display: flex;
	align-items: center;
	background-color: var(--color-org-global);
	height: 55px;
}

.header-top a {
	color: var(--color-text-primary);
	text-decoration: none;
}

#header-left {
	flex: 1 0px;
	text-align: left;
	padding-left: 10px;
}

#header-center {
	flex: 1 0px;
	text-align: center;
}

#header-right {
	flex: 1 0px;
	text-align: right;
	padding-right: 10px;
}

#header-bottom-container {
	height: 7px;
	background-color: var(--color-org-global);
}

#header-bottom {
	height: 100%;
	width: 100%;
	background-color: #000000;
	opacity: 0.2;
}

.appname {
	font: 400 100px/1.3 'Pacifico', Helvetica, sans-serif;
	font-size: 38px;
	opacity: 0.7;
	margin-bottom: 8px;
	cursor: pointer;
}

.appname a {
	color: black;
}

.appname:hover {
	opacity: 0.9;
}

#org_info {
	display: flex;
	justify-content: flex-start;
}

#login_info {
	display: flex;
	justify-content: flex-end;
}

.smalltext {
	display: none;
}

.bigtext {
}

header .menu-button {
	/*border-radius:3px;*/
	transition: 0.3s ease;
	-webkit-transition: 0.3s ease;
	border:1px solid  var(--color-background-primary);
	color: var(--color-background-primary);
	font-size: 14px;
	font-weight:bold;
	padding: 0px 10px;
	height: 30px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
}

header .menu-button .menu-text {
	height: 20px;
	padding-top: 5px;
}

header .menu-button:hover {
	background-color: rgba(0,0,0,0.2);
}

header .menu {
	display: none;
	position: absolute;
	margin-top: 36px;
	width: 200px;
	font-weight: normal;
	text-align: left;
	background: var(--color-background-primary);
	border: 1px solid var(--color-background-secondary);
	font-size: 16px;
}

.header_menu_right {
	margin-left: 8px;
	right: 10px;
}

.header_menu_left {
	left: 10px;
}

header .menu div {
	padding:0.3em;
}

header .menu-button.open .menu {
	display: block;
	z-index: 1000;
}

header .menu div:hover {
	background-color: var(--color-org-global);
}

/* STANDARD INPUT FIELDS */

.organization-input, .organization-input-small{
	font-size: 16px;
	line-height: 22px;
	background-color: var(--color-background-primary);
	margin-bottom: 10px;
	width:100%;
	box-sizing: border-box;
	border: 2px solid var(--color-background-secondary);
	color: var(--color-text-primary);
}

.organization-input {
	padding: 5px;
}

select.organization-input {
	background-image: url(/icons/arrow_down_select.svg);
	background-repeat: no-repeat, repeat;
	background-position: right .7em top 50%, 0 0;
	background-size: .65em auto, 100%;
	padding-right: 32px;
}

.organization-input:focus, .organization-input-small:focus{
	background: var(--color-background-primary);
	box-shadow: 0;
	border: 2px solid var(--color-org-global);
	outline: none;
}

select.organization-input:focus {
	background-image: url(/icons/arrow_down_select.svg);
	background-repeat: no-repeat, repeat;
	background-position: right .7em top 50%, 0 0;
	background-size: .65em auto, 100%;
}

.organization-input:invalid, .organization-input-small:invalid {
	box-shadow: none;
}

.organization-input:disabled, .organization-input-small:disabled {
	color: #aaa;
}

.organization-input-small {
	padding: 0px 0px 0px 5px;
}

.organization_show_id {
	border: 2px solid #AAA;
	font-size: 24px;
	font-family: monospace;
	color: #666;
	background-color: var(--color-background-tertiary);
	padding: 22px;
	border-radius: 3px;
	text-align: center;
}

/* BUTTONS */

div.button_standard > a {
	color: var(--color-background-primary);
}

.button_standard {
	-webkit-appearance: none;
	background-color:var(--color-org-global);
	/*border-radius:3px;*/
	transition: 0.3s ease;
	-webkit-transition: 0.3s ease;
	border:1px solid var(--color-org-global);
	display:inline-block;
	color: var(--color-background-primary);
	font-size: 14px;
	font-weight:bold;
	line-height: 28px;
	min-width: 30px;
}

.button_standard:hover {
	background:#fbfbfb;
	background-color:#fbfbfb;
	color:var(--color-org-global);
}

.button_standard:active {
	position:relative;
	top:1px;
}

.button_standard:focus {
	background:var(--color-org-global);
	background-color:var(--color-org-global);
	color: var(--color-background-primary);
	outline:0 !important;
}

.button_standard:disabled {
	background-color: var(--color-background-secondary);
    border: #fbfbfb solid 1px;
}

.button_standard:disabled:hover {
	background-color: var(--color-background-secondary);
	color:  var(--color-background-primary);
}

.button_wide {
	height: 50px;
	font-size: 16px;
	width: 100%;
	text-align: center;
}

.button_wide:disabled {
	background-color: var(--color-background-secondary);
}

.upload_button {
	border:1px solid var(--color-org-global);
	color:var(--color-org-global);
	display:inline-block;
	font-weight:bold;
	line-height: 28px;
	min-width: 30px;
}

label.upload_button input[type="file"] {
	position: fixed;
	top: -1000px;
}

.button_red {
	background-color: #EE6B66;
	border:1px solid #EE6B66;
}

.button_red:hover {
	background:#fbfbfb;
	background-color:#fbfbfb;
	color:#EE6B66;
}

.button_red:focus {
	background:#EE6B66;
	background-color:#EE6B66;
	color: var(--color-background-primary);
	outline:0 !important;
}

.button_yellow {
	background-color: #E8BE00;
	border:1px solid #E8BE00;
}

.button_yellow:hover {
	background:#fbfbfb;
	background-color:#fbfbfb;
	color:#E8BE00;
}

.button_yellow:focus {
	background:#E8BE00;
	background-color:#E8BE00;
	color: var(--color-background-primary);
	outline:0 !important;
}

/* MAIN CONTENT */

.content_new_ressource {
	display: flex;
	min-height: 80px;
	background: url(/icons/plus_circle_lightgrey.svg) center no-repeat;
	background-size: 28px 28px;
	cursor: pointer;
}

.content_new_ressource:hover {
	background: var(--color-background-secondary) url(/icons/plus_circle_grey.svg) center no-repeat;
	background-size: 28px 28px;
}

.content_header {
	display: flex;
}

.content_header_title {
	flex: 9;
}

.content_header_menu {
	flex: 1;
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
}

.content_header_menu_item {
	flex: 1;
	align-self: center;
	cursor: pointer;
	max-width: 50px;
	min-width: 50px;
}

.contextmenu-button {
	width: 35px;
	line-height: 35px;
	text-align:center;
	z-index: 1;
	top:100px;
	right: 0px;
	border: 1px solid #D8D8DA;
	border-left: 0px;
	position: fixed;
	background: #F0F0F0;
	overflow:hidden;
	transform: rotate(180deg);
	transition: background 0.1s ease-in-out;
	cursor: pointer;
	font-size: 18px;
}

.contextmenu-button:hover {
	background: var(--color-org-global);
	color: var(--color-background-primary);
}

.contextmenu-content {
	position: fixed;
	right: 0px;
	width: 0px;
	height: auto;
	top:100px;
	max-height: 90%;
	border: 0px solid #D8D8DA;
	/*list-style-type: none;*/
	margin: 0;
	padding: 0;
	z-index:100;
	background: #F0F0F0;
	overflow: auto;
	font-size: 14px;
}

.contextmenu-content select {
	width: 100%;
	/*min-width:90%;
	max-width:90%;*/
}

.contextmenu-content input[type='checkbox'] {
	vertical-align: middle;
}

.contextmenu-content .selectors .selector-box:not(:last-child) {
	padding-bottom:10px;
}

.contextmenu-button-open{
	z-index: 101; /*important to remove the border between the button and the menu if menu is extended*/
	margin: 0 331px 0 0;
	border: 1px solid #D8D8DA;
	border-right: 0px;
	transform: rotate(0deg);
}

.contextmenu-content-open{
	width:330px;
	border: 1px solid #D8D8DA;
}

.right-field-button {
	display: inline-block;
	position: absolute;
	margin-top: -2px;
}

.greybox {
	display: flex;
	flex: 1;
	text-align: center;
	align-items: flex-start;
	min-width: inherit;
	height: 80px;
	background-color: var(--color-background-secondary);
	margin-right: 20px;
	position: relative;
}

.greybox_num {
	flex: 1;
	font-size: calc((11vw + 2.5rem) / 7);
	align-self: center;
	color: #AAA;
	text-shadow: 0 -1px 1px #333, 0 1px 1px  var(--color-background-primary);
	font-family: 'Open Sans', sans-serif;
}

.greybox_desc {
	position: absolute;
	bottom: 1px;
	right: 8px;
	color: #999;
	line-height: normal;
	text-align: right;
	font-weight: bold;
	font-size: calc((3vw + 1.5rem) / 8);
}

/*------------------------------
=MODAL
------------------------------*/

.modalContainer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.8);
	z-index: 1000;
	opacity: 0;
	transition: opacity 100ms ease-in;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	overflow-y: auto;
}

.modalContainer:target {
	opacity:1;
}

.modalDialog {
	position: relative;
	flex: 1;
	max-width: 400px;
	margin: auto 0;
}

@media all and (max-width: 800px) {
	.modalDialog { flex: 8; }
}

@media all and (max-width: 600px) {
	.modalDialog { flex: 16; }
}

.modalHeader {
	padding: 0px 30px;
	background-color: var(--color-background-primary);
	border-radius: 5px 5px 0 0;
	border: 5px solid var(--color-background-primary);
	min-height: 30px;
}

.modalHeader > h2 {
	font-size: 24px;
	text-align: center;
}

.modalHeader #title {
	font-size: 18px;
	font-weight: bold;
	width: 100%;
	box-sizing: border-box;
	border: none;
	overflow: hidden;
	resize: none;
	padding: 0;
	min-height: 30px;
}

.modalHeader #title:hover {
	background-color: var(--color-background-tertiary);
}

.modalHeader #title:focus {
	background-color: var(--color-background-tertiary);
	border: 2px solid var(--color-org-global);
	outline: none !important;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1) inset;
}

.modalBody{
	display: flex;
    flex-direction: column;
    align-content: flex-end;
    font-size: inherit;
    background-color: var(--color-background-primary);
    padding: 20px 40px 40px 40px;
    border-radius: 0 0 5px 5px;
    border: 5px solid var(--color-background-primary);
}

.modalAside {
	position: relative;
	flex: 2;
	padding-top: 4px;
	min-width: 100px;
}

.modalAside h3 {
	padding: 0 0 15px 0;
}

.modalAsideButton {
	position: relative;
	margin-bottom: 10px;
	font-size: 16px;
	padding: 8px;
	background-color: var(--color-background-secondary);
	line-height: 22px;
	text-align: center;
	cursor: pointer;
}

.modalFooter{
	margin: 20px 30px 20px 20px;
	background-color: var(--color-background-primary);
}

.modalFooter{
	border-top: lightgray solid 1px;
	padding: 15px 0 0 0;
	text-align: right;
}

.modalSubmit {
	max-width: 320px;
	margin: 0px auto 0px auto;
}

.modal-description {
	width: 100%;
	box-sizing: border-box;
	border: none;
	overflow: auto;
	resize: none;
	margin-bottom: 19px;
	max-height: 600px;
	overflow-y: auto;
	min-height: 40px;
}

.modal-description:hover {
	background-color: var(--color-background-tertiary);
	border-radius: 3px;
}

.modal-description:focus {
	background-color: var(--color-background-tertiary);
	outline: none !important;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1) inset;
	border-radius: 3px;
	color: var(--color-text-primary);
}

.btnClose {
	color: lightgray;
	margin-top: 15px;
	font-size: 30px;
	text-decoration: none;
	position: absolute;
	right: 15px;
	top: 0;
	cursor:pointer;
	z-index: 100;
}

.btnClose:hover {
	color: black;
}

/*------------------------------
=TABS
------------------------------*/

.tabs {
}

/*----- Tab Links -----*/
/* Clearfix */
.tab-links:after {
    display:block;
    clear:both;
    content:'';
}

.tab-links li {
    margin:0px 5px;
    float:left;
    list-style:none;
}

.tab-links a {
    padding:9px 15px;
    display:inline-block;
    border-radius:3px 3px 0px 0px;
    background:var(--color-background-quaternary);
    font-size:16px;
    font-weight:600;
    color:var(--color-text-secondary);;
    transition: linear 0.15s;
    -webkit-transition: linear 0.15s;
    text-decoration:none;
    width: 110px;
}

.tab-links a:hover {
    background:var(--color-background-secondary);
}

li.activetab a, li.activetab a:hover {
    color:#4c4c4c;
    background: var(--color-background-primary);
}

/*----- Content of Tabs -----*/

.tab-content {
	border-radius: 5px;
	border: 5px solid var(--color-background-primary);
}

.tab {
    display:none;
}

.tab.activetab {
    display:block;
}

/*------------------------------
=LIST AND ACCORDION
------------------------------*/

.outerframe {
	background-color: var(--color-background-tertiary);
	border: 1px solid var(--color-background-secondary);
	padding: 23px;
	margin-bottom: 20px;
}

.additem {
	padding-top: 5px;
	padding-bottom: 5px;
	font-size:24px;
	text-align: center;
	color: #6e6e6e;
	cursor: pointer;
	width: 30px;
	margin: 0 auto;
}

.additem:hover {
	color: #4b4b4b;
}

.additem a {
	color: #CCC !important;
	text-decoration: none;
}

.additem a:hover {
	color: #555 !important;
}

.accordion {
	color: #333;
}

.accordion a {
	text-decoration: none;
}

.accordion-header  {
	display: flex;
	margin-top: 18px;
	color: var(--color-background-primary);
	font-size:16px;
	height: 40px;
	transition: 0.1s ease;
	-webkit-transition: 0.1s ease;
}

.accordion-header .title>span{
	position: absolute;
	font-size: 14px;
	font-style:italic;
	color: #333;
}

.client .accordion-header {
	background-color: #27AE60;
}

.client.guest-client .accordion-header {
	background-color: #69e29c;
	border: 1px solid #27AE60;
}

.client .accordion-header:hover {
	background-color: #2ECC71;
}
.timesheet .accordion-header{
	background-color: #e4644b;
}

.timesheet .accordion-header:hover {
	background-color: #E48D7C;
}

.project .accordion-header {
	background-color: #237fd0;
}

.project.guest-project .accordion-header {
	background-color: #4ca7e2;
	border: 1px solid #2980B9;
}

.project .accordion-header:hover {
	background-color: #458fd0;
}

.task .accordion-header {
	background-color: #4c87ab;
}

.task .accordion-header:hover {
	background-color: #7099b3;
}

.category .accordion-header {
	background-color: #e63838;
}

.category .accordion-header:hover {
	background-color: #e66363;
}

.category.guest-category .accordion-header {
	background-color: #e5868e;
	border: 1px solid #D92231;
}

.bill .accordion-header {
	background-color: #987ad4;
}

.bill .accordion-header:hover {
	background-color: #b29fd8;
}
.archived .accordion-header {
	background-color: #aaa !important;
}

.archived .accordion-header:hover {
	background-color: #888 !important;
}
.accordion-header .clickarea {
	display: flex;
	flex: 1;
	align-items: center;
	height: 100%;
	cursor: pointer;
	overflow: hidden;
}

.accordion-header .title{
	flex: initial;
	padding-left: 0.5em;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.accordion-header .subtitle{
	flex: 1;
	font-size: 14px;
	font-style:italic;
	color: #333;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	display: inline-block;
}

.accordion .menu-button, .item .menu-button {
	flex: 0;
	min-width: 36px;
	height: 100%;
	float: right;
	background: url(/icons/menu_button.svg) center 50% no-repeat;
	background-size: 26px 26px;
}

.accordion .menu-button:hover, .item .menu-button:hover {
	background-image: url(/icons/menu_button_circle_white.svg);
}

.accordion .menu,.item .menu {
	display: none;
	position: fixed;
	right: 40px;
	margin-top: 36px;
	background: var(--color-background-primary);
	border: 1px solid var(--color-background-secondary);
	font-size: 16px;
	text-align: justify;
	z-index: 1;
	color: var(--color-text-primary);
}

.accordion .menu div,.item .menu div {
	padding: 0.5em;
	cursor: pointer;
	white-space:nowrap;
}

.accordion .menu div:hover,.item .menu div:hover {
	background-color: var(--color-org-global);
}

.menu-button.open .menu {
	display: block;
	width: auto;
}

.accordion-body {
	/*display: none;*/
	position: relative;
	background: var(--color-background-secondary);
	color: var(--color-text-primary);
	padding: 15px 10px 10px 10px;
	border-bottom-right-radius: 3px;
	border-bottom-left-radius: 3px;
	z-index: 0; /*revenge of the mikron_directforwardarrow*/
}

.accordion-flexcontainer {
	display: flex;
	flex-wrap: wrap;
	padding: 30px 20px 0px 20px;
	color: var(--color-text-primary);
	background-color: var(--color-background-primary);
}

.accordion-innerflexbox {
	flex:1;
	height: 100%;
}

.general-stats-container {
	display: flex;
	justify-content: space-between;
	padding-bottom: 10px;
	flex:1;
}

.autosave-status {font-size: 13px;height: 22px;}
.autosave-status-pending { font-size: 13px; color: #aaa; }
.autosave-status-saved { font-size: 13px; color: #0a0; }

/*------------------------------
=FORM
------------------------------*/

.feedback-input {
	color:var(--color-text-primary);
	font-family: Helvetica, Arial, sans-serif;
	font-weight:500;
	font-size: 18px;
	line-height: 22px;
	padding: 13px 13px 13px 0px;
	margin-left: 54px;
	background-color: rgba(0, 0, 0, 0) !important;
	width: -webkit-fill-available;
	width: -moz-available;
	box-sizing: border-box;
	border: 3px solid rgba(0,0,0,0);
}

.feedback-input:focus{
	border: 3px solid rgba(0,0,0,0);
	outline: none;
}

.focused{
	color:#30aed6;
	border:#30aed6 solid 3px;
}

.feedback-input:invalid {
	box-shadow: none;
}


/* Login ---------------------------------- */

/* Ugly hack to keep Chrome from filling the field with a yellow background.*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s;
    -webkit-transition: background-color 5000s;
}

input:focus{
	border:#00cfaa solid 3px;
	/*border:#30aed6 solid 3px;*/
}

input:-webkit-autofill::first-line {font-size: 18px}

#name{
	background-image: url(/icons/user.svg);
	background-size: 30px 30px;
	background-position: 11px 8px;
	background-repeat: no-repeat;
	background-color: var(--color-background-primary);
	margin-bottom: 16px;
}

#name:focus{
	background-image: url(/icons/user.svg);
	background-size: 30px 30px;
	background-position: 11px 8px;
	background-repeat: no-repeat;
}

.password-input{
	background-image: url(/icons/lock.svg);
	background-size: 28px 28px;
	background-position: 11px 11px;
	background-repeat: no-repeat;
	margin-bottom: 16px;
	background-color: var(--color-background-primary);
}

#email {
	background-image: url(/icons/email.svg);
	background-size: 30px 30px;
	background-position: 11px 11px;
	background-repeat: no-repeat;
	margin-bottom: 16px;
	background-color: var(--color-background-primary);
}

#comment{
	background-image: url(/icons/comment.svg);
	background-size: 30px 30px;
	background-position: 11px 8px;
	background-repeat: no-repeat;
}

#cssmenu-button {
	position: relative;
	width: 25px;
	height: 75px;
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	background-color: var(--color-org-global);
}

#cssmenu-button div {
	flex: 1;
	color: var(--color-background-primary);
	font-size: 18px;
	text-align: center;
}

#cssmenu {
	min-width: 150px;
	max-width: 250px;
	background: var(--color-background-mainmenu);
	position: relative;
	overflow-y:auto;
	flex: 1.3;
	font-size: 16px;
}

#cssmenu ul li.active {
	background-color: var(--color-org-global);
}

#cssmenu-button-container {
	display: none;
}

#cssmenu-body {
	width: 100%;
}

#cssmenu-body li {
  position: relative;
}
#cssmenu-body a {
  display: block;
  padding: 15px 20px;
  color: #eee;
  text-decoration: none;
  text-transform: uppercase;
}
#cssmenu-body ul,
#cssmenu-body ul li,
#cssmenu-body ul ul {
  list-style: none;
  margin: 0;
}
#cssmenu-body ul li {
  border-top: 1px solid rgba(255,255,255,0.03);
}
#cssmenu-body ul li:hover {
  position: relative;
  z-index: 599;
  cursor: default;
  background: #2e2f33;
}
#cssmenu-body ul li:hover > ul {
  visibility: visible;
}
#cssmenu-body > ul > li > a {
	padding: 15px 15px 15px 30px;
}
#cssmenu-body > ul > li > a:hover {
  color:  var(--color-background-primary);
}
#cssmenu-body ul li.active {
	background: #1b9bff;
}

.img-circle {
    border-radius: 50%;
}

.menu-icon-container {
    width: 82px;
    height: 82px;
    margin: 60px auto;
    background: #222326;
    overflow: hidden;
}

.menu-user-icon {
    width: 100%;
    height: 100%;
    position: relative;
    top: 9px;
    background-color: #2e2f33;
    -webkit-mask-image: url(/icons/user.svg);
    mask-image: url(/icons/user.svg);
}

.menu-office-icon {
    width: 90%;
    height: 90%;
    position: relative;
    top: 9px;
    background-color: #2e2f33;
    -webkit-mask-image: url(/icons/office.svg);
    mask-image: url(/icons/office.svg);
}

a.tooltip {
    position: relative;
    text-decoration: none;
    line-height: normal;
    font-weight: normal;
    font-size: 14px;
  }
  a.tooltip:after {
    content: attr(data-tooltip);
    position: absolute;
    margin-bottom: 5px;
    background: black;
    white-space: pre-line;
    padding: 5px 15px;
    color: var(--color-text-secondary);
    display:none;
    z-index: 1000;
  }
  a.tooltip:hover:after {
    bottom: 100%;
    width: 260px;
    white-space: pre-line;
  }
  a.tooltip:hover:before {
    bottom: 70%;
  }
  a.tooltip:hover:after, a:hover:before {
    display: block;
  }

.resource-search-bar {
    border-radius: 10px !important;
    border: 2px solid var(--color-background-secondary);
    background-image: url(/icons/magnifying_glass_lightgrey.svg);
    background-size: 30px 30px;
    background-position: 11px 11px;
    background-repeat: no-repeat;
    margin: 50px 0 30px 0;
}

/* RESOURCE BOXES */

.resource-box {
	background-color: var(--color-background-tertiary);
	box-sizing: border-box;
	height:100%;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--color-background-secondary);
	font-size: 14px;
	border-radius: 5px;
}

.resource-box-modal {
	height: 300px;
	margin-bottom: 30px;
}

.resource-box-top {
	display: flex;
	align-items: center;
	text-align: center;
	line-height: 42px;
	background-color: var(--color-background-secondary);
	border-bottom: 1px solid var(--color-background-secondary);
	border-radius: 5px 5px 0 0;
}

.resource-box-top-info {
	width: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: auto;
}

.resource-box-top-center {
	font-weight: bold;
	font-size: 16px;
	flex: 1;
	width: 0;
	white-space: nowrap;
	text-overflow:ellipsis;
	overflow: hidden;
}

.resource-box-top-right {
	display: flex;
}

.resource-box-body-flexcontainer {
	display: flex;
	flex: 1;
	min-height: 0px;
}

.resource-box-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 200px;
	min-height: 0;
	background-color: var(--color-background-tertiary);
}

.resource-box-body-list {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	list-style: none;
	margin-left: 0em;
	width: 100%;
	font-size: 14px;
}

.resource-box-body.resource-box-content {
	display: flex;
	border-left: 1px solid var(--color-background-secondary);
	flex: 2;
	overflow-x: hidden;
}

.resourcelist-resource {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	height: auto;
	box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.25);
	margin: 10px 5px 5px 5px;
	background-color: var(--color-background-item);
	position: relative;
	cursor: pointer;
	border-radius: 5px;
}

.resourcelist-resource.selected {
	background-color: var(--color-org-global);
	color: var(--color-background-primary);
	font-weight: bold;
}
.resourcelist-resource.selected:hover {
	background-color: var(--color-org-global);
	opacity:0.8;
	color: var(--color-background-primary);
}

.resourcelist-resource:hover {
	background-color: var(--color-background-tertiary);
}

.resourcelist-resource.preliminary-member {
	padding: 8px 0 8px 0;
	border-radius: 4px;
	background-color: var(--color-background-secondary);
}

.resourcelist-resource.preliminary-member:hover {
	background-color: var(--color-background-tertiary);
}

.resource-box-item-container {
	display: flex;
	flex-wrap: wrap;
	padding-left: 10px;
	padding-right: 20px;
}

.resource-box-item-title {
	display: flex;
	width: 100%;
	padding-top: 10px;
	font-size: 16px;
}

.resource-box-item-title h5
{
	padding: 15px 0 0 10px;
}

.resource-box-item-title > div:not(.resource-action.remove) {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.resource-box-item-title > div:first-child {
	flex: 1;
	width: 0;
}

.resource-box-item-info {
	display: flex;
	width: 100%;
	padding-bottom: 10px;
}

.resource-box-item-info-member {
	display: flex;
	width: 100%;
}

.resource-box-item-info-role {
	color: #767676;
	font-style: italic;
	flex: 1;
	width: 0;
	font-weight: normal;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

.resource-box-item-info-icons {
	height: 20px;
	min-width: 20px;
	display: flex;
	justify-content: flex-start;
}

.resource-box-item-info-icon > span {
	font-size: 9px;
	bottom: -8px;
	left: 90%;
	position: absolute;
	color: #767676;
}

.resource-box-bottom {
	height: 42px;
	text-align: center;
	border-top: 1px solid var(--color-background-primary);
	background-color: var(--color-background-secondary);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0 0 5px 5px;
}

.icon {
	cursor: pointer;
}

.icon.tooltip {
	background-size: 25px 25px !important;
	cursor: pointer;
	width: 40px;
	height: 40px;
	z-index: 0;
}

.icon.tooltip-small {
	background-size: 15px 15px !important;
	width: 20px;
	height: 20px;
}

.icon.organization-shortcut-icon {
	background-size: 28px 28px !important;
	min-width: 40px;
	min-height: 40px;
	opacity: 0.6;
}

.icon.organization-shortcut-icon:hover {
	opacity: 1;
}

.icon.settings {
	opacity: 30%;
	background-size: 30px 30px !important;
	min-height: 50px;
	min-width: 50px;
}

.icon.settings.active {
	opacity: 80% !important;
}

.icon.resource-box-icon {
	background-size: 25px 25px !important;
	min-height: 40px;
	min-width: 40px;
}

.icon.resource-box-item-info-icon {
	background-size: 18px 18px !important;
	min-width: 24px;
	height: 20px;
	position: relative;
}

.icon.messenger {
	background-size: 38px 38px !important;
	height: 38px;
	width:  38px;
}

.icon.help {
	background: url(/icons/help_circle_blue.svg) center no-repeat;
}

.icon.graph-black {
	background: url(/icons/graph_black.svg) center no-repeat;
}

.icon.archive-black {
	background: url(/icons/archive_black.svg) center no-repeat;
}

.icon.archive-grey {
	background: url(/icons/archive_circle_grey.svg) center no-repeat;
}

.icon.filter {
	background: url(/icons/filter_black.svg) center no-repeat;
}

.icon.resource-add {
	background: url(/icons/plus_circle_lightgrey.svg) center no-repeat;
}

.icon.resource-add:hover {
	background: url(/icons/plus_circle_grey.svg) center no-repeat;
}

.icon.resource-remove {
	background: url(/icons/minus_circle_lightgrey.svg) center no-repeat;
}

.icon.resource-remove:hover {
	background: url(/icons/minus_circle_grey.svg) center no-repeat;
}

.icon.company-lightgrey {
	background: url(/icons/office_circle_lightgrey.svg) center no-repeat;
}

.icon.superuser-grey {
	background: url(/icons/superuser_circle_grey.svg) center no-repeat;
}

.icon.manager-black {
	background: url(/icons/manager_circle_black.svg) center no-repeat;
}

.icon.manager-grey {
	background: url(/icons/manager_circle_grey.svg) center no-repeat;
}

.icon.accountant-grey {
	background: url(/icons/accountant_circle_grey.svg) center no-repeat;
}

.icon.user-grey {
	background: url(/icons/user_circle_grey.svg) center no-repeat;
}

.icon.redo-circle-grey {
	background: url(/icons/redo_circle_grey.svg) center no-repeat;
}

.icon.download-circle-grey {
	background: url(/icons/download_circle_grey.svg) center no-repeat;
}

.icon.filter-circle-grey {
	background: url(/icons/filter_circle_grey.svg) center no-repeat;
}

.icon.ticket-grey {
	background: url(/icons/ticket_circle_grey.svg) center no-repeat;
}

.icon.check-green {
	background: url(/icons/check_circle_green.svg) center no-repeat;
}

.icon.check-grey {
	background: url(/icons/check_circle_grey.svg) center no-repeat;
}

.icon.cancel-red {
	background: url(/icons/exit_circle_red.svg) center no-repeat;
}

.icon.cancel-grey {
	background: url(/icons/exit_circle_grey.svg) center no-repeat;
}

.icon.ticket-cancel-grey {
	background: url(/icons/exit_circle_grey.svg) center no-repeat;
}

.icon.ticket-cancel-grey:hover {
	background: url(/icons/exit_circle_red.svg) center no-repeat;
}

.icon.ticket-smiley-grey {
	background: url(/icons/smiley_lightgrey.svg) center no-repeat;
}

.icon.ticket-smiley-grey:hover {
	background: url(/icons/smiley_yellow.svg) center no-repeat;
}

.icon.attention-blue {
	background: url(/icons/attention_circle_blue.svg) center no-repeat;
}

.icon.attention-lightgrey {
	background: url(/icons/attention_circle_lightgrey.svg) center no-repeat;
}

.icon.message-send-grey {
	background: url(/icons/papersend_circle_lightgrey.svg) center no-repeat;
}

.icon.message-send-green {
	background: url(/icons/papersend_circle_green.svg) center no-repeat;
}

.ui-datepicker-trigger {
	background: url(/icons/calendar.svg) center no-repeat;
	background-size: 18px 18px;
	opacity: 50%;
}

/* BUTTON ACTION FOR RESOURCE LIST */

.resource-action {
	width: 15px;
	height: 100%;
	transition: .3s ease;
	cursor: pointer;
	position: absolute;
	right: 0;
	background: var(--color-background-secondary);
	border-radius: 0 5px 5px 0;
}

.resource-action:hover {
	width: 100px;
	transition: width .35s ease-in-out;
	transition-delay: 0.5s;
}

/* ARCHIVE BUTTON FOR RESOURCE LIST */

.resource-action.archive:hover {
	background-color: #E8BE00;
}

.resource-action.archive div {
	mask: url(icons/archive_black.svg) no-repeat 50% 50%/30px 30px;
	background-color: #ffe86e;
	height: 100%;
	visibility: hidden;
}

.resource-action.archive:hover div  {
	visibility: visible;
	transition-delay: 0.5s;
}

/* DELETE BUTTON FOR RESOURCE LIST */

.resource-action.remove:hover {
	background-color: #c13a2c;
}

.resource-action.remove div {
	visibility: hidden;
	opacity: 0;
	background-image: radial-gradient(ellipse farthest-corner at center, #E74C3C 0%, #c13a2c 100%);
	color: #983227;
	text-shadow: 0 -1px 1px #421814, 0 1px 1px #ffc5c0;
	font-size: 36px;
    font-family: 'Open Sans', sans-serif;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 72px;
    font-weight: bold;
}

.resource-action.remove:hover div  {
	visibility: visible;
	transition: opacity .5s ease-in-out;
	opacity: 1;
	transition-delay: 0.5s;
}

.flextable {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.flextable .row {
	flex: 1;
	padding: 5px 0 5px 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.flextable .cell {
	flex: 1;
	line-height: normal;
}

.flextable .cell input {
	vertical-align: baseline;
}

.flextable .cell-content-center{
	display: flex;
	align-items: center;
	justify-content: center;
}

/* HOME */

.thumb {
	background: url(/icons/thumb.svg) no-repeat top;
	background-size: contain;
	margin: 0 auto;
	width: 75%;
}

.home {
	display: flex;
	flex-flow: row wrap;
	height: 90%;
}

.home > * {
	flex: 1 100%;
}

.middle-center {
	text-align: left;
	margin: 0 auto;
	max-width: 800px;
}

@media all and (min-width: 200px) {
	.aside { flex: 1 auto; }
	.aside-1 { order: 1; margin-top: 30px;}
	.thumb   { height: 150px;}
	.middle    { order: 2; margin: 30px;}
	.aside-2 { order: 3; }
}

@media all and (min-width: 800px) {
	.middle    { flex: 2 0px; }
	.aside-1 { order: 1; margin-top: 80px; }
	.thumb   { height: 400px;}
	.middle    { order: 2;}
	.aside-2 { order: 3; }
}

.organizations {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.organization-box {
	width: 300px;
	height: 300px;
	margin: 40px 40px 0px 0px;
	display: flex;
	flex-direction: column;
	border-radius: 10px;
	box-shadow: 5px 5px 5px var(--color-background-quaternary);
}

.organization-box:hover {
	opacity: 0.8;	
}

.organization-box-mainlink {
	flex: 5;
	text-decoration: none;
	color: #000;
	padding-top: 13px;
	padding-bottom: 13px;
	padding-left: 23px;
	padding-right: 23px;
}

.organization-box-mainlink:hover {
	color: #000;
}

.organization-box-items {
	position: relative;
	color: var(--color-background-primary);
	flex: 4;
}

.organization-box-shortcuts {
	display: flex;
	height: 60px;
}

.organization-box-shortcuts a {
	text-align: center;
	flex: 1;
	display: flex;
	justify-content: center;
	align-content: center;
	flex-direction: column;
	background-size: 28px 28px;
}

.organization-box-shortcuts a:hover {
	opacity: 0.9;
}

.d3-settings-icon {
	position: absolute;
	top:2px;
	right:2px;
	z-index:9999;
	cursor:pointer;
	height: 30px;
	width: 30px;
	background: url(/icons/settings_lightgrey.svg) center no-repeat;
	background-size: 26px 26px !important;
	opacity: 0.7;
}

.organization-settings-button:hover {
	-webkit-filter: invert(1);
    filter: invert(1);
}

.logbookentry {
	font-size: 14px;
	display: flex;
	flex-direction: row !important;
	align-items: center;
	margin-top: 5px;
}

.logbookentry .errorclass {
    height:10px;
    width:10px;
    border-radius:10px;
    margin: 10px 10px;
}

.logbookentry .errorclass.neutral-grey {
	border: 2px solid #ccc;
}

.logbookentry .errorclass.normal-green {
	border: 2px solid rgba(0, 153, 51, 0.6);
	background-color: rgba(51, 204, 51, 0.6);
}

.logbookentry .errorclass.medium-yellow {
	border: 2px solid rgb(232, 200, 85);
	background-color: rgb(255, 240, 184);
}

.logbookentry .errorclass.critical-red {
	border: 2px solid rgba(128, 0, 0, 0.6);
	background-color: rgba(204, 0, 0, 0.6);
}

.logbookentry .logdate {
	flex: unset;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding-left: 10px;
}

.logbookentry .logmessage {
	flex: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Organization Settings */

.label-container {
	overflow-y: auto;
	overflow-x: hidden;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	height:100%;
}

.label {
	display: flex;
	align-items: center;
	box-shadow: 1px 1px 1px 0px rgb(0 0 0 / 25%);
	margin: 10px 5px 0px 5px;
	color: #f9f9f9;
	font-weight: bold;
	border-radius: 4px;
	padding: 3px 29px;
}

.label-action {
	display: none;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	flex: 0;
}

.label:hover {
	padding: 3px;
}

.label:hover > .label-action {
	display: flex;
}

.label-action-color {
	display: flex;
	border-radius: 15px;
	width: 8px;
	height: 8px;
	border: 3px solid rgba(0, 0, 0, .33);
}

.label-action-color > input {
	padding: 0;
	margin: 0;
	border: none;
	width: 10px;
	flex: 1;
	height: auto;
	opacity: 0;
	cursor: pointer;
}

.label-action-remove {
	color: rgb(0 0 0 / 33%);
	font-size: 24px;
	cursor: pointer;
}

.label-name {
	position: relative;
}

#myLdapTestResult {
	height:  600px;
	font-size: 8pt;
	font-family: monospace;
	background-color: var(--color-background-secondary);
	width: 100%;
	padding: 10px;
	overflow: auto;
	border: 1px solid var(--color-background-secondary);
	margin-bottom: 20px;
}

/* Members */

.dashboard {
	border-bottom: 1px solid var(--color-background-secondary);
	background-color: var(--color-background-secondary);
	padding: 10px 20px 10px 20px;
	cursor: pointer;
}

.dashboard p {
	font-weight: bold;
	font-size: 18px;
	text-align: center;
	color: #767676;
	margin: 0.5em 0px;
}

.memberlist {
	display: flex;
	flex-direction: column;
	flex: 1.5;
	max-width: 280px;
	min-width: 150px;
	border-right: 1px solid var(--color-background-secondary);
}
.memberlist .resource-box-item-title h5 {
	padding: 3px 0 5px 0;
	line-height: 1
}
.memberlist .resource-box-item-title h5 span {
	display: inline-block; 
	height: 10px; 
	width: 10px; 
	border-radius: 10px; 
	margin: 0 auto; 
	border: 2px solid rgba(0, 0, 0, 0.1);
	margin: 0px 5px 0 0;
}
.memberlist-membername-inactive {
	text-decoration: line-through;
	color: #aaa;
}

#member {
	flex: 3.5;
	padding: 20px;
	overflow-y: auto;
}

#membersettings {
}

#membersettings .settargetrole {
	display: none;
}

/* Clients */

/* Clients -> Project-Settings -> Budgets */

.stat_greybox:before {
    content: '';
    display: block;
    padding-top: calc((40vw + 20rem) / 8);
}

.stat_greybox_num {
	font-size: calc((15vw + 2.5rem) / 7);
	padding-top: 0px;
}

.stat_greybox_desc {
	font-size: calc((6vw + 1.5rem) / 8);
}

.client-d3stats {
	flex: 2.5;
	min-width: 500px;
	margin: 20px;
}

.client-accountants {
	flex: 1;
	min-width: 300px;
	margin: 20px;
	height: auto;
	min-height: 500px;
}

.client-projectsettings {
	flex: 2.5;
	min-width: 500px;
	margin: 20px;
	height: 500px;
}

.client-expenses {
	flex: 1;
	min-width: 300px;
	height: 500px;
	margin: 20px;
}

@media only screen and (max-width: 1510px) {
	.client-flexcontainer:nth-last-child(2) { order: 1; }
}

@media only screen and (min-width: 1100px) {
	.client-d3stats { min-width: 750px; }
	.client-projectsettings { min-width: 750px; }
}

@media only screen and (min-width: 2330px) {
	.client-flexcontainer:nth-last-child(2) { order: 1; }
}

.budget {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	flex: 1;
}

/* Projects */

.project-d3stats {
	flex: 2.5;
	min-width: 500px;
	margin: 20px;
}

.project-tasks {
	font-size: 12px;
	color: #999;
	padding-bottom: 0px;
	width: fit-content;
	line-height: 10px;
}

.project-tasks:hover {
	text-decoration: underline;
	cursor: pointer;
}

.project-budgets {
	flex: 1;
	min-width: 300px;
	margin: 20px;
	height: auto;
}

.project-membersettings {
	flex: 2.5;
	min-width: 500px;
	margin: 20px;
	height: 500px;
}

.project-enabledcategories {
	flex: 1;
	min-width: 300px;
	height: 500px;
	margin: 20px;
}

.budgetsquotas {
	background: url(/budget_draft.jpg) center no-repeat;
	background-size: 300px 400px;
}

@media only screen and (max-width: 1239px) {
	.project-flexcontainer:nth-last-child(2) { order: 1; }
}

@media only screen and (min-width: 1400px) {
	.project-membersettings { min-width: 700px; }
}

@media only screen and (min-width: 1600px) {
	.project-flexcontainer:nth-last-child(2) { order: 1; }
}

/* Categories */

/* Rates */

.ratedetails {
	display: none;
	height: auto;
	padding: 20px 0px 20px 0;
	background-color: var(--color-background-primary);
	border: 1px solid var(--color-background-secondary);
	border-top: 0;
	box-sizing: border-box;
	width: 100%;
}
.ratedetails .rate {
	padding-left: 20px;

}
.ratedetails-mainrate {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	padding-bottom: 10px;
}

.ratedetails-mainrate div {
	white-space: nowrap;
	text-overflow:ellipsis;
	overflow: hidden;
}

.ratedetails-separatorline {
	position: relative;
	margin: 0 20px 25px 20px;
    border-top: 1px dashed #ccc;
}

.ratedetails-relativerates {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.ratedetails-relativerates div {
	white-space: nowrap;
	text-overflow:ellipsis;
	overflow: hidden;
}

.ratedetails-relativerates-info {
	color: #767676;
	font-style: italic;
	font-weight: normal;
	line-height: 16px;
	font-size: 14px;
}

.rate-mainrate-rate {
	display: inline-block;
	float: right;
	text-align: right;
	padding-right: 5px;
	min-width: 110px;
}

.rate-mainrate-selected {
	font-weight: bold;
	background-color: #e2e6e8;
}

.rate-inbound-color {
	color: #E74C3C;
}

.rate-outbound-color {
	color: #2ECC71;
}

.rate-selector {
	margin-bottom: 0px;
	line-height: 18px;
}

.ratelist {
	display: flex;
	padding-bottom: 5px;
}

/* Salaries */

.salarylistelement span {
	font-size: 10px;
	line-height: 10px;
}

.salarylistelement input {
	font-size: 12px;
	line-height: 12px;
	margin-bottom: 5px;
	width: 90%;
}

/*------------------------------
= Mikrons
------------------------------*/

.mikron_container{
	display: flex;
	align-items: center;
	overflow-x: scroll;
	padding: 20px;
	background-color: var(--color-background-secondary);
}

.mikron_box {
	background-color: var(--color-background-primary);
	margin-right: 20px;
	min-width: 330px;
	max-width: 330px;
	border-radius: 5px;
}


.mikron_box .mikron_error {
	position: absolute;
	padding: 0.9em;
	margin-top: -95px;
	margin-left: -15px;
	width: 280px;
	background: #ffc0cbdd;
	border: 1px solid red;
	border-radius: 3px;
	font-size: 14px;
	color: red;
}

.mikron_error p {
	margin: 15px 0 0 0;
}

.mikron_error #resource_delete_btnClose {
	color: red !important;
}

.mikron_body{
	transition: opacity 200ms, margin-left 200ms ease-in;
	-webkit-transition: opacity 200ms, margin-left 200ms ease-in;
	padding: 28px;
}

.mikron_selector{
	width: 100%;
	margin-bottom:10px;
}

.btnMikronDelete{
	color: gray;
	font-size: 25px;
	line-height: 0px;
	text-decoration: none;
	position: relative;
	text-align: right;
	top: 20px;
	right: 15px;
	cursor: pointer;
}

#addButtonDiv{
	cursor: pointer;
	min-width: 30px;
	background: url(/icons/plus_circle_grey.svg) center no-repeat;
	background-size: 28px 28px;
	height: 40px;
}

#addButtonDiv:hover{
	background: url(/icons/plus_circle_black.svg) center no-repeat;
	background-size: 28px 28px;
}

.btnMikronDelete:hover{
	color: var(--color-text-primary)
	cursor: pointer;
}

.mikron_body .mikron-slider-input {
  padding: 4px 5px;
  margin-bottom: 0px !important;
}

.mikron_body .mikron-slider {
  -webkit-appearance: none;
  margin-right: 15px;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  border: 2px solid var(--color-background-tertiary);
  background-size: 25% 100%;
  background-repeat: no-repeat;
  background-image: linear-gradient(var(--color-org-global), var(--color-org-global));
  background-color: var(--color-background-secondary);
}

.mikron_body .mikron-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: var(--color-background-tertiary);
  cursor: ew-resize;
  box-shadow: 0 0 2px 0 #555;
  transition: background .3s ease-in-out;
  -webkit-transition: background .3s ease-in-out;
}

.mikron_body .mikron-slider::-moz-range-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: var(--color-background-tertiary);
  cursor: ew-resize;
  box-shadow: 0 0 2px 0 #555;
  transition: background .3s ease-in-out;
  -webkit-transition: background .3s ease-in-out;
}

.mikron_body .mikron-slider::-webkit-slider-thumb:hover {
  background: var(--color-background-secondary);
}

.mikron_body .mikron-slider::-moz-range-thumb:hover {
  background: var(--color-background-secondary);
}

/* Input Track */
.mikron_body .mikron-slider::-webkit-slider-runnable-track  {
  -webkit-appearance: none;
  box-shadow: none;
  border: none;
  background: transparent;
}

.mikron_body .mikron-slider::-moz-range-track {
  -webkit-appearance: none;
  box-shadow: none;
  border: none;
  background: transparent;
}

.mikronDate {
	height: 30px;
	width: 100%;
	padding-right: 12px;
	float: left;
	text-align: right;
}

.mikronTime {
	text-align: right;
}

.mikronTime input {
	text-align: right;
	padding-right: 10px;
}

.mikronDateText {
	margin-bottom: 12px;
	line-height: 24px;
	text-align: right;
}

.mikronDescription {
	width: 100%;
    margin-top: 10px;
	box-sizing: border-box;
	resize: none;
	resize: vertical;
}

.mikron_copyarrow {
	margin:  auto 0;
	height: 64px;
	width: 64px;
	background: url(/icons/plus_circle_grey.svg) center no-repeat;
	background-size: 32px 32px;
	background-position-x: center;
	background-position-y: center;
	cursor: pointer;
}

.mikron_directforwardarrow {
	position: absolute;
	z-index: -1;
	right: -18px;
	top: 10px;
	height: 48px;
	width: 48px;
	background: url(/icons/arrow_right_halfcircle_grey.svg) center no-repeat;
	background-size: 32px 32px;
	cursor: pointer;
}

.mikron_directforwardarrow:hover {
	right: -40px;
}

.mikron_copyarrow:hover {
	background-image: url(/icons/plus_circle_lightgrey.svg);
}
.hidden-from-user {
	position: absolute;
	overflow: hidden;
	clip: rect(0 0 0 0);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
}

/* TIMESHEETS */

.ts_greybox {
	align-items: center;
	height: auto;
}

.ts_greybox:before {
    content: '';
    display: block;
    padding-top: calc((40vw + 20rem) / 8);
}

.ts_greybox_num {
	font-size: calc((20vw + 2.5rem) / 7);
	padding-top: 0px;
}

.ts_greybox_desc {
	font-size: calc((6vw + 1.5rem) / 8);
}

.ts_mikron {
	font-size: 14px;
	position: relative;
	background-color:  var(--color-background-item);
	padding: 5px 0 10px 0;
	margin: 5px 0 5px 0;
	border-radius: 5px;
}

.ts_mikron:hover {
	background-color: var(--color-background-tertiary);
}

.ts_mikron.invalid {
	background-color: var(--color-background-item-high-priority);
}

.ts_mikron.invalid:hover {
	background-color: var(--color-background-item-high-priority-hover);
}

.ts_mikron.compact {
	padding: 0px;
	font-size: 14px;
}

.ts_mikron_highlight {
	background-color: #a6fa9b;
}

.zigzag {
  position: relative;
  width: 100%;
}
.zigzag:before {
  content: "";
  display: block;
  position: absolute;
  top: -10px;
  width: 100%;
  height: 10px;
}

.ts_mikron_forwarded {
	background-color: #b7cdd0;
}

.ts_mikron_forwarded:hover {
	background-color: #99cbd2;
}

.ts_mikron_forwarded:before {
  background:
    linear-gradient(
      45deg, transparent 33.333%,
      #b7cdd0 33.333%, #b7cdd0 66.667%,
      transparent 66.667%
    ),
    linear-gradient(
      -45deg, transparent 33.333%,
      #b7cdd0 33.333%, #b7cdd0 66.667%,
      transparent 66.667%
    );
  background-size: 20px 40px;
}

.ts_mikron_forwarded:hover::before{
  background:
    linear-gradient(
      45deg, transparent 33.333%,
      #99cbd2 33.333%, #99cbd2 66.667%,
      transparent 66.667%
    ),
    linear-gradient(
      -45deg, transparent 33.333%,
      #99cbd2 33.333%, #99cbd2 66.667%,
      transparent 66.667%
    );
  background-size: 20px 40px;
}

.ts_flex {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	position: relative;
	background: inherit;
	padding: 10px 0px 0px 0px;
	cursor: pointer;
}

.ts_mikron .reviewstatus {
	padding-top: 5px;
	flex: 0;
	flex-basis: 60px;
}

.ts_mikron.compact .reviewstatus {
	min-width: 30px;
	max-width: 30px;
}

.ts_mikron .reviewstatus .reviewsymbol {
    height:10px;
    width:10px;
    border-radius:10px;
    margin: 10px auto;
    cursor: pointer;
}

.ts_mikron .reviewstatus .open {
	border: 2px solid #ccc;
}

.ts_mikron .reviewstatus .accepted {
	border: 2px solid rgba(0, 153, 51, 0.6);
	background-color: rgba(51, 204, 51, 0.6);
}

.ts_mikron .reviewstatus .rejected {
	border: 2px solid rgba(128, 0, 0, 0.6);
	background-color: rgba(204, 0, 0, 0.6);
}

.ts_mikron .reviewstatus .processed {
	height: 18px !important;
	width: 18px !important;
	background: url(/icons/lock.svg) center no-repeat;
	background-size: 16px 16px;
	opacity: 0.4;
	z-index: 100;
	margin: 0 auto;
}

.ts_mikron .info {
	flex: 6;
	flex-basis: 100px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

.ts_mikron .info div {
	width: 100%;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;

}

.ts_mikron.compact .info {
	flex: 4;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

.ts_mikron.compact .info div {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

.ts_mikron .date {
	padding-left: 10px;
	padding-right: 10px;
	min-width: 100px;
    flex: 2;
}

.ts_mikron.compact .date {
	padding-left: 0px;
    padding-right: 10px;
    min-width: 80px;
    text-align: right;
    flex: 1;
}

.ts_mikron .desc {
	flex:6;
	flex-basis: 300px;
	padding-right: 20px;
	color: grey;
	display: flex;
}

.ts_mikron.compact .desc {
	width: auto;
	max-height: 5.4em;
	padding: 0px 0px 0px 30px;
	overflow: hidden;
	overflow-wrap: break-word;
}

.ts_mikron_fwd {
	flex: 0;
}

.ts_mikron_fwd.open {
	height: 60px;
	min-width: 40px;
	max-width: 40px;
	background: url(/icons/arrow_right_circle_lightgrey.svg) right no-repeat;
	background-size: 24px 24px;
	margin: 0 auto;
}

.ts_mikron_fwd.accepted {
	height: 60px;
	min-width: 40px;
	max-width: 40px;
	background: url(/icons/arrow_right_circle_lightgreen.svg) right no-repeat;
	background-size: 24px 24px;
	margin: 0 auto;
}

.ts_mikron_fwd.rejected {
	height: 60px;
	min-width: 40px;
	max-width: 40px;
	background: url(/icons/arrow_right_circle_lightred.svg) right no-repeat;
	background-size: 24px 24px;
	margin: 0 auto;
}

.TimesheetDetailTable {
	margin-bottom: 20px;
	border: 2px solid rgb(200, 200, 200);
	text-align: left;
}

.TimesheetDetailTable-Row {
	height: 40px;
}

.TimesheetDetailTable-Header {
	color: dimgray;
	background-color: var(--color-background-tertiary);
	width: 200px;
	max-width: 300px;
	padding: 5px 10px;
	border: 2px solid rgb(200, 200, 200);
	font-weight: bold;
}

.TimesheetDetailTable-HeaderRight {
	text-align: right;
	width: 100px;
}

.TimesheetDetailTable-Data {
	padding: 5px 10px;
	border: 2px solid rgb(200, 200, 200);
}

.TimesheetDetailTable-Sum {
	text-align: right;
	font-weight: bold;
	text-decoration-line: underline;
	text-decoration-style: double;
}

/* Tickets */

/* Ticket Modal */

.modal-ticket-resource-container {
	display: flex;
	flex-wrap: wrap;
	padding: 20px 30px 0px 30px;
	border-radius: 5px 5px 0 0;
	background: var(--color-background-primary);
}

.modal-ticket-resource-container .resource-small-change {
	color:  var(--color-text-secondary);
	display: flex;
	justify-content:space-between;
	align-items: center;
}

.modal-ticket-asidebutton {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0px;
}

.modal-ticket-assignresource {
	display: none;
	position: absolute;
	background-color: var(--color-background-primary);
	cursor: default;
	width: 200px;
	max-height: 400px;
	border: 1px solid var(--color-background-secondary);
	border-radius: 3px;
	padding: 40px 10px 10px 10px;
	z-index: 100;
	font-size: 14px;
	margin-top: 8px;
	margin-left: -3px;
}

.modal-ticket-preliminary-resource-container {
	overflow-y: auto;
	overflow-x: hidden;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	height:100%;
	margin-top: 10px;
}

.modal-ticket-preliminary-resource {
	display: flex;
	align-items: center;
	border-radius: 4px;
	margin-right: 5px;
	margin-bottom: 5px;
	cursor: pointer;
	transition: color 0.1s ease-in-out;
	-webkit-transition: color 0.1s ease-in-out;
	padding-top: 3px;
}

.modal-ticket-preliminary-resource.preliminary-member {
	border: 2px solid var(--color-background-secondary);
}

.modal-ticket-preliminary-resource.preliminary-assignee {
	border: 2px solid #4c87ab !important;
}

.modal-ticket-preliminary-resource.preliminary-label {
	color: #f9f9f9;
	font-weight: bold;
}

.modal-ticket-preliminary-resource > .invalid {
	border: 2px solid red !important;
}

.modal-ticket-preliminary-resource > .name {
	padding: 2px 10px 2px 10px;
}

.modal-ticket-preliminary-resource > .remove {
	cursor: pointer;
	padding: 0 20px 0 10px;
	background: url(/icons/exit_circle_grey.svg) center no-repeat;
	background-size: 12px 12px;
	height: 100%;
	margin-bottom: 2px;
}

.modal-ticket-preliminary-resource > .remove:hover {
	background: url(/icons/exit_circle_red.svg) center no-repeat;
	background-size: 12px 12px;
}

.modal-ticket-resource-information {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	font-size: 8pt;
	color: var(--color-text-secondary);
	line-height: 14px;
	padding: 0px 30px 20px 30px;
	background-color: var(--color-background-primary);
}

.modal-ticket-resource-information div {
	width: auto;
}

.modal-ticket-comments {
	background-color: var(--color-background-primary);
	border-radius: 0 0 5px 5px;
}

.modal-ticket-comments hr {
	border-top: 1px solid var(--color-background-secondary);
	margin: 0px 10px 10px 10px;;
}

.modal-ticket-comments-list {
	list-style: none;
	flex:1;
	margin:0;
	padding: 0;
}

.modal-ticket-comment-container {
	padding: 0 2rem 1rem 2rem;
	max-width: 90%;
}

.modal-ticket-comment-actions {
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.modal-ticket-comment-container:hover {
	background-color: var(--color-background-secondary);
}

.modal-ticket-comment-container:hover .modal-ticket-comment-actions {
	display: flex;
	min-height: 20px;
}

.modal-ticket-comment-content {
	flex: 1;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	min-height: 20px;
	position: relative;
}

.modal-ticket-comment-message {
	background-color: var(--color-background-tertiary);
	padding: 5px;
	margin: 0 20px 0 0;
	flex: 8;
	border: none;
	box-shadow: none;
	resize: none;
	outline: none;
}

.modal-ticket-comment-message .markupresult {
	min-height: 40px;
	height: auto;
	padding: 5px;
}

.modal-ticket-comment-message p {
	margin:  0;
}

.modal-ticket-comments form {
	display: flex;
	align-items: flex-end;
	padding: 2rem;
	max-width: 90%;
}

.modal-ticket-comments form textarea {
	width: 100%;
	border-radius: 3px;
	border: 1px solid var(--color-background-secondary);
}

.modal-ticket-comments form textarea:focus {
	border: 2px solid var(--color-org-global);
}


.modal-ticket-comments-send {
	flex: 0;
	height: 54px;
	min-width: 40px;
	margin-left: 20px;
	margin-bottom: 19px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.modal-ticket-comment-reaction {
	display: flex;
	padding: 5px;
	font-size: 18px;
	border: 1px solid transparent;
	max-width: 34px;
	max-height: 34px;
}

.modal-ticket-comment-reaction-count {
	font-size: 14px;
	color: grey;
}

.modal-ticket-comment-reaction:hover {
	background-color: #c4e9d3;
	border: 1px solid #2ecc71;
	border-radius: 3px;
	cursor: pointer;
}

.modal-ticket-comment-reaction-active {
	background-color: #c4dbe9;
	border: 1px solid #2e98cc;
	border-radius: 3px;
	cursor: pointer;
}

.modal-ticket-comment-reactions-container {
	display: flex;
}

.modal-ticket-comments .modal-ticket-comment-text {
	min-height: 54px;
	height: auto; border: 1px solid var(--color-background-secondary);
	border-radius: 3px;
}

/* Ticket List */

.tickets-project-title {
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	padding-bottom: 13px;
}

.ticket-add:hover {
	background: url(/icons/plus_circle_black.svg) center no-repeat;
	background-size: 18px 18px;
}

.ticket {
	flex-wrap: wrap;
	cursor: pointer;
	font-size: 14px;
	background-color: var(--color-background-item);
	color: var(--color-text-primary);
	padding: 5px 10px 0px 0px;
	margin-bottom: 6px;
}

.ticket:hover {
	background-color: var(--color-background-tertiary);
}

.ticket-low-priority {
	background-color: var(--color-background-item-low-priority);
}

.ticket-low-priority:hover {
	background-color: var(--color-background-item-low-priority-hover);
}

.ticket-high-priority {
	background-color: var(--color-background-item-high-priority);
}

.ticket-high-priority:hover {
	background-color: var(--color-background-item-high-priority-hover);
}

.ticket-title {
	display: flex;
	align-items: center;
	flex: 4;
	min-width: 250px;
	margin-bottom: 5px;
	margin-right: 20px;
	margin-left: 10px;
}

.ticket-title span:first-child{
	flex: 1;
	margin-right: 20px;
	min-width: 90px;
}

.ticket-title span:last-child{
	flex: 4;
}

.ticket-center-block {
	display: flex;
	flex: auto;
	align-items: center;
	align-content: center;
	flex-wrap: wrap;
	max-width: 700px;
}

.ticket-center-one {
	display: flex;
	flex: 1;
	align-content: center;
	justify-content: center;
	align-items: center;
	margin-left: 10px;
	margin-bottom: 5px;
}

.ticket-center-two {
	display: flex;
	flex: 1;
	align-content: center;
	align-items: center;
	justify-content: space-evenly;
	align-items: center;
	min-width: 200px;
	margin-left: 10px;
	margin-bottom: 5px;
}

.ticket-difficulty {
	flex: 1;
	min-width: 25px;
	max-width: 45px;
}

.ticket-difficulty .ticket-difficulty-bar {
	width: 4px;
	height: 14px;
	float: left;
	border-radius: 2px;
	margin-right: 2px;
}

.ticket-progress {
	flex: 4;
	min-width: 100px;
	max-width: 200px;
}

.ticket-due {
	flex: 1;
	min-width: 90px;
	text-align: left;
}

.ticket-overdue {
	color: #fb6060;
	font-weight: bold;
}

.ticket-labels {
	display: flex;
	flex:  2;
	justify-content: center;
}

.ticket-label {
	width: 15px;
	height: 15px;
	border-radius: 8px;
	margin-left: 5px;
}

.ticket-members-container {
	flex: 1;
	min-width: 80px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	margin-left: 10px;
}

.ticket-members {
	border: 1px solid #CCC;
	max-width: 70px;
	overflow: hidden;
	text-overflow: ellipsis;
	margin: 0 0 5px 5px;
	padding: 3px 3px 0 3px;
	text-align: center;
	white-space: nowrap;
	font-weight: bold;
}

.ticket-members.subscription {
	color: #70c570;
}

.ticket-members.assignee {
	color: #4c87ab;
}

.task {
	font-size: 14px;
}

.sort-reverse-box{
	flex:0;
	min-width: 88px;
	margin-left: 10px;
	font-size: 16px;
	/*line-height: 20px;*/
}

.resource_confirm_delete {
	display: none;
	position: absolute;
	padding:0.9em;
	margin-top: 10px;
	margin-top: -100px;
	margin-left: -200px;
	width: 300px;
	background: var(--color-background-primary);
	border: 1px solid var(--color-background-secondary);
	/*border-radius: 3px;*/
	font-size: 16px;
	z-index: 100;
}

.resource_confirm_delete_open {
	display: block;
}

#resource_delete_btnClose{
	color: lightgray;
	padding-top: 15px;
	font-size: 20px;
	text-decoration: none;
	position: absolute;
	right: 15px;
	top: -8px;
	cursor:pointer;
}

#resource_delete_btnClose:hover{
	color: black;
}

/*

*/
/* Bills */

.item.bill {
	display: flex;
}
.item.bill .item-content {
	flex:1;
	display: flex;
	align-items: center;
	line-height: 32px;
	font-size: 14px;
	min-width: 0;
	color: var(--color-text-primary);
}

.item.bill .menu-button {
	min-width: 40px;
	line-height: 100%;
	height: auto;
	flex:0;
}

.bill .triangle {
	flex: 0;
	min-width: 40px;
	font-size: 18px;
	text-align: center;
}

.bill .triangle.incoming {
	color:#E74C3C;
}

.bill .triangle.outgoing {
	color:#2ECC71;
}

.bill div {
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bill .properties {
	flex: 1;
	display: flex;
	align-items: center;
}

.bill .properties.billcanceled {
	color: #999;
	text-decoration: line-through;
}

.bill .properties .billnumber {
	flex: 1;
	min-width: 60px;
}

.bill .properties .center {
	display: flex;
	flex-wrap: wrap;
	flex: 100;
	justify-content: space-between;
}

.bill .properties .center > div {
	display: flex;
	flex: 1;
	width: 100%; 
	min-width: 350px;
}

.bill .properties .center .lefthandside {
	flex: 3;
	text-align: right;
}

.bill .properties .center .centercenter {
	flex: 1;
	text-align: center;
}

.bill .properties .center .righthandside {
	flex: 3;
	text-align: left;
}

.bill .properties .billamount {
	flex: 1;
	min-width: 85px;
	text-align: right;
	font-weight: bold;
}

.biggreything {
  height: 370px;
  background-color: var(--color-background-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.closebillgenerator {
	position: absolute;
	width: 30px;
	right: 10px;
	font-size: 30px;
	cursor: pointer;
	color: #ccc;
}

.closebillgenerator:hover {
	color: #666;
}

.biggreything-icon-container {
    width: 120px;
    height: 120px;
    background: #CBCBCB;
    overflow: hidden;
}

.biggreything-flexcontainer {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	height: 100%;
	cursor:pointer;
}

.biggreything-flexcontainer:hover {
	background: #E6E6E6;;
}

.biggreything-user-icon {
    width: 100%;
    height: 100%;
    position: relative;
    top: 12px;
    background-color: #8C8C8C;
    -webkit-mask-image: url(/icons/user.svg);
    mask-image: url(/icons/user.svg);
}

.biggreything-office-icon {
    width: 90%;
    height: 90%;
    position: relative;
    top: 12px;
    background-color: #8C8C8C;
    -webkit-mask-image: url(/icons/office.svg);
    mask-image: url(/icons/office.svg);
}

.billgen-project, .billgen-item {
	position: relative;
	padding: 10px;
}

.billgen-project:hover, .billgen-item:hover {
	background-color: var(--color-background-tertiary);
}

.billgen-project-delete, .billgen-item-delete {
	display: none;
	position: absolute;
	font-size: 30px;
	right: 10px;
	cursor: pointer;
	color: #ccc;
}

.billgen-project:hover .billgen-project-delete, .billgen-item:hover .billgen-item-delete {
    display: block;
}

.billgen-project-delete:hover {
	color: #666;
}

.billgen-table-header {
	padding: 10px;
}

.billgen-table-row {
	display: flex;
}

.billgen-table-token {
	flex: 1;
}

.billgen-table-description {
	flex: 4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.billgen-table-qty, .billgen-table-price {
	flex: 1;
	max-width: 130px;
	text-align: right;
}

.billgen-table-project {
	flex: 3;
	max-width: 400px;
	text-align: right;
}

.billgen-table-taxrate {
	flex: 1;
	max-width: 100px;
	text-align: right;
}

.billgen-item-taxrate, .billgen-item-project {
	line-height: 22px;
	padding: 0 25px 0 0;
	width: 80%;
}

.billgen-table-spacer {
	flex: 0.1;
	min-width: 30px;
}

.billgen-table-row div input {
	width: 80%;
	padding-bottom: 0;
	text-align: right;
	margin-bottom: 0;
}

.billgen-table-row div textarea {
	margin-bottom: 0px;
}

.billgen-table-row div input:disabled {
	border: none;
    background-color: transparent;
}

/* EXPENSES */

#expense-modal h4 {
	padding-top: 0;
}

#expense-modal span {
	flex: 0;
	margin-left: 20px;
}

#credit-modal span {
	flex: 0;
	min-width: 40px;
	margin-left: 20px;
}

.helpblock {
	display: flex;
	align-items: center;
	min-height: 40px;
}

.helpblock > div {
	flex: 1;
}

.helpblock > div > label {
	display: flex;
	align-items: center;
	width: 90%;
}

/* ==========================
 D3 style definitions
===========================*/
.axis path,
.axis line {
  fill: none;
  stroke: var(--color-text-primary);
  shape-rendering: crispEdges;
}

.axis text {
  fill: var(--color-text-primary);
}

.axislabel {
  fill: var(--color-text-primary);
  font-size: 10px;
}

.d3-pie-tip,.d3-chart-tip {
  line-height: 1;
  font-weight: bold;
  padding: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--color-background-primary);
  border-radius: 2px;
}

/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
  box-sizing: border-box;
  display: inline;
  font-size: 10px;
  width: 100%;
  line-height: 1;
  color: rgba(0, 0, 0, 0.8);
  content: "\25BC";
  position: absolute;
  text-align: center;
}

.d3-tip.n:after {
  margin: -3px 0 0 0;
  top: 100%;
  left: 0;
}

.d3nodata {
	font-size: 18px;
	fill: var(--color-background-secondary);
}
.d3-settings {
	position: absolute;
	top: 0;
	left:0;
	width: 100%;
	display:none;
	background-color: #333;
	opacity: 0.8;
	z-index:10;
	padding:5px;
	box-sizing: border-box;
}
.d3-settings.active {
	display: block;
}
.d3-settings-container {
	float:left;
	margin:0 10px;
}
.d3-settings-container input {
	font-size: 14px;
}
.chart-wrapper {
	display: flex;
	position:relative;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}
.chart-wrapper .d3multichart {
	 flex: 2.5;
	 min-width: 300px;
}
.chart-wrapper .d3piechart {
	flex: 1;
	min-width: 250px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.legend-wrapper {
	position: absolute;
	top: 40px;
	left: 106px;
	width: auto;
	height: auto;
	background-color: rgba(51,51,51, 0.8);
	padding: 10px;
	border-radius: 5px;
}
.chart-wrapper .settings-icon {
	height: 20px;
	width: 20px;
	background: url(/icons/settings_lightgrey.svg) center no-repeat;
	background-size: 100%;
	opacity: 0.7;
	z-index: 100;
}

.d3-pie-tip{
}

/*Timesheetfilter*/
.filter-icon {
	background: url(/icons/filter_black.svg) center no-repeat; 
	opacity: 30%; 
	background-size: 30px 30px; 
	min-height: 30px;
	min-width: 30px;
	position: relative;
}

/* MEDIA QUERIES */

@media screen and (max-height:900px) {
	#cssmenu-body a {
		padding: 10px 20px;
	}
}

@media screen and (max-height:720px) {

	#cssmenu {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	#cssmenu-body {
		flex: 1;
	}

	.menu-icon-container {
		display: none;
	}

	#cssmenu-body a {
		padding: 10px 20px;
	}
}

@media screen and (max-width:900px) {

	#cssmenu {
		display: none;
		position: fixed !important;
		width: 250px;
		height: 100%;
		top: 0px;
		bottom: 0px;
		overflow-y:auto;
		overflow-x:hidden;
		z-index: 500;
	}

	#cssmenu-button-container {
		display: flex !important;
		align-items: center;
		position: fixed;
		height: 100vh;
		top: 0px;
		z-index: 500;
	}

	#cssmenu-button {
		flex: 1;
	}

	#content {
		padding-bottom: 30px;
	}

	.outerframe {
		padding-left: 10px;
		padding-right: 10px;
	}

	.outerframe .items {
		padding: 0;
		background-color: transparent;
	}

	.outerframe .ticket {
		border: 1px solid var(--color-background-secondary);
		margin-bottom: 10px;
	}

	.outerframe .ticket:hover {
		background-color: var(--color-background-primary);
	}

	.bill .properties .center {
		flex-direction: column;
	}

	.bill .properties .center > div {
		min-width: 0;
	}
}

@media (max-width: 600px) {

	.bigtext {
		display: none;
	}

	.smalltext {
		display: block;
	}

	.header-top {
		height: 45px;
	}

	.appname {
		margin-bottom: 14px;
	}

	.organization-box {
		margin: 30px 30px 0px 30px;
	}

	/* display mikron list as column on small screens */

	.mikron_container {
		flex-direction: column;
		padding: 20px 0 20px 0;
	}

	.mikron_box#new_mikron_box {
		margin: 0 auto 20px auto;
	}
}