/*==============================================================================

APP CSS STYLESHEET

Table Of Contents:
    -GENERAL
    -TITLEBAR
        -LEFT MENU
        -SEARCH FORM
        -NAVIGATION
        -INFOBOX
        -ALERTS
    -RIGHT MENU
    -TABLES
        -ITEM COUNT FLOATER
        -PAGER FLOATER
    -MONITORING
    -REPORTS
    -WORKFLOWS
    -ERRORS AND MESSAGES
    -USER SETTINGS
    -PRINT
    -OTHER
*/

/*============================================================================*/
/*GENERAL*/
/*============================================================================*/

* {
    outline: none;
    word-wrap: break-word;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: "Trebuchet MS", Arial, Verdana, sans-serif;
    font-size: 14px;
    margin:0;
    padding:0;
    line-height: 1.5;
    background-color: #ffffff;
}

#body {
    overflow: visible;
    margin: 20px;
    margin-top: 0;
    text-align: justify;
}

#mainblock {
    border-top: 0px;
    min-width: 200px;
    position: relative;
    width: 100%;
}

body.windowed {
    margin: 0px;
    padding: 0px;
}

body.windowed #body {
    margin: 2px;
}

body.windowed #mainblock {
    min-width: 200px;
}

#body h1 {
    margin-bottom: 15px;
    min-height: 1em;
}

#body h1:empty {
    display: none;
}

.hideOnUIv3 {
    display: none;
}

html {
    height: 100%;
}

h1, .h1 {
    font-size: 1.8em;
    font-weight: bold;
    color: #365373;
    margin: 0px;
}

h2, h3 {
    color: #365373;
    font-weight: bold;
}

h2 {
    margin: 0px;
}

h3 {
    margin: 10px 0px 0px 0px;
}

img {
    border: 0px;
}

td img {
    vertical-align: middle;
}

img.icon {
    vertical-align: middle;
    margin-right: 3px;
}

th {
    padding: 0px 2px;
    text-align: left;
}

a {
    color: #0057a5;
    cursor: pointer;
    text-decoration: none;
}

a:hover {
    color: #337ab7;
    text-decoration: underline;
}

a.nocolor {
    color: #666666;
}

.jqueryUIhide {
    background: transparent!important;
    border: 0!important;
}

#bodyBack, #bodyBackNoRight, #bodyBackFull{
    position: relative;
    top: 0px;
    left: 0px;
    color: #666666;
    padding: 0px;
    border-top: none;
}

#bodyBack {
    background: white;
    margin: 65px 0px 0px 0px;
    padding-top: 25px;
    min-width: 200px;
    min-height: 0px;
    max-height: calc(100vh - 65px);
    overflow: auto;
}

#bodyBackFull {
    background: white;
    margin: 90px 0px 0px 0px;
    min-width: 200px;
    max-height: calc(100vh - 90px);
    overflow: auto;
}

#app-main-content {
    top: 65px;
    position: relative;
}

#contentwrapper {
    float: left;
    width: 100%;
}

legend {
    border: 0;
    display: block;
    padding: 0;
    margin-bottom: 5px;
    font-size: 1.7em;
    line-height: inherit;
    color: #333333;
}

form fieldset {
    position: relative;
    border: none;
    margin: 20px 0px 0px 0px;
    padding: 10px;
    border-radius: 10px;
}

select, textarea, input, button, optgroup { /* Necessary to specify, since font-family and size are replaced by user browser-style */
    font-family: inherit;
    font-size: inherit;
}

select[multiple="multiple"]{
    height: 20em;
}

select[multiple="multiple"][size] {
    height: auto;
}

textarea {
    height: 20em;
}

.geojsonDataType, .openLayersMapWrapper {
    height: 20em;
    min-width: 20em;
}

.openLayersMapAddressSearch {
    min-width: 20em;
    width: 100%;
}

.openLayersPopup {
    position: absolute;
    background-color: white;
    -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 1em;
    max-width: 50vw;
    width: max-content;
}
.openLayersPopup:after, .openLayersPopup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.openLayersPopup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}
.openLayersPopup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}


