/*****************************************/
/********** GESS STANDARDLAYOUT **********/
/*****************************************/

/*** HTML Seite allgemein ***/
body{
    font-family: "Arial", "MS Sans Serif", "Verdana", sans-serif;
    font-size: 14px;
    color: #000000;
    margin: 0;
    padding: 0;
    background-color: #FFFFFF;
}

input::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}

/*** zeilenweise Hervorhebungen ***/
.qrowclass1 {
    background-color: #f1f6f9;
    border: 1px solid #f1f6f9;
}

.qrowclass2 {
    background-color: #ffffff;
    border: 1px solid #ffffff;
}

.qrowclass3 {
    background-color: #bbbbbb;
    border: 1px solid #bbbbbb;
}


/*** Highlighting ***/
.qhighlight {
    background-color: #dddddd;
    border-color: #dddddd;
    cursor: pointer;
}

/* Deaktivierte Buttons */
.qtable .qbuttondeactivated {
    background-color: #E4E4E4 !important;
    cursor: not-allowed !important;
}

/*** Text: Fragetext ***/
.qtext {
    font-size: 18px;
    border: 1px solid black;
    padding: 3px 15px;
    margin: 5px;
}

/*** Name: Fragename ***/
.qname {
    font-size: 14px;
    font-weight: bold;
    color: #ff0000;
}

/*** Helptext ***/
.qhelptext {
    font-size: 14px;
    font-style: italic;
}

/*** Title ***/
.qtitle {
    font-size: 12px;
    font-weight: bold;
    margin: 10px;
}

/*** Error: Fehlermeldungen ***/
.qerror {
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    background-color: #ff5555;
    border: 2px solid #990000;
    padding: 3px 20px;
    line-height: 26px;
}

/*** Tabelle ***/
.qtable {
    margin: 5px 0;
    text-align: center;
    border-collapse: separate;
    border-spacing: 0;
}

.uploadq .qtable {
    width: auto;
}

/*** Labelcodes ***/
.qvlabelcell {
    color: blue;
    font-weight: bold;
}

/*** Zelle mit Button ***/
.qbuttoncell {
    cursor: pointer;
    height: 20px;
}

.qbuttoncell img {
    border-style: none;
    vertical-align: middle;
}

.singleq .qbuttoncell, .multiq .qbuttoncell,
.singleq .qvlabelcell, .multiq .qvlabelcell {
    width: 60px;
}

/*** Labeltext ***/
.qlabeltextcell, .qtextlabelcell {
    text-align: left;
}

.singleq .qlabeltextcell, .multiq .qlabeltextcell {
    cursor: pointer;
}


/*** Zelle mit offenem Inputfeld / Inputfeld selbst ***/
.qlabelopen {
    width: 100px;
    margin: 5px;
    background-color: #eeeeee;
    border: 1px solid blue;
}

/*** Selectinputs ***/
.qselect, .qselect option {
    background-color: #eeeeee;
    font-weight: bold;
    min-width: 200px;
    height: 28px;
    line-height: 28px;
    border-color: #aaaaaa;
}


/*** Eingabefelder OpenQ ***/
.qopenfield {
    width: 500px;
}

/************************************/
/********      GRID only     ********/
/************************************/
.qanchortext, .qgridheader, .qgridfooter {
    font-weight: bold;
}

.singlegridq .qtextitemcell, .multigridq .qtextitemcell,
.singlegridq .qitemtextcell, .multigridq .qitemtextcell {
    text-align: left;
}

.singlegridq .qtextlabelcell, .multigridq .qtextlabelcell,
.singlegridq .qlabeltextcell, .multigridq .qlabeltextcell {
    text-align: center;
}

/*transposed*/
.transposed .qtextitemcell, .transposed .qitemtextcell {
    text-align: center;
}

.transposed .qlabeltextcell, .transposed .qtextlabelcell {
    text-align: left;
}

