
/* ============================== PALETTE ============================== */
/*
    #FAB450                     | Accent color
    rgb(250, 180, 80)           |
    hsl(35, 94%, 65%)           |

    rgba(250, 180, 80, .6)      | Medium accent color: selected/over color (opacity 60%)
    hsla(35, 94%, 65%, 0.6)     |
    #FCD297                     | > (solid version, no opacity)

    rgba(250, 180, 80, .4)      | Light accent color: section information background, ... (opacity 40%)
    hsla(35, 94%, 65%, 0.4)     |
    #FDE1B9                     | > (solid version, no opacity)

    rgba(250, 180, 80, .2)      | Tiny accent color: quick tasks, ... (opacity 20%)
    hsla(35, 94%, 65%, 0.2)     |
    #FEF0DC                     | > (solid version, no opacity)

    #D07605                     | Darker accent color

    #222222                     | Primary color (text color, header background, negative content background, ...)

*/





/* ============================== LOGIN ============================== */
#loginBody .mainWindow {
    border-top-color: #FAB450;
}

.login-body-backGround {
    background-image: url('/HDAPortal/ext-HDA/Images/HDA_loginBackGround-png/portal.axd?v=8DDD72C7781B300');
    background-size: cover;
}

/* ============================== HEADER ============================== */
.portal-header-center::before {
    color: #FBAF00;
    text-shadow: 1px 1px 0px #EEE;
}

.logon-info-description-secondary {
    color: #FAB450;
}


/* ============================== HEADER BADGES ============================== */

.header-badge.type-count.toggled-on {
    background-color: #FAB450;
}

.header-badge.type-count.toggled-on:before {
    color: #FAB450;
}

.header-badge.type-button,
.header-badge.type-button:before {
    color: #FFF;
}

    .header-badge.type-button:hover,
    .header-badge.type-button:hover:before,
    .header-badge.type-toggle:hover,
    .header-badge.type-toggle:hover:before {
        color: #FAB450;
    }


.header-badge.unreadtickets:before {
    content: '%';
}

.header-badge.unreadnotifications:before {
    content: "\e903";
    font-size: 22px;
}

.header-badge.pendingbrainbusinessforms:before {
    content: '$';
}

.header-badge.powerfinder:before {
    content: '4';
}


/* ============================== STANDARD BADGES (Detail Menu, Pinned Pages) ============================== */

.badge {
    background-color: #FAB450;
    color: #222;
}






/* ============================== HDA HEADER CALLOUT ============================== */

.logon-info-callout {
    
}

.profile-group-list {
    margin-top: 6px;
}

