@use 'sass:color';
@use '../base/common/base-variables' as *;

$schedule-skin: $skin-name !default;
$schedule-header-bg-color: $grey-base !default;
$schedule-header-border-color: $grey-99 !default;
$schedule-header-font-color: $grey-dark-font !default;
$schedule-header-hover-color: $grey-light !default;
$schedule-content-bg-color: $grey-f8 !default;
$schedule-content-border-color: $grey-99 !default;
$schedule-primary-content-font-color: $grey-dark-font !default;
$schedule-secondary-content-font-color: $grey-f5 !default;
$schedule-select-font-color: $grey-dark-font !default;
$schedule-select-bg-color: $grey-88 !default;
$schedule-work-cells-bg-color: $grey-dark !default;
$schedule-current-date-bg-color: $brand-primary !default;
$schedule-disable-dates-color: rgba($shadow, .08) !default;
$schedule-disable-font-color: rgba($default-font-color, .26) !default;
$schedule-workhour-bg-color: $grey-base !default;
$schedule-hover-bg-color: $grey-light !default;
$schedule-resource-focus-bg-color: $schedule-hover-bg-color !default;
$schedule-hover-font-color: $header-font-color !default;
$schedule-active-color: $brand-primary-font !default;
$schedule-active-border-color: $brand-primary !default;
$schedule-active-font-color: color.adjust($brand-primary, $lightness: 15%) !default;
$schedule-current-day-active-color: $schedule-active-color !default;
$schedule-calendar-background: none !default;
$schedule-calendar-shadow: none !default;
$schedule-time-cells-font-color: $schedule-secondary-content-font-color !default;
$schedule-time-cells-bg-color: $schedule-header-bg-color !default;
$schedule-timezone-enable-nrml-height: 60px !default;
$schedule-timezone-enable-bgr-height: 70px !default;
$schedule-alternate-cell-border: dotted !default;
$schedule-header-cells-height: 60px !default;
$schedule-header-cells-padding: 5px !default;
$schedule-header-cells-width: 36px !default;
$schedule-month-header-cells-nrml-height: 30px !default;
$schedule-month-work-cells-height: 70px !default;
$schedule-month-header-cells-bgr-height: 35px !default;
$schedule-month-header-cells-padding: 3px !default;
$schedule-allday-cells-height: 0 !default;
$schedule-work-cells-height: 36px !default;
$schedule-work-cells-width: 36px !default;
$schedule-date-navigation-font-size: 14px !default;
$schedule-header-nrml-font-size: 16px !default;
$schedule-header-bgr-font-size: 18px !default;
$schedule-header-device-font-size: 18px !default;
$schedule-content-nrml-font-size: 14px !default;
$schedule-content-bgr-font-size: 15px !default;
$schedule-content-device-font-size: 15px !default;
$schedule-date-month-header-wrap-bgr-font-size: 14px !default;
$schedule-date-header-wrap-nrml-font-size: 13px !default;
$schedule-date-header-wrap-bgr-font-size: 14px !default;
$schedule-date-header-wrap-device-font-size: 14px !default;
$schedule-month-date-header-cell-font-size: none !default;
$schedule-month-date-header-cell-text-align: left !default;
$schedule-month-date-header-cell-text-transform: none !default;
$schedule-appointment-bg-color: $brand-primary !default;
$schedule-appointment-details-padding: 0 4px !default;
$schedule-appointment-font-color: $brand-primary-font !default;
$schedule-appointment-border-color: $grey-base !default;
$schedule-appointment-border-radius: 4px !default;
$schedule-appointment-selected-border: 1px solid #fff !default;
$schedule-appointment-active-border-color: $brand-primary-font !default;
$schedule-month-agenda-app-indicator-color: $grey-light-font !default;
$schedule-month-appointment-height: 22px !default;
$schedule-recurrence-icon-line-height: $schedule-month-appointment-height !default;
$schedule-agenda-recurrence-icon-line-height: 21px !default;
$schedule-month-appointment-text-line-height: 19px !default;
$schedule-month-event-clone-line-height-subject: 1.4 !default;
$schedule-appointment-text-line-height: 20px !default;
$schedule-month-appointment-time-padding: 2.5px !default;
$schedule-month-appointment-subject-padding: 2.5px 2px !default;
$schedule-timescale-appointment-height: 54px !default;
$schedule-drag-appointment-opacity: .4;
$schedule-header-day-nrml-font-size: 13px !default;
$schedule-header-day-bgr-font-size: 14px !default;
$schedule-header-day-device-font-size: 14px !default;
$schedule-header-day-line-height: unset !default;
$schedule-header-day-padding-bottom: 0 !default;
$schedule-header-date-device-font-size: 20px !default;
$schedule-header-date-nrml-font-size: 18px !default;
$schedule-header-date-bgr-font-size: 20px !default;
$schedule-time-scale-nrml-font-size: 12px !default;
$schedule-time-scale-bgr-font-size: 13px !default;
$schedule-time-scale-device-font-size: 11px !default;
$schedule-current-time-nrml-font-size: 11px !default;
$schedule-current-time-bgr-font-size: 12px !default;
$schedule-current-time-bgr-device-font-size: 9px !default;
$schedule-popup-header-icon-font-size: 11px !default;
$schedule-time-scale-width: 85px !default;
$schedule-device-time-scale-width: 60px !default;
$schedule-header-date-line-height: unset !default;
$schedule-header-padding-top: 0 !default;
$schedule-vertical-work-cells-border: 0 0 1px 1px !default;
$schedule-rtl-vertical-work-cells-border: 0 1px 1px 0 !default;
$schedule-month-work-cells-border: 0 0 1px 1px !default;
$schedule-rtl-month-work-cells-border: 0 1px 1px 0 !default;
$schedule-month-agenda-header-cells-border: 0 0 1px 0 !default;
$schedule-month-agenda-work-cells-border: 0 !default;
$schedule-rtl-month-agenda-work-cells-border: 0 !default;
$schedule-month-agenda-border: 1px solid $schedule-content-border-color !default;
$schedule-agenda-color: $grey-base !default;
$schedule-agenda-date-header-padding: 10px 32px 0 16px !default;
$schedule-recurrence-font-size: 11px !default;
$schedule-agenda-item-padding: 10px 0 !default;
$schedule-agenda-appointment-padding: 0 8px !default;
$schedule-agenda-big-appointment-padding: $schedule-agenda-appointment-padding !default;
$schedule-month-agenda-appointment-padding: 0 8px !default;
$schedule-month-agenda-item-padding: 10px 0 !default;
$schedule-popup-content-padding: 38px 18px 12px !default;
$schedule-popup-footer-padding: 8px 18px 8px 22px !default;
$schedule-date-header-line-height: 20px !default;
$schedule-date-header-margin: 3px 3px 2px !default;
$schedule-date-header-margin-rtl: $schedule-date-header-margin !default;
$schedule-tbar-bgr-min-height: 56px !default;
$schedule-tbar-border-bottom-size: 1px solid $grey-99 !default;
$schedule-tbar-box-shadow: none !default;
$schedule-tbar-box-shadow-bottom-margin: 0 !default;
$schedule-tbar-min-height: 43px !default;
$schedule-tbar-height: $schedule-tbar-min-height !default;
$schedule-tbar-down-arrow-font-size: 12px !default;
$schedule-tbar-down-arrow-margin-top: 0 !default;
$schedule-tbar-default-icon-color: $grey-light-font !default;
$schedule-tbar-separator-size: $border-size !default;
$schedule-tbar-default-bg: $grey-darker !default;
$schedule-tbar-separator-border: $grey-99 !default;
$schedule-tbar-border-nav: $grey-f8 !default;
$schedule-tbar-border-nav-type: solid !default;
$schedule-tbar-hover-bg: $grey-light !default;
$schedule-tbar-hover-font: $brand-primary !default;
$schedule-tbar-nav-bgr-width: 32px !default;
$schedule-tbar-bgr-item-size: 34px !default;
$schedule-tbar-bgr-size: $schedule-tbar-bgr-min-height !default;
$schedule-tbar-bgr-items-size: $schedule-tbar-bgr-min-height !default;
$schedule-tbar-separator-bgr-height: calc(100% - 15px) !default;
$schedule-tbar-separator-bgr-mrgn: 7.5px 3px !default;
$schedule-tbar-separator-bgr-minheight: 27px !default;
$schedule-tbar-btn-icon-bgr-width: 24px !default;
$schedule-tbar-btn-bgr-mrgn: 4px 0 !default;
$schedule-tbar-btn-bgr-line-height: 25px !default;
$schedule-tbar-btn-bgr-minheight: 34px !default;
$schedule-tbar-btn-bgr-minwidth: 34px !default;
$schedule-tbar-btn-bgr-padding: 0 !default;
$schedule-tbar-btn-icn-bgr-padding: 0 !default;
$schedule-tbar-btn-icn-right-bgr-padding: 0 !default;
$schedule-tbar-right-items-btn-border: none !default;
$schedule-tbar-right-items-btn-border-radius: 0 !default;
$schedule-tbar-right-active-items-btn-border: none !default;
$schedule-device-tbar-right-items-btn-border-radius: 0 !default;
$schedule-device-tbar-right-items-btn-border: none !default;
$schedule-device-font-size: 8px !default;
$schedule-content-nrml-font-text-transform: initial !default;
$schedule-header-hover-border-radius: 4px !default;
$schedule-more-popup-wrapper-border-radius: 2px !default;
$schedule-box-shadow: 0 1px 0 rgba($shadow, .15) !default;
$schedule-popup-box-shadow-1: 0 24px 38px 3px rgba($shadow, .14) !default;
$schedule-popup-box-shadow-2: 0 9px 46px 8px rgba($shadow, .12) !default;
$schedule-popup-box-shadow-3: 0 11px 15px -7px rgba($shadow, .2) !default;
$schedule-popup-border-color: $grey-99 !default;
$schedule-popup-bg-color: $grey-base !default;
$schedule-popup-header-icon-color: $grey-dark-font !default;
$schedule-popup-header-icon-hover-color: $grey-dark-font !default;
$schedule-popup-header-icon-hover-bg-color: $schedule-select-bg-color !default;
$schedule-popup-icon-color: $grey-dark-font !default;
$schedule-popup-icon-hover-color: $grey-light-font !default;
$schedule-popup-icon-hover-bg-color: $schedule-select-bg-color !default;
$schedule-popup-content-icon-color: $grey-dark-font !default;
$schedule-event-popup-content-padding: 0 18px 16px 26px !default;
$schedule-event-popup-fields-padding: 12px !default;
$schedule-popup-title-color: $grey-light !default;
$schedule-popup-btn-border: none !default;
$schedule-alert-dialog-border: none !default;
$schedule-btn-txt-bgr-padding: 5px 12px !default;
$schedule-icon-color: $grey-light-font !default;
$schedule-popup-header-icon-focus-bg-color: $schedule-popup-icon-hover-bg-color !default;
$schedule-popup-header-icon-focus-color: $schedule-popup-icon-hover-color !default;
$schedule-popup-icon-font-size: 18px !default;
$schedule-popup-icon-padding: 0 13px 0 0 !default;
$schedule-popup-footer-text-transform: capitalize !default;
$schedule-cell-popup-header-icon-padding: 0 !default;
$schedule-cell-popup-span-margin: 0 0 4px !default;
$schedule-cell-popup-subject-height: 40px !default;
$schedule-bgr-cell-popup-content-padding: $schedule-popup-content-padding !default;
$schedule-bgr-cell-popup-footer-padding: $schedule-popup-footer-padding !default;
$schedule-bgr-event-popup-header-icon-size: 2em !default;
$schedule-bgr-rtl-event-popup-date-time-icon-padding-right: 13px !default;
$schedule-device-event-popup-subject-padding: 12px 24px !default;
$schedule-event-popup-subject-color: $schedule-primary-content-font-color !default;
$schedule-event-popup-subject-bg-color: $schedule-popup-title-color !default;
$schedule-event-popup-subject-border-left: 6px solid $schedule-appointment-bg-color !default;
$schedule-event-popup-subject-padding: 8px 0 8px 10px !default;
$schedule-event-popup-subject-border-radius: $schedule-more-popup-wrapper-border-radius !default;
$schedule-event-popup-footer-display: block !default;
$schedule-event-popup-header-bg-color: $schedule-popup-bg-color !default;
$schedule-event-popup-header-icon-display: none !default;
$schedule-event-popup-header-close-icon-position: relative !default;
$schedule-event-popup-header-close-icon-right: 2px !default;
$schedule-multiple-event-popup-icon-bg-color: transparent !default;
$schedule-multiple-event-popup-icon-color: $schedule-primary-content-font-color !default;
$schedule-multiple-event-popup-subject-padding: 2px 5px !default;
$schedule-multiple-event-popup-icon-height: 35px !default;
$schedule-multiple-event-popup-icon-font-size: 14px !default;
$schedule-bgr-multiple-event-popup-subject-padding: 2px 5px !default;
$schedule-bgr-multiple-event-popup-icon-height: 35px !default;
$schedule-event-box-shadow-1: 0 6px 10px 0 rgba($shadow, .14) !default;
$schedule-event-box-shadow-2: 0 1px 18px 0 rgba($shadow, .12) !default;
$schedule-event-box-shadow-3: 0 3px 5px -1px rgba($shadow, .2) !default;
$schedule-more-indicator-shadow-color: $shadow-color !default;
$schedule-more-indicator-shadow-color-res-tree-popup: 0 3px 4px .2px $schedule-more-indicator-shadow-color !default;
$schedule-more-indicator-shadow-color-more-popup: 0 10px 10px 0 $schedule-more-indicator-shadow-color !default;
$schedule-more-indicator-nrml-font-size: 11px !default;
$schedule-more-popup-close-margin-top: 3px !default;
$schedule-more-popup-padding: 8px 0 !default;
$schedule-more-appointment-margin-bottom: 2px !default;
$schedule-event-popup-header-icon-padding: 5px 5px 2px !default;
$schedule-event-popup-subject-wrap-padding: 0 18px 8px !default;
$schedule-timeline-header-cells-height: 36px !default;
$schedule-timeline-work-cells-height: 60px !default;
$schedule-timeline-work-cells-width: 50px !default;
$schedule-timeline-month-cells-width: 70px !default;
$schedule-timeline-work-cells-border: 0 0 1px 1px !default;
$schedule-rtl-timeline-work-cells-border: 0 1px 1px 0 !default;
$schedule-timeline-resources-width: 200px !default;
$schedule-timeline-appointment-height: 38px !default;
$schedule-timeline-recurrence-icon-line-height: $schedule-timeline-appointment-height !default;
$schedule-timescale-recurrence-icon-line-height: $schedule-timescale-appointment-height !default;
$schedule-timeline-year-work-cells-height: 75px !default;
$schedule-timeline-year-work-cells-width: 100px !default;
$schedule-timeline-year-resource-text-padding: 4px 15px !default;
$schedule-timeline-year-resource-cells-padding-left: 15px !default;
$schedule-timeline-year-left-indent-padding: 0 !default;
$schedule-timeline-date-header-wrap-padding: 5px !default;
$schedule-rtl-timeline-date-header-wrap-padding: 5px !default;
$schedule-dialog-row-container-padding-bottom: 12px !default;
$schedule-dialog-all-day-row-padding-top: 8px !default;
$schedule-dialog-all-day-row-padding-bottom: 14px !default;
$schedule-bigger-dialog-row-container-padding-bottom: 12px !default;
$schedule-bigger-dialog-all-day-row-padding-top: 10px !default;
$schedule-device-dialog-all-day-row-padding-top: 20px !default;
$schedule-all-day-section-hover-color: $schedule-tbar-default-icon-color !default;
$schedule-tree-bg-color: $content-bg-color !default;
$schedule-tree-font-color: $schedule-primary-content-font-color !default;
$schedule-popup-overlay-bg-color: #333 !default;
$schedule-val-error-color: #f43 !default;
$schedule-val-error-bg-color: #fde !default;
$schedule-block-appointment-bg-color: rgba(255, 255, 255, .08) !default;
$schedule-block-appointment-font-color: #999 !default;
$schedule-resource-color-margin-top: 6px !default;
$schedule-bigger-resource-color-margin-top: 10px !default;
$schedule-resource-color-size: 14px !default;
$schedule-bigger-resource-color-size: 16px !default;
$schedule-resource-tree-text-content-padding: 0 0 0 12px !default;
$schedule-tip-content-padding: 3px 6px !default;
$schedule-time-cells-border-bottom-color: $schedule-content-border-color !default;
$schedule-current-day-font-weight: normal !default;
$schedule-selected-cell-hover-font-color: $schedule-hover-font-color !default;
$schedule-work-cell-hover-color: $schedule-hover-font-color !default;
$schedule-current-date-header-font-color: $schedule-active-color !default;
$schedule-selected-date-header-cell-font-color: none !default;
$schedule-appointment-detail-line-height: unset !default;
$schedule-timeline-header-time-slots-bg: $schedule-header-bg-color !default;
$schedule-agenda-subject-wrap-margin-bottom: 0 !default;
$schedule-bigger-tbar-btn-font-size: $schedule-date-navigation-font-size !default;
$schedule-more-event-close-icon-font-size: 9px !default;
$schedule-tbar-btn-icn-right-bgr-padding-top: 0 !default;
$schedule-following-events-dlg-padding: 15px !default;
$schedule-header-icon-wrapper-bg-color: $schedule-content-bg-color !default;
$schedule-bgr-date-time-icon-padding-right: 13px !default;
$schedule-bgr-more-event-close-icon-padding: unset !default;
$schedule-bgr-tbar-btn-text-font-size: $schedule-header-nrml-font-size !default;
$schedule-calendar-width: 300px !default;
$schedule-bgr-calendar-width: 345px !default;
$schedule-agenda-date-line-height: unset !default;

