/* WooCommerce - General Styles */

article.product > h1 {
    margin-top: 45px;
}

.screen-reader-text {
    position: absolute;
    left:-9999px;
}

.checkout-button.button,
#place_order.button {
    font-size: 20px;
    line-height: 24px;
    padding: 15px 30px;
}






/* WooCommerce - General Forms */

form[class*="woocommerce-"] {
    margin: 0 0 30px;
    position: relative;
}

    .woocommerce-page fieldset {
        border: 0;
        padding: 30px 0;
    }

        form[class*="woocommerce-"] h3 {
            padding: 0 5px;
        }

        .woocommerce-page .form-row {
            display: inline-block;
            box-sizing: border-box;
            margin: 9px 0;
            padding: 0 5px;
            vertical-align: bottom;
            width: 100%;
        }

            .woocommerce-page label {
                display: block;
                margin: 0;
            }

                .woocommerce-page label span {
                    color: inherit;
                }

            .woocommerce-page input[type=text],
            .woocommerce-page input[type=number],
            .woocommerce-page input[type=password],
            .woocommerce-page input[type=tel],
            .woocommerce-page input[type=email],
            .woocommerce-page select,
            .woocommerce-page textarea {
                border: 1px solid #afafaf;
                border-radius: 2px;
                box-sizing: border-box;
                color: #222;
                display: block;
                font: 14px/18px Helvetica, Arial, sans-serif;
                padding: 8px 12px;
                min-height: 36px;
                width: 100%;
            }

            .woocommerce-page textarea {
                min-height: 100px;
            }

            /* WooCommerce - Select2 */

            .select2-container {
                height: 36px;
            }

                .select2-container .select2-selection--single {
                    min-height: 36px;
                    padding-top: 4px;
                }

                    .select2-container .select2-selection--single .select2-selection__placeholder {
                        color: rgba(34, 34, 34, 0.72);
                        font: 14px/18px Helvetica, Arial, sans-serif;
                    }

                    .select2-container .select2-selection--single .select2-selection__arrow {
                        height: 36px;
                        top: 0;
                    }






/* WooCommerce - General Buttons */

.button {
    background: #78c152;
    backface-visibility: hidden;
    border: none;
    border-radius: 2px;
    box-sizing: border-box;
    color: #fff;
    display: inline-block;
    font-size: 15px;
    line-height: 15px;
    padding: 10px 25px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: .3s all;
}

    .button:hover,
    .button:focus {
        filter: brightness(115%);
        color: #fff;
        cursor: pointer;
    }

.button.alt {
    background: #4b5d71;
}






/* WooCommerce - General Errors & Alerts */

.woocommerce-notices-wrapper {
    width: 100%;
}

    .woocommerce-error, 
    .woocommerce-info, 
    .woocommerce-message,
    .woocommerce-notice {
        box-sizing: border-box;
        padding: 10px 15px 0 40px;
        margin: 2em 0;
        min-height: 47px;
        position: relative;
        background-color: #f7f6f7;
        color: #515151;
        border-top: 3px solid #4b5d71;
        list-style: none outside;
        width: auto;
        word-wrap: break-word;
    }

    .woocommerce-error {
        border-top-color: #b81c23;
    }

    .woocommerce-info {
        border-top-color: #4e4e4e;
    }

    .woocommerce-message,
    .woocommerce-notice--success {
        border-top-color: #09ac2d;
    }

    .woocommerce-error::before, 
    .woocommerce-info::before, 
    .woocommerce-message::before {
        content: "\f06a";
        font-family: "Font Awesome 5 Free";
        -webkit-font-smoothing: antialiased;
        font-style: normal;
        font-variant: normal;
        font-weight: 900;
        left: 10px;
        line-height: 1;
        margin-right: 10px;
        position: absolute;
        text-rendering: auto;
        top: 13px;
    }

    .woocommerce-error::before {
        color: #b81c23;
    }

    .woocommerce-info::before {
        color: #4e4e4e;
        content: "\f0f3";
    }

    .woocommerce-message::before {
        color: #09ac2d;
    }

        .woocommerce-error li, 
        .woocommerce-info li, 
        .woocommerce-message li {
            display: inline-block;
        }

        .woocommerce-error .button, 
        .woocommerce-info .button, 
        .woocommerce-message .button {
            font-size: 12px;
            line-height: 12px;
            margin: 0 10px 0 0;
            padding: 5px 10px;
        }






