/* Calendar related css   */
.calendar-n-tabs {
  width: 100%;
  --primary: #f78502;
  --light-black: #4d4d4d;
  padding-top: 50px;
}

.calendar-n-tabs #coursesWrap {
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.calendar-n-tabs .tab-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 40px;
}

.calendar-n-tabs .single-tab {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-right: 30px;
  height: 35px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #727373;
  font-size: 16px;
  font-weight: bold;
  padding-bottom: 18px;
  cursor: pointer;
}

.calendar-n-tabs .single-tab .active-icon {
  display: none;
}

.calendar-n-tabs .single-tab .non-active {
  display: block;
  width: 32px;
  margin-right: 8px;
}

.calendar-n-tabs .single-tab.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.calendar-n-tabs .single-tab.active .non-active {
  display: none;
}

.calendar-n-tabs .single-tab.active .active-icon {
  display: block;
  width: 32px;
  margin-right: 8px;
}

.calendar-wrap {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background-color: #f7f7f7;
  box-shadow: -2px 2px 8px 1px #ebebeb;
  padding: 30px 50px;
}

.calendar-wrap .label-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.calendar-wrap .label-section p.online {
  border-color: var(--online);
}

.calendar-wrap .days-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.calendar-wrap .days-section .day {
  width: 14.29%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 14px !important;
  font-family: Galaxie-Polaris !important;
  color: var(--primary);
}

