/* 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;
  }
}
