/*!****************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/blocks/book-now-tiles/main.css ***!
  \****************************************************************************************************************************************************************************************/
/* BOOK NOW TILES */

.on-sale-courses {
  background: #f2fff2;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
  max-width: 1200px;
  border: 1px solid black;
  border-radius: 30px;
}

.discount-title {
  font-size: 30px !important;
  padding-bottom: 30px;
  text-align: center;
}

.sale-title-group {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 20px;
}

.sale-title-group img {
  margin-top: 30px;
}

/* MOBILD OLD CODE */
.course-item {
  max-height: 160px;
  margin-bottom: 0 !important;
  transition: max-height 0.5s ease;
  overflow: hidden;
  align-items: center;
}
/* END */

.course-tiles {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1140px !important;
  align-items: stretch !important;
  justify-content: center;
}

.course-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-content: space-between;
  max-width: 350px !important;
  border-radius: 20px;
  padding: 20px;
  flex-grow: 1;
  flex-shrink: 0;
  box-sizing: border-box !important;
}

.title-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.course-info {
  margin-top: auto; /* push to bottom */
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.course-info > * {
  margin: 0px !important;
}

.course-button {
  width: 100%;
  border-radius: 10px;
  text-decoration: none !important;
  padding: 15px;
  text-align: center;
  height: 45px;
  border: none;
}

.discount-info {
  background-color: green;
  display: flex;
  flex-direction: row;
  width: -moz-fit-content;
  width: fit-content;
  gap: 5px;
  border-radius: 7px;
  margin-top: -35px;
  margin-bottom: 10px;
  padding: 0 5px 0 0;
}

.discount-code,
.discount {
  color: white !important;
  font-size: 20px !important;
  margin: 3px !important;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1;
}

.discount-container {
  background: black;
  border-radius: 7px;
  padding: 0 5px;
}

.course-code {
  font-size: 32px !important;
  margin-bottom: 5px !important;
  font-weight: 700;
}

.course-tile-icon {
  height: 50px;
  width: 50px;
}

.course-name {
  margin: 4px 0 !important;
  font-size: 18px !important;
}

.course-prices,
.course-prices-mobile {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.course-price {
  font-size: 42px !important;
  margin-bottom: 0px !important;
  font-weight: 700;
}

.course-price-mobile {
  font-size: 32px !important;
  margin-bottom: 0px !important;
  display: none;
  font-weight: 700;
}

.course-price.on-sale,
.course-price-mobile.on-sale {
  text-decoration: line-through;
  color: #888888;
}

/* OLD CODE */
.course-item.accordion-open {
  max-height: 400px;
}

.course-info {
  opacity: 1 !important;
  transition: opacity 0.5s ease !important;
}

.course-chevron {
  transition: transform 0.3s ease !important;
  width: 25px;
  height: 15px;
  margin-top: 22px;
  display: none;
}

.chevron-open {
  transform: rotate(180deg) translateY(7px) !important;
}

/* MEDIA QUERIES */

/* Switch to chevron layout for small tablets & mobiles */
@media (max-width: 800px) {
  .course-chevron,
  .course-price-mobile {
    display: block;
  }

  .course-prices {
    display: none;
    opacity: 0 !important;
  }

  .course-info {
    display: flex;
  }

  .on-sale-courses {
    padding-left: 3px;
    padding-right: 3px;
    justify-content: center;
    align-items: center;
    /* border: none; */
  }

  .course-tiles {
    display: flex;
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
  }

  .course-tile {
    max-width: 500px !important;
    width: 500px !important;
  }

  .sale-title-group img {
    display: none;
  }
}

@media (max-width: 550px) {
  .course-tile {
    max-width: 400px !important;
    width: 400px !important;
    padding: 10px !important;
  }

  .discount-title {
    font-size: 22px;
  }

  .on-sale-courses .course-tiles {
    gap: 30px;
  }

  .course-icon {
    width: 30px !important;
    height: 30px !important;
  }

  .course-code {
    font-size: 24px !important;
  }
}

@media (max-width: 420px) {
  .course-tile {
    max-width: 350px !important;
    width: 350px !important;
  }

  .on-sale-courses {
    border: none;
  }
}

@media (max-width: 320px) {
  .course-tile {
    max-width: 280px !important;
    width: 280px !important;
  }
}

/* EDITOR STYLING */

.mfac-course-tiles-editor {
  border: 1px dashed #ccc;
  padding: 1rem;
  background: #fafafa;
  margin-top: 1rem;
  border: 2px solid rgb(3, 170, 110);
  border-radius: 30px;
  max-width: 1140px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.checkout-notice-box p {
  margin: 0.5rem 0;
  text-align: center;
}

.editor-placeholder {
  margin-top: 1rem;
  font-style: italic;
  color: #666;
}

.sale-editable-text {
  border: 1px solid black;
}

.editor-title {
  text-align: center;
}


/*# sourceMappingURL=index.css.map*/