﻿/* Basics */
html {
    overflow-y: scroll;
    -ms-overflow-style: scrollbar;
}
body, input, textarea, select, 
.ui-widget, 
.ui-widget .ui-widget {
    font-size: 13px;
    font-family: "Segoe UI", sans-serif;
}
select {
    min-width: 50px;
}
body {
    margin: 0;
    padding: 10px;
    background-color: white;
    color: black;
}
h2 {
    font-size: 15px;
}
h3 {
    font-size: 13px;
}
a {
    color: blue;
    text-decoration: none;
}
a:visited {
    color: blue;
}
a img {
    border: none;
}
a:hover,
a:active {
    color: red;
}
textarea {
    box-sizing: border-box;
}
pre {
    font-family: consolas, monospace;
    white-space: pre-wrap;
}
.gw-group::after {
    display: block;
    content: "";
    clear: both;
}

/* Header */
.gw-header {
    position: relative;
    height: 60px;
    border-bottom: 1px solid black;
}
.gw-header .gw-logo-left {
    max-height: 50px;
}
.gw-header .gw-logo-right {
    float: right;
    max-height: 50px;
}

/* Menu */
.gw-menu {
    padding: 5px 0 5px 0;
    border-bottom: 1px solid black;
    clear: both;
}
.gw-menu-label {
    font-weight: bold;
}
.gw-menu-list-label {
    display: inline-block;
    min-width: 100px;
}
.gw-menu-generic > ul {
    display: inline;
    margin: 0;
    padding: 0;
}
.gw-menu-generic > ul > li {
    display: inline;
}
.gw-menu-generic > ul > li:not(:first-child)::before {
    content: " · ";
}
.gw-menu-rooms > select,
.gw-menu-reports > select {
    min-width: 150px;
}
.gw-menu-right {
    text-align: right;
    float: right;
}
.gw-menu-grid {
    float: right;
}
.gw-menu-current > a {
    font-weight: bold;
}

/* Error/warning/info messages */
.gw-message-panel {
    margin: 10px 0;
    padding: 5px;
}
.gw-error-panel {
    background: url("images/messages/error.png") no-repeat 5px 5px #ffcccc;
}
.gw-warn-panel {
    background: url("images/messages/warn.png") no-repeat 5px 5px #ffffcc;
}
.gw-info-panel {
    background: url("images/messages/info.png") no-repeat 5px 5px #ddddff;
}
.gw-message-panel > div {
    margin-left: 25px;
}

/* Misc. common */
.gw-content {
    margin-top: 15px;
}
.gw-success {
    color: green;
}
.gw-error,
.gw-warn {
    color: red;
}
input[type=submit] {
    margin-right: 5px;
}
.gw-original {
    font-weight: bold;
}
.gw-icon-16 {
    vertical-align: bottom;
    width: 16px;
    height: 16px;
}
button,
.gw-pointer {
    cursor: pointer;
}
.gw-iframe {
    border: 1px solid silver;
    width: 100%;
    height: 800px;
}
#qsearchTextBox {
    width: 80%;
}
#flt_suche {
    width: 200%;
}

/* Generic forms */
.gw-form-panel {
    margin-top: 10px;
}
.gw-form-panel label,
.gw-form-label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}
.gw-form-panel input[type=checkbox] {
    display: inline;
    margin-top: 10px;
}
.gw-form-panel input[type=checkbox] + label {
    display: inline;
    font-weight: normal;
}
.gw-form-panel label,
.gw-form-panel input {
    display: block;
}
.gw-form-panel input[type=text],
.gw-form-panel input[type=number],
.gw-form-panel input[type=password] {
    width: 300px;
}
.gw-form-panel input[type=submit] {
    display: inline-block;
    margin-top: 10px;
}

/* Table-layout forms */
.gw-tform-table {
    display: table;
    table-layout: fixed;
    width: 800px;
    min-width: 500px;
    border-collapse: collapse;
}
.gw-tform-row {
    display: table-row;
}
.gw-tform-cell {
    display: table-cell;
    border: 1px solid silver;
    padding: 3px;
    vertical-align: top;
}
.gw-tform-cell:first-child {
    width: 200px;
}
.gw-tform-cell > input,
.gw-tform-cell > textarea {
    box-sizing: border-box;
    width: 100%;
    resize: vertical;
}
.gw-tform-row:nth-child(even) {
    background-color: #f0f0f0;
}
.gw-tform-panel input[type=submit] {
    margin-top: 10px;
}