/* WooCommerce - Cart */

table.cart {
    border-collapse: collapse;
    margin: 20px 0;
    width: 100%;
}

    table.cart th,
    table.cart td {
        text-align: left;
        padding: 5px;
    }

    table.cart th {
        background: #cecece;
    }

    table.cart td {
        background: none;
    }

    table.cart tr.cart_item:nth-child(even) td {
        background: #ececec;
    }

        table.cart img {
            float: left;
            max-width: 50px;
        }

        table.cart input.qty {
            padding: 8px 6px;
            text-align: center;
            width: 60px;
        }

        table.cart .product-remove {
            text-align: center;
        }

            table.cart .product-remove a {
                text-decoration: none;
                font-size: 30px;
                font-weight: bold;
                display: inline-block;
                vertical-align: middle;
            }


        /* WooCommerce - Cart Coupon */

        table.cart td.actions .coupon {
            display: flex;
            float: right;
            margin-top: 20px;
            width: 60%;
        }

            table.cart td.actions .coupon label {
                display: none;
            }

            table.cart td.actions .coupon input {
                border-radius: 2px 0 0 2px;
            }

            table.cart td.actions .coupon button {
                border-radius: 0 2px 2px 0;
                white-space: nowrap;
            }

        table.cart td.actions .coupon + button.button:disabled {
            display: none;
        }

        table.cart td.actions .coupon + button.button {
            float: right;
            clear: both;
            margin-top: 10px;
        }


        /* WooCommerce - Cart Totals */

        .cart-collaterals {
            margin: 0 0 50px;
            text-align: right;
        }

            .cart-collaterals .cart_totals {
                display: inline-block;
                width: 60%;
            }


                /* WooCommerce - Cart Totals (Also Used on Checkout Order Review) */

                .shop_table {
                    border-collapse: collapse;
                    box-sizing: border-box;
                    margin: 10px 0 40px;
                    padding: 0 5px;
                    width: 100%;
                }

                    .shop_table th,
                    .shop_table td {
                        padding: 5px 15px;
                        text-align: left;
                    }

                    .shop_table th {
                        background: #ececec;
                    }

                    .shop_table td {
                        background: #f1f1f1;        
                    }

                    .shop_table th:last-child,
                    .shop_table td:last-child {
                        text-align: right;            
                    }

                        .shop_table .woocommerce-orders-table__cell-order-actions .woocommerce-button {
                            font-size: 12px;
                            margin: 0 1px;
                            padding: 4px 5px;
                        }

                        #shipping_method {
                            list-style: none;
                            padding: 0;
                        }

                            #shipping_method label,
                            #shipping_method input {
                                display: inline-block;
                                vertical-align: middle;
                            }

                            #shipping_method input {
                                margin: 0 5px 0 0;
                            }

                        .woocommerce-shipping-destination strong {
                            display: inline-block;
                        }

                        form.woocommerce-shipping-calculator {
                            margin: 0;
                        }

                            .shipping-calculator-form {
                                margin-bottom: 10px;
                            }

                                .woocommerce-page .shipping-calculator-form .form-row {
                                    margin: 3px 0;
                                    padding: 0;
                                }

                                    .shipping-calculator-form .form-row input {
                                        text-align: right;
                                    }

                .woocommerce-order-overview {
                    margin: 25px 0;
                }

                .woocommerce-order-overview + p {
                    display: none;
                }

                .woocommerce-customer-details .addresses > div {
                    margin-bottom: 30px;
                }

            .return-to-shop {
                margin-bottom: 30px;
            }






/* WooCommerce Checkout - Coupon Code */

.checkout_coupon.woocommerce-form-coupon {
    display: block;
    margin: -20px auto 30px;
    width: 350px;
}

    .checkout_coupon.woocommerce-form-coupon .form-row-first {
        float: left;
    }


/* WooCommerce - Checkout Forms */

