/*
Theme Name: BTS
Theme URI: https://www.lekker-tech.co.za/
Version: 1
Description: 2 Column theme
Author: Lekker Tech
Author URI: https://www.lekker-tech.co.za/
*/
body,
html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

:root {
  --color-light: #fff;
  --color-light-grey: #f9f9f9;
  --color-text-light: #939597;
  --color-dark: #000;
  --color-primary: #249044;
  --color-secondary: #66308f;
  --color-secondary-light: #d04dbb;
  --color-secondary-shade: #e9d2fa;
  --color-btc-accent: #3070ed;
  --color-light: #fff;
  --bts-border-radius: 15px;
  --bts-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

body {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
}
.text-right {
  text-align: right;
}
.mr-2 {
  margin-right: 8px;
}
.mt-2 {
  margin-top: 8px;
}
.w-100 {
  width: 100%;
}
@media (max-width: 768px) {
  h3{
    font-size: 16px;
  }
}
/* Header Dark */
body:not(.btc-scrolled) {
  .ca-navbar-wrap.dark {
    box-shadow: none;
    background: transparent;
    .ca-btn--outline {
      --btn-color-background: transparent;
      &:hover {
        color: var(--color-secondary);
      }
    }
  }
}
/* Home page */
@media (min-width: 991px) {
  .home .ca-navbar * {
    transition: all 0.3s;
  }
  .home:not(.btc-scrolled) {
    .ca-navbar {
      height: 80px;
    }
    .ca-navbar__logo {
      display: none;
    }
    .ca-top-navigation {
      justify-content: left;
      padding-left: 80px;
    }
  }
}
.ca-notice-info {
  font-size: 14px;
  background: var(--color-secondary-shade);
  border: 2px solid var(--color-secondary);
  border-radius: 15px;
  padding: 3px 15px;
  color: var(--color-secondary);
  @media (max-width: 768px) {
    font-size: 12px;
  }
}
@media (min-width: 992px) {
  .display-ipad {
    display: none;
  }
}
.ca-btn,
.woocommerce div.product form.cart .button,
.button.alt {
  --btn-txt-color: var(--color-light);
  --btn-color-background: var(--color-secondary);
  --btn-color-border: var(--color-secondary);
  --btn-hover-txt-color: var(--color-light);
  --btn-hover-color-border: var(--color-secondary-light);
  --btn-hover-color-background: var(--color-secondary-light);
  border: 1px solid var(--btn-color-border);
  border-radius: 50px;
  padding: 8px 15px;
  color: var(--btn-txt-color);
  transition: all 0.6s;
  text-decoration: none;
  line-height: 21px;
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: center;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  font-size: 14px;
}
.ca-btn--outline {
  --btn-hover-color-border: var(--color-secondary);
  --btn-txt-color: var(--color-secondary);
  --btn-hover-color-background: var(--color-secondary);
  --btn-color-background: var(--color-light);
}
.ca-btn--primary {
  --btn-color-background: var(--color-primary);
  --btn-color-border: var(--color-primary);
}
.ca-btn *[class*="fa-"] {
  margin: 0 15px 0 0;
  float: left;
  font-size: 20px;
}
.ca-btn::before,
.ca-btn::after {
  display: block;
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: var(--btn-color-background);
  z-index: -1;
  transition: all 0.6s;
}
.ca-btn::after {
  right: 100%;
  background: var(--btn-hover-color-background);
}
.ca-btn:hover,
.ca-btn:active {
  border-color: var(--btn-hover-color-border);
  color: var(--btn-hover-txt-color);
}
.ca-btn:hover::after,
.ca-btn:active::after {
  right: 0;
}
label:hover {
  cursor: pointer;
}
.btc-edu-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  li {
    position: relative;
    padding: 5px 0 15px 25px;
    &::before {
      display: block;
      content: "\f19d";
      font-weight: 900;
      font-family: "Font Awesome 5 Free";
      color: var(--color-secondary);
      height: 24px;
      width: 24px;
      position: absolute;
      left: 0;
      top: 6px;
    }
  }
}
.payment-header {
  display: flex;
  justify-content: space-between;
  margin: 25px 0 0 0;
}
.sa-logo a {
  text-decoration: none;
  height: 80px;
  display: block;
  img {
    max-height: 100%;
    width: auto;
  }
}
.ca-nav-title {
  display: none;
}
.ca-navbar-wrap {
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 11;
}
.ca-navbar-wrap nav {
  flex-grow: 1;
}

