/*********************************************************************************************/
/* Style for fields                                                                          */
/*********************************************************************************************/
.x-form-trigger-wrap-default,
.x-form-text-default,
.x-form-trigger {
    border-radius: 5px;
    background-color: white;
}

.x-menu.x-layer.x-menu-default.x-border-box .prolongation-menu-combobox .x-form-text-field-body-default {
    min-width: 170px;
    max-width: 170px;
}

.reporting-filters .x-form-trigger-wrap.x-form-trigger-wrap-default .x-form-text-wrap.x-form-text-wrap-default .x-tagfield.x-form-field.x-form-text.x-form-text-default {
    max-height: 15px !important;
    overflow: visible;
}

/*********************************************************************************************/
/* Corrections for ckeditor                                                                  */
/*********************************************************************************************/

.pk-ckeditor {
    display: flex;
    flex-direction: row;
}

.pk-ckeditor .x-form-textarea-body {
    display: flex;
    flex-grow: 1;
    max-width: 1000000px;
}

.pk-ckeditor .x-form-textarea-body .x-form-text-wrap-default {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: auto !important;
}

.pk-ckeditor .x-form-textarea-body .x-form-trigger-wrap-default {
    display: flex;
    flex-grow: 1;
}

.pk-ckeditor .cke {
    height: 100% !important;
    width: 100% !important;
    display: flex;
    box-sizing: border-box;
    border-radius: 5px;
}

.pk-ckeditor .cke_inner {
    display: flex !important;
    flex-direction: column;
    height: 100% !important;
    width: 100% !important;
    border-radius: 5px;
}

