.ne-list .task .ne-time-input a {
  height: 30px;
  line-height: 28px;
}

.task-progress-stats .label {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 7px;
  position: absolute;
  color: #fff;
}
.task-progress-stats span.value {
    margin: 18px 18px 10px 18px;
    display: block;
    font-size: 26px;
}
.task-actions .ne-form input[type="checkbox"] + .ne-ui {
  border: 0;
  margin: 0;
  height: 29px;
  line-height: 29px;
  font-size: 8px;
  background: #3d3b3b;
  color: #b3b3b3;
  width: 100%;
  background-position: 8px !important;
  padding: 0;
}

.task-actions .ne-form input[type="checkbox"] + .ne-ui span {
  padding-left: 35px;
  background-position: left;
}

.ne-checkbox-switch label {
  position: unset;
}

input[type="checkbox"] + label {
  background: #ccc;
}

input[type="checkbox"] + label {
  display: inline-block;
  width: 200px;
  padding-left: 28px;
  height: 18px;
  line-height: 1.2em;
  margin: 0 4px 0 0;
  vertical-align: middle;
  background: url("../images/ui/lights-diod-green-off.png") 0 0 no-repeat;
  background-size: contain !important;
  cursor: pointer;
}

input[type="checkbox"]:checked + label {
  background: url("../images/ui/check_radio_sheet_v.png") 0 -18px no-repeat;
}

.label.warning {
  background: #fb5438 !important;
  color: #e5e5e5;
}

.label.attention {
  background: #e9c750 !important;
  color: #363636;
}

.ne-time-input.ne-form-ui input {
  font-weight: 600;
}

.upload-form {
  position: fixed;
  top: 390px;
  z-index: 108;
  right: 15px;
  width: 320px;
  background: #d1d1d1;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 3px 5px 9px #00000042;
}

.single-form .button {
  display: inline-block;
  border: none;
  line-height: 38px;
  padding-left: 0;
  padding-right: 0;
}

.ne-list span.format {
  position: absolute;
  left: 144px;
  top: 48px;
  line-height: 5px;
  border: 1px solid #80828582;
  height: 14px;
}

.ne-list li:hover span.format {
  top: -48px;
}

.large .badges .label {
  color: #9a9a9a;
  text-transform: uppercase;
  font-weight: 600;
  top: 15px;
  left: 15px;
  font-size: 9px;
}

.small .badges .label,
.badges .label {
  text-transform: uppercase;
  font-weight: 800;
  top: 3px;
  left: 3px;
  font-size: 17px;
  color: #000;
}

/* New Task */

#ne_new_task #description {
  font-size: 18px;
}

/* Edit task */

#ne_edit_task #show_reports {
  left: 20px;
  right: unset;
}

#ne_edit_task #show_settings {
  left: 160px;
}

#ne_edit_task #task_update {
  left: 600px;
}

#ne_edit_task #task_main .task {
  width: 100%;
}

#ne_edit_task #task_priorities {
  width: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2px;
}

#task_priorities input[type="radio"] + .ne-ui,
#request_priorities input[type="radio"] + .ne-ui {
  width: auto;
  height: 62px;
  margin-right: 0;
  line-height: 62px;
  font-size: 24px !important;
  margin-bottom: 0;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  color: rgb(255 255 255 / 20%);
  background: rgb(255 255 255);
  background-image: none !important;
  display: block;
  border: 0;
  border-radius: 0;
  position: relative;
}

#task_priorities input[type="radio"] + .ne-ui span {
  display: none;
}

#task_priorities input[type="radio"]:checked + .ui-radio-button.asap {
  background-color: #e48d36 !important;
  color: #e3c2a0;
}

#edit_statuses input[type="radio"] + .ne-ui,
#statuses input[type="checkbox"] + .ne-ui {
  line-height: 137px;
  font-size: 11px;
  border-radius: 0;
  font-weight: 700;
  letter-spacing: 0 !important;
  background-image: url("../images/request-statuses.png") !important;
  background-size: 850px !important;
  background-position: 2px 42px;
  opacity: 0.5;
  height: 95px;
  width: auto;
  border: none;
  margin: 0;
  top: 0;
  text-align: left;
  padding: 0 0 0 11px;
  text-transform: uppercase;
  background: no-repeat;
  background-position-y: 23px !important;
}

#edit_statuses input[type="radio"]:checked:hover + .ne-ui,
#statuses input[type="checkbox"]:checked:hover + .ne-ui,
#edit_statuses input[type="radio"]:checked + .ne-ui,
#statuses input[type="checkbox"]:checked + .ne-ui {
  opacity: 1;
}