$schedule-font-icon-size-8: 8px !default;
$schedule-font-icon-size-10: 10px !default;
$schedule-font-icon-size-12: 12px !default;
$schedule-font-icon-size-14: 14px !default;

$schedule-border-0: 0 !default;
$schedule-border-1: 1px !default;
$schedule-border-3: 3px !default;
$schedule-border-8: 8px !default;

$schedule-border-radius-5: 5px !default;
$schedule-border-radius-50: 50% !default;
$schedule-border-radius-full: 100% !default;

$schedule-font-weight-normal: 400 !default;
$schedule-font-weight-medium: 500 !default;

$schedule-line-height-1: 1 !default;
$schedule-line-height-1-2: 1.2 !default;
$schedule-line-height-1-4: 1.4 !default;
$schedule-line-height-1-5: 1.5 !default;
$schedule-line-height-2-25: 2.25 !default;
$schedule-line-height-11: 11px !default;
$schedule-line-height-15: 15px !default;
$schedule-line-height-18: 18px !default;
$schedule-line-height-20: 20px !default;
$schedule-line-height-23: 23px !default;
$schedule-line-height-24-5: 24.5px !default;
$schedule-line-height-25: 25px !default;
$schedule-line-height-26: 26px !default;
$schedule-line-height-52: 52px !default;
$schedule-line-height-normal: normal !default;
$schedule-line-height-inherit: inherit !default;