.singlegridq .qlabeltextcell, .multigridq .qlabeltextcell {
    text-align: center;
    width: 120px;
}

.qgridspacing {
    width: 8px;
    background-color: #ffffff;
}


/*** Rahmen ein für Gridfragen ***/
.qanchortext, .qitemtextcell, .singlegridq .qlabeltextcell, .multigridq .qlabeltextcell, .qgridheader, .qgridfooter {
    border: 1px solid #000000;
}

.singlegridq, .multigridq {
    border-collapse: collapse;
}

.singlegridq .qbuttoncell, .multigridq .qbuttoncell {
    border-color: #000000;
}


/*** Screens ***/
.qscreen {
    width: 100%;
}

.qscreencell {
    vertical-align: top;
}

/*** Schieberegler ***/
.ui-slider a {
    outline: none;
}

.ui-widget-content .ui-state-default, .ui-widget-content .ui-state-hover {
    color: #000000;
}

.ui-slider-horizontal .ui-slider-handle {
    color: #000000;
    position: absolute;
    text-align: center;
    text-decoration: none;
    z-index: 2;
    cursor: pointer;
    outline: none;
    font-size: 16px;
    font-weight: bold;
}

.ui-slider-horizontal {
    font-size: 0;
}

/*** Audiorecorder ***/
.audiorecorder {
    border-collapse: collapse;
}

.audiorecorder .controls {
    width: 80px;
    height: 80px;
    padding: 5px;
}

.audiorecorder .active {
    cursor: pointer;
}

.audiorecorder .qaudiotimer, .audiorecorder .qmiclevel, .audiorecorder .qaudiofile {
    height: 80px;
    padding: 10px 0;
}

.audiorecorder .qaudiofile, .audiorecorder .qaudiotimer {
    font-size: 1em;
    line-height: 80px;
}

.audiorecorder .arexit {
    background: url(./qgui/icons/arexit.png) center center no-repeat;
    cursor: pointer;
}

.arContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.arContainerInfo {
    justify-content: space-evenly;
}

.audiorecorder .arplay {
    background: url(./qgui/icons/arplay_off.png) center center no-repeat;
}

.audiorecorder .arstop {
    background: url(./qgui/icons/arstop_off.png) center center no-repeat;
}

.audiorecorder .arrecord {
    background: url(./qgui/icons/arrecord_off.png) center center no-repeat;
}

.audiorecorder .ardelete {
    background: url(./qgui/icons/ardelete_off.png) center center no-repeat;
}

.audiorecorder .arplay.active {
    background: url(./qgui/icons/arplay.png) center center no-repeat;
}

.audiorecorder .arstop.active {
    background: url(./qgui/icons/arstop.png) center center no-repeat;
}

.audiorecorder .arrecord.active {
    background: url(./qgui/icons/arrecord.png) center center no-repeat;
}

.audiorecorder .ardelete.active {
    background: url(./qgui/icons/ardelete.png) center center no-repeat;
}

.audiorecorder .arpause, .audiorecorder .arpause.active {
    background: url(./qgui/icons/arpause.png) center center no-repeat;
}

.audiorecorder .level0 {
    background: url(./qgui/icons/speaker0.png) center center no-repeat;
}

.audiorecorder .level1 {
    background: url(./qgui/icons/speaker1.png) center center no-repeat;
}

.audiorecorder .level2 {
    background: url(./qgui/icons/speaker2.png) center center no-repeat;
}

.audiorecorder .level3 {
    background: url(./qgui/icons/speaker3.png) center center no-repeat;
}

.audiorecorder .level0,
.audiorecorder .level1,
.audiorecorder .level2,
.audiorecorder .level3 {
    width: 80px;
}

.qrec-err {
    min-width: 200px;
    height: 200px;
    background: url(./qgui/icons/rec_err.png) center center no-repeat;
}


