/* contrast ratio 4.51:1*/
:root {
  --contrast-orange: #db310f;
}

html,
body {
  height: 100%;
}

a.accordion-toggle {
  text-decoration: none !important;
}

#angle-down-btn {
  background: none;
  color: #6f7287;
  border: none;
  padding: 0;
  cursor: pointer;
}

.fa-angle-down {
  transition: all linear 0.25s;
}

.fa-angle-down.rotate-icon {
  transform: rotate(-90deg);
}

button.topic-filter {
  padding: 8px 16px;
  border-radius: 8px;
}

h4.panel-title {
  padding: 10px;
}

@media only screen and (min-width: 992px) {
  .search {
    position: relative;
    top: 70px;
  }
}

.searchbtn {
  width: 100%;
}

#calendarSearch .clearSearchBtn {
  display: none;
  float: right;
  padding: 1px 5px;
  font-size: 12px;
  line-height: 1.5;
}

#calendarSearchForm label {
  display: block;
  font-weight: normal;
}

ul.addtocalendar-menu {
  list-style: none;
}

.calendar-events-list-outer button.btn.add-to-calendar {
  background: none;
  color: #13689f !important;
  padding: 0px 0 4px;
  margin-bottom: 0px;
}

.calendar-events-list-outer .action-btns {
  padding: 15px;
}

a.addtocalendar:hover {
  text-decoration: underline;
}

h3 > img {
  width: 100% !important;
}

.meeting-details {
  color: #606060;
}

.cz-text-color--ui-orange {
  color: var(--contrast-orange) !important;
}

.info-outer.active {
  background: #fff;
}

.event-description {
  overflow: auto;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  position: relative;
  padding-top: 10px;
  max-height: 40vh; /*scroll overflow if over 40% screen height*/
}

.action-btns {
  margin-bottom: 5px;
}

.cz-media-card-content--grid.cz-media-card-content--standard
  .cz-media-card-content__content-container {
  cursor: pointer;
}

.calendar-events-list-outer .panel .cz-media-card-content__content-container {
  padding: 15px 24px 13px !important;
}

.register {
  margin-right: 10px;
}

/* hide register to speak btn */
.register-to-speak {
  display: none !important;
}

/* new card layout*/

.card.hover-enlarge:hover {
  -webkit-transform: translateY(-4px) scale(1.02);
  -moz-transform: translateY(-4px) scale(1.02);
  -ms-transform: translateY(-4px) scale(1.02);
  -o-transform: translateY(-4px) scale(1.02);
  transform: translateY(-4px) scale(1.02);
  -webkit-box-shadow: 0 14px 24px rgba(62, 57, 107, 0.2);
  box-shadow: 0 14px 24px rgba(62, 57, 107, 0.2);
  z-index: 2;
}

.card-event-description {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* number of lines to show */
  -webkit-box-orient: vertical;
  position: relative;
  padding-top: 10px;
}

@media (min-width: 576px) {
  .card-deck {
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
  }
}

.card-deck {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
  flex-direction: row;
  flex-wrap: wrap;
  -ms-flex: 1 0 0%;
  flex: 1 0 0%;
}

.card-deck > .card.boardComms {
  flex: 1 1 100%;
  max-width: 100%;
  font-size: 16px;
}

.card-deck > .card.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 0.5rem;
  flex: 1 1 25%;
  cursor: pointer;
}

.card-deck .card-footer {
  padding: 15px;
  background: white;
  border: none;
}

.card-deck .card-title {
  color: #333;
  line-height: 1.3em;
  margin-bottom: 12px;
}

.card-deck .event-card-img-top {
  height: 125px;
  background-position: center;
  background-position-x: center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (min-width: 576px) {
  .card-deck .card,
  .card-deck > .card.boardComms {
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 1 0 0%;
    flex: 1 0 0%;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-bottom: 0;
  }
}

.card-deck > .card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  margin-bottom: 15px;
  transition: all 500ms;
}

.card-deck .card-body {
  padding: 15px 20px;
}

.view-details {
  position: relative;
}

.comments-and-video-outer {
  background: #fff;
}

.card.event-grid {
  border: none !important;
  background: #f5f8fa !important;
  border-radius: 15px;
}

.event-grid .card-body {
  padding: 15px 25px 20px 25px;
  font-size: 16px;
}

.event-grid .card-body .button-container {
  text-align: right;
}

.card-deck h4,
.card-deck h5,
.card-deck h6 {
  font-size: 1em;
}

.card-deck p {
  font-size: 1em;
}

.card-deck .card-title {
  font-weight: 600;
}

@media (max-width: 768px) {
  .calendar-events-list-outer .panel .cz-media-card-content__content-container {
    padding: 10px 0 !important;
  }

  .add-to-calendar.inline {
    font-size: 1em;
    margin-left: 0;
  }
}
.meeting-and-events-title-wrapper {
  margin-top: 10px;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.meeting-and-events-title-wrapper h3 {
  margin: 0;
}

.list-view-events {
  margin-top: 10px;
}

.meeting-display-format-toggle {
  display: inline-block;
  position: relative;
  padding: 5px;
  height: 40px;
  width: 70px;
  margin: 0;
  display: flex;
  justify-content: space-between;
  background-color: #eee;
  border-radius: 5px;
}

#meeting-display-format {
  position: relative;
  top: 0;
  left: 0;
  visibility: hidden;
  width: 0;
  height: 0;
}

fc-filterButton-button.fc-button.fc-button-primary,
.meeting-display-format-toggle button {
  position: relative;
  width: 30px;
  height: 30px;
  background: none;
  color: #0d6efd;
  border: none;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.meeting-display-format-toggle button.active {
  background: #0d6efd;
  color: white;
}

.listView,
.calendarView {
  display: none;
}

.event-featured-image img {
  object-fit: cover;
  width: 100%;
  object-position: center;
}

.event-featured-image {
  cursor: pointer;
}

.board-comm-home .card-footer {
  height: 100%;
  width: 100%;
}

.board-comm-home .card-footer .card-img-overlay {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.board-comm-home .card-footer .card-img-overlay .card-title {
  flex-grow: 1;
}

/*full calendar*/

#eventsCalendar .fc-daygrid-event-harness {
  cursor: pointer !important;
}

@media only screen and (max-width: 768px) {
  #eventsCalendar > .fc-header-toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  #eventsCalendar .fc-header-toolbar .fc-toolbar-chunk:first-child {
    order: 1;
    text-align: left;
  }

  #eventsCalendar .fc-header-toolbar .fc-toolbar-chunk:nth-child(2) {
    grid-column: 1/3;
    order: 0;
    margin-bottom: 10px;
  }

  #eventsCalendar .fc-header-toolbar .fc-toolbar-chunk:nth-child(3) {
    order: 2;
    text-align: right;
  }

  #eventsCalendar > .fc-header-toolbar .fc-toolbar-title {
    font-size: 20px;
  }

  #eventsCalendar .fc-popover {
    width: 200px;
    overflow: hidden;
  }
}

.fc-filterButton-button ~ .popover .popover-title {
  display: none;
}
.fc-filterButton-button ~ .popover .popover-content {
  width: 260px;
}

#eventsCalendar table a {
  text-decoration: none;
  color: inherit;
}
