/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Jul 12, 2021, 11:29:18 AM
    Author     : objects
*/

/* -----------------------------------------------------
    WooCommerce Edits
----------------------------------------------------- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .woocommerce-message a.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce input.button,
.woocommerce-cart table.cart td.actions .button,
.woocommerce form.checkout_coupon .button,
.woocommerce #respond input#submit,
.wc-block-grid__products .wc-block-grid__product .wp-block-button__link,
.enroll-user-btn {
  padding: 0 20px;
  font-weight: 600;
  font-size: 13px;
  height: 36px;
  line-height: 32px;
}

.woocommerce-MyAccount-navigation,
.wc_list_customers_my_account,
.account-orders-table-wrapper,
.account-orders-table-wrapper table,
#enroll-course-form {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 1rem !important;
}

.woocommerce-MyAccount-navigation-link.is-active {
  font-weight: 600;
}

.woocommerce .woocommerce-MyAccount-navigation {
  margin-bottom: 30px;
}

button,
button:hover {
  border: 2px solid #0067da;
  transition: all 0.2 linear;
}

/* Course Statistics --------------------------------- */
.course-stats {
  display: flex;
  flex-wrap: wrap;
}

h3.page-subtitle {
  font-size: 20px;
  color: #0067da;
  flex-basis: 100%;
  margin: 0 0 10px;
}

.course-stats h4,
.course-stats h3,
#enroll-course-form h3 {
  font-size: 16px;
  color: #0067da;
  flex-basis: 100%;
  margin: 10px 0;
}

.course-stats h3,
#enroll-course-form h3 {
  font-size: 20px;
  margin-top: 0;
}

.course-stats .alert {
  position: relative;
  padding: 0.5rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  max-width: fit-content;
}

.course-stats .alert .fa {
  margin-right: 5px;
}

.course-stats .badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  margin-left: 5px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
}

.course-stats .badge-light {
  color: #212529;
  background-color: #f8f9fa;
}

.course-stats .alert:first-of-type {
  margin-right: 2%;
}

.course-stats .alert-primary {
  color: #004085;
  background-color: #cce5ff;
  border-color: #b8daff;
}

.course-stats .alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

@media screen and (max-width: 921px) {
  .course-stats {
    width: 100%;
    text-align: left;
  }
  .course-stats .alert {
    width: 179px;
    max-width: 100%;
  }
}

@media screen and (max-width: 640px) {
  .ld-item-list-items .ld-item-details {
    width: calc(100% - 1em);
    margin-top: 10px !important;
    justify-content: space-between !important;
  }
  .ld-item-list-items .ld-item-details .ld-expand-button {
    margin-left: auto;
    margin-right: 0;
    width: fit-content;
    padding-right: 10px;
  }
  .learndash-wrapper .ld-progress .ld-progress-heading .ld-progress-label {
    margin-bottom: 10px;
  }
}

/* Enroll Form --------------------------------------- */
.account-orders-table-wrapper .my_account_orders {
  margin-top: 5px !important;
}

.account-orders-table-wrapper .my_account_orders .button {
  margin-bottom: 0 !important;
}

.account-orders-table-wrapper .my_account_orders tr:not(:last-child),
.account-orders-table-wrapper .my_account_orders td:not(:last-child) {
  min-width: 50%;
}

#enroll-course-form .enroll-user-field {
  display: flex;
  flex-direction: column;
}

#enroll-course-form .enroll-user-field .err-msg {
  color: red;
  margin-top: 7px;
  font-size: 12px;
  font-weight: 600;
}

#enroll-course-form .enroll-user-field label {
  margin: 0 10px 0 0;
  font-weight: 600;
}

#enroll-course-form .enroll-button .enroll-user-btn {
  height: 44.5px;
  border-radius: 0;
  white-space: nowrap;
  /* position: relative;
    top: 2px; */
}

@media screen and (max-width: 420px) {
  #enroll-course-form .ld-pm-form-wrapper {
    flex-direction: column;
  }
  #enroll-course-form .select2-container {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 10px;
  }
  #enroll-course-form .enroll-button .enroll-user-btn {
    width: 100%;
  }
}

#enroll-course-form .enroll-user-btn {
  border-radius: 100px;
  transition: all 0.2s linear;
}

#enroll-course-form .enroll-user-btn:hover,
.filter-actions .filter-actionn-form .submit-filters:hover {
  background: #fff;
  border-color: #0067da;
}

#enroll-course-form .enroll-user-btn:focus {
  outline: none;
}

#enroll-course-form .ld-pm-form-wrapper {
  display: flex;
}

/* Pagination ---------------------------------------- */
.course-list-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.course-list-pagination span,
.course-list-pagination a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin: 3px;
  transition: all 0.2s linear;
}

.course-list-pagination a:hover,
.course-list-pagination .current {
  background: #f0f0f0;
  text-shadow: 0 1px 1px #fff;
}

/* Course Lessons List ------------------------------- */
.ld-item-list-items .ld-item-details a {
  white-space: nowrap;
  font-weight: 600;
  font-size: 14px;
}

