.fc .fc-scrollgrid-section-sticky > * {
    background: transparent;
}
.fc-toolbar-chunk {
    display: flex;
}
.fc .fc-daygrid-day-top {
    flex-direction: initial;
    font-size: 2rem;
    font-weight: 600;
}
.fc-popup {
    position: absolute;
    transform: translateX(-50%);
    background-color: var(--secondary-background-color);
    box-shadow: 0 0 .2rem var(--transparent-light-color);
    border-radius: 10px;
    border: 1px solid var(--transparent-light-color);
    padding: 15px;
    z-index: 99999;
    width: 400px;
}
.fc-popup:hover {
    border-color: var(--light-color-alt);
    box-shadow: 0 0 20px var(--transparent-light-color), 0 0 30px var(--transparent-light-color);
}
.fc-popup-inner {
    position: relative;
}

.fc-popup-close {
    position: absolute;
    top: -30px;
    right: -30px;
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
    background: var(--light-color);
    color: var(--primary-background-color);
    width: 30px;
    height: 30px;
    border-radius: 100%;
}
.fc .fc-button-primary {
    background-color: transparent !important;
    color: var(--light-color-alt) !important;
}


.fc-popup-link {
    box-shadow: none;
    cursor: pointer;
    line-height: 2rem;
    width: 100%;
    height: auto;
    background-color: var(--secondary-background-color) !important;
    color: var(--light-color-alt) !important;
    font-size: var(--font-size-sm) !important;
    border-width: 1px;
    border-style: solid;
    border-color: initial;
    border-image: initial;
    border-radius: 10px;
    margin: 20px 0 0 0 !important;
    padding: 1rem 1rem 1rem 1rem !important;
    font-family: Arsenal, sans-serif;
    display: block;
    text-align: center;
}
.fc .fc-button-primary:hover {
    background-color:  var(--light-color-alt) !important;
    color: var(--primary-background-color) !important;
}
.fc-popup-link:hover {
    border-color: var(--light-color-alt);
    background-color: var(--light-color-alt) !important;
    color: var(--primary-background-color) !important;
}

.fc .fc-button-primary:focus {
    box-shadow: none!important;
}


.fc .fc-button {
    display: flex;
    align-items: center;
}
.fc-popup-image {
    width: 100%;
    margin: 10px 0;
}
.fc-custom-event {
    cursor: pointer;
    text-wrap: wrap;
    white-space: normal;
}
.fc-today-button[disabled] {
    opacity: 0 !important;
}
.fc-toolbar-title {
    text-align: right;
    width: 100%;
}
.fc-day-past {
  opacity: 0.1;
}
.fc-h-event {
    background-color: #E6B800;
    border: 1px solid #E6B800;
    padding: 0.5rem;
}
.fc-h-event .fc-event-main {
    color: #1a2a3d;
}
.fc .fc-toolbar-title {
    position: relative;
}
.fc-theme-standard .fc-scrollgrid {
    border-top: 1px solid var(--transparent-light-color);
    border-left: 1px solid var(--transparent-light-color);
}
.fc-theme-standard td, .fc-theme-standard th {
    border: 1px solid var(--transparent-light-color);
}
.fc-today-button {
    text-transform: capitalize!important;
}
.fc-month-count {
    display: flex;
    margin-left: 0.5rem;
    font-weight: 600;
    font-size: 1.5rem;
    background: #E6B800;
    border-radius: 100px;
    height: 24px;
    color: #1a2a3d;
    min-width: 24px;
    width: auto;
    padding: 5px;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -5px;
    right: -30px;
}
.fc-icon.fc-icon-chevron-left,
.fc-icon.fc-icon-chevron-right {
    display: none !important;
}

.fc-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(25 43 61 / 76%);
    z-index: 9998;
}

.fc-popup {
    z-index: 9999; 
}
.google-calendar img {
  margin: 0 10px -2px;
}

@media (max-width: 768px) {
  .fc-popup {
    width: 80%;
  }
  .fc-dayGridMonth-view .fc-scrollgrid {
    display: flex;
    flex-direction: column;
  }

  .fc-daygrid-body {
    display: flex;
    flex-direction: column;
  }

  .fc-daygrid-body tr {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .fc-daygrid-day {
    width: 100% !important;
    display: block;
    border: 1px solid var(--transparent-light-color);
  }

  .fc-daygrid-day-events {
    display: block;
  }

  .fc-daygrid-event {
    white-space: normal !important;
  }
  .fc .fc-list-event-time {
    display: none;
  }
  .fc-theme-standard .fc-list {
    border: none;
  }
  .fc .fc-list-sticky .fc-list-day > * {
    background: transparent;
  }
  .fc-theme-standard .fc-list-day-cushion {
    background-color: var(--secondary-background-color);
  }
  .fc-event-past {
    opacity: 0.5;
  }
  .fc .fc-list-event-dot {
    border-color: #E6B800;  
  }
  .fc .fc-list-empty {
    background: transparent;
  }
  .fc .fc-list-empty-cushion {
    opacity: 0;
  }
}