/*
* Generate A Background Image Properties
* @param $size:    Background-size, default = 'cover'
* @param $pos:     Background-position, default = 'center'
* @param $repeat:  Background-repeat, default = 'no-repeat
*/
/*
* Generate A Squared Button
* @param $bg:    Background color
* @param $color: Text color
* @param $uppercase: Whether to transform text into all uppercase or not, default = 'none'
* @param $gray-60Color: Border color, default = background color
*/
.main-content {
  margin-top: 4rem;
}
@media screen and (max-width: 991.98px) {
  .main-content {
    margin-top: 3.5rem;
  }
}
.main-content .holder {
  background-image: url("/assets/images/calendar_bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
  min-height: calc(103vh - 350px);
}
.main-content .holder .calendar-events-title {
  background-color: #f1f1f1;
}
.main-content .holder .calendarEvents .upcoming-events-title {
  padding-bottom: 1rem;
  text-align: left;
}
@media screen and (min-width: 768px) and (max-width: 991.98px) {
  .main-content .holder .calendarEvents .upcoming-events-content > div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
}
.main-content .holder .calendarEvents .upcoming-events-content > div > .event-card {
  padding: 0;
}
@media screen and (min-width: 768px) and (max-width: 991.98px) {
  .main-content .holder .calendarEvents .upcoming-events-content > div > .event-card {
    width: calc(100% / 2 - 0.6rem);
  }
}
.main-content .holder .calendarEvents .upcoming-events-content > div .date-label {
  font-weight: bold;
  padding: 0.1rem;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.main-content .holder .calendarEvents .upcoming-events-content > div .event-card.child-card {
  padding: 1.5rem;
  background: white;
  margin: 0.6rem 0;
  border: 1px solid #eee;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.main-content .holder .calendarEvents .upcoming-events-content > div .event-card.child-card .title {
  font-weight: bold;
  font-size: 0.9rem;
  width: 70%;
  text-align: left;
}
.main-content .holder .calendarEvents .upcoming-events-content > div .event-card.child-card .title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
}
.main-content .holder .calendarEvents .upcoming-events-content > div .event-card.child-card .date {
  color: #737373;
}
.main-content .holder .calendarEvents .upcoming-events-content > div .event-card.child-card .label {
  position: absolute;
  top: 50%;
  right: 0;
  max-width: 25%;
  text-align: center;
  background: #127179;
  transform: translateY(-50%);
  padding: 0.5rem 0.75rem;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: bold;
  color: white;
  margin: 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
}
@media screen and (max-width: 374.98px) {
  .main-content .holder .calendarEvents .upcoming-events-content > div .event-card.child-card .label {
    position: relative;
    transform: none;
    top: unset;
    margin: 10px 0 0 0;
  }
}
.main-content .holder .overlay-section {
  background: rgba(255, 255, 255, 0.5);
  margin: 2rem 0;
}

.fc-toolbar.fc-header-toolbar {
  justify-content: center !important;
}
.fc-toolbar.fc-header-toolbar .fc-button {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  padding: 0;
  background-color: #a20000;
  border-color: transparent !important;
}
.fc-toolbar.fc-header-toolbar .fc-button .fc-icon {
  display: flex;
  /* margin: 0 0 0 -0.15rem; */
  width: 100%;
  /* height: 100%; */
  align-items: center;
  justify-content: space-between;
}
.fc-toolbar.fc-header-toolbar .fc-button .fc-icon::before {
  width: 100%;
}
.fc-toolbar.fc-header-toolbar .fc-center {
  margin: 0 1.5rem;
  text-transform: uppercase;
}
.fc-toolbar.fc-header-toolbar .fc-center h2 {
  font-size: 1.2rem;
}

.fc-view-container .fc-day-header {
  font-weight: 300;
  text-transform: uppercase;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}
.fc-view-container .fc-day-top.fc-today .fc-day-number {
  background: #127179;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  text-align: center;
  margin: 2px;
  line-height: 1.4;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.35rem;
}

.fc-unthemed th,
.fc-unthemed td,
.fc-unthemed thead,
.fc-unthemed tbody,
.fc-unthemed .fc-divider,
.fc-unthemed .fc-row,
.fc-unthemed .fc-content,
.fc-unthemed .fc-popover,
.fc-unthemed .fc-list-view,
.fc-unthemed .fc-list-heading td {
  border-color: #eee !important;
  cursor: pointer;
}

.fc-event,
.fc-event-dot {
  background: #fff !important;
  border: 1px solid #eee !important;
  box-shadow: 1px 1px #e4e4e4 !important;
  padding: 0.5rem 0.15rem !important;
  border-left: 5px solid red !important;
  margin: 0.25rem !important;
}

/* Override Tippy Styles */
.tippy-box {
  max-width: unset !important;
}
.tippy-box .tippy-content {
  padding: 0 !important;
  background-color: transparent !important;
}
.tippy-box .custom-tooltip-template {
  position: relative;
  padding: 0;
  background: white;
  color: black;
  box-shadow: 1px 1px 5px #ccc, 0px 0px 2px #ccc;
  display: flex;
  flex-direction: row;
}
.tippy-box .custom-tooltip-template .event-content {
  width: 400px;
  height: 250px;
  padding: 1rem 1rem 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.tippy-box .custom-tooltip-template .event-content .event-date {
  margin: 0.5rem 0;
  font-size: 12px;
}
.tippy-box .custom-tooltip-template .event-content h5,
.tippy-box .custom-tooltip-template .event-content .event-description {
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 1.4;
  -webkit-box-orient: vertical;
}
.tippy-box .custom-tooltip-template .event-content h5 {
  -webkit-line-clamp: 1;
}
.tippy-box .custom-tooltip-template .event-content .event-description {
  text-align: start;
  margin: 1rem 0;
  -webkit-line-clamp: 2;
}
.tippy-box .custom-tooltip-template .event-content .event-actions {
  display: flex;
  justify-content: flex-start;
}
@media screen and (max-width: 375.98px) {
  .tippy-box .custom-tooltip-template .event-content .event-actions {
    flex-direction: column;
  }
}
.tippy-box .custom-tooltip-template .event-content .event-actions .btn.register {
  border-radius: 0 !important;
  color: #fff !important;
  background: #a20000;
  padding: 0.5rem 1.5rem;
  text-transform: uppercase;
  border: 2px solid #a20000;
  padding: 8px 16px !important;
}
@media screen and (max-width: 375.98px) {
  .tippy-box .custom-tooltip-template .event-content .event-actions .btn.register {
    /*rtl:begin:ignore*/
    margin-bottom: 12px;
    /*rtl:end:ignore*/
  }
}
.tippy-box .custom-tooltip-template .event-content .event-actions .btn.more {
  border-radius: 0 !important;
  color: #fff !important;
  background: linear-gradient(to right, #104258 0%, #12757c 100%);
  padding: 0.5rem 1.5rem;
  text-transform: uppercase;
  border: 2px solid linear-gradient(to right, #104258 0%, #12757c 100%);
  padding: 8px 16px !important;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.tippy-box .custom-tooltip-template .event-content .event-location {
  margin: 1rem 0;
  color: #333;
  font-weight: 400;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}
.tippy-box .custom-tooltip-template .event-content .event-location > .fa {
  font-size: 1.5rem;
}
.tippy-box .custom-tooltip-template .event-content .event-location > span {
  margin: 0.25rem 0.5rem 0;
}
.tippy-box .custom-tooltip-template small {
  color: #737373;
}
.tippy-box .custom-tooltip-template .custom-tooltip-dismiss {
  position: absolute;
  cursor: pointer;
  width: 30px;
  height: 30px;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 24px;
}
.tippy-box .custom-tooltip-template .custom-tooltip-dismiss:hover {
  background: #ccc;
}

.fc-view-container .fc-day-header {
  padding: 0.5rem;
}

.fc-view-container {
  overflow: scroll;
}
.fc-view-container .fc-view {
  overflow: scroll;
  min-width: 650px;
}
.fc-view-container .fc-view tbody .fc-content-skeleton table {
  width: 100%;
}