.labelValueForm {
    width: 100%;
}

input[type="text"], input[type="password"], select, textarea {
    background-color: #d8d9e9;
    border: 2px solid #c8c9d9;
    width: 100%;
    box-sizing: border-box;
}

input[type="submit"], button {
    background-color: #d8d9e9;
    border: 2px solid #c8c9d9;
    font-weight: bold;
    display: block;
    margin: 5px auto;
    width: 70%;
}

select, textarea, input, .inputIcon, .selectButtons label {
    color: #2e3192;
    font-size: 75%;
    opacity: 100%;
}

select > option {
    color: #2e3192;
}

/* Resize the inside icon font back to 100% (1/75 = 133) */
.inputIcon [class^="icon-"], .inputIcon [class*=" icon-"] {
    font-size: 133%;
}

input[type="image"], input[type="checkbox"], input[type="radio"] {
    vertical-align: middle;
}

input.dateEntry, input[type=text].dateEntry {
    width: 10em;
    min-width: 10em;
}

input.timeEntry, input[type=text].timeEntry {
    width: 12ex;
    min-width: 12ex;
}

.innertube{
    margin: 0px; /*Margins for inner DIV inside each column (to provide padding)*/
    margin-top: 10px;
}

.desktopWindow {
    z-index: 1000;
}

.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
    font-family: inherit;
    font-size: 0.8em;
}

.ui-widget-content a {
    color: #0057a5;
}

.ui-widget-header {
    background: #365373;
    border:1px solid #72879e;
    color: white;
}

.ui-datepicker {
    -webkit-box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.25);
    -moz-border-radius: 0px 0px 10px 5px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.25);
}

.ui-button:hover {
    background: #e6e6e6;
}

.ui-dialog .ui-dialog-titlebar {
    padding: 0;
}

.ui-dialog .ui-dialog-content {
    overflow: hidden;
}

.ui-dialog.desktopWindow, .ui-dialog.desktopWindow .ui-dialog-content {
    box-sizing: content-box; /* Fix for JqueryUI resizable problem with computing width with border-box */
}

.ui-accordion .ui-accordion-content {
    padding: 0px!important;
}

.ui-corner-all {
    -webkit-border-radius: 10px 10px 10px 10px!important;
    -moz-border-radius: 10px 10px 10px 10px!important;
    border-radius: 10px 10px 10px 10px!important;
}

.ui-dialog.desktopWindow {
    -webkit-border-radius: 10px 10px 10px 10px!important;
    -moz-border-radius: 10px 10px 10px 10px!important;
    border-radius: 10px 10px 10px 10px!important;
}

.ui-accordion-content-active {
    -webkit-border-radius: 0px 0px 10px 10px!important;
    -moz-border-radius: 0px 0px 10px 10px!important;
    border-radius: 0px 0px 10px 10px!important;
}

/* Backgrounds */
.ui-state-active .ui-icon,
.ui-state-focus .ui-icon,
span.ui-icon.ui-icon-circle-triangle-w,
span.ui-icon.ui-icon-circle-triangle-e,
.ui-button .ui-icon.ui-icon-triangle-1-s,
span.ui-accordion-header-icon.ui-icon.ui-icon-triangle-1-e {
    background-image: url(../imagesUIv3/ui-icons_ffffff_256x240.png);
}

.ui-button .ui-icon,
a.ui-datepicker-next.ui-corner-all.ui-state-hover.ui-datepicker-next-hover > span.ui-icon.ui-icon-circle-triangle-e,
a.ui-datepicker-prev.ui-corner-all.ui-state-hover.ui-datepicker-prev-hover > span.ui-icon.ui-icon-circle-triangle-w {
    background-image: url(../imagesUIv3/ui-icons_222222_256x240.png);
}

/* Footer */

#footer {
    position: relative;
    margin: 50px auto 0px auto;
    width: 975px;
    font-size: 75%;
}

#copyright , #textnavbar{
    position: absolute;
    top: 0px;
    left: 12px;
}

/*============================================================================*/
/*TITLEBAR*/
/*============================================================================*/

#titlebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 500;
    width: 100%;
    height: 45px;
    background: #72879e;
    min-width: 700px;
    margin: 0px;
}

#titlebar a:hover {
    text-decoration: none;
}

#titlebar .profile-menu a:hover {
    text-decoration: underline;
}

.icon-user-bubble::before {
    font-size: 1.5em;
    position: absolute;
    margin-left: 20px;
    margin-top: 15px;
}

.icon-user-bubble.bubble-red::before {
    color: #fb3446;
}

.icon-user-bubble.bubble-white::before {
    color: #ffffff;
}

#titlebar .nav .gpc-icon {
    color: #ffffff;
    font-size: 2em;
}

#titlebar .input-group .gpc-icon {
    color: #ffffff;
    font-size: 1.3em;
}

/* Titlebar icons hover shadow */

#titlebar .nav .gpc-icon:hover{
    /*    color: rgba(13,3,53, 0.5);
        text-shadow: 0px 1px 1px #fff, 0px 1px 1px #365373, 0 0 0 #000, 0px 0px 0px transparent;
        color: rgba(54,83,113, 0.8);
        text-shadow: 1px 4px 6px #72879e, 0 0 0 #000, 1px 4px 6px #72879e;*/
}

.breadcrumb {
    padding: 0px 235px;
    margin-bottom: 0px;
    margin-top: 45px;
    list-style: none;
    background-color: #cfd6de;
    height: 20px;
    position: absolute;
    width: 100%;
    border-radius: 0 0 1em 1em;
}

#visualbox {
    position: absolute;
    left: 251px;
    top: 0px;
    width: 513px;
    height: 110px;
}

#visualbox .wide, #rightmenu .wide {
    min-width: 20px;
}

/*----------------------------------------------------------------------------*/
/*TITLEBAR - LEFT MENU*/
/*----------------------------------------------------------------------------*/

img.menu-logo{
    margin: 10px 0px 0px 20px;
    height: 45px;
    max-width: 135px;
}

.main-menu-left{
    border-radius: 0px 0px 15px 15px;
    width: 220px;
    height: 65px;
    background: #365373;
    position: relative;
    z-index: 1100;
    cursor: pointer;
}

.mainMenuArrow {
    position: absolute;
    font-size: 4em;
    color: white;
    margin-top: 3px;
    margin-right: 4px;
    right: 0;
}

/*----------------------------------------------------------------------------*/
/*TITLEBAR - SEARCH FORM*/
/*----------------------------------------------------------------------------*/

.navbar-form {
    margin-top: 5px;
}

#globalSearchForm {
    display: inline-flex;
}

#globalSearchForm .searchGoButton {
    margin: 0;
    border-radius: 0 10px 10px 0;
    border: 0;
}

input.gpcInputB.searchInput {
    width: 170px;
    min-width: 20px;
}

.ui-widget.ui-widget-content.ui-autocomplete {
    z-index: 2000;
    border-radius: 5px 5px 5px 5px;
    max-height: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
    position: fixed;
}

.autocompleteSelectOptions.ui-widget.ui-widget-content.ui-autocomplete {
    font-size: 75%;
    line-height: 1;
}

li.autocompleteList > a.listItem {
    display: block;
    padding: 5px 5px;
}

li.autocompleteList > a.listItem:hover {
    color: #365373;
}

li.autocompleteList > a.listItem::before {
    font-size: 24px;
    vertical-align: middle;
    padding-right: 5px;
}

input.form-control.gpcInputB.ui-autocomplete-input.ui-autocomplete-loading {
    background: white url(../js/ui-smoothness/images/ui-anim_basic_16x16.gif) right center no-repeat;
}

#search-execute {
    position: absolute;
    left: 230px;
    top: 5px;
}


/*----------------------------------------------------------------------------*/
/*TITLEBAR - LANGUAGE SELECTOR*/
/*----------------------------------------------------------------------------*/

.menuitem_toolbarLanguage {
    padding-top: 8px;
    padding-bottom: 8px;
}

.menuitem_toolbarLanguage .languageContainer {
    position: relative;
    margin: 0;
    top: 50%;
    transform: translateY(-50%);
}

