/*!
 * Jetpack CRM
 * https://jetpackcrm.com
 */
.zbs-task-desc textarea, .no-owner,
.no-task-date,
.task-reminders,
.no-contact,
.show-on-calendar,
.remind_task, #zbs-task-title-row #zbs-task-title, .jpcrm-task-owner {
  line-height: 1;
  border: 1px solid #ccc;
  border-radius: 0.2em;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
}

.jpcrm-task-editor-wrap {
  margin-top: -1em;
}

.zbs-task-clear {
  margin-bottom: 1em;
}

#calendar {
  max-width: 100%;
  margin: 0 auto;
}

.jpcrm-task-owner {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 5px 10px;
}
.jpcrm-task-owner i,
.jpcrm-task-owner img {
  width: 30px;
  flex: 0 0 0;
  border-radius: 50%;
}
.jpcrm-task-owner #zerobscrm-owner {
  color: #000;
  border: 0;
  box-shadow: none;
}

.jpcrm-task-time td {
  padding: 6px 10px;
  color: #000;
}
.jpcrm-task-time td label {
  font-size: 14px;
  color: #000;
  font-weight: 400;
}

img.jpcrm-avatar {
  border-radius: 50%;
}

#zbs-add-task-ui {
  width: 39%;
  float: left;
  margin-left: 1%;
  display: none;
}

.zbs-adding-task {
  width: 60%;
  float: right;
}

.close-add-task {
  color: #767676;
  float: left;
  cursor: pointer;
}

.clear {
  clear: both;
}

#zbs-task-title-row {
  display: flex;
  gap: 8px;
}
#zbs-task-title-row #zbs-task-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 14px;
  font-weight: 400;
  min-height: 0;
  padding: 0.2em 0.5em;
  line-height: 1.4;
  flex: 1 1 auto;
}
#zbs-task-title-row #mark-complete-task {
  min-width: 200px;
  flex: 0 1 auto;
}
#zbs-task-title-row #mark-complete-task button {
  width: 100%;
}
#zbs-task-title-row #mark-complete-task button.hidden {
  display: none;
}

.zbs-show {
  border: 1px solid #ddd;
  background: #fff;
}

.no-owner,
.no-task-date,
.task-reminders,
.no-contact,
.show-on-calendar,
.remind_task {
  width: 100%;
  font-size: 14px;
  color: #ccc;
  border: 1px solid #ccc;
  margin: 0;
  padding: 4px;
}

.show-on-calendar,
.remind_task {
  color: #000;
}
.show-on-calendar div input,
.remind_task div input {
  margin: 0.2em 0.5em !important;
}
.show-on-calendar label,
.remind_task label {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400 !important;
}

.remind_task {
  padding: 10px 4px;
  position: relative;
}

.remind_task a {
  font-size: 14px;
  position: absolute;
  top: 5px;
  left: 5px;
}

.no-owner,
.no-task-date {
  width: 48%;
}

#zbse_desc {
  font-size: 14px;
  padding: 0.5em;
}

.show-on-calendar input[type=checkbox],
.remind_task input[type=checkbox] {
  margin: -2px 0 0;
  line-height: normal;
}

.show-on-calendar span,
.remind_task span {
  margin-right: 5px;
}

.no-owner {
  float: right;
  position: relative;
  border: 1px solid #ccc;
  border-radius: 0.2em;
  z-index: 0;
}

.no-task-date {
  float: left;
}

.zbs-task-desc textarea {
  width: 100%;
  height: 200px;
}

::placeholder {
  color: #ccc;
}

#titlewrap,
#post-body-content {
  display: none;
}

.ui.segment {
  margin-top: 0;
}

.no-owner .dn {
  color: #000;
  line-height: 30px;
  vertical-align: middle;
  width: 80%;
  float: right;
}

.no-owner .avatar {
  border-radius: 50%;
  margin-left: 10px;
  float: right;
}

.zbs-unassigned {
  font-size: 25px !important;
  margin-top: 9px !important;
}

.zbs-cal-complete {
  box-sizing: border-box;
}
.zbs-cal-complete .icon {
  margin: 0 !important;
}

.zbs-comp-1 {
  display: none !important;
}

.zbs-task-for-help {
  line-height: 31px;
  float: right;
  margin-left: 5px;
  width: 18%;
  min-width: 134px;
  color: #000;
  padding-right: 0.3em;
}

.zbs-task-for,
.zbs-task-for-company {
  width: 80%;
  float: right;
  padding: 0;
  margin-top: -11px;
  position: relative;
}
.zbs-task-for .zbs-view-contact,
.zbs-task-for-company .zbs-view-contact {
  position: absolute !important;
  left: 2px !important;
  top: 14px !important;
}
.zbs-task-for .zbs-view-company,
.zbs-task-for-company .zbs-view-company {
  position: absolute !important;
  left: 2px !important;
  top: 14px !important;
}

.zbstypeaheadwrap {
  position: relative;
  clear: both;
  padding-top: 10px;
  padding-bottom: 0;
}

.zbs-task-for-who {
  color: #000;
}

.outlook-event {
  border: 1px solid #ccc;
  width: 100%;
  padding: 10px;
  border-radius: 4px;
}

#calendar.fc {
  --fc-event-bg-color: var(--jp-green);
  --fc-event-border-color: var(--jp-green);
  --fc-button-text-color: var(--jp-black);
  --fc-button-bg-color: var(--jp-white);
  --fc-button-hover-bg-color: var(--jp-gray-0);
  --fc-button-active-bg-color: var(--jp-black);
}
#calendar.fc a {
  color: #000;
  text-decoration: none;
}
#calendar.fc .fc-button-primary:not(:disabled):active {
  color: inherit;
  background-color: inherit;
}
#calendar.fc .fc-button-primary:not(:disabled).fc-button-active,
#calendar.fc .fc-button-primary:not(:disabled).fc-button-active:active {
  color: var(--jp-white);
  background-color: var(--jp-black);
}
#calendar.fc .fc-button-primary:disabled {
  background-color: var(--jp-gray);
  border-color: var(--jp-gray);
}
#calendar.fc .fc-toolbar-chunk {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
#calendar.fc .fc-toolbar-chunk:nth-child(1) {
  justify-content: flex-start;
}
#calendar.fc .fc-toolbar-chunk:nth-child(2) {
  justify-content: space-around;
  text-align: center;
}
#calendar.fc .fc-toolbar-chunk:nth-child(3) {
  justify-content: flex-end;
}
#calendar.fc .fc-toolbar-chunk > * {
  margin: 0;
}
#calendar.fc .fc-daygrid-event-harness,
#calendar.fc .fc-timegrid-event-harness {
  overflow: hidden;
  white-space: nowrap;
}
#calendar.fc .event_html {
  display: flex;
  align-items: center;
  gap: 4px;
}
