/*!
 * FullCalendar Scheduler v1.9.4
 * Docs & License: https://fullcalendar.io/scheduler/
 * (c) 2018 Adam Shaw
 */
/* TODO: break this file up */
/* Scroller
--------------------------------------------------------------------------------------------------*/
#calendar-wrap {
  /* supresses rendering of native scrollbars */
  /* on .fc-scroller */
  /* for themed, hard to get the border-color, so just forget it (REVISIT) */
  /* content is responsible for bottom border */
  /* View Structure
--------------------------------------------------------------------------------------------------*/
  /*
on most tables that expand to the edges, kill the outer border,
because the container elements take care of it.
example tables:
.fc-scroller-canvas .fc-content table
.fc-scroller-canvas .fc-bg .fc-slats table
*/
  /*
for resource rows (in both the spreadsheet and timeline areas),
undo previous rule in order to always show last border.
*/
  /* Table Cell Common
--------------------------------------------------------------------------------------------------*/
  /*
Cells at the start of a week
TODO: figure out better styling

.fc-ltr .fc-timeline .fc-em-cell div {
	border-left: 3px solid #eee;
	height: 100%;
}
.fc-rtl .fc-timeline .fc-em-cell {
	border-right-width: 3px;
}
*/
  /* head */
  /* body */
  /* Resource Area
--------------------------------------------------------------------------------------------------*/
  /* head */
  /* body */
  /* Time Area
--------------------------------------------------------------------------------------------------*/
  /* head */
  /* body slats (vertical lines) */
  /* body content containers
   can be within rows or directly within the pane's content
*/
  /* body resource rows */
  /* Now Indicator
--------------------------------------------------------------------------------------------------*/
  /* Time Grid Events
--------------------------------------------------------------------------------------------------*/
  /* don't overlap grid lines at the event's end */
  /* follower logic */
  /* License Message
--------------------------------------------------------------------------------------------------*/
}

#calendar-wrap .fc-scroller-clip {
  overflow: hidden;
  /* for clipping scrollbars */
  position: relative;
  /* so things like scrollfollowers can attach to this */
}

#calendar-wrap .fc-no-scrollbars {
  background: rgba(255, 255, 255, 0);
  /* hack for dynamic DOM nodes (in Chrome OSX at least) */
}

#calendar-wrap .fc-no-scrollbars::-webkit-scrollbar {
  width: 0;
  height: 0;
}

#calendar-wrap .fc-scroller-canvas {
  position: relative;
  /* origin for bg */
  box-sizing: border-box;
  /* so that padding (for gutter) will be part of height */
  min-height: 100%;
}

#calendar-wrap .fc-scroller-canvas > .fc-bg {
  z-index: 1;
  /* make default? */
}

#calendar-wrap .fc-scroller-canvas > .fc-content {
  z-index: 2;
  /* make default? */
  position: relative;
  /* origin for inner content */
  border-style: solid;
  border-width: 0;
}

#calendar-wrap .ui-widget .fc-scroller-canvas > .fc-content {
  border-color: transparent;
}

#calendar-wrap .fc-scroller-canvas.fc-gutter-left > .fc-content {
  border-left-width: 1px;
  margin-left: -1px;
}

#calendar-wrap .fc-scroller-canvas.fc-gutter-right > .fc-content {
  border-right-width: 1px;
  margin-right: -1px;
}

#calendar-wrap .fc-scroller-canvas.fc-gutter-top > .fc-content {
  border-top-width: 1px;
  margin-top: -1px;
}

#calendar-wrap .fc-rtl .fc-timeline {
  direction: rtl;
}

#calendar-wrap .fc-timeline .fc-divider {
  width: 3px;
  border-style: double;
  /* overcome neighboring borders */
}

#calendar-wrap .fc-timeline .fc-head > tr > .fc-divider {
  border-bottom: 0;
}

#calendar-wrap .fc-timeline .fc-body > tr > .fc-divider {
  border-top: 0;
}

#calendar-wrap .fc-timeline .fc-body .fc-divider.ui-widget-header {
  background-image: none;
}

