//  grid calendar
.calGrid {
    display: grid;
    grid-template-columns: 86% auto;
    gap: 10px;
  }
 
 .p-datepicker-other-month {
    opacity: 0;
}

 .p-calendar .p-datepicker {
    padding: 0px;
}

 .p-calendar {
    width: 100% !important;
}

 .p-calendar .p-inputtext{
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    width: 100% !important;
    height: 40px;
    color: var(--text-color);
}
 .p-calendar .p-datepicker {
    left: 0px !important;
}
 .p-button.p-button-icon-only {
    width: 40px;
    height: 40px;
    padding: 0.35rem 0;
}
 .p-calendar-w-btn .p-datepicker-trigger {
    border-left: 0 !important;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}
.dateForHighlight  .p-datepicker table td span {
    border-radius: 75%;
    background-color: rgba(28, 143, 181, 0.45);
}
.dateForHighlight  .p-datepicker table td span.p-disabled {
    background-color: transparent;
}
.dateForHighlight  .p-datepicker table td.p-datepicker-today > span {
    background-color: #ced4da;
}
 .p-calendar-w-btn .p-inputtext {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
 .p-icon-wrapper {
    content: "\ebcc";
    color: #7b7272;
    font-size: 1.25rem !important;
    font-family: 'Material Icons';
}
 .p-button {
    background-color: #f2f3f8;
    border: 1px solid #ccc;
}
 .p-button:enabled:hover {
    background: #f2f3f8;
    color: unset;
    border-color: #ccc;
}
 .p-button.p-button-text:enabled:hover {
    color: #fff;
    background: var(--primary-theme);
}
 .p-datepicker-buttonbar .p-button:first-child {
    display: none;
}
 .p-datepicker .p-datepicker-buttonbar {
    margin-top: 10px;
    justify-content: end !important;
    border-top: 1px solid #ccc;
    padding: 10px;
}
 .p-datepicker .p-datepicker-buttonbar .p-button {
    padding: 8px 19px;
    border: 0;
    border-radius: 4px;
    background: var(--primary-theme);
    color: #fff;
}
 .p-datepicker-buttonbar .p-button-label {
    font-size: 12px;
}
 .p-datepicker-header .p-datepicker-prev-icon,
 .p-datepicker-header .p-datepicker-next-icon {
    color: #000;
    font-size: 14px;
}
 .p-datepicker {
    font-size: 15px !important;
    border-radius: 4px;
    background-color: #fff;
}

 .p-datepicker table th {
    padding: 10px 0px;
}

 .p-datepicker table td {
    padding: 0;
}

.p-datepicker-year {
    padding: 0px 6px;
}

 .p-datepicker .p-datepicker-header {
    padding: 5px;
    padding-bottom: 0;
}

 .p-datepicker-year {
    padding: 0px 5px;
}

 .p-datepicker-header .p-datepicker-title {
    font-weight: bolder;
}

 .p-datepicker .p-datepicker-header .p-datepicker-prev:focus,
 .p-datepicker .p-datepicker-header .p-datepicker-next:focus {
    box-shadow: unset !important;
}

 .p-datepicker-calendar thead {
    border-bottom: 1px solid rgb(238, 238, 238);
}

 .p-datepicker-calendar thead tr th span {
    font-size: 13px;
    font-weight: 400;
}

 .p-datepicker table td span {
    display: block;
    cursor: pointer;
    text-align: center;
    width: 35px !important;
    height: 35px !important;
    line-height: 35px !important;
    font-size: 12px;
}

 .p-datepicker table td > span.p-highlight {
    color: #fff !important;
    background-color: var(--primary-theme) !important;
}

 .p-disabled,
 .p-component:disabled {
    opacity: 0.3 !important;
}

// full calender
 .fc-header-toolbar {
     .fc-toolbar-chunk:last-of-type {
        display: none !important;
    }
}
 .fc .fc-button-group {
    position: inherit !important;
}
 .fc .fc-toolbar {
    justify-content: center !important;
}
 .fc .fc-toolbar.fc-header-toolbar {
    background: var(--primary-theme);
    color: #fff;
    padding: 10px;
    position: relative !important;
    margin: 0 !important;
}
 .fc-today-button {
    display: none !important;
}
 .fc-prev-button {
    position: absolute !important;
    left: 15px !important;
    color: #f7f8fa !important;
    border: 0 !important;
    bottom: 11px !important;
    background: var(--primary-theme) !important;
}
 .fc-next-button {
    position: absolute !important;
    right: 15px !important;
    background: var(--primary-theme) !important;
    border: 0 !important;
    color: #ffffff !important;
    bottom: 11px !important;
}
 .fc.fc-theme-standard .fc-toolbar .fc-button:focus {
    box-shadow: none !important;
    outline: none !important;
}
 .fc-scrollgrid-sync-inner {
    padding: 10px !important;
}
// full calender
@media screen and (max-width: 960px) {
     .p-datepicker table td span {
        border-radius: 0px !important;
    }
     .p-datepicker table td {
        width: 14.28%;
    }
     .p-datepicker table td span {
        width: 100% !important;
    }
     .p-datepicker-group-container .p-datepicker-group:first-child .p-datepicker-calendar tbody {
        border-right: 0;
    }
     .p-datepicker-multiple-month .p-datepicker-group-container {
        display: block !important;
    }
     .p-datepicker {
        position: fixed !important;
        top: 0px !important;
        display: block !important;
        height: 100%;
        overflow: auto;
        padding: 0;
        padding: 56px 0px !important;
        padding-top: 0 !important;
        border-radius: 0;
    }
}
