@charset "UTF-8";
@-webkit-keyframes oof-highlight {
	0% { box-shadow: 0 0 0 0 var(--bs-highlight-bg); }
	33% { box-shadow: 0 0 6px 6px var(--bs-highlight-bg); }
	66% { box-shadow: 0 0 6px 6px var(--bs-highlight-bg); }
	100% { box-shadow: 0 0 0 0 var(--bs-highlight-bg); }
}
@keyframes oof-highlight {
	0% { box-shadow: 0 0 0 0 var(--bs-highlight-bg); }
	33% { box-shadow: 0 0 6px 6px var(--bs-highlight-bg); }
	66% { box-shadow: 0 0 6px 6px var(--bs-highlight-bg); }
	100% { box-shadow: 0 0 0 0 var(--bs-highlight-bg); }
}

oofvariable,
oofreference {
	font-family: monospace;
	font-style: italic;
}
oofvariable {
	color: #008000;
}
.oof-pdf-structure oofvariable:not([original-text]) {
	color: var(--bs-white);
	background: var(--bs-danger);
}
oofreference {
	color: #ff4500;
}
.contract-partner-input {
    display: inline-block;
    width: 10em;
    border-bottom: 1px dotted #000;
}
oofvariable .contract-partner-input {
	border-bottom-color: #008000;
}
oofreference .contract-partner-input {
	border-bottom-color: #ff4500;
}

/*
.modul-oof-pdf--create,
.modul-oof-pdf--create .module-body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.modul-oof-pdf--create .module-body {
	padding-bottom: 0;
}
.oof-pdf-builder {
    overflow: hidden;
}
.oof-pdf-structure,
.oof-pdf-templates {
    max-height: 100%;
    overflow-y: scroll;
	padding-bottom: 24px;
}
*/

.oof-pdf-element {
	position: relative;
	display: flex;
	margin: 0.5rem 0;
	padding: 0.5rem;
	border: 1px solid var(--bs-border-color);
	border-radius: var(--bs-border-radius);
	user-select: none;
	z-index: 0;
}
.oof-pdf-element:first-child {
	margin-top: 0;
}
.oof-pdf-element:last-child {
	margin-bottom: 0;
}

.oof-pdf-element.is--fixed {
	cursor: default !important;
}
.oof-pdf-element:not(.focused) {
	cursor: pointer;
}
.oof-pdf-element.focused {
	border: 1px dashed var(--bs-info);
}

.oof-pdf-element--header {
	display: flex;
}
.oof-pdf-element--position {
	margin-right: 0.5rem;
}
.oof-pdf-element--content {
	flex: 1;
}

.oof-pdf-element--remove {
	display: none;
	position: absolute;
	top: 0.25rem;
	right: 0.25rem;
	padding: 0.25rem;
	line-height: 1;
	z-index: 20000;
}
.oof-pdf-element.is--set .oof-pdf-element--remove {
	display: block;
}

.oof-pdf-template--list {
	position: sticky;
	top: 65px;
	max-height: calc(100vh - 65px);
    overflow-y: auto;
}
.oof-pdf-template--list > h3 {
	margin-top: 0;
}
.oof-pdf-template--list .is--old-version {
    display: none;
}

.oof-pdf-templates--group:not([style*="display: none"]) ~.callout {
    display: none;
}

.oof-pdf-template {
	margin: 0.5rem 0;
	padding: 0.5rem;
	border: 1px solid var(--bs-border-color);
	border-radius: var(--bs-border-radius);
	background: var(--bs-body-bg);
	user-select: none;
}
.oof-pdf-template--title {
	display: flex;
	align-items: baseline;
	margin: 0 0 0.25rem;
}

.t3-oof-pdf-element .oof-pdf-template {
    margin: 0;
    padding: 0;
    border: 0;
	background: none;
}

.t3-oof-pdf-placeholder {
    min-height: 2em;
}
.t3js-oof-pdf ~ .t3-oof-pdf-placeholder {
	display: none;
}

.t3-oof-pdf-list > .t3-oof-pdf-placeholder {
	display: block;
}
.t3-oof-pdf-list > :not(.t3js-oof-pdf-template-dummy, .t3js-oof-pdf.is--old-version) ~ .t3-oof-pdf-placeholder {
	display: none;
}

.t3js-oof-pdf-dropzone-available.active {
	border: 1px dashed var(--bs-info);
}
.t3js-oof-pdf-dropzone-available.active.t3-oof-pdf-dropzone-possible {
	border: 1px dashed var(--bs-primary);
	background-color: rgba(var(--bs-info-rgb), .25);
}