#customer_details,
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-account-fields {
    margin: 0 0 20px;
}

    .woocommerce-page .form-row.form-row-50,
    #billing_first_name_field,
    #billing_last_name_field,
    #shipping_first_name_field,
    #shipping_last_name_field {
        width: 50%;
    }

    .woocommerce-page .form-row.form-row-33,
    #customer_details .address-field,
    .woocommerce-billing-fields .address-field,
    .woocommerce-shipping-fields .address-field {
        width: 33.333333333%;
    }


    /* WooCommerce Checkout - Account Section */

    .woocommerce-account-fields:before {
        content: 'Login details';
        font-size: 24px;
        line-height: 30px;
    }


    /* WooCommerce Checkout - Payment */

    #payment .methods {
        list-style: none;
        padding: 0;
    }

        #payment .methods > li {
            margin: 0 0 20px;
        }

            #payment .methods > li input {
                display: inline-block;
                vertical-align: middle;
            }

            #payment .methods > li label {
                cursor: pointer;
                display: inline-block;
                vertical-align: middle;      
            }

                #payment .methods > li label img {
                    display: inline-block;
                    vertical-align: bottom;      
                }

            #payment .methods > li .payment_box {
                background: #ececec;
                margin: 12px 0 30px 25px;
                padding: 7px 15px;
                position: relative;
            }

                #payment .methods > li .payment_box:before {
                    content: "";
                    display: block;
                    border: 1em solid #ececec;
                    border-right-color: transparent;
                    border-left-color: transparent;
                    border-top-color: transparent;
                    position: absolute;
                    top: -.75em;
                    left: 0;
                    margin: -1em 0 0 2em;
                }

                #payment .methods > li fieldset {
                    padding: 0;
                }

                    #payment .methods > li input {
                        font: 14px/18px Helvetica, Arial, sans-serif !important;
                        margin-top: 0;
                    }

                    #payment .methods > li input.input-text {
                        display: block;
                        width: 250px;
                    }

                    #payment .methods > li input#wc-authorize-net-cim-credit-card-csc {
                        display: inline-block;
                        margin-left: 10px;
                        width: 100px;
                    }

                    .woocommerce-checkout #payment div.payment_box .sv-wc-payment-gateway-payment-form-manage-payment-methods {
                        display: block;
                        font-size: 13px;
                        margin: 0 0 10px;
                        padding: 5px;
                        max-width: 260px;
                    }

    #place-order-text {
        border: 1px solid #ececec;
        font-size: 0.8em;
        line-height: 16px;
        margin-bottom: 12px;
        padding: 10px 20px;
    }

        #place-order-text p {
            margin: 5px 0;
        }

    #payment .place-order {
        margin-top: 20px;
    }






/* WooCommerce - Account Sections */

.woocommerce-account h1 {
    margin-bottom: 15px;
    padding-left: 220px;
}

.woocommerce-account:not(.logged-in) h1 {
    padding-left: 0;
}

.woocommerce-account div.woocommerce {
    display: flex;
    flex-wrap: wrap;
}

    .woocommerce-MyAccount-navigation {
        flex: 0 0 190px;
        margin: -40px 0 40px;
        padding-right: 30px;
    }

        .woocommerce-MyAccount-navigation ul {
            list-style: none;
            padding: 0;
        }

    .woocommerce-MyAccount-content {
        margin-bottom: 40px;
        width: calc(100% - 220px);
    }


        /* WooCommerce - Account Addresses */

        .woocommerce-Address {
            margin: 15px 0;   
        }

            .woocommerce-address-fields .address-field {
                width: 33.333333333%;
            }

            .woocommerce-address-fields button {
                margin: 15px 0 0 5px;   
            }


        /* WooCommerce - Account Payment Method */

        .sv-wc-payment-gateway-my-payment-methods-table .button,
        .sv-wc-payment-gateway-my-payment-methods-table mark {
            font-size: 10px !important;
            line-height: 10px;
            padding: 5px 7px !important;
        }


        /* WooCommerce - Login/Register/Checkout Login */

        #customer_login {
            display: flex;
            padding: 30px 0;
        }

            #customer_login > div.col-1 {
                padding-right: 1%;
                width: 50%;
            }

                form[class*="woocommerce-"].woocommerce-form-login {
                    margin: 0 auto;
                    max-width: 310px;
                }

                    #customer_login .woocommerce-form-login__rememberme {
                        display: inline-block;
                        margin-right: 10px;  
                    }

                    #customer_login .lost_password {
                        text-align: right;
                        margin-bottom: 0;
                        padding: 10px !important;
                    }

            #customer_login > div.col-2 {
                border-left: 1px solid rgba(0, 0, 0, 0.12);
                padding-left: 1%;
                width: 50%;
            }


            /* WooCommerce - Password Strength */

            .woocommerce-password-strength {
                color: #fff;
                padding: 10px;
            }

                .woocommerce-password-strength.short,
                .woocommerce-password-strength.bad {
                    background: #e77373;
                }

                .woocommerce-password-strength.good {
                    background: #ffeb3d;
                    color: #545353;
                }

                .woocommerce-password-strength.strong {
                    background: #88e773;
                    color: #545353;
                }

            .woocommerce-password-hint {
                display: block;
                border: 1px solid #8d8d8d;
                border-top: 0;
                line-height: 16px;
                padding: 10px;
            }








