@import url("standard.css");


/* General Bootstap override */
:root{
    --bs-body-font-size: 1rem;
}

.bg-danger-soft{
    background-color:#dc3545a6 !important;
}

.ds-card-standard.card .card-header .ds-card-heading {
    font-size: 1.2rem;
}

body.desk .ds-nav-label{
    display: none;
}

#wjtCategoryContainer{
    overflow-y: hidden;
}

.wjt-category-tile, .wjt-job-tile {
    height:initial;
}

.wjt-job-body:not(.wjt-job-parent):last-of-type {
    padding-bottom: 4px;
}

.wjt-job-deadlines div.progress > span {
    font-weight: normal;
}

/* Job typ select form */
.radeberger-job-type-selector{
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.radeberger-job-type-selector-wrapper select{
    width: 100%;
    font-size: 8pt;
    height: 15px;
    line-height: initial;
    display: block;
    padding-top: 0;
    padding-bottom: 0;
    border: none;
    border-bottom: 1px dotted grey;
    margin-bottom: 2px;
    background-color: white;
    margin:1px;
}

.radeberger-job-type-selector-wrapper select:hover{
    background-color: whitesmoke;
    cursor: pointer;
}

.radeberger-job-type-selector-wrapper .group-header{
    margin-top: 5px;
}

.radeberger-job-type-selector-wrapper .group-header > span{
    display: block;
    text-align: left;
    padding-left: 20px;
    width:100%;
}

#selectMaterialDecoy{
    overflow-y: auto;
    max-height: 700px;
    overflow-x: hidden;
    margin-top: 5px;
}

#selectMaterialDecoy li{
    /*border-left: 10px solid rgba(0,0,0,.5);*/
    padding-bottom: 5px;
    padding-top: 5px;
}

#selectMaterialDecoy li:hover{
    cursor: pointer;
    color:red;
}

#selectMaterialDecoy li span.removeicon{
    position: absolute;
    right: -200px;
    opacity: 0;
    top: 0px;
    /* left: 100px; */
    background-color: rgba(0,0,0,.7);
    text-align: center;
    width: 100%;
    height: 100%;
}

#selectMaterialDecoy li:hover span.removeicon{
    opacity: .8;
    right:0px;
}

#selectMaterialDecoy li > div{
    position: relative;
    top: -5px;
    font-size: 8pt;
    left: -15px;
    margin-right: -30px;
    padding-left: 5px;
}

nav, .headline, .fontstd {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Feedback Block */

.feedbackround-files,
.feedbackround-feedback,
.feedbackround-pending-feedback,
.feedbackround-footer{
    border-top: 1px dashed lightgrey;
    border-bottom: 1px dashed lightgrey;
    background-color: white;
    padding-bottom: 10px
}

.feedbackround-header{
    padding-bottom: 5px;
}

.feedbackround-outcome,
.feedbackround-control,
.feedbackground-header{
    background-color: lightgray;
    padding-bottom: 5px;
}

.feedbackround-outcome,
.feedbackround-control{
    min-height:90px;
}

.feedbackround-control{
    border-left: 1px dashed white;
}

.feedbackground-header{

}

.feedbackround-file{
    margin-bottom: 5px;
}

.feedbackround-file .file-frame,
.BlockReferences .file-frame{
    height:75px;
}

.feedbackround-file.feedbackround-file-intcomm{

}

.feedbackround-file .label{
    display: block;
    width: 100%;
}

.feedback{
    padding:5px;
    position: relative;
    background-color: #EFEFEF;
    border-radius: .4em;
    margin-bottom:5px;
    background-size: 16.6%;
    background-repeat: no-repeat;
    border: 1px solid #EFEFEF;
}

.feedback .feedback-sender{
    font-size: .7rem;
    font-weight: bold;
}

.feedback .feedback-datetime{
    font-size: .7rem;
    text-align: right;
    font-style: italic;
}

.feedback .feedback-icon{
    color:darkslategray;
}

.feedback:after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 0.625em solid transparent;
    border-right-color: white;
    border-left: 0;
    margin-top: -0.625em;
    margin-left: -0.625em;
}


.feedback.feedback-jobowner{
    background-color: lightgray;
}

.feedback.feedback-jobowner:after{
    border-right-color: lightgray;
}

