.work-calendar {
  text-align: center;
}

.work-calendar .xdsoft_inline {
  border: none;
}

.fc-view-container {
  overflow-x: auto;
}

.fc-toolbar.fc-header-toolbar {
  margin: 0px;
  padding: 6px;
}

.fc-time-grid-container {
  
}

.fc-day-header {
  padding: 4px !important;
}

.fc-resource-cell {
  min-width: 180px;
  padding: 4px !important;
  box-sizing: border-box;
  vertical-align: middle;
}

.search-bar.workcal {
  top: 209px;
}

.work-list.workcal {
  bottom: 0px;
  top: 237px;
}

/* css for ofc311 */
.calendar-popup-background {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.38);
  z-index: 999;
  pointer-events: none;
  -webkit-transition: opacity 200ms ease-in-out;
  transition: opacity 200ms ease-in-out;
  opacity: 0;
}

.cal-schedule-title {
  padding: 0 6px 2px 6px;;
  margin-right: 6px;
  font-size: 24px;
  border: none;
  outline: none;
  width: 100%;
  color: rgb(0, 120, 215);
}

.schedule-title {
  font-size: 20px;
  line-height: 26px;
  max-height: 52px;
  margin-top: auto;
  padding: 0 32px 0 64px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.calendar-popup {
  display: none;
  position: absolute;
  margin-bottom: 0;
  padding: 0px;
  z-index: 10000;
  border: solid rgba(200, 200, 200, 0.75) 1px;
  border-radius: 4px;
  color: black;
  background: #FFF;
  box-shadow: 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12), 0 11px 15px -7px rgba(0, 0, 0, 0.2);
}

.header-popup-calendar {
  
}

.body-popup-calendar {
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: 24px;
  padding-bottom: 16px;
}

.row-control {
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}

.row-info-calendar {
  min-height: 32px;
  width: 100%;
  position: relative;
  display: flex;
  box-sizing: border-box;
  align-items: center;
  outline: none;
  padding-top: 4px;
}

.icon-label-calendar {
  width: 48px;
  max-height: 40px;
  -webkit-box-flex: 0;
  flex-grow: 0;
  flex-shrink: 0;
  align-items: center;
  font-size: 20px;
  opacity: .54;
  text-align: center;
}

.form-input-calendar {
  display: table-cell;
  box-sizing: border-box;
  outline: none;
  padding-left: 8px;
  padding-right: 8px;
  align-items: center;
  border-bottom: 1px solid #999;
  margin-right: 8px;
}

.form-input-calendar:focus-within {
  border-bottom: 1px solid rgb(0, 120, 215);
}

.form-input-calendar>input {
  border: none;
  outline: none;
  flex-grow: 1;
  -webkit-box-flex: 1;
  flex-shrink: 1;
  background-color: transparent;
  height: 32px;
  line-height: 32px;
  min-width: 0%;
  width: 100%;
}

.form-input-calendar>.input-advance {
  margin: 8px 0;
  color: #ccc;
  cursor: pointer;
}

.form-input-calendar>.input-advance:hover {
  margin: 8px 0;
  color: #333;
}

.form-input-calendar>.input-advance:before {
  font-family: FontAwesome;
  content: "\f078";
}

.form-input-calendar>span {
  
}

.calendar-select>select:hover {
  opacity: 0.9;
}

.calendar-select>select {
  opacity: .7;
  max-width: 100%;
  padding: 8px 24px 8px 10px;
  border: none;
  background-color: transparent;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  background-color: rgb(245, 245, 245);
  border-radius: 2px;
  margin-right: 8px;
}

.calendar-select>select:active, :focus {
  outline: none;
  box-shadow: none;
}

table.col-select td {
  display: block;
  height: 26px;
  margin-top: 8px;
}

.edit-schedule {
  position: absolute;
  left: 6px;
  bottom: -20px;
  background-color: #F6BF26;
  color: rgb(255, 255, 255);
  height: 40px;
  width: 40px;
  box-sizing: content-box;
  box-shadow: rgba(0, 0, 0, 0.14) 0px 6px 10px 0px, rgba(0, 0, 0, 0.12) 0px 1px 18px 0px, rgba(0, 0, 0, 0.2) 0px 3px 5px
    -1px;
  cursor: pointer;
  display: inline-block;
  fill: rgb(255, 255, 255);
  text-align: center;
  z-index: 4000;
  border-width: initial;
  border-style: none;
  border-color: initial;
  border-image: initial;
  border-radius: 50%;
}

