/**

 * Theme Name:     Divi Child
 * Author:         Elegant Themes
 * Template:       Divi
 * Text Domain:	   divi-child
 * Description:    Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
 */

 .courses-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
}
.courses-table th, .courses-table td {
    padding: 12px;
    border: 1px solid #ddd;
}
.courses-table th {
    background-color: #0078a0;
    color: #fff;
}
.courses-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}
.courses-table tbody tr:hover {
    background-color: #f1f1f1;
}
.courses-table .enroll-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0078a0;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
}
.courses-table .enroll-button:hover {
    background-color: #005f7a;
}

@media screen and (max-width: 768px) {
    .courses-table table, .courses-table thead, .courses-table tbody, .courses-table th, .courses-table td, .courses-table tr {
        display: block;
        text-align: center !important;
    }
    .courses-table thead tr {
        display: none;
    }
    .courses-table td {
        position: relative;
        padding-left: 50%;
        text-align: right;
    }
    .courses-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        padding-left: 15px;
        font-weight: bold;
        text-align: left;
    }
}
.courses-table thead th{
color: #fff;
}

/* single course table style */
.class-details-table {
    width: 100%;
    margin: 20px auto;
    background-color: white;
    overflow: hidden;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

.class-details-table table {
    width: 100%;
    border-collapse: collapse;
}

.class-details-table thead {
    background-color: #007bb5;
    color: white;
    text-align: left;
}

.class-details-table th, 
.class-details-table td {
    padding: 12px;
    border: 1px solid #ddd;
}

.class-details-table tbody tr:nth-child(odd) {
    background-color: #f2f2f2;
}

.class-details-table tbody td:first-child {
    background-color: #009fd4;
    color: white;
    font-weight: bold;
    width: 35%;
}

/* Responsive Design */
/*         @media (max-width: 600px) {
    .class-details-table th, 
    .class-details-table td {
        display: block;
        width: 100%;
    }

    .class-details-table tbody td:first-child {
        background-color: #007bb5;
        text-align: center;
    }
} */
.form-group.ppom-input-optional_purchase .form-control-label, .bold_price{
font-weight: bold;
color: #000;
}



.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.custom-table .header {
    background-color: #0099cc;
    color: white;
    font-weight: bold;
}

.custom-table td {
    border: 1px solid #ddd;
    padding: 10px;
}

.custom-table .price {
    text-align: right;
}

.custom-table .total {
    font-weight: bold;
    font-size: 18px;
    color: #000;
}

#add-to-cart{
    margin-top: 30px;
}
.wc-block-components-product-metadata .wc-block-components-product-metadata__description{
    display: none;
}
.return_to_cart{
    padding-top: 30px;
}
.wc-block-components-order-summary-item__image img, .wc-block-cart-item__image a{
    display: none;
}
#radio-control-wc-payment-method-options-alg_custom_gateway_1__content .wc-block-components-text-input{
    display: none;
}
.course_details_wrap{
    display: flex;
    gap: 30px;
}
.course_detail_left, .course_detail_right{
    width: 100%;
}
#optional-purchases{
    margin-top: 0;
}
.class-details-table{
    margin-bottom: 0;
    margin-top: 0;
}
@media only screen and (max-width: 992px){
    .course_details_wrap{
        flex-direction: column;
    }
}
@media only screen and (min-width: 767px){
    .custom-table td {
        width: 70%;
    }
}