/**
 * Theme Name:   Blocksy Discovery
 * Theme URI:    https://breakfastco.xyz
 * Description:  A Blocksy child theme for LabLearner
 * Author:       Breakfast
 * Author URI:   https://breakfastco.xyz
 * Template:     blocksy
 * Text Domain:  blocksy-discovery
 * Version:      1.0.6
 * Tested up to: 6.8.2
 * License: GPLv2
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Domain Path: /languages
 * GitHub Theme URI: https://github.com/lablearner/blocksy-discovery
 * Primary Branch: main
 */

/* Login logo */
body.login div#login h1 a {
	background-image: url(https://faithandreason.test/wp-content/uploads/2025/05/Lg_LL_LOGO.png);
	width: auto;
	background-size: 250px;
}

/* Blocksy main page content background should not be the same as the header. */
[data-prefix="single_page"] [class*="ct-container"] > article[class*="post"] {
	background: none !important;
	box-shadow: none;
}

/* Change hero background color for archives */
.post-type-archive .hero-section[data-type="type-2"] {
	background-color:#FFF9E5 !important;
}

/* Blocksy sold out badge background color. */
.woocommerce-product-gallery .out-of-stock-badge{
	background-color: var(--theme-selection-background-color);
}

/* LifterLMS */
.llms-syllabus-wrapper{
	border: 0;
}
/* LifterLMS - Login and Registration forms */
.llms-person-login-form-wrapper,
.llms-new-person-form-wrapper{
	background: white;
	padding: 2em;
	border-radius: 30px;
	margin-bottom: 2em;
}
/* LifterLMS. We are hiding the Course Catalog archive title, so add padding to create a gap previously covered by the title. */
.llms-course-list{
  padding-top: 3em;
}
.llms-instructor-info .llms-instructors .llms-author{
	border-color: var(--theme-selection-background-color);
}
.llms-instructor-info .llms-instructors .llms-author .avatar{
	border-color: var(--theme-selection-background-color);
	background-color: var(--theme-selection-background-color);
}

/* Hide the WooCommerce listing top element on course catalog page */
.post-type-archive-product .woo-listing-top {
  display: none !important;
}

/* WooCommerce */
.woocommerce form table.shop_table,
.woocommerce .cart_totals table.shop_table {
	border: 0;
}

.woocommerce-cart .wp-block-post-title{
    max-width: var(--wp--style--global--wide-size) !important;
}

/* Product singles */
article > .product{
	padding-top: 40px;
}

/* Alternating table rows in product attributes and nags */
.woocommerce-product-attributes tr:nth-child(2n) th,
.woocommerce-product-attributes tr:nth-child(2n) td,
.woocommerce-info,
.woocommerce-message{
  background-color: rgb(246, 238, 208) !important;
}

/* Selects in checkout form */
.wc-block-components-form .wc-blocks-components-select__container{
	border: 1px solid hsla(0,0%,7%,.8) !important;
}
.wc-block-components-form .wc-block-components-select-input.has-error .wc-blocks-components-select__container{
	border-color: #cc1818 !important;
}

/* Hide lesson count in course catalog shortcode */
.llms-course-list .llms-lessons-count,
.llms-course-list .llms-progress-bar{
	display: none;
}
.llms-course-list .llms-loop-item{
	border: none;
	background: none;
}



/* ---------------------------------
      CPM CSS
----------------------------------*/

.logged-in .llms-sd-layout-columns .llms-sd-nav .llms-sd-items .llms-sd-item a {
  display: flex;
  align-items: center;
  height: 55px;
  padding: 0 20px;
  font-weight: 500;
  color: var(--account-nav-text-initial-color, var(--theme-palette-color-3));
}
.logged-in
  .llms-sd-layout-columns
  .llms-sd-nav
  .llms-sd-items
  .llms-sd-item.current
  a,
