p {
    margin: 0 !important;
}

.fc-direction-rtl .fc-scroller-harness > .fc-scroller { /* undo above hack */
    direction: rtl;
}

.fc-theme-standard .fc-scrollgrid {
    border: #f9f9f9;
}

.fc-theme-standard td, .fc-theme-standard th {
    border: none;
}
table {
    margin-bottom: 0 !important;
}
/* 
.fc-daygrid-day:not([data-date]){
    visibility: hidden;
} */

.fc-daygrid-day:not([data-date]) {
    /* visibility: hidden; */
}
/* .fc-day-disabled {
    display: none;
} */

.fc-day.fc-daygrid-day {
    position: relative;
}

.fc .fc-scrollgrid table { /* inner tables */
    border-top-style: hidden;
    border-left-style: hidden;
    border-right-style: hidden;
}

.fc .fc-scrollgrid > tbody table,
.fc .fc-scrollgrid > tfoot table {
    border-bottom-style: hidden; /* head keeps its bottom border tho */
}

.fc .fc-col-header, .fc .fc-daygrid-day-events {
    margin-bottom: 0;
    margin-top: 0;
}


.fc-daygrid-day-frame {
    border-style: solid;
    border-width: 4px;
    border-color: transparent;
}
.fc .fc-button:active,
.fc .fc-button:active:focus,
.fc .fc-button:active:hover,
.fc .fc-button:focus {
    box-shadow: none !important;
    outline: none !important;
}
.fc .fc-daygrid-day-bg .fc-highlight {
    background: none !important;
}
.available-day {
    cursor: pointer;
}
.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 20px;
    justify-content: center;
    gap: 24px;
    display: none;
}

.fc-next-button,
.fc-prev-button {
    background: none !important;
    border: none !important;
    color: #1e3140 !important;
}
.fc-col-header {
    margin-bottom: 0px !important;
}
.fc-col-header-cell-cushion:hover {
    text-decoration: none !important;
}
.fc-daygrid-day-number:hover {
    text-decoration: none !important;
    color: unset;
}
.fc .fc-button {
    padding: 0;
}
.fc .fc-button .fc-icon {
    font-size: 32px !important;
    color: #1e3140;
    opacity: 0.5;
}
.fc .fc-button:hover .fc-icon {
    opacity: 1;
}
.fc .fc-scrollgrid-section-sticky > * {
    background: none;
}
.fc .fc-daygrid-body-natural .fc-daygrid-day-events {
    margin: 0;
}
.fc .fc-col-header-cell-cushion {
    height: 33px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #8B959C;
    text-transform: uppercase;
}
.fc .fc-button:disabled {
    display: none;
}

.fc .fc-bg-event,
.fc .fc-highlight {
    /* will always have a harness with position:relative/absolute, so absolutely expand */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.fc .fc-daygrid-day-frame {
    min-height: auto;
    margin: 0 auto;
}

.fc .fc-daygrid-day.fc-day-today {
    background-color: transparent;
}

.fc .fc-daygrid-bg-harness .fc-non-business {
    background-color: transparent;
}

.fc-day-other {

}

#schedule-div {
    width: 100%;
    max-width: 474px;
    margin-top: 20px;
}

.request-event-title h1{
    width: 100%;
    font-family: Bubblegum Sans, cursive;
    font-size: 40px;
    font-weight: 400;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #1E3140;
    margin: 0;
}
section {
    padding: 0 !important;
}

#calendar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 35px auto 120px;
    overflow: visible;
    display: flex;
    justify-content: center;
    font-family: 'Open Sans', sans-serif;
}

.fc-view-harness.fc-view-harness-active {
    max-height: 1500px;
    max-height: 815px !important;

}
.fc .fc-scrollgrid-liquid, .fc-scrollgrid-sync-table{
     margin-bottom: 0 !important;
}

