@font-face {
    font-family: 'Manrope-Bold';
    src: url('../fonts/Manrope-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Manrope-Light';
    src: url('../fonts/Manrope-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.workload-cal td {
    height: 100px;
    min-width: 150px;
}
.workload-cal th {
    background-color: darkgrey !important;
}

.workload-cal td.user {
    min-width: 150px;
    vertical-align: middle;
    background-color: rgba(1, 42, 67, 0.05);
}

.workload-cal td.user span {
    font-size: 15px;
}
.workload-cal .draggable-issue {
    margin-top: 5px;
}
.workload-cal td.holiday {
    background-image: url('../images/background-holiday.png');
}

.workload-cal th.today {
    background: #6EA21B;
}

.workload-cal th.last_day, td.last_day{
    border-right: 1px solid grey;
}

.workload-cal tr.months th, .workload-cal tr.days th{
    font-weight: bold;
}

.workload-cal .off-day{
    background-color: grey;
    font-weight: bold;
    height: 20px;
    padding-top: 5px;
}

.workload-cal .load{
    float: left;
    background: floralwhite;
    border-radius: 4px;
    padding: 4px 5px 1px 4px;
    margin-bottom: 2px;
}

.workload-cal .scoped-load{
    float: right;
    background: azure;
    border-radius: 4px;
    padding: 4px 5px 1px 4px;
    margin-bottom: 2px;
}

.workload-cal .overload{
    color: red;
}

table.workload-cal td .priority-5{
    background: #ab0303;
}


table.workload-cal td .priority-5:hover a {
    color: #fff;
}

table.workload-cal td .priority-4 {
    background: #c0760b;
}

table.workload-cal td .priority-4:hover {
    color: #fff;
}

table.workload-cal td .priority-3 {
    background: #f2be09;
}



table.workload-cal td .priority-1 {
    background: rgba(1,42,67,0.3);
}

.workload-filter {min-width: 400px; max-width: 400px;}
.workload-filter-label {margin-right: 15px; font-weight: bold;}

table.workload-cal td .starting a {background: url(../../../../images/bullet_go.png) no-repeat -1px -2px; padding-left:16px;}
table.workload-cal td .ending a {background: url(../../../../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;}
table.workload-cal td .starting.ending a {background: url(../../../../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;}
#admin-menu a.holidays { background-image: url(../images/holidays.png); }
#admin-menu a.holiday-categories { background-image: url(../images/holiday-categories.png); }

.user-workload-tabs {
    height: 2.6em;
    margin-bottom: 1.2em;
    position: relative;
    overflow: hidden;
}

.user-workload-tabs ul {
    margin: 0;
    position: absolute;
    bottom: 0;
    padding-left: 0.5em;
    width: 2000px;
    border-bottom: 1px solid #bbbbbb;
}

.user-workload-tabs ul li {
    float: left;
    list-style-type: none;
    white-space: nowrap;
    margin-right: 4px;
    background: #fff;
    position: relative;
    margin-bottom: -1px;
}

.user-workload-tabs ul li a {
    display: block;
    font-size: 0.9em;
    text-decoration: none;
    line-height: 1.3em;
    padding: 4px 6px 4px 6px;
    border: 1px solid #ccc;
    border-bottom: 1px solid #bbbbbb;
    background-color: #f6f6f6;
    color: #999;
    font-weight: bold;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.user-workload-tabs ul li a:hover {
    background-color: #ffffdd;
    text-decoration: none;
}

.user-workload-tabs ul li a.selected {
    background-color: #fff;
    border: 1px solid #bbbbbb;
    border-bottom: 1px solid #fff;
    color: #444;
}

.user-workload-tabs ul li a.selected:hover {
    background-color: #fff;
}

.work-load-per-project{
    display: none;
    background:rgb(16, 150, 24);
    min-height: 80px;
    min-width: 30px;
    overflow: scroll;
}

.day-box-label{float: left;width: 50px;text-align: right; margin-right: 3px;}
#user-availability-table td {width: 14%}
#user-availability-table input {width: 90%}

.without-connection {
    height: 0px;
}

.right-connection {
    margin-left: 50%;
    width: 59%;
}

.left-connection {
    margin-left: -9%;
    width: 59%;
}

.both-connections {
    width: 118%;
    margin-left: -9%;
}

.hr-line {
    position: absolute;
    padding: 5px !important;
}

.hr-line.right {
    margin-left: 95%;
    height: 4px !important;
    top: 46%;
}

.issue-with-connection {
    position: relative;
}

.issue-with-connection .issue {
    height: 110px;
}

div.empty-task {
    height: 128px;
}

div.table-head {
    height: 60px;
}

.issue-with-connection .disabled {
    pointer-events: none;
}

.arrow-left {
    content: url(../../../../images/bullet_go.png);
    top: 50px;
    position: absolute;
    z-index: 26;
    transform: rotate(180deg);
}

.arrow-right {
    content: url(../../../../images/bullet_end.png);
    top: 50px;
    right: 0%;
    position: absolute;
    z-index: 26;
    transform: rotate(180deg);
}

td#workload-working-day-column {
    min-width: 170px;
}

#select_workload_period {
    background-color: #fff;
    min-width: 0px;
}

.issue-with-connection #closed-issue {
    content: url(../../../images/locked.png);
    float: right;
    width: 15px;
}

table.workload-cal td .priority-5.disabled {
    background: #b18888;
}

table.workload-cal td .priority-4.disabled {
    background: #c6a069;
}

table.workload-cal td .priority-3.disabled {
    background: #d6c386;
}

table.workload-cal td .priority-2.disabled {
    background: #0267a4;
}

table.workload-cal td .priority-1.disabled {
    background: #b7c1c8;
}

#workload-issue-text-attributes {
    text-align: left;
    margin-left: 5px;
}

#workload-logged-hours {
    font-weight: bold;
}

