.mme-cal-tool {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 100px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
#dates-cours-agenda-calendar .mme-cal-tool {
  display: none;
}

.mm-start {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  justify-content: flex-start;
  flex-direction: row;
  align-items: center;
  color: var(--main-body-color);
}
.mm-start::before {
  content: "";
  background-position: center;
  background-repeat: no-repeat;
  background-size: 80%;
  background-color: transparent;
  border: 1px solid var(--main-brand-color);
  z-index: 1000;
  border-radius: 3px;
  width: 25%;
}
.mm-start .event-info {
  padding: 0.5rem;
  padding-top: 0;
  font-weight: normal;
  line-height: 1;
  width: 100%;
  white-space: normal;
  color: var(--main-body-color);
}
.mm-start .date {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 75%;
  padding-top: 0;
  margin-bottom: 0.5rem;
}

.app-content-main .mbsc-list-item > div.mm-start .date,
.mbsc-calendar .mbsc-list-item > div.mm-start .date,
.mbsc-popup-content .mbsc-list-item > div.mm-start .date {
  font-size: 0.8rem;
}
.app-content-main .mm-start .event-info,
.mbsc-calendar .mm-start .event-info,
.mbsc-popup-content .mm-start .event-info {
  padding: 0 0 0 10px;
  font-size: 0.8rem;
  line-height: 1.3;
  position: relative;
  margin-left: 0;
  margin-bottom: 7px;
}
@media (min-width: 768px) {
  .app-content-main .mm-start .event-info,
  .mbsc-calendar .mm-start .event-info,
  .mbsc-popup-content .mm-start .event-info {
    margin-left: 0;
    margin-bottom: 7px;
  }
}
.app-content-main .mm-start .event-info:before,
.mbsc-calendar .mm-start .event-info:before,
.mbsc-popup-content .mm-start .event-info:before {
  display: none;
  content: "";
  background-position: center;
  background-repeat: no-repeat;
  background-size: 80%;
  background-color: transparent;
  border: 1px solid var(--main-brand-color);
  z-index: 1000;
  border-radius: 3px;
  width: 2px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.app-content-main .mm-start .event-info h6,
.mbsc-calendar .mm-start .event-info h6,
.mbsc-popup-content .mm-start .event-info h6 {
  margin-bottom: 3px;
}
.app-content-main .mbsc-ios.mbsc-list-item,
.mbsc-calendar .mbsc-ios.mbsc-list-item,
.mbsc-popup-content .mbsc-ios.mbsc-list-item {
  padding: 1rem;
}

/* sticky header calendar */
.calendar-display.with-sticky-header {
  height: fit-content;
  min-height: 100%;
  position: relative;
  overflow: initial;
}
.calendar-display.with-sticky-header .mbsc-calendar-wrapper {
  position: sticky;
  background-color: white;
  z-index: 10;
  top: 60px;
  border-bottom: 1px solid var(--main-ui-color);
}

/* sticky header calendar GRID */
.mbsc-calendar-grid-view.with-sticky-header {
  position: relative;
  overflow: initial;
}
.mbsc-calendar-grid-view.with-sticky-header .mbsc-calendar-wrapper {
  top: 0;
  position: relative;
  overflow: initial;
}
.mbsc-calendar-grid-view.with-sticky-header .mbsc-calendar-wrapper .mbsc-calendar-header {
  position: sticky;
  background-color: white !important;
  z-index: 10;
  top: 60px;
  border-bottom: 1px solid var(--main-ui-color);
}

.mbsc-ios.mbsc-calendar-width-md .mbsc-calendar-title,
.mbsc-ios.mbsc-calendar-grid-view .mbsc-calendar-title {
  font-size: 1.125em;
}

.mbsc-calendar-grid .mbsc-calendar-table {
  width: 100%;
  margin: 0;
}

.mbsc-calendar .mbsc-calendar-month-title {
  margin-left: 0;
  margin-right: 0;
}

.app-content .mbsc-ios.mbsc-textfield-wrapper-box,
.app-content .mbsc-ios.mbsc-textfield-wrapper-outline,
.mbsc-popup-content .mbsc-ios.mbsc-textfield-wrapper-box,
.mbsc-popup-content .mbsc-ios.mbsc-textfield-wrapper-outline {
  margin: 1.5em 0;
}
.filter-fieldset .app-content .mbsc-ios.mbsc-textfield-wrapper-box,
.filter-fieldset .app-content .mbsc-ios.mbsc-textfield-wrapper-outline,
.filter-fieldset .mbsc-popup-content .mbsc-ios.mbsc-textfield-wrapper-box,
.filter-fieldset .mbsc-popup-content .mbsc-ios.mbsc-textfield-wrapper-outline {
  margin: 0;
}
.app-content .mbsc-ios.mbsc-textfield-wrapper-box input,
.app-content .mbsc-ios.mbsc-textfield-wrapper-outline input,
.mbsc-popup-content .mbsc-ios.mbsc-textfield-wrapper-box input,
.mbsc-popup-content .mbsc-ios.mbsc-textfield-wrapper-outline input {
  border: 1px solid var(--main-body-color);
}
.app-content .mbsc-ios.mbsc-button-flat,
.mbsc-popup-content .mbsc-ios.mbsc-button-flat {
  color: var(--main-body-color);
}
.app-content .mbsc-ios.mbsc-calendar-button.mbsc-button,
.mbsc-popup-content .mbsc-ios.mbsc-calendar-button.mbsc-button {
  color: var(--main-body-color);
}
.app-content .mbsc-ios.mbsc-calendar-button.mbsc-button .mbsc-button-icon,
.mbsc-popup-content .mbsc-ios.mbsc-calendar-button.mbsc-button .mbsc-button-icon {
  color: var(--main-brand-color);
}
.app-content .mbsc-calendar-text.mbsc-ios.mbsc-calendar-label,
.mbsc-popup-content .mbsc-calendar-text.mbsc-ios.mbsc-calendar-label {
  color: white !important;
}
.app-content .mbsc-ios.mbsc-selected .mbsc-calendar-cell-text,
.mbsc-popup-content .mbsc-ios.mbsc-selected .mbsc-calendar-cell-text {
  border-color: var(--main-brand-color-alpha);
  background-color: var(--main-brand-color-alpha);
}
.app-content .mbsc-ios.mbsc-hover .mbsc-calendar-cell-text,
.mbsc-popup-content .mbsc-ios.mbsc-hover .mbsc-calendar-cell-text {
  border-color: var(--main-brand-color-alpha);
  background-color: var(--main-brand-color-alpha);
}
.app-content .mbsc-ios.mbsc-calendar-week-nr,
.app-content .mbsc-ios.mbsc-calendar-today,
.mbsc-popup-content .mbsc-ios.mbsc-calendar-week-nr,
.mbsc-popup-content .mbsc-ios.mbsc-calendar-today {
  color: var(--main-brand-color);
}
.app-content .mbsc-ios.mbsc-calendar,
.mbsc-popup-content .mbsc-ios.mbsc-calendar {
  width: 100%;
}
.app-content .mbsc-ios.mbsc-calendar-width-md .mbsc-calendar-text,
.mbsc-popup-content .mbsc-ios.mbsc-calendar-width-md .mbsc-calendar-text {
  height: auto;
  border: 1px solid var(--main-brand-color-alpha);
  border-radius: 5px;
}
.app-content .mbsc-ios.mbsc-calendar-width-md .mbsc-calendar-text .mm-start .date,
.mbsc-popup-content .mbsc-ios.mbsc-calendar-width-md .mbsc-calendar-text .mm-start .date {
  margin: 0;
}
.app-content .mbsc-list-item > div.mm-start,
.mbsc-popup-content .mbsc-list-item > div.mm-start {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
}
.app-content .mbsc-list-item > div.mm-start::before,
.mbsc-popup-content .mbsc-list-item > div.mm-start::before {
  height: 30px;
  width: 30px;
  margin: 10px;
}
.app-content .mbsc-list-item > div.mm-start.no-select::before,
.mbsc-popup-content .mbsc-list-item > div.mm-start.no-select::before {
  display: none;
}
.app-content .mbsc-list-item > div.mm-start h6,
.mbsc-popup-content .mbsc-list-item > div.mm-start h6 {
  font-weight: bold;
  margin: 0;
  padding: 0;
}
.app-content .mbsc-list-item > div.mm-start .date,
.mbsc-popup-content .mbsc-list-item > div.mm-start .date {
  font-weight: bold;
  font-size: large;
  margin-bottom: 0;
}
.app-content .mbsc-list-item > div.mm-start.no-select .date,
.mbsc-popup-content .mbsc-list-item > div.mm-start.no-select .date {
  margin-bottom: 0.5rem;
  margin-left: -7px;
}
.app-content .mbsc-ios.mbsc-calendar,
.mbsc-popup-content .mbsc-ios.mbsc-calendar {
  background: transparent;
}
.app-content .mbsc-ios.mbsc-event.mbsc-list-item,
.mbsc-popup-content .mbsc-ios.mbsc-event.mbsc-list-item {
  background: transparent;
}
.app-content .mbsc-calendar-header.mbsc-ios,
.app-content .mbsc-ios.mbsc-event-day.mbsc-list-header,
.app-content .mbsc-event.mbsc-list-item.mbsc-ios.mbsc-list-item-actionable.mbsc-hover,
.app-content .mbsc-event.mbsc-list-item.mbsc-ios.mbsc-list-item-actionable.mbsc-hover:before,
.mbsc-popup-content .mbsc-calendar-header.mbsc-ios,
.mbsc-popup-content .mbsc-ios.mbsc-event-day.mbsc-list-header,
.mbsc-popup-content .mbsc-event.mbsc-list-item.mbsc-ios.mbsc-list-item-actionable.mbsc-hover,
.mbsc-popup-content .mbsc-event.mbsc-list-item.mbsc-ios.mbsc-list-item-actionable.mbsc-hover:before {
  background: transparent !important;
}
.app-content .mbsc-ios.mbsc-event-day.mbsc-list-header,
.mbsc-popup-content .mbsc-ios.mbsc-event-day.mbsc-list-header {
  background: var(--main-ui-color) !important;
}
.app-content .mbsc-schedule-event .mm-start::before,
.app-content .mbsc-calendar-labels .mm-start::before,
.mbsc-popup-content .mbsc-schedule-event .mm-start::before,
.mbsc-popup-content .mbsc-calendar-labels .mm-start::before {
  height: 15px;
  width: 15px;
  margin: 10px;
}
.app-content .mbsc-list-item > div[data-status=incart]::before,
.app-content .mbsc-schedule-event[data-status=incart] .mm-start::before,
.app-content .mbsc-calendar-labels > div[data-status=incart] .mm-start::before,
.mbsc-popup-content .mbsc-list-item > div[data-status=incart]::before,
.mbsc-popup-content .mbsc-schedule-event[data-status=incart] .mm-start::before,
.mbsc-popup-content .mbsc-calendar-labels > div[data-status=incart] .mm-start::before {
  content: "";
  background-image: url("../img/valid.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 80%;
  background-color: var(--main-brand-color);
  z-index: 1000;
}
.app-content .mm-calendar-header,
.mbsc-popup-content .mm-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.app-content .mm-calendar-header .js-filtres-in-cal,
.mbsc-popup-content .mm-calendar-header .js-filtres-in-cal {
  padding: 0.5rem;
}
.app-content .mbsc-schedule-date-header,
.mbsc-popup-content .mbsc-schedule-date-header {
  display: none;
}
.app-content .md-custom-header-controls,
.mbsc-popup-content .md-custom-header-controls {
  display: flex;
  justify-content: center;
  align-items: center;
}
.app-content .md-custom-header-nav,
.app-content .md-custom-header-view,
.mbsc-popup-content .md-custom-header-nav,
.mbsc-popup-content .md-custom-header-view {
  flex: 1;
}
.app-content .md-custom-header-button.mbsc-button,
.mbsc-popup-content .md-custom-header-button.mbsc-button {
  font-size: 20px;
  height: auto;
  padding: 0;
  margin: 0;
}
.app-content .md-custom-header .mbsc-segmented,
.mbsc-popup-content .md-custom-header .mbsc-segmented {
  width: 110px;
  float: right;
  margin-top: 0;
  margin-bottom: 0;
}
.app-content .md-custom-header .mbsc-material.mbsc-segmented,
.app-content .md-custom-header .mbsc-windows.mbsc-segmented,
.mbsc-popup-content .md-custom-header .mbsc-material.mbsc-segmented,
.mbsc-popup-content .md-custom-header .mbsc-windows.mbsc-segmented {
  padding: 0;
}
.app-content .md-custom-header .mbsc-segmented .mbsc-segmented-button,
.mbsc-popup-content .md-custom-header .mbsc-segmented .mbsc-segmented-button {
  font-size: 20px;
  height: 32px;
  padding: 0;
}
.app-content .mbsc-ios.mbsc-textfield-box,
.mbsc-popup-content .mbsc-ios.mbsc-textfield-box {
  background-color: var(--main-ui-color);
}
.app-content .mbsc-button-icon::before,
.mbsc-popup-content .mbsc-button-icon::before {
  font: var(--fa-font-solid);
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  color: var(--main-brand-color);
}
.app-content .mbsc-icon-material-view-day::before,
.mbsc-popup-content .mbsc-icon-material-view-day::before {
  content: "\f03a";
}
.app-content .mbsc-icon-calendar::before,
.mbsc-popup-content .mbsc-icon-calendar::before {
  content: "\f073";
}
.app-content .mbsc-icon-material-arrow-back::before,
.mbsc-popup-content .mbsc-icon-material-arrow-back::before {
  content: "\f053";
}
.app-content .mbsc-icon-material-arrow-forward::before,
.mbsc-popup-content .mbsc-icon-material-arrow-forward::before {
  content: "\f053";
  transform: rotate(180deg);
}
.app-content .mbsc-ios.mbsc-calendar-button.mbsc-button,
.mbsc-popup-content .mbsc-ios.mbsc-calendar-button.mbsc-button {
  color: var(--main-brand-color);
}
.app-content .mbsc-calendar-button-today,
.mbsc-popup-content .mbsc-calendar-button-today {
  display: none;
}
@media (min-width: 768px) {
  .app-content .mbsc-calendar-button-today,
  .mbsc-popup-content .mbsc-calendar-button-today {
    display: block;
  }
}
.app-content .mbsc-ios.mbsc-calendar-mark,
.mbsc-popup-content .mbsc-ios.mbsc-calendar-mark {
  background-color: var(--main-brand-color);
}
.app-content .mbsc-ios.mbsc-calendar-month-title,
.mbsc-popup-content .mbsc-ios.mbsc-calendar-month-title {
  color: var(--main-brand-color);
}
.app-content .calendar-display .mbsc-ios.mbsc-selected .mbsc-calendar-cell-text,
.app-content .calendar-display .mbsc-popup-content .mbsc-ios.mbsc-selected .mbsc-calendar-cell-text,
.mbsc-popup-content .calendar-display .mbsc-ios.mbsc-selected .mbsc-calendar-cell-text,
.mbsc-popup-content .calendar-display .mbsc-popup-content .mbsc-ios.mbsc-selected .mbsc-calendar-cell-text {
  background-color: transparent;
  border-color: transparent;
  color: var(--main-brand-color-alpha);
}
.app-content .calendar-display .mbsc-ios.mbsc-calendar-day-text,
.mbsc-popup-content .calendar-display .mbsc-ios.mbsc-calendar-day-text {
  position: relative;
  z-index: 3;
}
.app-content .calendar-display .mbsc-ios.mbsc-calendar-marks,
.mbsc-popup-content .calendar-display .mbsc-ios.mbsc-calendar-marks {
  height: 80%;
  width: 80%;
  top: 3px;
  margin: 0 auto;
  z-index: 2;
  padding: 0 0.25em;
}
.app-content .calendar-display .mbsc-ios.mbsc-calendar-mark,
.app-content .calendar-display .mbsc-popup-content .mbsc-ios.mbsc-calendar-mark,
.mbsc-popup-content .calendar-display .mbsc-ios.mbsc-calendar-mark,
.mbsc-popup-content .calendar-display .mbsc-popup-content .mbsc-ios.mbsc-calendar-mark {
  background-color: var(--main-brand-color-alpha);
  height: 100%;
  width: 100%;
}
.app-content .calendar-display .mbsc-ios.mbsc-calendar-height-md.mbsc-calendar-width-md .mbsc-calendar-week-day.mbsc-ltr,
.app-content .calendar-display .mbsc-ios.mbsc-calendar-height-md.mbsc-calendar-width-md .mbsc-calendar-day.mbsc-ltr,
.app-content .calendar-display .mbsc-ios.mbsc-calendar-height-md.mbsc-calendar-width-md .mbsc-calendar-marks.mbsc-ltr,
.mbsc-popup-content .calendar-display .mbsc-ios.mbsc-calendar-height-md.mbsc-calendar-width-md .mbsc-calendar-week-day.mbsc-ltr,
.mbsc-popup-content .calendar-display .mbsc-ios.mbsc-calendar-height-md.mbsc-calendar-width-md .mbsc-calendar-day.mbsc-ltr,
.mbsc-popup-content .calendar-display .mbsc-ios.mbsc-calendar-height-md.mbsc-calendar-width-md .mbsc-calendar-marks.mbsc-ltr {
  text-align: center;
}
.app-content .calendar-display .mbsc-ios.mbsc-hover .mbsc-calendar-cell-text,
.mbsc-popup-content .calendar-display .mbsc-ios.mbsc-hover .mbsc-calendar-cell-text {
  border-color: transparent;
  background-color: transparent;
  color: var(--main-brand-color-alpha);
}
.app-content #dates-cours-agenda-calendar.calendar-display .mbsc-ios.mbsc-calendar-marks,
.mbsc-popup-content #dates-cours-agenda-calendar.calendar-display .mbsc-ios.mbsc-calendar-marks {
  height: 100%;
  width: 100%;
  top: 3px;
  margin: 0 auto;
  z-index: 2;
  padding: 0 0.25em;
}

.mbsc-popup-content .mbsc-calendar-scroll-wrapper > div {
  overflow-y: auto;
  height: calc(100% - 32px);
}

.app-content-main {
  overflow: auto;
}

#dashboard-calendar .mbsc-event-list.mbsc-event-list-scroll {
  overflow-y: auto;
  height: calc(100vh - 360px);
}