.edit-schedule:hover {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 6px 10px 0px, rgba(0, 0, 0, 0.22) 0px 1px 18px 0px, rgba(0, 0, 0, 0.2) 0px 3px 5px
    -1px;
}

.schedule-remind {
  list-style: none;
}

.schedule-details {
  max-width: 380px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}
/* Calendar Checkbox */
.calendar-checkbox {
  position: relative;
  cursor: pointer;
}

.calendar-checkbox>input[type=checkbox] {
  position: absolute;
  opacity: 0;
}

.calendar-checkbox>input[type=checkbox]+b {
  position: relative;
  display: inline-block;
  background-color: #fff;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  font-size: 20px;
  color: #49b35e;
  cursor: pointer;
  line-height: 1;
  outline: 0;
  text-align: center;
  vertical-align: bottom;
  height: 18px;
  width: 18px;
}

.calendar-checkbox>input[type=checkbox]:checked+b:after {
  content: '\2714';
}

.calendar-checkbox>input[type=checkbox]:disabled+b {
  background-color: #e5e5e5;
}

.calendar-checkbox>input[type=checkbox]:disabled:hover+b {
  border-color: #e5e5e5;
  cursor: not-allowed;
}

.calendar-checkbox>input[type=checkbox]:disabled:hover+b+span {
  cursor: not-allowed;
}

.calendar-checkbox>input[type=checkbox]:disabled:checked+b:after {
  content: '\2714';
}

.calendar-popup-background {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.38);
  z-index: 10000;
  pointer-events: none;
  -webkit-transition: opacity 200ms ease-in-out;
  transition: opacity 200ms ease-in-out;
  opacity: 0;
}

.form-content-2 {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background-color: #fff;
  padding: 20px;
}

.popup-header-2 {
  width: 100%;
  height: 32px;
  box-sizing: border-box;
  font: 500 20px Roboto, RobotoDraft, Helvetica, Arial, sans-serif;
  padding: 24px 24px 20px 24px;
}

.popup-body-2 {
  position: absolute;
  top: 50px;
  bottom: 0px;
  width: 100%;
  overflow-y: auto;
}

.fc-left h2, .fc-center h2, .fc-right h2 {
  font-size: 22px;
  font-weight: 400;
  opacity: .54;
  white-space: nowrap;
  line-height: 30px;
}

.fc-button {
  background: none;
  border: none;
  box-shadow: none;
}

.fc-button:hover {
  background-color: #e6e6e6;
}

.fc-prev-button:hover, .fc-next-button:hover {
  border-radius: 50%;
}

.fc-right .fc-button-group .fc-button {
  border: 1px solid #ccc;
}

.fc-right .fc-button-group .fc-button.fc-state-active {
  background-color: #ccc;
}

.fc-listPreview-button {
  background-size: 16px auto;
  background-repeat: no-repeat;
  background-position: center left;
  background-image: url("icon/checkbox-unchecked.png");
  padding-left: 20px !important;
}

.fc-listPreview-button.checked {
  background-image: url("icon/checkbox-checked.png");
}

.fc-resourceSelectBox-button {
  background-size: 7px auto;
  background-repeat: no-repeat;
  background-position: center right 3px;
  background-image: url("icon/selectbox.svg");
  padding-right: 15px !important;
}

.fc-resourceSelectBox-button:hover {
  background-image: url("icon/selectbox-active.svg");
}

.fc-resourceSelectBox-button:empty {
  display: none;
}

.fc-time-grid .fc-slats td span {
  display: block;
  position: relative;
  width: 53px;
  font-size: 10px;
  color: #212121;
  text-align: center;
}

.fc-lunar-day {
  font-size: 10px;
  margin-top: 4px;
  font-style: italic;
}

.fc-sat {
  color: #e67e22;
}

.fc-sun {
  color: red;
}

/* color select */

.color-select>span {
  padding: 1px 0;
  display: block;
  cursor: pointer;
  height: 18px;
}

.color-select>span span {
  margin-top: -8px
}