/* Simple invisible table */
.gw-inv-table {
    border: 0px;
    border-collapse: collapse;
}
.gw-inv-table > tbody > tr > th,
.gw-inv-table > tbody > tr > td {
    padding-right: 5px;
    text-align: left;
}

/* Generic data table */
.gw-data-table {
    border: 1px solid silver;
    border-collapse: collapse;
    min-width: 500px;
}
.gw-data-table > tbody > tr {
    vertical-align: top;
}
.gw-data-table > tbody > tr:nth-child(even) {
    background-color: #f0f0f0;
}
.gw-data-table > tbody > .gw-header-row {
    background-color: #dddddd;
}
.gw-data-table > tbody > tr > th {
    min-width: 150px;
    font-weight: bold;
    text-align: left;
}
.gw-data-table > tbody > tr > th.narrow {
    min-width: 50px;
    width: 50px;
}
.gw-data-table > tbody > tr.gw-header-row > th {
    min-width: 50px;
}
.gw-data-table > tbody > tr > th,
.gw-data-table > tbody > tr > td {
    padding: 3px 10px 3px 3px;
}
    .gw-data-table > tbody > tr > th.hint-text,
    .gw-data-table > tbody > tr > td.hint-text {
        font-size: 12pt;
        font-weight: normal;
    }

.gw-data-table .gw-scroll {
    max-height: 200px;
    overflow-y: auto;
}
.gw-data-table table {
    border: none;
    border-collapse: collapse;
}
.gw-data-table table th,
.gw-data-table table td {
    padding-right: 5px;
    vertical-align: top;
    text-align: left;
    font-weight: normal;
}

/* Preview frame */
#previewPanel {
    position: fixed;
    top: 10px;
    bottom: 10px;
    left: 50%;
    right: 10px;
    background-color: white;
    box-shadow: 0 0 30px black;
    z-index: 10;
}
#previewFrame {
    width: 100%;
    height: 100%;
    border: none;
}
.gw-mail-table > tbody > tr > th {
    min-width: 50px;
    width: 60px;
}

/* File list page */
.gw-filter {
    display: inline-block;
    margin: 0 10px 5px 0;
    vertical-align: bottom;
    white-space: nowrap;
}
.gw-filter > input,
.gw-filter > select,
.gw-filter > .ui-widget {
    margin-left: 5px;
}
.gw-filter > .ui-widget {
    vertical-align: bottom;
}
.gw-file-list-filter-panel {
    display: table;
}
.gw-file-list-filter-button-panel {
    display: table-cell;
    padding-right: 10px;
    vertical-align: top;
}
.gw-file-list-filter-column-panel {
    display: table-cell;
}
.gw-file-list-filter-column-panel > .gw-filter > input {
    width: 100px;
}
.gw-file-thumbnail {
    visibility: hidden;
    width: 100px;
    height: 100px;
}
.gw-tax-panel {
    margin-top: 10px;
}
#taxRunSelector {
    margin: 10px 0 10px 0;
}
#fileGrid td > label {
    white-space: nowrap;
}
#fileGrid.gw-min-height > tbody > tr {
    height: 112px;
}

.gw-grid-export-excel-wvz {
    margin-left: 3px;
    margin-right: 3px;
}

/* File details page */
.gw-file-image-panel {
    float: right;
    margin-left: 20px;
    margin-bottom: 10px;
}
.gw-file-image-panel img {
    max-width: 500px;
    max-height: 500px;
}
.gw-file-details-table > tbody > tr > td:first-child {
    min-width: 150px;
    font-weight: bold;
}
.gw-file-warning {
    font-size: 75%;
}

/* File notes page */
.gw-file-notes-panel textarea {
    width: 800px;
}

