/* add-ons to standard tags ---------------------------------------- */

/*
    see 
    https://stackoverflow.com/questions/47788847/fontawesome-5-font-family-not-work/47789198
    https://stackoverflow.com/questions/36743041/font-awesome-icon-in-select-option
*/
.select-with-icons {
    font-family: 'Font Awesome\ 5 Free';
    font-weight: 900;
}

.truncate-string-300 {
    width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.truncate-long {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.truncate-short-and-fixed {
    white-space: nowrap;
    div
    {
        width: 30px;
        height: 30px;
        border-radius: 10px;
        background: lightgreen;
        display: inline-block;
    }
}

/* devexpress add-ons ---------------------------------------------- */

.dx-textbox-search {
    font-size: larger !important;
}

.dx-resultform-header-search {
    background-color: #3275ae !important;
    color: white !important;
}

.dx-resultform-header-search-link {
    background-color: #3275ae !important;
    color: white !important;
}

/* devexpress override --------------------------------------------- */

.dx-htmleditor-content {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    line-height: 1.42;
    width: 100%;
    height: 100% !important;
    min-height: 240px;
    outline: none;
    overflow-y: auto;
    padding: 12px 15px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.dx-form .dx-field-item-label {
    font-weight: bold;
}

.dx-button[aria-label='Cancel'] {
    background-color: #3275ae;
    color: white;
}


.dx-button[aria-label='Abbrechen'] {
    background-color: #3275ae;
    color: white;
}


.dx-button[aria-label='Save'] {
    background-color: #3275ae;
    color: white;
}


.dx-button[aria-label='Speichern'] {
    background-color: #3275ae;
    color: white;
}


/*.dx-datagrid-rowsview .dx-row > .dx-master-detail-cell {
    padding: 0px !important;
}*/

/*.dx-button-mode-contained .dx-icon {
    background-color: #3275ae;
    color: white;
}
.dx-button .dx-button-content {
    background-color: #3275ae;
    color: white;
    padding: 8px;
}*/

/* dx tabs --------------------------------------------------------- */
.dx-tab-
/* dx form groups -------------------------------------------------- */
.dx-form-first-group-avatar {
    /*background-color: #3275ae;*/
    /*background-color: #6c757d;*/
    background-color: rgba(191, 191, 191, 0.15);
    color: #3275aa;    
}

.dx-form-first-group {   
    padding: 0px;
}

.dx-form-second-group {
    background-color: rgba(191, 191, 191, 0.15);
    padding: 10px;
    margin-top: 10px;
}

/* bubbles --------------------------------------------------------- */
.bubble-right {
    position: relative;
    background: #e9ecef;
    border-radius: 10px;
    margin-right: 20px;
    padding: 5px;
    overflow-wrap: break-word;
}

.bubble-right:after {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    z-index: 1;
    border-style: solid;
    border-width: 20px 0 0 20px;
    border-color: transparent transparent transparent #e9ecef;
    top: 50%;
    right: -20px;
    margin-top: -10px;
}

.bubble-left {
    position: relative;
    background: #fbe397;
    border-radius: 10px;
    margin-left: 20px;
    padding: 5px;
    overflow-wrap: break-word;
}

.bubble-left:after {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    z-index: 1;
    border-style: solid;
    border-width: 0 0 20px 20px;
    border-color: transparent transparent #fbe397 transparent;
    top: 50%;
    left: -20px;
    margin-top: -10px;
}

/* kanban ---------------------------------------------------------- */

#kanban {
    white-space: nowrap;
}

.kanban-list {
    border-radius: 8px;
    margin: 5px;
    padding-left: 10px;
    background-color: rgba(192, 192, 192, 0.4);
    display: inline-block;
    vertical-align: top;
    white-space: normal;
    min-width: 240px;
    min-height: 120px;
}

.kanban-list-title {
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    padding-left: 30px;
    cursor: pointer;
}

.kanban-list-title-new-Item {
    font-size: 16px;
    cursor: pointer;
    position: relative;
    top: 50px;
    text-align:center;
}

.kanban-scrollable-list {
    height: 400px;
    width: 260px;
}

.kanban-sortable-cards {
    min-height: 380px
}

.kanban-card {
    position: relative;
    background-color: white;
    box-sizing: border-box;
    width: 230px;
    padding: 10px 20px;
    margin: 10px;
    cursor: pointer;
}

.kanban-card-subject {
    padding-bottom: 10px;
    font-weight: bold;
}

.kanban-card-state {
    padding-bottom: 10px;
    color: #3275ae !important;
}

.kanban-card-assignee {
    opacity: 0.6;
    font-size: smaller;
}

.kanban-card-seqno {
    position: absolute;
    display: table;
    top: 15px;
    right: 8px;
    width: 15px;
    height: 15px;
    text-align: center;
    vertical-align: middle !important;
    font-size: x-small;
    background: lightgray;
}

.kanban-card-overdue-status {
    position: absolute;
    top: 35px;
    right: 8px;
    width: 15px;
    height: 15px;
    border-radius: 10px;
    background: lightgray;
}

.kanban-overdue-status-overdue {
    background: #dc3545; /*danger*/
}

.kanban-overdue-status-overdue-soon {
    background: #ffc107; /*warning*/
}

.kanban-overdue-status-in-time {
    background: #28a745; /*success*/
}

.kanban-card-priority {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 5px;
    width: 5px;
    border-radius: 2px;
    background: #86C285;
}

.kanban-priority-1 {
    background: #dc3545; /*danger*/
}

.kanban-priority-2 {
    background: #ffc107; /*warning*/
}

.kanban-priority-3 {
    background: #17a2b8; /*info*/
}

.kanban-priority-4 {
    background: darkgray;
}

.kanban-priority-5 {
    background: lightgray;
}

.kanban-sortable-lists {
    display: flex;
}



/* tools ----------------------------------------------------------- */
.panel-msg-wrapper {
    bottom: 0px;
    right: 0px;
    position: fixed;
    /*border: solid 1px #3275ae;*/
    padding: 2px 10px 2px 10px;
    width: auto;
    min-width: 300px;
    height: auto;
    /*resize: both;
    overflow: auto;*/
}

.img-responsive {
    width: 100%;
    height: auto;
}

.no-border {
    border: none !important;
}
.no-background-color {
    background-color: white !important;
}
.no-padding {
    padding: 0px !important;
}

.shadow {
    -webkit-box-shadow: 1px 1px 2px 2px #ccc; /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow: 1px 1px 2px 2px#ccc; /* Firefox 3.5 - 3.6 */
    box-shadow: 1px 1px 2px 2px #ccc; /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
}

.table-cell-sortable {
    vertical-align: top !important;
}

.vertical-center {
    min-height: 100%;   /* Fallback for browsers do NOT support vh unit */
    min-height: 100vh;  
    display: flex;
    align-items: center;
}

.checkbox-large {
    -webkit-appearance: none;
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 5px;
    border: 1px solid darkgray;   
    max-width: 42px;
}

.checkbox-large:checked {
    background: #f5f5f5;
    color:#3275ae;    
    text-align:center;
    padding-top:2px;
    font-size:large;
}

.checkbox-large:checked::after {
    content: "\f00c";         
    font-family: 'Font Awesome 5 Free';
    font-weight: 900; /* must use this font-wight! */
}

/* hoover item ----------------------------------------------------- */
.nx-visible-on-hover {   
    opacity: 0;
}

.nx-visible-on-hover:hover {    
    opacity: 1;
}

/* widgets -------------------------------------------------------- */

.nx-dashboard-header {
    background: #ccc;    
    color:dimgrey;
}

.nx-widget-header {
    background: #fafafa;
    font-size: smaller;
    border: 1px solid #ccc;
}

.nx-widget-body {
    border: 1px solid #ccc;
    padding: 4px;
    margin-bottom: 10px;
}

/* waiting panel --------------------------------------------------- */

#loading {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: block;
    opacity: 0.85;
    background-color: #fff;
    z-index: 99;
    text-align: center;
    vertical-align:central;
}

#loading-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    margin: auto;
    /*width: 30%;*/
    /*height:auto;*/
    /*padding: 10px;*/
    /*color: #ffffff;*/
    /*background-color: #3275ae;*/
    width: 300px;
    height: 100px;
    padding: 25px 0px 25px 20px;
    color: #404040;
    background-color: #ffffff;
}

