:root {
  --cc-bg: #fff;
  --cc-text: black;
  --cc-btn-primary-bg: #2bbada;
  --cc-btn-primary-text: var(--cc-bg);
  --cc-btn-primary-hover-bg: #1f98b3;
  --cc-btn-secondary-bg: #eaeff2;
  --cc-btn-secondary-text: var(--cc-text);
  --cc-btn-secondary-hover-bg: #d8e0e6;
  --cc-toggle-bg-off: #919ea6;
  --cc-toggle-bg-on: var(--cc-btn-primary-bg);
  --cc-toggle-bg-readonly: #d5dee2;
  --cc-toggle-knob-bg: #fff;
  --cc-toggle-knob-icon-color: #ecf2fa;
  --cc-block-text: var(--cc-text);
  --cc-cookie-category-block-bg: #f0f4f7;
  --cc-cookie-category-block-bg-hover: #e9eff4;
  --cc-section-border: #f1f3f5;
  --cc-cookie-table-border: #e9edf2;
  --cc-webkit-scrollbar-bg: #cfd5db;
  --cc-webkit-scrollbar-bg-hover: #9199a0;
}

.calendar-section-month-occupation .calendar {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(7, minmax(60px, 1fr));
  grid-template-rows: 50px;
  grid-auto-rows: 125px;
  overflow: auto;
  padding: 0 15px 15px 15px;
}

.calendar-section-month-occupation .calendar-container {
  width: 100%;
  margin: auto;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,.1);
  border-radius: 10px;
  background: #fff;
  max-width: 1200px;
}

.calendar-section-month-occupation .calendar-header {
  text-align: center;
  padding: 20px 0;
  background-color: #003a65;
  border-bottom: 1px solid rgba(166,168,179,.12);
  color: #fff;
}

.calendar-section-month-occupation .calendar-header h1 {
  margin: 0;
  font-size: 1.5em;
}

.calendar-section-month-occupation .calendar-header p {
  margin: 5px 0 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255,255,255,.4);
}

.calendar-section-month-occupation .calendar-header button {
  background: 0;
  border: 0;
  padding: 0;
  color: rgba(81,86,93,.7);
  cursor: pointer;
  outline: 0;
}

.calendar-section-month-occupation .calendar-header i {
  font-size: 16px;
  padding: 5px;
  cursor: pointer;
}

.calendar-section-month-occupation .calendar-header i:hover {
  opacity: .55;
  transform: scale(1.1);
}

.calendar-section-month-occupation .day {
  border: 1px solid rgba(166,168,179,.12);
  text-align: center;
  padding: 0 0;
  letter-spacing: 1px;
  font-size: 12px;
  box-sizing: border-box;
  color: #000;
  position: relative;
  z-index: 1;
  height: 100%;
}

.calendar-section-month-occupation .day.day-booked-full {
  background-color: #c99331;
}

.calendar-section-month-occupation .day.day-booked-free {
  background-color: #4ec447;
}