/* File documents page */
.gw-file-documents-panel table td,
.gw-file-documents-panel .ui-iggrid-rowselector-class {
    vertical-align: top;
}
.gw-file-documents-zip {
    float: right;
}
.gw-file-documents-memo-panel textarea {
    width: 800px;
    margin-top: 5px;
}
.gw-file-documents-memo-panel input[type=text] {
    margin-top: 5px;
    width: 791px;
    margin-bottom: 10px;
}
.gw-form-panel label, .gw-form-label {
    margin-bottom: 15px;
}
.gw-drop-hover {
    outline: 2px dotted blue;
}
.gw-attachment,
.gw-attachments-toggle {
    display: inline-block;
    vertical-align: bottom;
    cursor: pointer;
}
.gw-attachments-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.gw-attachments-list > li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}
#documentGridEmptyLabel {
    display: block;
    height: 300px;
}

.gw-dav-pdf {
    cursor: pointer;
}
/* File upload page */
.gw-file-upload-new-panel #uploadSelectList {
    margin: 3px 0;
}
.gw-file-upload-new-panel #uploadControl {
    position: absolute;
    top: -300px;
}
.gw-file-upload-new-panel #uploadCcTextBox {
    margin-top: 5px;
    margin-bottom: 10px;
    width: 800px;
    resize: both;
}
.gw-file-upload-new-panel #uploadCommentTextBox {
    width: 800px;
    height: 60px;
    resize: both;
}
.gw-file-upload-new-panel #uploadButton {
    display: block;
    margin-bottom: 20px;
}

#uploadStatusDialog ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

/* File gallery and collective designs pages */
.gw-file-gallery-panel img,
.gw-file-designs-panel img {
    margin-right: 20px;
    margin-bottom: 20px;
    max-width: 500px;
    max-height: 500px;
    vertical-align: middle;
}

/* Polls */
.gw-poll-table > tbody > tr > th {
    min-width: 100px;
}
.gw-poll-question-panel > textarea {
    width: 800px;
    height: 60px;
}
.gw-poll-question-panel > input[type=checkbox] {
    margin-top: 0;
}

/* File Terms page */
.gw-file-terms-panel table td,
.gw-file-terms-panel .ui-iggrid-rowselector-class {
    vertical-align: top;
}

#termGridEmptyLabel {
    display: block;
    height: 300px;
}

/* Custom forms */
.gw-cforms-panel > label {
    font-weight: bold;
}
.gw-cforms-panel > ul > li {
    margin-bottom: 10px;
}
.gw-cform-title-label {
    display: block;
    font-weight: bold;
    font-size: 120%;
}
.gw-cform-error-label {
    color: red;
}
.gw-cform-panel > label {
    display: block;
    margin: 15px 0 0 0;
    border: 1px solid silver;
    border-bottom: none;
    padding: 5px;
    background-color: #dddddd;
    font-weight: bold;
}
.gw-cform-section-panel {
    border: 1px solid silver;
    background-color: #eeeeee;
    padding: 5px;
}
.gw-cform-field-head {
    display: block;
    margin-top: 10px;
}
.gw-cform-section-panel > label {
    margin-top: 10px;
}
.gw-cform-section-panel > label:first-child {
    margin-top: 0;
}
.gw-cform-section-panel > label {
    display: block;
}
.gw-cform-label-panel{
    display:flex;
    margin-right: 5px;
}
.gw-cform-label-panel > label{
    margin-right: 10px;
}
.gw-cform-section-panel > input[type=text],
.gw-cform-section-panel > input[type=file],
.gw-cform-section-panel > textarea {
    box-sizing: border-box;
    width: 800px;
}
.gw-cform-section-panel > textarea {
    height: 60px;
}
.gw-cform-section-panel > ul {
    margin-top: 0;
    padding: 0;
    list-style: none;
}
.gw-cform-button-panel,
.gw-cform-panel > input[type=submit] {
    margin-top: 10px;
}
.gw-cform-required {
    color: red;
    font-weight: bold;
}
.gw-cform-validator {
    padding-left: 10px;
    vertical-align: top;
    color: red;
}
.gw-cform-success-panel > span {
    color: green;
}

/* Admin page */
.gw-admin-cfg-panel th:nth-child(1) {
    width: 40%;
}
.gw-admin-log-text {
    display: block;
    width: 100%;
    font-family: Consolas, monospace;
    font-size: 90%;
}

/* igEditors */
.ui-igcombo-button,
.ui-igcombo-clear,
.ui-igedit-button-common {
    padding: 0;    
}
.ui-igedit-container {
    height: 21px;
}

