/*
 * The software is distributed under the enclosed dual licence agreement. Accordingly, it is the responsibility of the licensee to use the software under the terms of the GPLv3 or, if purchased, under the terms of the commercial licence. Simultaneous use of the software under both licence forms for the same licensed object or a subsequent ‘change’ of licence forms by the same licensee is not permitted.
 *
 * In accordance with the provisions of the respective licences, it is only possible to
 * a.) use Blackbit software under GPLv3 with the Pimcore Community Edition under GPLv3 or
 * b.) combine Blackbit software under a commercial licence and Pimcore under a commercial licence.
 *
 * You can use the software under the terms of the GNU General Public Licence, Version 3 (GPLv3). This brings with it many rights of use and freedoms:
 * Open source - You can view the unencrypted programme code of our software.
 * Customisation - You can adapt the software to your needs and develop it further as you wish.
 * Distribution - You can copy, distribute and even sell the software or further developments of the software as long as you comply with the GNU GPL v3 licence. Because you become the owner of the code when you purchase the bundle, there is no warranty and no free service.
 *
 * Alternatively, you can use the software under the Blackbit Commercial Licence. This means that the software remains the property of Blackbit and may be used in one instance per licence. Blackbit grants the user a limited right of use and eliminates defects and errors and provides updates free of charge during the contract period. Optionally, separate service and support contracts can be concluded for Blackbit software.
 *
 * For further information, please refer to the respective licence files or contact sales@blackbit.de
 */

.pim_calculation {
	background-color: #9DD7FF;
}

.pim_calculation_invalid {
	background-color: #ff0000;
}

.pim_calculation_warnings {
	background-color: #fffd9e;
}

.pimcore_icon_api_documentation {
	background: url(/bundles/pimcoreadmin/img/flat-color-icons/fine_print.svg) center center no-repeat !important;
}

.pimcore_icon_versioning {
	background: url(/bundles/pimcoreadmin/img/flat-color-icons/serial_tasks.svg) center center no-repeat !important;
}

.attribute-is-mapped td {
	font-weight: bold;
}

.attribute-is-inherited td {
	font-style: italic;
}

.mapping-has-formula {
	background-color: #9DD7FF;
}

.mapping-is-key-field-without-index {
	border-bottom: solid 2px red;
}

.pim_tree_node_selected {
	background-color: #0000FF;
}

.code-toolbar {
	height: 100%;
}

.ace_hidden-cursors {
	opacity: 0;
}

.x-form-item .ace_editor {
	color: inherit;
}

.no-icon .x-tree-icon {
	display: none;
}

.x-grid-item-selected {
	background: #ffefbb;
}

.no-icon .x-tree-elbow-img.x-tree-elbow-empty, .no-icon .x-tree-elbow-img.x-tree-elbow-end, .no-icon .x-tree-elbow-img.x-tree-elbow {
	width: 0;
	margin-right: 0;
}

.no-icon .x-grid-item-container {
	padding-top: 0;
}

.no-icon .x-tree-view .x-grid-item, .no-icon .x-panel-body-default, .no-icon.x-panel-default {
	background: none;
}

.no-icon .x-grid-cell, .no-icon .x-grid-item, .no-icon .x-grid-item:last-child, .no-icon .x-grid-body {
	border-width: 0;
}

.no-icon .x-tree-node-text {
	padding-left: 0;
}

.x-grid-item:not(.x-grid-item-selected):not(.x-grid-item-over) .log-EMERGENCY .x-grid-cell, td.log-EMERGENCY {
	background-color: #ff85c4;
}
.x-grid-item:not(.x-grid-item-selected):not(.x-grid-item-over) .log-ALERT .x-grid-cell, td.log-ALERT {
	background-color: #ff9e9e;
}
.x-grid-item:not(.x-grid-item-selected):not(.x-grid-item-over) .log-CRITICAL .x-grid-cell, td.log-CRITICAL {
	background-color: #ffd89e;
}
.x-grid-item:not(.x-grid-item-selected):not(.x-grid-item-over) .log-ERROR .x-grid-cell, td.log-ERROR {
	background-color: #fff29e;
}

.x-grid-item:not(.x-grid-item-selected):not(.x-grid-item-over) .log-WARNING .x-grid-cell, td.log-WARNING {
	background-color: #fffd9e;
}
.x-grid-item:not(.x-grid-item-selected):not(.x-grid-item-over) .log-NOTICE .x-grid-cell, td.log-NOTICE {
	background-color: #edff9e;
}

.x-grid-inner-locked .x-grid-header-ct .x-box-inner {
	border-right: solid 2px #5a5c5e;
}

.x-grid-scrollbar-clipper-locked .x-grid-empty {
	display: none;
}

.pimcore_icon_minimize {
	background: url(/bundles/pimcoreadmin/img/flat-color-icons/bearish.svg) center center no-repeat;
}

.pimcore_icon_maximize {
	background: url(/bundles/pimcoreadmin/img/flat-color-icons/bullish.svg) center center no-repeat;
}


