.xdaterangepicker {
  position: absolute;
  color: inherit;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #ddd;
  width: 278px;
  max-width: none;
  padding: 0;
  margin-top: 7px;
  top: 100px;
  left: 20px;
  z-index: 3001;
  display: none;
//  font-family: arial;
//  font-size: 15px;
  line-height: 1em;
}

.daterangepicker.inline {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  display: block;
}


.daterangepicker:before {
  top: -7px;
  border-right: 7px solid transparent;
  border-left: 7px solid transparent;
  border-bottom: 7px solid #ccc;
}

.daterangepicker:after {
  top: -6px;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #fff;
  border-left: 6px solid transparent;
}

.daterangepicker.opensleft:before {
  right: 9px;
}

.daterangepicker.opensleft:after {
  right: 10px;
}

.daterangepicker.openscenter:before {
  left: 0;
  right: 0;
  width: 0;
  margin-left: auto;
  margin-right: auto;
}

.daterangepicker.openscenter:after {
  left: 0;
  right: 0;
  width: 0;
  margin-left: auto;
  margin-right: auto;
}

.daterangepicker.opensright:before {
  left: 9px;
}

.daterangepicker.opensright:after {
  left: 10px;
}

.daterangepicker.drop-up {
  margin-top: -7px;
}

.daterangepicker.drop-up:before {
  top: initial;
  bottom: -7px;
  border-bottom: initial;
  border-top: 7px solid #ccc;
}

.daterangepicker.drop-up:after {
  top: initial;
  bottom: -6px;
  border-bottom: initial;
  border-top: 6px solid #fff;
}

.daterangepicker.single .ranges, .daterangepicker.single .drp-calendar {
  float: none;
}

.daterangepicker.single .drp-selected {
  display: none;
}

.daterangepicker.show-calendar .drp-calendar {
  display: block;
}

.daterangepicker.show-calendar .drp-buttons {
  display: block;
}

.daterangepicker.auto-apply .drp-buttons {
  display: none;
}

.drp-calendar {
  display: none;
//  max-width: 270px;
}

.drp-calendar.left {
//  padding: 8px 0 8px 8px;
}

.drp-calendar.right {
//  padding: 8px;
}

.drp-calendar.single .calendar-table {
  border: none;
}

.calendar-table .next span, .calendar-table .prev span {
  color: #fff;
  border: solid black;
  border-width: 0 2px 2px 0;
  border-radius: 0;
  display: inline-block;
  padding: 3px;
}

.calendar-table .next span {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.calendar-table .prev span {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.calendar-table th, .calendar-table td {
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
  min-width: 32px;
  width: 32px;
  height: 24px;
  line-height: 24px;
  font-size: 12px;
  border-radius: 4px;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}

.calendar-table {
  border: 1px solid #fff;
  border-radius: 4px;
  background-color: #fff;
  margin: 1em;
}

.calendar-table table {
  width: 100%;
  margin: 0;
  border-spacing: 0;
  border-collapse: collapse;
}

td.available:hover, th.available:hover {
  background-color: #eee;
  border-color: transparent;
  color: inherit;
}

td.week, th.week {
  font-size: 80%;
  color: #ccc;
}

td.off, td.off.in-range, td.off.start-date, td.off.end-date {
  background-color: #fff;
  border-color: transparent;
  color: #999;
}

td.in-range {
  background-color: #ebf4f8;
  border-color: transparent;
  color: #000;
  border-radius: 0;
}

td.start-date {
  border-radius: 4px 0 0 4px;
}

td.end-date {
  border-radius: 0 4px 4px 0;
}

td.start-date.end-date {
  border-radius: 4px;
}

td.active, td.active:hover {
  background-color: #357ebd;
  border-color: transparent;
  color: #fff;
}

th.month {
  width: auto;
}

td.disabled, option.disabled {
  color: #999;
  cursor: not-allowed;
  text-decoration: line-through;
}

td.holiday {
  background-color: #fff3cd;
  border-color: #ffc107;
  position: relative;
}

td.holiday:hover {
  background-color: #ffe69c;
}

td.holiday.active,
td.holiday.active:hover {
  background-color: #357ebd;
  border-color: transparent;
  color: #fff;
}

td.holiday::after {
  content: '●';
  position: absolute;
  bottom: 2px;
  right: 4px;
  font-size: 8px;
  color: #ff6b6b;
}

.holiday-header {
  border-bottom: 1px solid #ddd;
  background-color: #f8f9fa;
  display: none;
}

.holiday-header-toggle {
  padding: 10px 15px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: #333;
  user-select: none;
  transition: background-color 0.2s;
  position: relative;
}

.holiday-header-toggle:hover {
  background-color: #e9ecef;
}

.holiday-header-toggle::after {
  content: '▼';
  position: absolute;
  right: 15px;
  font-size: 10px;
  transition: transform 0.2s;
}

.holiday-header-toggle.expanded::after {
  transform: rotate(-180deg);
}

.holiday-header-content {
  max-height: 150px;
  overflow-y: auto;
  padding: 8px 15px;
  display: none;
}

.holiday-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  margin: 2px 0;
  border-radius: 4px;
  background-color: #fff;
  border: 1px solid #e9ecef;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.holiday-item:hover {
  background-color: #e7f3ff;
  border-color: #2196f3;
  transform: translateX(2px);
}

.holiday-date {
  font-weight: 600;
  color: #495057;
  min-width: 60px;
}

.holiday-name {
  flex: 1;
  color: #6c757d;
  text-align: right;
}

.holiday-item.no-holidays {
  justify-content: center;
  color: #adb5bd;
  font-style: italic;
  border-style: dashed;
  cursor: default;
}

.holiday-item.no-holidays:hover {
  background-color: #fff;
  border-color: #e9ecef;
  transform: none;
}

.holiday-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f8f9fa;
}

