.modal-backdrop.in { position:fixed; }

/* Changelog Modal Styles */
.changelog-version-new {
    background-color: #f0f8ff;
    border-left: 4px solid #5cb85c;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: -10px;
    border-radius: 4px;
}
.changelog-version {
    transition: background-color 0.3s ease;
}
.changelog-year-section {
    margin-bottom: 30px;
}
/* Profile Links - Username und Version Link */
.profile-data-name a,
.crm-version-link {
    color: #3FBAE4 !important;
    text-decoration: none !important;
}
.profile-data-name a:hover,
.crm-version-link:hover {
    text-decoration: underline !important;
    color: #3FBAE4 !important;
}

/* Profile Spacing Adjustments */
.profile .profile-image {
    margin-bottom: 15px !important;
}
.profile .profile-data .profile-data-name {
    margin-top: 0;
    margin-bottom: 3px;
}
.profile .profile-data .profile-data-title {
    margin-top: 4px;
    margin-bottom: 4px;
}

/* Username Notification Icon */
.profile-data-name-wrapper {
    position: relative;
    display: inline-block;
}
.username-notification-icon {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.2s ease;
    padding: 0 10px;
    line-height: 50px;
}
.username-notification-icon-muted {
    color: #999999;
}
.username-notification-icon-active {
    color: #FF3B30;
}
.username-notification-icon .fa-envelope {
    font-size: 16px;
}
.username-notification-count {
    font-size: 12px;
    font-weight: 600;
}
/* Error Log Icon */
.error-log-icon {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.2s ease;
    padding: 0 10px;
    line-height: 50px;
}
.error-log-icon-muted {
    color: #999999;
}
.error-log-icon-active {
    color: #FF3B30;
}
.error-log-icon .fa-exclamation-triangle {
    font-size: 16px;
}
.error-log-count {
    font-size: 12px;
    font-weight: 600;
}

/* Toggle Switch Styles für Settings */
.settings-toggle-wrapper {
    position: relative;
    display: inline-block;
    padding-left: 60px;
    margin-bottom: 0;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
}

.settings-toggle-wrapper input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.settings-toggle-wrapper .toggle-switch {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 26px;
    background-color: #ccc;
    border-radius: 26px;
    transition: background-color 0.3s ease;
}

.settings-toggle-wrapper .toggle-switch:before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.settings-toggle-wrapper input[type="checkbox"]:checked ~ .toggle-switch {
    background-color: #3FBAE4;
}

.settings-toggle-wrapper input[type="checkbox"]:checked ~ .toggle-switch:before {
    transform: translateX(24px);
}

.settings-toggle-wrapper:hover .toggle-switch {
    background-color: #bbb;
}

.settings-toggle-wrapper input[type="checkbox"]:checked ~ .toggle-switch:hover {
    background-color: #2ea3c7;
}

.settings-toggle-wrapper input[type="checkbox"]:disabled ~ .toggle-switch {
    background-color: #e0e0e0;
    cursor: not-allowed;
    opacity: 0.6;
}

.settings-toggle-wrapper input[type="checkbox"]:disabled ~ .toggle-switch:before {
    background-color: #f5f5f5;
}

.settings-toggle-wrapper.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.settings-toggle-wrapper .toggle-label {
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}
.badge-changelog {
    display: inline-block;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    margin-left: 2px;
    margin-top: -7px;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    color: #fff;
    background-color: #FF3B30;
    border-radius: 9px;
    vertical-align: top;
}

.registration-container .registration-box .registration-logo,
.login-container .login-box .login-logo { background:url("../img/logo_3w.png") no-repeat center center / auto 60%;  }
.x-navigation > li.xn-logo > a:first-child { background:url("../img/logo_3w.png") no-repeat center center / auto 60%;  }
.x-navigation .last {
    min-width:185px;
}