.calendar-section-month-occupation .day.day-booked-1st-halve {
  background: linear-gradient(to bottom right, #c99331 45%, white 55%);
}

.calendar-section-month-occupation .day.day-booked-2st-halve {
  background: linear-gradient(to bottom right, white 55%, #c99331 45%);
}

.calendar-section-month-occupation .day.day-booked-both-halves {
  background: linear-gradient(to bottom right, #c99331 35%, white 10%, #c99331 35%);
}

.calendar-section-month-occupation .day-name {
  font-size: 12px;
  text-transform: uppercase;
  color: #99a1a7;
  text-align: center;
  border-bottom: 1px solid rgba(166,168,179,.12);
  line-height: 50px;
  font-weight: 500;
}

.calendar-section-month-occupation .day--disabled {
  color: rgba(152,160,166,.6);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f9f9fa' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.calendar-section-week-occupation .calendar {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(13, 7.6923076923%);
  grid-template-rows: 50px;
  grid-auto-rows: 101px;
  overflow: auto;
  padding: 15px;
}

.calendar-section-week-occupation .calendar-container {
  width: 100%;
  margin: auto;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,.1);
  border-radius: 10px;
  background: #fff;
  max-width: 1200px;
}

.calendar-section-week-occupation .calendar-header {
  text-align: center;
  padding: 20px 0;
  background-color: #003a65;
  border-bottom: 1px solid rgba(166,168,179,.12);
  color: #fff;
}

.calendar-section-week-occupation .calendar-header .header-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.calendar-section-week-occupation .calendar-header h1 {
  margin: 0;
  font-size: 1.5em;
}

.calendar-section-week-occupation .calendar-header p {
  margin: 5px 0 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255,255,255,.4);
}

.calendar-section-week-occupation .calendar-header i {
  font-size: 16px;
  padding: 5px;
  cursor: pointer;
}

.calendar-section-week-occupation .calendar-header i:hover {
  opacity: .55;
  transform: scale(1.1);
}

.calendar-section-week-occupation .calendar-header button {
  background: 0;
  border: 0;
  padding: 0;
  color: rgba(81,86,93,.7);
  cursor: pointer;
  outline: 0;
}

.calendar-section-week-occupation .data-hour-cell {
  border-bottom: 1px solid rgba(166,168,179,.12);
  border-right: 1px solid rgba(166,168,179,.12);
  text-align: center;
  letter-spacing: 1px;
  font-size: 12px;
  box-sizing: border-box;
  color: #ccc;
  position: relative;
  pointer-events: none;
  z-index: 1;
  height: 100%;
}

.calendar-section-week-occupation .data-hour-cell--disabled {
  color: rgba(152,160,166,.6);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f9f9fa' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.calendar-section-week-occupation .data-name {
  font-size: 12px;
  text-transform: uppercase;
  color: #003a65;
  text-align: center;
  border-bottom: 1px solid rgba(166,168,179,.12);
  line-height: 50px;
  font-weight: 500;
}

.calendar-section-week-occupation .day-name {
  border-bottom: 1px solid rgba(166,168,179,.12);
  border-right: 1px solid rgba(166,168,179,.12);
  text-align: center;
  padding: 15px 5px;
  letter-spacing: 0;
  font-size: 16px;
  box-sizing: border-box;
  color: #003a65;
  font-weight: bold;
  position: relative;
  pointer-events: none;
  z-index: 1;
  grid-column: 1/1;
}

.calendar-section-week-occupation .day-name .day-abbreviation {
  font-size: 1em;
  margin-bottom: 0;
}

.calendar-section-week-occupation .day-name .day-date {
  font-size: .6em;
  margin-bottom: 0;
}

.more-tasks-span {
  position: absolute;
  z-index: 10;
  bottom: 0;
  font-size: 12px;
  letter-spacing: 0px;
  font-weight: bold;
  cursor: pointer;
  color: #000;
}

.more-tasks-span:hover {
  opacity: .55;
  transform: scale(1.2);
}

.more-tasks-dialog {
  display: none;
  position: absolute;
  z-index: 10;
  padding: 8px;
  height: auto;
  border-radius: 5px;
  border: 1px solid rgba(150,148,151,.33);
  background-color: #fff;
  opacity: 1;
  box-shadow: 0 10px 40px rgba(0,0,0,.18);
}

.more-tasks-dialog p {
  margin-bottom: 0;
}

.more-tasks-dialog .more-tasks-date {
  font-weight: bold;
}

.more-tasks-dialog .more-tasks-title {
  font-size: 12px;
}

.more-tasks-dialog .more-tasks-dialog-cancel-icon {
  position: absolute;
  top: 0;
  right: 0;
  margin: 5px 10px;
  cursor: pointer;
}

.more-tasks-dialog .more-tasks-dialog-cancel-icon:hover {
  opacity: .55;
  transform: scale(1.2);
}

.more-tasks-dialog .more-tasks-dialog-cancel-icon i {
  font-size: 18px;
}

.more-tasks-dialog .more-tasks-dialog-cancel-icon .more-tasks-dialog-tasks-wrapper {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.task {
  border-left: 3px solid;
  padding: 0px 15px;
  margin: 1px 5px;
  height: 23px;
  font-size: 12px;
  position: relative;
  z-index: 3;
  line-height: 22px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.task--level-1-of-4 {
  margin-top: 1px;
}

.task--level-2-of-4 {
  margin-top: 26px;
}

.task--level-3-of-4 {
  margin-top: 51px;
}

.task--level-4-of-4 {
  margin-top: 76px;
}

.task:hover .task__detail {
  display: block;
}

.task--warning {
  border-left-color: #fdb44d;
  background: #fef0db;
  color: #fc9b10;
}

.task--danger {
  border-left-color: #fa607e;
  background: #fdc5d0;
  color: #f8254e;
}

.task--info {
  border-left-color: #83ccd9;
  background: #d1ecf1;
  color: #2e8596;
}

.task--success {
  border-left-color: #8ccf9c;
  background: #d4edda;
  color: #39894c;
}

.task--primary {
  border-left-color: #66b1ff;
  background: #cce5ff;
  color: #0064cc;
}

.task__detail {
  position: absolute;
  display: none;
  left: 0;
  top: calc(100% + 10px);
  background: #fff;
  border: 1px solid rgba(166,168,179,.2);
  color: #000;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,.08);
  z-index: 11;
}

.task__detail:after,
.task__detail:before {
  bottom: 100%;
  left: 30%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.task__detail:before {
  border-bottom-color: rgba(166,168,179,.2);
  border-width: 8px;
  margin-left: -8px;
}

.task__detail:after {
  border-bottom-color: #fff;
  border-width: 6px;
  margin-left: -6px;
}

.task__detail h2 {
  font-size: 15px;
  margin: 0;
  color: #51565d;
}

.task__detail p {
  margin-top: 4px;
  font-size: 12px;
  margin-bottom: 0;
  font-weight: 500;
  color: rgba(81,86,93,.7);
}

.task.edit-event {
  cursor: pointer;
}

.tooltip-inner {
  background-color: #fff !important;
  opacity: 1 !important;
  max-width: 350px;
  color: #000;
  box-shadow: 0 10px 40px rgba(0,0,0,.16);
}

.tooltip-inner .from-to {
  color: gray;
}

.calendar-tooltip.bs-tooltip-top .arrow::before {
  border-top-color: #fff;
}

.calendar-tooltip.bs-tooltip-bottom .arrow::before {
  border-bottom-color: #fff;
}