.ca-top-navigation {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
  align-items: center;
  flex-flow: wrap;
  justify-content: center;
  align-content: center;
}
.ca-top-navigation .menu-item a {
  margin: 0 15px;
  color: #000;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}
.ca-top-navigation .menu-item a::before {
  display: block;
  content: "";
  background: #66308f;
  transition: all 0.6s;
  position: absolute;
  height: 3px;
  left: 0;
  right: 100%;
  bottom: -8px;
}
.ca-top-navigation .menu-item a:hover::before {
  right: 0%;
}
.ca-top-navigation .current_page_item a::before {
  right: 0%;
}

.ca-navbar {
  display: flex;
  padding: 10px 0;
}
.ca-navbar__menu {
  flex: 1;
  justify-content: center;
  text-align: center;
  display: flex;
}
.ca-navbar__logo,
.ca-navbar__btns {
  width: 340px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.ca-navbar__logo {
  width: 150px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.ca-mob-toggle {
  height: 30px;
  width: 23px;
  position: absolute;
  right: 15px;
}

.ca-mob-toggle span {
  position: absolute;
  background: #000;
  height: 2px;
  top: 6px;
  width: 100%;
  transition: all 0.6s;
}
.ca-mob-toggle span:nth-child(2) {
  top: 13px;
}
.ca-mob-toggle span:nth-child(3) {
  top: 20px;
}

.nav-open .ca-navbar__logo,
.nav-open .ca-navbar__logo img {
  transition: all 0.6s;
  z-index: 1;
}
.nav-open .ca-navbar__logo img,
.nav-open .ca-navbar__logo img img {
  filter: brightness(0) invert(1);
}
.nav-open .ca-navbar-wrap nav {
  left: 0;
}
.nav-open .ca-mob-toggle span {
  background-color: #fff;
}
.nav-open .ca-mob-toggle span:nth-child(1) {
  transform-origin: left;
  transform: rotate(45deg);
}
.nav-open .ca-mob-toggle span:nth-child(2) {
  width: 0;
}
.nav-open .ca-mob-toggle span:nth-child(3) {
  transform-origin: 3px 2px;
  transform: rotate(-45deg);
}

@media (max-width: 992px) {
  .ca-navbar__logo,
  .ca-navbar__btns {
    width: initial;
  }
  .ca-navbar-wrap nav {
    flex-grow: 1;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 100%;
    right: 0;
    display: block;
    background: #66308f;
    transition: all 0.6s;
    width: 100%;
  }
  .ca-top-navigation {
    justify-content: center;
    height: 100vh;
    align-items: normal;
    flex-direction: column;
  }
  .ca-top-navigation .menu-item a {
    color: #fff;
    text-transform: uppercase;
    padding-bottom: 24px;
    display: inline-block;
  }
  .ca-top-navigation .menu-item a::before {
    bottom: 15px;
    background: #fff;
  }
  .ca-top-navigation .ca-nav-social {
    display: flex;
    justify-content: center;
    gap: 27px;
    margin-top: 30px;
  }
  .ca-top-navigation *[class*="fa-"] {
    color: #fff;
    text-decoration: none;
    font-size: 27px;
  }
  .ca-navbar__btns .text-right {
    display: none;
  }
}
.ca-dark-nav .ca-top-navigation .menu-item a {
  color: #fff;
}
.ca-dark-nav .ca-mob-toggle span {
  background: #fff;
}
.ca-dark-nav .ca-navbar-wrap {
  box-shadow: none;
  background: rgba(0, 0, 0, 0.25);
}
.ca-dark-nav .ca-navbar__logo img {
  filter: brightness(0) invert(1);
}
/* Variations */
.single-product {
  table.variations,
  .single_variation,
  .price,
  .related.products {
    display: none !important;
  }
}
/* Price options */
.cac-radio-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  list-style-type: none;
  padding: 25px 0 25px;
  margin: 0;
  h4 {
    margin: 0;
  }
  p {
    margin: 15px 0 25px;
  }
  input {
    display: none;
  }
  .variation-option label {
    font-weight: 400 !important;
    display: flex;
    box-shadow: var(--bts-box-shadow);
    padding: 0 25px;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    border-radius: var(--bts-border-radius);
    &:hover {
      background: var(--color-secondary);
      color: #fff;
    }
    h4{
      padding-top: 25px;
    }
  }
  input:checked + label {
    background-color: var(--color-secondary);
    color: #fff;
  }
}
/* Single product */
.single-product {
  span.onsale,
  .woocommerce-tabs,
  .product_meta,
  .input-text.qty.text {
    display: none;
  }
  .woocommerce-breadcrumb {
    display: none;
  }
  .bts-course-header {
    background: #7f54b3;
    height: 350px;
  }
  .summary button.single_add_to_cart_button {
    border-radius: 15px;
    padding: 12px 15px;
    background: var(--color-primary);
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    &.alt.disabled {
      background: var(--color-primary);
    }
  }
  @media (min-width: 769px) {
    .product-post-content {
      color: #fff;
      display: block;
      height: 180px;
    }
    .product_title {
      color: #fff;
    }
    .bts-container {
      margin-top: -215px;
    }
    .product {
      display: flex;
      align-items: start;
    }
    div.product div.summary {
      width: auto;
      padding-left: 80px;
      flex: 1;
    }
  }
  @media (max-width: 990px) {
    .btc-parent-container {
      display: flex;
      flex-direction: column;
      .variations_form {
        order: 2;
      }
    
      .btc-course-outline {
        order: 1;
      }
    }

    .bts-course-header {
      display: none;
    }
    .bts-container {
      padding: 100px 0 0 0;
    }
    .summary {
      padding: 0 15px;
      width: auto !important;
    }
    .cac-radio-options {
      grid-template-columns: repeat(1, 1fr);
      gap: 25px;
    }
  }
}
.bts_product_left {
  border-radius: var(--bts-border-radius);
  overflow: hidden;
  div.images {
    float: none !important;
    width: 100% !important;
  }
  @media (min-width: 769px) {
    width: 400px;
    box-shadow: var(--bts-box-shadow);
  }
}
/* Tables */
.bts_table_plain {
  margin: 15px;
  h3 {
    margin: 0 0 25px;
    text-align: left;
  }
  tr {
    td {
      display: block;
      &:nth-child(odd) {
        font-weight: 600;
      }
      &:nth-child(even) {
        padding-bottom: 25px;
      }
    }
  }
}
/* Checkout forms */
.mob-slide-out__nav {
  background: #66308f;
  display: flex;
  padding: 15px;
  h2 {
    margin: 0;
    font-weight: 300;
    font-size: 18px;
    flex-grow: 1;
    color: #fff;
  }
  .fas {
    display: flex;
    align-items: center;
    span {
      margin-left: 8px;
      font-family: "Montserrat", sans-serif;
      font-weight: 400;
    }
  }
}

.woocommerce-checkout {
  background: var(--color-secondary);
  label,
  .ca-progress,
  .mob-slide-out__nav,
  .ca-display-payment,
  .shop_table {
    color: #fff;
  }
  &.woocommerce-order-received{
    color: #fff;
    a{
      color: var(--color-secondary-light);
    }
  }
  .ca-navbar-wrap {
    display: none;
  }
  form .form-row.student_btn,
  form .form-row.edu_btn,
  form .form-row.billing_btn,
  .button.alt {
    background: var(--color-primary);
    padding: 8px 15px;
    float: right;
    &:hover {
      cursor: pointer;
      background: var(--color-secondary-light);
    }
  }
  .ca-progress {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    li {
      flex-grow: 1;
      flex-basis: 0;
      text-align: center;
      position: relative;
      font-size: 12px;
      padding-top: 30px;
    }
    li.active::before,
    li.active::after {
      background: #d04dbb;
    }
    li::before {
      display: block;
      content: "";
      height: 2px;
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      background: #fff;
    }
    li:first-child::before {
      left: 50%;
    }
    li:last-child::before {
      right: 50%;
    }
    li::after {
      display: block;
      content: "";
      height: 15px;
      width: 15px;
      position: absolute;
      top: -7px;
      left: 50%;
      margin-left: -4px;
      background: #fff;
      border-radius: 50%;
    }
  }
  label {
    font-size: 12px;
  }
  .ca-display-payment {
    display: none;
  }
  &.student_btn_field {
    .ca-progress-yourself,
    .ca-progress-payer {
      font-weight: 400;
      font-size: 12px;
    }
    .ca-progress-education {
      font-weight: 700;
      font-size: 18px;
    }
  }
  &.edu_next_field {
    .ca-progress-yourself,
    .ca-progress-education {
      font-weight: 400;
      font-size: 12px;
    }
    .ca-progress-payer {
      font-weight: 700;
      font-size: 18px;
    }
  }
  .ca-progress-yourself {
    font-weight: 700;
    font-size: 18px;
  }
  .woocommerce-notices-wrapper {
    display: none;
  }
  *[id^="billing_"] {
    display: none !important;
  }
  &.student_btn_field {
    *[id^="student_"] {
      display: none !important;
    }
    *[id^="edu_"] {
      display: block !important;
    }
  }
  &.edu_next_field {
    *[id^="student_"],
    *[id^="edu"] {
      display: none !important;
    }
    *[id^="billing_"] {
      display: block !important;
    }
  }
  &.billing_next_field {
    *[id^="student_"],
    *[id^="edu"],
    *[id^="billing_"],
    .ca-progress {
      display: none !important;
    }
    &.woocommerce-checkout #order_review {
      display: initial !important;
    }
    .ca-display-payment {
      display: block;
    }
  }
  .wp-block-woocommerce-checkout-order-summary-block,
  .woocommerce-form-coupon-toggle,
  h3 {
    display: none;
  }
  *[id^="edu_"],
  #order_comments_field,
  #order_review {
    display: none !important;
  }
  form .form-row input.input-text,
  form .form-row textarea,
  input[type="date"],
  select {
    border-radius: 5px;
    border: none;
    padding: 10px 5px;
  }
  @media (max-width: 991px) {
    .container {
      padding: 0;
    }
    form,
    .ca-display-payment {
      padding: 0 15px;
    }
    .form-row.edu_btn {
      clear: both;
    }
  }
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
  background: transparent;
}
.woocommerce-privacy-policy-text {
  display: none;
}
.ca-display-payment ul {
  text-align: left;
  font-size: 12px;
  padding: 0 15px 15px;
  margin: 0;
  li {
    margin-bottom: 8px;
  }
}
.billing_next_field table.shop_table {
  border-color: #fff;
}
.billing_next_field table.shop_table tfoot {
  th,
  td {
    border-color: rgba(255, 255, 255, 0.5);
  }
}
.billing_next_field table.shop_table th {
  font-weight: 700;
  padding: 0px 7px;
  line-height: normal;
  font-size: 14px;
  border-color: rgba(255, 255, 255, 0.5);
}
.billing_next_field table.shop_table td {
  padding: 1px 5px;
  vertical-align: middle;
  line-height: normal;
  font-size: 14px;

  border-color: rgba(255, 255, 255, 0.5);
}
.ca-thebacks {
  display: none;
}
.student_btn_field,
.edu_next_field,
.billing_next_field {
  .ca-thebacks {
    display: flex;
  }
  .ca-thebacksreal {
    display: none;
  }
}
body.woocommerce-no-js form.woocommerce-form-coupon {
  display: none !important;
}
.thwcfd-field-radio .woocommerce-input-wrapper {
  display: flex;
}
/* Cards */
.product-content {
  h3 {
    color: var(--color-secondary);
  }
  @media (min-width: 991px) {
    h3 {
      height: 40px;
    }
  }
}
