﻿.summary-link {
	text-decoration: none;
	color: inherit;
}
.summary-link:hover {
	text-decoration: underline;
}
.grid-drop-target > .x-panel-body {
	background: lightyellow !important;
}
.show-on-tr-hover {
	display: none;
}
tr:hover .show-on-tr-hover {
	display: initial;
}

.show-on-summary-item-hover {
	display: inline;
}
.summary-item:hover .show-on-summary-item-hover {
	display: initial;
}
.summary-item {
	white-space: nowrap;
}
span > .summary-item {
	display: inline;
}


.gradient-ellipsis {
	position: relative;
	white-space: nowrap; 
	overflow: hidden;
}
.gradient-ellipsis::after {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, transparent calc(100% - 1em), white 100%);
    left: 0;
    top: 0;
    content: " ";
    pointer-events: none;
}

.hide-condition .hide-on-condition {
	display: none;
}

.show-child-on-hover .child-on-hover {
	display: none;
}
.show-child-on-hover:hover .child-on-hover {
	display: initial;
}

.q-field--dense .q-field__control {
	height: initial !important;
}
.q-field--dense .q-field__control .q-field__native {
	padding: 0;
}

.q-select--with-chips input {
	min-width: 40% !important;
}

body.body--dark a:not(.text-link):not(.q-item) {
    color: var(--q-primary);
}
.text-link {
	cursor: pointer;
	color: inherit;
	text-decoration: none;
}
.text-link:hover {
	text-decoration: underline;
}
.q-list.zebra-list > .q-item:nth-child(2n+2),
.zebra-list > .q-virtual-scroll__content > .q-item:nth-child(2n+2) {
  background: #eee;
}
body.body--dark .q-list.zebra-list > .q-item:nth-child(2n+2),
body.body--dark .zebra-list > .q-virtual-scroll__content > .q-item:nth-child(2n+2) {
  background: #333;
}


.separated-values > *:not(.flex-break):last-child::after {
    content: "";
    margin: 0;
}
.separated-values > *:not(.flex-break, .separated-ignore)::after {
    content: "|";
    opacity: .25;
    margin: 0 4px;
    font-style: normal;
}
.separated-values > *:not(.flex-break):empty {
    display: none;
}
.flex-break {
	flex-basis: 100%;
	height: 0;
	display: block;
}

.hide-pagination > .q-table__bottom {
    display: none;
}
.custom-table-top > .q-table__top { 
	padding: 0;
}

.two-lines-expandable {
	white-space: pre-wrap;
	max-height: 3em;
	overflow: hidden;
	display: inline-block;
}
.two-lines-expandable:hover {
	position: absolute;
	top: 0;
	left: 0;
	max-height: initial;
	background: white;
	z-index: 1;
	box-shadow: 1px 1px 1px 1px #aaa;
	padding: .5em;
	border-radius: .5em;
}


/*.card-row .q-field--auto-height.q-field--dense .q-field__native {
	min-height: 32px;
}
.card-row .q-field--auto-height.q-field--dense .q-field__control {
	height: 32px !important;
}
.card-row .q-field--auto-height.q-field--dense .q-field__control {
	min-height: 32px;
}
.card-row .q-field--dense .q-field__control, .card-row .q-field--dense .q-field__marginal {
	height: 32px;
}*/

.diff-op-Insert {
	color: green;
	font-weight: bold;
}
.diff-op-Delete {
	color: red;
	font-weight: bold;
	text-decoration: line-through;
}
.diff-op-Delete + .diff-op-Insert {
    margin-left: 4px;
}

.q-drawer__resizer {
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    cursor: ew-resize;
}
.q-drawer__resizer:hover {
    background: #888;
}

.q-badge input::placeholder {
	color: white;
	opacity: .5;
}
.gray-bg {
	background-color: #eee;
}
body.body--dark .gray-bg {
	background-color: #222;
}
.bg-white-or-dark {
	background-color: white;
}
body.body--dark .bg-white-or-dark {
	background-color: var(--q-dark);
}


.fit-scroll-area-width > .q-scrollarea__container > .q-scrollarea__content {
	width: 100% !important;
}
.inline-scroll-area > .q-scrollarea__container {
	min-height: inherit;
}

.q-stepper__header.row {
	flex-wrap: nowrap;
}

.q-page .q-item--dense {
	min-height: 24px;
}

.q-menu.transparent-menu {
	background: radial-gradient(circle at 0px 0px, white, transparent 80%);
    backdrop-filter: blur(3px);
}