.color-select ul {
  position: absolute;
  z-index: 1;
  overflow: visible;
  padding: 0;
  background: white;
  box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.color-select ul:after {
  content: "";
  display: table;
  clear: both;
}

.color-select ul li, .color-select>span span {
  list-style: none;
  width: 18px;
  height: 18px;
  display: block;
  border-radius: 50%;
  background: #fff;
  float: left;
  margin: 0 6px;
  cursor: pointer;
  position: relative;
  top: -2px;
}

.color-select ul li {
  margin-top: 4px;
}

.color-select ul li span {
  display: none;
}

.color-select ul li:hover {
  -webkit-transform: scale(1.15);
  -moz-transform: scale(1.15);
  -ms-transform: scale(1.15);
  -o-transform: scale(1.15);
  transform: scale(1.15);
}

.color-select .menu-body {
  background-color: #fff;
}

.fc-event.fc-icon-cancel {
  background-size: 16px auto;
  background-repeat: no-repeat;
  background-position: left center;
  background-image: url("icon/fc-status-cancel.svg");
}

.fc-event.fc-icon-cancel .fc-content {
  margin-left: 20px;
}

.fc-event.fc-icon-cancel .fc-content .fc-title {
  text-decoration: line-through solid #000;
  font-style: italic;
}

.fc-event.fc-icon-scheduled {
  background-size: 16px auto;
  background-repeat: no-repeat;
  background-position: left center;
  background-image: url("icon/fc-status-scheduled.svg");
}

.fc-event.fc-icon-scheduled .fc-content {
  margin-left: 20px;
}

.fc-event.fc-icon-waiting {
  background-size: 16px auto;
  background-repeat: no-repeat;
  background-position: left center;
  background-image: url("icon/fc-status-waiting.svg");
}

.fc-event.fc-icon-waiting .fc-content {
  margin-left: 20px;
}

.fc-event.fc-icon-processing {
  background-size: 16px auto;
  background-repeat: no-repeat;
  background-position: left center;
  background-image: url("icon/fc-status-processing.svg");
}

.fc-event.fc-icon-processing .fc-content {
  margin-left: 20px;
}

.fc-event.fc-icon-completed {
  background-size: 16px auto;
  background-repeat: no-repeat;
  background-position: left center;
  background-image: url("icon/fc-status-complete.svg");
}

.fc-event.fc-icon-completed .fc-content {
  margin-left: 20px;
}

.fc th.fc-today a, .fc td.fc-today a, .fc th.fc-today>span, .fc td.fc-today>span {
  color: #4285f4;
  font-weight: bold;
}

.fc-tooltip-event {
  border: solid 1px #000;
  border-radius: 8px;
  background: #fff;
  padding: 4px 8px;
  position: absolute;
  z-index: 10001;
}

/* custom css datetimepicker xdsoft */
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_date, .xdsoft_datetimepicker .xdsoft_calendar th.xdsoft_date {
  border: 1px solid #fff;
  background: none;
  box-shadow: none;
  text-align: center;
  padding: 0px 3px;
}

.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_date>div {
  padding: 0px;
}

.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box>div>div.xdsoft_current {
  border-radius: 8px;
}

.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current {
  background: none;
  box-shadow: none;
  text-align: center;
  padding: 0px 3px;
}

.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current>div {
  background: #33aaff;
  box-shadow: #178fe5 0 1px 3px 0 inset;
  padding: 0px;
  width: 24px;
  height: 24px;
  border-radius: 12px;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  width: 24px;
}

.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_date:hover {
  background: none;
  box-shadow: none;
  text-align: center;
}

.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_date:hover>div {
  color: #fff !important;
  background: #ff8000 !important;
  box-shadow: none !important;
  padding: 0px;
  width: 24px;
  height: 24px;
  border-radius: 12px;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  width: 24px;
}

.xdsoft_time_box {
  position: relative;
  border: 1px solid #fff;
}

.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box {
  height: 151px;
  overflow: hidden;
  border-bottom: 1px solid #fff;
}

.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box>div>div {
  background: none;
  border-top: 1px solid #fff;
}

.xdsoft_datetimepicker .xdsoft_calendar td:hover,
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div:hover {
    border-radius: 8px;
}

.xdsoft_day_of_week0>div {
  color: red;
}

.xdsoft_day_of_week6>div {
  color: orange;
}