/*** 3D Rotation Viewer ***/
/*** plain old links styled like buttons, and button widget ***/
a.buttonLink, a.buttonLink:link, a.buttonLink:visited, .button, .button:link, .button:visited, .button:hover, .button:active {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 1px;
    color: #044;
    text-shadow: 0 -1px 2px #fff;
    background: #c4cdd4 url(./images/button-bg.gif) left top repeat-x;
    text-align: center;
    text-decoration: none;
    padding: 3px 7px;
    padding-top: 2px;
    border: 1px solid #000;
    border-color: #eee #999 #999 #eee;
}

a.buttonLink:hover, .buttonOver, .buttonOver:link, .buttonOver:visited, .buttonOver:hover, .buttonOver:active {
    color: #222;
    text-shadow: 0 -1px 2px #fff, 0 1px 2px #fff;
    background-position: left -100px;
    border-color: #889 #000 #334 #778;
}

a.buttonLink:active, .buttonActive, .buttonActive:link, .buttonActive:visited, .buttonActive:hover, .buttonActive:active {
    color: #000;
    text-shadow: 0 -1px 2px #fff, 0 1px 2px #fff;
    background-position: left -200px;
    border-color: #bbb #000 #223 #999;
}

.buttonGrayed, .buttonGrayed:link, .buttonGrayed:visited, .buttonGrayed:hover, .buttonGrayed:active {
    color: #abb;
    background-position: left -300px;
    border-color: #bcc;
}

code {
    white-space: nowrap;
    color: #830;
    margin-left: 2px;
    margin-right: 2px;
}

.rotationViewer {
    position: relative;
    width: 640px;
    height: 378px;
    border-style: solid;
    border-width: 1px;
    margin: auto;
    margin-bottom: 10px;
    cursor: pointer;
}

.rotationViewer img {
    position: absolute;
    visibility: hidden;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}


/*############################# QSORTABLE##########################*/
.sortable-number {
    width: 25px;
    float: right;
    text-align: center;
    font-weight: bold;
    position: absolute;
    border: none;
    left: 0;
    top: 3px;
}

.connectedSortable {
    display: inline-block;
    border: 1px solid #dddddd;
    list-style-type: none;
    margin: 5px;
    padding: 0 0 25px 0;
    min-height: 50px;
    width: 300px;
}

.connectedSortable li {
    margin: 2px;
    padding: 3px;
    font-size: 12px;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    float: left;
    width: 260px;
}

.connectedSortable li:hover {
    color: black;
}

.ui-sort-placeholder {
    height: 12px;
    border: 1px solid #1c94c4;
    background-color: #eeeeee;
}

/*############################# AUTOCOMPLETE ##########################*/
.custom-combobox {
    position: relative;
    display: inline-block;
}

.custom-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: -1px;
    padding: 0;
}

.custom-combobox-input {
    margin: 0;
    padding: 5px 10px;
}

.ui-autocomplete {
    height: 300px;
    overflow-y: auto;
}

/*############################# HEATPLOTTER ##########################*/
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.coordinates-indicator {
    display: block;
    position: absolute;
    z-Index: 5;
}


/* db-sel */
.db-sel-table, .db-sel-table-simple {
    width: 80%;
    margin: 0 auto;
}

.db-sel-table th {
    text-align: left;
}

.db-sel-input-cell {
    border: 1px solid grey;
    width: 30%;
}

.db-sel-table-simple .db-sel-input-cell {
    width: 50%;
    min-width: 250px;
}

.db-sel-input:focus {
    outline: 0;
}

.db-sel-input {
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
}

.db-sel-other-hit {
    margin-bottom: 10px;
    font-style: italic;
}

.db-sel-target-cell, .db-sel-source-cell {
    width: 45%;
    border: 1px solid grey;
    background-color: #f9f9f9;
}

.db-sel-target-div, .db-sel-source-div {
    vertical-align: top;
    height: 200px;
    overflow-y: scroll;
}

.db-sel-source-div .selected,
.db-sel-source-div .selected:hover {
    background-color: #dddddd;
}