.pk-ckeditor .cke_top {
    display: flex;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.pk-ckeditor .cke_contents {
    display: flex;
    flex-grow: 1;
    height: auto !important;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

div[id^="benutzer_disclaimer"],
div[id^="__ncidata_ext"] {
    padding: 0;
    border: 0;
}

div[id^="disclaimer"],
div[id^="__ncidata_ext"] {
    padding: 0;
    border: 0;
}

/*********************************************************************************************/
/* Corrections for tolltips on disabled fields                                               */
/*********************************************************************************************/
.x-form-label-icon,
.tooltip-field-icon {
    pointer-events: auto;
    padding-left: 5px;
}

.x-form-invalid-icon-default {
    pointer-events: auto;
}

/*********************************************************************************************/
/* Style for Disabled fields                                                                 */
/*********************************************************************************************/
.x-form-item-default.x-item-disabled {
    opacity: 1;
}

.x-form-item-default.x-item-disabled .x-form-text-default {
    background-color: #ececec;
}

.x-item-disabled .x-form-trigger {
    display: none;
}


.mark-label-red {
    color: #cf4c35;
}

/*********************************************************************************************/
/* Style scoring widget                                                                      */
/*********************************************************************************************/
.Prokonzept-Form-Widgets7-Todo .x-grid-group-hd,
.Prokonzept-Form-Widgets7-BankProducts .x-grid-group-hd {
    padding-left: 0px;
}

/*********************************************************************************************/
/* Style bankproduct widget                                                                 */
/*********************************************************************************************/

/*Falls hier overflow: hidden, dann sieht man das Menü vom Split-Button nicht*/
.Prokonzept-Form-Widgets7-Todo .x-group-hd-container ,
.Prokonzept-Form-Widgets7-BankProducts .x-group-hd-container {
  overflow: unset;
}

.Prokonzept-Form-Widgets7-Todo .x-column-header-text ,
.Prokonzept-Form-Widgets7-BankProducts .x-column-header-text {
    display: flex;
    align-items: center;
    margin-right: 4px;
}

.Prokonzept-Form-Widgets7-BankProducts .bankproductsSortBtn.x-btn.x-unselectable.x-btn-default-small,
.Prokonzept-Form-Widgets7-BankProducts .bankproductsSortBtn.x-btn.x-unselectable.x-btn-default-small.x-btn-over,
.Prokonzept-Form-Widgets7-BankProducts .bankproductsSortBtn.x-btn.x-unselectable.x-btn-default-small.x-focus.x-btn-focus.x-btn-default-small-focus {
  background-color: var(--bg-grey);
  border: none;
  box-shadow: none;
}

.Prokonzept-Form-Widgets7-BankProducts .bankproductsSortBtn .x-btn-icon-el-default-small {
  color: var(--text-grey);
}

.bankproducts .x-grid-group-hd-collapsible .x-grid-group-title {
  padding: 0px;
  background-image: none !important;
}

.bankproducts .bankproduct-name-block .bankprodukt-icon-ampel {
  font-size: 130%;
  line-height: 17px;
}

.bankproducts .bankproduct-name-block .bankprodukt-icon {
  font-size: 150%;
  padding-right: 5px;
  padding-left: 10px;
}

.bankproducts .bankproduct-name-block .bankprodukt-name {
  display: inline-block;
}

.bankproducts .text-decoration-underline {
  text-decoration: underline;
}

.bankproducts .split-btn {
  display: flex; 
}

.bankproducts .primary-btn {
  padding: 5px 5px;
  border-top: 1px solid white;
  border-left: 1px solid white;
  border-bottom: 1px solid white;
  border-right: none;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.bankproducts .split-btn button {
  background-color: var(--green);
  color: white;
  cursor: pointer;
  font-size: 15px;
}

.bankproducts .dropdown-container {
  position: relative;
}

.bankproducts .dropdown-container .secondary-btn {
  height: 100%;
  padding: 0px 5px;
  border-left: 1px solid white;
  border-top: 1px solid white;
  border-right: 1px solid white;
  border-bottom: 1px solid white;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  font-size: 10px;
}

.bankproducts .dropdown-content {
  background: white;
  position: absolute;
  /*display: inline-flex; Anzeige in einer Linie*/
  padding: 0px 10px 10px 10px;
  box-shadow: 1px 1px 5px 1px var(--dark-grey);
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}

.bankproducts .eliBankResultChosen .dropdown-content-element,
.bankproducts .dropdown-content-element {
  display: block;
  text-decoration: none;
  color: #666;
  padding: 10px 0px 0px 0px;
}

.bankproducts .dropdown-content.activated{
  opacity: 1;
  pointer-events: all;
}

.bankproducts .dropdown-content-element:hover {
  color: var(--blue);
}

.Prokonzept-Form-Widgets7-BankProducts .eliApiFilterField .x-form-text-field-body-default {
  min-width: 120px;
  max-width: 120px;
}

.eliBankResultChosen,
.eliBankResultChosen .x-grid-group-title {
  background: var(--blue) !important;
  color: white;
}

/*********************************************************************************************/
/* Style knditionshistory widget                                                             */
/*********************************************************************************************/

.Prokonzept-Form-Widgets7-KonditionsHistoryTable .x-column-header-text-inner {
    text-overflow: unset;
}

.Prokonzept-Form-Widgets7-KonditionsHistoryTable .x-column-header-align-right .x-column-header-text {
    margin-right: 0px;
}

/*********************************************************************************************/
/* Mark grid rows                                                                            */
/*********************************************************************************************/
.x-grid-row.mark_greenGray {
    background-color: #C9D684 !important;
}

.x-grid-row.mark_greenGray_disabled {
    background-color: #EAEFCE !important;
}

.x-grid-row.mark_blueGray {
    background-color: #88AFD2 !important;
}

.x-grid-row.mark_blueGray_disabled {
    background-color: #CFDFED !important;
}

.x-grid-row.mark_redGray {
    background-color: #D2888F !important;
}

.x-grid-row.mark_redGray_disabled {
    background-color: #EDCFD2 !important;
}

.x-grid-row.mark_orangeGray {
    background-color: #FFC384 !important;
}

.x-grid-row.mark_orangeGray_disabled {
    background-color: #FFE7CE !important;
}

.x-grid-row.mark_gray {
    background-color: #dcdcdc;
}

.x-grid-row.mark_dark_gray {
    background-color: #b5b8c8;
}

/*********************************************************************************************/
/* Grid Grouping header                                                                      */
/*********************************************************************************************/
.x-column-header-inner {
    padding-right: 0px;
}

.x-column-header-text-inner {
    font-weight: 700;
}

/*********************************************************************************************/
/* Grid Grouping header                                                                      */
/*********************************************************************************************/

.x-grid-group-hd {
    border-color: transparent;
}

/*********************************************************************************************/
/* Grid                                                                                      */
/*********************************************************************************************/
.x-grid-group-title {
    font-weight: bold;
}

tr.notreaded * {
    font-weight: bold;
}

/*********************************************************************************************/
/* Mitantragsteller checkbox                                                                 */
/*********************************************************************************************/

.mitantragsteller-form .x-tool-expand-bottom,
.mitantragsteller-form .x-tool-collapse-top {
    background-image: none;
    font-family: 'Font Awesome 5 Free Regular';
    font-weight: 900;
}

.mitantragsteller-form .x-tool-expand-bottom:before {
    content: '\f0c8';
}

.mitantragsteller-form .x-tool-collapse-top:before {
    content: '\f14a';
}

.cke_contents .cke_source {
    font-family: Arial, sans-serif;
    font-size: 12px;
}

/*********************************************************************************************/
/* Varianten switcher: Variante löschen button definition                                    */
/*********************************************************************************************/
.x-btn.erase-button .x-btn-wrap-default-toolbar-small.x-btn-split-right {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 16px;
    color: #666;
}

.x-btn.erase-button .x-btn-wrap-default-toolbar-small.x-btn-split-right:after {
    content: '\f2ed';
    background-image: none;
    padding: 0px 0px 0px 3px;
    border-left: 1px solid #d8d8d8;
}


/*********************************************************************************************/
/* Navigation rechts icon definition                                                         */
/*********************************************************************************************/

.prokon-main-center-container {
    border-radius: unset !important;
}

/* scrollbar */
.Prokonzept-widget7-Start-QuickAntragOptions .navigation-itemGroup,
.Prokonzept-widget7-Start-QuickAntragOptions .x-panel-body.x-panel-body-default{
    overflow-y: auto;
}

.navigation-itemGroup-header .x-tool-collapse-top,
.navigation-itemGroup-header .x-tool-expand-bottom {
    background-image: none;
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
}

.navigation-itemGroup-header .x-tool-collapse-top:before {
    content: '\f077';
}

.navigation-itemGroup-header .x-tool-expand-bottom:before {
    content: '\f078';
}

.navigation-itemGroup-item,
.navigation-itemGroup-item.x-btn.x-btn-pressed,
.navigation-itemGroup-item.x-btn-over {
    background-color: transparent;
    border-color: transparent;
    box-shadow: none !important;
}

/*Navi-Unterpunkte nach rechts verschoben*/
.navigation-accordion .x-btn-default-toolbar-small .x-btn-inner {
    margin-left: 15px !important;
}

/*Arbeitsplatz-Button-Text linksbündig*/
#navigation-desktop .x-btn-inner {
    margin-left: 0px !important;
    font-size: 120% !important;
}

/*Hauptnavi-Punkte nicht aktiv*/
.navigation-itemGroup.x-panel-collapsed .navigation-itemGroup-header .x-panel-header-title-default,
.navigation-itemGroup.x-panel-collapsed .navigation-itemGroup-header .x-panel-header-title-default .x-title-icon-default,
.navigation-itemGroup.x-panel-collapsed .navigation-itemGroup-header .x-tool-collapse-top,
.navigation-itemGroup.x-panel-collapsed .navigation-itemGroup-header .x-tool-expand-bottom {
    color: black;
    font-weight: inherit;
}

/*Hauptnavi-Punkte aktiv*/
.navigation-itemGroup-header .x-panel-header-title-default,
.navigation-itemGroup-header .x-panel-header-title-default .x-title-icon-default,
.navigation-itemGroup-header .x-tool-collapse-top,
.navigation-itemGroup-header .x-tool-expand-bottom {
    font-size: 100%;
    font-weight: bold;
}

/*Navi-Unterpunkte aktiv*/
.navigation-itemGroup-item.x-btn.x-btn-pressed .x-btn-inner-default-toolbar-small,
.navigation-itemGroup-item.x-btn.x-btn-pressed .x-btn-icon-el-default-toolbar-small,
.navigation-itemGroup-item.x-btn-over .x-btn-inner-default-toolbar-small,
.navigation-itemGroup-item.x-btn-over .x-btn-icon-el-default-toolbar-small {
    font-weight: bold;
}

/*********************************************************************************************/
/* Style a big splitter                                                                      */
/*********************************************************************************************/
.big-splitter .x-splitter-vertical {
    width: 25px !important;
}

.big-splitter .x-splitter-vertical .x-layout-split-left {
    background-image: none;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 20px;
    padding-left: 4px;
}


.big-splitter .x-splitter-vertical .x-layout-split-left:before {
    content: '\f100';
}

.big-splitter .x-splitter-vertical.x-splitter-collapsed .x-layout-split-left:before {
    content: '\f101';
}

/*********************************************************************************************/
/* Style for a link: e.g. "Datenexport"                                                      */
/*********************************************************************************************/
.td-with-action {
    cursor: pointer;
    color: blue;
}


/*********************************************************************************************/
/* Style for a split button where the arrow is on the left site                              */
/*********************************************************************************************/

.x-btn-split-right.left-position {
    display: flex;
    flex-direction: row-reverse;
}

.x-btn-wrap-default-toolbar-small.x-btn-split-right.left-position:after {
    transform: scaleX(-1);
    border-left-width: 2px;
    border-left-style: solid;
    border-left-color: transparent;
}

.x-btn-split-right.left-position + span.x-btn-arrow-el {
    left: 0;
    right: auto;
    border-left-width: 2px;
    border-left-style: solid;
    border-left-color: transparent;
}

/*********************************************************************************************/
/* Prokonzept-Klassen - Ab hier werden themespezifische Prokonzept-Klassen definiert         */
/* Die Bezeichnung der Klasse beginnt mit "prokonCls"                                        */
/*********************************************************************************************/

/*********************************************************************************************/
/* Panel Header bei Mouseover - begin                                                        */
/*********************************************************************************************/
.prokonClsPanelHeaderMouseOver {
    cursor: pointer;
}

.x-accordion-item .x-accordion-hd {
    cursor: pointer;
}

/*********************************************************************************************/
/* Panel Header bei Mouseover - end                                                          */
/*********************************************************************************************/

/*********************************************************************************************/
/* Double-Check-Icon (e.g. E-Mail) - begin                                                   */
/*********************************************************************************************/
.read.fa-check-double:before {
    color: #4FC3F7;
}

.received.fa-check-double:before {
    color: #ABABAB;
}

/*********************************************************************************************/
/* Double-Check-Icon (e.g. E-Mail) - end                                                     */
/*********************************************************************************************/

/*********************************************************************************************/
/* Notifications-Button - begin                                                              */
/*********************************************************************************************/
#app-header-notificationsButton {
    background-color: white !important;
}

#app-header-notificationsButton .x-btn-inner-default-small,
#app-header-notificationsButton .x-btn-icon-el-default-small {
    color: black;
}