.btn-xs-child * { font-size:1.3em !important; }
.btn-sm-child * { font-size:1.7em !important; }
.btn-md-child * { font-size:2.1em !important; }
.btn-lg-child * { font-size:2.5em !important; }
.btn-unstyled { border:none !important; background:none !important; }
.btn-unstyled:hover { color:#CCC !important; }

table th { text-align:center; }

.dn { display:none; }
.dib { display:inline-block; }
.no-border { border:none !important; }
.pad-1 { padding-top:3px !important; padding-bottom:3px !important; }
.pad-2 { padding-top:20px; }
.pad-3 { padding-top:8px; }
.pad-4 { padding-top:40px; }
.np { padding:0 !important; }
.np-l { padding-left:0 !important; }
.np-r { padding-right:0 !important; }
.w49 { width:49%; }
.w100px { width:100px; }
.c { clear:both; }
.cn { cursor:auto; }
.cp { cursor:pointer; }
.fb { font-weight:bold; }
.fs-125 { font-size:1.25rem; }
.dn { display:none !important; }
.lft { text-align:left; }
.ctr { text-align:center; }
.rgt { text-align:right; }
.f-lft { float:left; }
.f-rgt { float:right; }
.color-black { color:#000; }
.color-green { color:#95b75d; }
.color-green2 { color:#c3e58b; }
.color-blue { color:#00F; }
.color-red { color:#FF7D73; }
.color-red2 { color:#a43f3e; }
.color-red3 { color:#FF0000 !important; }
.color-red4 { color:#EE2841 !important; }
.color-gray, .color-gray a { color:#d3d3d3; }
.color-darkgray, .color-darkgray a { color:#999; }
.vert-middle { vertical-align:middle !important; }
.vert-middle-child > * { vertical-align:middle !important; }
.btn.disabled,
.cur-na { cursor:not-allowed; pointer-events: all !important; }

table .bg-highlight1 { background-color:#d2f9d2 !important; }
table .bg-highlight2 { background-color:#f9f5d2 !important; }
table .bg-highlight3 { background-color:#ffedcc !important; }
table .domain-review-marked { background-color:#fff3cd !important; }
table#domainListTable tbody tr.selected { background-color: inherit !important; }
table#domainListTable tbody tr:focus { outline: none !important; }
table#domainListTable tbody tr:hover { background-color: inherit !important; }
table#domainListTable tbody tr.domain-review-marked:hover { background-color:#fff3cd !important; }

/* Kompakte Dropzone mit kleinerem Icon */
.dropzone.dropzone-compact {
    min-height: 60px !important;
    max-height: 60px !important;
    height: 60px !important;
}
.dropzone.dropzone-compact .dz-message {
    height: 45px !important;
    min-height: 45px !important;
}
.dropzone.dropzone-compact .dz-message:after {
    font-size: 30px !important;
    width: 30px !important;
    height: 30px !important;
    margin-left: -15px !important;
    top: 5px !important;
    line-height: 30px !important;
}

.flag-ch { background-image: url(../img/flags/ch.png); }
.flag-at { background-image: url(../img/flags/at.png); }
.flag-it { background-image: url(../img/flags/it.png); }
.flag-dk { background-image: url(../img/flags/dk.png); }
.flag-fr { background-image: url(../img/flags/fr.png); }
.flag-bl { background-image: url(../img/flags/be.png); }
.flag-ge { background-image: url(../img/flags/gr.png); }
.flag-ir { background-image: url(../img/flags/ie.png); }
.flag-lu { background-image: url(../img/flags/lu.png); }
.flag-li { background-image: url(../img/flags/li.png); }
.flag-nl { background-image: url(../img/flags/nl.png); }
.flag-no { background-image: url(../img/flags/no.png); }
.flag-pt { background-image: url(../img/flags/pt.png); }
.flag-pl { background-image: url(../img/flags/pl.png); }
.flag-sk { background-image: url(../img/flags/sk.png); }
.flag-sa { background-image: url(../img/flags/sa.png); }
.flag-si { background-image: url(../img/flags/si.png); }
.flag-sp { background-image: url(../img/flags/es.png); }
.flag-se { background-image: url(../img/flags/se.png); }
.flag-cz { background-image: url(../img/flags/cz.png); }
.flag-hu { background-image: url(../img/flags/hu.png); }
.flag-uk { background-image: url(../img/flags/gb.png); }
.flag-us { background-image: url(../img/flags/us.png); }

@media (min-width: 1200px) {
    .modal-xl {
        width: 1000px;
    }
}

.c3w-grid-row-hover:hover {
    background-color:#F5F5F5;
}

.icon-3w {
    background-image:url(../img/logo_3w.svg);
    background-repeat:no-repeat;
    width:26px;
    height:13px;
    top:0px;
    display:inline-block;
    position:relative;
}
.icon-rp {
    background-image:url(../img/logo_rp.svg);
    background-repeat:no-repeat;
    width:19px;
    height:19px;
    top:3px;
    display:inline-block;
    position:relative;
}

.bgWe:hover td,
.bgWe { background:#CCCCCC !important; }
.bgFt:hover td,
.bgFt { background:#FF7D73 !important; }
.bgFt2:hover td,
.bgFt2 { background:#FBCCCC !important; }
.bgHoliday:hover td,
.bgHoliday { background:#beff7b !important; }
.bgDisease:hover td,
.bgDisease { background:#69AAE4 !important; }
.bgFe { background:#EEEEEE; }
.cGreen { color:#95b75d; }
.cRed { color:#FF7D73; }

.b-top-2 { border-top:2px solid #000; }

/* new indiv. status colors */
.tile-schedule,
.tile-schedule *,
.btn-schedule,
.label-schedule { background-color:#F0E68C !important; color:#000 !important; }
.tile-condensed,
.tile-condensed *,
.btn-condensed,
.label-condensed { background-color:cyan !important; color:#000 !important; }
.tile-muted,
.tile-muted *,
.btn-muted,
.label-muted { background-color:#CCD0D9 !important; color:#000 !important; }
.text-muted { color:#AAA !important; }

tr.schedule td { background:lightyellow !important; }
tr.condensed td { background:lightcyan !important; }
tr.muted td { background:#CCD0D9 !important; }
tr.warning td { background:#FFE5B4 !important; }
tr.danger td { background:#FFC0CB !important; }


#bg-grey { width:100%; height:100%; display:none; position:fixed; z-index:15000; top:0; left:0; background:#CCC; opacity:0.8; text-align:center; }
#bg-grey div { margin-left:-15px; margin-top:-15px; width:31px; height:31px; position:absolute; z-index:15001; top:50%; left:50%; background:url('../img/loading_fff.gif') center center no-repeat; }

.margin-left-1 { margin-left:10px; }
.margin-left-2 { margin-left:20px; }
.margin-left-3 { margin-left:30px; }
.margin-left-4 { margin-left:40px; }

.margin-right-05 { margin-right:5px; }
.margin-right-1 { margin-right:10px; }
.margin-right-2 { margin-right:20px; }
.margin-right-3 { margin-right:30px; }
.margin-right-4 { margin-right:40px; }
.margin-bottom-05 { margin-bottom:5px; }
.margin-bottom-1 { margin-bottom:10px; }
.margin-bottom-2 { margin-bottom:20px; }
.margin-bottom-3 { margin-bottom:30px; }
.margin-bottom-4 { margin-bottom:40px; }
.margin-top-1 { margin-top:10px; }
.margin-top-2 { margin-top:20px; }
.margin-top-3 { margin-top:30px; }
.margin-top-4 { margin-top:40px; }
.nowrap { white-space:nowrap; }
.has-error,
.form-group-error .form-control .btn-default { border-color:#ff0000 !important; }

.c3w-progress {
    font-size:10px;
    text-align:left;
    width:100%;
    height:10px;
    position:relative;
    background:linear-gradient(to right, #e5405e 0%, orange 33%, #ffdb3a 67%, #3fffa2 100%);
}
.c3w-progressbar {
    background-color:#f1f1f1;
    height:100%;
    position:absolute;
    line-height:inherit;
    right:0;
}
.c3w-ticket-soll-sum-col {
    text-align:right !important;
}

#order-warning,
#dashboard-detail { display:none; }
.page-content { height:auto !important; }

.timeline .timeline-item.task-type-2 .timeline-item-content { background-color:#D9EDF7; }
.timeline .timeline-item.task-type-3 .timeline-item-content { background-color:#FCF8E3; }
.dataTables_length { height:40px; }
#reportings-overview .panel-heading table tr th {
    font-size:16px;
}
#reportings-overview .panel-heading table tr th,
#reportings-overview .panel-heading table tr td {
    padding:4px 8px;
}
#reportings-overview .panel-heading table tr td select {
    width:100%;
}
#reportings-overview table.c3w-reporting-filter {
}
#orderTable { width:100% !important; }
#orderTable th {
    text-align:left;
}
#orderTable th:last-child {
    text-align:right;
}
#orderTable_filter {
    width:100%;
    margin-bottom:7px;
    padding-top:7px;
}
#orderTabletbody tr:hover { background-color:#EFEFEF; }
#orderTableBox { display:none; }

.tile { font-size:32px; }
#modal_new_invoice .modal-dialog { width:1200px; }
#modal_new_invoice .note-editable { height:120px !important; }
#overview-type > a { cursor:pointer; }
#orderStates { width:100%; }
#orderStates .btn { padding-left:5px; padding-right:10px; font-size:11px; width:50%; }
#orderStates .btn.btn-full-width { width:100%; }
#modal_change_infos .modal-dialog { width:80%; }
.fc-event-skin.finished, .fc-event.finished { background:#95b75d !important; border:none !important; }
.fc-unthemed .fc-today { background:#999; }

.btn-plenty { cursor:default; background-color:#008EBD; color:#FFF; }
.btn-foto { cursor:default; background-color:yellow; }
.btn-hosting { cursor:default; background-color:cyan; }
.btn-wordpress { cursor:default; background-color:#000; color:#FFF; }
.btn-grafik { cursor:default; background-color:#FFC0CB; }
.btn-om { cursor:default; background-color: #caa0d2; color:#FFF; }
.btn-other { cursor:default; background-color:transparent; }
.btn-3w { cursor:default; background-color:rgb(196, 50, 53); color:#FFF; }
.btn-n-a { cursor:default; background-color:transparent; color:#F00; border:1px solid #F00; }
.btn-XXX { cursor:default; background-color:#dff0d8; }

#import-payment .form-import-upload div { line-height:40px; }
#import-payment .form-import-list div { line-height:40px; }
#import-payment .form-import-list ul { list-style:none; }
#import-payment .form-import-list input { margin-right:10px; }
#import-payment .form-import-list button { margin-left:10px; }

#order-overview {
    padding:0 !important;
}
#order-overview-filter .btn {
    border:0;
}
#order-overview-filter #orderOverviewFilterEmployee .bootstrap-select .dropdown-menu {
    width:325px;
}

#employee-working-hours .form-control[disabled],
#employee-working-hours .form-control[readonly]  { color:#000; cursor:pointer; }

#employee-overview .employee-list-row {
    text-overflow:ellipsis;
    overflow:hidden;
    height:3.5em;
    white-space:nowrap;
    width:100%;
    max-width:100%;
}
#employee-overview .employee-list-row.row-company-deprtment {
    height:2.5em;
}
.employee-phone-edit {
    padding:4px;
}
.employee-phone-call,
.employee-phone-cancel,
.employee-phone-inactive {
    padding:6px;
}
.employee-phone-edit,
.employee-phone-call,
.employee-phone-cancel {
    border-radius:10px;
}
.employee-phone-edit,
.employee-phone-call {
    color:#95b75d;
    border:1px solid #95b75d;
}
.employee-phone-cancel {
    color:#FF0000;
    border:1px solid #FF0000;
}
.employee-phone-inactive {
    color:lightgray;
    border:1px solid transparent;
    cursor:default;
    text-decoration:line-through;
}

#employee-features .user-dir:hover { background-color:lightgray; }

#customerTable_filter { border-bottom:none; }
#collpase-accounts-head::after {
    font-family: 'Glyphicons Halflings';
    content: "\e114";
    float: right;
    color: grey;
    font-size:16px;
    line-height:30px;
}
#collpase-accounts-data * {
    overflow:hidden;
}
#collpase-accounts-data .collpase-accounts-data-table {
    background-color:#fff;
}

#modal_new_task ul.dropdown-menu.inner.selectpicker {
    max-height:400px !important;
}
#modal_new_task_ticket .d3w-subtickets .d3w-subticket-list,
#modal_edit_employee_report .d3w-employee-report-item .d3w-employee-report-item-list,
#modal_edit_employee_report_template .d3w-employee-report-template .d3w-employee-report-template-list {
    padding:7px;
    padding-left:0;
    padding-right:0;
}
#modal_new_task_ticket .d3w-subtickets .d3w-subticket-list .row > div {
    padding-left:0;
}
#modal_new_task_ticket .d3w-subtickets .s3w-subticket-add,
#modal_edit_employee_report_template .d3w-employee-report-template .s3w-employee-report-template-add,
#modal_new_buying_order .s3w-buying-order-item-add-button {
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    top: 8px;
    right: 9px;
    border: 1px solid #ccc;
    padding: 0 10px;
    border-radius: 50%;
}
#modal_new_buying_order .s3w-buying-order-item-add-button.disabled {
    cursor:default;
}
#modal_new_task_ticket .d3w-subtickets .s3w-subticket-add:hover,
#modal_edit_employee_report_template .d3w-employee-report-template .s3w-employee-report-template-add:hover,
#modal_new_buying_order .s3w-buying-order-item-add-button:not(.disabled):hover {
    background-color:#ccc;
}
#modal_edit_employee_report .d3w-employee-report-item .d3w-employee-report-item-list .data-3w-employee-report-item-id {
    padding-top:4px;
    padding-bottom:4px;
}
#modal_edit_employee_report .d3w-employee-report-item .d3w-employee-report-item-list .data-3w-employee-report-item-id > div:first-child {
    margin-top:7px;
}

.profile-data-logout-timer {
    display:block;
    padding:15px 10px;
    float:left;
    line-height:20px;
    min-width: 140px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.profile-data-logout-timer-active {
    visibility: visible !important;
    opacity: 1 !important;
}
.profile-data-logout-timer-marked {
    color:#fff;
    background-image: linear-gradient(125deg, #B64645, #FEA223, #B64645, #FEA223);  background-size: 400%;
    animation: profile-data-logout-timer-animation 15s infinite;
}
.profile-data-logout-timer-marked-finish {
    background-image:none;
    background-color:#B64645;
}
@keyframes profile-data-logout-timer-animation {
    0%{
        background-position: 0% 50%;
    }
    50%{
        background-position: 100% 50%;
    }
    100%{
        background-position: 0% 50%;
    }
}








#tasksTimeline .dropdown-toggle-split::after,
#orderTable .dropdown-toggle-split::after,
#tasksTimeline .dropright .dropdown-toggle-split::after,
#orderTable .dropright .dropdown-toggle-split::after,
#tasksTimeline .dropup .dropdown-toggle-split::after,
#orderTable .dropup .dropdown-toggle-split::after {
    margin-left: 0;
}
#tasksTimeline .dropdown-toggle-split,
#orderTable .dropdown-toggle-split,
#tasksTimeline .dropdown-toggle-split:hover,
#orderTable .dropdown-toggle-split:hover {
    border-left:1px solid #F5F5F5 !important;
}
#tasksTimeline .taskStatus,
#orderTable .taskStatus,
#tasksTimeline .taskStatus:hover,
#orderTable .taskStatus:hover {
    border-right:1px solid #F5F5F5 !important;
}
#tasksTimeline .dropdown-toggle::after,
#orderTable .dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}
#tasksTimeline .dropdown-menu,
#orderTable .dropdown-menu {
    background:none;
    border:none;
    box-shadow:none;
    top:19px;
    max-width:calc(100vw - 90%) !important;
    text-align:center;
}
#tasksTimeline .dropdown-menu::after,
#tasksTimeline .dropdown-menu::before {
    right:60px;
    left:auto;
}
#orderTable .dropdown-menu::after,
#orderTable .dropdown-menu::before {
    right:71px;
    left:auto;
}
#tasksTimeline .taskStatus,
#tasksTimeline .dropdown-menu .taskStatusMulti,
#tasksTimeline .dropdown-menu button {
    width:120px !important;
}
#orderTable .taskStatus,
#orderTable .dropdown-menu .taskStatusMulti,
#orderTable .dropdown-menu button {
    width:110px !important;
}
#orderTable .dropdown-toggle-split {
    padding-left:7px !important;
}
#tasksTimeline .dropdown-menu .taskStatusMulti,
#orderTable .dropdown-menu .taskStatusMulti {
    float:right;
    background:#dedede;
    display:inline-block;
    border-radius:5px;
    padding:2px;
}
#tasksTimeline .dropdown-menu .taskStatusMulti {
    width:124px !important;
    margin-right:54px;
}
#orderTable .dropdown-menu .taskStatusMulti {
    width:114px !important;
    margin-right:65px;
}
#tasksTimeline .dropdown-menu button,
#orderTable .dropdown-menu .taskStatusMulti {
    margin-bottom:1px;
}
#tasksTimeline .timeline-item {
    z-index:auto !important;
}
#tasksTimeline .btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
    border-radius:5px;
}
#tasksTimeline .timeline-item.timeline-item-state4 .timeline-item-content {
    background:rgba(149, 183, 93, 0.3);
}
#tasksTimeline .timeline-item.timeline-item-state5 .timeline-item-content {
    background:rgba(51, 65, 78, 0.3);
}
#tasksTimeline .timeline-item.timeline-item-state6 .timeline-item-content {
    background:rgba(255, 255, 255, 0.4);
}
#tasksTimeline .timeline-item.timeline-item-state4 .timeline-item-content .timeline-heading *,
#tasksTimeline .timeline-item.timeline-item-state4 .timeline-item-content .timeline-body,
#tasksTimeline .timeline-item.timeline-item-state4 .timeline-item-content .timeline-body * {
    color:#33414E !important;
    background:none !important;
}
#tasksTimeline .timeline-item.timeline-item-state5 .timeline-item-content .timeline-heading *,
#tasksTimeline .timeline-item.timeline-item-state5 .timeline-item-content .timeline-body,
#tasksTimeline .timeline-item.timeline-item-state5 .timeline-item-content .timeline-body * {
    color:#FFF !important;
    background:none !important;
}
#tasksTimeline .timeline-item.timeline-item-state4 .timeline-item-content .timeline-footer,
#tasksTimeline .timeline-item.timeline-item-state5 .timeline-item-content .timeline-footer,
#tasksTimeline .timeline-item.timeline-item-state6 .timeline-item-content .timeline-footer {
    background:none;
}
#tasksTimeline .timeline-item.timeline-item-state6 .timeline-item-content .timeline-body {
    opacity:0.4;
}

/* employee overview */
.c3w-panel-employee .panel-body { line-height:2.25; }

/* custom button style */
#taskTableBox #orderTable.dataTable .btn {
    padding-left:10px;
}
#tasksTimeline .btn-group.taskActions > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle){
    border-radius:0 !important;
}
#tasksTimeline .btn-group.taskActions > .btn.btn-default:not(:first-child):not(:last-child):not(.dropdown-toggle),
#taskTableBox #orderTable.dataTable .btn.btn-default {
    border-color:#000 !important;
}

