/* Page header typography */
.oj-sp-typography-display-6 {
  font-family: Georgia, Times, "Times New Roman", serif;
  font-size: 1.75rem !important;
  font-weight: 400 !important;
  line-height: 1.2858 !important;
}

@media screen and (max-width: 599px) {
  .oj-sp-typography-display-6 {
    font-size: 1.5rem !important;
    line-height: 1.5 !important;
  }
}

.oj-sp-block-center {
  margin: 0 auto;
}

.oj-sp-helper-align-center {
  text-align: center;
}

.oj-sp-float-right {
  float: right;
}

.oj-sp-float-left {
  float: left;
}

.oj-sp-helper-full-viewport {
  height: 100vh;
  width: 100vw;
}

.oj-sp-helper-position-absolute {
  position: absolute !important;
}

.oj-sp-helper-position-relative {
  position: relative !important;
}

.oj-sp-helper-text-decoration-none {
  text-decoration: none !important;
}

.oj-sp-helper-opacity-0 {
  opacity: 0;
}

.oj-sp-helper-overflow-hidden {
  overflow: hidden !important;
}

.oj-sp-helper-overflow-x-hidden {
  overflow-x: hidden !important;
}

.oj-sp-helper-overflow-y-hidden {
  overflow-y: hidden !important;
}

.oj-sp-helper-overflow-x-auto {
  overflow-x: auto !important;
}

.oj-sp-helper-overflow-y-auto {
  overflow-y: auto !important;
}

.oj-sp-helper-margin-1_5x-top {
  margin-top: 0.375rem !important; /* 0.375rem = 6px */
}

html[dir='rtl'] .oj-sp-helper-margin-16_5x-start {
  margin-right: 1.125rem !important; /* 1.125rem = 18px */
}

html:not([dir='rtl']) .oj-sp-helper-margin-16_5x-start {
  margin-left: 1.125rem !important; /* 1.125rem = 18px */
}

.oj-sp-helper-padding-1_25x-vertical {
  padding-bottom: 0.3125rem !important; /* 0.3125rem = 5px */
  padding-top: 0.3125rem !important; /* 0.3125rem = 5px */
}

html[dir='rtl'] .oj-sp-helper-padding-16_5x-start {
  padding-right: 1.125rem !important; /* 1.125rem = 18px */
}

html:not([dir='rtl']) .oj-sp-helper-padding-16_5x-start {
  padding-left: 1.125rem !important; /* 1.125rem = 18px */
}

/* single line truncate. This will be removed when JET provide similar utility class */
.oj-sp-helper-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

@media only screen and (max-width: 1023px) {
  .oj-sp-topbanner-container {
    display: none;
  }
}

/* Banner styling */
.oj-sp-banner-container {
  display: grid;
  grid-template-columns: auto;
  min-height: 3rem;
  padding: 0 1.5rem;
  justify-items: start;
  align-items: center;
  box-sizing: border-box;
}
.oj-sp-common-banner-content-layout {
  grid-template-columns: 1.5rem auto 2rem;
  grid-column-gap: 0.5rem;
  background-color: rgb(var(--oj-palette-warning-rgb-40));
}

.oj-sp-maintenance-icon {
  color: rgb(var(--oj-palette-warning-rgb-110));
}

.oj-sp-maintenance-close-icon {
  padding-left: 0.5rem;
  box-sizing: border-box;
}

.oj-sp-maintenance-close-icon a:hover {
  text-decoration: none;
}

.oj-sp-sandbox-banner-layout {
  background-color: rgb(var(--oj-palette-warning-rgb-30));
}

.oj-sp-impersonate-banner-bkg{
  background-color: rgb(var(--oj-palette-info-rgb-40)) !important;
}
 
.oj-sp-maintenance-icon .oj-ux-ico-avatar{
  color: rgb(var(--oj-palette-info-rgb-120));
}

 
/*changing the height of Navigation List & Notification List according to the banner height */
.oj-sp-ao-expanded-content .oj-sp-notifications-activities-panel .oj-sp-notifications-activitydatalist {
  height:calc(100vh - (var(--oj-sp-rw-shell-header-height) + var(--oj-sp-rw-set-banner-height) + 48px));
}
 
.oj-sp-ao-expanded-content .oj-sp-navigationlist-search-results {
  height: calc(100vh - (var(--oj-sp-rw-shell-header-height) + var(--oj-sp-rw-set-banner-height)));
}
 

@media all and (min-width: 300px) and (max-width: 599px) {
  .oj-sp-common-banner-content-layout,
  .oj-sp-sandbox-banner-layout {
    padding: 0 1rem;
  }

  .oj-sp-ao-expanded-content .oj-sp-banner-container{
    position: fixed;
    z-index: 99;
    top:0;
    width: 100vw;
  }
}

@media screen and (max-width: 1023px) {
  /* setting the height of notification List when banner present in mobile view */
  .oj-sp-ao-expanded-content .oj-sp-notifications-activities-panel .oj-sp-notifications-activitydatalist {
    height:calc(100vh - (var(--oj-sp-rw-set-banner-height) + 3rem));
  }
}

/***********************************************
*******************CSS GRIDS********************
***********************************************/
.oj-sp-helper-grid {
  display: grid;
}

/* For redwood shell margin top is not required for global header */
oj-fndshell-global-header .oj-fndshell-global-header-margin {
  margin-top: 0 !important;
}

/* opacity animation */
@keyframes oj-sp-rw-ao-opacity-animate {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.oj-sp-ux-icon-size-5x {
  font-size: 1.25rem !important;
  font-weight: 400;
}

.oj-sp-ux-icon-size-7x {
  font-size: 1.75rem !important;
  font-weight: 400;
}

.oj-sp-ux-icon-size-8x {
  font-size: 2rem !important;
  font-weight: 400;
}

.oj-sp-ux-icon-size-10x {
  font-size: 2.5rem !important;
  font-weight: 500;
}

.oj-sp-ux-icon-size-11x {
  font-size: 2.75rem !important;
  font-weight: 600;
}

.skip-to-content-link {
  position: absolute;
  top: 0;
  border: 1px solid black;
  padding: 2px 5px;
  background-color: #fff;
  z-index: 999;
  transform: translateY(-100%);
  transition: transform 100ms;
}

.skip-to-content-link:focus {
  transform: translateY(0);
}

/* coaching screen styling */
.oj-sp-coach-screen-container {
  width: 37.5rem;
}

.oj-sp-coach-screen-container .oj-sp-coach-screen-desktop-video-container {
  padding-top: 56.25%; /* 16:9 aspect ratio for XL and L screens */
  position: relative;
}

.oj-sp-coach-screen-container .oj-sp-coach-screen-mobile-video-container {
  padding-top: 80%; /* 5:4 aspect ratio for MD and S screens */
  position: relative;
}

.oj-sp-coach-screen-container .oj-sp-coach-screen-video {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}

@media screen and (max-width: 600px) {
  .oj-sp-coach-screen-container {
    width: 34.5rem;
  }
}

@media screen and (max-width: 599px) {
  .oj-sp-coach-screen-container {
    width: 100vw;
    min-height: 100vh;
    border-radius: 0;
  }

  .oj-sp-coach-screen-container .oj-dialog-header {
    padding: 1.5rem 1rem 1.25rem;
  }

  @supports (-webkit-touch-callout: none) {
    /* CSS specific to iOS devices */ 
    .oj-sp-coach-screen-container {
      min-height: -webkit-fill-available;
    }
  }
}


