﻿
main {
    padding-block: 90px 80px;
    padding-inline: 60px 40px;
}

hr {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    border-color: rgb(160, 155, 146);
}

.request-description img {
    max-width: 100%;
}

.request-comment {
    padding: 14px;
    font-size: 12px;
    background-color: rgb(214, 211, 205);
    color: rgb(41, 44, 50);
}

    .request-comment img {
        max-width: 100%;
    }

    .request-comment hr {
        margin-left: -15px;
        margin-right: -15px;
    }

    .request-comment form {
        display: inline-block;
    }

    .request-comment .k-i-arrow-chevron-down {
        margin-left: -20px;
        cursor: pointer;
    }

    .request-comment .k-i-arrow-chevron-up {
        margin-left: -20px;
        cursor: pointer;
    }

.comment-container {
    margin: 10px 20px;
}

    /*.comment-container.right:before {
        content: '';
        position: absolute;
        margin-top: 10px;
        width: 0;
        height: 0;
        right: 10px;
        border-left: solid 40px rgb(214, 211, 205);
        border-top: solid 5px transparent;
        border-bottom: solid 50px transparent;
    }*/

    .comment-container.left:before {
        content: '';
        position: absolute;
        margin-top: 10px;
        width: 0;
        height: 0;
        left: -20px;
        border-right: solid 20px #fff;
        border-top: solid 5px transparent;
        border-bottom: solid 20px transparent;
    }



    .comment-container > p {
        margin-left: 10px;
    }

.internal-comment {
    color: #ee8133;
}

.r-titel-wrapper {
    /*position: fixed;
    top: 56px;
    left: 56px;*/
    width: calc(100vw - 465px);
/*    background-color: #181a1b;*/
    margin-bottom: 20px;
    z-index: 1;
    margin-top: -15px;
}

    .r-titel-wrapper hr {
        margin-right: 40px;
        margin-left: 10px;
    }


label {
    width: 100%;
    margin-bottom: 0px;
}

.k-drodown-wrap {
    width: 100%;
}

.btn-delete {
    margin: 5px;
    margin-left: 20px;
    padding: 0px;
    background-color: #343a40;
    border-color: #343a40;
}

.comment-header p {
    margin-left: 10px;
}

.tooltiptext {
    width: 170px;
    background-color: rgb(255, 255, 255);
    color: #ee8133;
    text-align: center;
    padding-top: 0 !important;
    margin-left: 10px;
    height: 25px;
    border-radius: 6px;
    /* Position the tooltip text */
    z-index: 1;
    /* Fade in tooltip */
    transition: opacity 1s;
    visibility: hidden;
    opacity: 1;
}

    .tooltiptext.visible {
        visibility: visible;
        opacity: 0.8;
    }

    /* Tooltip arrow */
    .tooltiptext::before {
        content: '';
        position: absolute;
        margin-top: 2px;
        width: 0;
        height: 0;
        right: 167px;
        border-right: solid 10px rgb(255, 255, 255);
        border-top: solid 10px transparent;
        border-bottom: solid 10px transparent;
    }

.logo {
    float: left;
    height: 200px;
    padding-right: 20px;
    width: 400px;
    line-height: 180px;
    text-align: center;
}

.container {
    padding-right: 15px;
    padding-left: 0;
    margin-right: auto;
    margin-left: 0;
    margin-top: 86px;
    max-width: 1450px;
}

.row:nth-child(2) {
    padding-top: 15px;
}


.k-widget {
    width: 100%;
}

.request-comment .k-icon.k-i-delete {
    font: 20px/1 WebComponentsIcons;
    background-color: rgb(214, 211, 205);
    color: rgb(41, 44, 50);
    border: none;
    display: inline-block
}

.request-comment .k-icon:hover {
    color: #ee8133;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #ee8133;
    background-color: #ee8133;
}

.comment-editor .k-widget.k-combobox, .comment-editor .k-widget.k-colorpicker {
    width: auto;
}

.comment-editor .k-widget.k-editor.k-header, k-editor-widget {
    width: 100%;
}

