/* Homepage - Event Section */

.event-section .carousel-caption {
  position: absolute;
  left: 50% !important;
  top: 50% !important;
  width: 75%;
  transform: translate(-50%, -50%);
  bottom: auto;
}

.event-section .slideshow-content {
  display: flex;
  align-items: start;
}

.event-section .carousel-inner > .item .carousel-link {
  width: auto;
}

.event-section .slideshow-content .slideshow-content-left {
  width: 60%;
  margin-right: 3rem;
}

.event-section .slideshow-content .slideshow-content-right {
  display: flex;
  justify-content: flex-end;
  width: 40%;
}

@media (max-width: 768px) {
  .event-section .carousel-caption {
    width: 85%;
  }

  .carousel-caption .slideshow-content {
    flex-direction: column;
    align-items: center;
  }

  .event-section .slideshow-content .slideshow-content-left {
    order: 2;
    width: 100%;
    margin-right: 0;
  }

  .event-section .slideshow-content .slideshow-content-right {
    order: 1;
    width: 100%;
    justify-content: flex-start !important;
  }
}

/* Align Buttons on Change password and/or username modal on 
  Shared_Content/Contacts/ContactLayouts/Account_Page_Staff page*/

.CommandBar {
  text-align: right;
}

/* Update Cookie Dialog Box */

.cc-window.cc-floating {
  padding: 1.55em;
  max-width: 24em;
}

@media (min-width: 600px) {
  .cc-window.cc-floating {
    min-width: 450px;
  }
}

.cc-window {
  left: 50%;
  transform: translateX(-50%);
  bottom: 1em;
  right: auto;
}

.cc-bottom {
  bottom: 1em;
}

.cc-right {
  right: auto;
}

@media screen and (max-width: 414px) and (orientation: portrait),
  screen and (max-width: 736px) and (orientation: landscape) {
  .cc-window.cc-banner,
  .cc-window.cc-right,
  .cc-window.cc-left {
    left: 50%;
    right: auto;
  }
}

@media screen and (max-width: 414px) and (orientation: portrait),
  screen and (max-width: 736px) and (orientation: landscape) {
  .cc-window.cc-bottom {
    bottom: 1em;
  }
}

/* Call for Content Page */
.content-block {
  margin-bottom: 40px;
}

.content-block .block-content {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-top: 20px;
}

.content-block .block-image {
  flex-shrink: 0;
}

.content-block .block-image img {
  width: 275px;
  height: auto;
  object-fit: contain;
}

.content-block .block-text {
  flex-grow: 1;
}

.content-block ul {
  list-style: disc;
  padding-left: 20px;
}

@media (max-width: 768px) {
  .content-block .block-content {
    flex-direction: column;
    align-items: center;
  }

  .content-block .block-image img {
    width: 100%;
  }
}

/* Commercial and Contract Management Associate Page */
.pricing-cards-container {
  display: flex;
  gap: 20px;
  padding: 15px 0 0;
  justify-content: flex-start;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
}

.pricing-card-content {
  padding: 20px;
}

.pricing-header h3 {
  font-size: 1.25em;
  margin-top: 0;
  margin-bottom: 5px;
}

.pricing-header p {
  font-size: 0.85em;
  margin: 0;
}

.pricing-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.price {
  font-size: 2em;
  font-weight: bold;
}

.recert-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.recert-list li {
  margin-bottom: 5px;
}

.disclaimer {
  text-align: left;
  font-size: 0.85em;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .pricing-cards-container {
    justify-content: center;
    flex-direction: column;
  }

  .pricing-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
  }
}

.exam-info-container {
  width: 100%;
  margin: 20px 0 35px;
}

.exam-details {
  display: flex;
  justify-content: flex-start;
  gap: 50px;
  flex-wrap: wrap;
}

.exam-item {
  display: flex;
  flex-direction: column;
}

.exam-item p {
  margin-top: 5px;
  margin-bottom: 0;
}

@media (max-width: 650px) {
  .exam-details {
    flex-direction: column;
  }

  .exam-details {
    gap: 20px;
  }
}
