/* Custom css */

/*---------------Language tools ----------------*/

#ves-header .setting-language {
    background: rgba(0, 0, 0, 0) url('../images/flag_ua.png') no-repeat -2px 0 / 103% 100%;
    padding: 0 10px;
    min-width: 120px;
    border: none;
}

#ves-header .switcher-language .selected,
#ves-header .switcher-language .sub-option,
#ves-header .switcher-language .sub-option li {
    display: inline-block;
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 4px;
    padding: 0 5px;
    border-bottom: none;
}

#ves-header .switcher-language .sub-option {
    padding: 0;
}

#ves-header .switcher-language .selected span {
    text-decoration: underline;
    font-weight: bold;
}

/*--------------Menu customization-----------------*/

.ves-megamenu .item-content1 .nav-item.level2 {
    width: 25%;
    word-wrap: break-word;
    padding: 0 1%;
}

.ves-megamenu .nav-item.level1.dropdown-submenu > .submenu.dropdown-menu {
    width: 250% !important;
}

/*Additional fix For Spare parts TO*/
.ves-megamenu .sparts-to .nav-item.level1.dropdown-submenu > .submenu.dropdown-menu {
    width: 350% !important;
    padding: 5% 2%;
}

.ves-megamenu .sparts-to .item-content1 .nav-item.level2 {
    padding: 1% 1%;
    float: left;
    min-height: 40px;
    max-height: 45px;
    box-sizing: border-box;
    margin-bottom: 5px;
    overflow: hidden;
}

.ves-megamenu .sparts-to .item-content1 .nav-item.level2:after {
    content:'...';
    color: black;
}

.ves-megamenu .sparts-to .item-content1 .nav-item.level2 > a {
    line-height: 18px;
    font-size: 13px;
}


/*------------LOGO amended link styles---------*/
a.logo-link {
    max-width: 210px;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    cursor: pointer;
}


/*Header contact links styles--------------------*/
.messengers span {
    position: relative;
}
.messengers span:after {
    content: '';
    display: inline-block;
    background: url('../images/whatsapp-viber.png') no-repeat center center;
    background-size: 100%;
    vertical-align: middle;
    width: 40px;
    height: 20px;
    position: absolute;
    left: 135px;
}

/*.messengers span:before {*/
    /*content: '';*/
    /*display: inline-block;*/
    /*background-position: center;*/
    /*background-repeat: no-repeat;*/
    /*background-size: 100%;*/
    /*vertical-align: middle;*/
    /*background-image: url('data:image/svg+xml;utf8, <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title/><g id="Viber"><path d="M12,1C6.68,1,1,1.73,1,10.5c0,4.64,1.64,7.5,5,8.72v2.25a1.53,1.53,0,0,0,2.68,1L10.87,20,12,20c5.32,0,11-.73,11-9.5S17.32,1,12,1Zm0,7a2,2,0,0,1,2,2,.5.5,0,0,1-1,0,1,1,0,0,0-1-1,.5.5,0,0,1,0-1Zm-.5-1.5A.5.5,0,0,1,12,6a4,4,0,0,1,4,4,.5.5,0,0,1-1,0,3,3,0,0,0-3-3A.5.5,0,0,1,11.5,6.5Zm5.5,8A3,3,0,0,1,14,17c-1.57,0-4.59-1.88-5.85-3.15S5,9.57,5,8A3,3,0,0,1,7.5,5h1a.5.5,0,0,1,.45.28s.6,1.22,1,2-.39,1.89-.87,2.37a6,6,0,0,0,1.27,2,6,6,0,0,0,2,1.27,3,3,0,0,1,1.83-1,1.15,1.15,0,0,1,.53.13l2,1a.5.5,0,0,1,.28.45Zm.5-4A.5.5,0,0,1,17,10a5,5,0,0,0-5-5,.5.5,0,0,1,0-1,6,6,0,0,1,6,6A.5.5,0,0,1,17.5,10.5Z" style="fill:#F3D000"/></g></svg>');*/
    /*width: 20px;*/
    /*height: 20px;*/
    /*position: absolute;*/
    /*left: 120px;*/
    /*top: 0;*/