.languageContainer select.languagePicker {
    min-width: fit-content;
    width: fit-content;
    border-radius: 20px;
}


/*----------------------------------------------------------------------------*/
/*TITLEBAR - NAVIGATION*/
/*----------------------------------------------------------------------------*/

#nav > a {
    display: none;
}

#nav > ul {
    list-style: none;
    display: inline-flex;
    position: absolute;
    right: 250px;
    line-height: 1;
}

#nav li {
    position: relative;
}

#nav li a {
    color: #fff;
    display: block;
}

#nav li.toolbarMenuSeparator {
    height: 44px;
    width: 1px;
    background-color: #FFFFFF;
}

#nav li a:active {
    background-color: #365373;
}

/* first level */
#nav > ul > li > a {
    height: 100%;
    font-size: 2em;
    text-align: center;
    padding: 8px 8px;
}

@media only screen and ( max-width: 890px )
{
    #nav {
        position: relative;
        top: auto;
        left: auto;
    }

    #nav > a {
        width: 55px;
        height: 45px;
        position: relative;
        float: right;
        margin-right: 250px;
    }

    #nav > a:before,
    #nav > a:after {
        position: absolute;
        border: 1.5px solid #fff;
        top: 28%;
        left: 25%;
        right: 25%;
        content: '';
    }

    #nav > a > span {
        position: absolute;
        border: 1.5px solid #fff;
        top: 45%;
        left: 25%;
        right: 25%;
        content: '';
    }

    #nav > a:after {
        top: 60%;
    }

    #nav > a {
        display: block;
    }

    /* first level */
    #nav > ul {
        display: none;
    }

    #nav > ul.toolBarSwapClass {
        list-style: none;
        padding: 0;
        width: 55px;
        position: absolute;
        display: grid;
        top: 45px;
        z-index: 3100;
    }

    #nav > ul > li {
        width: 55px;
        background: #72879e;
    }

    #nav > ul > li > div.arrow-up,
    #nav > ul > li > a.pageFilterDate {
        display: none;
    }

    #nav li.toolbarMenuSeparator {
        width: inherit;
        height: 1px;
    }
}

.nav > li > a {
    display: block;
    padding: 9px 9px;
    position: relative;
}

/* Toolbar icons */

ul.nav.navbar-nav.pull-right {
    float: right;
}

@media (min-width: 0){
    .navbar-nav {
        float: left;
        margin: 0;
    }
}

.nav {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
    right: 260px;
    position: relative;
}
.navbar-nav {
    margin: 0px -10px;
    display: flex;
    align-items: center;
}

ul, ol {
    margin-top: 0;
    margin-bottom: 10px;
}

@media (min-width: 0){
    .navbar-nav > li {
        float: left;
    }
}

.nav > li {
    position: relative;
    display: block;
}

.breadcrumb > li {
    display: inline-block;
}

/*----------------------------------------------------------------------------*/
/*TITLEBAR - INFOBOX*/
/*----------------------------------------------------------------------------*/

#infobox {
    position: absolute;
    top: 0px;
    right: 0px;
    color: white;
    background: none;
    padding: inherit;
    width: 250px;
    width: -moz-min-content;
    width: -webkit-min-content;
    height: 65px;
}

#infobox a {
    color: white;
}

#infobox .infoboxItem span.infoboxValue a {
    color: #00bbb9;
}

.infoboxItem span {
    display: table-cell;
}

#infobox .infoboxItem span.infoboxValue {
    width: 100%;
    white-space: nowrap;
}

.infoboxKey {
    white-space: nowrap;
    font-weight: bold;
    padding: 0px 2px;
}

.infoboxValue {
    padding: 0px 2px;
}

.profile-menu {
    background: #365373 none repeat scroll 0 0;
    border-radius: 0 0 15px 15px;
    color: #ffffff;
    /*cursor: pointer;*/
    height: 65px;
    position: relative;
    text-align: left;
    width: 250px;
    z-index: 1100;
    padding-left: 60px;
    padding-right: 1em;
}
.profile-menu.userAlertDisabled {
    width: auto;
    min-width: 10em;
    max-width: 250px;
    padding-left: 1em;
}