#modal_edit_buying_item_standard .data-3w-buying-item-standard-head {
    font-weight:bold;
    padding:10px;
}

#orderDoc .btn.btn-secondary,
#buyingOrderListTable .btn.btn-secondary,
#reportingListTable .btn.btn-secondary,
#tasksTimeline .btn-group.taskActions > .btn.btn-secondary,
#taskTableBox #orderTable.dataTable .btn.btn-secondary,
#modal_new_task_ticket .d3w-subtickets .d3w-subticket-list .btn.btn-secondary,
#modal_edit_employee_report_template .d3w-employee-report-template .d3w-employee-report-template-list .btn.btn-secondary {
    border-color:#F00 !important;
    color:#F00 !important;
}
#modal_new_task_ticket .d3w-subtickets .d3w-subticket-list .btn.btn-secondary,
#modal_edit_employee_report_template .d3w-employee-report-template .d3w-employee-report-template-list .btn.btn-secondary {
    padding:4px 5px 3px 10px;
}
#orderDoc .btn.btn-secondary > span,
#buyingOrderListTable .btn.btn-default > span,
#buyingOrderListTable .btn.btn-primary > span,
#buyingOrderListTable .btn.btn-secondary > span,
#reportingListTable .btn.btn-default > span,
#reportingListTable .btn.btn-primary > span,
#reportingListTable .btn.btn-secondary > span,
#tasksTimeline .btn-group.taskActions > .btn.btn-default > span,
#tasksTimeline .btn-group.taskActions > .btn.btn-secondary > span {
    margin-right:0;
}