#calendar-wrap .fc-scrolled .fc-head .fc-scroller {
  z-index: 2;
  /* so drop shadow will go above body panes */
}

#calendar-wrap .fc-timeline.fc-scrolled .fc-head .fc-scroller {
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.075);
}

#calendar-wrap .fc-timeline .fc-body .fc-scroller {
  z-index: 1;
}

#calendar-wrap .fc-timeline .fc-scroller-canvas > div > table,
#calendar-wrap .fc-timeline .fc-scroller-canvas > div > div > table {
  border-style: hidden;
}

#calendar-wrap .fc-timeline .fc-scroller-canvas > .fc-content > .fc-rows > table {
  border-bottom-style: none;
}

#calendar-wrap .fc-timeline th,
#calendar-wrap .fc-timeline td {
  white-space: nowrap;
}

#calendar-wrap .fc-timeline .fc-cell-content {
  overflow: hidden;
}

#calendar-wrap .fc-timeline .fc-cell-text {
  padding-left: 4px;
  padding-right: 4px;
}

#calendar-wrap .fc-timeline .fc-col-resizer {
  cursor: col-resize;
}

#calendar-wrap .fc-timeline th {
  vertical-align: middle;
}

#calendar-wrap .fc-timeline .fc-head .fc-cell-content {
  padding-top: 3px;
  padding-bottom: 3px;
}

#calendar-wrap .fc-timeline .fc-body .ui-widget-content {
  background-image: none;
}

#calendar-wrap .fc-resource-area {
  width: 30%;
}

#calendar-wrap .fc-resource-area col {
  width: 40%;
  min-width: 70px;
  /* will be read by JS */
}

#calendar-wrap .fc-resource-area col.fc-main-col {
  width: 60%;
  /* make the first column in a nested setup bigger */
}

#calendar-wrap .fc-flat .fc-expander-space {
  /* fc-flat is opposite of fc-nested */
  display: none;
}

#calendar-wrap .fc-ltr .fc-resource-area tr > * {
  text-align: left;
}

#calendar-wrap .fc-rtl .fc-resource-area tr > * {
  text-align: right;
}

#calendar-wrap .fc-resource-area .fc-cell-content {
  padding-left: 4px;
  padding-right: 4px;
}

#calendar-wrap .fc-resource-area .fc-super th {
  text-align: center;
}

#calendar-wrap .fc-resource-area th > div {
  position: relative;
}

#calendar-wrap .fc-resource-area th .fc-cell-content {
  position: relative;
  z-index: 1;
}

#calendar-wrap .fc-resource-area th .fc-col-resizer {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 5px;
}

#calendar-wrap .fc-ltr .fc-resource-area th .fc-col-resizer {
  right: -3px;
}

#calendar-wrap .fc-rtl .fc-resource-area th .fc-col-resizer {
  left: -3px;
}

#calendar-wrap tr.fc-collapsed > td,
#calendar-wrap tr.fc-transitioning > td {
  /* during the transition */
  overflow: hidden;
  /* prevents absolutely-positioned events from bleeding out */
}

#calendar-wrap tr.fc-transitioning > td > div {
  transition: margin-top 0.2s;
}

#calendar-wrap tr.fc-collapsed > td > div {
  margin-top: -10px;
}

#calendar-wrap .fc-body .fc-resource-area .fc-cell-content {
  /* might BE the cell */
  position: relative;
  /* optimization for ScrollFollower */
  padding-top: 8px;
  padding-bottom: 8px;
}

#calendar-wrap .fc-no-overlap .fc-body .fc-resource-area .fc-cell-content {
  /* might BE the cell */
  padding-top: 5px;
  padding-bottom: 5px;
}

#calendar-wrap .fc-resource-area .fc-icon {
  /* the expander and spacers before the expander */
  width: 1em;
  /* ensure constant width, esp for empty icons */
  font-size: .9em;
  vertical-align: middle;
  margin-top: -1%;
}

#calendar-wrap .fc-resource-area .fc-expander {
  cursor: pointer;
  color: #666;
  /* for the icon within */
}

