/* General styling */
.feature-region {
    background-color: #673695;
    min-height: 15px;
    background-image: none;
}

#app-footer {
    display: none;
}

// Creating a custom sorting of the category dropdown menu filter.
.moved-item {
    font-weight: bold;
    color: red; /* Or any other styles you prefer */
}

.header-branding {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.header-branding h1 a {
    display: block;
    height: 80px !important;
}

.header-text {
    margin-top: 10px;
    font-size: 26px;
    color: #673695;
    font-weight: bold;
}

.responsive-header {
    display: none;
    width: 275px;
    height: auto;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .header-branding h1 a {
        display: block;
        height: auto;
    }
    .header-branding {
        display: none;
    }
    .responsive-header {
        display: block;
    }
    .responsive-header-text {
        display: block;
        text-align: center;
        font-size: 22px;
        color: #673695;
        margin: 30px 10px 10px;
    }
}

@media (min-width: 769px) {
    .responsive-header-text {
        display: none;
    }
}

/* Course card styling */
.product-flag-free {
    background-color: green;
}

.ProductIcon__LargeCircle--course {
    background: green;
}

.product-tile .product-footer {
    color: #673695;
}

/* Button outlines */
.btn:focus,
.Form__RadioInput--hidden:focus+.Form__RadioOption--checked .Form__RadioLabel:before,
.Form__RadioWrapper input[type="radio"]:checked+span:focus,
#search-form .search-refine .search-refine__switches .btn-lg:focus,
#search-form .search-refine .search-refine__switches .btn-group-lg>.btn:focus {
    outline-style: solid;
    outline-color: #673695;
}

/* Username link color */
.btn-link {
    color: #673695;
}

/* Checkout header styling */
#checkout-header {
    background-color: green !important;
    color: white !important;
}

#checkout-header > div {
    background-color: green !important;
}

/* Course page text */
.product-details {
    font-size: 18px;
}

/* Hide refine button */
#search-refine-button--refine {
    display: none;
}

/* Menu canvas styling */
#menuCanvas {
    display: block;
    margin-top: 10px;
    margin-left: 10px;
}

/* Hide specific elements in the hero-action section */
.hero-action {
    display: none;
}

/* Hide specific elements in the callout-region footer */
.callout-region #enroll-footer,
.callout-region #add-to-cart-footer,
.callout-region #bulk-checkout-divider-footer,
.callout-region #add-to-bulk-checkout-footer {
    display: none;
}

/* Hide the cart-button in the upper right section */
.cart-button {
    display: none;
}

/* Ensuring Visibility of Menu Bar and Filter */
#header-menu, .container .row .col-xs-12, .container .row .col-sm-6, .container .row .col-md-5 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Align user-nav and accountDropdown to the right of the header-menu */
#header-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#user-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
}

#user-nav a, #accountDropdown {
    margin-left: auto;
}

/* Footer styling */
#footer {
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    color: black;
    padding-bottom: 15px;  
    text-align: center;
    z-index: 9999;
}

#footer .icon {
    width: auto;
    height: 50px;
    margin: 0 10px;
}

#footer .text-container {
    display: inline-block;
    vertical-align: top;
    color: black;
    width: calc(50% - 40px);
    margin-right: 20px;
    padding-left: 10px;
}

#footer .text {
    font-size: 11px;
   padding-top:10px;
}

/* Styling for the new general button */
.catalog-button {
  background-color: #46bc23 !important;
  color: black !important;
  font-weight: bold !important;
  border: 1px solid;
  position: relative !important;
  z-index: 9999 !important;
  padding: 5px 10px !important;
  text-decoration: none;
  display: inline-block;
  border-radius: 4px;
}

.catalog-button:hover,
.catalog-button a:hover {
  background: #EEFCE9 !important;
  color: black !important;
  border: 1px solid;
  font-weight: bold !important;
}

.Centered {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}

/* Additional styling for the feedback text and links above the footer */
.feedback-container {
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
    color: #673695;
    background-color: #f0f0f0;
    padding: 20px 10px;
}

.feedback-text {
  font-size: 20px;
  line-height: 39px;
  letter-spacing: -0.02em;
  font-weight: 300 !important;
  padding-top: 15px;
}

.paddingbottom {
  padding-bottom: 20px;
}

.footerdivider {
  font-size: 18px;
  color: black;
}

/* Hide the first paragraph in course pages (usually Self-Paced) */
body.course-page div.col-md-6 p:nth-of-type(1) {
  display: none;
}

div#description h2.sr-only {
  width: auto;
  height: auto;
  position: relative;
  margin: 5px 0px;
  font-size: 1.4rem;
}

/* Replace Topic Area label */
.search-refine-button__text {
    visibility: hidden;
    position: relative;
}

.search-refine-button__text::after {
    content: "Topic Area";
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

/* >>> NEW: Hide Self-Paced labels <<< */
.product-dates:contains("Self-paced") {
    display: none !important;
}

span.product-dates, div.product-dates {
    display: none !important;
}