/* COMMON SITE LAYOUT */

body {
    background: #000 !important;
}

body header .has-base-background-color
, body footer {
    background: #000 !important;
}

body .um input[type=submit]:disabled:hover {
    background: #870012;
}

body .um a.um-button,
body .um a.um-button.um-disabled:active,
body .um a.um-button.um-disabled:focus,
body .um a.um-button.um-disabled:hover,
body .um input[type=submit].um-button,
body .um input[type=submit].um-button:focus {
    background: #870012;
}

.light {color: #f9a12f;}

.TC {text-align: center;}

/* fonts */
    /* font-family: "RobotoCondensed"; */
    @font-face {
        font-family: "RobotoCondensed";
        src: url("/wp-includes/fonts/RobotoCondensed/RobotoCondensed.eot");
        src: url("/wp-includes/fonts/RobotoCondensed/RobotoCondensed.eot?#iefix")format("embedded-opentype"),
        url("/wp-includes/fonts/RobotoCondensed/RobotoCondensed.woff") format("woff"),
        url("/wp-includes/fonts/RobotoCondensed/RobotoCondensed.ttf") format("truetype");
        font-style: normal;
    }

    body {
        font-family: "Roboto Condensed", sans-serif;
        font-size: 18px;
        background-color: #fff;
        position: relative;
        margin: 0;
        padding: 0;
    }

    h1, h2, h3, h4, h5, h6, .has-system-sans-serif-font-family {
        font-family: "Roboto Condensed", sans-serif !important;
    }

    h2:not(.clear)
    , .articles h1#title.title
    , main h1.wp-block-post-title
     {
        font-size: 32px;
        text-transform: uppercase;
        font-weight: bold;
        background: linear-gradient(to top, #fff 0%, #cccbcb 25%, #a7a7a7 50%, #9a9a9a 80%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        color: #676767;
        -webkit-filter: drop-shadow(0px 1px 0px rgb(0, 0, 0));
        filter: drop-shadow(0px 1px 0px rgb(0, 0, 0));
    }

    h2.recurrent_warning
     {
        background: linear-gradient(to top, #fff 0%, #fb8e8e 25%, #ff4c4c 50%, #c10000 80%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-filter: drop-shadow(0px 1px 0px rgb(0, 0, 0));
        filter: drop-shadow(0px 1px 0px rgb(0, 0, 0));

    }

    .wp-block-cover h2.clear
     {
        background: none;
        -webkit-background-clip: unset;
        -webkit-text-fill-color: unset;
        color: #fff;
    }

/* WC-STORE */
/* common hidden-rules */
    .wp-block-add-to-cart-form.wc-block-add-to-cart-form.wc-block-add-to-cart-form--input.wp-block-woocommerce-add-to-cart-form
    , .wp-block-woocommerce-product-meta
    , ul.tabs.wc-tabs
    , .woocommerce div.product .woocommerce-tabs .panel > h2
    , a.woocommerce-product-gallery__trigger
    , .wc-block-store-notices.wp-block-woocommerce-store-notices 
    /* shop elements*/, .wp-block-group.alignwide
    /* cart elements*/
        , table.wc-block-cart-items.wp-block-woocommerce-cart-line-items-block>thead
        , table.wc-block-cart-items.wp-block-woocommerce-cart-line-items-block th.wc-block-cart-items__header-total
        , table.wc-block-cart-items.wp-block-woocommerce-cart-line-items-block td.wc-block-cart-item__total
        , .wp-block-woocommerce-cart-order-summary-block
        , .wc-block-cart__payment-options
    /* checkout elements*/
    , h3#order_review_heading
    , div#customer_details h3
    , table.shop_table.woocommerce-checkout-review-order-table
    , table.wc-block-order-confirmation-totals__table > thead
    , table.wc-block-order-confirmation-totals__table > tfoot
    , table.wc-block-order-confirmation-totals__table .product-quantity
    , .wc-block-cart-item__quantity .wc-block-components-quantity-selector
    , .woocommerce-table.woocommerce-table--custom-fields.shop_table.custom-fields

    /* menu elements */
    /* , body.bfit_private li.wp-block-navigation-link.wp-block-navigation-item:nth-of-type(4) */
    /* , body.bfit_private li.wp-block-navigation-link.wp-block-navigation-item:nth-of-type(5) */
    /* , body.bfit_public .wp-block-buttons */

    /* main page elements*/
    , body.bfit_public .bfit_order_element
    , body.bfit_public .bfit_user_element
    , body.bfit_public .bfit_logout_element
    , body.bfit_private .bfit_singup_element
    , body.bfit_private .bfit_login_element

    /* user page elements*/
    , main .wp-block-group .wp-block-spacer
    , .um-profile .um-profile-nav
    , .um-profile .um-profile-body

    , .hidden_element
     { display: none !important;}

/* global template elements*/
    header.wp-block-template-part .wp-block-group.wc-blocks-header-pattern {
        padding: 0.5rem 1rem !important;        
    }

    .wc-block-components-product-price__value
    , .woocommerce-Price-amount.amount {
      font-size: 2rem;
    }

/* store product elements*/
    /*.wc-block-product-template__responsive .wc-block-components-product-image img {width: auto !important;}*/
    @media only screen and (max-width: 990px) {
      .wc-block-product-template__responsive.columns-3 { grid-template-columns: 50% 50%; }
    }
    @media only screen and (max-width: 640px) {
      .wc-block-product-template__responsive.columns-3 { grid-template-columns: 100%; }
    }
    
/* cart form elements*/
    .wc-block-components-sidebar-layout.wc-block-cart.wp-block-woocommerce-filled-cart-block.is-large {
        flex-direction: column;
        margin: auto;
    }
    @media only screen and (max-width: 640px) {
        .is-mobile table.wc-block-cart-items .wc-block-cart-items__row { grid-template-columns: 100%; }
        .is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product { grid-column-start:1; grid-row-start: 2; }
    }

/* checkout form elements*/
    .woocommerce-checkout #payment ul.payment_methods li .payment_box.payment_method_morkva-liqpay {margin-top: 0.125em;}
    .woocommerce-checkout #payment ul.payment_methods li label[for="payment_method_morkva-liqpay"] > img {
        margin: 0;
        margin-top: -0.5em;
    }
    .payment_box.payment_method_morkva-liqpay > p {margin: 0;}

    .wc-block-components-notice-banner a:where(:not(.wp-element-button))
    , :root :where(.wc-block-components-notice-banner a:where(:not(.wp-element-button)):hover)
     { color: #d60007; }

    .wc-block-components-notice-banner a.get_registred:where(:not(.wp-element-button))
    , :root :where(.wc-block-components-notice-banner a.get_registred:where(:not(.wp-element-button)):hover)
     { 
        padding: 0.5em 1em;
        color: #fff;
        background: #771115;
        border-radius: 0.35em;
        text-decoration: none;
    }
    /* Recurrent warning quote */
        /* hide recurrent warning on all pages*/
        .recurrent_warning
        , p#recurrent_warning.recurrent_warning
        , p#recurrent_warning.recurrent_warning + h1
        , p#recurrent_warning.recurrent_warning + h1 + h2
         { display: none; }

        /* show recurrent warning only on Woocommerce pages */
        .woocommerce .recurrent_warning
        , .woocommerce p#recurrent_warning.recurrent_warning
        , .woocommerce p#recurrent_warning.recurrent_warning + h1
        , .woocommerce p#recurrent_warning.recurrent_warning + h1 + h2
        { display: inherit; }

/* user page elements*/
    .payments_info {
        min-width: 1000px;
        .payment_row {font-size: 1rem;}
    }
    @media only screen and (max-width: 640px) {
        .payments_info {
          max-width: 90% !important;
          min-width: unset;
        }
        table.payments_info > tbody > tr > th {display: none;}
        table.payments_info > tbody > tr
        {
          display: grid;
          grid-template-columns: 100% 50% 50%;
        }

        table.payments_info > tbody > tr > td:nth-of-type(1)
        {
          grid-column-start:1;
          grid-row-start: 1;
        }
        table.payments_info > tbody > tr > td:nth-of-type(2)
        {
          grid-column-start:1;
          grid-row-start: 3;
          margin-bottom: 1.5rem;
        }
        table.payments_info > tbody > tr > td:nth-of-type(3)
        {
          grid-column-start:1;
          grid-row-start: 2;
          text-align: center;
          font-size: 2rem; 
        }
    }

    /* Main page header elements */
        @media only screen and (max-width: 640px) {
            .wp-site-blocks header {
              z-index: 100;
              position: relative;
            }
            header + .wp-block-cover.aligncenter.has-custom-content-position.is-position-center-right.bg_intro {
              padding-top: 0;
              margin-top: -60px !important;
            }

            header + .bg_intro span.wp-block-cover__background, .wp-block-cover__image-background {display: none;}

            h2#just-arrived { font-size: 1.5rem;}
        }