html {
  font-family: Roboto, Verdana, Arial, sans-serif;
}

body {
  margin: 0px;
  background-color: #fff !important;
}

.h2, h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
}

div#AppShell .title {
  font-size: 40px;
  line-height: 50px;
  font-weight: 600;
}

.h5 {
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
}

#app-nopega {
  margin: 8px;
}

/* some simple Flexbox */
.flexbox {
  display: flex;
}
.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}

.column-narrow {
  display: flex;
  flex-direction: column;
  flex: 0 1 200px;
}

/* some other simple CSS for our index.html */

.button-bar {
  border-right: 2px solid darkslategray;
  padding: 5px;
}

.main-content {
  vertical-align: top;
  padding: 0px;
}

div[class^="MuiCard-root"],
div[class*="MuiCard-root"] {
  border-left-color: #7986cb !important;
  border: none !important;
  border-radius: 8px !important;
  background-color: #fafafa !important;
  box-shadow: 0px 3.2px 7.2px 0px #00000021;
}

div[class^="MuiCardHeader-root"],
div[class*="MuiCardHeader-root"] {
  border-bottom: 1px solid #cbd4dc;
  padding-bottom: 16px;
  padding-left: 0;
  margin: 0 32px;
}

span[class^="MuiTypography-body2"],
span[class*="MuiTypography-body2"] {
  font-weight: 700;
  font-size: 18px;
  line-height: 27px;
}

p[class^="MuiTypography-colorTextSecondary"],
p[class*="MuiTypography-colorTextSecondary"] {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #000;
  display: flex;
}

span[class^="MuiBadge-anchorOriginTopRightRectangular"],
span[class^="MuiBadge-colorPrimary"],
span[class*="MuiBadge-anchorOriginTopRightRectangular"],
span[class*="MuiBadge-colorPrimary"] {
  margin-top: 12px;
}

button[class^="MuiButton-textPrimary"],
button[class*="MuiButton-textPrimary"] {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #000;
  height: 24px;
  padding: 0 4px;
  text-transform: capitalize;
}

button.Strong {
  background-color: #003e7e;
  color: #fff;
}

button.Strong svg {
  width: 18px;
}

button.Strong span {
  font-size: 16px;
  line-height: 24px;
  text-transform: capitalize;
}

div#AppShell .background-image-style {
  height: 569px !important;
}

.background-style.content {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.4) 44.39%,
    rgba(0, 0, 0, 0) 67.06%
  );
}

img.CaseBanner {
  height: 250px;
  background-position: center center;
  background-size: cover;
  width: calc(100vw + 16px);
  object-fit: cover;
  margin: 0 -16px;
}

div#assignment-header {
  border: none;
  margin: 0;
}

div#assignment-container {
  border: none;
  margin: 0;
}

div#assignment-container .AssignmentHeader {
  font-size: 40px;
  line-height: 50px;
  font-weight: 600;
  padding-bottom: 10px;
}

div#assignment-container .AssignmentSubheader {
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
}

div#AppShell .ActionPane, .certifications {
  max-width: 1296px !important;
  margin: auto;
}

.background-style.content div {
  margin: auto;
  margin-top: 100px;
  min-width: 1296px;
  height: 180px;
  text-align: left;
  padding: 60px 40px;
  background: linear-gradient(90deg, #1423337d 0%, rgba(0, 87, 178, 0) 100%);
  background-blend-mode: overlay;
  border: none !important;
  border-radius: 8px !important;
  align-content: baseline;
  color: #fff;
}

.banner-layout > div:first-of-type {
  margin-top: -200px;
  max-width: 100%;
  flex-basis: 100%;
}

.StageHeader {
  gap: 12px;
  justify-content: flex-start !important;
  padding-bottom: 16px;
  border-bottom: 1px solid #cbd4dc;
}

.StageHeader svg {
  font-size: 35px;
  flex-grow: 0;
}

.StageHeader span {
  font-size: 28px;
  line-height: 35px;
  font-weight: 600;
}

article#Stages {
  background-color: #f9f9f9;
  padding: 40px 40px 24px 40px;
  gap: 40px;
  box-shadow: 0px 3.2px 7.2px 0px #00000021;
  margin-bottom: 40px;
}

article#Stages ol {
  width: 100%;
  min-width: 100%;
  flex-wrap: nowrap;
  margin: auto;
  display: flex;
  flex-direction: row;
  text-align: center;
}