.k-widget.k-window {
    border: 1px solid #ee8133;
    margin-left: 100px;
    width: inherit;
}

    .k-widget.k-window .k-grid tr:hover {
        background-color: rgb(87, 79, 101);
    }

    .k-widget.k-window:nth-of-type(1) {
        margin-left: 100px;
    }

    .k-widget.k-window:nth-of-type(2) {
        margin-left: 120px;
    }

    .k-widget.k-window:nth-of-type(3) {
        margin-left: 140px;
    }

    .k-widget.k-window:nth-of-type(4) {
        margin-left: 160px;
    }

    .k-widget.k-window:nth-of-type(5) {
        margin-left: 180px;
    }

    .k-widget.k-window.k-dialog {
        margin: 0;
    }

.k-dialog .k-button {
    color: rgb(179, 163, 209);
    border-color: rgb(51, 57, 57);
}

    .k-dialog .k-button:hover {
        background-color: #575757;
        color: rgb(179, 163, 209);
    }

    .k-dialog .k-button.k-primary {
        color: #ee8133;
        border-color: rgb(51, 57, 57);
    }


        .k-dialog .k-button.k-primary:hover {
            background-color: #ee8133;
            color: rgb(207, 203, 196);
        }

.k-header.k-grid-toolbar label {
    display: inline;
}

.k-grid-header {
    border-top: 1px solid;
    margin-top: 0px;
}

.grid-overview-dxs .k-grouping-header {
    margin-left: 300px;
}

#overview_grid .k-header.k-grid-toolbar {
    float: left;
    border: none;
}

#overview_grid .k-grid-content {
    height: calc(100vh - 315px) !important;
}

.navbar input::-webkit-outer-spin-button,
.navbar input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

.navbar input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}

#goto_id {
    width: 60px;
    padding-left: 5px;
}

.comment-text .comment-collapse {
    display: none;
    margin-bottom: 0px;
    font-size: 20px;
    line-height: 0.8;
    text-align: left;
    opacity: 0;
    transition: opacity 1s;
}

.comment-text.collapsed .comment-collapse {
    display: block;
    opacity: 0.9;
}

.comment-text.collapsed .text {
    display: none;
    opacity: 0;
    transition: opacity 1s;
}

.k-dropzone {
    padding:0;
}
.k-dropzone .k-button{
    line-height: 1.1em;
}
    .k-dropzone em {
        display: inline;
        text-align: center;
        opacity: 0.6;
    }

    .k-dropzone.k-dropzone-hovered {
        background-color: #f5b180;
    }

#btnAttachments {
    height: 50px;
    width: 56px;
    margin-left: 0px;
    margin-top: 0px;
}

    #btnAttachments::before {
        margin-top: 10px;
        margin-left: 8px;
    }

    #btnAttachments:after {
        color: rgb(214, 211, 205);
        opacity: 0.8;
        margin: auto;
        width: 0.25em;
        height: 0.25em;
        display: inline-block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 16px;
        right: 0;
        font-size: 18px;
        margin-top: 0px;
    }

#att_grid td .k-icon {
    font: 16px/1 WebComponentsIcons;
    opacity: 1;
    color: #ee8133;
    margin: 0.3em;
}


.request-description-wrapper h5 {
    display: inline-block;
}

.request-description-wrapper .k-icon {
    cursor: pointer;
}

.request-description-wrapper .k-icon:hover {
    color: #ee8133;
}

#project_grid {
    /*margin-top: 30px;*/
    margin-right: 50px;
    margin-bottom: 0;
    width: calc(100vw - 100px);
}

.k-checkbox-label {
    margin-top: 5px;
    margin-left: 10px !important;
}

    .k-checkbox-label::before {
        width: 20px;
        height: 20px;
        font-size: 20px;
        line-height: 20px;
    }

.k-grid-toolbar .k-button-icontext .k-icon {
    display: block;
    font-size: 30px;
    opacity: 1;
}

.grid-toolbar-template.filter {
    float: right;
    width: auto;
}

    .grid-toolbar-template.filter span {
        margin-right: 20px;
    }

    .grid-toolbar-template.filter .k-select {
        margin-right: 0;
    }

.o-edit-footer {
    width: calc(100vw - 100px);
    margin-right: 50px;
    margin-top: 10px;
    padding: 5px;
}

    .o-edit-footer .filter {
        width: auto;
        display: inline;
    }

        .o-edit-footer .filter label {
            margin-left: 20px;
            margin-right: 5px;
            width: auto;
            text-transform: uppercase;
            font-size: 11px;
        }

.k-editor .k-input {
    color: #32364c;
    background-color: #fff;
}

