/* maximize the quality control popups */
div[id^=commentPopup_][id$=-popup], div[id^=uploadPopup_][id$=-popup] {
    width: 90%;
    left: 5%;
    right: 5%
}

div[id^=headerTextPopup_] {
    width: 90%;
    left: 5%;
    right: 5%
}


/* css for the whole mobile view */
div[class|=ui-grid] {
    text-align: center;
}


/* placeholder for searched text */
input.overridePlaceholderColor::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #333333;
}

input.overridePlaceholderColor:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #333333;
    opacity: 1;
}

input.overridePlaceholderColor::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #333333;
    opacity: 1;
}

input.overridePlaceholderColor:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #333333;
}

/* For KeyPlanning detail modal */
.otherEventsTable {
    font-weight: lighter;
    font-size: small;
    margin: .5em !important;
}

    .otherEventsTable td {
        padding-right: 5px;
    }

.checkInOthersBtn {
    margin: .5em;
    white-space: normal;
}

.container {
    position: relative;
    position: relative;
}

.countContainer {
    width: 72px;
    display: inline;
    position: absolute;
}

.count {
    float: right;
    position: absolute;
    background-color: white;
    bottom: -4em;
    right: 1em;
    border-radius: 4px;
    background-color: white;
    padding-left: 4px;
    padding-right: 4px;
    font-weight: bold;
}

.delete-filter-button {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

#deviationHeaderDate {
    font-size: 1.5em !important;
    font-weight: bold;
    display: block;
}

#deviationHeaderTime {
    font-size: 1.0em !important;
    font-weight: bold;
    display: block;
}

#deviationHeaderHours {
    font-size: .9em !important;
    display: block;
}

.deviationTypeTitle {
    font-size: 1.0em !important;
    font-weight: bold !important;
}

.button-icon-float {
    float: left;
}

.deviationHeaderStatus > svg.animatedStatus {
    font-size: 1.9em;
    position: absolute;
    left: 20px;
    animation-name: pulse;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

.playIconColor {
    color: #95b211 !important;
}

.pauseIconColor {
    color: #ffdd62 !important;
}

.stopIconColor {
    color: #ce1818 !important;
}

.breakTable {
    margin: 0 auto;
}

.breakLengthInMinutes {
    float: right;
    font-size: .9em;
}

.manualDeviationTableStartStop {
    table-layout: fixed;
    margin: 0 auto;
    text-align: center;
}

    .manualDeviationTableStartStop input {
        text-align: center;
        padding-left: 20px;
    }

.manualBreakText {
    margin: 0 auto;
    text-align: center;
}

.manualDeviationTableBreak {
    table-layout: fixed;
    margin: 0 auto;
    text-align: center;
    padding-left: 22px;
}

    .manualDeviationTableBreak input {
        text-align: center;
        padding-left: 18px;
    }

.addBreakIcon {
    font-size: 1.3em !important;
}

.deleteBreakIcon {
    font-size: 1.4em !important;
    color: #ce1818;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #dddddd;
    margin: 1em 0;
    padding: 0;
}

h3.hasSubText {
    margin-bottom: 0;
}

div.TicketMessageHtmlContainer {
    /* padding: 10px;*/
    /*border-top: 1px solid #dddddd;*/
}

    div.TicketMessageHtmlContainer p {
        overflow: auto;
        white-space: normal;
    }

.messageAssignedToHighlight {
    border: 1px solid #d9993a !important;
}

#indexPage .ui-grid-b{
    margin-top: 10px;
}

.index-link-container {
    text-decoration: none;
}

.index-icon-size {
    font-size: 42px;
}

.index-icon-text {
    padding-top: 8px;
    color: #6a6262;
    font-size: 16px;
}

.ui-grid-b .container {
    padding: 10px;
}

/*.fa-plus-square,
.fa-layers .fa-plus-square,
.fa-layers .fa-arrow-alt-square-left,
.fa-layers .fa-share {
    color: white;
    --fa-primary-color: blue;
    --fa-secondary-color: red;
    --fa-primary-opacity: 1;
    --fa-secondary-opacity: 1;
}
*/


.fa-square-plus, .fa-image-portrait {
    color: #28a745;
    --fa-primary-color: #ffffff;
    --fa-primary-opacity: 1;
    --fa-secondary-opacity: 1;
}

.fa-layers-counter {
    border-radius: 12px;
    margin-bottom: -4px;
    margin-right: -4px;
    background-color: tomato;
}

/*.fa-chart-network {*/
/* standard */
/*color: orange;*/
/* duotone */
/*--fa-primary-color: orange;
    --fa-secondary-color: #89681D;
    --fa-secondary-opacity: 1.0;
}

.fa-cabinet-filing {
    --fa-secondary-color: #ffc571;
    --fa-primary-color: black;
    --fa-secondary-opacity: 1;
}*/

/*.fa-clock {
    --fa-secondary-color: #7f9e11;
    --fa-primary-color: white;
    --fa-secondary-opacity: 1;
}*/

.fac-deviation {
    transform: scale(0.9);
}