article#Stages ol > li {
  flex-grow: 1;
}

article#Stages nav {
  padding-top: 12px;
}

article#Stages span.CurrentStage {
  flex-direction: column;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 8px;
  color: #fff;
  font-weight: 600;
  background-color: #003e7e;
  border-radius: 20px;
}

span.LastCompletedStage svg,
span.LastCompletedStage svg {
  display: none;
}

article#Stages span.LastCompletedStage .LastStage {
  background-color: green;
  color: #fff;
  border: none;
  padding: 6px;
}

article#Stages span.LastStage .FutureStage {
  display: none;
}

article#Stages span.CurrentStage > svg {
  background-color: #003e7e;
  /* outline: #fff 1px; */
  border: 3px solid #fff;
}

li[class^="MuiBreadcrumbs-separator"],
li[class*="MuiBreadcrumbs-separator"] {
  display: inline;
}

article#Stages li > span > svg.FutureStage,
article#Stages li > span > svg.LastStage {
  background-color: #f9f9f9;
  color: #666666;
  border: 3px solid #666666;
  display: block;
}

article#Stages li > span {
  flex-direction: column;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  gap: 12px;
  padding: 20px 8px;
}

article#Stages li > span > svg {
  color: #fff;
  background-color: green;
  /* padding: 8px; */
  width: 42px;
  height: 42px;
  border-radius: 100%;
  padding: 4px;
}

article#Stages li > span > span {
  font-size: 16px;
  line-height: 20px;
  padding: 0px !important;
}

/*the following 2 styles hide stages after the first-ordered stage from Stages.tsx. This is a secondary measure if span class is not applied*/
article#Stages nav li:last-child > span > svg:first-child {
  display: block;
}

article#Stages span.LastStage .FutureStage,
article#Stages nav li:last-child > span > svg {
  display: none;
}

h6 {
  font-size: 28px !important;
  font-weight: 600 !important;
  line-height: 35px !important;
  text-align: left;
}

.psdk-case-view-divider {
  border-bottom: 0.0625rem solid var(--app-neutral-light-color);
}

.psdk-icon {
  padding: 0rem 0.125rem;
  min-width: unset;
}

.step-icon {
  padding-top: 4px;
}

.psdk-icon-current {
  color: var(--app-primary-color);
}

.psdk-icon-not-current {
  color: var(--app-neutral-color);
}

.psdk-current-svg-icon {
  width: 1rem;
  filter: var(--app-primary-color-filter);
}

.psdk-not-current-svg-icon {
  width: 1rem;
  filter: var(--app-neutral-color-filter);
}

mat-vertical-stepper {
  background-color: transparent;
}
mat-horizontal-stepper {
  background-color: transparent;
}

.psdk-sub-step-current {
  padding-left: 0.625rem;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.87);
}

.psdk-sub-step-not-current {
  padding-left: 0.625rem;
  color: rgba(0, 0, 0, 0.54);
}

.psdk-flow-container-top {
  border-radius: 0.3125rem;
  margin: 8px;
}
.psdk-flow-container {
  padding-left: 2.1875rem;
}

.psdk-sub-step-list {
  list-style: none;
  padding-bottom: 0.625rem;
}

.psdk-vertical-stepper {
  background-color: transparent;
  display: block;
  text-align: left;
}

.psdk-flow-container-top > div[class^="MuiCard-root"],
.psdk-flow-container-top > div[class*="MuiCard-root"] {
  box-shadow: none;
  margin: 2px;
  background-color: #fff !important;
}

div#assignment-header {
  border: none;
  margin: 0;
  display: none;
}

.psdk-vertical-step {
  display: block;
}

.psdk-vertical-step-header {
  overflow: hidden;
  outline: none;
  cursor: pointer;
  position: relative;
  box-sizing: content-box;
  display: flex;
  align-items: center;
  height: 24px;
  padding: 24px 24px;
}

.psdk-vertical-step-icon {
  margin-right: 12px;
  background-color: var(--app-neutral-color);
  color: #fff;
  border-radius: 50%;
  height: 24px;
  width: 24px;
  flex-shrink: 0;
  position: relative;
}

.psdk-vertical-step-icon-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
}

.psdk-vertical-step-icon-selected {
  margin-right: 12px;
  background-color: var(--app-primary-color);
  color: #fff;
  border-radius: 50%;
  height: 24px;
  display: none;
  width: 24px;
  flex-shrink: 0;
  position: relative;
}