.holiday-item.disabled:hover {
  background-color: #f8f9fa;
  border-color: #e9ecef;
  transform: none;
}

.holiday-item.disabled .holiday-date,
.holiday-item.disabled .holiday-name {
  color: #adb5bd;
  text-decoration: line-through;
}

select.monthselect, select.yearselect {
  font-size: 12px;
  padding: 1px;
  height: auto;
  margin: 0;
  cursor: default;
}

select.monthselect {
  margin-right: 2%;
  width: 56%;
}

select.yearselect {
  width: 40%;
}

select.hourselect, select.minuteselect, select.secondselect, select.ampmselect {
  width: 50px;
  margin: 0 auto;
  background: #eee;
  border: 1px solid #eee;
  padding: 2px;
  outline: 0;
  font-size: 12px;
}

.calendar-time {
  text-align: center;
  margin: 4px auto 0 auto;
  line-height: 30px;
  position: relative;
}

.calendar-time select.disabled {
  color: #ccc;
  cursor: not-allowed;
}

.drp-buttons {
  clear: both;
  text-align: right;
  padding: 8px;
  border-top: 1px solid #ddd;
  display: none;
  line-height: 12px;
  vertical-align: middle;
}

.drp-selected {
  display: inline-block;
  font-size: 12px;
  padding-right: 8px;
}

.drp-buttons .btn {
  margin-left: 8px;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
}

.daterangepicker.show-ranges.single.rtl .drp-calendar.left {
  border-right: 1px solid #ddd;
}

.daterangepicker.show-ranges.single.ltr .drp-calendar.left {
  border-left: 1px solid #ddd;
}

.daterangepicker.show-ranges.rtl .drp-calendar.right {
//  border-right: 1px solid #ddd;
}

.daterangepicker.show-ranges.ltr .drp-calendar.left {
  border-left: 1px solid #ddd;
}

.ranges {
  float: none;
  text-align: left;
  margin: 0;
}

.daterangepicker.show-calendar .ranges {
  margin-top: 8px;
}

.ranges ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

.ranges li {
  font-size: 12px;
  padding: 8px 12px;
  cursor: pointer;
}

.ranges li:hover {
  background-color: #eee;
}

.ranges li.active {
  background-color: #08c;
  color: #fff;
}

/*  Larger Screen Styling */
@media (min-width: 564px) {
  {
    width: auto;
  }

  .ranges ul {
    width: 140px;
  }

  .daterangepicker.single .ranges ul {
    width: 100%;
  }

  .daterangepicker.single .drp-calendar.left {
    clear: none;
  }

  .daterangepicker.single .ranges, .daterangepicker.single .drp-calendar {
//    float: left;
  }

  {
    direction: ltr;
    text-align: left;
  }

  .drp-calendar.left {
    clear: left;
    margin-right: 0;
  }

  .drp-calendar.left .calendar-table {
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

  .drp-calendar.right {
//    margin-left: 0;
  }

  .drp-calendar.right .calendar-table {
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }

  .drp-calendar.left .calendar-table {
    padding-right: 8px;
  }

  .ranges, .drp-calendar {
//    float: left;
  }
}

@media (min-width: 730px) {
  .ranges {
    width: auto;
  }

  .ranges {
//    float: left;
  }

  .daterangepicker.rtl .ranges {
 //   float: right;
  }

  .drp-calendar.left {
    clear: none !important;
  }
}