/*}*/

.contact-links li,
.phone-list li {
    color: #414141;
    margin: 0;
}

.contact-link a:hover {
    color: #F3D000 !important;
}

#callme a:hover {
    color: #0aa948 !important;
}

.phone-list li {
    font-size: 16px;
}

.callme-block li {
    font-size: 14px;
    color: #414141;
}

.callme-block li i:before {
    font-size: 20px;
    padding-right: 8px;
    vertical-align: middle;
    color: #0aa948;
}

#ves-header .wrapper .panel {
    padding-bottom: 0;
}

#ves-header .wrapper .header-content {
    padding-top: 0;
}

.header-links .link-login a {
    font-weight: bold;
    font-size: 13px;
}

.minicart-warp .minicart-wrapper .action.showcart .cart-title {
    font-size: 16px;
}


/*---------------Footer logo---------*/
.footer-top .img-animation {
    margin-bottom: 20px;
}

.footer-top .img-animation:before {
    background: transparent;
}
/*-------------- Catalog Search -------------------*/
.catalog-search-block .h2cat {
    margin: 8% 0 2% 0;
}

.catalog-search-block .descrcathome {
    margin: 0;
    padding: 0;
}

/*------------------------Quick view table wrapper---------*/

 #tableprod_wrapper {
    clear: both;
}

@media (max-width: 560px) {
    .fancybox-wrap .product-info-main {
        margin-bottom: 10px;
    }
}


/*---------------Look at the price button------- */

.owl-carousel .owl-item .panel .description a.buycatalog,
.product-block .product-item-details a.buycatalog {
    padding: 3px 10px;
    background: #0aa948;
    display: block;
    max-width: 150px;
    margin: auto;
    color: white;
    border-radius: 30px;
}

.owl-carousel .owl-item .description .product_name {
    max-height: 40px;
    min-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-block .product-item-info .product-item-name {
    min-height: 60px;
}

/*---------------Cart and Checkout------------*/
.price-including-tax, .price-excluding-tax {
    font-size: 1.7rem;
}

.checkout-cart-index .cart.table-wrapper .actions-toolbar>.action-delete:before {
    content: '\e616';
    font-family: 'luma-icons';
    line-height: 20px;
    color: firebrick;
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    right: -7px;
    top: -2px;
}

.sidebar .block.filter .filter-current .action.remove::before {
    content: none!important;
}

.cart-container .count-wrapper {
    position: relative;
    float: left;
    width: 25px;
    height: 25px;
    border: 1px solid #555;
    /*overflow: hidden;*/
}

.cart-container .count-wrapper input {
    border: none;
    text-align: center;
    width: 23px;
    height: 23px;
}

.cart-container .plus {
    background: transparent;
    border: none;
    position: absolute;
    top: 5px !important;
    right: -18px !important;
}
.cart-container .minus {
    background: transparent;
    border: none;
    position: absolute;
    top: 5px !important;
    left: -18px !important;
}

.cart-container .plus:before {
    content: '\e61c';
    font: bold 10px 'luma-icons';
    vertical-align: top;
    text-align: center;
    color: #555;
    padding-top: 2px;
    display: block;
}

.cart-container .minus:before {
    content: '\e60f';
    font: bold 10px 'luma-icons';
    vertical-align: top;
    text-align: center;
    color: #555;
    padding-top: 2px;
    display: block;
}

.block-cart-failed .action.continue,
.cart-container .form-cart .action.continue {
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    color: #555;
}

.t-left {
    text-align:left;
}

#shopping-cart-table .t-left {
    width: auto;
    border: solid 1px #C8C8C8;
    text-align: center;
}

.cart.table-wrapper .actions-toolbar>.action-edit {
    display: none !important;
}