.psdk-vertical-step-label {
  color: rgba(0, 0, 0, 0.54);
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 50px;
  vertical-align: middle;
  font-size: 14px;
  font-weight: 500;
}

.psdk-vertical-step-label-selected {
  color: rgba(0, 0, 0, 0.87);
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 50px;
  vertical-align: middle;
  font-size: 14px;
  font-weight: 500;
}

.psdk-vertical-step-body {
  margin-left: 36px;
  border: 0;
  position: relative;
  display: block;
  text-align: left;
}
.psdk-vertical-step-line {
  display: block;
}

.psdk-vertical-step-line::before {
  content: "";
  position: absolute;
  left: 0;
  border-left-width: 1px;
  border-left-style: solid;
  top: -16px;
  bottom: -16px;
  border-left-color: rgba(0, 0, 0, 0.12);
}

.psdk-horizontal-stepper {
  background-color: transparent;
  display: block;
  margin-left: -16px;
  margin-top: 0px;
  width: calc(100% + 32px);
}

.psdk-horizontal-stepper-header-container {
  white-space: nowrap;
  display: flex;
  align-items: center;
  text-align: left;
  background-color: #fff;
}

.psdk-flow-container-top div#Assignment div[class^="MuiCard-root"],
.psdk-flow-container-top div#Assignment div[class*="MuiCard-root"] {
  border-left-color: #7986cb !important;
  border: none !important;
  border-radius: 0 !important;
  background-color: #fafafa !important;
  box-shadow: 0px 3.2px 7.2px 0px #00000021;
  padding: 22px;
}

div[class^="MuiDialog-paperWidthSm"],
div[class*="MuiDialog-paperWidthSm"] {
  max-width: none;
}

.psdk-horizontal-step-header {
  overflow: hidden;
  outline: none;
  cursor: pointer;
  position: relative;
  box-sizing: content-box;
  display: flex;
  height: 72px;
  overflow: hidden;
  align-items: center;
  padding: 0 24px;
  flex-grow: 1;
  justify-content: center;
}

.psdk-horizontal-step-header-selected {
  background-color: #003e7e;
  justify-content: center;
  flex-grow: 1;
  outline: none;
  cursor: pointer;
  position: relative;
  box-sizing: content-box;
  display: flex;
  height: 72px;
  overflow: hidden;
  align-items: center;
  padding: 0 24px;
}

.psdk-horizontal-step-icon {
  background-color: var(--app-neutral-color);
  color: #fff;
  border-radius: 50%;
  height: 24px;
  width: 24px;
  flex-shrink: 0;
  position: relative;
  display: none;
  margin-right: 8px;
  flex: none;
}