/* modal - buyingOderItemList */
#modal_new_buying_order .d3w-buying-order-item-list .c3w-buying-order-item-head {
    font-weight:bold;
}
#modal_new_buying_order .d3w-buying-order-item-list .c3w-buying-order-item-standard-name label {
    font-weight:normal;
}
#modal_new_buying_order .d3w-buying-order-item-list .buyingOrderItemActions .btn.btn-default {
    padding:4px 5px 3px 10px;
}
#modal_new_buying_order .d3w-buying-order-item-list .btn.btn-secondary {
    border-color:#F00 !important;
    color:#F00 !important;
    padding:4px 5px 3px 10px;
}
#modal_new_buying_order input[type=number] {
    text-align:center;
    padding:0;
}


/* Order Termin Mitarbeiter-Liste */
.meetingEmployee ul.dropdown-menu {
    min-width:350px !important;
}
.profile-image > img {
    background-color:#fff;
}
.page-container .page-sidebar .page-domain-info {
    padding-top:30px;
}
.page-container .page-sidebar .page-domain-info > div:first-child {
    background-color: #26344e;
    transition: all 200ms ease;
    display: block;
    float: left;
    width: 100%;
    line-height: 19px;
    color: #FFF;
    font-size: 13px;
    font-weight: 400;
    padding: 15px 10px 15px 15px;
    text-decoration: none;
    border-bottom: 1px solid #1b2436;
    vertical-align: text-bottom;
    cursor:pointer;
}
.page-container .page-sidebar .page-domain-info > div:first-child .fa {
    color: #EE2841;
    text-align: center;
    width: 20px;
    font-size: 14px;
    margin-right: 10px;
    vertical-align: baseline;
    -webkit-transition: color 200ms ease;
    -moz-transition: color 200ms ease;
    -ms-transition: color 200ms ease;
    -o-transition: color 200ms ease;
    transition: color 200ms ease;
}
.page-container .page-sidebar .page-domain-info .page-domain-info-bar {
    padding:15px 15px 15px 15px;
    width:100%;
    float:left;
    background:#f5f5f5 url('../img/bg.png') left top repeat;
    border:2px solid #26344e;
}
.page-container .page-sidebar .page-domain-info .page-domain-info-bar .rowEnd:not(:last-child) {
    padding-bottom:15px;
}
.page-container .page-sidebar .page-admin-info-bar {
    padding:50px 15px 25px 15px;
    width:100%;
    float:left;
    background-color:#1E293D;
}