#calendar-wrap .fc-time-area col {
  min-width: 2.2em;
  /* detected by JS */
}

#calendar-wrap .fc-ltr .fc-time-area .fc-chrono th {
  text-align: left;
}

#calendar-wrap .fc-rtl .fc-time-area .fc-chrono th {
  text-align: right;
}

#calendar-wrap .fc-time-area .fc-slats {
  /* fc-bg is responsible for a lot of this now! */
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#calendar-wrap .fc-time-area .fc-slats table {
  height: 100%;
}

#calendar-wrap .fc-time-area .fc-slats .fc-minor {
  border-style: dotted;
}

#calendar-wrap .fc-time-area .fc-slats td {
  border-width: 0 1px;
  /* need to do this. sometimes -1 margin wouldn't hide the dotted */
}

#calendar-wrap .fc-ltr .fc-time-area .fc-slats td {
  border-right-width: 0;
}

#calendar-wrap .fc-rtl .fc-time-area .fc-slats td {
  border-left-width: 0;
}

#calendar-wrap .fc-time-area .fc-bgevent-container,
#calendar-wrap .fc-time-area .fc-highlight-container {
  position: absolute;
  z-index: 2;
  /* only for directly within pane. not for row. overridden later */
  top: 0;
  bottom: 0;
  width: 0;
}

#calendar-wrap .fc-ltr .fc-time-area .fc-helper-container,
#calendar-wrap .fc-ltr .fc-time-area .fc-bgevent-container,
#calendar-wrap .fc-ltr .fc-time-area .fc-highlight-container {
  left: 0;
}

#calendar-wrap .fc-rtl .fc-time-area .fc-helper-container,
#calendar-wrap .fc-rtl .fc-time-area .fc-bgevent-container,
#calendar-wrap .fc-rtl .fc-time-area .fc-highlight-container {
  right: 0;
}

#calendar-wrap .fc-time-area .fc-bgevent,
#calendar-wrap .fc-time-area .fc-highlight {
  position: absolute;
  top: 0;
  bottom: 0;
}

#calendar-wrap .fc-time-area .fc-rows {
  position: relative;
  z-index: 3;
}

#calendar-wrap .fc-time-area .fc-rows .ui-widget-content {
  background: none;
}

#calendar-wrap .fc-time-area .fc-rows td > div {
  position: relative;
}

#calendar-wrap .fc-time-area .fc-rows .fc-bgevent-container,
#calendar-wrap .fc-time-area .fc-rows .fc-highlight-container {
  z-index: 1;
}

#calendar-wrap .fc-time-area .fc-event-container {
  position: relative;
  z-index: 2;
  /* above bgevent and highlight */
  width: 0;
  /* for event positioning. will end up on correct side based on dir */
}

#calendar-wrap .fc-time-area .fc-helper-container {
  /* also an fc-event-container */
  position: absolute;
  z-index: 3;
  top: 0;
}

#calendar-wrap .fc-time-area .fc-event-container {
  padding-bottom: 8px;
  top: -1px;
}

#calendar-wrap .fc-time-area tr:first-child .fc-event-container {
  top: 0;
}

#calendar-wrap .fc-no-overlap .fc-time-area .fc-event-container {
  padding-bottom: 0;
  top: 0;
}

#calendar-wrap .fc-timeline .fc-now-indicator {
  /* both the arrow and the line */
  z-index: 3;
  /* one above scroller's fc-content */
  top: 0;
}

#calendar-wrap .fc-time-area .fc-now-indicator-arrow {
  margin: 0 -6px;
  /* 5, then one more to counteract scroller's negative margins */
  /* triangle pointing down... */
  border-width: 6px 5px 0 5px;
  border-left-color: transparent;
  border-right-color: transparent;
}

#calendar-wrap .fc-time-area .fc-now-indicator-line {
  margin: 0 -1px;
  /* counteract scroller's negative margins */
  bottom: 0;
  border-left-width: 1px;
}

