/*
START LICENSE AND COPYRIGHT

 This file is part of translate5
 
 Copyright (c) 2013 - 2021 Marc Mittag; MittagQI - Quality Informatics;  All rights reserved.

 Contact:  http://www.MittagQI.com/  /  service (ATT) MittagQI.com

 This file may be used under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE version 3
 as published by the Free Software Foundation and appearing in the file agpl3-license.txt 
 included in the packaging of this file.  Please review the following information 
 to ensure the GNU AFFERO GENERAL PUBLIC LICENSE version 3 requirements will be met:
 http://www.gnu.org/licenses/agpl.html
  
 There is a plugin exception available for use with this release of translate5 for
 translate5: Please see http://www.translate5.net/plugin-exception.txt or 
 plugin-exception.txt in the root folder of translate5.
  
 @copyright  Marc Mittag, MittagQI - Quality Informatics
 @author     MittagQI - Quality Informatics
 @license    GNU AFFERO GENERAL PUBLIC LICENSE version 3 with plugin-execption
			 http://www.gnu.org/licenses/agpl.html http://www.translate5.net/plugin-exception.txt

END LICENSE AND COPYRIGHT
*/

.x-panel-body-default .ck {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    cursor: text;
    font-size: initial;
    background-color: rgb(255 255 255) !important;
    white-space: pre-wrap;
    color: #000000;
}

.x-panel-body-default .ck.hide-tag img {
    display: none;
}

.x-panel-body-default .ck img {
    vertical-align: middle;
    cursor: pointer;
}

.x-panel-body-default .ck img + img {
    margin-left: 1px;
}

.x-panel-body-default .ck img.duplicatesavecheck {
    width: 0 !important;
    height: 0 !important;
    display: none;
}

.x-panel-body-default .ck span.term {
    background: transparent;
    border-bottom: 1px solid #0000ff;
}

.x-panel-body-default .ck span.source-transNotFound {
    border-bottom-color: #ff0000;
}

.x-panel-body-default .ck span.source-transNotDefined {
    border-bottom-color: #8F4C36;
}

.x-panel-body-default .ck span.notRecommended,
.x-panel-body-default .ck span.supersededTerm,
.x-panel-body-default .ck span.deprecatedTerm {
    border-bottom: none;
    background-color: #fa51ff;
}

.x-panel-body-default .ck span.term.t5qfalpos {
    background: transparent;
    border-bottom: 1px solid #8282FF;
}

.x-panel-body-default .ck span.source-transNotFound.t5qfalpos {
    border-bottom-color: #FF8888;
}

.x-panel-body-default .ck span.source-transNotDefined.t5qfalpos {
    border-bottom-color: #C2A8A8;
}

.x-panel-body-default .ck span.notRecommended.t5qfalpos,
.x-panel-body-default .ck span.supersededTerm.t5qfalpos,
.x-panel-body-default .ck span.deprecatedTerm.t5qfalpos {
    border-bottom: none;
    background-color: #FDC4FF;
}

.x-panel-body-default .ck img.qmflag {
    width: auto !important;
    height: 14px !important;
    vertical-align: middle;
    margin-left: 1px;
    margin-right: 1px;
}

.x-panel-body-default .ck img.qmflag.t5qfalpos {
    opacity: 50%;
}

.x-panel-body-default .ck.fakedsel strong, .ck.fakedsel b {
    font-weight: normal;
    background: #b0b0b0;
}

/* segment grid font sizing */
body.segment-size-1 .ck {
    font-size: 7pt !important;
    line-height: 11px;
}

/* old details mode: */
body.segment-size-2 .ck {
    font-size: 9pt !important;
    line-height: 14px;
}

body.segment-size-3 .ck {
    font-size: 11pt !important;
    line-height: 19px;
}

/* old ergonomic mode: */
body.segment-size-4 .ck {
    font-size: 13pt !important;
    line-height: 23px;
}

body.segment-size-5 .ck {
    font-size: 16pt !important;
    line-height: 26px;
}

body.segment-size-6 .ck {
    font-size: 19pt !important;
    line-height: 30px;
}

.x-panel-body-default .ck.ck-editor__editable .image-inline {
    bottom: -1px;
}

body.segment-size-1 .ck .image-inline img {
    height: 11px;
}

/* old details mode: */
body.segment-size-2 .ck .image-inline img {
    height: 14px;
}

body.segment-size-3 .ck .image-inline img {
    height: 19px;
}

/* old ergonomic mode: */
body.segment-size-4 .ck .image-inline img {
    height: 23px;
}

body.segment-size-5 .ck .image-inline img {
    height: 26px;
}

body.segment-size-6 .ck .image-inline img {
    height: 30px;
}

.x-html-editor-input [data-ref=textareaEl] + .ck-editor + .ck-editor {
    display: none;
}

[id^="t5editor-"] .x-form-layout-wrap {
    border-spacing: 0;
}

.x-grid-row-editor .x-field {
    margin-left: 1px !important;
}

.x-grid-row-editor > [data-ref="bodyWrap"] > [data-ref="body"] > [data-ref="innerCt"] {
    min-width: 100%;
    width: inherit !important;
}

.x-grid-row-editor > [data-ref="bodyWrap"] > [data-ref="body"] > [data-ref="innerCt"] > [data-ref="targetEl"] {
    width: 100% !important;
}

.ck-powered-by {
    display: none;
}

.x-panel-body-default .ck .ck-editor__editable {
    padding: 4px 9px 3px 9px;
}
:root {
    --ck-inner-shadow: none;
}
.x-panel-body-default .ck .ck-editor__editable > p {
    margin: 0;
}
.ck-content .image-inline {
    vertical-align: text-top;
}
.ck.ck-editor__top.ck-reset_all {
    height: 0;
}