$schedule-font-size-9: 9px !default;
$schedule-font-size-11: 11px !default;
$schedule-font-size-12: 12px !default;
$schedule-font-size-13: 13px !default;
$schedule-font-size-14: 14px !default;
$schedule-font-size-15: 15px !default;
$schedule-font-size-16: 16px !default;
$schedule-font-size-18: 18px !default;
$schedule-font-size-20: 20px !default;
$schedule-font-size-22: 22px !default;
$schedule-font-size-24: 24px !default;

$schedule-height-0: 0 !default;
$schedule-height-1: 1px !default;
$schedule-height-5: 5px !default;
$schedule-height-6: 6px !default;
$schedule-height-10: 10px !default;
$schedule-height-20: 20px !default;
$schedule-height-24: 24px !default;
$schedule-height-25: 25px !default;
$schedule-height-35: 35px !default;
$schedule-height-38: 38px !default;
$schedule-height-40: 40px !default;
$schedule-height-42: 42px !default;
$schedule-height-50: 50px !default;
$schedule-height-60: 60px !default;
$schedule-height-100: 100px !default;

$schedule-height-p20: 20% !default;
$schedule-height-p100: 100% !default;
$schedule-height-2-5: 2.5em !default;
$schedule-height-inherit: inherit !default;
$schedule-height-auto: auto !default;

