/* NO GRID YET */
.card {
    background-color: #fff;
    margin-bottom: 40px;
    padding: 25px;
    width: 100%;
}

@media (min-width: 767px) {
    .card {
        border-radius: 3px;
        padding: 25px 30px;
        margin-bottom: 0;
        -webkit-box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.1), 0 11px 6px -7px rgba(43, 43, 43, 0.1);
        box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.1), 0 11px 6px -7px rgba(43, 43, 43, 0.1);
    }
}

.card.head .subheadline {
    margin-top: -25px;
    margin-left: -30px;
    margin-bottom: 25px;
    width: calc(100% + 60px);
    border-bottom: 1px solid #ddd;
    padding: 20px 30px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    -webkit-box-shadow: 0 6px 9px -9px gray;
    box-shadow: 0 6px 9px -9px gray;
}

.card.head.colored .subheadline {
    background-color: var(--ci-color);
    color: #fff;
    border-bottom: 0;
    font-weight: 400;
    -webkit-box-shadow: 0 6px 9px -9px gray;
    box-shadow: 0 6px 9px -9px gray;
}

.card.head .sep-dash {
    display: none;
}


.code,
code {
    padding: 6px 12px;
    font-size: 13px;
    background-color: #f2f2f2;
    border-radius: 3px;
    display: block;
    overflow-x: auto;
    border: 1px solid #ddd;
}

code.hljs {
    overflow-x: visible;
}

#content {
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    z-index: 2;
    background-size: cover;
    background-attachment: fixed;
    outline: none;
}

main {
    min-height: 100vh;
    width: 100%;
    background: var(--main-bg);
}

/* DESKTOP */
@media (min-width: 768px) {
    main {
        padding: 105px 40px 50px 290px;
    }
}

@media (max-width: 767px) {

    main {
        padding: 90px 0 100px;
    }
}

.hidden_clipboard {
    position: absolute;
    left: -10000px;
    font-size: 18px;
}

.kopierbar {
    cursor: pointer;
    border-bottom: 1px dashed #8a8a8a;
}

.kopierbar:hover {
    opacity: .95;
    border-bottom: 1px dashed #ccc;
}

.lang_switch {
    font-size: 14px;
    margin-bottom: 0;
}

.lang_switch .active {
    font-weight: bold;
}

.sub-head-flex {
    display: flex;
    margin-bottom: 20px;
    justify-content: space-between;
}

.pagetitle_container {
    width: 50%;
}

.pageicon {
    display: flex;
    float: left;
    width: 50px;
    height: 50px;
    border-radius: 3px;
    justify-content: center;
    vertical-align: middle;
    margin-right: 20px;
    align-items: center;
    font-size: 24px;
    background: var(--ci-color);
    color: var(--ci-color2) !important;
}

.pagetitle {
    font-size: 20px;
    margin-bottom: 5px;
    margin-top: 3px;
    line-height: 25px;
    font-weight: bold;
}

.pagetitle_sub {
    font-size: 13px;
    line-height: 13px;
}