/*----------------------------------------------------------------------------*/
/*TITLEBAR - ALERTS*/
/*----------------------------------------------------------------------------*/

.alert-bubble {
    width: 2em;
    position: absolute;
    margin-top: 14px;
    margin-left: 19px;
    border: none;
}

.user-alert a {
    height: 65px;
    position: absolute;
    width: 50px;
    display: block;
    z-index: 10000;
    /*border-right: 1px solid white;
    margin-top: 7px;*/
}

.user-alert-count {
    color: black;
    padding: 15px 0px 0px 24px;
    position: absolute;
    font-weight: bolder;
    font-size: 0.8em;
}

.user-alert-count.hasAlert {
    color: #fb3446;
}

.user-alert .icon-user-only::before {
    font-size: 1.2em;
    padding: 0px 0px;
    position: absolute;
    color: #ffffff;
    z-index: 1200;
    margin: 35px 0px 0px 15px;
}

.user-alert-count.audioLocked::before {
    font-family: "GPC";
    content: "\e903";
    position: absolute;
    color: #ffffff;
    left: 35px;
    top: 35px;
}

#titlebar.hasAlert {
    background-color: #fb3446;
}

/* Animace alertu */
/*#titlebar.hasAlert {
    -webkit-animation: pulse 3s infinite;
    animation: pulse 3s infinite;
}

@-webkit-keyframes pulse {
    0% {background-color: #fb3446;}
    50% {background-color: #365373;}
    100% {background-color: #fb3446;}
}
@keyframes pulse {
    0% {background-color: #fb3446;}
    50% {background-color: #365373;}
    100% {background-color: #fb3446;}
}*/

/*============================================================================*/
/*RIGHT MENU*/
/*============================================================================*/

#rightmenu {
    display: none;
    top: 65px;
    bottom: 0;
    position: fixed;
    overflow: auto;
    right: 0;
    width: 284px;
    background-color: white;
    padding: 20px 5px 0px 5px;
    border-left: thin solid #cfd6de;
    border-bottom: none;
    border-top: none;
    box-sizing: content-box;
}

#rightmenu div.rightcomponent {
    position: relative;
    padding: 0px;
    border-top: none;
}

#rightmenu h3 {
    margin-top: 0px;
    margin-bottom: 10px;
    margin-left: 10px;
}

#rightmenu table {
    text-align: left;
    margin: 5px;
    vertical-align: middle;
}

#rightmenu a{
    color: #0057a5;
}

/*============================================================================*/
/*TABLES*/
/*============================================================================*/

tbody tr:hover {
    background-color: #dfe0f2;
}

tbody tr.nohover:hover {
    background-color: inherit;
}

form tbody tr:hover {
    background-color: inherit;
}

.colorLine1 {
    background-color: #ffffff;
}

/* Confitem filter tables align */
.filterTablesAlign {
    display: inline-block;
    padding: 15px 15px;
    vertical-align: top;
    margin-right: 20px;
}

/* Param span */

.paramSpanGroupKey {
    padding-top: 1em;
    background-color: #cccccc;
    white-space: nowrap;
}

.info_table td.paramSpanGroupKey, table.typeA tr:nth-child(2n) > td.paramSpanGroupKey {
    padding-top: 1em;
    background-color: #cccccc;
}


/*----------------------------------------------------------------------------*/
/*TABLES - ITEM COUNT FLOATER*/
/*----------------------------------------------------------------------------*/

div.itemCount {
    position: absolute;
    top: -1.2em;
    right: 0px;
    font-style: italic;
    line-height: 1.1;
}

#rightmenu div.itemCount {
    top: 0;
    font-size: 75%;
}

.itemCountKey {
    cursor: pointer;
    color: #2e3192;
}

.itemCountKey:hover {
    text-decoration: underline;
}

/*----------------------------------------------------------------------------*/
/*HIERARCHY */
/*----------------------------------------------------------------------------*/

table tr.hierarchyItem > td.hierarchyItemPadded {
    padding-left: calc(5px + 20px * var(--hierarchyItemLevel, 0));
}