/* Loading Overlay ----->> */
.c3w-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: none;
}

.c3w-loading-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

.c3w-loading-spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: c3w-loading-spin 1s linear infinite;
    margin: 0 auto 20px;
}

.c3w-loading-message {
    font-size: 16px;
    font-weight: 500;
}

@keyframes c3w-loading-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* <<----- Loading Overlay */

/* Loading icons ----->> */
.c3w-loader-001 {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: c3w-loader-001-spin 2s linear infinite;
}
@keyframes c3w-loader-001-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.c3w-loader-002 {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.c3w-loader-002 div {
    position: absolute;
    border: 4px solid #fff;
    opacity: 1;
    border-radius: 50%;
    animation: c3w-loader-002 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.c3w-loader-002 div:nth-child(2) {
    animation-delay: -0.5s;
}
@keyframes c3w-loader-002 {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }
    4.9% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }
    5% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}
.c3w-loader-003 {
    display: inline-block;
    position: relative;
    width:30px;
    height:15px;
    margin-bottom:-4px;
}
.c3w-loader-003 div {
    display: inline-block;
    position: absolute;
    left:5%;
    width:15%;
    background:#cc2828;
    animation: c3w-loader-003 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
.c3w-loader-003 div:nth-child(1) {
    left:10%;
    animation-delay: -0.24s;
}
.c3w-loader-003 div:nth-child(2) {
    left:40%;
    animation-delay: -0.12s;
}
.c3w-loader-003 div:nth-child(3) {
    left:70%;
    animation-delay:0s;
}
@keyframes c3w-loader-003 {
    0% {
        top:5%;
        height:30%;
    }
    50%, 100% {
        top:20%;
        height:60%;
    }
}
/* <<----- Loading icons */

.bootstrap-durationpicker-widget,
.bootstrap-timepicker-widget {
    z-index:1051;
}
.datepicker .datepicker-days td.cw {
    background-color:#e8e8e8;
}

.datepicker .datepicker-days td.today {
    border:1px solid #a3a3a3;
}
.d-reporting input {
    float:left;
    width:auto;
}
.icon-chevron-up,
.icon-chevron-down {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    margin-top: 2px !important;
    font-size: 6px !important;
    color: #333 !important;
}
.icon-chevron-up:before {
    content: "\e113";
}
.icon-chevron-down:before {
    content: "\e114";
}

/* indiv. Kalender/Task Ansicht (Foto) */
#order-overview #calendar .fc-event-container > a.task-bdr-1 {
    border-left:20px solid blue !important;
}
#order-overview #calendar .fc-event-container > a.task-bdr-2 {
    border-left:20px solid darkgreen !important;
}
#order-overview #calendar .fc-event-container > a.task-bdr-3 {
    border-left:20px solid purple !important;
}
#order-overview #calendar .fc-event-container > a {
    text-align:left;
    padding-left:10px;
    cursor:pointer;
}
#order-overview #calendar .fc-event-container > a.fc-not-start {
    padding-left:13px;
}
#order-overview #calendar .fc-day-grid-container {
    height:auto !important;
}

