/* Default styles for larger screens */

.login-container #user-sidebar {
  max-width: 50rem;
}

/* Container for the header */
.header-container {
  display: flex;
  /* Use flexbox to align items horizontally */
  align-items: center;
  /* Align items vertically centered */
  gap: 10px;
  /* Adds space between the image and the heading */
  margin-bottom: 20px;
  /* Adds some space below the container */
  position: relative;
  overflow: hidden;
  /* Ensures elements don't overflow out of the container */
}

/* Keyframe for text slide-in effect from the left */
@keyframes slideInLeft {
  0% {
    transform: translateX(-30px);
    /* Start slightly off-screen to the left */
    opacity: 0;
    /* Start with the text invisible */
  }

  100% {
    transform: translateX(0);
    /* End in the correct position */
    opacity: 1;
    /* End with full visibility */
  }
}

/* Keyframe for logo slide-in effect from the right */
@keyframes slideInRight {
  0% {
    transform: translateX(30px);
    /* Start slightly off-screen to the right */
    opacity: 0;
    /* Start with the logo invisible */
  }

  100% {
    transform: translateX(0);
    /* End in the correct position */
    opacity: 1;
    /* End with full visibility */
  }
}

.sign-in {
  font-size: 2em;
  margin: 0;
  /* Remove default margin */
  margin-left: 10px;
  align-items: flex-end;
  padding-top: 55px;
  opacity: 0;
  /* Initially invisible */
  animation: slideInLeft 1.5s ease-out forwards;
  /* Slide-in effect from the left for the text */
}

.wtnpro-logo {
  max-width: 100px;
  height: auto;
  display: block;
  opacity: 0;
  /* Initially invisible */
  animation: slideInRight 1.5s ease-out 0.5s forwards;
  /* Slide-in effect from the right for the logo with delay */
}

/* .page-view-opigno-training-catalog-training-catalogue .back-btn,
.page-view-opigno-calendar-page-month .back-btn,
.page-opigno-statistics-dashboard .back-btn,
.page-entity-user-canonical .back-btn, */
.back-btn {
  position: absolute;
  left: 4px;
  top: -45px;
}

/* footer styling starts here */


#block-community-wtn-theme-sitebranding-2 img {
  /* position: absolute;
  bottom: 0;
  left: 50px;
  padding: 10px;  */
  width: auto;
  height: 100px;
}

.page-footer {
  background-color: rgb(192, 190, 190);
}

/* General Footer Styling */
.dxpr-theme-footer {
  background-color: #c9c9c9;
  /* Background color */
  padding: 60px 0;
  font-family: Arial, sans-serif;
  width: 100%;
}

/* Column Styling */
.az-column {
  margin-bottom: 30px;
  text-align: left;
  /* Ensure all columns are left-aligned */
  padding-left: 5px;
  margin-left: 20px;
}

/* Heading Styles */
.az-column h2 {
  color: #ffffff;
  /* Set to white */
  font-size: 18px;
  margin-bottom: 15px;
  margin-left: 60px;
  /* margin-right: 40px;
  padding-left: 20px; */
  text-align: left;
  /* Ensure headings are left-aligned */
}

/* Paragraph and Link Styles */
.az-column p,
.az-column p a {
  color: #ffffff;
  /* Set text color to white */
  font-size: 14px;
  line-height: 1.6;
  margin-left: 30px;
  text-decoration: none;
  text-wrap: nowrap;
}

.az-column p a:hover {
  text-decoration: underline;
}

/* Logo Styling */
.az-image img {
  display: block;
  margin: 10px auto;
  /* Centering the logos */
  width: 140px;
}

/* Social Media Section Styling */
.social-icons {
  text-align: center;
  margin-top: 20px;
}

.social-icons ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.social-icons .custom-social-links__item {
  display: inline-block;
  margin: 15px;
}

.social-icons .custom-social-links__item a {
  text-decoration: none;
  color: #ffffff;
  /* Icon color */
}

.social-icons .custom-social-links__item i {
  font-size: 2.5em;
  /* Icon size */
  padding: 10px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

/* Hover Effect */
.social-icons .custom-social-links__item i:hover {
  transform: scale(1.1);
  /* Enlarge slightly on hover */
}

/* Footer Links Styling */
.az-text small a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 5px;
}

.az-text small a:hover {
  text-decoration: underline;
}

