:root {
    --color-brand: #009B91;
}

body {
    overflow-x: hidden;
}

a, .btn-link {
    color: #009B91;
}

/**
 * LOADER
 */
.loader .loading {
    display: none;
}

.loader .spinner {
    width: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader.loaded .spinner {
    display: none;
}

.loader.loaded .loading {
    display: block;
}

/**
 * OVERVIEW
 */
a.custom-card:hover {
    text-decoration: none!important;
}

a.custom-card .card-link:hover {
    text-decoration: underline;
}

a.custom-card div.order-description {
    min-height: 25px;
    overflow: hidden;
    width: 100%;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}



/**
 * ALLGEMEIN
 */
section.section {
    margin-bottom: 45px;
}
section.section h2 {
    font-size: 24px;
}

section.section div.section-body {
    font-size: 17px;
}

.btn-primary {
    background: var(--color-brand);
}

.modal-backdrop,
.modal-backdrop.show {
    opacity: 0.9;
    background: rgb(0, 96, 165) !important;
}

label.required:after, legend.required:after {
    content:" *";
    color:red;
}

.help-text {
    font-size: 12px;
}

/**
 * AUTH
 */
.auth-form {
    height: 100vh;
    background: var(--color-brand);
}
.auth-form .form-widget {
    background: white;
}
.auth-form .form-widget .form-control {
    min-width: 300px;
}
/**
 * Aufgabenseite Allgemein
 */
#do-end-task .spinner-border {
    display: none;
}
#do-end-task.loading .spinner-border {
    display: inline-block;
}

#order-description-wrapper {
    font-size: 1rem;
    line-height: 1.5;
}
#order-description-wrapper p#order-description.collapse:not(.show) {
    display: block;
    height: 4.25rem;
    overflow: hidden;
}
#order-description-wrapper p#order-description.collapsing {
    height: 3rem;
}
#order-description-wrapper a.collapsed::after {
    content: '+ Mehr anzeigen';
}
#order-description-wrapper a:not(.collapsed)::after {
    content: '- Weniger anzeigen';
}
/**
 * BILDERUPLOAD
 */
.sticky-preview {
    top: 20px;
}

.focused-file .dz-image {
    box-shadow: 0 3px 7px rgba(0, 0, 0, .25);
}
.dropzone .dz-preview .dz-image {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .50s;
    cursor: pointer;
    border: 1px solid #eee;
    background: white;
}

.dropzone-add-image-indicator {
    display: inline-block;
    margin: 16px;
    border: 3px dashed lightgray;
    width: 146px;
    height: 146px;
    box-sizing: border-box;
    color: lightgray;
    border-radius: 8px;
    font-size: 60px;
    text-align: center;
    line-height: 146px;
    pointer-events: none;
}

/*.text-upload h1,*/
/*.dropzone .dz-preview {*/
/*    border-bottom: 5px solid red;*/
/*}*/

/*.text-upload h1.metadata-status-correct,*/
/*.dropzone .dz-preview.metadata-status-correct {*/
/*    border-bottom: 5px solid green;*/
/*}*/

/*.metadata-editor .preview-image.metadata-status-correct {*/
/*    border-bottom: 15px solid green;*/
/*}*/

/*.metadata-editor .preview-image {*/
/*    border-bottom: 15px solid red;*/
/*}*/

.dropzone .dz-preview .dz-image img {
    min-width: 100%;
    max-height: 100%;
}

.dropzone .dz-preview.dz-image-preview {
    background: transparent;
}

.task-summary-list {
    max-height: 350px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 20px;
}

/**
 * ANIMATIONEN
 */

.transition-fade {
    transition: 0.4s;
    opacity: 1;
    top: 0;
    position: relative;
}

html.is-animating .transition-fade {
    opacity: 0;
    top: 60px;
}

select.form-select {
    height: 50px;
    display: block;
    background-color: white;
    padding: 3px;
    max-width: 100%;
    width: 100%;
    font-size: 15px;
}

select.form-select#fixed {
    -webkit-appearance: none;
}

.js-task-note-btn,
.js-btn-task-release {
    display: none !important;
}