.fc-scrollgrid-sync-table, .fc td, .fc th {
    vertical-align: middle;
}
.request-event-subtitle {
    font-size: clamp(10px, 1.5vw, 20px);
    text-align: center;
    margin: 30px 0 0 !important;
    font-weight: 600;
    font-family: "Open Sans";
}
.fc-toolbar-title {
    /* height: 52px; */
    width: 200px;
    text-align: center;
    align-content: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 24px !important;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.63;
    letter-spacing: normal;
    color: #1E3140;
}

.fc .fc-daygrid-body {
    margin:  0 auto;
}
.fc .fc-scrollgrid table {
    margin: 0 auto;
}

.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events {
    min-height: 25px;
}

/* Styling for the date number */
.fc-daygrid-day-number {
    padding: 0px !important;
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #1E3140;
}

/*remove link for day number for all cells*/
.fc-daygrid-day-top .fc-daygrid-day-number {
    text-decoration: none;
}

/* Styling for the date number which has event*/
.has-event:not(.hold-day) .fc-daygrid-day-top {
    display: none;
}
.has-event:not(.hold-day):not(.fc-day-other) .fc-daygrid-day-top .fc-daygrid-day-number {
    width: 64px;
    height: 44px;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #d2d6d9;
}

/* .fc-daygrid-bg-harness .fc-event .fc-event-start .fc-event-end .fc-event-past .fc-bg-event {
    color: red;
    background-color: red;
} */

.fc .fc-day-other .fc-daygrid-day-top {
    opacity: 1 !important;
}
.fc-day-other .fc-daygrid-day-top .fc-daygrid-day-number {
    color: #d2d6d9 !important;
    font-size: 24px !important;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
}

/* Styling for the label under the date */
.day-label {
    display: block;
    width: 64px;
    height: 20px;
    margin: 5px 0 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #57a520;
}

/* Main styles for cells*/
.fc-day.fc-daygrid-day {
    width: 56px;
    height: 56px;
    padding: 5px 0px;
}

/*Styles for cells*/
.fc-daygrid-day-frame.fc-scrollgrid-sync-inner {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    box-shadow: 0 1px 4px 0 rgba(25, 25, 21, 0.15);
    background-color: #fff;
    /* border: solid 1px #d2d6d9; */
    border-style: solid;
    border-width: 1px;
    border-color: #d2d6d9;
}

/*Styles for cells*/
.has-event:not(.hold-day):hover .fc-daygrid-day-frame.fc-scrollgrid-sync-inner {
    width: 56px;
    height: 56px;
    border-color: #ff00df;
    border-width: 2px;
}