.db-sel-source-div div:hover {
    cursor: pointer;
    background-color: #eeeeee;
}

.db-sel-accept, .db-sel-reject {
    padding: 0;
    margin: 0 10px;
    height: 116px;
    background: transparent url(./qgui/icons/forward.png) no-repeat center center;
    cursor: pointer;
}

.db-sel-reject {
    background: transparent url(./qgui/icons/forward_ia.png) no-repeat center center;
    cursor: auto;
}

.db-sel-accept:hover {
    background: transparent url(./qgui/icons/forward_a.png) no-repeat center center;
}

.db-sel-selected {
    position: relative;
    padding-right: 26px;
    margin-bottom: 5px;
}

.db-sel-delete {
    position: absolute;
    right: 5px;
    top: 2px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    background: transparent url(./qgui/icons/delete.png) no-repeat center center;
}

.del-sel-no-result {
    font-style: italic;
    color: #ff6666;
}


/* FileUploads */
/* BEGIN LEGACY */
.qfiletransferprogress div {
    width: 60px;
    height: 10px;
}

.qfiletransferred {
    width: 150px;
}

.qfiletransferstate, .qfiletransferdelete {
    width: 25px;
}

.qfiletransferstate-show {
    background: transparent url(./qgui/icons/accept.png) no-repeat center center;
}

.qfiletransferdelete-show {
    cursor: pointer;
    background: transparent url(./qgui/icons/bin.png) no-repeat center center;
}

/* END LEGACY */
.file-input {
    position: relative;
    height: 25px;
    margin: 5px 0;
}

.file-input-hide {
    height: 0;
    overflow: hidden;
}

.file-input-hide iframe, .file-input-hide form {
    border-style: none;
    margin: 0;
    height: 0;
}

.file-input-label, .file-input-uploaded, .file-input-select, .file-input-remove, .file-input-upload, .file-input-message, .file-input-progress {
    position: absolute;
    top: 0;
    left: 0;
}

.file-input-select {
    left: 158px;
}

.file-input-message {
    left: 162px;
    top: -6px;
    height: 12px;
    width: 400px;
    font-size: 12px;
    font-family: monospace;
    color: #990000;
}

.file-input-uploaded {
    left: 272px;
}

.file-input-remove {
    left: 297px;
}

.file-input-label {
    font-size: 12px;
    border: 1px solid grey;
    background-color: #ffffff;
    height: 17px;
    max-height: 17px;
    padding: 3px;
    display: inline-block;
    width: 150px;
    margin-right: 1px;
    overflow: hidden;
}

.file-input-progress {
    height: 12px;
    width: 100%;
    top: -6px;
    font-size: 12px;
    font-family: monospace;
    text-align: center;
}

.file-input-select, .file-input-remove, .file-input-upload, .file-input-uploaded {
    display: inline-block;
    top: 2px;
    width: 25px;
    height: 25px;
    cursor: pointer;
    background: transparent url(./qgui/icons/folder_explore.png) no-repeat center center;
}

.file-input-remove, .file-input-upload, .file-input-uploaded {
    visibility: hidden;
}

.file-input-remove-show, .file-input-upload-show, .file-input-uploaded-show {
    visibility: visible;
}

.file-input-remove-show {
    background: transparent url(./qgui/icons/bin.png) no-repeat center center;
}

.file-input-uploaded-show {
    background: transparent url(./qgui/icons/accept.png) no-repeat center center;
}

.file-input-upload {
    background: transparent url(./qgui/icons/arrow_up.png) no-repeat center center;
    width: 65px;
    margin: 0 10px;
    left: 183px;
}

/* Keyboardinput 2017 */
.keyboard-focus {
    background-color: #99FF99 !important;
    background-image: none !important;
}

.keyboard-input-info {
    background-color: #99FF99;
    border: 1px solid black;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 25px;
    z-Index: 999;
    font-size: 20px;
    font-family: monospace;
    text-align: center;
    line-height: 25px;
}