.filter-options .filter-attribute-select {
    font-family: Arial;
    border: 1px solid #E2E1DD;
    outline: none;
    background-color: white;
    background-image:
            linear-gradient(45deg, transparent 50%, black 60%),
            linear-gradient(135deg, black 40%, transparent 50%);
    background-position:
            calc(100% - 15px) 7px,
            calc(100% - 10px) 7px,
            100% 0;
    background-size:
            5px 5px,
            5px 5px;
    background-repeat: no-repeat;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-position-y: 60%;
}

.filter-options .filter-attribute-select option {
    background-color: white;
    color: black;
}

.filter-options .filter-attribute-select .hide-option {
    display:none;
}

.filter-options-item.filterPaddingTop {
    padding-top: 100px;
}

#shipping_method_section,
#payment_method_section {
    padding: 10px 0 20px;
}


.cart.table-wrapper .col.qty,
.cart.table-wrapper .col.price,
.cart.table-wrapper .col.subtotal {
    text-align: left;
}

/*---------------Similar products slider-----------*/
#masla-slider-similar .owl-item .product_img img {
    height: 215px;
}

/*--------Title ------*/

    .catalog-product-view h1,
    .catalog-category-view h1 {
        font-size: 25px;
        margin: 40px 20px;
    }

/*-----------Password fields on register page--------*/
.password .control,
.confirmation .control,
.password-control {
    position: relative;
}
.toggle-password {
    float: right;
    position: absolute;
    margin-top: 10px;
    right: 10px;
    font-size: 15pt;
    cursor: pointer;
}
.password-control .toggle-password {
    margin-top: 5px;
    right: 16px;
}
.password .small-text {
    font-weight: normal;
    font-style: italic;
    font-size: 10px;
    padding-left: 1px;
}

/*-------Social links in footer ------*/
.social-links li {
       display: inline-block;
       margin: 0 5px;
       vertical-align: middle;
       height: 20px;
       font-size: 12px;
       line-height: 20px;
       color: white;
       border-radius: 3px;
}

.social-links .facebook a,
.social-links .gplus a {
    color: white !important;
}

.social-links li .fa {
    padding-right: 6px;
}

.social-links .facebook {
    background: #3b5998;
    padding: 0 5px;
}

.social-links .facebook:hover {
    background: #5573b2;
    transition: all 0.5s ease-in-out 0s;
}

.social-links .gplus {
    background: #d34836;
    padding: 0 5px;
}
.social-links .gplus:hover {
    background: #ed6250;
    transition: all 0.5s ease-in-out 0s;
}

.signup:before {
    content: '';
    background: url('../images/key.png') no-repeat 0 0;
    background-size: cover;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    display: inline-block;
    margin-right: 3px;
}

.signin:before {
    content: '';
    background: url('../images/lock.png') no-repeat 0 0;
    background-size: cover;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    display: inline-block;
    margin-right: 5px;
}

.cart-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    padding-left: 80px;
    height: 60px;
}
.cart-right:before {
    content: '';
    background: url('../images/cart.png') no-repeat 0 0;
    background-size: cover;
    width: 64px;
    height: 64px;
    margin-right: 10px;
    position: absolute;
    left: 0;
    top: 0;
}

.page-header .header-links li a {
    vertical-align: middle;
}

@media (max-width: 768px) {

    .page-header .minicart-warp .minicart-wrapper .action.showcart {
        top:0;
        width: 44px;
        height: 44px;
    }

    .minicart-wrapper .counter-number {
        right: -5px;
        top: 28px;
    }

    body .page-wrapper .block-search {
        margin-top: 17px;
    }
}

/*-----------------Additional styles for Social-likes block----*/
.page-footer .social-likes__button {
    color: white !important;
    padding: .04em .7em .18em 1.95em;
    font-weight: 500;
}

.page-footer .social-likes__button .social-likes__icon {
    left: .35em;
    top: 0.035em;
    color: white !important;
}

.page-footer .social-likes__widget {
    border-radius: 3px;
}

