@media only screen and (min-width : 320px) {

.woocommerce-order-received .woocommerce {
  max-width: 1200px !important;
}

.payment-page-wrap {
  background-color: #fff;
  margin: 2rem 0;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  border-radius: 1rem;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.payment-page-wrap .course-card {
  display: flex;
  background-color: #f7f8f9;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  margin-bottom: 3rem;
  
}

.payment-page-wrap .course-card  .course-image {
  border-top-right-radius: 0.5rem;
  border-top-left-radius: 0.5rem;
  overflow: hidden;
  flex: 1;
}

.payment-page-wrap .course-info {
  flex-grow: 2;
  padding: 1rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.payment-cart .cart-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  border-bottom: solid 2px #ccc;

}

.payment-cart .cart-item .item-title {
  font-weight: bold;
  font-size: 1rem;
}

.payment-cart .cart-item .item-price {
  text-align: right;
}

.payment-cart .cart-item .item-price .small {
  font-size: 0.7rem;
}

.payment-cart .cart-summary {
  display: flex;
  justify-content: space-between;
  background-color: rgba(26,166,164,0.2);
  border: solid 1px rgba(26,166,164,0.9);
  padding: 2rem 1rem;
  margin-top: 1rem;
  border-radius: 0.5rem;
}

.payment-cart .cart-summary .total-title {
  font-weight: bold;
}

.payment-cart .cart-summary .total-price {
  font-size: 2rem;
  font-weight: bold;
}


.payment-page-wrap .course-info .tutor-row {
  display: flex;
  align-items: center;
}

.payment-page-wrap .course-info .tutor-row h5 {
  margin-bottom: 0;
}

.payment-page-wrap .course-info .tutor-row .avatar-wrap {
  width: 30px;
}

.payment-page-wrap .course-info h3 {
  margin-bottom: 0;
}

.payment-page-left {
  padding: 3rem;
  flex: 3;
  border-right: 1px solid #ccc;
}

.payment-page-right {
  padding: 3rem;
  flex: 1;
}

.thank-you-page-wrap {
  background-color: #fff;
  margin: 1rem 0;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  border-radius: 1rem;
  padding: 1rem
}

.thank-you-page-wrap .thankyou-heading {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  flex-direction: column;
}

.thank-you-course-block {
  display: flex;
  flex-direction: column;
  background-color: rgba(26,166,164,0.2);
  border: solid 1px rgba(26,166,164,0.9);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.thank-you-course-block .image-col {
  flex: 1;
  
}

.thank-you-course-block h4 span {
  font-size: 1.4rem;
  font-weight: bold;
}

.thank-you-course-block .image-col img {
  border: solid 1px rgba(26,166,164,0.9);
  border-radius: 0.5rem;
  height: 100%;
}

.thank-you-course-block .details-col {
  flex: 2;
  padding-left: 1rem;
}

.thank-you-course-block .details-col h2 {
  margin-bottom: 0;
}

.bb_sku_wrapper {
  display: none !important;
}

.woocommerce-checkout .payment_box.payment_method_cpd_stripe_connect {
    background-color: transparent !important;
}

.woocommerce-checkout .payment_box.payment_method_cpd_stripe_connect::before {
    display: none !important;
}

.payment_box.payment_method_cpd_stripe_connect .button-wrap {
  margin-top: 2rem;
}

.wc_payment_methods {
  display: none !important;
}

.woocommerce-additional-fields {
    display: none;
}

#payment-btn {
   margin-top: 1rem;
}

#place_order.force-show {
  display: block !important;
}

.woocommerce-checkout .woocommerce {
    max-width: 900px;
    margin: 0 auto !important;
}

.woocommerce-checkout .bb-wc-co {
    flex-direction: column !important;
    
}

.woocommerce-checkout .bb-wc-co .bb-wc-col {
    width: 100% !important;
}

.stripe-wrap {
    padding: 0rem;
}

.stripe-wrap iframe {
    box-shadow: none !important;
}

#card-element .__PrivateStripeElement iframe {
  border-radius: 0 !important;
  background-color: transparent;
}

.woocommerce-checkout #payment ul.payment_methods {
    background: #ededed !important;
    
}

.thank-you-course-link {
    text-align: center;
    padding: 2rem;
}

#payment-progress-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.7);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: none;
}

#payment-progress-spinner.active {
    display: flex;
}

#payment-progress-spinner img {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    width: 200px;
    height: auto;
}

#payment-message {
    color: #fff;
    font-size: 2rem;
}

.stripe-account-connected {
    font-size: 1.3rem;
}

.stripe-account-connected i {
    color: green;
    font-size: 2rem;
}

.stripe-connect-wrap {
   display: flex;
   flex-direction: column;
   padding: 1.5rem;
   background-color: #fff;
   border-radius: 0.5rem;
   margin: 0.5rem 0;
   border: 1px solid #e7e9ec;
}

.stripe-connect-wrap .logo {
    flex: 1;
    display: flex;
    align-items: center;
}

.stripe-connect-wrap .logo img {
    max-width: 200px;
}

.stripe-connect-wrap .content {
    flex: 8;
    display: flex;
    flex-direction: column;
   
    justify-content: space-between;
    align-items: center;
}

.stripe-connect-wrap .content .form-wrap {
    display: flex;
    align-items: center;
}

.stripe-connect-wrap .content .form-wrap form {
    margin-bottom: 0;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.payment-details-header {
   padding: 4rem 0 2rem;
   display: flex;
   flex-direction: row;
   justify-content: space-between;
}

.payment-details-header .icon {
  width: 40px;
}

.payment-details-header h1 {
  margin-bottom: 0;
}




}
@media only screen and (min-width : 768px) {
    .stripe-connect-wrap {
        
        flex-direction: row;
       
     }

     .stripe-connect-wrap .content {
        flex-direction: row;
        padding-left: 2rem;
    }

    .payment-page-wrap {
      flex-direction: row;
    }

    .thank-you-course-block {
      flex-direction: row;
    }

    .thank-you-page-wrap .thankyou-heading {
      flex-direction: row;
    }

    .thank-you-page-wrap {
      margin: 2rem 0;
      padding: 2rem;
    }
}
@media only screen and (min-width : 992px) {
}
@media only screen and (min-width : 1200px) {
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
  }
  .lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
  }
  @keyframes lds-ellipsis1 {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }
  @keyframes lds-ellipsis3 {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
  }
  @keyframes lds-ellipsis2 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(24px, 0);
    }
  }
  

  .subscription-details {
    padding: 2em 4em 0;
    display: flex;
    justify-content:  flex-end;
  }

  .subscription-details.canceled {
    color: red;
  }

  .cancel-form-wrap {
    display: flex;
    flex-direction: column;
    text-align: right;
    align-items: end;
  }

  .cancel-form-wrap form {
    margin-bottom: 0.5rem;
  }

  .cancel-form-wrap .renewal-date {
    font-size: 0.8rem;
  }