#calendar-wrap .fc-timeline-event {
  position: absolute;
  border-radius: 0;
  padding: 2px 0;
  margin-bottom: 1px;
}

#calendar-wrap .fc-no-overlap .fc-timeline-event {
  padding: 5px 0;
  margin-bottom: 0;
}

#calendar-wrap .fc-ltr .fc-timeline-event {
  margin-right: 1px;
}

#calendar-wrap .fc-rtl .fc-timeline-event {
  margin-left: 1px;
}

#calendar-wrap .fc-timeline-event .fc-content {
  padding: 0 1px;
  white-space: nowrap;
  overflow: hidden;
}

#calendar-wrap .fc-timeline-event .fc-time {
  font-weight: bold;
  padding: 0 1px;
}

#calendar-wrap .fc-rtl .fc-timeline-event .fc-time {
  display: inline-block;
  /* will force it on the other side */
}

#calendar-wrap .fc-timeline-event .fc-title {
  position: relative;
  /* optimization for ScrollFollower */
  padding: 0 1px;
}

#calendar-wrap .fc-timeline-event.fc-selected .fc-bg {
  display: none;
  /* hide semi-white background, to appear darker */
}

#calendar-wrap .fc-ltr .fc-timeline-event .fc-title {
  padding-left: 10px;
  margin-left: -8px;
}

#calendar-wrap .fc-rtl .fc-timeline-event .fc-title {
  padding-right: 10px;
  margin-right: -8px;
}

#calendar-wrap .fc-ltr .fc-timeline-event.fc-not-start .fc-title {
  margin-left: -2px;
}

#calendar-wrap .fc-rtl .fc-timeline-event.fc-not-start .fc-title {
  margin-right: -2px;
}

#calendar-wrap .fc-timeline-event.fc-not-start .fc-title,
#calendar-wrap .fc-body .fc-time-area .fc-following {
  position: relative;
}

#calendar-wrap .fc-timeline-event.fc-not-start .fc-title:before,
#calendar-wrap .fc-body .fc-time-area .fc-following:before {
  /* generic arrow */
  content: "";
  position: absolute;
  top: 50%;
  margin-top: -5px;
  border: 5px solid #000;
  border-top-color: transparent;
  border-bottom-color: transparent;
  opacity: .5;
}

#calendar-wrap .fc-ltr .fc-timeline-event.fc-not-start .fc-title:before,
#calendar-wrap .fc-ltr .fc-body .fc-time-area .fc-following:before {
  /* LTR. left pointing arrow */
  border-left: 0;
  left: 2px;
}

#calendar-wrap .fc-rtl .fc-timeline-event.fc-not-start .fc-title:before,
#calendar-wrap .fc-rtl .fc-body .fc-time-area .fc-following:before {
  /* RTL. right pointing arrow */
  border-right: 0;
  right: 2px;
}

#calendar-wrap .fc-license-message {
  position: absolute;
  z-index: 99999;
  bottom: 1px;
  left: 1px;
  background: #eee;
  border-color: #ddd;
  border-style: solid;
  border-width: 1px 1px 0 0;
  padding: 2px 4px;
  font-size: 12px;
  border-top-right-radius: 3px;
}

.fc-toolbar h2 {
  margin-top: 6px;
}

.modal-dialog {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  margin: auto;
  pointer-events: none;
}

.modal-content {
  pointer-events: all;
}

body.vertical-layout.menu-collapsed .notyet {
  padding-left: 90px;
}

body.vertical-layout.menu-expanded .notyet {
  padding-left: 290px;
}

@media screen and (max-width: 580px) {
  #miyako-calendar-content .fc-header-toolbar .fc-center {
    padding-top: 20px;
  }
}

#miyako-calendar-content .fc-event-container .fc-title {
  color: #333;
}

#miyako-calendar-content .fc-event-container .fc-time {
  color: #333;
}

#miyako-calendar-content .fc-view-container.sp .fc-view {
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
}

#miyako-calendar-content .fc-view-container.sp .fc-view .fc-title {
  color: #333;
}