.profile-group-row {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.profile-group-radio {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #999999;
    flex-shrink: 0;
}

.profile-group-label {
    padding: 6px;
}

.profile-group-row.is-selected .profile-group-radio {
    background-color: #FAB450;
    border-color: #FAB450;
}
.profile-group-row.is-selected .profile-group-label {
    font-weight: 600;
}



/* ============================== MAIN MENU ============================== */
body .portal-nav-menu-btn.x-btn,
body.mobile .portal-nav-menu-btn.x-btn,
body .portal-nav-close-btn.x-btn,
body.mobile .portal-nav-close-btn.x-btn {
    color: #FAB450;
}

/* Main menu base color */
.portal-main-menu.webix_view,
.portal-main-menu .webix_view,
.portal-main-menu.webix_sidebar_popup {
    color: #FFF;
}

/* Main menu hover background */
.portal-main-menu.webix_sidebar .webix_tree_item:hover,
.portal-main-menu.webix_sidebar .webix_list_item:hover,
.portal-main-menu.webix_sidebar .webix_tree_item.webix_sidebar_selected:hover,
.portal-main-menu.webix_sidebar .webix_tree_item.webix_selected:hover,
.portal-main-menu.webix_menu.webix_view .webix_list_item:hover {
    background-color: rgba(250, 180, 80, .6);
}

/* Main menu selected color */
.portal-main-menu.webix_sidebar_popup .webix_list_item.webix_selected,
.portal-main-menu.webix_sidebar_popup .webix_list_item.webix_selected span,
.portal-main-menu.webix_sidebar .webix_tree_item.webix_sidebar_selected,
.portal-main-menu.webix_sidebar .webix_tree_item.webix_selected {
    color: #FAB450;
}

/* Main menu selected box shadow (side border) */
.portal-main-menu.webix_sidebar.webix_sidebar_left .webix_tree_item.webix_sidebar_selected,
.portal-main-menu.webix_sidebar.webix_sidebar_left .webix_tree_item.webix_sidebar_selected + .webix_tree_leaves .webix_tree_item,
.portal-main-menu.webix_sidebar_popup .webix_list_item.webix_selected {
    box-shadow: inset 2px 0 #FAB450;
}

/* (Mobile) Main menu selected box shadow (side border) */
body.mobile .portal-main-menu.webix_sidebar.webix_sidebar_left .webix_tree_item.webix_sidebar_selected,
body.mobile .portal-main-menu.webix_sidebar.webix_sidebar_left .webix_tree_item.webix_sidebar_selected + .webix_tree_leaves .webix_tree_item,
body.mobile .portal-main-menu.webix_sidebar_popup .webix_list_item.webix_selected {
    box-shadow: inset 4px 0 #FAB450;
}

/* Main menu pinned button */
.portal-nav-menu-toolbar .portal-nav-pin-btn.is-active {
    color: #FAB450;
}





/* ============================== NAVBAR ============================== */
.portal-navbar .tab.is-selected,
.portal-navbar .tab.x-tab.is-selected {
    color: #FAB450;
}

.portal-navbar .tab .x-tab-close-btn:after {
    color: #FAB450;
}

/* ============================== PORTAL TAB ============================== */
.tab.is-selected,
.tab.x-tab.is-selected {
    border-bottom-color: #FAB450;
}

/* ============================== BUTTONS ============================== */

/* Primary Button */

.btn.btn-primary,
.webix_primary .webix_button,
.webix_popup_button.confirm {
    background-color: #FAB450;
    border-color: #FAB450;
    color: #222;
    box-shadow: none;
}

    .btn.btn-primary:hover,
    .btn.btn-primary.is-over,
    .btn.btn-primary.x-btn.is-over,
    .webix_primary .webix_button:hover,
    .webix_popup_button.confirm:hover {
        background-color: #FCD297;
        border-color: #FCD297;
    }

    .btn.btn-primary:focus,
    .btn.btn-primary.is-focused,
    .btn.btn-primary.x-btn.is-focused,
    .webix_primary .webix_button:focus,
    .webix_popup_button.confirm:focus {
        background-color: #FAB450;
        border-color: #222;
    }

    .btn.btn-primary:active,
    .btn.btn-primary.is-active,
    .btn.btn-primary.x-btn.is-active,
    .webix_primary .webix_button:active,
    .webix_popup_button.confirm:active {
        background-color: #F89E20;
        border-color: #222;
    }

    .btn.btn-primary:disabled,
    .btn.btn-primary.is-disabled,
    .btn.btn-primary.x-btn.is-disabled {
        color: #999;
        background-color: #F0F0F0;
        border-color: #F0F0F0;
    }


/* Secondary Button */

.btn.btn-secondary,
.webix_secondary .webix_button,
.webix_popup_button {
    background-color: #E0E0E0;
    border-color: #E0E0E0;
}

    .btn.btn-secondary:hover,
    .btn.btn-secondary.is-over,
    .btn.btn-secondary.x-btn.is-over,
    .webix_secondary .webix_button:hover,
    .webix_popup_button:hover {
        background-color: #F0F0F0;
        border-color: #F0F0F0;
    }

    .btn.btn-secondary:focus,
    .btn.btn-secondary.is-focused,
    .btn.btn-secondary.x-btn.is-focused,
    .webix_secondary .webix_button:focus,
    .webix_popup_button:focus {
        background-color: #E0E0E0;
        border-color: #222;
    }

    .btn.btn-secondary:active,
    .btn.btn-secondary.is-active,
    .btn.btn-secondary.x-btn.is-active,
    .webix_secondary .webix_button:active,
    .webix_popup_button:active {
        background-color: #CCC;
        border-color: #CCC;
    }

    .btn.btn-secondary:disabled,
    .btn.btn-secondary.is-disabled,
    .btn.btn-secondary.x-btn.is-disabled {
        color: #999;
        cursor: default;
        background-color: #F0F0F0;
        border-color: #F0F0F0;
    }



/* Command Button */

.btn.btn-command:focus,
.btn.btn-command.is-focused,
.btn.btn-command.x-btn.is-focused {
    border-color: #D07605;
}

.btn.btn-command:active,
.btn.btn-command.is-active,
.btn.btn-command.x-btn.is-active {
    color: #D07605;
    border-color: #D07605;
}

.menu-item.btn.btn-command.is-active {
    border-color: transparent;
}

.btn.btn-command:disabled,
.btn.btn-command:disabled:active,
.btn.btn-command.is-disabled,
.btn.btn-command.x-btn.is-disabled {
    border-color: transparent;
}



/* Icon Button */

.btn.btn-icon:focus,
.btn.btn-icon.is-focused,
.btn.btn-icon.x-btn.is-focused {
    border-color: #D07605;
}

.btn.btn-icon:active,
.btn.btn-icon.is-active,
.btn.btn-icon.x-btn.is-active {
    color: #D07605;
    border-color: #D07605;
}

.btn.btn-icon:disabled,
.btn.btn-icon:disabled:active,
.btn.btn-icon.is-disabled,
.btn.btn-icon.x-btn.is-disabled {
    border-color: transparent;
}




/* ============================== MENU ============================== */
.menu,
body .mce-floatpanel.mce-popover {
    border-top-color: #D07605;
}

body .mce-menu {
    box-shadow: 0 6px 15px 0 rgba(34, 34, 34, 0.4), inset 0 2px 0 0 #D07605;
}

.menu-item:hover,
.menu-item.is-active,
.menu-item.btn.btn-command:hover,
.menu-item.btn.btn-command.is-active,
body .mce-menu-item-normal.mce-active,
body .mce-menu-item:hover,
body .mce-menu-item.mce-selected,
body .mce-menu-item:focus {
    background-color: rgba(250, 180, 80, .6);
}


/* ============================== LIST COMMON STYLES (GRID & DATAVIEW) ============================== */

.list-view .list-view-row.is-selected,
.list-view .list-view-row.is-over {
    background-color: rgba(250, 180, 80, 0.6); /* TODO - RIMUOVERE QUANDO SI GESTIRA' LA SELEZIONE CON CHECKBOX */
    border-top: 1px solid #FAB450;
}

    .list-view .list-view-row.is-selected + .list-view-row,
    .list-view .list-view-row.is-over + .list-view-row {
        border-top: 1px solid #FAB450;
    }

.list-view .list-view-row:last-child.is-selected,
.list-view .list-view-row:last-child.is-over {
    border-bottom: 1px solid #FAB450;
}



/* ============================== GRID ============================== */

.list-grid .list-grid-row.is-selected .list-grouping,
.list-grid .list-grid-row.is-over .list-grouping,
.list-grid .list-grid-row.is-selected .x-grid-row-summary,
.list-grid .list-grid-row.is-over .x-grid-row-summary {
    border-color: #FAB450;
}



/* ============================== GRID CELLS ============================== */

.list-cell-counter,
.ticket-counter {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
}

.ticket-counter-solicits {
}

.ticket-counter-children {

}

.ticket-counter-conversationitems {
    
}



/* ============================== TREE ============================== */

.tree-node.is-selected,
.tree-node.is-over {
    background-color: rgba(250, 180, 80, 0.6);
}

.tree.tree-with-cells .tree-node.is-selected,
.tree.tree-with-cells .tree-node.is-over {
    border-top: 1px solid #FAB450;
}

.tree.tree-with-cells .tree-node.is-selected + .tree-node,
.tree.tree-with-cells .tree-node.is-over + .tree-node {
    border-top: 1px solid #FAB450;
}

.tree.tree-with-cells .tree-node:last-child.is-selected,
.tree.tree-with-cells .tree-node:last-child.is-over {
    border-bottom: 1px solid #FAB450;
}



/* =========== CARD LAYOUT REQUIREMENTS =========== */

.list.cards .x-grid-item.x-grid-item-selected .card {
    background-color: rgba(250, 180, 80, 0.6);
}

/* ============================== FIELD TRIGGERS / BUTTONS ============================== */

.field .side-button:hover,
.field .side-button.is-over,
.field .side-button .x-form-spinner:hover {
    background-color: #D07605;
    border-color: #D37400;
}

    .field .side-button:hover:before,
    .field .side-button.is-over:before,
    .field .side-button:hover .x-btn-icon-el:before,
    .field .side-button .x-form-spinner:hover:before {
        color: #FFF;
    }


/* ============================== CONTROLS ============================== */

.field.is-mandatory .field-label span::after {
    color: #D07605;
}
.field.is-readonly .field-label span::after {
    color: inherit;
}


/* Picker List (Combo-like Fields) Styles */
.picker-panel {
    border-top-color: #D07605;
}

.picker-list-item.is-over, 
.picker-list-item.is-selected {
    background-color: rgba(250, 180, 80, 0.6);
}


/* Date Picker */
.date-picker-cell:hover,
.month-picker .x-monthpicker-item-inner:hover {
    background-color: rgba(250, 180, 80, 0.6);
}

.date-picker-cell.is-selected,
.month-picker .x-monthpicker-item-inner.is-selected {
    background-color: #FAB450;
}

.date-picker-cell.is-today {
    border-color: #FAB450;
}



/* Tag Field*/
.field.x-tagcombo .x-taglabel-item {
    /*background-color: rgba(250, 180, 80, 0.6);*/
}


/* Uploader / Attachment Field */
body .attachments-list .progress-bar .progress,
.attachment-field .progress {
    background-color: #FAB450;
}

body .upload-area .uploadContainer.dragover {
    background-color: rgba(250, 180, 80, 0.6);
    border-color: #D07605;
}


/* Effort Field */
.hda-effort-field {
}

    .hda-effort-field .effort-time-field .field-content-wrapper {
        border-width: 1px;
    }

    .hda-effort-field .field + .field {
        margin-left: 6px;
    }


/* ============================== NOTIFICATIONS ============================== */

.notification-banner.notification-type-neutral {
    background-color: rgba(250, 180, 80, .4);
    border-left-color: transparent;
}




/* ============================== POWERFINDER ============================== */

.pfItem:hover {
    background-color: rgba(250, 180, 80, 0.6);
    border-top: 1px solid #FAB450;
}

.pfItem:hover + .pfItem {
    border-top: 1px solid #FAB450;
}



/* ============================== POWERFINDER DATA VIEW ============================== */

body .powerfinder-results .powerfinder-result.powerfinder-result-over .powerfinder-result-title,
body .powerfinder-results .powerfinder-result.powerfinder-result-over .powerfinder-result-abstract,
body .powerfinder-results .powerfinder-result.powerfinder-result-selected .powerfinder-result-title,
body .powerfinder-results .powerfinder-result.powerfinder-result-selected .powerfinder-result-abstract {
    background-color: rgba(250, 180, 80, 0.6);
}

body .powerfinder-results .powerfinder-result.powerfinder-result-over,
body .powerfinder-results .powerfinder-result.powerfinder-result-selected,
body .powerfinder-results .powerfinder-result.powerfinder-result-over + .powerfinder-result,
body .powerfinder-results .powerfinder-result.powerfinder-result-selected + .powerfinder-result {
    border-top: 1px solid #FAB450;
}



/* ============================== ACCORDION DATAVIEW ============================== */

.accordion-dview .accordion-dview-item.is-over .accordion-dview-item-header,
.accordion-dview .accordion-dview-item.is-selected .accordion-dview-item-header {
    background-color: rgba(250, 180, 80, 0.6);
}

.accordion-dview .accordion-dview-item.is-over,
.accordion-dview .accordion-dview-item.is-selected {
    border-top: 1px solid #FAB450;
}

.accordion-dview .accordion-dview-item:last-child.is-over,
.accordion-dview .accordion-dview-item:last-child.is-selected {
    border-bottom: 1px solid #FAB450;
}

.accordion-dview .accordion-dview-item.is-over + .accordion-dview-item,
.accordion-dview .accordion-dview-item.is-selected + .accordion-dview-item {
    border-top: 1px solid #FAB450;
}



/* ============================== CATALOG BREADCRUMBS ============================== */

.catalog-breadcrumbs {
    font-size: 11px;
    text-transform: uppercase;
    display: flex;
    flex-wrap: wrap;
}

body.mobile .catalog-breadcrumbs {
    /* disable text selection */
    user-select: none; /* standard */
    -moz-user-select: none; /* firefox specific */
    -webkit-user-select: none; /* Chrome, Opera and Safari*/
    -ms-user-select: none; /* IE, ms-edge */
}

.catalog-breadcrumbs .breadcrumbs-inner div,
.catalog-breadcrumbs .breadcrumbs-inner span {
    display: inline-block;
    text-transform: uppercase;
}

.catalog-breadcrumbs .icon-prev {
    width: 20px;
    height: 20px;
    margin-right: 4px;
    cursor: pointer;
    background-position-y: -14px;
}

.catalog-breadcrumbs * {
    line-height: 20px;
}

.catalog-breadcrumbs .folder,
.catalog-breadcrumbs .item,
.catalog-breadcrumbs .query-bread {
    margin-right: 6px;
}


/* 
    Solo per il vecchio caro IE, 
    per fare in modo di poter rimuovere il text-decoration nell'elemento :before ha bisogno che di base sia impostato un valore,
    altrimenti non considera il text-decoration:none e si vede l'underline anche nel separatore dei breadcrumb 

    https://stackoverflow.com/questions/8820286/how-to-remove-only-underline-from-abefore
*/

.catalog-breadcrumbs div::before {
    text-decoration: underline;
}

.catalog-breadcrumbs .catalog-breadcrumb + .catalog-breadcrumb::before,
.catalog-breadcrumbs .folder + .folder::before,
.catalog-breadcrumbs .item::before,
.catalog-breadcrumbs .query-bread::before {
    content: ">";
    text-decoration: none;
    display: inline-block;
    padding-right: 6px;
    font-weight: normal;
}

.catalog-breadcrumbs .folder {
    cursor: pointer;
    text-decoration: underline;
}

    .catalog-breadcrumbs .folder:hover {
        text-decoration: none;
    }

.catalog-breadcrumbs .active {
    text-decoration: none;
    cursor: default;
    font-weight: 600;
}

.catalog-breadcrumbs .root {
}







/* ============================== CATALOG LIST STYLES ============================== */

.catalogitem-image {
    width: 48px;
    height: 48px;
}

.catalogitem-image img {
    width: 48px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.catalogitem-data-tpl h1,
.catalogitem-data-tpl h2,
.catalogitem-data-tpl h3 {
    margin: 0;
    padding: 0;
}

.catalogitem-data-tpl h1 {
    font-size: 16px;
    color: #222;
    font-weight: 400;
}

.catalogitem-data-tpl h2 {
    margin-top: 2px;
    font-size: 12px;
    color: #666;
    font-weight: 400;
}

.catalogitem-data-tpl h3.message,
.svc-catalog-list .catalogitem-data-tpl h3.message {
    margin-top: 2px;
    font-size: 11px;
    color: #666;
}

    .catalogitem-data-tpl h3.message .icon {
        margin-right: 6px;
        vertical-align: middle;
        font-size: 16px;
    }

    .catalogitem-data-tpl h3.message.warning .icon {
        color: #F8D92C;
    }

    .catalogitem-data-tpl h3.message.warning,
    .catalogitem-data-tpl h3.message.error,
    .svc-catalog-list .catalogitem-data-tpl h3.message.warning,
    .svc-catalog-list .catalogitem-data-tpl h3.message.error {
        color: #666;
    }

        .catalogitem-data-tpl h3.message.error .icon {
            color: #FF7256;
        }

.svc-catalog-list .x-grid-cell {
    padding: 6px 0;
    vertical-align: middle;
}

.svc-catalog-list .catalog-quantity,
.svc-tpl .available-items .x-grid-cell.col-quantity,
.svc-tpl .selected-items .x-grid-cell.col-quantity {
    font-size: 14px;
}

.svc-catalog-list .catalog-price,
.svc-tpl .available-items .x-grid-cell.col-price,
.svc-tpl .selected-items .x-grid-cell.col-price {
    font-size: 14px;
}

.svc-catalog-list .catalog-totalprice,
.svc-tpl .available-items .x-grid-cell.col-totalprice,
.svc-tpl .selected-items .x-grid-cell.col-totalprice {
    font-size: 14px;
    font-weight: 600;
}


/*.svc-catalog-list .x-grid-item {
    border: 0px none;
}

.svc-catalog-list .x-grid-cell {
    border-bottom: 1px solid #EEE;
}*/

/* Hide grid grouping: hiding .x-grid-group-hd is not enough because the empty tr will indent the tr of the first row */
.svc-catalog-list .list-grid-row:first-child tr:first-child {
    display: none;
}

.svc-catalog-list .x-grid-row .x-grid-cell:first-child {
    border-left: 3px solid transparent;
}

.svc-catalog-list .x-grid-row.warning-row .x-grid-cell:first-child {
    border-left-color: #F8D92C;
}

.svc-catalog-list .x-grid-row.invalid-row .x-grid-cell:first-child {
    border-left-color: #FF7256;
}

.svc-catalog-list .list-grid-row .x-grid-row-summary {
    position: relative;
    left: -2px;
}

.svc-catalog-list .x-grid-empty {
    padding: 40px 0;
    text-align: center;
    font-size: 12px;
}

.svc-catalog-list .x-btn .x-btn-icon-el {
    font-size: 16px;
}


/* ============================== CATALOG ITEM ============================== */

/* Catalog Item Title and Extended Description */
.catalog-item-header {
    margin: 16px 0;
}

    .catalog-item-header h1,
    .catalog-item-header .catalog-item-title {
        font-size: 18px;
        font-weight: 600;
        text-transform: uppercase;
    }

    .catalog-item-header .catalog-item-extdesc {
    }


/* ============================== CATALOG REQUEST ============================== */

/* ATTENTION! This style breaks the layout. A Margin here will truncate the fields of the fieldset. */
/* http://forums.ext.net/showthread.php?59776-Custom-control-control-container-height-is-not-calculated-correctly-in-PartialViews&p=273454#post273454 */
.service-catalog-request .x-toolbar {
}

.service-catalog-request .section .fieldset-body {
    padding: 0;
}

.service-catalog-request .catalog-request-fixed-fields{
    margin-bottom: 0;
}

.service-catalog-request.is-external-catalog-request .catalog-request-toolbar {
    margin-top: 20px;
}

/* Workaround - mobile native app specific style (mobile app loads catalog request detail in "single-module" way) */
body.mobile .single-module-ct .service-catalog-request {
    padding: 14px;
}

body.mobile .service-catalog-request > .panel-body .fieldset-body {
    padding: 0;
}


/* ============================== HTML PREVIEW ============================== */

.html-preview th {
    background-color: #FAB450;
}

.html-preview-container .user-vote {
    margin: 20px 0 20px 0;
    display: inline-block;
}

.html-preview-container .user-vote-up,
.html-preview-container .user-vote-down {
    cursor: pointer;
    margin: 0 15px 0 0;
    border: 1px solid transparent;
    border-radius: 30px;
    color: #222;
    float: left;
}

    .html-preview-container .user-vote-up:before,
    .html-preview-container .user-vote-down:before {
        font-family: "pat-font";
        color: #222;
        width: 16px;
        height: 16px;
        font-size: 16px;
    }

.html-preview-container .user-vote-up {
    padding: 10px 16px;
}

    .html-preview-container .user-vote-up:before {
        content: "\7e";
        padding-right: 10px;
    }

.html-preview-container .user-vote-down {
    padding: 10px;
}

    .html-preview-container .user-vote-down:before {
        content: "\5c";
    }

.html-preview-container .user-vote-up-off {
    background-color: #FFF;
    border-color: #222;
}

.html-preview-container .user-vote-up-on {
    background-color: #FAB450;
}

.html-preview-container .user-vote-down-off {
    background-color: #FFF;
    border-color: #222;
}

.html-preview-container .user-vote-down-on {
    background-color: #FAB450;
}




/* ============================== DETAIL ============================== */
.section-information-container-inner {
    background-color: rgba(250, 180, 80, .4);
}




/* ============================== DETAIL - EMAIL ============================== */

.detail.entity-email .address-selector {
    padding: 4px;
}

.layout-small-desktop .detail.entity-email .address-selector {
    padding: 2px;
}

.detail.entity-email .email-subject-field {
    margin-right: 47px;
}

.detail.entity-email .upload-field {
    margin-top: 0;
    margin-right: 47px;
}

.detail.entity-mail .upload-area .btn-upload {
    width: 160px;
}


/* ============================== RECORDVIEW DIRTY STATUS MANAGEMENT ============================== */

.module.dirty .detail-title::after,
.tab.x-tab.dirty::after {
    color: #FAB450;
}


/* ============================== TICKET SUMMARY ============================== */

.ticket-summary {
    border-radius: 4px;
    background-color: rgba(250, 180, 80, 0.4);
    margin-bottom: 20px;
    padding: 12px;
    display: flex;
    min-width: 0;
}

    .ticket-summary .ticket-id,
    .ticket-summary .selection-header {
        font-weight: 600;
    }

    .ticket-summary .ticket-subject,
    .ticket-summary .selection-info {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        .ticket-summary .ticket-subject::before {
            content: '\00a0- ';
        }

        .ticket-summary .selection-info::before {
            content: '\00a0';
        }


/* ============================== TICKET SUMMARY MOBILE (WORKAROUND) ============================== */

.ticket-summary.mobile {
    padding: 6px;
}

    /* 
    IMPORTANT: do not rely on this class for customizations!!!
    This is only a workaround!
    */
    .ticket-summary.mobile div {
        float: none !important;
        width: 100% !important;
        margin-left: 0px !important;
        text-align: left !important;
    }


/* ============================== TIMELINE ============================== */

body .timeline {

}

body.mobile .timeline {
    padding: 0 14px;
}

body .timeline .header {
    background-color: #FCD297;
    border-color: #FAB450;
}





/* ============================== KANBAN ============================== */

.kanban .standard-column .webix_view.webix_kanban_sub_header,
.kanban .drop-only-column .webix_view.webix_kanban_sub_header {
    background-color: rgba(250, 180, 80, .4);
}


.kanban-card {
    
}

    .webix_selected .kanban-card {
        border-color: #d07605;
    }




/* ============================== AGENDA ============================== */

.event-scheduler-inner-toolbar .webix_item_tab.webix_selected {
    border-bottom-color: #FAB450;
}

.event-scheduler .webix_cal_body .webix_cal_day_inner:hover,
.event-scheduler .webix_scheduler_calendar .webix_cal_date:hover,
.event-scheduler .webix_scheduler_month_event_single:hover,
.event-scheduler .webix_scheduler_agenda .webix_event_overall:hover {
    background-color: rgba(250, 180, 80, 0.6);
}

.event-scheduler .webix_cal_today .webix_cal_date {
    border-color: #C66200;
}

.event-scheduler .webix_scheduler_list_today .webix_scheduler_monthday,
.event-scheduler .webix_scheduler_monthday.webix_scheduler_today {
    border-color: #C66200;
    color: inherit;
    background-color: transparent;
}

.event-scheduler .webix_cal_body .webix_cal_select .webix_cal_day_inner,
.event-scheduler .webix_cal_body .webix_cal_today.webix_cal_select .webix_cal_day_inner {
    background-color: #FAB450;
}

.event-scheduler .webix_cal_body .webix_cal_select .webix_cal_day_inner:hover,
.event-scheduler .webix_cal_body .webix_cal_today.webix_cal_select .webix_cal_day_inner:hover {
    background-color: #FAB450;
}

.event-scheduler .webix_scheduler_calendar .webix_cal_today .webix_cal_date {
    border-color: #C66200;
}

.event-scheduler .webix_cal_body .webix_cal_event,
.event-scheduler .webix_scheduler_calendar .webix_cal_event {
    color: #C66200;
}

.event-scheduler .webix_cal_body .webix_cal_today .webix_cal_day_inner {
    box-shadow: inset 0 0 0 1px #C66200;
}

.event-scheduler .webix_toolbar.webix_dark {
    background: transparent;
    border-color: transparent;
}

.event-scheduler .webix_scheduler_list_today .webix_scheduler_monthday,
.event-scheduler .webix_scheduler_monthday.webix_scheduler_today {
    border-color: #C66200;
    color: inherit;
    background-color: transparent;
}

/* hide add calendar*/
.event-scheduler .add_user_calendar {
    display: none;
}










/*============ Major Incident ===============*/
.major-incident-id {
    padding-left: 8px;
    background-position: left center;
    background-repeat: no-repeat;
    font-size: 24px;
    color: #808080;
}









/* ============================== ACCOUNT CONTACT CARD (ANALYSIS) ============================== */

.account-contact-card {
}

.account-contact-card-header {
    border-bottom: 1px solid #DDD;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

/* Vertical layout (detail side column) */
.is-portrait .account-contact-card-header {
    flex-direction: column;
    text-align: center;
    align-items: initial;
}

.account-contact-card-header-content > * + * {
    margin-top: 6px;
}

.account-contact-card img {
    height: 64px;
    width: 64px;
    border-radius: 50%;
    border: 1px solid #CCC;
    object-fit: cover;
    flex-shrink: 0;
    margin: 0 1rem 0 0;
    align-self: center;
}

/* Vertical layout (detail side column) */
.is-portrait .account-contact-card img {
    margin: 0 0 1rem 0;
}

.account-contact-card-link {
    text-decoration: none;
    cursor: pointer;
}

    .account-contact-card-link:hover {
        text-decoration: underline;
    }

.account-contact-card-title {
    font-size: 16px;
    font-weight: 600;
}

.account-contact-card-header-content {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.account-contact-card-text {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.account-contact-card-caption {
    font-size: 12px;
    color: #999;
}

.account-contact-card-status {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
}

    .account-contact-card-status .account-contact-card-icon::before {
        content: "";
        width: 14px;
        height: 14px;
        border-radius: 50%;
        display: block;
    }

    .account-contact-card-status.is-status-active {
        color: #109006;
    }

        .account-contact-card-status.is-status-active .account-contact-card-icon::before {
            background-color: #109006;
        }

    .account-contact-card-status.is-status-locked {
        color: #EF5350;
    }

        .account-contact-card-status.is-status-locked .account-contact-card-icon::before {
            background-color: #EF5350;
        }

.account-contact-card-status-text {
    margin-left: 4px;
}

.account-contact-card-content {
    font-size: 12px;
}

/* Vertical layout (detail side column) */
.is-portrait .account-contact-card-content {
    border-bottom: 1px solid #DDD;
    padding-bottom: 1rem;
}

.account-contact-card-content > * + * {
    margin-top: 10px;
}

.account-contact-card-info {
    display: flex;
    align-items: center;
}

.account-contact-card-info-text {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.account-contact-card-icon {
    margin-right: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

    .account-contact-card-icon::before {
        font-size: 18px;
    }

.account-contact-card-city {
    text-transform: uppercase;
}



/* ============================== SLA SUMMARY (ANALYSIS) ============================== */

.sla-summary {
    height: 100%;
    overflow: auto;
}

    .sla-summary.is-sla-empty {
        padding-top: 1rem;
        text-align: center;
    }

    .sla-summary .sla-item {
        border-left: 4px solid #109006;
        border: 0;
        display: flex;
        align-items: flex-start;
    }

    .sla-summary .sla-item-header {
        display: flex;
        align-items: flex-start;
    }

    .sla-summary .sla-item + .sla-item {
        margin-top: 20px;
    }

    .sla-summary .sla-content {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

        .sla-summary .sla-content > * + * {
            margin-top: 6px;
        }

    .sla-summary .sla-indicator {
        width: 18px;
        height: 18px;
        display: grid;
        place-items: center;
        margin-right: 6px;
        flex-shrink: 0;
    }

        .sla-summary .sla-indicator::before {
            content: "";
            width: 14px;
            height: 14px;
            display: block;
            border-radius: 50%;
            border: 4px solid transparent;
        }

    .sla-summary .is-sla-expired .sla-indicator::before {
        background-color: #EF5350;
    }

    .sla-summary .is-sla-suspended .sla-indicator::before {
        background-color: #777;
    }

    .sla-summary .is-sla-fulfilled .sla-indicator::before {
        background-color: #109006;
    }

    .sla-summary .is-sla-running .sla-indicator::before {
        border-color: #109006;
    }

    .sla-summary .is-sla-running .sla-title {
        font-weight: 600;
    }

    .sla-summary .sla-title-ct > * + * {
        margin-top: 6px;
    }

    .sla-summary .sla-title {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .sla-summary .sla-type {
        display: inline-block;
        background-color: #F0F0F0;
        border-radius: 6px;
        font-size: 12px;
        padding: 2px 4px;
        margin-right: 6px;
        flex-shrink: 0;
    }

    .sla-summary .sla-info-item {
        font-size: 12px;
        color: #777;
        white-space: normal;
    }

    .sla-summary .sla-info-label {
    }




/* ============================== OBJECT HISTORY (ANALYSIS) ============================== */
.object-history {
}

.object-history-item {
    position: relative;
    padding-left: 20px;
    padding-bottom: 16px;
}

    .object-history-item::before {
        content: "";
        position: absolute;
        top: 2px;
        left: 1px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background-color: #FCD297;
    }

    .object-history-item::after {
        content: "";
        position: absolute;
        height: 100%;
        width: 2px;
        background-color: #DDD;
        top: 16px;
        left: 7px;
    }

    .object-history-item:last-child::after {
        display: none;
    }

    .object-history-item > * + * {
        margin-top: 4px;
    }

    /*.object-history-item + .object-history-item {
        margin-top: 16px;
    }*/

.object-history-author {
    font-size: 12px;
    color: #999;
}

.object-history-operation {
    font-weight: bold;
}

.object-history-details {
    font-style: italic;
    font-size: 12px;
}

.object-history-comment {
    font-style: italic;
    font-size: 12px;
}

.object-history-value {
    font-weight: bold;
}





/* ============================== COST CENTER SUMMARY (ANALYSIS) ============================== */

.costcenter-summary > *+* {
    margin-top: 12px;
}

.costcenter-summary-header {
    display: flex;
}

.costcenter-summary-label {
    font-weight: 600;
    display: block;
}
.costcenter-summary-value {

}

.costcenter-summary-limit {
    display: inline-block;
}

.costcenter-summary-progress {
    border-radius: 4px;
    height: 20px;
    background-color: #F0F0F0;
}


.costcenter-summary-progress-bar {
    height: 100%;
    border-radius: 4px;
    background-color: #FAB450;
    text-align: right;
    overflow: visible;
    white-space: nowrap;
    padding: 0 4px;
}

.costcenter-summary-progress.is-limit-exceeded .costcenter-summary-progress-bar {
    background-color: #EF5350;
    color: #F0F0F0;
}

.costcenter-summary-progress-value {
    font-weight: 600;
}


.costcenter-summary-duration {
    /*text-align: center;*/
    font-weight: 600;
    margin-top: 6px;
}




/* ============================== COMMUNICATIONS ============================== */
[class^="communication-type-"].icon::before,
[class*=" communication-type-"].icon::before,
[class^="communication-type-"] .icon::before,
[class*=" communication-type-"] .icon::before {
    font-size: 18px;
}

body.mobile [class^="communication-type-"].icon::before,
body.mobile [class*=" communication-type-"].icon::before,
body.mobile [class^="communication-type-"] .icon::before,
body.mobile [class*=" communication-type-"] .icon::before {
    font-size: 24px;
}

.communication-type-info.icon,
.communication-type-info .icon {
    color: #055deb;
}
.communication-type-info.icon::before,
.communication-type-info .icon::before{
    content: "\f146";
}

.list.entity-communication .card.communication-type-info {
    border-left-color: #055deb;
}


.communication-type-warning.icon,
.communication-type-warning .icon {
    color: #FAB450;
}
.communication-type-warning.icon::before,
.communication-type-warning .icon::before{
    content: "\f145";
}

.list.entity-communication .card.communication-type-warning {
    border-left-color: #FAB450;
}


.communication-type-error.icon,
.communication-type-error .icon {
    color: #EF5350;
}
.communication-type-error.icon::before,
.communication-type-error .icon::before{
    content: "\f110";
}

.list.entity-communication .card {
    height: 140px;
}

.list.entity-communication .card .icon {
    align-self: flex-start;
    margin-top: 2px;
}

.list.entity-communication .card.communication-type-error {
    border-left-color: #EF5350;
}

    
.list.entity-communication .card .communication-date {
    color: #777;
    font-size: 11px;
}

.list.entity-communication .card .communication-abstract {
    font-size: 18px;
    margin-bottom: 8px;
}

.list.entity-communication .card .communication-body {
    font-size: 12px;
    line-height: 1.25;
    text-overflow: unset;
    white-space: normal;
    overflow:auto;
}





/* ============================== TICKET CONVERSATION ITEMS ============================== */
.list.entity-ticketconversationitem .ticketconversationitem-text {
    white-space: pre-wrap;
    max-height: 150px;
    font-style: italic;
}

.list.entity-ticketconversationitem .ticketconversationitem-text.is-sitevisible {
    font-style: normal;
}

/* ================================== TICKET CATEGORY ==================================== */
.entity-ticketcategory.not-active-ticket-category {
    font-style: italic;
    color: #C5C5C5;
}


/* ================================== TICKET FORWARD ==================================== */


.hda-module-ticket-forward{}

body.mobile .hda-module-ticket-forward {
    padding-top: 12px;
}