.logged-in
  .llms-sd-layout-columns
  .llms-sd-nav
  .llms-sd-items
  .llms-sd-item:hover
  a {
  color: var(--account-nav-text-active-color, var(--theme-palette-color-8));
  background: var(
    --account-nav-background-active-color,
    var(--theme-palette-color-1)
  );
}
.logged-in ul.llms-sd-items {
  background: var(
    --account-nav-background-initial-color,
    var(--theme-palette-color-8)
  );
  border-radius: 5px;
  overflow: hidden;
}
.logged-in .llms-sd-layout-columns .llms-sd-nav ul li:not(:last-child) a {
  border-bottom: 1px solid var(--account-nav-divider-color, rgba(0, 0, 0, 0.05));
}
.logged-in .llms-student-dashboard .llms-sd-item {
  margin: 0;
}
.logged-in .llms-sd-layout-columns .llms-sd-nav ul li a:before {
  font-family: "woo";
  font-size: 16px;
  font-weight: normal;
  content: "";
  width: 20px;
  margin-inline-end: 15px;
}
.logged-in .llms-sd-layout-columns .llms-sd-nav ul li.dashboard a:before {
  content: "";
}
.logged-in .llms-sd-layout-columns .llms-sd-nav ul li.edit-account a:before {
  content: "";
}
.logged-in .llms-sd-layout-columns .llms-sd-nav ul li.order-history a:before {
  content: "";
}
.logged-in .llms-sd-layout-columns .llms-sd-nav ul li.signout a:before {
  content: "";
}
.logged-in .llms-sd-layout-columns {
  grid-template-columns: 242px 1fr;
}
table.llms_order_history_table,
table.llms-table {
  margin-bottom: 2em;
  --theme-table-padding: 1em 0.7em;
  --theme-table-border-width: 0;
  --theme-table-font-size: 15px;
  font-size: 15px;
}
table.llms_order_history_table tr,
table.llms-table tr {
  --theme-table-border-width: 0 0 1px 0;
  --theme-table-border-style: dashed;
}
table.llms_order_history_table tr > *:first-child,
table.llms-table tr > *:first-child {
  padding-inline-start: 0 !important;
}
table.llms_order_history_table th {
  vertical-align: top;
  text-align: initial;
}
table.llms_order_history_table thead th {
  --theme-table-border-width: 0 0 2px 0;
  --theme-table-border-style: solid;
  color: var(--theme-headings-color);
}
.logged-in .llms-student-dashboard .llms-sd-title {
  margin: 0;
}
.logged-in.ct-elementor-default-template:has(
    .llms-student-dashboard.llms-sd-layout-columns
  )
  .e-con-inner {
  width: 100%;
}
.llms-form-field [type="text"],
.llms-form-field [type="password"],
.llms-form-field [type="email"],
.llms-form-field [type="url"],
.llms-form-field [type="tel"],
.llms-form-field [type="number"],
.redeem-voucher .form-row input[type="text"],
.llms-form-fields input {
  background-color: transparent;
  border-color: var(--theme-form-field-border-initial-color);
  border-radius: var(
    --has-classic-forms,
    var(--theme-form-field-border-radius, 3px)
  );
  color: var(--theme-form-text-initial-color, var(--theme-text-color));
  padding: var(--has-classic-forms, var(--theme-form-field-padding, 0 15px));
  font-size: 15px;
}
.llms-form-field.type-reset button:not(.auto),
.llms-form-field.type-button button:not(.auto),
.llms-form-field.type-submit button:not(.auto) {
  width: auto;
}
.llms-form-field label,
.llms-form-fields label:not(.llms-field-html label) {
  display: block;
  font-weight: 500;
}
.llms-form-fields .llms-form-field {
  font-size: 15px;
}
table.llms-table thead,
.llms-table tbody tr:nth-child(odd) td,
.llms-table tbody tr:nth-child(odd) th {
  background-color: transparent !important;
}
table.llms-table {
  margin-bottom: 2em;
  padding: 1em 0.7em;
  border-width: 0;
  font-size: 15px;
}
table.llms-table,
table.llms-table tr td,
table.llms-table tr th {
  border: none !important;
}
table.llms-table tr th {
  border-bottom: 1px solid var(--theme-headings-color) !important;
}
table.llms-table tr {
  border-width: 0 0 1px 0;
  border-style: dashed;
  background-color: transparent;
}
table.llms-table td code {
  background-color: transparent !important;
  border: none !important;
}
.llms-table thead th,
.llms-table thead td {
  font-weight: 500;
}
.llms-table-sort form {
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
}
.llms-table-sort form label {
  margin-bottom: 0;
}
.llms-sd-grades table.llms-table thead th {
  text-align: left;
}
.lifterlms .llms-sd-notification-center {
  background-color: rgb(246, 238, 208);
  border: none;
}
.lifterlms .llms-sd-notification-center p {
  margin-bottom: 0;
}
.lifterlms .llms-student-dashboard.dashboard .llms-sd-section,
.llms-student-dashboard-section .llms-voucher-group {
  border-radius: 5px !important;
  border: 1px dashed var(--theme-border-color) !important;
}
.llms-student-dashboard .llms-loop-list {
  padding: 0;
}
.llms-button-action:hover {
  box-shadow: none !important;
}

