/* 
Theme Name: The Image Flow
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

#product-purchase {
    .container {
        margin-top: 40px;
        display: flex;
        flex-direction: column;
    }

    .spinner-border {
        border: 8px solid #f3f3f3;
        border-top: 8px solid #EE3524;
        border-radius: 50%;
        width:80px;
        height: 80px;
        animation: spin 2s linear infinite;
        margin: 0 auto
    }


    .two-column {
        display: flex;
        flex-direction: row;
        gap: 16px;

        &.reverse {
            flex-direction: row-reverse;
        }

        > * {
            width: 50%;
        }
        @media (max-width: 992px) {
            flex-direction: column;
            &.reverse {
                flex-direction: column;
            }
            > * {
                width: 100%;
            }
        }
    }

    .hidden {
        display: none !important;
    }

    .text-center {
        text-align: center;
    }

    .support {
        margin: 40px 0;
    }

    .uploadcare--widget {
        border: 1px dashed black;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        padding: 2em 0;
        .uploadcare--widget__dragndrop-area {
            position: absolute;
            opacity: 0.3;
            border-radius: 0;
            border: none;
            pointer-events: none;
            user-select: none;

        }
        button.uploadcare--widget__button {
            border: 1.5px solid #EE3524;
            border-radius: 0;
            background-color: white !important;
            color:#EE3524 !important;
            text-transform: none !important;
            text-shadow: unset !important;
            box-shadow: 0 !important; 
            font-size: unset;
            text-decoration: none !important;
            font-weight:400 !important;
            line-height: unset !important;
            &:hover {
                text-decoration: none !important;
                box-shadow: none !important;
                padding: 6px 12px 6px 12px !important;
                line-height: unset !important;
                background-color: #e5e5e5 !important;
            }
        }
        &:after {
            padding-top: 24px;
            display: block;
            content: "or drop one here";            
        }
    }

    #product-select {

        text-align: center;

        /* .product-select {
            margin-top: 200px;
        } */

        .product-types {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 16px;

            > * {
                border: 1px solid black;
                padding: 4px;
                display: inline;
                width: 180px;
                cursor: pointer;
            }
        }


    }
    #image-preview {

        margin-top: 3em;

        .header {
            text-transform: uppercase;
            text-align: left;
            margin-bottom: 1px;
           
        }

        .file-details {
            margin-top: 1px;
            text-align: left;

            .view-details {
                display: flex;
                align-items: center;
            }
        }
    }    
    .crop-button, .upload-button {
        border: 1px solid black;
        display: inline-block;
        padding: 4px;
        margin: 10px 0;
    }

    .bg-gray {
        background-color: rgba(250, 250, 250, 1);
        padding: 12px;
    }
    .rotate-90 {
        transform: rotate(90deg);
    }

    #price_calculator {
        tbody tr:hover > td {
            background-color: white !important;
        }        
        input {
            width: 100px !important;
        }
    }

    /* .price {
        display: none;
    } */

    #ppi-notify, #crop-notify, #upload-notification,#upload-size-notification {
        padding: 16px;
        margin: 16px 0;
        color: black;
        &.invisible {
            visibility: hidden;
            height: 0;
        }
        &.bg-gray {
            background-color: rgb(231, 231, 231);
        }
        &.bg-red {
            background-color: rgb(244, 196, 196);
        }
        &.bg-orange {
            background-color: rgb(250, 232, 198);
        }
        &.bg-yellow {
            background-color: rgb(255, 252, 209);
        }
        &.bg-green {
            background-color: rgb(204, 255, 215);
        }
        &.bg-teal {
            background-color: rgb(188, 255, 245);
        }
        &.bg-blue {
            background-color: rgb(207, 232, 255);
        }
        &.bg-indigo {
            background-color: rgb(204, 200, 255);
        }
        &.bg-purple {
            background-color: rgb(232, 195, 255);
        }
        &.bg-pink {
            background-color: rgb(254, 207, 255);
        }
        .font-bold {
            font-weight: bold;
        }
    }
    .product-footer {
        text-align: center;
        padding: 40px 0 30px 0;
        margin: 40px 0;
        border-top: 2px solid #d9d9d9;
        border-bottom: 2px solid #d9d9d9;
    }


}

.uploadcare--crop-widget {
    > *:first-child {
        img {
            display: none;
        }        
    }

}

.rush-fee-row {
    .rush-fee-controls {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .rush-fee-select {
        font-size: inherit;
        background-color: #fff;
    }

    .rush-fee-amount {
        white-space: nowrap;
        font-weight: 600;
    }

    .rush-fee-message {
        display: block;
        margin-top: 4px;
        font-weight: normal;
        color: #555;
    }
}

.cart-add-a-print {
    /* float: right;
    width: 48%; */
    text-align: right;
    margin: 30px 10px 30px 0;;
    /* .button {
        margin: 0 auto;
    } */
}

.cart-collaterals {
    clear: both;
}

.woocommerce-cart table.cart img {
    width: 200px;
}




/* empty cart */

.return-to-shop {
    text-align: center;
    margin-top: 20px;
}

