/*
Theme Name: Wetail Theme
Theme URI: https://wetail.io
Version: 1.0
Description: The theme that your Wetail install starts with.
Author: Wetail
Author URI: https://wetail.io
template: bb-theme
*/

@import url('css/slide-cart.css');

a, a:hover, a:active, a:visited {
	text-decoration: none;
}

.fl-page-bar,
.fl-page-header-wrap,
.fl-page-nav-wrap {
	border: none !important;
}

/* Cart */
.user a:before {
    font-family: fontawesome;
    content: "\f007";
    padding: 0 7px 0 0;
}
/*
.cart a:before {
    font-family: fontawesome;
    content: "\f07a";
    padding: 0 7px 0 0;
}
*7
/* Transperent Header Template */
body.page-template-page-transparentheader .fl-page-bar {
    border-bottom: none;
    background: none;
    position: fixed;
    width: 100%;
    z-index: 100;
}
body.page-template-page-transparentheader header.fl-page-header-primary {
    position: fixed;
    z-index:99;
    width: 100%;
    background: none;

}

/**
* Minicart
*/
.fl-page-bar .widget.woocommerce.widget_shopping_cart > .widget_shopping_cart_content,
#menu-main-1 .widget.woocommerce.widget_shopping_cart > .widget_shopping_cart_content {
    z-index: 188882;
    background: #fff;
    box-shadow: -1px 3px 5px #888888;
    position: absolute;
    top: 38px;
}
@media screen and (min-width: 768px) {
    #menu-main-1 .widget.woocommerce.widget_shopping_cart > .widget_shopping_cart_content {
        right: 0;
    }
}
@media screen and (max-width: 767px) {
    #menu-main-1 .widget.woocommerce.widget_shopping_cart > .widget_shopping_cart_content {
        left: 0;
        top: -3px;
    }
}
#menu-main-1 .widget.woocommerce.widget_shopping_cart {
    height: 0;
    width: 100%;
    position: relative;
}
.fl-page-bar .widget.woocommerce.widget_shopping_cart {
    position: absolute;
    top: 23px;
    right: 0;
}
.fl-page-bar .widget.woocommerce.widget_shopping_cart.on_screen,
#menu-main-1 .widget.woocommerce.widget_shopping_cart.on_screen {
    display: block;
}
.fl-page-bar .widget.woocommerce.widget_shopping_cart.off_screen,
#menu-main-1 .widget.woocommerce.widget_shopping_cart.off_screen {
    display: none;
}

.woocommerce-order-received.woocommerce table.shop_table thead th, .woocommerce-order-received.woocommerce-page table.shop_table thead th {
    border-bottom: 0;
}

.woocommerce-order-received .woocommerce-columns--addresses.addresses .woocommerce-column{
    background: #FFFFFF;
}

.woocommerce-order-received .woocommerce section.woocommerce-customer-details > .woocommerce-columns > .woocommerce-column.col-1,
.woocommerce-order-received .woocommerce section.woocommerce-customer-details > .woocommerce-columns > .woocommerce-column.col-2 {
    width: calc(50% - 10px);
    max-width: 100%;
}

.woocommerce-order-received #cart-widget-block {
    display: none !important;
}

.woocommerce-order-received .site-main > div{
    display: block !important;
    visibility: visible !important;

}

.woocommerce a.checkout-button.button.wc-forward {
    margin-top: 1em;
}

.woocommerce a.added_to_cart {
    margin-top: 5px;
}

/* Set two columns instead of one in mobile mode */
@media (max-width: 767px) {
    .woocommerce ul.products[class*="columns-"] li.product, .woocommerce-page ul.products[class*="columns-"] li.product {
        width: 46%;
    }
    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product,
    .woocommerce .related ul.products li.product,
    .woocommerce-page .related ul.products li.product,
    .woocommerce .upsells.products ul.products li.product,
    .woocommerce-page .upsells.products ul.products li.product,
    .woocommerce[class*=columns-] ul.products li.product,
    .woocommerce-page[class*=columns-] ul.products li.product {
        float: left !important;
        max-width: none;
    }
    .woocommerce ul.products li.product:nth-child(2n+1),
    .woocommerce-page ul.products li.product:nth-child(2n+1),
    .woocommerce .related ul.products li.product:nth-child(2n+1),
    .woocommerce-page .related ul.products li.product:nth-child(2n+1),
    .woocommerce .upsells.products ul.products li.product:nth-child(2n+1),
    .woocommerce-page .upsells.products ul.products li.product:nth-child(2n+1),
    .woocommerce[class*=columns-] ul.products li.product:nth-child(2n+1),
    .woocommerce-page[class*=columns-] ul.products li.product:nth-child(2n+1) {
        margin-right: 8% !important;
        clear: both;
    }
}


/* Language picker */
html .lang-toggle {
    width: 14px;
    height: 14px;
    background-size: 14px;
    background-position: center;
    border-radius: 25px;
    font-style: normal;
    align-self: flex-start;
    margin: 0 10px -2px 10px;
}
html .lang-toggle > a {
    display: none;
}
html .lang-toggle ul.sub-menu {
    background: #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    border-radius:  3px;
    font-size: 14px;
    margin: 0 0 0 -10px;
    padding: 5px 10px;
    list-style: none;
    width: auto;
}
html .lang-toggle ul.sub-menu li {
    margin: 5px 0;
}
html[lang="sv-SE"] .lang-toggle {
    background-image: url('img/icons/sweden.svg');
}
html[lang="en-US"] .lang-toggle {
    background-image: url('img/icons/united-kingdom.svg');
}
.lang-toggle:hover > ul.nav.lang-nav {
    display: block;
}
@media screen and (max-width: 1050px) {
    html .lang-toggle {
        margin-top: -5px;
    }
}


.display-none {
    display: none !important;
}