#edit_statuses input[type="radio"] + .ne-ui,
#statuses input[type="checkbox"] + .ne-ui {
  margin: 0;
  text-align: center;
  padding: 0;
  color: #00000073;
}

#edit_statuses input[type="radio"]:checked + .ne-ui,
#statuses input[type="checkbox"]:checked + .ne-ui {
  opacity: 1;
  color: #00000096;
  box-shadow: 0 0 40px #ffffff3d;
}

#edit_statuses input[type="radio"]:hover + .ne-ui,
#statuses input[type="checkbox"]:hover + .ne-ui {
  opacity: 0.7;
  color: #00000096;
  filter: grayscale(0);
  box-shadow: 0 0 40px #ffffff3d;
}

#task_priorities input[type="radio"]:checked + .ui-radio-button.regular,
#request_priorities input[type="radio"]:checked + .ui-radio-button.regular {
  background-color: #3ea47c !important;
  color: rgb(194 232 217) !important;
}

#task_priorities input[type="radio"]:checked + .ui-radio-button.asap,
#request_priorities input[type="radio"]:checked + .ui-radio-button.asap {
  background-color: rgb(228 141 54) !important;
  color: rgb(255 231 185) !important;
}

#task_priorities input[type="radio"]:checked + .ui-radio-button.now,
#request_priorities input[type="radio"]:checked + .ui-radio-button.now {
  background-color: #c33 !important;
  color: rgb(255 191 185) !important;
}

.regular.selected {
  background-color: #3ea47c !important;
  color: #90d5ba;
}

.now.selected {
  background-color: #c33 !important;
  color: #e18181;
}

.asap.selected {
  background-color: #e48d36 !important;
  color: #e3c2a0;
}

#ne_edit_task #task_options {
  top: 185px;
  width: 160px;
  left: 192px;
}

#ne_edit_task #edit_statuses {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 2px;
  position: relative;
  margin-top: 2px;
}

/* Report */

label.now {
  background-color: #c33 !important;
  color: transparent;
}

label.asap {
  background-color: #f93 !important;
  color: transparent;
}

label.regular {
  background-color: #308c59 !important;
  color: transparent;
}

label.regular,
label.asap,
label.now {
  background-color: #424040 !important;
  color: transparent;
}

::selection {
  background: #f4a83c;
  color: #000;
}

.ne-time-input #log_hour {
  width: 25px !important;
  margin-left: 9px !important;
  height: 32px;
}

.upload-form {
  /* position: fixed; */

  /* top: 390px; */

  /* z-index: 108; */

  /* right: 15px; */

  /* width: 320px; */

  /* background: #d1d1d1; */

  /* padding: 20px; */

  /* border-radius: 4px; */

  /* box-shadow: 3px 5px 9px #00000042; */
}

.ne-list .label.item-goal {
  top: 100px;
  font-size: 16px;
  letter-spacing: 0.02em;
  left: 320px;
  right: unset;
  font-weight: 600;
  color: #282828;
}

.ne-list .label {
  text-align: center;
  font-size: 12px;
  position: absolute;
  top: 30px;
  display: block;
}

.dash-form.project #edit_statuses {
  grid-template-columns: repeat(4, 1fr);
}

.dash-form.project #edit_statuses.ne-goal-status input[type="radio"] + .ne-ui {
  width: 97px;
}

.dash-form.project #edit_statuses. input[type="radio"] + .ne-ui {
  width: revert-layer;
}

#edit_statuses input[type="radio"] + .ne-ui,
#statuses input[type="checkbox"] + .ne-ui {
  line-height: 137px;
  font-size: 11px;
  border-radius: 0;
  font-weight: 700;
  letter-spacing: 0 !important;
  background-image: unset !important;
  background-size: 850px !important;
  background-position: 2px 42px;
  opacity: 0.5;
  height: 95px;
  width: auto;
  border: none;
  margin: 0;
  top: 0;
  text-align: left;
  padding: 0 0 0 11px;
  text-transform: uppercase;
  background: no-repeat;
  background-position-y: 23px !important;
}

#edit_statuses input[type="radio"] + .ne-ui,
#statuses input[type="checkbox"] + .ne-ui {
  margin: 0;
  text-align: center;
  padding: 0;
  color: #00000073;
  width: 97px;
}

#ne_edit_task #task_account {
}

#logs input {
  width: 20px;
  text-align: center;
  font-size: 21px;
  box-shadow: none;
  border: none;
  background: none;
  padding: 0;
  height: 32px;
  margin-left: 5px;
  color: #c7c5c5;
}

.ne-time-input #log_minute {
  width: 24px !important;
  margin: 0 10px 0 -3px !important;
}