.page-footer .social-likes__widget:hover {
    opacity: 0.8;
}

/*----Tara attribute----*/
.catalog-category-view .product-item-details .tara {
    min-height: 20px;
}

.formavin #vinforma #zapshasti {
    width: 100%;
    margin-bottom: 5px;
    border-color: #000;
}

/*--------------------MEDIA---------------------*/
@media (min-width: 1200px) {
    .container {
        width: 100%;
    }
    .ves-menutop .ves-megamenu li.level0>a {
        font-size: 12px;
    }
    .cart.table-wrapper .col.qty .field.qty {
        margin-left: 15px;
    }
}

@media (min-width: 1050px) {
    #search_mini_form input#search {
        font-size: 17px;
        font-style: italic;
    }
}

#search_mini_form input#search {
    font-weight: 600;
}

@media (min-width: 769px) {
    .page-wrapper .columns .widget-carousel:hover .customNavigation .owl-prev, .page-wrapper .columns .widget-carousel:hover .owl-nav .owl-prev, .page-wrapper .columns .widget-carousel:hover .customNavigation .owl-next, .page-wrapper .columns .widget-carousel:hover .owl-nav .owl-next {
        display: block;
    }

    .page-wrapper .columns .widget-carousel .owl-carousel .owl-nav [class*="owl-"]:hover {
        background: #ffd300;
        color: #fff;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .ves-menutop .nav-sections .ves-megamenu li.level0>a {
        font-size: 12px;
        padding: 0 20px;
    }
    .ves-menutop .nav-sections .ves-megamenu li.level0>a .caret {
        right: -9px;
    }

    .ves-menutop .nav-sections .ves-megamenu li.level0:first-child > .submenu.dropdown-menu,
    .ves-menutop .nav-sections .ves-megamenu li.level0:nth-child(2) > .submenu.dropdown-menu {
        left: 0;
    }
}

@media (max-width: 1000px) {
    .cart-container {
        display: flex;
        flex-direction: column;
    }
    .cart-container .cart-summary {
        order: 2;
        width: 100%;
    }
}

@media (max-width: 991px) {
    .cart-right {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        position: relative;
        padding-left: 40px;
        height: 40px;
    }
    .cart-right:before {
        content: '';
        background: url('../images/cart.png') no-repeat 0 0;
        background-size: cover;
        width: 40px;
        height: 40px;
        margin-right: 10px;
        position: absolute;
        left: 0;
        top: 0;
    }

    .minicart-wrapper .counter-number {
        right: -6px;
        bottom: -8px;
        top: auto;
    }
}


@media (max-width: 767px){

    .page-footer .block.vesbuilder-block {
        background: transparent;
    }

    .block.filter .filter-options {
         display: block !important;
    }
    .block.filter .filter-options .filter-options-item.vyazkost {
         padding-bottom: 10px;
    }


    .cart.table-wrapper .col.qty,
    .cart.table-wrapper .col.price,
    .cart.table-wrapper .col.subtotal,
    .cart.table-wrapper .col.msrp {
        width: auto;
        float: none;
        padding: 8px 2px;
        display: table-cell;
        text-align: left;
    }

    .cart.table-wrapper .col.qty:before,
    .cart.table-wrapper .col.price:before,
    .cart.table-wrapper .col.subtotal:before,
    .cart.table-wrapper .col.msrp:before {
        display: none !important;
    }

    #shopping-cart-table tr,
    #shopping-cart-table th,
    #shopping-cart-table td,
    .checkout-cart-index .price-including-tax .price,
    .checkout-cart-index .price-excluding-tax .price {
        font-size: 10px !important;
    }

    .checkout-cart-index .cart.table-wrapper .actions-toolbar>.action-delete:before {
        font-size: 14px;
        line-height: 16px;
    }


}