/* WooCommerce - Product Listing */

.woocommerce-result-count {
    text-align: center;
    margin-top: 30px;
}

form.woocommerce-ordering {
    margin: 0 auto 30px;
    max-width: 300px;    
}

.products {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0 calc((800px - 1200px) / 2);
    max-width: 1200px;
    padding: 0 0 60px;
    width: 1220px;
}

    .products .product {
        box-sizing: border-box;
        margin: 20px;
        padding: 15px;
        position: relative;
        width: calc(33.333333333% - 40px);
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    }

        .products .product a {
            text-decoration: none;
        }

            .products .product img {
                display: block;
                margin: -15px -15px 10px;
                max-width: initial;
                width: calc(100% + 30px);
            }

            .products .product h2 {
                display: inline-block;
                font-size: 18px;
                font-family: gemcore_bold;
                line-height: 18px;
                margin: 0 0 10px;
            }

            .products .product .display-posts-excerpt {
                color: #444;
                font-size: 14px;
                line-height: 19px;
                margin: 0 0 10px;
            }

        .products .product .button {
            margin: 0;
        }


    /* WooCommerce - Paging */

    ul.page-numbers {
        list-style: none;
        margin: 10px 0 40px;
        padding: 0;
        text-align: center;
    }

        ul.page-numbers li {
            display: inline-block;
            font-size: 15px;
            margin: 0 5px;
            vertical-align: middle;  
        }

        ul.page-numbers li:first-child:before {
            content: "Pages: ";
            display: inline-block;
            font-size: 16px;
            margin-right: 17px;
        }

            ul.page-numbers li a {
                text-decoration: none; 
            }






/* WooCommerce - Product Detail */

.single-product .product {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0 20px;
}

    .woocommerce-product-gallery {
        margin-bottom: 40px;
        width: 50%;
    }

        .woocommerce-product-gallery__trigger {
            display: none;
        }

        .woocommerce-product-gallery figure {
            margin: 0 20px 0 0;
        }

    .product .summary {
        margin-bottom: 40px;
        width: 50%;    
    }

        .product .summary p,
        .product .summary ul,
        .product .summary ol {
            margin-bottom: 20px;   
        }

        .product .summary .price {
            font-size: 30px;
            line-height: 30px;
        }

        .product .summary .cart {
            display: flex;
        }

            .product .summary .quantity {
                flex: 0 0 60px;
            }

            .product .summary button {
                width: 100%;
            }


    /* WooCommerce - Related Products */

    .related.products {
        margin: 0;
        max-width: 100%;
        padding: 0;
        width: 100%;
    }

        .related.products > h2 {
            margin-bottom: 15px;
        }

        .related.products .products {
            margin: 0;
            max-width: 100%;
            padding: 0;
            width: 100%;
        }

            .related.products .product {
                display: block;
                margin: 10px;
            }

                .related.products .product .button {
                    display: block;
                }


    /* WooCommerce - Related Products (Cross Sell) */

    .cross-sells > h2 {
        margin-bottom: 5px;
    }

    .cross-sells .products {
        justify-content: flex-end;
        margin: 0;
        max-width: 100%;
        padding-bottom: 15px;
        width: 100%;
    }

        .cross-sells .products .product {
            margin: 10px;
            text-align: left;
        }

            .cross-sells .products .product img {
                margin: 0 auto;
                width: 80%;
            }


            

                