/* Styles for future/past cells */
.fc-day-other {
    pointer-events: none;
}
.fc-day-other .fc-daygrid-day-frame.fc-scrollgrid-sync-inner {
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.fc-daygrid-day.fc-day-other .event-icon {
    display: none;
}
.fc-daygrid-day.fc-day-other .fc-daygrid-day-top {
    display: block !important;
}
.fc-day-other .fc-daygrid-day-number {
    color: #d2d6d9 !important;
}

.next-month-day:not(.has-event):not(.expired-day) {
    cursor: pointer !important;
    pointer-events: all !important;
}


/* Styles for first day of month */
/* .fc-day .month-label {
    display: none;
} */
.fc-day .month-label {
    display: none;
}

.fc-day.next-month-first-day .month-label {
    display: block !important;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #8b959c;
    z-index: 10;
}


/*Styles for cells*/
.available-day .fc-daygrid-day-frame.fc-scrollgrid-sync-inner {
    width: 56px;
    height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: solid 1px #68ae36;
    background-color: #eff7e9;
    overflow: hidden;
}
/*Styles for cells*/
.expired-day .fc-daygrid-day-frame.fc-scrollgrid-sync-inner {
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.expired-day .fc-daygrid-day-events {
    display: none;
}

/*Remove box shadow for cells with event*/
.fc-daygrid-day.has-event:not(.hold-day) .fc-daygrid-day-frame.fc-scrollgrid-sync-inner {
    box-shadow: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}


/*Date number styles in cells with events*/
.fc-daygrid-day .has-event:not(.hold-day) {
    width: 64px;
    height: 44px;
    margin: 0 0 2px;
    font-family: 'Open Sans', sans-serif;
    font-size: 32px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #1E3140;
}

/* Icon styles in cells with events */
.fc-daygrid-day.has-event:not(.hold-day) .event-icon {
    width: 48px !important;
    height: 48px !important;
    /* margin: 0px 7px 0 8px; */
    object-fit: contain;
}



.hold-day .fc-daygrid-day-frame.fc-scrollgrid-sync-inner {
    overflow: visible;
}
.fc-day.fc-daygrid-day.hold-day .fc-daygrid-day-events {
    display: contents;
}

.fc-day.fc-daygrid-day.hold-day  .event-icon {
    position: absolute;
    top: -10px;
    right: -4px;
}



.fc-day.fc-daygrid-day.hold-day .event-icon

.fc-scroller, .fc-scroller.fc-scroller-liquid-absolute {
    overflow: visible !important;
}
.fc .fc-scroller-harness {
    overflow: visible !important;
}

.fc .fc-day-disabled {
    background-color: #f9f9f9;
}

.fc-day-disabled div {
    display: none;
}

.fc-bg-event {
    background-color: transparent !important;
    /* box-shadow: 0 1px 4px 0 rgba(25, 25, 21, 0.15); */
    border-radius: 43px;
    width: 56px;
    height: 56px;
    /* padding: 12px 26px; */
}

.fc .fc-daygrid-bg-harness {
    position: absolute;
    top: 0;
    bottom: 0;
}


/*Date number styles in cells for dates in past*/
.expired-day:not(.fc-day-other) .fc-daygrid-day-top .fc-daygrid-day-number {
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #8B959C;
}

.expired-day.available-day .fc-daygrid-day-top .fc-daygrid-day-number {
    font-weight: 600;
    opacity: 1;
}

.fc-daygrid-day {
    margin-right: 2px;
}

.fc-daygrid-day:nth-child(7n) { /* Remove margin on the last cell of each row */
    margin-right: 0;
}


section {
    position: unset;
    overflow: unset;
}


/* Selected Day */
.selected-day .fc-daygrid-day-frame {
    background-color: #75ad4c !important; 
}
.selected-day .fc-daygrid-day-top .fc-daygrid-day-number {
    color: #fff !important;
}
/* Hover available days */
.available-day:not(.selected-day):hover .fc-daygrid-day-frame {
    border: 3px solid #68ae36;
}
.available-day:not(.hold-day) .fc-daygrid-day-events {
    display: none;
}


/* Event ToolTip */
.event-tooltip {
    position: absolute;
    top: 42px;
    left: 47px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 16px;
    padding: 16px 16px 20px;
    border-radius: 20px;
    box-shadow: 0 2px 4px 0 rgba(86, 73, 60, 0.2);
    border: solid 2px #ff00df;
    background-color: #fff;
    max-width: 390px;
    width: max-content;
}
.event-description {
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.71;
    letter-spacing: normal;
    text-align: center;
    color: #1e3140;
}
.event-tooltip img.event-icon {
    width: 16px;
    height: 16px;
}
.event-booked-by {
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #1e3140;
}
.event-area, .event-guests, .event-date, .event-container {
    font-size: 14px;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #1e3140;
}
.event-area {
    font-weight: bold;
}
.event-guests p {
    margin: 0;
}
.event-container, .event-date, .event-guests {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* Bottom Calendar Block */
.bottom-calendar-block {
    display: none;
    flex-direction: column;
    align-items: center;
    margin-top: 6px;
    gap: 40px;
}
.event-date-container {
    box-shadow: 0 2px 8px 0 rgba(25, 25, 21, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: space-evenly;
    width: 100%;
    max-width: 110px;
    height: 90px;
    border-radius: 5px;
    margin-top: 3px;
}
.event-date__top-block {
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-image: url(/images/btn_bg.png), linear-gradient(to top, #a26a00, #ffcb60);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
}
.event-date__top-block p{
    font-weight: 600;
    color: white;
    margin: 0;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #56493c;
}
.event-date__bottom-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}
#date {
    font-size: 24px;
    font-weight: bold;
    line-height: normal;
    margin: 0;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #56493c;
}
#date-name {
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #fff;
}

/* month filters styles */
#calendar-months {
    padding: 8px 12px;
    border-radius: 12px;
    background-color: #e8eaeb;
    width: 100%;
    margin: 12px auto 16px;
    max-width: 474px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 8px;
    column-gap: 16px;
}

.month-btn {
    width: 60px;
    height: 36px;
    border-radius: 8px;
    border: solid 1px #d2d6d9;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    text-align: center;
    color: #1e3140;
    transition: all 0.3s;
}

.month-btn.selected-month {
    background-color: #1e3140;
    color: #fff;
    border: 1px solid transparent;
}

.month-btn.disabled {
    background-color: #f8f9f9;
    color: #8b959c;
    cursor: not-allowed;
    border: 1px solid transparent;
}

/* years filters styles */
#calendar-years {
    display: flex;
    gap: 8px;
}
.year-btn {
    width: 88px;
    height: 44px;
    padding: 9px 16px;
    object-fit: contain;
    border-radius: 12px;
    background: none;
    font-size: 20px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.08;
    letter-spacing: normal;
    text-align: center;
    color: #1e3140;
    border: solid 1px #d2d6d9;
    background-color: #fff;  
    transition: all 0.3s;
}
.year-btn:hover {
    background-color: rgba(30, 49, 64, 0.05);
}
.year-btn.selected-year {
    background-color: #1e3140;
    color: #fff;
}