#task_info .task {
    position: relative;
  }

#task_info .estimate {
    top: 221px;
  }

#task_info .task-details.estimate {
    left: 70px;
    top: 66px;
    width: 20px;
    height: 20px;
    z-index: 0;
    border-radius: 10px;
  }

#task_info .task-details.task_id {
    font-size: 29px;
    z-index: 2;
    display: none;
  }

#task_info .main-details {
    top: 140px;
    left: 20px;
    font-size: 22px;
    width: auto;
    line-height: 26px;
    font-weight: 400;
    letter-spacing: 0.01em;
    height: 160px;
    position: absolute;
    max-width: 540px;
  }

.dash-form .title {
    margin: 0;
    color: #dbd6d4;
    line-height: 30px;
    letter-spacing: 0.03em;
    font-size: 20px;
    width: 320px;
    background: no-repeat;
    padding: 0;
    text-transform: inherit;
    font-weight: 300;
    position: absolute;
    top: 180px;
    left: 21px;
  }

.dash-form .media-task-id {
    margin: 0;
    color: #dbd6d4;
    line-height: 28px;
    letter-spacing: 0.01em;
    font-size: 19px;
    width: 350px;
    background: no-repeat;
    padding: 0;
    text-transform: inherit;
    font-weight: 400;
    position: absolute;
    bottom: 60px;
    left: 20px;
  }

.dash-form .budget {
    position: absolute;
    top: 380px;
    left: 20px;
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 28px;
  }

.dash-form .budget .label {
    display: block;
    font-size: 9px;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 500;
  }

#task_progress #task_reports textarea {
    height: 300px;
    font-size: 32px;
    font-weight: inherit;
    padding: 18px 24px;
    line-height: 39px;
  }

.dash-form .ne-project-type {
    height: 32px;
    width: 35px;
  }

/* Choice grids shared by Event and Feedback forms. Kept here so these rules
   load after the legacy task/status sizing rules. */
#ne_event_add_form #edit_statuses,
#ne_event_edit_form #edit_statuses {
    display: block;
    width: 100%;
}

#ne_feedback_form fieldset.types,
#ne_edit_feedback_form fieldset.types {
    display: block !important;
    grid-template-columns: none !important;
}

#ne_feedback_form fieldset.types,
#ne_edit_feedback_form fieldset.types,
#ne_feedback_form fieldset.types > .ne-ui-form-field,
#ne_edit_feedback_form fieldset.types > .ne-ui-form-field,
#ne_feedback_form fieldset.types .ne-ui-form-field__control,
#ne_edit_feedback_form fieldset.types .ne-ui-form-field__control {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
}

#ne_event_add_form .ne-checkbox-switch,
#ne_event_edit_form .ne-checkbox-switch {
    width: 100%;
}

#ne_event_add_form .ne-checkbox-switch input[type="checkbox"] + label.ne-ui,
#ne_event_edit_form .ne-checkbox-switch input[type="checkbox"] + label.ne-ui {
    position: relative !important;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100% !important;
    min-height: 50px;
    padding: 9px 18px 9px 48px;
    line-height: 30px;
    background-image: none !important;
}

#ne_event_add_form .ne-checkbox-switch input[type="checkbox"] + label.ne-ui > span,
#ne_event_edit_form .ne-checkbox-switch input[type="checkbox"] + label.ne-ui > span {
    position: absolute;
    top: 50%;
    left: 18px;
    width: 14px;
    height: 14px;
    padding: 0;
    border-radius: 50%;
    background: #686868;
    box-shadow: inset 0 0 0 1px #777;
    transform: translateY(-50%);
}

#ne_event_add_form .ne-checkbox-switch input[type="checkbox"]:checked + label.ne-ui > span,
#ne_event_edit_form .ne-checkbox-switch input[type="checkbox"]:checked + label.ne-ui > span {
    background: #28f13f;
    box-shadow: 0 0 10px #28f13f;
}

#ne_event_add_form #edit_statuses .ne-event-status,
#ne_event_edit_form #edit_statuses .ne-event-status,
#ne_feedback_form .ne-ui-tile-choice-group.feedback-types,
#ne_edit_feedback_form .ne-ui-tile-choice-group.feedback-types,
#ne_edit_feedback_form fieldset.statuses {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 2px;
    width: 100% !important;
    max-width: none;
}

#ne_event_add_form #edit_statuses .ne-event-status > label,
#ne_event_edit_form #edit_statuses .ne-event-status > label,
#ne_feedback_form .ne-ui-tile-choice-group.feedback-types > label,
#ne_edit_feedback_form .ne-ui-tile-choice-group.feedback-types > label,
#ne_edit_feedback_form fieldset.statuses > label {
    box-sizing: border-box;
    width: auto !important;
    min-width: 0;
    margin: 0;
}