@media (max-width: 569px){
    #tableprod_wrapper .table>thead>tr>th,
    #tableprod_wrapper .table>tbody>tr>th,
    #tableprod_wrapper .table>tfoot>tr>th,
    #tableprod_wrapper .table>thead>tr>td,
    #tableprod_wrapper .table>tbody>tr>td,
    #tableprod_wrapper .table>tfoot>tr>td {
        padding: 2px;
        font-size: 10px !important;
    }

    .table>thead>tr>th,
    .table>tbody>tr>th,
    .table>tfoot>tr>th,
    .table>thead>tr>td,
    .table>tbody>tr>td,
    .table>tfoot>tr>td {
        padding: 8px 2px;
    }

    .table>tbody>tr>td:last-child {
        min-width: 10px;
        padding: 8px 4px;
    }


    #tableprod_wrapper #tableprod th.sorting_asc,
    #tableprod_wrapper #tableprod th.sorting_desc {
        text-align: left;
    }


    .checkout-cart-index .cart.table-wrapper .actions-toolbar>.action-delete:before {
        font-size: 10px;
        line-height: 10px;
        right: 0;
        top: 6px;
    }

    #shopping-cart-table tr,
    #shopping-cart-table th,
    #shopping-cart-table td,
    .checkout-cart-index .price-including-tax .price,
    .checkout-cart-index .price-excluding-tax .price {
        font-size: 8px !important;
        text-align: left;
    }

    .cart-container .count-wrapper {
        width: 15px;
        height: 15px;
        float: none;
        margin: auto;
    }

    .cart-container .count-wrapper input {
        padding: 2px;
        width: 13px;
        height: 13px;
    }

    .cart-container .plus,
    .cart-container .minus {
        top: 0 !important;
        right: -15px !important;
        font-size: 8px;
    }



}

@media (max-width: 414px) {
    #shopping-cart-table tbody > td:nth-child(2),
    #shopping-cart-table tbody > td:nth-child(3) {
        word-break: break-all;
        max-width: 50px;
    }

}

@media (max-width: 321px) {
    .cart-container .form.form-cart {
        margin: 0 -10px;
    }
    #tableprod_wrapper .table>thead>tr>th,
    #tableprod_wrapper .table>tbody>tr>th,
    #tableprod_wrapper .table>tfoot>tr>th,
    #tableprod_wrapper .table>thead>tr>td,
    #tableprod_wrapper .table>tbody>tr>td,
    #tableprod_wrapper .table>tfoot>tr>td {
        padding: 2px;
        font-size: 9px !important;
    }

    #tableprod_wrapper .table button {
        font-size: 10px;
    }


}


#send-error {
    font-weight: bold;
}

/* home page slider styles */
#fragment-2, #fragment-3 {
    display:none;
}

/*
=========================Contacts page
*/

.contacts-info-block.details .contacts-list span {
    position: relative;
    font-size: 30px;
}

.contacts-list em {
    font-style: normal;
    font-size: 24px;
}

.contacts-list .messengers span:after {
    right: -50px;
    top: 7px;
    left: auto;
}

@media (max-width: 414px) {
    .contacts-info-block.details {
        padding: 0;
    }
}

/*------------------------------Body remove black bg for tablet and less*/

@media (max-width: 1025px) {
    body.boxed-lg {
        background: transparent !important;
    }
}

/*----------------------Footer contacts------*/
.footer-contacts-list .footer-contacts-list__item--phones {
    display: flex;
}

/*------------------------Customizations for mobile navigation (that didn't apply properly if changed in less file*/

@media (max-width: 991px) {
    .nav-sections .nav-sections-item-content .header-links ul li {
        font-size: 1.6rem;
        font-weight: bold;
    }
    .sections.nav-sections .nav-sections-item-title.active::before,
    .ves-megamenu .nav-sections-item-title.active::before {
        color: #0aa948;
    }

    .nav-sections {
        background: #DDDDDD;
    }

    .nav-sections-item-content .switcher * {
        color: #222 !important;
    }

    .nav-sections .header-links *, .nav-sections .setting-links *, .nav-sections .switcher * {
        color: #222 !important;
    }

    .nav-sections-item-content .navigation .level0 > .level-top.ui-state-active {
       border-bottom: #0aa948;
    }

    #searchprod_wrapper,
    #tableprod_wrapper {
        overflow-y: auto !important;
    }


    .page-footer .footer-top .ves-inner {
        padding-top: 10px !important;
    }

}