/* Specific Heading Colors */
.az-column.col-sm-4 h2,
.az-column.col-sm-3 h2 {
  color: #ffffff;
  /* Set all column headings to white */
}

/* Override Specific Column Heading Colors */
.az-column.col-sm-4 h2 a,
.az-column.col-sm-3 h2 a {
  color: #ffffff !important;
  /* Override color to white */
}

/* Specific Column Adjustments */
.az-column.col-sm-3 h2 span {
  color: #ffffff !important;
  /* Override color to white */
}

.az-image {
  margin-left: 63px;
}

/* footer styling ends here */

.page-view-frontpage-page-1 #block-community-wtn-theme-mainnavigation {
  margin-left: 125px;
}

.page-view-frontpage-page-1 #user-sidebar {
  margin-left: 200px;
  /* margin-left: 50%; */
}

.page-view-frontpage-page-1 .slider-item {
  height: 100%;
}

.page-view-frontpage-page-1 #edit-openid-connect-client-generic-login {
  margin-left: 10px;
}

/* Media query for devices with a max-width of 768px (tablets and smaller) */
@media only screen and (max-width: 768px) {

  /* Apply mobile-specific adjustments */
  .login-container #user-sidebar {
    max-width: 100%;
    /* Full width for mobile */
  }

  /* Header container */
  .header-container {
    flex-direction: column;
    /* Stack text and logo vertically */
    align-items: center;
    /* Center align items for smaller screens */
    text-align: center;
    /* Center text */
  }

  .sign-in {
    font-size: 1.5em;
    /* Smaller text for mobile */
    padding-top: 20px;
  }

  .wtnpro-logo {
    max-width: 80px;
    /* Smaller logo for mobile */
  }

  /* Adjust button size for mobile */
  #edit-openid-connect-client-generic-login {
    width: 90%;
    /* Full width for mobile */
    margin-left: 0;
    /* Center the button */
  }
}

/* Align the review section inline */
.group--learning-path .review-summary {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  /* This stacks the items vertically */
}