/* page header is a custom card-header ---------------------------- */

.card-header-page {
    padding: 0.5rem 1rem;   
    margin-bottom: 0;
    /*color: white;*/
    /*background-color: #3275ae;*/
}

.card-header-page:first-child {
    border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.card-header-page + .list-group .list-group-item:first-child {
    border-top: 0;
}

/* table, table cell customizations ---------------------------------- */
.table-sort-text {
    display: inline-flex;
}

.table-sort-icon {
    float: right;
    cursor: pointer;
    white-space: nowrap;
    padding-left: 4px;
    font-weight: 800;
}


/* site ------------------------------------------------------------ */
.column {
    min-height :20px;
    min-width:30px;
    float: left;
    width: 25%;
    /*border-right: solid #000000 2px;*/
    border-color: darkorchid;
    border: 2px groove Navy;
}
.hiddenDiv {
    min-height: 100px;
    min-height: 100px;
    color:#808080;
}
.flex-container {
    display: flex;
    min-height: 100px;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    flex-wrap: wrap;
}
.box {
    min-width : 20px;
    min-height:20px;
    border: 2px solid;
    margin-top :5px;
}
.customClass {
    min-width: 50px;
    min-width: 50px;
}
body {
    padding-top: 0px;
    /*padding-bottom: 20px;*/
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers -----------------------------*/
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* Footer -----------------------------------------------------------------------------------------*/

.site-footer {
    height: 30px;
    padding-left: 10px;
    padding-right: inherit;
    text-align: left;
    font-size: x-small;
    color: darkgray;
}

.site-footer a {
    color: darkgray;
}

/* adjust bootstrap --------------------------------------------------------------------------------*/

.nav-tabs > li > a {
    /* adjust padding for height*/
    padding-top: 4px;
    padding-bottom: 4px;
}

/* fullscreen container ----------------------------------------------------------------------------*/

.fullscreencontainer {
    /*
    padding: 20px 2px 2px 10px;
    background-color: white;

    */
}

/* nx ui ------------------------------------------------------------------------------------------*/

.nx-ui-style-box {
    float: left;
    width: 20px;
    height: 20px;
    margin: 5px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, .2);
}

/* split panel ------------------------------------------------------------------------------------*/

/* horizontal panel*/

.panel-container {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    /* avoid browser level touch actions */
    xtouch-action: none;
}

.panel-manualresize, .panel-manualresize2, .panel-manualresize3 {
    flex: 0 0 auto;
    /* only manually resize */
    padding: 10px;
    width: 300px;
    min-height: 200px;
    min-width: 150px;
    white-space: nowrap;
}


.splitter, .splitter2 {
    flex: 0 0 auto;
    width: 2px;
    background: url(../images/vsizegrip.png) center center no-repeat darkgray;
    min-height: 200px;
    cursor: col-resize;
}

.panel-resizable {
    flex: 1 1 auto;
    /* resizable */
    padding: 10px;
    width: 100%;
    min-height: 150px;
    min-width: 200px;
}


/* vertical panel */

.panel-container-vertical {
    display: flex;
    flex-direction: column;
    height: 500px;
    overflow: hidden;
}

.panel-top {
    flex: 0 0 auto;
    /* only manually resize */
    padding: 10px;
    height: 150px;
    width: 100%;
    white-space: nowrap;    
}

.splitter-horizontal {
    flex: 0 0 auto;
    height: 10px;
    background: url(../images/hsizegrip.png) center center no-repeat darkgray;
    cursor: row-resize;
}

.panel-bottom {
    flex: 1 1 auto;
    /* resizable */
    padding: 10px;
    min-height: 200px;    
}



/* tabs -------------------------------------------------------------------------------------------*/
/* tab color */
.nav-tabs > li > a {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #f5f5f5;
}

/* active tab color */
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    color: #fff;
    background-color: #3275ae;
    border: 1px solid #6c757d;
}

/* hover tab color */
.nav-tabs > li > a:hover {
    border-color: #6c757d;
    background-color: #6c757d;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

/* Custom Checkbox */
/* increase size to 150% Checkboxes */
/*
 * DEPRATCHED with Bootstrap 4
 *
 * IE, FF, Safari/Chrome, Opera
 *
input[type=checkbox] {
    -ms-transform: scale(1.5); 
    -moz-transform: scale(1.5); 
    -webkit-transform: scale(1.5);
    -o-transform: scale(1.5); 
}
*/

.table-wrapper-scroll-y {
    display: block;
    max-height: 600px;
    overflow-y: auto;
    width:100% !important;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}