div#logged_over_due_date {
    margin: 5px 0px;
    font-weight: bold;
}
.controller-holidays.action-index #query_form_content .filters-table .date {
    display: inline-block;
    width: unset;
    float: unset;
}

.general-capacity .day-of-week {
  width: 320px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: solid 1px #d1d1d1;
  background-color: #f7f7f7;
  border-radius: 6px;
  position: relative;
  margin: 10px 10px 10px 0px;
}

.general-capacity .label {
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  line-height: 22px;
  text-align: left;
  color: var(--neutral_600);
}
.general-capacity .day-of-week > div {
  line-height: 25px;
  margin: 0px 10px;
}
.general-capacity input[type="text"],
.general-capacity select {
  padding: 2px 0px !important;
  width: 55px;
  background: none;
  outline: none;
  border: none;
  border-bottom: 1px solid #d7d7d7;
  font-family: 'Source Sans Pro', sans-serif;;
  font-size: 16px;
  text-align: left;
  color: #000000;
  line-height: 18px;
}
.general-capacity select {
  width: 100px !important;
  background: url(../images/chevron-down.svg) no-repeat right;
  appearance: none;
  -webkit-appearance: none;
  background-size: 14px;
}
.general-capacity .manage-my-capacities-box .general-label {
  width: 100%;
}

.general-capacity .capacity-pie-chart {
  width: 320px;
}
.general-capacity .manage-my-capacities-box .display-flex-class {
  display: flex;
  width: 1000px;
  flex-wrap: wrap;
}
.capacity-flex-container {
  display: flex;
  flex-wrap: wrap;
}
.configure-capacity .display-flex-class > div {
  flex-grow: 1;
  margin-right: 10px;
  margin-top: 10px;
}
.general-capacity .configure-capacity .manage-my-capacities-submit {
  margin-top: 28px;
}
.general-capacity .availabilities-box table .label {
  text-align: center;
}
.general-capacity .day-of-week.selected {
  border: solid 1px #969696;
}

#capacity-pie-chart {
  position: relative;
  width: 320px;
  top: -80px;
}

#capacity-pie-chart > div {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
}

#capacity-pie-chart > div > .label-day-of-week {
  font-family: 'Source Sans Pro', sans-serif;;
  font-size: 12px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.67;
  letter-spacing: normal;
  text-align: center;
  color: #000000;
}

.general-capacity .day-name {
  display: none;
}

.modal .box.tabular .general-capacity .field-label {
  font-family: 'Source Sans Pro', sans-serif;;
  font-size: 12px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  text-align: left;
  color: #000000;
  background: #ffffff;
  position: absolute;
  line-height: 12px;
  text-transform: uppercase;
  top: -6px;
  left: 10px;
  padding: 0 2px;
}

.display-flex-class {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
}

.modal .box.tabular input#user_user_availabilities_attributes_0_date {
  width: 120px;
}

#ajax-modal .box.tabular table input#user_user_availabilities_attributes_0_availability {
  width: 100px;
}

#ajax-modal .box.tabular table img.ui-datepicker-trigger {
    position: relative;
    top: 0px;
    right: 22px;
}

#ajax-modal .edit_user .box.tabular h3 {
    font-size: 16px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.11;
    letter-spacing: normal;
    font-family: 'Manrope';
}

#ajax-modal .edit_user input[type="submit"].submit.capacities[disabled='disabled'] {
  opacity: 0.5;
}

@media (max-width: 899px) {
    .controller-holidays.action-index #query_form_content .filters-table .date {
        width: calc(100% - 30px);
        vertical-align: middle;
    }
    .controller-holidays.action-index .filters-table img.ui-datepicker-trigger {
        margin-top: 15px;
    }
    .controller-holidays.action-index fieldset:last-child .filters-table table tbody tr > td {
        display: table-cell;
    }
    .general-capacity.display-flex-class {
      width: 100%;
    }
    .general-capacity.display-flex-class .day-of-week {
      width: 100%;
      margin-right: 0px !important;
    }
    .general-capacity .day-of-week select {
      width: 100%;
    }
    #configuring-capacities .display-flex-class > div {
      max-width: 100px;
      min-width: 80px;
      margin: 0 5px;
    }
    .controller-agile_boards.action-index #configuring-capacities .manage-my-capacities-submit .submit.capacities {
      margin-top: 20px !important;
      background: none !important;
    }
    .ui-dialog .ui-dialog-content .edit_user .box.tabular {
      padding: 10px !important;
    }
    .modal .box.tabular .availabilities-box table.list th,
    .controller-agile_boards.action-index .modal .availabilities-box table.list td {
      font-size: 12px;
    }
    .edit_user .box.tabular table.list {
      table-layout: fixed;
      width: 100%;
    }
    .general-capacity .day-of-week > div {
      line-height: 25px;
      margin: 0px 5px;
      min-width: 85px;
    }
}