.q-stepper.q-stepper--horizontal .q-stepper__tab {
	padding: 8px 16px;
}
.q-stepper.q-stepper--horizontal .q-stepper__step-inner {
    padding: 16px;
}
.small-rating .material-icons {
    font-size: 8px;
}

.q-toggle {
    margin: 0 1em 0 0;
}
.unknown-value .q-field__native {
	color: red;
}

.form-dialog {
	min-width: 40vw;
}
@media only screen and (max-width: 800px) {
  body {
	.form-dialog {
		min-width: 90vw;
	}
  }
}

.q-drawer {
	max-width: 80vw;
}
.q-drawer .q-scrollarea__content {
	max-width: 100%;
}
.q-table > thead > tr > th.sortable {
	white-space: nowrap;
}

.q-table__container.sticky-header > .q-table__middle > table > thead {
	position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}
body.body--dark .q-table.sticky-header > .q-table__middle > table > thead {
	background: #333;
}

/* for quasar menu in ide force it to appear above */
body.x-body .q-menu {
	z-index: 9999;
}

@keyframes spin-animation {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.animate-spin {
  transform-origin: center center;
  -webkit-backface-visibility: hidden;
  -webkit-animation: spin-animation 2s linear infinite;
  animation: spin-animation 2s linear infinite;
}

.merge-log-table * {
	white-space: pre-wrap;
}

.x-tip-header .x-tip-header-title-default {
    color: #444;
}

.q-splitter-hidden .q-splitter__separator {
	visibility: hidden; 
	pointer-events: none;
}

.q-gap-sm {
	gap: 8px;
}
.q-div-gap-sm > * {
	margin-right: 8px;
}

.no-highlight-on-hover > .q-focus-helper {
	display: none;
}

.fit-list-items > div {
	width: 100%;
}

.q-field--borderless .q-field__bottom,
.q-field__bottom {
	padding: 4px 12px 4px;
}

.btn-no-wrap > .q-btn__content {
	flex-wrap: nowrap;
    padding: 0 32px;
}

.max-width-menu {
	max-width: 100vw !important;
	min-width: max(350px, 40vw) !important;
	max-height: 80vh;
}

.q-drawer .q-router-link--active::after, .active-list-item::after {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--q-primary);
}
.q-drawer .q-router-link--active > .q-item__section > .q-icon {
	color: var(--q-primary);
}
.small-toggle .q-toggle__inner {
	font-size: 32px;
}

.rating-inline > .q-rating__icon-container > .q-icon {
	font-size: 1em;
}

.q-infinite-scroll__loading {
	max-height: 8px;
}

button.text-exact, div.text-exact {
	color: #ff4336;
}
div.bg-exact {
	background-color: #ff4336;
}

.splitter-single > .q-splitter__before {
    width: 100% !important;
}
.splitter-single > .q-splitter__after, .splitter-single > .q-splitter__separator {
    display: none;
}

.q-textarea.full-height-textarea > .q-field__inner > .q-field__control {
	min-height: 100%;
}

.q-icon.fa {
    transform: scale(0.7);
}

.experience-bullet-item {
    position: relative;
}
.experience-bullet-item::before {
    content: "‣";
    font-size: 14pt;
    font-weight: bold;
    position: absolute;
    left: -.5em;
    color: #aaa;
}

.person-cards > .q-splitter > .q-splitter__after {
    overflow: hidden;
}

.q-file-fit .q-field__control {
	height: 100% !important;
}

.q-file.big-file > .q-field__inner {
    border: 2px dashed magenta;
    border-radius: 1em;
    margin: 0 8px;
    padding: 2em;
}
.q-file.big-file.big-file-small-radius > .q-field__inner {
    border-radius: 8px;
}

/* fix for add pharma property type dropdown in ff, see https://github.com/quasarframework/quasar/issues/16167 */
.q-menu {
	min-height: 1px;
	max-height: 65vh !important;
}

.card-section-start:first-of-type {
    margin-top: 0;
}
.card-section-start {
    margin-top: 12px;
}

.q-field--auto-height.q-field--dense.row-edit-select .q-field__control,
.q-field--auto-height.q-field--dense.row-edit-select .q-field__native {
	min-height: unset;
}

.q-chip.ichip {
	height: 1.7em;
	font-size: 8px;
	font-weight: bold;
	position: relative;
	top: -1px; 
}

.more-shadow-bottom {
	position: relative;
}
.more-shadow-bottom::after {
    position: absolute;
    content: " ";
    width: 100%;
    height: 50px;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, transparent 50%, white 100%);
    z-index: 11;
    pointer-events: none;
}

.q-field.input-full-height > .q-field__inner > .q-field__control {
	height: 100%
}