/* END Keyboardinput 2017 */


/* Feedback */
#gess-q-feedback-button {
    height: 80px;
    width: 80px;
    cursor: pointer;
    text-align: center;
    padding: 5px 0;
    color: white;
    position: fixed;
    left: 5px;
    bottom: 5px;
    z-index: 9999999;
    background-image: url(./qgui/icons/feedback.png);
    background-repeat: no-repeat;
}

.gess-q-feedback-textarea {
    width: 450px;
    height: 100px;
}

.gess-q-feedback-result {
    height: 70px;
    line-height: 70px;
    position: fixed;
    left: 90px;
    bottom: 10px;
    color: #009900;
    font-size: 24px;
}

.gess-q-feedback-failed {
    color: red;
}

.gess-q-feedback-dialog {
    font-size: 14px;
}

.gess-q-feedback-dialog .ui-widget-header {
    border: none;
    background: #c4d1e4 url("../javascript/images/ui-bg_gloss-wave_35_c4d1e4_500x100.png") 50% 50% repeat-x;
}

/* END Feedback */


/* STAR-RATING */
.starrating {
    text-align: center;
}

.starrating .star {
    display: inline-block;
    cursor: pointer;
    width: 60px;
    height: 60px;
    background: url("../images/star0.png") no-repeat center center;
}

.starrating .selected {
    background: url("../images/star1.png") no-repeat center center;
}

.starrating .star:hover {
    background: url("../images/starh.png") no-repeat center center;
}

/* END STAR-RATING */


/* jQuery UI Anpassungen */
/* Autocomplete */
.ui-autocomplete .ui-state-focus {
    font-weight: normal;
    margin: 0;
    border: 0 solid #fbcb09;
    outline: 1px solid #fbcb09;
}


/* KLICKRANKING */
.clickranking .numqrow {
    cursor: pointer;
}

.clickranking .clickranking-checked {
    background-color: lightgrey;
}

.clickranking .numinput {
    border: 0 solid black;
    background-color: transparent;
    text-align: center;
    font-weight: bold;
}

.ui-tooltip{
    max-width: 95%;
}
/* END KLICKRANKING */

/**
    Multiselect css
*/
.multiselect-container {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    position: relative;
}
.multiselect-container input {
    border: none;
    outline: none;
    flex-grow: 1;
    min-width: 100px;
}
.multiselect-pill {
    display: flex;
    align-items: center;
    background-color: #e0e0e0;
    border-radius: 20px;
    padding: 5px 10px;
}
.multiselect-pill span {
    margin-right: 10px;
}
.multiselect-pill button {
    background: none;
    border: none;
    cursor: pointer;
    color: #777;
    padding: 0;
}
.multiselect-pill button:hover {
    color: #000;
}
.multiselect-dropdown {
    position: absolute;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    z-index: 10;
    max-height: 150px;
    overflow-y: auto;
    display: none;
    box-sizing: border-box; /* Ensure width includes padding and border */
}
.multiselect-dropdown ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.multiselect-dropdown li {
    padding: 8px;
    cursor: pointer;
}
.multiselect-dropdown li.disabled {
    color: #999;
    cursor: not-allowed;
}
.multiselect-dropdown li:hover:not(.disabled),
.multiselect-dropdown li.selected {
    background-color: #f0f0f0;
}
.multiselect-dropdown .group-label {
    padding: 8px;
    font-weight: bold;
    cursor: default;
    background-color: #f9f9f9;
}
.multiselect-foldout-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 10px;
    font-size: 16px;
    align-self: center;
}
.multiselect-foldout-button::before {
    content: '\25BC'; /* Down arrow */
}
.multiselect-foldout-button.expanded::before {
    content: '\25B2'; /* Up arrow */
}
.multiselect-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.q-layout-hbox{
    display: flex;
    flex-direction: row;
}

.q-layout-vbox{
    display: flex;
    flex-direction: column;
}