.group--learning-path .review-summary .label {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.group--learning-path .review-summary .average-rating {
  font-size: 16px;
  margin-bottom: 10px;
}

/* Style the buttons */
.group--learning-path .review-links {
  display: flex;
  gap: 15px;
  /* margin-top: 2px; */
}

.group--learning-path .review-link {
  text-decoration: none;
  color: #58a3b3;
  font-weight: bold;
}

.group--learning-path .review-link:hover {
  text-decoration: underline;
  color: #2980b9;
}


/* Modal styling */
.group--learning-path .modal {
  position: fixed;
  top: 50%;
  left: 70%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 100%;
  /* Limit max width */
  max-height: 100%;
  /* Set max height */
  /* background: rgba(0, 0, 0, 0.6); */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow: hidden;
  /* Prevent overflow from content */
}

.group--learning-path .modal-content {
  top: 10%;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 550px;
  max-height: 650px;
  /* Make sure the modal content respects the modal height */
  position: relative;
  left: 140px;
  top: 100px;
  overflow-y: auto;
  /* Allow vertical scrolling */
}

.group--learning-path .modal .close {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 24px;
  cursor: pointer;
}

.group--learning-path h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.group--learning-path .reviews-list {
  max-height: 300px;
  /* Limit the height of the reviews list */
  overflow-y: auto;
  /* Enable scrolling for long content */
  margin-top: 20px;
  padding-right: 15px;
}

/* Review statistics styling */
.group--learning-path .review-statistics {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.group--learning-path .total-reviews,
.group--learning-path .average-rating,
.group--learning-path .rating-distribution {
  text-align: center;
}

.group--learning-path .total-reviews h3,
.group--learning-path .average-rating h3 {
  font-size: 24px;
  margin: 0;
}

/* Rating distribution bars */
.group--learning-path .rating-distribution ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.group--learning-path .rating-bars li {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.group--learning-path .star-label {
  width: 30px;
  display: inline-block;
}

.group--learning-path .bar {
  background-color: #f0f0f0;
  width: 180px;
  height: 10px;
  margin: 0 10px;
  position: relative;
}

.group--learning-path .filled-bar {
  height: 100%;
  transition: width 0.5s ease;
}

.group--learning-path .star-count {
  font-size: 12px;
}

/* Styling when no ratings are available */
.group--learning-path .add-review-no-rating {
  text-align: center;
  margin-top: 10px;
}

/* Ensure the rating bars display default colors and sizes even with no ratings */
.group--learning-path .bar {
  min-width: 180px;
}

.group--learning-path .filled-bar {
  transition: width 0.5s ease;
}

/* Reviews styling */
.group--learning-path .review-summary {
  margin-top: 20px;
}

.group--learning-path .review-summary .average-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}

.group--learning-path .average-rating strong {
  font-size: 16px;
}

.group--learning-path .review-summary a {
  margin-left: 15px;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.group--learning-path .review-summary a:hover {
  text-decoration: underline;
}

/* Comments styling */
.group--learning-path .js-comment {
  border: 1px solid #e6e6e6;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

.group--learning-path .review-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.group--learning-path .review-left {
  width: 15%;
  margin-right: 15px;
}

.group--learning-path .review-right {
  width: 85%;
  padding-left: 20px;
}

.group--learning-path .review-header {
  font-weight: bold;
  color: #333;
  font-size: 16px;
  margin-bottom: 5px;
}

.group--learning-path .review-sub-header {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 10px;
}

.group--learning-path .review-date {
  font-size: 14px;
  color: #888;
}

.group--learning-path .review-rating .stars {
  display: flex;
  gap: 2px;
}

.group--learning-path .review-body {
  margin-top: 10px;
  color: #333;
  font-size: 14px;
}

.group--learning-path .review-actions {
  margin-top: 15px;
}

.group--learning-path .reply-link {
  color: #58a3b3;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.group--learning-path .reply-link:hover {
  text-decoration: underline;
}

.group--learning-path .reply-link i {
  margin-right: 5px;
}

.group--learning-path .custom-input-class {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  width: 100%;
  font-size: 16px;
}

.anonymous-menu .group--learning-path .values {
  padding-top: 2.5px;
}

.anonymous-menu .group--learning-path .action-wrapper {
  padding-top: 40px;
}


.group--learning-path .no-rating,
.group--learning-path .add-review-no-rating {
  padding-right: 104px;
}

/* custom clickable Star Rating Display */
.group--learning-path .star-rating-display .star {
  cursor: pointer;
  display: inline-block;
  font-size: 20px;
}

.group--learning-path .hidden {
  display: none;
}

.group--learning-path .js-form-type-fivestar .btn.dropdown-toggle {
  display: none;
}

.group--learning-path .modal-content #edit-preview.button {
  display: none;
}

.group--learning-path .form-item-field-comment-body-0-value .label {
  display: none;
}

/* Ensure .comment-review-form is treated as a block element */
.group--learning-path .comment-review-form {
  display: block;
}

/* Comment box should be displayed as a block element, spanning full width */
.group--learning-path .field--name-field-comment-body {
  display: block;
  width: 100%;
  margin-bottom: 1em;
  /* Adds space below the comment box */
}

/* Display star rating and submit button side by side */
.group--learning-path .field--name-field-star-rating,
.group--learning-path [data-drupal-selector="edit-actions"] {
  display: inline-block;
  /* Forces elements to be inline */
  vertical-align: middle;
  /* Aligns elements vertically */
}

/* Adds space between the star rating and the submit button */
.group--learning-path .field--name-field-star-rating {
  margin-right: 1em;
}

.group--learning-path .js-form-item-field-star-rating-0-rating .field {
  padding-left: 5px;
}

.group--learning-path .js-form-type-fivestar .fivestar-static-form-item .label {
  display: none;
}

.group--learning-path .js-form-type-fivestar label {
  margin-top: 1.5px;
}

/* Optional: Add a hover effect */
.group--learning-path .send-button:hover {
  background-color: #448391;
  /* Darker shade on hover */
}

/* Hide the original button */
.group--learning-path [data-drupal-selector="edit-actions"] {
  display: none;
  /* Completely hides the original button */
}

/* Style the dynamically created "Send" button */
.group--learning-path .send-button {
  background-color: #58a3b3;
  color: white;
  padding: 5px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  position: relative;
  top: -4px;
  margin-left: 203px;
  border: none;
}

.activities-list {
  display: none;
}

.activities-list.show {
  display: block !important;
  overflow: unset !important;
  margin: unset !important;
  padding: unset !important;
  height: unset !important;
}

.passed-activities.show {
  overflow: unset !important;
  margin: unset !important;
  padding: unset !important;
  height: unset !important;
}

.activities-list.hide {
  display: none !important;
  overflow: unset !important;
  margin: unset !important;
  padding: unset !important;
  height: unset !important;
}

.passed-activities.hide {
  overflow: unset !important;
  margin: unset !important;
  padding: unset !important;
  height: unset !important;
}

.opigno-lp-step-module:has(.hide) .module-title::after {
  rotate: 180deg;
}

.view-channels-list .views-row a {
  display: block;
  padding: 6px 12px;
  color: var(--desktop-header-bg);
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
}

.view-channels-list .views-row a.active {
  background-color: var(--desktop-header-bg);
  color: #fff;
  padding: 8px 12px;
}

.page-social-feed .page-main .comment-form__container .opigno-post-form-text-container,
.section-community .page-main .comment-form__container .opigno-post-form-text-container,
.section-communities-feed .page-main .comment-form__container .opigno-post-form-text-container,
.section-post .page-main .comment-form__container .opigno-post-form-text-container {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}
.page-social-feed .page-main .comment-form__container .form-actions, .section-community .page-main .comment-form__container .form-actions, .section-communities-feed .page-main .comment-form__container .form-actions, .section-post .page-main .comment-form__container .form-actions, .comment-form__container .profile-pic{
  flex-shrink: 0;
}
.who-is .name{
  text-wrap-mode: wrap;
}
.comment-form .form-submit{
  text-indent: unset;
  background: var(--desktop-button-color-hover-primary);
  border-radius: 24px;
  height: auto;
  width: auto;
}
.comment-form .form-submit:hover{
  background: #f5f5f5;
  color: var(--desktop-button-color-hover-primary);
}
.comment-form .field--type-image {
  padding-left: 3.1875rem;
}
.comment-form .field--type-image label{width: 24px;
  height: 36px;
  width: 36px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='40px' viewBox='0 -960 960 960' width='40px' fill='%23333333'><path d='M186.67-120q-27 0-46.84-19.83Q120-159.67 120-186.67v-586.66q0-27 19.83-46.84Q159.67-840 186.67-840h586.66q27 0 46.84 19.83Q840-800.33 840-773.33v586.66q0 27-19.83 46.84Q800.33-120 773.33-120H186.67Zm0-66.67h586.66v-586.66H186.67v586.66ZM237.33-278h486l-148-197.33-128 167.33-92-124.67-118 154.67Zm-50.66 91.33v-586.66 586.66Z'/></svg>") no-repeat center;
  background-size: contain;
  font-size: 0px;
  cursor: pointer;
}
.comment-form .field--type-image input[type="file"],
.comment-form .field--type-image .description{
  display: none;
}
.view-channels-list .content-box__title{
  text-align: left;
}

.channel-menu ul{
  display: flex;
  padding: 0px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  column-gap: 18px;
  row-gap: 8px;
}
.channel-menu ul li{
  list-style: none;
}
.channel-menu ul li a{
  color: #000000;
  font-weight: bold;
  border-bottom: 2px solid transparent;
}
.channel-menu ul li a.is-active{
  border-color: var(--desktop-headings);
}

.featured-post{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
}
.featured-post:hover{
  background-color: #ebebeb;
}
.featured-post .post-image{
  position: relative;
  height: 48px;
  width: 48px;
  border-radius: 4px;
  flex-shrink: 0;
}
.featured-post .post-image > img{
  border-radius: 4px;
}
.featured-post .post-image:not(:has(> img)){
  background: var(--desktop-header-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23FFFFFF'%3E%3Cpath d='M140-140v-60h680v60H140Zm0-155v-60h440v60H140Zm0-155v-60h680v60H140Zm0-155v-60h440v60H140Zm0-155v-60h680v60H140Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 24px 24px;
  background-position: center;
}
.featured-post .post-image .user-image img{
  position: absolute;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  border: 1px solid #FFFFFF;
  bottom: -6px;
  right: -6px;
}
.featured-post .post-text{
  color: #000000;
  font-weight: 600;
  text-decoration: none;
}

/* Dashboard Layout Customizations */
@media (min-width: 1200px) {
  .dashboard-column-wrapper.three-col-layout .dashboard-column:nth-child(1) {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .dashboard-column-wrapper.three-col-layout .dashboard-column:nth-child(2) {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .dashboard-column-wrapper.three-col-layout .dashboard-column:nth-child(3) {
    flex: 0 0 25%;
    max-width: 25%;
  }
}


.block-system-branding-block .logo {
    max-width: 15.6875rem;
}