#app-header-notificationsButton.notifications-exist .x-btn-inner-default-small,
#app-header-notificationsButton.notifications-exist .x-btn-icon-el-default-small {
    color: red !important;
}

/*********************************************************************************************/
/* Notifications-Button - end                                                                */
/*********************************************************************************************/

/*********************************************************************************************/
/* Navigation                                                                                */
/*********************************************************************************************/

.x-treelist-nav .x-treelist-item {
    flex-shrink: 0;
}

.x-treelist-nav .x-treelist-item-icon,
.x-treelist-nav .x-treelist-item-close-icon {
    height: 100%;
}

.x-treelist-nav .x-treelist-item-tool {
    font-size: 24px;
    padding-left: 7px;
    padding-right: 7px;
}

.x-treelist-nav .x-treelist-item-leaf.node-closable .x-treelist-item-close-icon {
    display: block;
}

.x-treelist-nav .x-treelist-item-close-icon {
    color: #adb3b8;
    font-size: 18px;
    width: 24px;
    text-align: center;
    background-repeat: no-repeat;
    background-position: 0 center;
    position: absolute;
    top: 0;
    right: 0;
    line-height: 44px;
    cursor: pointer;
    display: none;
}

.x-treelist-root-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}


.x-treelist-nav .x-treelist-item-close-icon:hover {
    color: var(--green);
}

.x-treelist-nav .x-treelist-item-expanded {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    -moz-transition: all 500ms;
    -o-transition: all 500ms;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    max-height: 100%;
    display: flex;
    flex-direction: column;
}

.x-treelist-nav .x-treelist-item-collapsed {
    -moz-transition: all 500ms;
    -o-transition: all 500ms;
    -webkit-transition: all 500ms;
    transition: all 500ms;
}

.x-treelist-nav .x-treelist-item-collapsed > .x-treelist-container {
    overflow: hidden;
    animation: hide-scroll 2s backwards;
}

.x-treelist-nav .x-treelist-item-expanded > .x-treelist-container {
    flex-grow: 1;
    overflow: auto;
    animation: hide-scroll 0.5s backwards;
}

@keyframes hide-scroll {
    from, to {
        overflow: hidden;
    }
}

.x-legend-item {
    max-width: none;
}