table.foldingEnabled tr.hierarchyItem > td.hierarchyItemPadded {
    padding-left: calc(1ex + 1em + 20px * var(--hierarchyItemLevel, 0));
}

table.foldingEnabled tr.hierarchyItem.hierarchyItemWithDescendants > td.hierarchyItemPadded {
    background-image: url(wizards/up_color.svg);
    background-repeat: no-repeat;
    background-position: calc(1ex + 20px * var(--hierarchyItemLevel, 0)) 50%;
    background-size: 1em;
}

table.foldingEnabled tr.hierarchyItem.hierarchyItemWithDescendants.hierarchySublevelLoaded > td.hierarchyItemPadded {
    background-image: url(wizards/down_color.svg);
}

.hierarchyDescendantCount {
    padding-left: 1ex;
}

.hierarchyDescendantCount::before {
    content: '(';
}

.hierarchyDescendantCount::after {
    content: ')';
}


/*============================================================================*/
/*MONITORING*/
/*============================================================================*/

.monitem {
    padding: 3px;
    white-space: nowrap;
}

#monitorbar {
    padding-top: 15px;
}

.monitorItem  {
    position: relative;
    float: left;
    padding-left: 10px;
    height: 180px;
}

.monitorItem img {
    max-width: 100px;
    vertical-align: top;
}

.monitorItem .monitorName {
    width: 100px;
    text-align: center;
    padding: 0px 3px;
}

#monitoringTabs {
    position: static;
}

/*============================================================================*/
/*REPORTS*/
/*============================================================================*/

.report a, .report h1, .report h2, .report h3, .report .ticket_title, .report .info_table_title {
    color: #0062a9;
}

.report #logobox {
    width: 250px;
    background-color: #0062a9;
}

.report #infobox {
    width: 250px;
    background-image: none;
    background-color: #0062a9;
    padding: 0px;
}

.report #visualbox {
    width: 477px;
    height: 110px;
    color: #0062a9;
    padding: 15px;
    text-align: center;
    background: url(images/visualbox_nolines.png) no-repeat 0px 0px #b1cfff;
}

.report #visualbox table {
    margin: auto;
}

.report table tr:hover {
    background: inherit;
}

.report #visualbox th, .report #visualbox td {
    font-weight: normal;
}

.report #titlebar {
    width: 978px;
    position: relative;
    height: 110px;
    background: #c1d6fa;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}

.report .cfgitem_title {
    color: #ffffff;
}


/*============================================================================*/
/*INDEX OVERVIEW*/
/*============================================================================*/

.overviewComponent {
    position: relative;
}


/*============================================================================*/
/*TICKET CALENDAR OVERVIEW*/
/*============================================================================*/
.ticketCalendarContainer {
    display: flex;
    margin: 2em 0em 1em 0em;
    border-bottom: 1px solid gray;
    padding-bottom: 0.5em;
}

.ticketCalendarDate {
    display: inline-block;
    font-size: 15pt;
    text-align: right;
    width: 13em;
    margin-right: 1em;
    padding-right: 1em;
    padding-top: 0.5em;
}


/*============================================================================*/
/*WORKFLOWS*/
/*============================================================================*/

.workflow_editor {
    display: flex;
    flex-wrap: wrap;
}

.workflow_graph {
    flex: 1 1 0;
    border: 1px solid #eeeeee;
    overflow: hidden;
    height: calc(100vh - 90px - 16em);
    min-height: 8em;
    width: 30%;
    min-width: 300px;
    box-sizing: border-box;
    position: relative;
}

.workflow_code_edit {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    width: auto;
    max-width: 100%;
}

.workflow_code_edit > * {
    align-self: flex-start;
}

.workflow_code_edit textarea, .workflow_code_edit div.CodeMirror {
    flex: 1 0 auto;
    min-height: 8em;
    min-width: max(50vw, 20em);
    max-width: 100%;
    width: 100%;
    margin: 0;
}

.workflow_action_title {
    display: none;
}