.psdk-horizontal-step-icon-content {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.psdk-horizontal-step-icon-selected,
.psdk-horizontal-step-icon-future {
  background-color: #22763b;
  color: #fff;
  border-radius: 50%;
  height: 24px;
  width: 24px;
  flex-shrink: 0;
  position: relative;
  display: none;
  margin-right: 8px;
  flex: none;
}

.psdk-horizontal-step-icon-past {
  background-color: #22763b;
  height: 24px;
  width: 24px;
  color: #fff;
  border-radius: 50%;
  position: relative;
  display: block;
  margin-right: 8px;
  flex: none;
}

.psdk-horizontal-step-label,
.psdk-horizontal-step-label-selected,
.psdk-horizontal-step-label-future {
  display: inline-block;
  min-width: 50px;
  vertical-align: middle;
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  white-space: initial;
}

.psdk-horizontal-step-label {
  color: #22763b;
}

.psdk-horizontal-step-label-selected {
  color: #fff;
}

.psdk-horizontal-step-label-future {
  color: rgba(0, 0, 0, 0.54);
}

.psdk-horizontal-step-line {
  border-top-color: rgba(0, 0, 0, 0.12);
  border-top-width: 1px;
  border-top-style: solid;
  flex: auto;
  height: 0;
  margin: 0 -16px;
  min-width: 32px;
  display: none;
}

span.ButtonSeparator {
  font-size: 18px;
  line-height: 24px;
  margin: 20px 0;
  flex-direction: column;
  display: flex;
  align-items: center;
}

h3 {
  font-size: 28px;
  line-height: 35px;
  font-weight: 600;
}

h4 {
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
}

/* use to keep banner
.Confirmation {
  padding: 100px 200px;
  position: absolute;
  top: 462px;
  left: calc(50% - 648px);
}
  */

/*use to hide banner*/
div[class^="MuiCard-root"].Confirmation,
div[class*="MuiCard-root"].Confirmation {
  padding: 40px;
  position: absolute;
  top: 180px;
  left: 0;
  width: 100vw;
  min-height: calc(100% + 100px);
  border-radius: 0 !important;
  background-color: #fff !important;
  /* left: calc(50% - 648px); */
  box-shadow: none;
}

/*use to hide banner*/
.ConfirmationBox {
  max-width: 1296px;
  margin: auto;
  padding: 100px 200px;
  max-height: 80vh;      /* Limit height to 80% of viewport */
  overflow-y: auto;      /* Enable vertical scrolling if needed */
  box-sizing: border-box; /* Ensure padding is included in max-height */
}

/*need for image replacement. removed the margin-top:-240px as part of 372
  removed as part of AVSH-778. No longer want image to appear above the confirmation text in the confirmation card.

.Confirmation h3:before {
  content: "";
  background-image: url(/assets/img/Mail_Sent.png);
  width: 200px;
  height: 180px;
  background-size: cover;
  background-position-x: center;
  background-repeat: no-repeat;
  margin-top: 0px;
  background-color: #fafafa;
  display: flex;
  position: relative;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
  margin-left: calc(50% - 98px);
  flex-direction: unset;
  justify-content: center;
}

.Confirmation img {
  margin-bottom: 40px;
}

.Confirmation h4 {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--Slate-300, #c2c2c2);
}

*/

.ConfirmButton {
  margin-top: 40px;
}

#skipToContent {
  a {
      color: #fff;
      left: 0;
      position: absolute;
      top: -60px;
      z-index: 10;

      &:focus {
          position: absolute;
          top: 0;
      }
  }
}

@media only screen and (max-width: 867px) {
    .banner-layout > .card:first-of-type {
       margin-top: -60px !important;
    }
    .banner-layout > .card:not(:first-of-type) {
        margin-top: 0 !important;
    }
}

