.modal {
    --bs-modal-width: 650px !important;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

body.bg-archiv {
    background: url('/archiv.svg') no-repeat 2rem center;
    background-size: auto 75%;
}

#bc ul {
    list-style: none;
}

#bc ul li {
    display: inline-block;
    color: #444;
}

#bc ul li a {
    color: #444;
    text-decoration: underline;
}

#bc ul li:last-child:after {
    display: none;
}

#bc ul li:after {
    content: "/";
    display: inline-block;
    margin-left: 8px;
    margin-right: 6px;
    color: #aaa;
}

header {
    border-bottom: 3px solid #0083b3;
}

header > div:nth-child(1) {
    border-right: 1px solid #888 !important;
}

header > div:nth-child(2) {
    letter-spacing: 0.1em;
}

header .w3-row{
    display: flex;
}

header .w3-col{
    align-content: center;
    position: relative;
}

header > div:nth-child(2) > span,
header > div:nth-child(2) ul {
    display: block;
    width: 100%;
    max-width: 1600px;
    margin: auto;
    line-height: 1.8em;
}

.cutCornerLeft {
    height: 75px;
    background-image: url('../Logo.png');
    background-position: 30px center;
    background-size: auto 60px;
    background-repeat: no-repeat;
    border-bottom: 3px solid #0083b3;
}
.cutCornerLeft:before {
    position:absolute; right:-1px; top:1px; content:'';
    border-bottom: 75px solid #fff;
    border-left: 56px solid transparent;
}

.cutCornerRight {
    padding-left: 30px; 
    padding-right: 20px;
    border-bottom: 3px solid #0083b3;
}
.cutCornerRight:before {
    position:absolute; left:-1px; top:1px; content:'';
    border-bottom: 75px solid #fff;
    border-right: 56px solid transparent;
}

.content {
    overflow: auto;
}
.upload-overwrite,
.upload-successfull {
    display: block;
    border: 1px solid #999;
    padding: 6px 25px;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
    margin-bottom: 5px;
}

.task > ul > li {
	border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.task > ul > li:last-child {
	border-bottom: 0px solid #ccc;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

#edit_taskhead {
    border: 1px solid #888;
    background-color: #fff;
    border: 1px solid #dee2e6;
    padding: 1rem;
}

#edit_taskhead label {
    margin-top: 15px;
    display: block;
}

#edit_taskhead label:first-child {
    margin-top: 0px;
}

.limitsize {
    width: 100%;
    max-width: 1600px;
    margin: auto;
}

#data_atta,
#data_taskbody,
#data_accountbody {
    border: 1px solid #888;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-bottom: 0px;
}

#data_accountbody table tr.accdisabled td{
    color: #888;
}

#data_accountbody table tr.accdisabled td:nth-child(1):before{
    content: 'Account gesperrt';
    display: inline-block;
    width: auto;
    background-color: #666;
    color: #fff;
    font-size: 85%;
    border-radius: 4px;
    padding: 4px 8px;
    margin-right: 8px;
}

#data_taskbody table {
    margin-bottom: 0;
}

#data_taskbody table th:nth-child(1) {
    width: 250px;
}

#data_taskbody table th:nth-child(3) {
    width: 150px;
}

#data_atta table th:nth-child(2), 
#data_taskbody table th:nth-child(4) {
    width: 200px;
}

#data_atta table td:nth-child(2) {
    text-align: right;
}

.box_jobdetails {
    position: relative;
    margin-left: 10px;
    padding-left: 15px;
    border-left: 2px solid #000;
}

.box_jobdetails:before {
    content: '';
    display: block;
    border: 1px solid black;
    background-color: white;
    width: 6px;
    height: 6px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    position: absolute;
    left: -4px;
    top: 0px;
}

.box_jobdetails:after {
    content: '';
    display: block;
    border: 1px solid black;
    background-color: black;
    width: 6px;
    height: 6px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    position: absolute;
    left: -4px;
    bottom: 0px;
}

.box_jobdetails a {
    color: #0096cc;
    color: orangered;
    letter-spacing: 0.1em;
    text-decoration: none;
}

.box_jobdetails a:before {
    content: "";
    display: inline-block;
    background: url('../link.png');
    background-size: 16px 16px;
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    position: relative;
    top: 2px;
    margin-right: 4px;
}

#info_prios {
    width: 100%;
    max-width: 1600px;
    margin: auto;
}

#info_prioindicator {
    height: 18px;
    border: 1px solid #888;
    background: rgb(2,0,36);
    background: linear-gradient(90deg, 
        rgba(139,0,0,1) 0%, 
        rgba(255,255,0,1) 50%, 
        rgba(0,0,255,1) 100%);
}

.assigned {
    color: #0083b3;
    padding-left: 10px;
}

.assigneduser {
    display: block;
    color: #0083b3;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 4px;
    font-size: 85%;
}

.num_employees {
    font-size: 88%;
}

.num_employees .fa {
    margin-left: 5px;
}

.job_details {
    color: #0083b3;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 4px;
    font-size: 85%;
    margin-top: 2px;
}

.task-header {
    flex: 1;
}

.task-dof {
     margin-right: 15px;
}

/* The animation code */
@keyframes DateExeeded {
  from {color: red;}
  to {color: blue;}
}

.task-dof-warning {
	font-weight: 600;
  animation-name: DateExeeded;
  animation-duration: 0.75s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.accordion-item {
    margin-bottom: 12px;
    border-top: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color) !important;
}

.accordion-item:last-of-type {
}

.accordion-header .accordion-button {
    align-items: flex-start;
    padding-bottom: 8px;
}

.accordion-header .accordion-button.alert {
    margin-bottom: 0;
    border-radius: 0;
}

.accordion-button.alert-info:not(.collapsed) {
    color: var(--bs-accordion-active-color) !important;
    background-color: #91b7f1 !important;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color) !important;
}

.accordion-button.alert-warning:not(.collapsed) {
    color: var(--bs-accordion-active-color) !important;
    background-color: #ffdd71 !important;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color) !important;
}

.accordion-header .accordion-button:not(.collapsed) {
    background-color: #eee;
    box-shadow: none;
}

.accordion-header .accordion-button .btn-edit{
    padding: 0 8px 0 0;
    color: #333;
}

.accordion-header .accordion-button .btn-edit:hover{
    color: #dc3545;
}
.accordion-body > .navbar {
    margin-left: -20px;
    margin-top: -16px;
    margin-right: -20px;
    padding: 0;
}

.accordion-body > .navbar > .container-fluid {
    justify-content: end;
}
.accordion-body > .navbar {
    margin-left: -20px;
    margin-top: -16px;
    margin-right: -20px;
    padding: 0;
}
.accordion-body ul li {
    position: relative;
}

a.accordion-button {
    text-decoration: none;
}

a.accordion-button::after  {
    display: none;
}

@media screen and (max-width: 600px) {
  .accordion-button {
    flex-wrap: wrap;
    flex-direction: row;
  }
  
  .accordion-button .task-prio {
    order: 1;
    flex: 1;
    max-width: fit-content;
  }
  
  .accordion-button .task-dof{
    order: 2;
    flex: 1;
    text-align: right;
  }
  
  .accordion-button::after{
    order: 3;
  }
  
  .accordion-button .task-header{
    order: 4;
    flex: 1 0 100%;
  }
}

@media screen and (max-width: 991px) {
  .task-dof strong {
    display: none;
  }
}