/*
Theme Name: Keys4Coins child theme
Author: Keys4Coins
Author URI: https://keys4coins.com
Description: Child theme
Version: 0.2.2.7
Text Domain: flatsome
Template: flatsome
*/

/* Fixup Keys4Coins Gift Card input field */
@media (min-width: 850px) {
    .checkout_pw_gift_card .form-row-first, .checkout_pw_gift_card .form-row-last {
        width: 25% !important;
    }
}

@media screen and (min-width: 850px) {
    /* Fix Woocommerce notices width during checkout processing */
    .woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout {
        width: 50%;
    }
    /* Fix width of gift cards is too wide */
    .checkout_coupon.woocommerce-form-coupon.has-border.is-dashed {
        max-width: 50%;
    }
}

/* Add store notice warning */
.warning-color {
    color: #f7941e;
    font-weight: bold;
    font-size: .97em;
}

/* Fix checkout left fields are too wide!
.page-checkout .message-wrapper {
    width: 50%;
} */

.product_cat_slider {
    height: 220px;
}

#place_order {
    top: 15px;
}

del span.amount {
    display: none;
}

#cw_payment_currency_field {
    /*margin-top: 10px; use 10px when we have label*/
    margin-top: 20px;
}
/*#cw_payment_currency_field label {
    display: none;
}*/

@media screen and (min-width: 850px) {
    #checkout_payment_column {
        margin-top: -160px;
    }
}

.woocommerce-checkout #payment input#payment_method_stripe {
    left: 45px;
}

.woocs_auto_switcher.right {
    width: auto !important;
    top: auto;
    bottom: 22%;
    height: 50%;
}
.woocs_auto_switcher.right li {
    max-height: 9%;
}

/* Make blog post images original size */
.entry-image img {
    width: auto !important;
}

/* make previous and next button on home page slider more visible */
.flickity-prev-next-button .arrow {
    fill: orange !important;
}
button.flickity-prev-next-button {
    color: orange !important;
}

/*
@media only screen and (min-width: 48em){
  div#customer_details {
    width: 40%;
  }
  div#order_review {
    //margin-top: -70px;
    margin-bottom: 40px;
  }
}
*/

.oneall_social_login {
    width: 410px;
    margin: 0;
    margin-bottom: 20px;
    height: 60px;
    overflow: hidden;
}
#social_login_frame .footer {
    display: none;
}

/* fix checkout currencies placements */
div#estd_order_total_checkout {
    margin-top: 20px !important;
}
.cw-col-3 {
    width: auto !important;
}


/* Fix autosearch design */
input.search-field.mb-0 {
    border-left: 1px solid gray;
    border-top: 1px solid gray;
}
.autocomplete-selected span.amount {
    color: white !important;
}
.live-search-results.text-left.z-top {
    border: 1px solid gray !important;
}
.autocomplete-suggestion {
    background-color: white !important;
}
.autocomplete-selected {
    background-color: #627f9a !important;
    color: white;
}
.autocomplete-suggestion .search-price {
    font-size: 1em !important;
}

/* Fix checkout format for flatsome 3.1 */
.checkout-group.woo-billing, .woocommerce-shipping-fields{
    width: 80%;
}

/* Fix text height for flatsome 3.1 */
.lightbox {
line-height: normal;
}

/* Fix buttons on product page slideshow */
.product_gallery .lightbox {
    position: relative !important;
}

/* Remove waitlist from wishlist */
#yith-wcwl-form > p.stock.out-msg.out-of-stock, 
#yith-wcwl-form > p.oos-message, 
#yith-wcwl-form > div.wew-notification-action_wrapper, 
#yith-wcwl-form > div.wishlist-title {
    display: none;
}

/* Display price info icon on product pages nicely*/
/*
div:nth-child(1) > div.product-info.large-4.small-12.columns.left > div:nth-child(5) > p.price {
    margin-left: 27px;
    margin-bottom: 0px;
}
div:nth-child(1) > div.product-info.large-4.small-12.columns.left > div:nth-child(5) > div {
    top: -16px;
}
*/

/* Hide simple dropdown currency switch */
select.woocommerce-currency-switcher {
    display:none;
}

/* Edit currency switch to match menu */
.nav.header-bottom-nav.nav-center.mobile-nav.nav-size-medium.nav-uppercase {
    width: max-content;
}
.woocommerce-currency-switcher-form {
    position: absolute;
    left: 220px;
    top: 2px;
}
.chosen-container-single .chosen-single {
    height: 30px !important;
    line-height: 27px !important;
    top: 2px;
}
.chosen-container.chosen-container-single {
    min-width: 90px;
    max-width: 90px;
}
#masthead > div > div > div.right-links > ul > li.html-block > div > form > div.chosen-container.chosen-container-single.chosen-container-single-nosearch > a > span {
    color: #000;
    opacity: .6;
}
li.html-block > div > form > div.chosen-container.chosen-container-single.chosen-container-single-nosearch > a {
    border-radius: 0px;
    background: white;
}

/* Reduce space between page content and footer */
div#content {
    margin-bottom: -40px;
}
/* Add space between content and footer on my account page */
#content > div > div.large-9.columns > div > div > div > address {
    margin-bottom: 50px;
}

/* Hide currency text on currency switch */
form#currency-switch-form {
    /*color: white;*/
}

/* Make testimonial slider buttons visible */
button.flickity-prev-next-button {
    opacity: 0.7;
}
/* Move previous and next buttons slightly to the left */
button.flickity-prev-next-button.previous {
    margin-left: -10px;
}
/* Move testimonial image slightly to right */
div.testimonial_image > img {
    margin-left: 20px;
}

/* add proper spacing before continue shopping button in register page */
a.button-continue-shopping.button.alt-button.small {
    margin-top: 30px;
}

/* Adjust account balance and apply button on checkout for affiliate */
#content > div.woocommerce > div > div > div:nth-child(5) > div {
    width: 30%;
}
#content > div.woocommerce > div > div > div:nth-child(5) > div > a {
    margin-top: 10px;
    margin-left: 10px;
}

div#cryptowoo_checkout_field {
  padding: 0em;
}
li.payment_method_cryptowoo {
  line-height: normal;
}
/* Hide the cryptowoo payment gateway description
#payment > ul > li > div > p:nth-child(1) {
  display: none;
  margin-bottom: -50px;
}
*/
p#billing_email_field {
    margin-top: 10px;
}
p#refund_address_field {
    margin-top: -20px;
}
div#cryptowoo_checkout_field {
    margin-top: -15px;
}

.page-wrapper.page-checkout form.login {
    height: 510px;
    margin-bottom: 90px;
}

.woocommerce-billing-fields .oneall_social_login_providers {
    height: 100px;
}
#mc4wp-checkbox label {
    display: none;
}
input#_mc4wp_subscribe_woocommerce_checkout {
    margin-left: -10px;
}
select#affwp-payment-method {
    width: initial;
    margin: 0;
}


/*img.attachment-shop_catalog.wp-post-image {
    height: 247px !important;
    width: auto !important;
}
.info.style-grid1 {
    height: 170px;
}*/

div#currency-switch {
    height: 10px;
    margin: -10px 0px;
}
select#display_currency {
    height: 30px;
    margin-top: 3px;
    padding: 0em;
}

/* bg color blue for top bar */
.header-wrapper #top-bar {
    background-color: #627f9a;
}
/* bg color blue for mini cart product count */
.custom-cart-inner .custom-cart-count,
li.mini-cart:hover .custom-cart-count {
    background-color: #627f9a;
}