@media only screen and (max-width: 600px) {
  .DetailGrid > div  {
    grid-template-columns: repeat(1, 1fr);
  }

  div#MenuContainer {
    display: none;
  }

  div#CollapsedMenuContainer {
    display: block;
  }

  div#AppShell .ActionPane {
    padding: 0 16px 0 16px;
    width: 100vw !important;
  }

  div#assignment-container {
    width: 100vw;
  }

  div#FooterContent {
    display: block !important;
  }

  .FooterColumn,
   .FooterColumnFAA  {
    padding: 0 8px 40px 8px;
  }

  div[class^="MuiDialog-paperWidthSm"], div[class*="MuiDialog-paperWidthSm"] {
    margin: 0;
    top: 0;
    position: fixed;
  }

  .App {
    height: calc(100vh - 500px);
    margin: 0 -40px;
  }


  div.background-image-style {
    margin-left: 0;
    margin-right: 0;
  }

  .background-style.content div {
    margin-top: 0px;
    min-width: 0;
    padding: 20px 40px;
}

  .background-style.content .portalCard {
    padding: 20px 40px;
  }

  .background-style.content {
    display: block;
  }

  .banner-layout > div:first-of-type.card {
    margin-top: -60px !important;
  }

  .banner-layout.cards > .card {
    margin-top: 0 !important;
  }

  .certificationCards {
    .certifcationCardCarousel {
        grid-auto-columns: 180px !important;
    }
  }

  .howToPrepare, .certifications {
    .card {
      max-width: calc(100vw - 40px) !important;
      img {
        display: none;
      }
    }
    div.cardInfo {
      padding: 20px;
      gap: 8px;
      display: flex;
      flex-direction: column;

      h2 {
        margin: 0;
      }
    }
  }

  .howToPrepare {
    .cardInfo {
      padding: 20px;
      gap: 8px;
    }
  }


  /*SCREENFLOW*/

  button[class^="MuiTab-textColorInherit"].Mui-selected:after, button[class*="MuiTab-textColorInherit"].Mui-selected:after {
    content: '';
    width: 40px;
    background-color: transparent;
    position: absolute;
    right: 0;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #003e7e;
}

  button[class^="MuiTab-textColorInherit"].Mui-selected>span[class^="MuiTab-wrapper"], button[class*="MuiTab-textColorInherit"].Mui-selected>span[class*="MuiTab-wrapper"] {
    background-color: #003e7e;
    color: #fff;
}

  div[class^="MuiTabs-flexContainer"], div[class*="MuiTabs-flexContainer"]{
    flex-direction: column;
    align-items: flex-start;
  }

  button[class^="MuiTab-textColorInherit"].Mui-selected,
  button[class*="MuiTab-textColorInherit"].Mui-selected {
    opacity: 1;
    color: #fff;
  }

  span[class^="MuiTab-wrapper"], span[class*="MuiTab-wrapper"]{
    width: 100%;
    display: inline-flex;
    align-items: center;
    height: 48px;
    max-width: calc(100% - 16px);
    flex-direction: column;
    justify-content: center;
    border: 1px solid #000;
}

  button[class^="MuiTab-textColorInherit"], button[class*="MuiTab-textColorInherit"] {
  color: inherit;
  width: 100%;
  padding: 0;
  opacity: 0.7;
  max-width: 100%;
  }

  span[class^="PrivateTabIndicator-colorSecondary"],
  span[class*="PrivateTabIndicator-colorSecondary"]{
  display: none;
}

  /*In case view only*/
  img.CaseBanner {
    display: none;
  }

  /*STAGES*/
  span.CompletedStage,
  span.LastStage {
    display: none !important;
  }

  li[class^="MuiBreadcrumbs-separator"],
  li[class*="MuiBreadcrumbs-separator"] {
    display: none;
  }

  article#Stages ol {
    flex-direction: column;
  }

  article#Stages span.CurrentStage,
  article#Stages span.LastCompletedStage {
    flex-direction: row;
    background-color: transparent;
    color: #000;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
  }

  article#Stages span.CurrentStage > svg,
  article#Stages span.LastCompletedStage > svg {
    background-color: transparent;
    width: 64px;
    height: 64px;
    fill: #003e7e;
    border: 4px solid #003e7e;
  }

  .Breadcrumbs {
    display: none !important;
  }

  .MobileBreadcrumbs {
    font-size: 18px;
    line-height: 27px;
    color: #0076c0;
    font-weight: 600;
    gap: 8px;
    display: flex !important;
    align-items: center;
    padding: 32px 0 12px 8px;
  }

  .MobileBreadcrumbs button {
    font-size: 18px;
  }

  .ToDoItems p {
    display: block;
  }

  .ToDoItems button {
    padding-left: 0;
  }

  .MobileToDoList {
    padding: 16px 16px 28px 16px !important;
  }

  .MobileToDoList li {
    display: block;
    padding: 6px 16px;
  }

  .MobileToDoList .MobileTitle {
    padding: 0;
  }

  .MobileTitle span {
    font-size: 18px;
    line-height: 27px;
    font-weight: 700;
    text-transform: capitalize;
    color: #0076c0;
  }

  .MobileToDoList .ToDoItems button {
    padding-left: 4px;
  }

  .MobileToDoBadge {
    gap: 16px;
    align-items: center;
  }2

  .MobileToDoList .ToDoItems span {
    white-space: nowrap;
  }

  .DesktopToDo {
    display: none;
  }

  .MobileToDo {
    display: block !important;
  }

  .BasicContainer h1, .certificationIntro h1 {
    font-size: 40px;
    line-height: 50px;
    font-weight: 600;
  }

  div[class^="MuiCard-root"].Confirmation, div[class*="MuiCard-root"].Confirmation {
    padding: 40px;
    position: absolute;
    top: 180px;
    left: 0;
    width: 100vw;
    min-height: calc(100% + 160px);
    border-radius: 0 !important;
    background-color: #fff !important;
    box-shadow: none;
  }

  .ConfirmationBox {
    padding: 16px 12px;
  }

  .background-style.content div {
    margin-top: 0px;
  }

  div#AppShell .background-image-style {
    height: 290px !important;
  }

  .banner-layout > div:first-of-type {
    margin-top: -120px;
  }

  div#menu-appbartest div[class^="MuiMenu-paper"], div#menu-appbartest div[class*="MuiMenu-paper"] {
    left: calc(100vw - 160px) !important;
  }
}

/*MORE WORK -
    Action Items*/

/*
Updates for overriding the styling for the alerts displayed on the page
*/
div[class*="MuiAlert-root"] {
  margin-bottom: 5px;
}

.support {
  .anchor-link img {
    height: 0.8em !important;
    position: relative;
    top: -5px;
    width: 0.8em !important;
  }
}