/*.fa-question-circle {
    color: #0645ad;
    --fa-primary-color: white;
    --fa-secondary-color: #0645ad;
    --fa-secondary-opacity: 1.0;
}

.fa-shopping-basket {
    --fa-primary-color: #7c8fd1;
    --fa-secondary-color: #b1c6e5;
    --fa-secondary-opacity: 1.0;
}

.fa-key {
    --fa-primary-color: #525252;
    --fa-secondary-color: #7e7c7c;
    --fa-secondary-opacity: 1.0;
}

.fa-clipboard {
    --fa-primary-color: #525252;
    --fa-secondary-color: #cbcbcb;
    --fa-secondary-opacity: 1.0;
}

.fa-user {
    --fa-primary-color: #525252;
    --fa-secondary-color: #cbcbcb;
    --fa-secondary-opacity: 1.0;
}
.fa-clipboard-list-check {
    --fa-primary-color: #525252;
    --fa-secondary-color: #cbcbcb;
    --fa-secondary-opacity: 1.0;
}

.fa-clipboard-list {
    --fa-primary-color: #525252;
    --fa-secondary-color: #cbcbcb;
    --fa-secondary-opacity: 1.0;
}

.fa-bell {
    --fa-primary-color: #525252;
    --fa-secondary-color: #cbcbcb;
    --fa-secondary-opacity: 1.0;
}

.fa-calendar-edit {
    --fa-primary-color: #525252;
    --fa-secondary-color: #cbcbcb;
    --fa-secondary-opacity: 1.0;
}

.fa-money-check-edit-alt {
    --fa-primary-color: #525252;
    --fa-secondary-color: #cbcbcb;
    --fa-secondary-opacity: 1.0;
}

.fa-user-friends {
    --fa-primary-color: #525252;
    --fa-secondary-color: #cbcbcb;
    --fa-secondary-opacity: 1.0;
}

.fa-user-cog {
    --fa-primary-color: #525252;
    --fa-secondary-color: #cbcbcb;
    --fa-secondary-opacity: 1.0;
}

.fa-search {
    --fa-primary-color: #525252;
    --fa-secondary-color: #cbcbcb;
    --fa-secondary-opacity: 1.0;
}

.fa-calendar-alt {
    --fa-primary-color: #626262;
    --fa-secondary-color: #ffc571;
    --fa-secondary-opacity: 1.0;
}

.fa-calendar-day {
    --fa-primary-color: #626262;
    --fa-secondary-color: #ffc571;
    --fa-secondary-opacity: 1.0;
}

.fa-calendar-week {
    --fa-primary-color: #626262;
    --fa-secondary-color: #ffc571;
    --fa-secondary-opacity: 1.0;
}

.fa-thermometer {
    --fa-primary-color: #525252;
    --fa-secondary-color: #cbcbcb;
    --fa-secondary-opacity: 1.0;
}

.fa-file {
    --fa-primary-color: #525252;
    --fa-secondary-color: #cbcbcb;
    --fa-secondary-opacity: 1.0;
}

.fa-clock {
    --fa-primary-color: white;
    --fa-secondary-color: #6d79f9;
    --fa-secondary-opacity: 1.0;
}*/
.general-note, .ui-body-c {
    font-weight: bold;
    color: #000000b5;
    background-color: #fff3cd;
    padding: 0.75rem 1.25rem;
    border: 1px solid #85640469;
    border-radius: 0.25rem;
}

.summary-body {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}

  .summary-body .date-input {
    padding: 0.5em;
    text-align: center;
  }

  .summary-body .hint {
    color: #888;
    font-size: 0.9em;
    margin: 0.25em;
  }

.shift-list.ui-listview {
  margin: 0;
}

.card-summary {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-bottom: 0.5em;
}

  .card-summary .day-date {
    color: #666;
    font-size: 0.9em;
  }

#replacementFilters {
  margin-bottom: 0.5em;
}

.bulk-actions {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

  .bulk-actions button {
    padding: 0.4em;
    white-space: nowrap;
  }

#selectionSummary {
  font-weight: bold;
  white-space: nowrap;
}

.color-legend-container {
  padding: 0.5em;
  border-top: none;
}

.color-legend-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
}

.color-legend-item {
  display: flex;
  align-items: center;
  gap: 0.25em;
}

  .color-legend-item span {
    font-size: 0.8em;
    white-space: nowrap;
  }

.color-box {
  width: 16px;
  height: 16px;
  border-radius: 0.375em;
  border: 1px solid #ced4da;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.3em;
}

  .color-box.unbooked {
    background: linear-gradient(to bottom right, #f8d7da 50%, #f6cbcf 50% );
  }

  .color-box.booked {
    background: linear-gradient(to bottom right, #d1e7dd 50%, #bcdcce 50% );
  }

  .color-box.conflict {
    background: #e00;
    border-color: #e00;
  }

.shift-item label {
  padding-left: 0.5em;
}

#available-shifts .shift-item label {
  background-color: #f8d7da;
}

#available-shifts .shift-item.booked label {
  background-color: #d1e7dd;
}

#available-shifts .shift-item.conflict label {
  border-left: 0.5em solid #e00;
}

#available-shifts .edit-time-link {
  text-decoration: none;
  color: inherit;
}

#available-shifts .shift-item {
  padding: 0;
}

#current-schedule .shift-item {
  padding: 0.4em;
}

  #current-schedule .shift-item .shift-content {
    padding: 0.4em;
    background-color: #f8d7da;
    border: 1px solid #8c8c8c;
    color: #000000;
    font-weight: bold;
    font-size: 0.9em;
  }

  #current-schedule .shift-item:nth-child(even) .shift-content {
    background-color: #f6cbcf;
  }

  #current-schedule .shift-item.booked .shift-content {
    background-color: #d1e7dd !important;
  }

  #current-schedule .shift-item.booked:nth-child(even) .shift-content {
    background-color: #bcdcce !important;
  }

  #current-schedule .shift-item.conflict .shift-content {
    border-left: 0.5em solid #e00 !important;
  }

.shift-content .time-block {
  width: 25%;
  padding: 0.75em;
}

.shift-content .project-block {
  width: 50%;
  padding: 0.75em;
}

.shift-content .hours-block {
  width: 25%;
  padding: 0.75em;
  text-align: right;
}

.text-danger {
  color: #dc3545;
}