/* igGrid */
.ui-iggrid {
    border: 1px solid silver;
}
.ui-iggrid-pager a {
    color: blue;
}
.ui-iggrid-pager a:hover {
    color: red;
}
.ui-iggrid-pager > .ui-iggrid-paging {
    float: left;
}
.ui-iggrid-pagerrecordslabel {
    margin-left: 10px;
    margin-right: 30px;
}
.ui-iggrid .ui-iggrid-footer .ui-igedit-dropdown-button {
    background-color: #e8e8e8;
}
.ui-iggrid-groupbyarea,
.ui-iggrid-scrolldiv,
.ui-iggrid table td {
    border: none !important;
}
.ui-iggrid-filtercell .ui-iggrid-indicatorcontainer a .ui-icon {
    left: 7px !important;
}
.ui-iggrid-filtercell .ui-iggrid-indicatorcontainer a:before {
    margin: 0 0 0 14px;
}
.ui-iggrid .ui-iggrid-filtercell .ui-iggrid-filtereditor {
    padding: 0 0 0 19px !important;
}
.ui-iggrid-filtercell .ui-igedit-button-common ~ .ui-igeditor-input-container {
    width: calc(100% - 17px);
}
.ui-iggrid-filtercell .ui-igedit-button-common {
    min-width: 14px;
}
.ui-iggrid td {
    cursor: default;
}
.ui-iggrid table .ui-iggrid-header {
    text-overflow: clip;
}
.ui-iggrid td.ui-state-highlight {
    box-shadow: none;
    background-color: inherit;
}
.ui-iggrid td.ui-state-hover,
.ui-iggrid tr.ui-ig-altrecord td.ui-state-hover {
    background-color: #cccccc;
}    
.ui-iggrid td.ui-state-active,
.ui-iggrid tr.ui-ig-altrecord td.ui-state-active {
    background-color: #9ecbd6;
}
.ui-iggrid-pagesizedropdowncontainer {
    margin-left: 20px;
}
.ui-iggrid th a {
    color: white;
}
.ui-iggrid th,
.ui-iggrid th.ui-state-hover,
.ui-iggrid th.ui-state-active {
    height: auto;
}
.ui-iggrid th.ui-iggrid-rowselector-header,
.ui-iggrid tbody th.ui-iggrid-rowselector-class,
.ui-iggrid tbody th.ui-iggrid-rowselector-class:first-child,
.ui-iggrid td.ui-state-hover {
    border: none;
}
.ui-iggrid th.ui-iggrid-rowselector-header .ui-igcheckbox-normal,
.ui-iggrid th.ui-iggrid-rowselector-class .ui-igcheckbox-normal {
    display: block;
    float: inherit;
}
.ui-dialog {
    box-shadow: 0 0 30px black;
}
.ui-iggrid-modaldialog-caption-buttoncontainer,
.ui-iggrid-rowselector-class > .ui-icon-triangle-1-e {
    display: none;
}

/* Printing */
@media print {
    .gw-noprint, .gw-menu, .gw-header,
    .ui-iggrid-pager, .ui-iggrid-resizing-handle, .ui-iggrid-groupbyarea, .ui-iggrid-filterrow {
        display: none !important;
    }
    .gw-scroll {
        max-height: none !important;
    }
    .gw-file-image-panel {
        float: none;
    }
    .ui-iggrid {
        border: none !important;
    }
    .ui-iggrid-table {
        border-collapse: collapse !important;
    }
    .gw-data-table th,
    .gw-data-table td,
    .ui-iggrid-table > thead > tr > th,
    .ui-iggrid-table > tbody > tr > td {
        color: black !important;
        background-color: white !important;
        border: 1px solid black !important;
    }
    .ui-iggrid-table > thead > tr > th {
        font-weight: bold !important;
    }
}

/* CForms savedata controls*/
.gw-cform-savedata-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 310px;
    justify-content: space-between;
}
.gw-cform-savedata-item {
    margin: 5px 5px 0 0;
}

.gw-cform-savedata-item.col {
    flex: 1 0 0%;
}
    .gw-cform-savedata-item.col-5-5 {
        flex: 0 0 auto;
        width: 47.6666666667%;
    }
    .gw-cform-savedata-item.col-6 {
        flex: 0 0 auto;
        width: 50%;
    }
    .gw-cform-savedata-item.w-100 {
        width: 100% !important;
    }
