/* 
Theme Name: CS - GSimpsons
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Add your custom styles here */

:root {
  --error-message-icon-color: #7A263A;
}

table tbody tr:hover>td, table tbody tr:hover>th {
	background:none;
}

table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
	background: none;
}

.woocommerce div.product form.cart .variations th {
	text-align:left;
}

#simpsons-footer a {
	color:white;
}

.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] {
 background-color:#80001a;   
}

.pswp__caption__center {
    text-align:center;
}



@media screen and (max-width: 768px) {


    /* Force table to not be like tables anymore */
    .woocommerce-page table.shop_table,
    .woocommerce-page table.shop_table thead,
    .woocommerce-page table.shop_table tbody,
    .woocommerce-page table.shop_table tfoot,
    .woocommerce-page table.shop_table th,
    .woocommerce-page table.shop_table td,
    .woocommerce-page table.shop_table tr {
        display: block;
    }


    .woocommerce-page table.shop_table {
        border: none;
    }


    .woocommerce table.shop_table_responsive tr td,
    .woocommerce-page table.shop_table_responsive tr td {
	    text-align:left !important;
	    min-height: 30px;
    }


    .woocommerce table.shop_table_responsive tr:nth-child(2n) td,
    .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
	    background-color: inherit;
    }


    /* Hide table headers (but not display: none;, for accessibility) */
    .woocommerce-page table.shop_table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }


    .woocommerce-page table.shop_table tr {
        border-bottom: 1px solid #5C4F51;
        margin-bottom: 10px;
        display:flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }


    .woocommerce-page table.shop_table td {
        /* Behave  like a "row" */
        position: relative;
        padding-left: 0 !important;
    }


    .woocommerce-page table.shop_table td.product-thumbnail {
        padding-bottom: 0px !important;
    }

    .woocommerce-page table.shop_table td.product-thumbnail img {
        max-width: 125px !important;   
    }

    .woocommerce-page table.shop_table td.product-price {
        display:none;
    }
    
    .woocommerce-page table.shop_table td.product-subtotal {
        text-align:right !important;
    }
    
    .woocommerce-page table.shop_table td.product-quantity {
        padding-bottom: 10px !important;
    }
    
    .woocommerce-page table.shop_table td.product-remove {
        position:absolute;
        text-align:right !important;
        line-height: 1em;
    }
    

    /*
    Label the data
    */
    .woocommerce-page table.shop_table td.product-thumbnail:before {
        content: none;
    }
    .woocommerce-page table.shop_table td.product-name:before {
        content: none;
    }
    .woocommerce-page table.shop_table td.product-price:before {
        content: none;
    }
    .woocommerce-page table.shop_table td.product-quantity:before {
        content: none;
    }
    .woocommerce-page table.shop_table td.product-subtotal:before {
        content: none;
    }
    .woocommerce-page table.shop_table td.product-remove::before {
        content: none;
    }

    /*.woocommerce-page table.shop_table td.product-total:before {
        content: none;
    }*/




    .woocommerce-page .cart_totals table.shop_table tr,
    .woocommerce-page .cart_totals table.shop_table td {
        border: none;
        padding: 0px;
        line-height: 1em;
    }
    
    .woocommerce-page .cart_totals table.shop_table td {
        width: 100%;
    }

    .woocommerce-page .cart_totals table.shop_table tr.order-total td,
    .woocommerce-page .cart_totals table.shop_table tr.cart-subtotal td {
        text-align:right !important;
    }
    
    .woocommerce-page .cart_totals table.shop_table ul#shipping_method {
        padding-left: 90px;
    }
    
    .woocommerce-page .cart_totals table.shop_table ul#shipping_method li {
        margin-bottom: 0.2em;
        line-height: 1em;
    }
    
    .woocommerce-page .cart_totals table.shop_table tr.woocommerce-shipping-totals p {
        padding-left: 90px;
        line-height: 1.5em;        
    }





    .woocommerce-page table.woocommerce-checkout-review-order-table tr,
    .woocommerce-page table.woocommerce-checkout-review-order-table td, 
    .woocommerce-page table.woocommerce-checkout-review-order-table th {
        border:none;
        padding:0px;
    }

    .woocommerce-page table.woocommerce-checkout-review-order-table tfoot td, 
    .woocommerce-page table.woocommerce-checkout-review-order-table tfoot th {
        border-top:none;   
    }


    .woocommerce-page table.woocommerce-checkout-review-order-table tfoot {
        border-top: 1px solid #5C4F51;
        padding-top: 10px;
    }



}