/* bottom calendarpricing part */
.bottom-part {
    display: none;
    flex-direction: column;
    align-items: center;
}
.pricing {
    max-width: 582px;
    width: 100%;
    height:auto;
    margin: 0 auto ;
    padding: 16px 19px 16px 19px;
    border-radius: 8px;
    border: solid 1px #e2dad2;
    background-color: #fff;
}

.pricing p:first-child {
    font-size: 14px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.86;
    letter-spacing: normal;
    text-align: center;
    color: #1E3140;
}
.pricing p:last-child {
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 2.17;
    letter-spacing: normal;
    color: #1E3140;
}
.pricing p:last-child span {
    font-weight: bold;
    color: #75ad4c;
}

.next-btn {
    margin-top: 8px;
    width: 161px;
    font-size: 14px !important;
    font-weight: 600 !important;
    height: 50px;
    background-image: url("/images/btn_bg.png"),linear-gradient(to bottom, #355670, #1b2e3d) !important;
    color: #fff;
}
.next-btn:hover {
    color: #fff !important;
    background-image: url("/images/btn_bg.png"),linear-gradient(to bottom, #4f6e85, #293c4c) !important;
}
.next-btn:active, .next-btn:focus {
    box-shadow: none !important;
    outline: none !important;
    color: #fff !important;
}

/* SweetAlert */
.swal2-popup {
    border-radius: 8px;
    box-shadow: 0 10px 15px 0 rgba(98, 83, 68, 0.2);
    background-color: #fff;
    padding-bottom: 40px !important;
}
.swal-img {
    margin: 28px auto 40px;
}
.swal-btn {
    margin-top: 26px;
    width: 141px;
    height: 50px;
    border-radius: 5px;
    border: solid 1px #1b2e3d;
    background-image: url(/images/btn_bg.png), linear-gradient(to bottom, #355670, #1b2e3d);
    text-shadow: 0 1px 4px rgba(25, 25, 21, 0.5);
    color: #fff;
    box-shadow: none !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fff;
}
#swal2-html-container {
    font-size: 14px;
    font-weight: bold;
    color: #1E3140;
}
.swal-btn:hover {
    background-image: url(/images/btn_bg.png), linear-gradient(to bottom, #1b2e3d, #355670) !important;
}

/*-------------------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------------------*/

/* Base styles for mobile responsiveness */


@media (max-width: 768px)  {
    footer {
        display: none !important;
    }
    .request-event-title h1 {
        font-size: 20px;
    }
    #calendar-section {
        margin: 24px auto 80px;
    }
    .fc-scrollgrid-sync-table {
        height: 100% !important;
    }
    .fc-daygrid-day-frame.fc-scrollgrid-sync-inner {
        border-radius: 8px;
    }
    .fc .fc-toolbar.fc-header-toolbar {
        margin-bottom: 30px;
        justify-content: space-between;
    }
    .fc-toolbar-title {
        font-size: 20px !important;
    }
    .fc-day.fc-daygrid-day {
        width: 46px;
        height: 46px;
    }
    .available-day .fc-daygrid-day-frame.fc-scrollgrid-sync-inner {
        width: 46px;
        height: 46px;
        z-index: 1;
    }
    .event-icon:not(.clock-hold) {
        height: 48px !important;
        width: 48px !important;
    }
    .fc-daygrid-day-frame.fc-scrollgrid-sync-inner {
        height: 46px;
        width: 46px;
    }
    .fc-bg-event {
        width: 46px;
        height: 46px;
    }
    .has-event:not(.hold-day) .fc-daygrid-day-frame.fc-scrollgrid-sync-inner {
        height: 46px;
        width: 46px;
        padding: 0;
    }
    .expired-day .fc-daygrid-day-top .fc-daygrid-day-number {
        font-size: 16px;
    }
    .available-day .fc-daygrid-day-top .fc-daygrid-day-number {
        font-size: 16px;
        font-weight: bold;
    }
    .has-event:not(.hold-day):hover .fc-daygrid-day-frame.fc-scrollgrid-sync-inner {
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 650px) {
    .next-btn {
        margin-top: 5px;
    }
    .event-tooltip-mobile {
        width: 100%;
        top: 0px;
        left: 50%;
        transform: translateX(-50%);
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        padding: 16px 20px 13px !important;
        z-index: 9999;
    }
    .event-tooltip-mobile .event-container {
        flex-direction: row-reverse !important;
        align-items: start !important;
        /* width: 100%; */
        justify-content: space-between !important;
        flex-wrap: wrap;
        /* gap: 20px; */
    }
    .event-tooltip-mobile .event-description {
        text-align: left !important;
    }
    .fc-daygrid-day.has-event:not(.hold-day) .event-icon {
        height: 32px !important;
        width: 32px !important;
    }
}

@media (max-width: 481px)  {
    .event-tooltip-mobile {
        position: fixed !important;
    }
    #calendar-months {
        padding: 8px 4px;
        gap: 8px;
        width: 100vw;
        margin: 12px 0 16px;
    }
    .month-btn {
        width: 50px;
        min-width: 50px;
        flex: 1;
    }
    .fc-day.next-month-first-day .month-label {
        transform: translateX(-35%);
    }
}

@media (max-width: 370px)  {
    .container {
        padding: 0 14px !important;
    }
    #calendar {
        height: 450px !important;
    }
    .fc-day.fc-daygrid-day {
        padding: 1px !important;
    }
    .fc-scrollgrid-sync-table {
        width: auto !important;
    }
    .fc-daygrid-day-frame.fc-scrollgrid-sync-inner {
        width: 36px !important;
        height: 36px !important;
    }
    .fc-daygrid-day.has-event:not(.hold-day) .event-icon {
        width: 24px !important;
        height: 24px !important;
    }
    .fc-bg-event {
        width: 100% !important;
        height: 100% !important;
    }
    .fc-daygrid-bg-harness {
        width: 100%;
    }
    .fc-col-header-cell-cushion {
        font-size: 14px !important;
    }
}
