/*
 Theme Name:   Divi child
 Description:  Child theme fo Divi
 Template:     Divi
 Version:      1.0.0
 Author: Dipolis.com
 Author URI: http://dianosreceptai.lt
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  Divi-child
*/

#main-header{
    box-shadow: none;
}

.woocommerce ul.products li.product a{
    margin: 10px auto;
    display: table;
    white-space: nowrap;
}

.et_overlay{
    display: none;
}

@media screen and (max-width: 480px){
    .et_pb_shop ul.products.columns-3 li.product{
        width: 100% !important;
    }
}

.mobile_menu_bar::before, .mobile_menu_bar::after, #top-menu li.current-menu-ancestor > a, #top-menu li.current-menu-item > a{
    color: #000 !important;
}

.et_mobile_menu{
    border-top: 3px solid #000 !important;
}

.et-cart-info{
    display: none;
}

#top-header{
    padding-top: 5px;
}

a {
    color: #e94b35;
}

.et-pb-icon{
    font-size: 12px;
    padding-right: 5px;
}

.woocommerce .woocommerce-error, .woocommerce .woocommerce-info, .woocommerce .woocommerce-message{
    background: #222222;
}

.et_pb_shop_2.et_pb_shop .woocommerce ul.products li.product .price, .et_pb_shop_2.et_pb_shop .woocommerce ul.products li.product .price .amount, .et_pb_shop_3.et_pb_shop .woocommerce ul.products li.product .price, .et_pb_shop_3.et_pb_shop .woocommerce ul.products li.product .price .amount {
    font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
}
a, abbr, acronym, address, applet, b, big, blockquote, body, center, cite, code, dd, del, dfn, div, dl, dt, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, html, i, iframe, img, ins, kbd, label, legend, li, object, ol, p, pre, q, s, samp, small, span, strike, strong, sub, sup, tt, u, ul, var {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    vertical-align: baseline;
    background: transparent;
}
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.et_mobile_menu .menu-item-has-children>a, .et_mobile_menu .menu-akcija {
    background: #daa89a;
    text-transform: uppercase;
    font-weight: 700;
}

#top-menu .menu-item>a {
    text-transform: uppercase;
  }

.sub-menu .menu-item>a {
    text-transform: initial !important;
}

/* My account page */

.custom-account-style .woocommerce-Button.button, .custom-account-style .woocommerce .woocommerce-form-login .woocommerce-form-login__submit {
    color: #ffffff!important;
    background-color: #119617;
    border-color: #119617;
}
.custom-account-style .woocommerce-Button.button:hover {
    background-color: #3f214f;
}
 
.custom-account-style .woocommerce .woocommerce-error, .custom-account-style .woocommerce .woocommerce-info, .custom-account-style .woocommerce .woocommerce-message {
   background-color: #156d19;
}

.logged-in-only {
    display: none;
}

.logged-in .logged-in-only{
    display: block;
}

/* My account page end */

.et-db #et-boc .et-l .et_pb_shop_0_tb_body.et_pb_shop .et_shop_image>img, .et-db #et-boc .et-l .et_pb_shop_0_tb_body.et_pb_shop .et_shop_image .et_overlay{
    border-radius: unset !important;
}

/* Product grid */

.et-db #et-boc .et-l .et_pb_shop_0_tb_body.et_pb_shop .et_shop_image>img{
    max-width: 300px;
}

.et-db #et-boc .et-l .et_pb_shop_0_tb_body.et_pb_shop .et_shop_image {
    padding: 10px;
    max-width: 320px;
    padding-bottom: unset !important;
    margin: 0 auto;
}

.single.single-product .woocommerce-product-gallery__image.flex-active-slide a img {
    max-height: 600px;
}

.woocommerce div.product div.images img{
    max-width: 100%;
    width: auto;
}

.shipping_method{
    float: left;
}

.woocommerce-form-coupon .button{
    font-size: 18px !important;
}

@media screen and (max-width: 480px){
    .et-db #et-boc .et-l .et_pb_shop_0_tb_body.et_pb_shop .et_shop_image>img{
        max-width: 110px;
    }

    .woocommerce-loop-product__title{
        white-space: break-spaces;
        text-align: center;
    }

    .add_to_cart_button{
        white-space: break-spaces !important;
        text-align: center;
    }

    .yith-wcwl-add-to-wishlist-button__label{
        font-size: 14px;
    }

}

@media screen and (max-width: 570px) and (min-width: 480px){
    .et-db #et-boc .et-l .et_pb_shop_0_tb_body.et_pb_shop .et_shop_image>img{
        max-width: 200px;
    }

    .woocommerce-loop-product__title{
        white-space: break-spaces;
        text-align: center;
    }

    .add_to_cart_button{
        white-space: break-spaces !important;
        text-align: center;
    }
}

/*Wishlist */
.yith-wcwl-add-to-wishlist-button{ 
    display: flex !important;
}

/* Checkout parcels */
.select2-selection{
    height: auto !important;
}

.select2-selection__rendered{
    white-space: break-spaces !important;
}

.select2-selection__arrow{
    height: 100% !important;
}

/* Mini cart */
.woofc-count-number, .woofc-share-cart, .woofc-data-left, .woocommerce-Price-amount, .woofc-continue-url, .woofc-icon-icon10, .woofc-undo-inner, .woofc-no-item, .woofc-undo-inner a{
    color: #000 !important;
}

.woofc-share-cart, .woofc-continue-url{
    border-bottom: 1px solid #000 !important;
}