/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

button#place_order {
    background-color: #A1A7AC;
}

body .woocommerce .wpmc-nav-wrapper>button#wpmc-skip-login {
    display: none !important;
}


/* .wallet-pay-partial {
    display: none !important;
} */

button.use-current {
    background-color: #a1a7ac;
    color: white;
    border-radius: 10px;
    text-transform: capitalize;
}

div#invalid-fields {
    color: red;
    border-bottom: 1px solid black;
}


.mobile-login {
    position: fixed;
    bottom: 16px;
    left: 20px;
    align-items: center;
    height: 54px;
    border-radius: 27px;
    width: 40%;
    background-color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    border: 1px solid #7fa83b;
}

.smartship-error {
    text-align: center;
    padding: 1rem;
    border: 0.5rem;
    margin-bottom: 1rem;
    color: white !important;
    background-color: red !important;
    font-weight: bold;
    border-bottom: 1px solid red;
}


.mobile-login>a {
    color: #555555;
    font-weight: bold;
}

@media only screen and (max-width: 600px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

    body.single a.add_to_wishlist.single_add_to_wishlist.button.alt {
        top: 0 !important;
        float: unset !important;
        display: block;
        width: 200px;
        margin: auto;
    }

    .products a.add_to_wishlist {
        border: none;
        float: right;
        top: -10px !important;
    }

}

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

    body.single .product-info a.add_to_wishlist.single_add_to_wishlist.button.alt {
        float: right;
        top: -80px;
    }

}

/* address validation **/

#validation-area{
    display: none;
    width: 100%;
    margin: auto;
    text-align: center;
    padding: 1rem;
    border: 1px solid red;
}

#validation-area h3 {
    text-align: center;
    display: none;
}

#validation-area div {
    display: none;
}

#validation-area.show{
    display: block;
}

#validation-area.suggest .suggest-item{
    display: block;
}
#validation-area.suggest .error-item{
    display: none;
}
#validation-area.suggest .suggest-item div{
    display: block;
	/* box-shadow: -3px 3px green, -2px 2px green, -1px 1px green; 
	border: 1px solid green; */
}
#validation-area.error .error-item{
    display: block;
}
#validation-area.error .suggest-item{
    display: none;
}

#validation-area.error .error-item div{
    display: block;
}

#validation-area .address-content {
    padding: 0.25rem;
    margin-bottom: 0.5rem;
    background-color: #dfdfdf;
    border-radius: 0.25rem;
}

#suggested-address span.option-title {
    font-weight: bold;
}

#validation-area.suggest .suggest-item div.address-content:hover {
    text-decoration: underline;
    cursor: pointer;
}


.mobile-login>a {
    color: #555555;
    font-weight: bold;
}

.has-phone-code {
    position: relative;
}

span.phone-code {
    position: absolute;
    left: 5px;
    top: 36px;
    font-size:16px;
    width: 40px;
    text-align: center;
}

div#suggested-address {
    display: flex;
}


.address-content {
    background-color: #a1a7ac !important;
    color: white;
    font-weight: bold;
    text-decoration: underline;
    border-radius: 16px;
    border: 1px solid transparent;
}



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

    tr.wallet-pay-partial {
        position: relative;
        height: 120px;
    }
    
    tr.wallet-pay-partial>th {
        width: 100%;
        display: block;
        flex: 1;
        text-align: center;
    }
    
    tr.wallet-pay-partial span.amount-area {
        position: absolute;
        left: 0;
        width: 100%;
        top: 30px;
    }
    
    .wpmc-nav-wrapper {
        margin-top: 0;
        justify-content: space-between;
    }
    
    input#wallet-amount {
        width: 100%;
    }
    
    .wallet-buttons {
        display: flex;
        justify-content: space-evenly;
    }
    
    button#wpmc-next {
        width: 120px;
        background-color: #3f6005;
    }

    tr.fee.full-amount-row {
        height: 110px;
        position: relative;
    }
    
    tr.fee.full-amount-row>th {
        width: 100%;
    }
    
    
    
    tr.fee.full-amount-row .wallet-buttons {
        position: absolute;
        left: 10%;
        top: 60px;
        width: 80%;
    }

}


button#place_order {
    background-color: #A1A7AC;
}

body .woocommerce .wpmc-nav-wrapper>button#wpmc-skip-login {
    display: none !important;
}


/* .wallet-pay-partial {
    display: none !important;
} */

.error-focus {
    border-color: red !important;
    border-width: 2px !important;
}


.mobile-login {
    position: fixed;
    bottom: 16px;
    left: 20px;
    align-items: center;
    height: 54px;
    border-radius: 27px;
    width: 40%;
    background-color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    border: 1px solid #7fa83b;
}

.smartship-error {
    text-align: center;
    padding: 1rem;
    border: 0.5rem;
    margin-bottom: 1rem;
    color: white !important;
    background-color: red !important;
    font-weight: bold;
    border-bottom: 1px solid red;
}


.mobile-login>a {
    color: #555555;
    font-weight: bold;
}

@media only screen and (max-width: 600px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

    body.single a.add_to_wishlist.single_add_to_wishlist.button.alt {
        top: 0 !important;
        float: unset !important;
        display: block;
        width: 200px;
        margin: auto;
    }

    .products a.add_to_wishlist {
        border: none;
        float: right;
        top: -10px !important;
    }

}

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

    body.single .product-info a.add_to_wishlist.single_add_to_wishlist.button.alt {
        float: right;
        top: -80px;
    }

}

/* address validation **/

#validation-area{
    display: none;
    width: 100% !important;
    margin: auto;
    text-align: center;
    padding: 1rem;
    border: 1px solid red;
}

#validation-area h3 {
    text-align: center;
    display: none;
}

#validation-area div {
    display: none;
}

#validation-area.show{
    display: block;
}

#validation-area.suggest .suggest-item{
    display: block;
}
#validation-area.suggest .error-item{
    display: none;
}
#validation-area.suggest .suggest-item div{
    display: block;
	/* box-shadow: -3px 3px green, -2px 2px green, -1px 1px green; 
	border: 1px solid green; */
}
#validation-area.error .error-item{
    display: block;
}
#validation-area.error .suggest-item{
    display: none;
}

#validation-area.error .error-item div{
    display: block;
}

#validation-area .address-content {
    padding: 0.25rem;
    margin-bottom: 0.5rem;
    background-color: #dfdfdf;
    border-radius: 0.25rem;
}

#suggested-address span.option-title {
    font-weight: bold;
}

#validation-area.suggest .suggest-item div.address-content:hover {
    text-decoration: underline;
    cursor: pointer;
}


.mobile-login>a {
    color: #555555;
    font-weight: bold;
}

.has-phone-code {
    position: relative;
}

span.phone-code {
    position: absolute;
    left: 5px;
    top: 36px;
    font-size:16px;
    width: 40px;
    text-align: center;
}


/* for order summary */

.order-review {
    display: flex;
    width: 70%;
    text-align: center;
    margin: auto;
}

.order-review>div {
    flex: 1;
    padding: 1rem;
    margin: 1rem;
    background-color: white;
    border: 1px solid #ccc;
}

.order-summary td {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.order-summary td.shipping__inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

button#edit-root-address {
    background-color: grey;
    color: white;
    text-transform: capitalize;
    margin-top: 1rem;
    border-radius: 0.5rem;
}


.order-review tr.wallet-pay-partial {
    display: none;
}

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

    .order-review {
        width: 100%;
        flex-direction: column;
    }
    
    .order-review>div {
        margin: 0.25rem;
        padding: 0.5rem;
    }

}