$schedule-spacing-0: 0 !default;
$schedule-spacing-1: 1px !default;
$schedule-spacing-1-5: 1.5px !default;
$schedule-spacing-2: 2px !default;
$schedule-spacing-3: 3px !default;
$schedule-spacing-4: 4px !default;
$schedule-spacing-5: 5px !default;
$schedule-spacing-6: 6px !default;
$schedule-spacing-7: 7px !default;
$schedule-spacing-8: 8px !default;
$schedule-spacing-10: 10px !default;
$schedule-spacing-11: 11px !default;
$schedule-spacing-12: 12px !default;
$schedule-spacing-14: 14px !default;
$schedule-spacing-15: 15px !default;
$schedule-spacing-16: 16px !default;
$schedule-spacing-18: 18px !default;
$schedule-spacing-20: 20px !default;
$schedule-spacing-24: 24px !default;
$schedule-spacing-35: 35px !default;

$schedule-spacing-percentage-5: 5% !default;
$schedule-spacing-percentage-45: 45% !default;

$schedule-negative-spacing-3: -3px !default;
$schedule-negative-spacing-6: -6px !default;
$schedule-negative-spacing-8: -8px !default;
$schedule-negative-spacing-20: -20px !default;

$schedule-event-badge-height: 18px !default;
$schedule-event-badge-width-p20: 20% !default;
$schedule-event-badge-width-p25: 25% !default;
$schedule-event-badge-border-radius: 3px !default;
$schedule-event-badge-bg: rgba(228, 230, 232, 1) !default;
$schedule-event-badge-text-color: rgba(31, 29, 29, 1) !default;
$schedule-event-badge-border-color: rgba(202, 197, 197, 1) !default;

@mixin tbar-btn-animation {
  content: '';
}
@mixin tbar-btn-animation-after {
  content: '';
}

$schedule-tree-content-color: #fff !default;