.pimcore_icon_autoCreateUnits {
	background: url(/bundles/pimcoreadmin/img/flat-color-icons/currency_exchange.svg) center center no-repeat;
}

.pimcore_icon_truncate {
	background: url(/bundles/pimcoreadmin/img/flat-color-icons/trash.svg) center center no-repeat;
}

.pimcore_icon_overwrite_images {
	background: url(/bundles/pimcoreadmin/img/flat-color-icons/edit_image.svg) center center no-repeat;
}

.x-grid-item pre {
	font-family: 'Open Sans', 'Helvetica Neue', helvetica, arial, verdana, sans-serif;
}

.queue-processing-monitor-icon {
	background: url(/bundles/pimcoreadmin/img/flat-color-icons/bar_chart.svg) center center no-repeat !important;
	transform: rotate(90deg);
}

.pimcore_icon_input_with_variables {
	background: url(/bundles/pimcoreadmin/img/flat-color-icons/input.svg) center center no-repeat !important;
}

.pimcore_icon_textarea_with_variables {
	background: url(/bundles/pimcoreadmin/img/flat-color-icons/text.svg) center center no-repeat !important;
}

.pimcore_icon_wysiwyg_with_variables {
	background: url(/bundles/pimcoreadmin/img/flat-color-icons/wysiwyg.svg) center center no-repeat !important;
}

.pimcore_icon_input_with_variables:before, .pimcore_icon_textarea_with_variables:before, .pimcore_icon_wysiwyg_with_variables:before {
	position: absolute;
	width: 12px;
	height: 12px;
	bottom: 0;
	right: 0;
	content: "";
	background: url(/bundles/pimcoreadmin/img/flat-color-icons/calculator.svg) center center/12px no-repeat !important;
}

.x-tree-icon-leaf.pimcore_icon_input_with_variables, .x-tree-icon-leaf.pimcore_icon_textarea_with_variables, .x-tree-icon-leaf.pimcore_icon_wysiwyg_with_variables {
	position: relative;
}

.x-tree-icon-leaf.pimcore_icon_input_with_variables:before, .x-tree-icon-leaf.pimcore_icon_textarea_with_variables:before, .x-tree-icon-leaf.pimcore_icon_wysiwyg_with_variables:before {
	bottom: 4px;
	right: -4px;
}

.file-does-not-exist {
	color: red !important;
}

.pimcore_icon_auto_generate_fields {
	background: url(/bundles/pimcoreadmin/img/flat-color-icons/add_database.svg) center center no-repeat !important;
}

.pimcore_icon_data_director {
	background: url(/bundles/pimcoreadmin/img/flat-color-icons/feed_in.svg) center center no-repeat !important;
}

.pimcore_icon_data_director_export {
	background: url(/bundles/pimcoreadmin/img/flat-color-icons/export.svg) center center no-repeat !important;
}

.pimcore_icon_overlay_go.pimcore_icon_overlay_actioncolumn:before {
	bottom: -1px;
	right: 9px;
}

.pimcore_icon_hide_column {
	background: url(/bundles/pimcoreadmin/img/flat-color-icons/dam.svg) center center no-repeat !important;
}

.diff-wrapper.diff.summary {
	border: none;
	background: none;
}

.diff-wrapper.diff.summary.diff-html .change .rep {
	background: none;
}

.heading-permalink {
	visibility: hidden;
	font-size: 0;
}

.changelog img {
	max-width: 500px;
}

/* see https://stephanwagner.me/only-css-loading-spinner */
@keyframes dd-spin {
	to {
		transform: rotate(360deg);
	}
}

.dd-loader:before {
	content: '';
	box-sizing: border-box;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	margin-left: -10px;
	border-radius: 50%;
	border: 2px solid #fff;
	border-top-color: #333;
	animation: dd-spin .6s linear infinite;
}

.mandatory_field_error {
	border: solid 1px red;
}

.pimcore_icon_treeSelect {
	background: url("/bundles/pimcoreadmin/img/flat-color-icons/tree_select.svg") no-repeat scroll center center transparent !important;
}

.pimcore_icon_dataDirectorCalculatedValueDataQuerySelector {
	background: url(/bundles/pimcoreadmin/img/flat-color-icons/calculator.svg) center center no-repeat !important;
}

table.tree-tooltip {
	border-collapse: collapse;
	width: 100%;
	text-align: left;
	line-height: 1;
}

table.tree-tooltip tr {
	border-bottom: solid 1px #eee;
}

table.tree-tooltip tr:last-child {
	border-bottom: none;
}

table.tree-tooltip td {
	padding: 5px 10px 5px 0;
	vertical-align: top;
}

table.tree-tooltip ul {
	margin-top: 0;
}

.history-grid .x-grid-td {
	vertical-align: middle;
}

#pimcore_menu_data_director.compatibility {
	background-image: none !important;
	text-indent: 0;
}

#pimcore_menu_data_director.compatibility img {
	position: absolute;
	width: 32px;
	height: 32px;
	top: 10px;
	left: 14px;
}

.field-type-combo.x-boundlist-item-over, .field-type-combo.x-boundlist-selected {
	background-color: #3c3f41 !important;
}