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

/*************** ADD CUSTOM CSS HERE.   ***************/
b, strong
{
    color: #444;
}

.wp-block-getwid-banner__caption-wrapper /* GetWid plugin home blocks */
{
    border: 1px solid #fff;
    padding: 10px;
    background: rgba(255,255,255,0.9);
    color: #000;
    border-radius: 1px;
}

.home .col-inner ul li /* Bottom home blocks (GetWid) */
{
    margin-left: 0;
}

.nav-left /* Top social menu */
{
    justify-content: flex-end;
    padding-right: 20px;
}

/* Woo Product Filter plugin */
.col-inner .wpfWoofiltersWidget ul li
{
    margin-left: 0;
}

.wpfCurrencySymbol, .wpfPriceRangeField#wpfMinPrice, .wpfPriceRangeField#wpfMaxPrice
{
    font-weight: bold !important;
}

.wpfFilterButton.wpfButton, .wpfClearButton.wpfButton
{
    width: 40% !important;
    border: 1px solid #000 !important;
}

/* Woo Product Filter plugin colors hack */
.SCRIPT_color_container li, .SCRIPT_color_container label
{
    display: inline !important;
}

.SCRIPT_color_container .wpfCheckbox
{
    width: 38px;
    height: 38px;
    border: 1px solid #000;
    border-radius: 20px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.SCRIPT_color_container .wpfCheckbox label
{
    left: 10px;
    top: 10px;
}

.wpfFilterWrapper .SCRIPT_color_container .wpfCheckbox label::before
{
    background-color: transparent !important;
    border: 0 !important;
    /*border-radius: 20px !important;
    background-color: #fff !important;*/
}

.wpfFilterWrapper .SCRIPT_color_container .wpfCheckbox input[type="checkbox"]:checked + label::before
{
    border-radius: 20px !important;
    background-color: #fff !important;
}

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

}

.desktop_h1_show /* Show h1 before image */
{
    display: block;
}

.mobile_h1_show
{
    display: none;
}

/* woocommerce_before_main_content / woocommerce_after_main_content hooks potential menu */
.cat_submenu
{
    margin-top: 30px;
}

.cat_submenu_top
{
    margin-top: -20px;
}

@media screen and (max-width: 849px) /* Burger menu appears here */
{
    .nav-left
    {
        justify-content: flex-start;
    }

    .desktop_h1_show
    {
        display: none;
    }

    .mobile_h1_show
    {
        display: block;
    }

    .cat_submenu, .cat_submenu li
    {
        text-align: center !important;
    }

    .large-2x, .large-3x /* Newsletter mobile block */
    {
        max-width: 90%;
        margin: 0 auto;
    }

    .wp-block-column /* Home blocks */
    {
        margin-bottom: 20px;
    }

    .wpfPriceRangeField#wpfMinPrice, .wpfPriceRangeField#wpfMaxPrice
    {
        width: auto !important;
    }

    .n2-ss-slider .n2-ss-layer-content>[data-cssselfalign=right] /* Smart Slider 3 - desktop right alignment becomes center alignment in mobile */
    {
        align-self: center!important;
    }

    /* Side margins to avoid text go over "move slide" buttons */
    .home_slider_margin
    {
        margin-right: 25px !important;
        margin-left: 25px !important;
    }

    /* "Media and Text block" on mobile */
    .wp-block-media-text__media
    {
        margin-bottom: 50px !important;
    }

    /* 3 columns on desktop - 2 on mobile */
    .columns_3_2
    {
      -webkit-column-count: 2;
         -moz-column-count: 2;
              column-count: 2;
      -webkit-column-width: 100px;
         -moz-column-width: 100px;
              column-width: 100px;
    }

    /* WooCommerce Long Description */
    .tab-panels img
    {
        width: 100%;
    }
}

@media screen and (min-width: 850px) /* Burger menu diappears here and desktop mode starts */
{
    h1.shop-page-title
    {
        text-align: right !important;
        padding-right: 40px;
    }

    .cat_submenu
    {
        vert-align: top;
        width: 50%;
        display: inline-table;
    }

    /* Side margins to avoid text go over "move slide" buttons */
    .home_slider_margin
    {
        margin-right: 50px !important;
        margin-left: 50px !important;
    }

    /* "Media and Text block" on desktop */
    .wp-block-media-text
    {
        margin-bottom: 20px !important;
    }

    /* 3 columns on desktop - 2 on mobile */
    .columns_3_2
    {
      -webkit-column-count: 3;
         -moz-column-count: 3;
              column-count: 3;
      -webkit-column-width: 100px;
         -moz-column-width: 100px;
              column-width: 100px;
    }
}

/* Right side bar blocks */
.large-2x, .large-3x
{
    padding: 0;
}

/* WooCommerce TM Extra Product Options plugin */
.tm-unit-price, .tm-fee-totals, .tm-final-totals, .tm-options-totals, .tm-subscription-fee
{
    display: block;
}

dd.tm-options-totals
{
    margin-bottom: 10px;
}

/* WooCommerce category text band */
.box-badge .box-text
{
    background-color: #333;
    bottom: 5%;
}

.box-badge:hover .box-text
{
    background-color: rgba(255,255,255,0.9) !important;
}

.hover-dark h5
{
    color: #fff;
}

.hover-dark:hover h5
{
    color: #333;
}

.absolute-footer
{
    padding-top: 30px;
}

body.page-template-custom-page-template .parallax-title
{
    margin-bottom: 0;
}
/* Gelateria Belvedere */
.home_products .wc-block-grid__product-title
{
    font-size: 1.5em;
}