.calendar-wrap .dates-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.calendar-wrap .dates-section .task-popup-desktop .tasks.classroom,
.calendar-wrap .dates-section .task-popup-desktop .tasks.virtual,
.calendar-wrap .dates-section.all .task-popup-desktop .tasks.classroom,
.calendar-wrap .dates-section.all .task-popup-desktop .tasks.virtual {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media screen and (max-width: 768px) {
  .calendar-wrap .dates-section + .task-popup-mobile .tasks.classroom,
  .calendar-wrap .dates-section + .task-popup-mobile .tasks.virtual,
  .calendar-wrap .dates-section.all + .task-popup-mobile .tasks.classroom,
  .calendar-wrap .dates-section.all + .task-popup-mobile .tasks.virtual {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

.calendar-wrap .dates-section.virtual .task-popup-desktop .tasks.virtual {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.calendar-wrap .dates-section.virtual .task-popup-desktop .tasks.classroom {
  display: none;
}

.calendar-wrap .dates-section.classroom .task-popup-desktop .tasks.virtual {
  display: none;
}

.calendar-wrap .dates-section.classroom .task-popup-desktop .tasks.classroom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

/* for mobile */
@media screen and (max-width: 768px) {
  .calendar-wrap .dates-section.virtual + .task-popup-mobile .tasks.virtual {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .calendar-wrap .dates-section.virtual + .task-popup-mobile .tasks.classroom {
    display: none;
  }
  .calendar-wrap .dates-section.classroom + .task-popup-mobile .tasks.virtual {
    display: none;
  }
  .calendar-wrap .dates-section.classroom + .task-popup-mobile .tasks.classroom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

.calendar-wrap .dates-section .date-element {
  width: 14.28%;
  min-height: 142px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 5px 10px 25px;
  border-top: 1px solid #d8d8d8;
  border-left: 1px solid #d8d8d8;
  font-size: 20px;
  position: relative;
}

.calendar-wrap .dates-section .date-element .date-field {
  font-weight: bold !important;
  margin: 0;
  color: var(--primary);
  text-align: right;
  position: absolute;
  bottom: 5px;
  right: 10px;
}

.calendar-wrap .dates-section .date-element:hover {
  background-color: #fff;
}

.calendar-wrap .dates-section .date-element:nth-child(7n+8) {
  border-left: none;
}

.calendar-wrap .dates-section .date-element:first-child {
  border-left: none;
}

.calendar-wrap .dates-section .date-element.blank {
  background-color: #f1f1f1;
}

.calendar-wrap .month-n-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 25px;
}

.calendar-wrap .month-n-actions button {
  padding: 0 !important;
  line-height: 1.3 !important;
  border: none;
  background-color: transparent !important;
  color: var(--primary) !important;
}

.calendar-wrap .month-n-actions .month-name {
  margin: 0 0 0 10px;
  font-size: 40px;
  font-weight: bold !important;
  cursor: pointer;
}

.calendar-wrap .month-n-actions .year {
  font-size: 50px;
  line-height: 1.2;
  margin-top: -8px;
  margin-left: 19px;
  cursor: pointer;
}

.calendar-wrap .month-n-actions .action-btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.calendar-wrap .selector-section {
  position: relative;
}

.calendar-wrap .list-options {
  background-color: #e7e7e7;
  padding: 20px 0;
  width: 235px;
  max-height: 310px;
  overflow: auto;
  border-radius: 8px;
  box-shadow: 3px 13px 16px 6px #d8d8d8;
  position: absolute;
  z-index: 1;
  top: 55px;
  left: 0;
  display: none;
}

.calendar-wrap .list-options .list-option {
  margin: 10px 0 !important;
  font-size: 12px !important;
  line-height: 2.5 !important;
  padding-left: 15px;
  border-left: 3px solid #727272;
  cursor: pointer;
}

.calendar-wrap .list-options .list-option.active {
  border-color: var(--primary);
  color: var(--primary);
}

.calendar-wrap .list-options .list-option.year-option {
  font-size: 16px !important;
}

.calendar-wrap .date-element .tasks-wrap {
  pointer-events: none;
}

.calendar-wrap .date-element .tasks-wrap .tasks {
  margin-top: 7px;
  padding: 0 5px;
  color: var(--light-black);
  cursor: pointer;
  border-left: 3px solid var(--primary);
  -webkit-transition: -webkit-transform linear .1s;
  transition: -webkit-transform linear .1s;
  transition: transform linear .1s;
  transition: transform linear .1s, -webkit-transform linear .1s;
}

.calendar-wrap .date-element .tasks-wrap .tasks:first-child {
  margin-top: 0;
}

.calendar-wrap .date-element .tasks-wrap .tasks:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.calendar-wrap .date-element .tasks-wrap .tasks p {
  margin: 0;
  font-size: 13px !important;
  line-height: 1.3 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-wrap .hidden-tasks-count {
  margin: 5px 0 0 !important;
  text-align: center;
  cursor: pointer;
  background-color: #f1f1f1;
  color: var(--light-black);
  font-size: 15px !important;
  -webkit-transition: background ease .1s;
  transition: background ease .1s;
}

.calendar-wrap .hidden-tasks-count:hover {
  background-color: var(--primary);
  color: #fff;
}

/*.calendar-wrap .dates-section.all .date-element .tasks-wrap .tasks.classroom {
  display: block;
}

.calendar-wrap .dates-section.all .date-element .tasks-wrap .tasks.virtual {
  display: block;
}

.calendar-wrap .dates-section.all .date-element .tasks-wrap .tasks.online {
  display: block;
}

.calendar-wrap .dates-section.classroom .date-element .tasks-wrap .tasks.classroom {
  display: block;
}

.calendar-wrap .dates-section.classroom .date-element .tasks-wrap .tasks.virtual {
  display: none;
}

.calendar-wrap .dates-section.classroom .date-element .tasks-wrap .tasks.online {
  display: none;
}

.calendar-wrap .dates-section.virtual .date-element .tasks-wrap .tasks.virtual {
  display: block;
}

.calendar-wrap .dates-section.virtual .date-element .tasks-wrap .tasks.classroom {
  display: none;
}

.calendar-wrap .dates-section.virtual .date-element .tasks-wrap .tasks.online {
  display: none;
}*/
.task-popup-desktop {
  position: absolute;
  left: -webkit-calc(100% + 10px);
  left: calc(100% + 10px);
  top: 10px;
  background: var(--primary);
  color: #fff;
  /*width: 350px; - changinig to 300px as register button is now aligned bottom instead of right */
  width: 300px;
  padding: 5px 10px;
  z-index: 1;
  box-shadow: 0px 2px 6px 1px #acacac;
  display: none;
}

.task-popup-desktop:before {
  content: "\A";
  border-style: solid;
  border-width: 10px 15px 10px 0;
  border-color: transparent #f78502 transparent transparent;
  position: absolute;
  left: -15px;
  top: 45px;
}

.task-popup-desktop p {
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  padding-left: 24px;
  margin: 5px 0 !important;
}

.task-popup-desktop .tasks {
  margin-bottom: 15px;
  border-left: 3px solid #fff;
  padding-left: 10px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.task-popup-desktop .tasks .t-title .task-popup-mobile .tasks .t-title {
  font-size: 15px !important;
  padding-left: 0;
}

.task-popup-desktop .tasks .t-time:before {
  content: '';
  width: 18px;
  height: 18px;
  position: absolute;
  top: 0;
  left: 0;
  background: url(../images/calendar/dt-white.svg) no-repeat left top;
}

.task-popup-desktop .tasks .type-n-location:before {
  content: '';
  width: 18px;
  height: 18px;
  position: absolute;
  top: 0;
  left: 0;
  background: url(../images/calendar/location-white.svg) no-repeat left top;
}

.task-popup-desktop .tasks .t-avl:before {
  content: '';
  width: 18px;
  height: 18px;
  position: absolute;
  top: 0;
  left: 0;
  background: url(../images/calendar/avl-white.svg) no-repeat left top;
}

.task-popup-desktop .register-btn {
  /*width: 75px; - changinig to 100px as register button is now aligned bottom instead of right*/
  width: 100px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 34px;
  background-color: #fff;
  border: none;
  font-size: 12px;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 8px;
  box-shadow: 2px 1px 7px 1px #a15805;
  /*added margin-top as register button is now aligned bottom instead of right */
  margin-top: 10px;
}

.task-popup-mobile {
  display: none;
  background-color: #fff;
  color: var(--light-black);
  margin-top: 20px;
}

.task-popup-mobile p {
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  padding-left: 24px;
  margin: 5px 0 !important;
  padding-left: 20px;
  padding-right: 6px;
  font-size: 12px !important;
  margin: 2px 0 !important;
}

.task-popup-mobile .tasks {
  margin-bottom: 15px;
  border-left: 3px solid #fff;
  padding-left: 10px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-color: var(--primary);
  padding-left: 3px;
}

.task-popup-mobile .tasks .t-time:before {
  content: '';
  width: 18px;
  height: 18px;
  position: absolute;
  top: 0;
  left: 0;
  background: url(../images/calendar/dt-white.svg) no-repeat left top;
}

.task-popup-mobile .tasks .type-n-location:before {
  content: '';
  width: 18px;
  height: 18px;
  position: absolute;
  top: 0;
  left: 0;
  background: url(../images/calendar/location-white.svg) no-repeat left top;
}

.task-popup-mobile .tasks .t-avl:before {
  content: '';
  width: 18px;
  height: 18px;
  position: absolute;
  top: 0;
  left: 0;
  background: url(../images/calendar/avl-white.svg) no-repeat left top;
}

.task-popup-mobile .register-btn {
  width: 75px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 34px;
  background-color: #fff;
  border: none;
  font-size: 12px;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 8px;
  box-shadow: 2px 1px 7px 1px #a15805;
  background-color: var(--primary);
  color: #fff;
  box-shadow: 2px 1px 4px 0px #a7a7a7;
  margin-right: 15px;
}

.task-popup-mobile .t-title {
  text-transform: capitalize;
  font-weight: bold !important;
  color: var(--primary);
  font-size: 10px !important;
}

.date-element.show-popup .task-popup-desktop {
  display: block;
}

.task-popup-mobile.show-popup {
  display: block;
}

.calendar-wrap .date-element.show-popup.empty .task-popup-desktop,
.calendar-wrap .date-element.show-popup.empty .task-popup-desktop:before {
  display: none;
}

.task-popup-mobile.show-popup .tasks .t-time:before {
  z-index: 1;
  width: 15px;
  height: 15px;
  background: url(../images/calendar/dt-gray.svg) no-repeat left top;
}

.task-popup-mobile.show-popup .tasks .type-n-location:before {
  z-index: 1;
  width: 15px;
  height: 15px;
  background: url(../images/calendar/location-gray.svg) no-repeat left top;
}

.task-popup-mobile.show-popup .tasks .t-avl:before {
  z-index: 1;
  width: 15px;
  height: 15px;
  background: url(../images/calendar/avl-gray.svg) no-repeat left top;
}

.t-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  /*max-width: 75%; - changinig to 95& as register button is now aligned bottom instead of right */
  max-width: 95%;
}

.training-selection {
  background: -webkit-gradient(linear, left top, right top, from(var(--primary)), to(#f89831));
  background: -webkit-linear-gradient(left, var(--primary), #f89831);
  background: linear-gradient(to right, var(--primary), #f89831);
  width: 215px;
  height: 54px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 10px 30px 10px 15px;
  position: relative;
  border-radius: 8px;
  box-shadow: 3px 2px 7px 0px #c9c9c9;
}

.training-selection .bi-chevron-down {
  position: absolute;
  fill: #fff;
  right: 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: -webkit-transform ease .1s;
  transition: -webkit-transform ease .1s;
  transition: transform ease .1s;
  transition: transform ease .1s, -webkit-transform ease .1s;
  pointer-events: none;
}

.selected-training {
  font-size: 14px !important;
  line-height: 1.2 !important;
  margin: 0;
  font-weight: 600 !important;
  color: #fff;
  width: 135px;
  text-transform: uppercase;
  pointer-events: none;
}

.training-selection.show-list .list-options {
  display: block;
}

.training-selection.show-list .bi-chevron-down {
  -webkit-transform: rotate(180deg) translateY(50%);
  -ms-transform: rotate(180deg) translateY(50%);
  transform: rotate(180deg) translateY(50%);
}

.training-selection.show-list .selection.overlay {
  background-color: transparent;
  background-image: none;
  z-index: 1;
  display: block;
}

.courses-wrap {
  display: none;
}

.calendar-popup {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 10;
  display: none;
}

.calendar-popup .overlay {
  background-color: rgba(54, 54, 54, 0.55);
  z-index: 1;
}

.calendar-popup .content-section {
  position: relative;
  background-color: #fff;
  position: absolute;
  z-index: 2;
  width: 94%;
  height: 70vh;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  max-width: 415px;
  padding: 25px 15px;
}

.calendar-popup .content-section .online-class-popup-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 100%;
}

.calendar-popup .content-section .online-class-popup-content .title {
  font-weight: bold !important;
}

.calendar-popup .content-section .online-class-popup-content .details {
  margin: 0 !important;
  font-size: 14px !important;
  color: #6e6e6e;
}

.calendar-popup .content-section .online-class-popup-content .continue {
  margin-top: 35px;
  width: 52%;
  height: 40px;
  border: none;
  background-color: #727373;
  color: #fff;
  font-size: 19px;
  border-radius: 6px;
}

.calendar-popup .content-section .close-icon {
  position: absolute;
  right: 15px;
  top: 10px;
  cursor: pointer;
}

.calendar-popup.show {
  display: block;
}

.calendar-popup.show .overlay {
  display: block;
}

@media screen and (max-width: 768px) {
  .calendar-wrap {
    padding: 5px 3px;
  }
  .calendar-wrap .hidden-tasks-count {
    display: none !important;
  }
  .calendar-wrap .date-element .tasks-wrap {
    width: 5px;
    height: 5px;
    border: 1px solid #727373;
    background-color: #727373;
    color: #727373;
    overflow: hidden;
    border-radius: 50%;
  }
  .calendar-wrap .date-element.empty .tasks-wrap {
    display: none;
  }
  .calendar-wrap .date-element .tasks-wrap .tasks {
    display: none !important;
  }
  .calendar-wrap .dates-section.all .date-element .tasks-wrap .tasks {
    display: none !important;
  }
  .calendar-wrap .dates-section.classroom .date-element .tasks-wrap .tasks {
    display: none !important;
  }
  .calendar-wrap .dates-section.virtual .date-element .tasks-wrap .tasks {
    display: none !important;
  }
  .calendar-wrap .date-element.show-popup .tasks-wrap {
    display: none !important;
  }
  .calendar-wrap .date-element.show-popup .task-popup-desktop {
    display: none !important;
  }
  .calendar-wrap .days-section .day {
    letter-spacing: 240px;
    overflow: hidden;
    position: relative;
    left: 6%;
    -webkit-transform: translateX(-6%);
    -ms-transform: translateX(-6%);
    transform: translateX(-6%);
    font-size: 12px !important;
  }
  .calendar-wrap .month-n-actions {
    margin-bottom: 5px;
  }
  .calendar-wrap .month-n-actions .action-btns svg {
    width: 15px;
    height: 15px;
  }
  .calendar-wrap .month-n-actions .month-name {
    margin: 0 0 0 4px;
    font-size: 18px;
  }
  .calendar-wrap .month-n-actions .year {
    font-size: 21px;
    font-weight: bold;
    margin-left: 5px;
    margin-top: -1px;
  }
  .calendar-wrap .dates-section .date-element {
    min-height: 48px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 5px;
    cursor: pointer;
    background-color: #f1f1f1;
    border-left: none;
  }
  .calendar-wrap .dates-section .date-element:hover {
    background-color: #f1f1f1;
  }
  .calendar-wrap .dates-section .date-element .date-field {
    font-weight: 400 !important;
    font-size: 14px !important;
    margin: 0;
    color: #727373;
    font-family: sans-serif;
    text-align: center;
    position: static;
    pointer-events: none;
  }
  .calendar-wrap .dates-section .date-element.show-popup .date-field {
    width: 28px;
    height: 27px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
  }
  .calendar-wrap .list-options {
    width: 190px;
    top: 28px;
  }
  .selected-training {
    font-size: 10px !important;
    width: 100px;
  }
  .training-selection {
    width: 145px;
    height: 40px;
    padding: 10px 30px 10px 10px;
  }
  .training-selection .bi-chevron-down {
    width: 12px;
    height: 12px;
  }
  .training-selection.show-list .list-options {
    top: 43px;
    right: 0;
    left: unset;
  }
  .calendar-popup .content-section {
    max-height: 500px;
  }
  .t-list {
    padding: 2px 0 5px;
  }
}