#ne_event_add_form .ne-event-status label.planning,
#ne_event_edit_form .ne-event-status label.planning {
    background-color: #fff !important;
    color: #858585 !important;
}

#ne_event_add_form .ne-event-status label.pending,
#ne_event_edit_form .ne-event-status label.pending {
    background-color: #c2bfbf !important;
    color: #404040 !important;
}

#ne_event_add_form .ne-event-status label.progress,
#ne_event_edit_form .ne-event-status label.progress {
    background-color: #f0c46d !important;
    color: #111 !important;
}

#ne_event_add_form .ne-event-status label.complete,
#ne_event_edit_form .ne-event-status label.complete {
    background-color: #7ced59 !important;
    color: #1b7c1b !important;
}

/* Reuse one Feedback type choice component in the Add and Edit forms. */
#ne_feedback_form .feedback-types label.ne-radio-ui,
#ne_edit_feedback_form .feedback-types label.ne-radio-ui {
    position: relative;
    display: block;
    height: 96px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 30px !important;
    opacity: 0.6;
}

#ne_feedback_form .feedback-types label.feedback,
#ne_edit_feedback_form .feedback-types label.feedback { background-color: #c7457d; --ne-feedback-type-icon: url("../../images/ui-optimized/feedback-icon-feedback.svg"); }
#ne_feedback_form .feedback-types label.problem,
#ne_edit_feedback_form .feedback-types label.problem { background-color: #0070da; --ne-feedback-type-icon: url("../../images/ui-optimized/feedback-icon-problem.svg"); }
#ne_feedback_form .feedback-types label.idea,
#ne_edit_feedback_form .feedback-types label.idea { background-color: #ffb624; --ne-feedback-type-icon: url("../../images/ui-optimized/feedback-icon-idea.svg"); }
#ne_feedback_form .feedback-types label.question,
#ne_edit_feedback_form .feedback-types label.question { background-color: #119b57; --ne-feedback-type-icon: url("../../images/ui-optimized/feedback-icon-question.svg"); }
#ne_feedback_form .feedback-types label.request,
#ne_edit_feedback_form .feedback-types label.request { background-color: #b86f20; --ne-feedback-type-icon: url("../../images/ui-optimized/feedback-icon-feedback.svg"); }
#ne_feedback_form .feedback-types label.purchase,
#ne_edit_feedback_form .feedback-types label.purchase { background-color: #76512b; --ne-feedback-type-icon: url("../../images/ui-optimized/feedback-icon-feedback.svg"); }
#ne_feedback_form .feedback-types label.support,
#ne_edit_feedback_form .feedback-types label.support { background-color: #86bdff; --ne-feedback-type-icon: url("../../images/ui-optimized/feedback-icon-support.svg"); }
#ne_feedback_form .feedback-types label.urgent,
#ne_edit_feedback_form .feedback-types label.urgent { background-color: #bf2e24; --ne-feedback-type-icon: url("../../images/ui-optimized/feedback-icon-urgent.svg"); }

#ne_feedback_form .feedback-types label.ne-radio-ui,
#ne_edit_feedback_form .feedback-types label.ne-radio-ui {
    background-image: var(--ne-feedback-type-icon) !important;
}

#ne_feedback_form .feedback-types label.ne-radio-ui .ne-radio-ui__text,
#ne_edit_feedback_form .feedback-types label.ne-radio-ui .ne-radio-ui__text {
    position: absolute;
    left: 2px;
    bottom: 3px;
    width: calc(100% - 4px);
    color: #000;
    font-size: 8px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

#ne_feedback_form .feedback-types input[type="radio"]:checked + label.ne-radio-ui,
#ne_feedback_form .feedback-types input[type="radio"]:focus-visible + label.ne-radio-ui,
#ne_edit_feedback_form .feedback-types input[type="radio"]:checked + label.ne-radio-ui,
#ne_edit_feedback_form .feedback-types input[type="radio"]:focus-visible + label.ne-radio-ui {
    opacity: 1;
}

@media (max-width: 640px) {
    #ne_event_add_form #edit_statuses .ne-event-status,
    #ne_event_edit_form #edit_statuses .ne-event-status,
    #ne_feedback_form .ne-ui-tile-choice-group.feedback-types,
    #ne_edit_feedback_form .ne-ui-tile-choice-group.feedback-types,
    #ne_edit_feedback_form fieldset.statuses {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