.workflow_action_title.disable_accordion {
    display: none;
}
.workflow_action.disable_accordion {
    display: block !important;
    border: none;
}
.workflow_action.disable_accordion .workflow_action_submit {
    border: none;
}

.workflow_action table {
    width: 100%;
    border: 1px solid black;
    }

.workflow_action th {
    padding-top: 2px;
    vertical-align: top;
    white-space: nowrap;
    font-weight: normal;
}
.workflow_action td {
    vertical-align: middle;
    width: 100%;
    position: relative;
}

.workflow_rq_item_required .file-preview {
    background-color: #ffff90 !important;
}

.workflow_action .wfActionHideSubmit .workflow_action_submit {
    display: none;
}


/*============================================================================*/
/*ERRORS AND MESSAGES*/
/*============================================================================*/

.messages {
    font-weight: bold;
    color: #2e3192;
    text-align: center;
    background: #e9e9e9;
}

td.messages:empty {
    display: none;
}

.labelValueForm td.messages {
    text-align: center;
}

.error {
    font-weight: bold !important;
    color: #ff6060 !important;
    }

td.error, div.error {
    text-align: center;
    background: #e9e9e9;
}

td.error:empty {
    display: none;
}

.labelValueForm td.error {
    text-align: center;
}

div.messages {
    padding: 5px;
    margin: 20px;
    text-align: center;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    border: thin solid;
    background: #ced6de;
    border-color: #b3becb;
}

td.messages:empty, div.messages:empty {
    display: none;
}

td.error, div.error, #loginform table td.error {
    padding: 5px;
    margin: 20px;
    text-align: center;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    border: thin solid;
    background: #ebe0e0;
    border-color: #d8c5c5;
}

td.error:empty, div.error:empty {
    display: none;
}

.required {
    background-color: #ffff90 !important;
}

.invalidated {
    text-decoration: line-through;
}

/*============================================================================*/
/*USER SETTINGS*/
/*============================================================================*/

#user-settings .gpcHorizontalButtons {
    width: 550px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}

#user-settings .gpcTable.typeD img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#user-settings .input-group {
    vertical-align:middle;
    display: block;
}

#user-settings .centerButtons {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

#user-settings .gpcTable.typeD img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*============================================================================*/
/*PRINT*/
/*============================================================================*/

@media screen {
    .print, .print * {
        display: none !important;
    }
}

/*============================================================================*/
/*OTHER*/
/*============================================================================*/

.scrollbox {
    overflow: auto;
    max-height: 20ex;
    border: 1px solid black;
    padding: 2px;
    margin: 5px;
}

/* Desktop setup */

body.desktop {
    margin: 0px;
    padding: 65px 0px 0px 0px;
    height: 100%;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}

#desktopbar {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    padding: 5px;
    background-color: #b8d9f2;
    color: #0066b3;
}

#desktopbar a {
    color: #0066b3;
}

#desktopbar .infoboxKey {
    display: none;
}

#desktopbody {
    height: 99%;
}

/*Edit password form*/

#editPassowordForm {
    margin-top: 30px;
}

/* Sla */

.sla_title {
    padding-bottom: 10px;
    width: 100%;
}

.sla_time, .sla_avail {
    text-align: right;
    white-space: nowrap;
}

.sla_summary {
    margin: 20px;
    font-size: 200%;
    text-align: center;
}

.sla_textsummary {
    margin: 20px;
    text-align: justify;
}

.sla_row1 {
    background-color: #e0e0e0;
}
.sla_row2 {
    background-color: #ffffff;
}

.color_fulfilled {
    color: green;
}

.color_unfulfilled {
    color: red;
}

.color_online {
    color: #06b007;
}

.color_stale, .color_degraded {
    color: #b0b107;
}

.color_offline, .color_failed {
    color: #b00706;
}

.bgcolor_maintenance {
    background-color: #bed5fd;
}

.icon_online, .icon_ONLINE {
    background: url("icons/sphere_online.png") 5px 5px no-repeat !important;
}

.icon_stale, .icon_STALE {
    background: url("icons/sphere_stale.png") 5px 5px no-repeat !important;
}