@media only screen and (max-width: 1440px){
    
    /* WooCommerce - Product Listing */

    .products {
        margin-left: calc(50% - 40vw);
        margin-right: calc(50% - 40vw);
        max-width: 80vw;
        width: 80vw;
    }

}


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

    /* WooCommerce Account */

    .woocommerce-account h1 {
        padding-left: 0;
    }

    .woocommerce-account div.woocommerce {
        display: block;
    }

        .woocommerce-MyAccount-navigation {
            margin: 0 0 20px;
            padding-right: 0;
        }

            .woocommerce-MyAccount-navigation li {
                display: inline-block;
                margin: 0 10px 10px 0;
            }

        .woocommerce-MyAccount-content {
            width: 100%;
        }


    /* WooCommerce - Product Listing */

    .products {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        padding: 0 0 40px;
        width: 100%;
    }
        .products .product, 
        .related.products .product {
            margin: 0 auto 10px;
            width: calc(33.333333333% - 20px);
        }

}


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

    /* WooCommerce - General Forms */

    .woocommerce-page .form-row {
        width: 100% !important;
    }

    .checkout-button.button, 
    #place_order.button {
        font-size: 17px;
        line-height: 21px;
        padding: 12px 20px;
    }


    /* WooCommerce Account - Orders / Payment Methods / Cart Tables */

    .shop_table th,
    .shop_table td {
        font-size: .90em;
        line-height: initial;
    }

    .woocommerce-account.woocommerce-orders .woocommerce-MyAccount-content,
    .woocommerce-account.woocommerce-payment-methods .woocommerce-MyAccount-content,
    .woocommerce-cart .woocommerce-cart-form {
        overflow-x: scroll;
    }

        .woocommerce-account.woocommerce-orders .woocommerce-MyAccount-content .woocommerce-MyAccount-orders *,
        .woocommerce-account.woocommerce-payment-methods .woocommerce-MyAccount-content .sv-wc-payment-gateway-my-payment-methods-table *,
        .woocommerce-cart .woocommerce-cart-form .woocommerce-cart-form__contents * {
            font-size: .95em;
            line-height: initial;
        }

        .woocommerce-account.woocommerce-orders .woocommerce-MyAccount-content .woocommerce-MyAccount-orders th,
        .woocommerce-account.woocommerce-orders .woocommerce-MyAccount-content .woocommerce-MyAccount-orders td {
            padding: 5px;
        }

        .woocommerce-account.woocommerce-orders .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .button {
            padding: 5px 10px;
        }

        .woocommerce-cart .woocommerce-cart-form .woocommerce-cart-form__contents input.qty {
            padding: 5px;
            width: 40px;
        }


    /* WooCommerce Account - Login/Register/Checkout Login */

    #customer_login {
        display: block;
        padding: 0;
    }

    .page-register #customer_login {
        padding: 30px 0 0;
    }

        #customer_login > div.col-1,
        #customer_login > div.col-2 {
            margin: 0 0 50px;
            padding: 0;
            width: 100%;
        }

        #customer_login > div.col-2 {
            border: none;
            border-top: 1px solid rgba(0, 0, 0, 0.12);
            padding: 20px 0 0;
        }
            
            #customer_login form[class*="woocommerce-"].woocommerce-form-login {
                max-width: 100%;
            }

            #customer_login .signature-pad-wrap {
                background: #fff;
                border: 1px solid #afafaf;
                height: 100px;
                margin-bottom: 4px;
                overflow: hidden;
                width: 100%;
            }

                #customer_login .signature-pad-wrap canvas {
                    border: none;
                }
    

    /* WooCommerce - Product Listing */

    .products .product,
    .related.products .product {
        margin: 0 auto 20px !important;
        text-align: center;
        max-width: 375px;
        width: calc(100%) !important;
    }


    /* WooCommerce - Related Products (Cross Sell) */

    .cross-sells .products .product img {
        margin: -15px -15px 10px;
        width: calc(100% + 30px);
    }


    /* WooCommerce - Product Detail */

    .woocommerce-product-gallery {
        margin-bottom: 20px;
        width: 100%;
    }

        .woocommerce-product-gallery figure {
            margin: 0;
        }

    .product .summary {
        margin-bottom: 40px;
        width: 100%;
    }


    /* WooCommerce - Cart */

    table.cart td.actions .coupon,
    .cart-collaterals .cart_totals {
        width: 100%;
    }

}


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

    /* WooCommerce - Checkout */

    #payment .methods > li .payment_box {
        margin: 12px 0 30px 0;
    }

}