.k-editor .k-dropdown-wrap {
    color: #32364c;
    background-color: #fff;
    border-color: #e0e0e0;
}

.k-editor .k-widget {
    color: #32364c;
    background-color: #fff;
    border-color: #e0e0e0;
}

.k-picker-wrap.k-state-active {
    color: #fff;
    background-color: #ee8133;
    border-color: #ee8133;
}

.r-project-move-wrapper {
    border: white 1px solid;
    padding: 5px;
    margin-bottom: 10px;
}

.r-project-move-wrapper .row {
    margin-left: 10px;
}

.r-project-move-wrapper label {
    display: inline;
}

.r-project-move-wrapper .previous {
    font-style: italic;
    color: rgba(200, 200, 200, 0.8);
    float: right;
    margin-right: 20px;
}

.o-edit-footer .k-i-save {
    color: #ee8133;
    font-size: 30px;
}

    .o-edit-footer .k-i-save:hover {
        color: #edaf82;
    }

.r-massimport-wrapper {
    margin-top: 20px;
}

.comment-bar {
    /*    width: 100%;*/
}
#changeset_tooltip{
    position:absolute;
    right: 30px;
    margin-top: 55px;

}
.r-changeset-wrapper input {
    width:auto;
    height:34px;
}

.r-changeset-wrapper .tooltiptext {
    display: inline-block;
}

.r-changeset-wrapper .tooltiptext:before {
    right: 70px;
    border-right: solid 10px transparent;
    border-left: solid 10px transparent;
    border-bottom: solid 10px rgb(255, 255, 255);
    margin-top:-18px
}

.r-hierarchy-wrapper {
    position: fixed;
    padding: 10px;
    z-index: 10;
}

.r-hierarchy-wrapper:hover {
    background-color: rgba(200, 200, 200, 0.2)
}

.r-hierarchy-wrapper .k-icon {
    font-size: 30px;
}

.r-hierarchy-legend {
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidebar */
    width: 0;
    display: inline-block;
}

div.balSlider {
    width: calc(100vw - 200px);
}

    div.balSlider .k-slider-selection {
        display: none;
    }

.k-slider-tooltip {
    width: 50px;
}

.h-actions {
    display: inline-block;
}

    .h-actions .fa {
        color: #ee8133;
        font-size: 50px;
        margin-left: 10px;
    }

        .h-actions .fa:hover {
            color: #ebba97;
        }

.k-i-inherited::before {
    content: "\e93a";
}

    .r-search-bar button {
        display: inline-block;
    }

.r-query-result-wrapper {
    margin-bottom: 25px;
}

.r-query-stats {
    font-size: 13px;
    color: rgb(100, 100, 100);
}

.r-query-results {
    margin-top: 20px;
}

.r-search-result {
    display: block;
    margin-bottom: 15px;
}

    .r-search-result .title {
        color: #ee8133;
        font-size: 20px;
    }

    .r-search-result a {
        text-decoration-color: #ee8133;
    }

    .r-search-result .r-result-detail {
        margin-left: 10px;
    }

.r-search-bar button {
    color: #ee8133;
    border-color: rgb(51, 57, 57);
}

    .r-search-bar button:hover {
        background-color: #ee8133;
        color: rgb(207, 203, 196);
    }

#form_usersettings .editor-field {
    margin-bottom: 15px;
}

#form_usersettings .k-button {
    margin-top: 15px;
}

.extended-search-wrapper {
    margin-top: 20px;
}

    .extended-search-wrapper.collapsed {
        display: none;
        opacity: 0;
        transition: opacity 1s;
    }

.extended-search {
    margin-top: 20px;
}

    .extended-search h4 {
        display: inline-block;
    }

    .extended-search .k-picker-wrap {
        display: inline-block;
    }

    .extended-search .k-widget.k-datepicker {
        display: inline;
        margin-left:10px;
        margin-right:10px;
        width:100px;
    }

.r-ticket-edit-panel {
    overflow: hidden auto;
    width: 350px;
    margin-left: 60px;
    font-size: 15px;
    padding-left: 0;
    position: fixed;
    right: 0;
    height: calc(100vh - 115px);
    padding-right: 20px;
}

.r-ticket-edit-panel .k-input {
    line-height: 1.5em;
    border: none;
}

.r-ticket-edit-panel .form-group {
    margin-bottom: 7px;
}

.r-ticket-edit-panel .k-dropdown-wrap .k-select {
    line-height: 1.5em;
}