.icon_offline, .icon_OFFLINE {
    background: url("icons/sphere_offline.png") 5px 5px no-repeat !important;
}

.guestDeleted * {
    background: #ecb5b5 !important;
}

/* Confitem history multiselect */

.multiSelectToggle:hover {
    text-decoration: underline;
}

.multiSelectToggle {
    font-size: 1em;
    text-align: right;
    margin-left: 1em;
    color: #337ab7;
    cursor: pointer;
}

.multiSelectToggleContainer {
    text-align: right;
}

/* Search panel setup */

.searchpanelForm input[type] {
    width: 100%;
    min-width: 1em;
}

.searchpanelForm table {
    margin: 0px;
    border-spacing: 0px;
}

.searchpanelForm input[type="submit"] {
    width: auto;
    margin: 0px;
    font-weight: normal;
}

.userMenuArrow {
    position: absolute;
    padding-left: 140px;
    top: 0px;
    font-size: 4em;
    width: 100%;
    height: 100%;
    margin-left: -5px;
}

.user-infotable.info_table td {
    padding-top: 13px;
    width: 135px;
}


/*============================================================================*/
/*EVENT BOARD*/
/*============================================================================*/
.eventBoardItem {
    display: flex;
    margin-top: 1em;
    min-height: 5em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid gray;
}

.eventBoardItemHead {
    display: inline-block;
    min-width: 20em;
    max-width: 20em;
    text-align: right;
    padding-right: 1em;
}

.eventBoardItemName {
    font-size: 15pt;
}

.eventBoardItemBody {
    display: inline-block;
    margin-left: 1em;
}

.eventBoardButton {
    float: right;
    color: #f49623;
    font-size: 10pt;
    cursor : pointer;
}


/*============================================================================*/
/* TICKET/CONFITEM CHAT */
/*============================================================================*/

div.chatContainer:empty {
    display: none;
}

div.chatComponent:empty, div.chatComponent:has(.chatContainer:empty) {
    display: none;
}

div.chatComponent {
    max-height: 300px;
    width: calc(100% - 1em);
    margin: auto;
    background: #ececec;
    border-radius: 20px;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 1em 0.5em;
    /* scroll to bottom trick:*/
    display: flex;
    flex-direction: column-reverse;
}

.chatMessage {
    display: flex;
    position: relative;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 2em;
}

.chatMessage:last-child {
    margin-bottom: 0.5em;
}

.chatMessage.received {
    float: left;
    flex-direction: row;
}

.chatMessage.sent {
    float: right;
    flex-direction: row-reverse;
}

.chatMessage .chatInitial {
    width: 45px;
    min-width: 45px;
    height: 45px;
    font-size: 2.25em;
    border-radius: 25px;
    color: #343a40;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    text-transform: capitalize;
    font-weight: bold;
}

.chatMessage .chatBody {
    position: relative;
    margin: 0 0.5em;
    padding: 0.5em;
    padding-bottom: 1.5em;
    text-align: left;
    min-width: 60%;
}

.chatMessage.received .chatBody {
    border-radius: 20px 20px 20px 0px;
}

.chatMessage.received:last-child .chatBody {
    border-radius: 0px 20px 20px 20px;
}

.chatMessage.sent .chatBody {
    border-radius: 20px 20px 0px 20px;
}

.chatMessage.sent:last-child .chatBody {
    border-radius: 20px 0px 20px 20px;
}

.chatMessage.received .chatBody, .chatMessage.received .chatInitial {
    background: #c4dfff;
}

.chatMessage.sent .chatBody, .chatMessage.sent .chatInitial {
    background: #8cc1ff;
}

.chatBody .chatState {
    font-weight: bold;
}

.chatSignature {
    position: absolute;
    bottom: 0;
    right: 20px;
    color: #6d6d6d;
    font-size: 80%;
    max-height: 2em;
    overflow: hidden;
    text-align: right;
}

/*============================================================================*/

/* Custom icons */

#toolbarMenu .icon-export-to-pdf {
    background-image: url(elements/export-to-pdf-white.svg);
    width: 1.2rem;
    height: 1.2rem;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