@media (max-width: 1000px) {
    .sub-head-flex {
        flex-direction: column-reverse;
        margin-bottom: 20px;
    }

    .pagetitle_container {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .sub_elements {
        margin: 0 20px;
    }

    .pagetitle_container {
        width: 100%;
        padding: 0 20px;
    }
}

.subheadline {
    font-size: 20px;
    color: var(--ci-color);
    font-weight: bold;
    text-align: left;
}

.sep-dash {
    height: 3px;
    margin: 3px 0 20px;
    width: 23px;
    display: block;
    background-color: var(--ci-color2);
}

.sep-dash.white {
    background-color: #fff;
}

picture {
    display: inline-block;
}

/* Timetracker */
.time-table-container {
    width: 100%;
    padding: 50px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2332322332;
    background-color: #fff;
    min-height: 100vh;
    overflow: auto;
}

.ratings.perfect {
    color: green;
}

.ratings.fast {
    color: #f6e742;
}

.ratings.average {
    color: #fbd45c;
}

.ratings.slow {
    color: #e55300;
}

.ratings.bad {
    color: #ca281d;
}

.pagination_text {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
}

.pagination {
    display:flex;
}

/* Uploads */
.upload-area {
    border: 2px dashed #ddd;
    border-radius: 25px;
    padding: 20px;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #f8f8f8;
    transition: all .5s ease-in-out;
    color: #ccc;
}

.upload-area:hover {
    cursor: pointer;
    background-color: #eee;
    transition: all .5s ease-in-out;
    color: #ccc;
}

.upload-area p {
    text-align: center;
    font-weight: bold;
    font-size: 27px;
}

.upload-area .upload_icon {
    font-size: 180px;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

i.wait_upload {
    color: black;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 80px;
    animation: rotation 2s infinite linear;
    display: inline-block;
    position: absolute;
}

a.upload_list_preview {
    display: flex;
}

.upload_list_preview img {
    max-width: 100px;
    max-height: 35px;
    width: auto;
    height: auto;
}

progress[value] {
	/* Reset the default appearance */
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border: none;
    border-radius: 5px;
}

progress[value]::-moz-progress-bar {
    background-color: var(--table-border-color);
    border: none;
    border-radius: 5px;
}

progress[value]::-webkit-progress-value {
    background-color: green;
    border-radius: 5px;
}

progress[value]::-moz-progress-bar {
    background-color: green;
    border-radius: 5px;
}

progress::-webkit-progress-bar {
    background-color: var(--table-border-color);
    border-radius: 5px;
}

.yt_placeholder {
    background: #f0f2f3;
    aspect-ratio: 16 / 9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.yt_placeholder .text {
    color: #000;
    font-size: 22px;
    font-weight: bold;
}

.yt_placeholder img {
    width: 20%;
    margin-right: auto;
    margin-left: auto;
}

.yt_frame {
    width: 100%;
    border: 0;
    aspect-ratio: 16 / 9;
    height: auto;
}

.upload_extension_icon {
    width: 50px;
}

/* Toggle Button on Uploads Overview */
.uploads_list_grid_toggle {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.uploads_list_grid_toggle span {
    background: #fff;
    padding: 8px 17px;
    color: var(--ci-color);
    font-size: 16px;
    display: flex;
    justify-content: center;
}

.uploads_list_grid_toggle span.active {
    background: var(--ci-color);
    color: var(--ci-color2);
}

.uploads_list_grid_toggle span:hover {
    cursor: pointer;
}

.uploads_list_grid_toggle span:first-child {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    border: 1px solid var(--ci-color);
}

.uploads_list_grid_toggle span:last-child {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border: 1px solid var(--ci-color);
    border-left: 0;
}

/* Preview image container */

.preview_img_container {
    border-radius: 5px;
    border: 1px solid var(--ci-color);
}

#upload_preview_box .preview_img_container {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
    position: relative;
    width:140px;
}


.preview_img_container .details {
    background: #00000011;
    color: #000;
    font-size: 10px;
    padding: 3px 5px;
}

.preview_img_container .add-btn {
    background-color: var(--ci-color);
    color: #fff;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 0;
    border-color: var(--ci-color);
    display:block;
}

.preview_img_container .add-btn:hover {
    background-color: var(--ci-color);
    border-color: var(--ci-color);
}

.preview_img_container .add-btn:empty {
    display: none;
}

.preview_img_container span:not(.separator) {
    display: flex;
    position: relative;
    cursor:pointer;
}

.preview_img_container span:hover .img-overlay {
    opacity: 1;
    transition: all .3s ease-in-out;
}

.preview_img_container .img-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity:0;
    background: #00000077;
    color:white;
    font-size: 34px;
    transition: all .3s ease-in-out;
}

.preview_img_container span img {
    padding: 3px;
    width: 100%;
    object-fit: contain;
    height: 130px;
    opacity: 1;
    background: white;
}

.sub_elements {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.uploads-over-dependencies-container {
    font-size: small;
    margin-bottom: 5px;
    line-height: 1.4;
}

.uploads-over-dependencies-container a {
    display: block;
    margin-bottom: 2px;
}

.uploads-over-dependencies-container:last-child {
    margin-bottom: 0;
}

.list-container {
    border: 1px solid var(--table-border-color);
    margin-bottom: 15px;
}

.list-container .list-container-info {
    background: #f8f8f8;
    padding: 15px;
    border-bottom: 1px solid var(--table-border-color);
    font-size: 17px;
    font-weight: 600;
}

.list-container .list-container-content {
    padding: 10px 15px 15px;
    overflow-x: auto;
}

@media (min-width: 1300px) {
    .list-container:not(.minimized) {
        display: flex;
        border-radius: 5px;
        margin-bottom: 30px;
    }

    .list-container:not(.minimized) .list-container-info {
        flex: 0 0 250px;
        padding: 25px;
        border-right: 1px solid var(--table-border-color);
        border-bottom: 0;
        font-size: 20px;
    }

    .list-container:not(.minimized) .list-container-content {
        padding: 25px;
        flex-grow: 1;
    }
}

/* Tabs */
.tab-bar {
    width: 100%;
    display: flex;
}

.tab-bar .tab-bar-item {
    display: inline-block;
    padding: 10px 35px;
    font-weight: bold;
    cursor: pointer;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.tab-bar .tab-bar-item:first-child {
    border-left: 1px solid #ddd;
}

.tab-bar .tab-bar-item.active {
    background: var(--ci-color);
    color: var(--ci-color2);
    border-color: var(--ci-color);
}

.tab-content {
    width: 100%;
    border: 1px solid #ddd;
    padding: 20px;
    display: none;
}

.tab-content.active {
    display: block;
}

/* Tasks */

.tasks-container {
    display:flex;
    flex-direction: column;
    gap:20px;
}
@media (min-width: 1000px) {
    .tasks-container {
        flex-direction: row;
        gap:40px;
    }
}

.tasks-column {
    flex:1;
}

.tasks-column .tasks-headline  {
    font-size:22px;
    color:#999;
    margin-bottom:20px;
    font-weight:bold;
}

.task-create-item {
    border-top: 1px dashed #f2f2f2;
    padding:15px;
}

.task-create-item .close-comment,
.task-create-item .close-atts {
    cursor: pointer;
    margin-bottom: 5px;
    font-size: 20px;
    float: right;
}

.task-history {
    /*border-top: 1px solid #ddd;*/
}

.single-task-history {
    border-top: 1px dashed #f2f2f2;
}

.task-history .single-task-history {
    display:flex;
    gap:10px;
    padding:7px 15px;
}

.task-history:not(.show-all) .single-task-history.hide-history-element {
    display:none;
}

.single-task-history .single-task-icon {
    flex: 0 0 15px;
    color:#ddd;
    padding-top: 3px;
    font-size: 13px;
}

.single-task-history .single-task-content {
    color:#444;
    font-size:13px;
    line-height:1.4;
}

.single-task-history .single-task-content .append-history-info {
    color:#c4cad3;
    font-size: 11px;
}

.single-task-history.show-tasks-history {
    justify-content: center;
}

.simple-card {
    border: 1px solid #eee;
    width: 100%;
    display: block;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.1), 0 11px 6px -7px rgba(43, 43, 43, 0.1);
}

.simple-card .tag {
    border-radius: 100px;
    padding: 2px 13px;
    font-size: 13px;
    display:inline-block;
}

.simple-card .tag.open {
    color: #a734ba;
    background-color: #f2dcf5;
}

.simple-card .tag.inprogress {
    color: #2d86ba;
    background-color: #ceecfd;
}

.simple-card .tag.done {
    color: #13854e;
    background-color: #d6ede2;
}

.simple-card .simple-card-header {
    padding: 10px 15px 0;
}

.simple-card .simple-card-header .involved-users {
    display:flex;
    justify-content: space-between;
    padding-bottom:5px;
    margin-bottom:15px;
    border-bottom: 1px solid #eee
}
.simple-card .simple-card-header .creator,
.simple-card .simple-card-header .receivers {
    color:#777;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.simple-card .simple-card-header .receivers .show-receivers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
}


.simple-card .simple-card-header .title {
    font-weight: bold;
    font-size:18px;
    margin-top: 7px;
}

.simple-card .simple-card-content {
    padding: 5px 15px 15px;
}

.simple-card .simple-card-content p {
    margin-bottom:0;
    line-height:1.4;
}

.simple-card .simple-card-footer {
    border-top: 1px solid #ddd;
    padding: 10px 15px;
    font-size: 12px;
    color: #c4cad3;
    display: flex;
    gap:15px;
}

.simple-card .simple-card-footer span {
    display: flex;
    justify-content: center;
    align-items: center;
}

.simple-card .simple-card-footer span i {
    margin-right:5px;
}

.simple-card .simple-card-footer-action {
    border-top: 1px solid #ddd;
    padding: 10px 15px;
    font-size: 12px;
    text-align: right;
}


.route_search_closer {
    float: right;
    cursor: pointer;
    margin-left: 15px;
    font-size: 20px;
}

#bulk_uploads:after,
#upload_preview_box:after,
.modal-content:after {
    content: "";
    display: table;
    clear: both;
}

.remove-preview {
    color: red !important;
}

.default-upload-preview {
    font-size: 11px;
}

.order_ticket_listsingle {
    display: inline-flex;
    align-items: center;
}

.order_ticket_listsingle i {
    margin-right: 10px;
}

i.wait_calc{
    animation: rotation 2s infinite linear;
    display: inline-block;
}