#miyako-calendar-content .fc-view-container.sp .fc-view .fc-time span {
  color: #333;
}

#miyako-calendar-content .fc-view-container.sp .fc-view > table {
  width: 100%;
}

@media screen and (max-width: 500px) {
  #miyako-calendar-content .fc-view-container.sp .fc-view > table {
    width: 100%;
  }
}

#miyako-calendar-content .new-event-modal .modal-body, #miyako-calendar-content .update-event-modal .modal-body {
  max-height: 70vh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#miyako-calendar-content .print_btn {
  position: fixed;
  right: 45px;
  bottom: 110px;
  width: 120px;
  z-index: 890
}

#miyako-calendar-content .add_btn {
  position: fixed;
  right: 45px;
  bottom: 55px;
  width: 120px;
  z-index: 890
}
#miyako-calendar-content .notyet {
  position: fixed;
  left: 0;
  bottom: -500px;
  width: 100%;
  background-color: #fff;
  box-shadow: 1px 0px 30px rgba(0, 0, 0, 0.1);
  z-index: 900;
  transition: padding-left 0.3s ease-out, bottom 0.3s ease-out;
}

#miyako-calendar-content .staff-wrap{
  position: fixed;
  height: 120px;
  bottom: 0;
  background: #fff;
  width: 250px;
  z-index: 100;
}
#miyako-calendar-content .staff-wrap h3{
  padding: 8px 0;
  background: #1C8BEE;
  color: #fff;
  text-align: center;
  font-size: 100%;
}
#miyako-calendar-content .staff-wrap .staff-box{
  padding: 8px 15px;
  overflow-y: scroll;
  height: 120px;
}

#miyako-calendar-content .vehicle-wrap{
  position: fixed;
  height: 120px;
  bottom: 0;
  margin-left: 260px;
  background: #fff;
  width: 250px;
  z-index: 100;
}
#miyako-calendar-content .vehicle-wrap h3{
  padding: 8px 0;
  background: #1C8BEE;
  color: #fff;
  text-align: center;
  font-size: 100%;
}
#miyako-calendar-content .vehicle-wrap .vehicle-box{
  padding: 8px 15px;
  overflow-y: scroll;
  height: 120px;
}

#miyako-calendar-content .mb100 {
  margin-bottom: 100px;
}

@media screen and (max-width: 767px) {
  #miyako-calendar-content .notyet {
    bottom: -250px;
  }
  #miyako-calendar-content .print_btn {
    display: none;
  }
  #miyako-calendar-content .add_btn {
    position: fixed;
    right: 0;
    bottom: 45px;
    width: 100%;
    z-index: 890
  }
  #miyako-calendar-content .add_btn .btn{
    width: 100%;
  }
  #miyako-calendar-content .staff-wrap{
    display: none;
  }
  #miyako-calendar-content .vehicle-wrap{
    display: none;
  }

  #miyako-calendar-content .mb100 {
    margin-bottom: 0px;
  }
}

#miyako-calendar-content .notyet.active {
  bottom: 0;
}

#miyako-calendar-content .notyet-wrap {
  height: 500px;
  overflow-y: scroll;
  padding: 30px 30px 30px 0;
  -webkit-overflow-scrolling: touch;
}

@media screen and (max-width: 767px) {
  #miyako-calendar-content .notyet-wrap {
    padding: 30px 15px 30px 15px;
    height: 250px;
  }
}

#miyako-calendar-content .notyet-wrap .btn i {
  font-size: 12px;
}

#miyako-calendar-content .other-work {
  display: none;
}

#miyako-calendar-content .btn-block {
  overflow: hidden;
  text-overflow: ellipsis;
}

#miyako-calendar-content .btn-disp-event {
  position: absolute;
  right: 15px;
  top: -50px;
}

@media screen and (max-width: 767px) {
  #miyako-calendar-content .btn-disp-event {
    right: 0px;
  }
}
.repeat-text{
  width: 10%;
  float: left;
}
.repeat-unit{
  display: block;
  float: left;
  padding-left: 7px;
  padding-top: 7px;
}