#hardwareStatsTable tr thead,
#employeeStatsTable tr thead {
    background-color:transparent;
}
#domainsStatsTable thead td {
    text-align:center;
    font-weight:bold;
}
#hardwareStatsTable tbody,
#employeeStatsTable tbody {
    background-color:#F8FAFC;
}
#modal_hardware_protokoll .d3w-protokoll-list {
    padding:10px;
}
#modal_hardware_protokoll .d3w-protokoll-list > div {
    border:1px solid transparent;
    padding:2px;
}
#modal_hardware_protokoll .d3w-protokoll-list > div:hover {
    border:1px solid #F5F5F5;
    background:#F5F5F5;
}

#domainListTable tbody tr:hover td {
    background-color:#ccc !important;
    cursor:pointer;
}

/* dataTables searchPanes */
.dtsp-panesContainer .dtsp-disabledButton {
    color:rgb(211, 211, 211) !important;
}
div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane {
    margin-top:0 !important;
}

.danger-blink-bg {
    color:#000;
    animation: blinkingBackground 2s infinite;
}
@keyframes blinkingBackground {
    0%		{ background-color: red; }
    100%    { background-color: #fff; }
}
.text-blink-2s {
     animation: blinker 2s linear infinite;
 }

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.d3w-customer-domain > span {
    width:20px;
    height:20px;
    display:block;
    margin:3px;
    padding:1px 4px;
    font-weight:bold;
    background-color:#F5F5F5;
    color:#D3D3D3;
    cursor:pointer;
    border:1px solid #D3D3D3;
    border-radius:15px;
    font-size:12px;
}
.d3w-customer-domain > span:hover {
    color:#656D78;
}
.d3w-customer-domain .d3w-customer-domain-list {
    border:2px solid #F5F5F5;
    padding:5px;
}

/* Customer Project Filter - Inactive State */
.customer-project-filter-btn.filter-inactive {
    opacity: 0.25 !important;
    border: 2px dashed #999 !important;
    text-decoration: line-through !important;
    color: #999 !important;
    /* background-color bleibt die ursprüngliche Button-Farbe */
}

/* Cronjob Groups - API-spezifische Styles */
.cronjob-group {
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    clear: both;
    overflow: hidden;
}

.cronjob-group.cronjob-group-easybill {
    background-color: #f0f7ff;
    border: 2px solid #337ab7;
    border-left: 8px solid #337ab7;
}

.cronjob-group.cronjob-group-easybill .cronjob-group-title {
    color: #337ab7;
    font-size: 16px;
}

.cronjob-group.cronjob-group-shore_inventorum {
    background-color: #f0f9f0;
    border: 2px solid #5cb85c;
    border-left: 8px solid #5cb85c;
}

.cronjob-group.cronjob-group-shore_inventorum .cronjob-group-title {
    color: #5cb85c;
    font-size: 16px;
}

.cronjob-group.cronjob-group-autodns {
    background-color: #fff9f0;
    border: 2px solid #f0ad4e;
    border-left: 8px solid #f0ad4e;
}

.cronjob-group.cronjob-group-autodns .cronjob-group-title {
    color: #f0ad4e;
    font-size: 16px;
}

.cronjob-group.cronjob-group-disabled {
    opacity: 0.5;
}

/* Panel innerhalb der Cronjob-Gruppen - Hintergrund anpassen */
.cronjob-group .panel {
    background-color: transparent;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.cronjob-group .panel .panel-heading {
    background-color: rgba(255,255,255,0.5);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.cronjob-group .panel .panel-body {
    background-color: rgba(255,255,255,0.3);
}

/* API-spezifische Panel-Farben */
.cronjob-group-easybill .panel {
    border-color: rgba(51, 122, 183, 0.2);
}

.cronjob-group-easybill .panel .panel-heading {
    background-color: rgba(240, 247, 255, 0.8);
    border-bottom-color: rgba(51, 122, 183, 0.2);
}

.cronjob-group-easybill .panel .panel-body {
    background-color: rgba(240, 247, 255, 0.5);
}

.cronjob-group-shore_inventorum .panel {
    border-color: rgba(92, 184, 92, 0.2);
}

.cronjob-group-shore_inventorum .panel .panel-heading {
    background-color: rgba(240, 249, 240, 0.8);
    border-bottom-color: rgba(92, 184, 92, 0.2);
}

.cronjob-group-shore_inventorum .panel .panel-body {
    background-color: rgba(240, 249, 240, 0.5);
}

.cronjob-group-autodns .panel {
    border-color: rgba(240, 173, 78, 0.2);
}

.cronjob-group-autodns .panel .panel-heading {
    background-color: rgba(255, 249, 240, 0.8);
    border-bottom-color: rgba(240, 173, 78, 0.2);
}

.cronjob-group-autodns .panel .panel-body {
    background-color: rgba(255, 249, 240, 0.5);
}