@media (max-width: 480px) {
    .widget-images .image-item .img-animation,
    .widget-images img {
        width: auto !important;
    }
}

.filter-current-subtitle {
    border-bottom: 1px solid #989287;
    background-color: #989287;
    color: white;
    font-weight: 400 !important;
}
.filter-panel {
    border: 1px solid #989287;
    border-radius: 4px;
    margin-bottom: 20px;
}
#comment {
    border: 1px solid black;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    border-radius: 20px;
    height: 80px;
    background: #ffffff;
    font-size: 14px;
}

#home-tabs {
    background-color: #0aa948;
}

@media all and (min-width: 768px), (max-width: 1000px), print {
    .cart-container #form-validate {
        float: left;
        position: relative;
        width: 100%;
    }

    .cart.table-wrapper .col.qty .field.qty {
        margin-left: 25px;
    }
}

@media all and (min-width: 1000px), print {
    .cart-container #form-validate {
        width: 73%;
    }
}

@media (max-width: 1200px) {
    .cart.table-wrapper .col.qty .field.qty {
        margin-left: 30px;
    }
}

@media (min-width: 1200px) {
    .cart.table-wrapper .col.qty .field.qty {
        margin-right: 2px;
    }
}

@media (min-width: 1200px) {
    .cart.table-wrapper .col.qty .field.qty {
        margin-left: 39px;
    }
}

@media (min-width: 768px) {
    .cart.table-wrapper .actions-toolbar > .action-delete {
        right: -3px;
    }
}

@media (min-width: 1000px) {
    .cart.table-wrapper .actions-toolbar > .action-delete {
        right: -1px;
    }
}

@media (max-width: 767px) {
    .cart.table-wrapper .actions-toolbar > .action-delete {
        right: 4px;
    }
}

@media (max-width: 520px) {
    .cart.table-wrapper .actions-toolbar > .action-delete {
        right: 1px;
    }
    .cart.table-wrapper .col.qty .field.qty {
        margin-left: 20px;
    }
}

.owl-stage-outer div.owl-item {
    text-align: center;
}

@media (min-width: 1320px) {
    .navigation .level0 .submenu .nav-1-7 .submenu a {
        margin-right: -40px;
    }

    .navigation .level0 .submenu .nav-1-7 .submenu li.level2 {
        padding-right: 30px;
    }
}

@media (max-width: 1320px) {
    .page-wrapper .nav-sections-item-content .navigation .level0.first .submenu .nav-1-7 .submenu {
        column-count: 5;
    }
}

@media (max-width: 1200px) {
    .page-wrapper .nav-sections-item-content .navigation .level0.first .submenu .nav-1-7 .submenu {
        column-count: 4;
    }
}

@media (max-width: 991px) {
    .page-wrapper .nav-sections-item-content .navigation .level0.first .submenu .nav-1-7 .submenu {
        column-count: 1;
    }
}

@media (max-width: 991px) {
    .page-wrapper .nav-sections-item-content .navigation .level0.first .submenu .submenu {
        column-count: 1;
    }
}

.product-block .product-item-info .quick-view {
    background: #0aa948;
}

body .page-wrapper .block-search .action.search {
    width: 50px;
    height: 50px;
}

body .page-wrapper .block-search .action.search::before {
    font-size: 25px;
}

@media (max-width: 768px) {
    body .page-wrapper .block-search .action.search {
        width: 44px;
        height: 40px;
    }
}

.__jivoMobileButton {
    right: 1px !important;
    bottom: -17px !important;
    margin-right: -10px;
}

.page-header .logo img {
    display: block;
}