.r-ticket-edit-panel .k-dropdown-wrap .k-input {
    border: none;
}

.r-ticket-edit-panel input {
    line-height: 1.5em;
}

.r-ticket-main-panel {
    /*flex-grow: 1;*/
    overflow: hidden auto;
    width: calc(100vw - 480px);
    padding-right: 2px;
}

.k-tabstrip .k-content {
    border: 1px solid rgb(57, 57, 57);
    border-top: none;
}

.k-tabstrip .k-reset.k-tabstrip-items {
    border: 1px solid rgb(57, 57, 57);
}

.k-tabstrip-items .k-link {
    padding: .5em .92em;
}

.r-attachment-wrapper {
    margin: 30px 0;
}

.r-attachment-wrapper h5 {
    display: inline-block;
}

#att_grid .k-grid-norecords {
    vertical-align: middle;
    padding-top:50px;
    height: 50%;
}
#description_input input {
    font-size: 1.5rem;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
}
#request_form .k-icon:hover {
    color: #ee8133;
}
#request_form .k-icon {
    color: #888;
}
#project_grid .k-widget.k-multiselect{
    display:inline-block;
    height: 38px;
    overflow:hidden;
}

.responsive-row .title > h6 {
    margin: 0;
    font-size: 1em;
    font-weight: bold;
    color: #02023db5;
}


.responsive-row > h5 {
    margin: 0;
    font-size: 1.2em;
    font-weight: bold;
    font-weight: bolder;
    color: navy;
}

.responsive-row .flex {
    display: flex;
    gap: 10px;
}

.responsive-row  p {
    margin-bottom: 2px;
}

.responsive-row  h6 {
    color: darkgray;
}

.responsive-row p:not(.critical) {
    color: #000000a6;
}

.responsive-row  strong {
    color: black;
}

.responsive-row .project-name {
    font-weight: bold;
}

.responsive-row .status, .responsive-row .priority {
    text-transform: lowercase;
}


@media(max-width: 917px) {
    #overview_grid .k-grouping-header {
        display: none;
    }

    #overview_grid .k-header.k-grid-toolbar {
        float: none;
        margin-bottom: 10px;
    }

    #overview_grid tbody td {
        white-space: normal;
    }
}

.r-attachment-wrapper > div:first-child > div {
    min-width: 390px !important;
}

@media(max-width: 1000px){
    main {
        padding-block: 80px;
        padding-inline: 20px;
    }

    .r-ticket-main-panel{
        width: 100%;
    }

    .r-ticket-edit-panel {
        transition: all 250ms ease;
        position: fixed;
        top: 55px;
        left: 0;
        background: #f9f9f9;
        padding-inline: 35px;
        padding-block: 24px;
        margin: 0;
        height: 100%;
        width: 100%;
        z-index: 1;
    }

    .r-ticket-edit-panel:not(.active) {
        transform: translateX(100%);
        overflow: visible;
    }

    .side-menu__toggler {
        left: 0;
        width: 85px;
        background-color: #392660;
        border-color: #483078;
        transform: translateX(-90%);
        -webkit-box-shadow: 4px 5px 6px 0px rgba(0,0,0,0.2);
        box-shadow: 4px 5px 6px 0px rgba(0,0,0,0.2);
    }

    .r-ticket-edit-panel:not(.active) .side-menu__toggler::after {
        content: '<';
        font-weight: bold;
        color: white!important;
    }

    .r-ticket-edit-panel.active .side-menu__toggler::after {
        content: '>';
        font-weight: bold;
        color: white !important;
    }

    .r-ticket-edit-panel:not(.active) .side-menu__toggler {
        text-align: left;
    }

    .r-ticket-edit-panel.active .side-menu__toggler {
        text-align: right;
    }

    .r-ticket-edit-panel > .sidebar {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
    }
    .r-titel-wrapper {
        width: 100%;
    }
    .custom-control {
        margin-left: 0px !important;
    }

    .btn-group {
        gap: 10px;
        flex-direction: column;
    }
    .k-dropzone em{
        margin-left: -1.1em;
        font-size:12px;
    }
    .r-attachment-wrapper > div {
        flex-direction:column;
    }

    .r-attachment-wrapper > div:first-child > div {
        width: 100% !important;
    }

    .r-attachment-wrapper > div:last-child {
        width: auto !important;
    }
}