/* Create Learner :: Form ---------------------------- */
.wc_list_customers_my_account .submit-filters,
.filter-actions .filter-actionn-form .submit-filters {
  border: 2px solid #0067da;
  transition: all 0.2s linear;
}

.wc_list_customers_my_account .filter-actions .select2 .select2-selection__arrow {
  transform: none;
}

/* Edit Account -------------------------------------- */
.woocommerce-MyAccount-content .edit-account {
  max-width: 480px;
}

.woocommerce-MyAccount-content .edit-account p {
  flex-direction: column;
  margin-bottom: 10px;
}

.woocommerce-MyAccount-content .edit-account p:last-child {
  text-align: right;
}

/* Filter Form --------------------------------------- */
.filter-actions .filter-actionn-form {
  display: flex;
  align-items: center;
}

.filter-actions .filter-actionn-form .submit-filters {
  height: 45px;
  border-radius: 0;
  position: relative;
  top: 2px;
  margin: 0 !important;
  width: auto !important;
}

/* Editor -------------------------------------------- */
.mce-container,
.mce-container *,
.mce-widget,
.mce-widget *,
.mce-reset {
  background: transparent !important;
}

#nt-course-note .nt-note-editor-body {
  padding: 0;
}

#nt-note-actions-wrapper {
  border-bottom: 1px solid #dadada;
}

#nt-note-actions-wrapper input.nt-note-submit {
  color: #fff;
  transition: all 0.2s linear;
}

/* Breadcrumb ---------------------------------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0.25rem 1rem;
  margin: 0 0 1rem;
  list-style: none;
  background-color: #fafafa;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  width: 100%;
}
.breadcrumb-item + .breadcrumb-item::before {
  display: inline-block;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
  color: #6c757d;
  content: "/";
}
.breadcrumb-item.active {
  color: #6c757d;
}

/* WooCommerce Checkout------------------------------- */
.woocommerce-billing-fields #is_parent_field .woocommerce-input-wrapper {
  display: flex;
  align-items: center;
}

.woocommerce-billing-fields #is_parent_field .woocommerce-input-wrapper input {
  margin-right: 5px;
}

.woocommerce-billing-fields #is_parent_field .woocommerce-input-wrapper label:not(:last-child) {
  margin-right: 45px;
}

.woocommerce-billing-fields .instructions {
  display: block;
  font-size: 14px;
  margin: 10px 0;
}

/* Learner Courses ----------------------------------- */
#ld-profile .ld-profile-summary,
#ld-profile .ld-profile-summary .ld-profile-card {
  margin-top: 0;
}

#ld-profile .ld-profile-summary .ld-profile-card .ld-profile-avatar {
  width: 100px;
  height: 100px;
}

#ld-profile .ld-profile-summary .ld-profile-card .ld-profile-heading {
  font-size: 1.5em;
}

#ld-profile .ld-profile-summary .ld-profile-stat strong {
  margin-bottom: 0;
  line-height: normal;
}

.learndash-wrapper .ld-item-list {
  padding-top: 20px;
}

#ld-profile .ld-section-heading h3 {
  font-size: 20px;
  color: #0067da;
  flex-basis: 100%;
  margin: 0 0 10px;
}

#ld-profile .ld-item-list-actions .ld-expand-button {
  white-space: nowrap;
}

#ld-profile .ld-item-list-item .ld-item-list-item-preview {
  padding: 15px;
}

#ld-profile .ld-item-list-item .ld-progress {
  margin: 0;
}

.learndash-wrapper .breadcrumb + .ld-course-list {
  margin: 0;
}

@media screen and (max-width: 921px) {
  .woocommerce table.shop_table_responsive tr,
  .woocommerce-page table.shop_table_responsive tr {
    border-bottom: 2px solid #ccc;
  }
}

@media screen and (min-width: 421px) {
  .enroll-course-wrapper .enroll-user-field {
    max-width: calc(100% - 125px);
  }
}

.enroll-course-wrapper .select2-container {
  max-width: 100%;
  height: 100%;
}

.enroll-course-wrapper .select2-container .select2-selection {
  height: 100%;
}

/*
.
.
.
.
.
.
*/

.gcolumn_wrapper {
  max-height: calc(100% - 77px);
}

#sortable_available,
#sortable_selected {
  max-height: calc(100% - 45px);
}

/* Login Form ---------------------------------------- */
.woocommerce .woocommerce-notices-wrapper + h2 + .woocommerce-form {
  width: 100%;
  max-width: 576px;
}

.woocommerce .woocommerce-form .woocommerce-form-row + .form-row:not(.woocommerce-form-row) {
  display: flex;
  align-items: center;
}

.woocommerce .woocommerce-form .woocommerce-form-row + .form-row:not(.woocommerce-form-row) .button {
  margin-left: auto;
  border: 2px solid #0067da;
  transition: all 0.2 linear;
}

.woocommerce .woocommerce-form .woocommerce-form-row + .form-row:not(.woocommerce-form-row) .button:hover {
  border-color: #0067da;
}