.feedback.decision-pro{
    background-image: linear-gradient(90deg, #cedd10 0%, #cedd10 100%)
}

.feedback.decision-pro:after{
    border-right-color: #CEDD10;
}

.feedback.decision-contra{
    background-image: linear-gradient(90deg, #DD574A 0%, #DD574A 100%)
}

.feedback.decision-contra:after{
    border-right-color: #DD574A;
}

.feedback.decision-pending{
    background-image: linear-gradient(90deg, #EEE 0%, #EEE 100%)
}

.feedback.decision-pending:after{
    border-right-color: #EEE;
}

.feedback.feedback-user.decision-none{
    background-image: linear-gradient(90deg, #999 0%, #999 100%)
}


.feedback-user-select-col{
    max-height: 250px;
    overflow-x: hidden;
    overflow-y: scroll;
    min-height: 250px;
}

.feedback-user-select-col .user-absence-marker{
    font-size: .7rem;
    display: inline-block;
}

.feedback-user-select-col{
    background-color:#CCC;
}

.feedback-user-select-col .feedback-user{
    border-bottom:1px solid lightgrey;
}

.feedback-user-select-col .feedback-user:hover{
    background-color:rgba(51, 122, 183,0.85);
    cursor: pointer;
}

.feedback-user{
    /*background-color:rgba(255,255,255,.5);*/
}

.feedbackround-command-toggle:hover{
    cursor:pointer;
}

.decision-user-box{
    height: 100px;
    padding: 10px;
    border: 1px solid;
    text-align: center;
    line-height: 6rem;
    background-color: white;
}

.decision-user-box:hover{
    cursor:pointer;
    background-color: grey;
}

.wjt-job-compact .wjt-job-deadlines{
    display: initial;
}
.wjt-job-compact .wjt-job-deadlines .progress{
    height: 5px;
}

.wjt-job-compact .wjt-job-deadlines .progress span{
    display: none;
}

#wjt-category-select-all-none{
    border-radius: 0;
    border-top: none;
}

.ds-nav-label{
    display: none;
}

/* Old mdb.css classes, remove in future */
.orange-text{
    color: #ff9800 !important;
}

.green-text{
    color: #4caf50 !important;
}

.tasktable-jobs .wjt-job-wrapper{
    border-top: 1px solid white;
}

.tasktable-jobs .wjt-job-header, .wjt-job-multi-header{
    border-top-right-radius: 0;
}

.ds-address-blimp{
    height: 75px;
    overflow: hidden;
    border: 1px dashed lightgrey;
    padding: 1rem;
}

.ds-address-blimp-double{
    height: 100px;
}

.ds-address-blimp-list{
    max-height: 500px;
    overflow-y:scroll;
}


.ds-address-blimp-headline{
    padding-right: 10px;
    font-size: .8rem;
}

.ds-address-blimp > i{
    position: absolute;
    top: 10px;
    right: 10px;
}

.ds-address-blimp .btn-frameoption-1{
    bottom: 0;
    margin-left:100%;
    height: 100%;
    width: 20%;
    background-color: rgba(51, 122, 183,0.85);
    border-color: rgba(46, 109, 164,0.85);
    font-size: 2em;
}
.ds-address-blimp .btn-frameoption-2 {
    bottom: 0;
    margin-left: 100%;
    height: 100%;
    width: 20%;
    background-color: rgba(51, 122, 183, 0.85);
    border-color: rgba(46, 109, 164, 0.85);
    font-size: 2em;
}

.ds-address-blimp .btn-frameoption.hover-frame{
    margin-left:80%;
}

.file-frame .btn-copy-exctomm{
    left:50%;
}

#dispatchRecipientContainer .ds-address-blimp .btn-frameoption-1 {
    display: none;
}

#dispatchRecipientContainer .ds-address-blimp .btn-frameoption-2 {
    background-color: rgba(255, 0, 0, .5);
    position: absolute;
    left: 0;
}


#dispatchRecipientContainer .ds-address-blimp .card-body {
    display: none;
}

.reference-label {
    width: 100%;
    display: block;
    margin-bottom: 5px;
}

form .input-group-text, .input-group .input-group-text {
    min-width: 110px;
}

.wjt-block-header:hover {
    background-color: var(--portal-color-palette-5);
}

.wjt-detail-wrapper .card-header,
#wjtDetailContainer .card-header{
    background-color:#FFF;
}

div.tox-tinymce{
    z-index: 0;
}

form.wjt-block-status-form span.wjt-workflow-badge img{
    width:4rem;
}

.badge-neo {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 999px;
    background: #E1F5EE;
    color: #0F6E56;
}
.badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #1D9E75;
}