/*
global
*/
img{
    max-width: 100%;
    max-height: 100%;
}
select{
    max-width: 100%;
}
div[class*="-view"] .row{
    margin-left: -15px;
    margin-right: -15px;
}
a.btn,
input.btn{
    white-space: pre-line;
}
.clearfix:before, .clearfix:after, .container:before, .container:after, .container-fluid:before, .container-fluid:after, .row:before, .row:after, .form-horizontal .form-group:before, .form-horizontal .form-group:after, .btn-toolbar:before, .btn-toolbar:after, .btn-group-vertical > .btn-group:before, .btn-group-vertical > .btn-group:after, .nav:before, .nav:after, .navbar:before, .navbar:after, .navbar-header:before, .navbar-header:after, .navbar-collapse:before, .navbar-collapse:after, .pager:before, .pager:after, .panel-body:before, .panel-body:after, .modal-footer:before, .modal-footer:after {
    width: 0;
}
#fancybox-content{
    -webkit-overflow-scrolling: touch !important; 
}

/*
fancybox
*/
#fancybox-wrap{
    box-sizing: border-box !important;
    padding: 0 !important;
}
#fancybox-wrap *{
    box-sizing: border-box!important;
}

/*
анимация ajax
*/
.vmLoadingDiv {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.05) url('../images/preloader.svg') 50% 45% no-repeat;
}
.vmLoading .vmLoadingDiv {
  display: block;
}
.vmLoadingDiv .vmLoadingDivMsg {
  position: relative;
  top: 50%;
}

/*
уведомить меня
*/
@media(min-width: 480px){
    .vmbs-notify-wrap .form-inline .form-group{
        display: inline-block;
        vertical-align: top;
    }
}

/*
alert
*/
.alert-error{
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;    
}
.alert-notice{
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

/*
addtocart
*/
.vmbs-addtocart *{
    box-sizing: border-box;
}
.vmbs-addtocart .addtocart-bar{
    display: inline-block;
    overflow: hidden;
    margin-top: 0;
}
.vmbs-addtocart .addtocart-bar .input-group,
.vmbs-addtocart .addtocart-bar > .addtocart-button{
    margin-bottom: 5px;
}
.vmbs-addtocart .addtocart-bar .input-group{
    float: left;
    margin-right: 10px;
}
.vmbs-addtocart .addtocart-bar > .addtocart-button{
    display: block;
    float: left;
}
.vmbs-addtocart .addtocart-bar .input-group input{
    vertical-align: top;
}
.vmbs-addtocart .addtocart-bar input.quantity-controls{
     background-position: center;
    background-repeat: no-repeat;
    background-size: 11px 11px;
    height: 34px;
    
}
.vmbs-addtocart .addtocart-bar input.quantity-minus {
    background-image: url('../images/minus.svg');
}
.vmbs-addtocart .addtocart-bar input.quantity-plus {
    background-image: url('../images/plus.svg');
}
.vmbs-addtocart input.quantity-input{
    height: 34px;
    width: 40px;
    display: inline-block;
    max-width: 40px;
    min-width: 40px;
    padding: 4px 6px;
    background: #fff;
}
.vmbs-addtocart .product-fields > .product-field{
    margin-bottom: 10px;
}
.vmbs-addtocart .product-fields .product-field-type-S{
    text-align: inherit;
    float: none;
}
.vmbs-addtocart .product-fields select{
    margin-bottom: 5px;
    display: inline-block;
}
.vmbs-addtocart .product-fields .product-field-type-M .controls{
    display: flex;
    flex-wrap: wrap;
}
.vmbs-addtocart .product-fields .product-field-type-M label{
    width: 50%;
    margin-top: 0;
    padding: 5px;
    text-align: center;
}
.vmbs-addtocart .product-fields .product-field-type-M input[type="radio"]{
    position: relative;
    margin: 0;
    display: block;
    margin: 0 auto;
}
.vmbs-addtocart .product-fields .product-field-type-M img{
    display: inline;
    vertical-align: middle;
    float: none;
}
.vmbs-addtocart .product-fields input[type="radio"]{
    display: inline-block;
    position: relative;
    margin: 4px 5px 0 0;
}
.vmbs-addtocart .product-fields .vm-img-desc{
    font-size: 12px;
    width: 100%;
    display: block;
}

/*
наличие товара
*/
.vmbs-stock .label{
    font-weight: normal;
    font-size: 12px;
    display: inline-block;
    padding: 4px 7px;
}

/*
пагинация
*/
.vmbs-pagination ul.pagination{
    margin: 0;
    vertical-align: bottom;
}

/*
сортировка
*/
.vmsorting .btn-group > .btn{
    border-radius: 0;
}

/*
стандратный рейтинг
*/
.ratingbox {
  position: relative;
  display: inline-block;
  width: 120px;
  height: 24px;
  background: url("/components/com_virtuemart/assets/images/color-stars.png") repeat-x scroll 0 bottom transparent;
  margin: 0 auto 15px;
}

.ratingbox div, .ratingbox span {
  background: url(/components/com_virtuemart/assets/images/color-stars.png) repeat-x;
  display: block;
  width: 1%;
  height: 24px;
  position: static;
}

/*
задать вопрос по товару
*/
.vmbs-product-question{
    padding: 0 30px;
}
.vmbs-product-question .counter{
    width: 50px;
    text-align: center;
}

/*
рекомендовать другу
*/
.vmbs-product-question{
    padding: 0 30px;
}
.vmbs-product-question .form-group .formError{
    left: 15px !important;
}
.vmbs-product-question .counter{
    width: 50px;
    text-align: center;
}
.vmbs-product-question .vmbs-product-question-image{
    width: 100px;
    float: left;
    margin: 0 15px 15px 0;
}
.vmbs-product-question .vmbs-product-question-desc{
    margin-bottom: 15px;
}

/*
category
*/
.vmbs-category-wrap > .row{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.vmbs-category{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.vmbs-category .spacer {
    width: 100%;
}
.vmbs-category .category-image{
    height: 200px;
    position: relative;
}
.vmbs-category .category-image img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
.vmbs-category .category-name h3{
    margin: 10px;
    font-size: 14px;
}

/*
category page
*/
.vmbs-virtuemart-search{
    margin-bottom: 15px;
}
.vmbs-virtuemart-search input{
    margin-bottom: 5px;
}
.vmbs-orderby-wrap{
    margin-bottom: 20px;
}
.vmbs-order-list > .vmsorting{
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 5px;
}
.vmbs-product-view{
    text-align: right;
}
.vmbs-pagination-wrap{
    margin-bottom: 25px;
}
.vmbs-pagination-wrap .row{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}
.vmbs-display-number{
    text-align: right;
    margin-top: 10px;
}
.vmbs-display-number select{
    display: inline-block;
}

/*
product list
*/
.vmbs-product-wrap{
    display: flex;
    flex-wrap: wrap;
}
.vmbs-product{
    display: flex;
    flex-wrap: wrap;
}
.vmbs-product .spacer{
    width: 100%;
    margin: 0 0 20px 0;
}
.vmbs-product .vmbs-product-image{
    height: 200px;
    position: relative;
}
.vmbs-product .vmbs-product-image img{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
.vmbs-product .vmbs-product-name{
    margin: 25px 0 15px 0;
}
.vmbs-product .vmbs-product-name h3{
    font-size: 14px;
    margin: 0;
}
.vmbs-product .vmbs-product-price .product-price{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 14px;
    margin-bottom: 10px;
    float: none;
}
.vmbs-product .vmbs-product-price .product-price span.price-crossed,
.vmbs-product .vmbs-product-price .product-price div.PricesalesPrice{
    padding: 0 5px;
}
.vmbs-product .vmbs-product-price .price-crossed{
    color: #999;
    text-decoration: line-through;
}
.vmbs-product .vmbs-product-price .product-price div.PricesalesPrice{
    font-weight: bold;
}
.vmbs-product .vmbs-stock{
    margin-bottom: 10px;
}
.vmbs-product .vmbs-addtocart{
    display: inline-block;
    max-width: 100%;
    margin-bottom: 15px;
}
.vmbs-product .vmbs-product_s_desc{
    margin-bottom: 10px;
}
.vmbs-product-wrap.line .vmbs-product{
    width: 100%;
}
.vmbs-product-wrap.line .vmbs-product-image{
    width: 30%;
    float: left;
}
.vmbs-product-wrap.line .vmbs-product-descr{
    width: 40%;
    padding: 0 15px;
    float: left;
}
.vmbs-product-wrap.line .vmbs-product-details{
    width: 30%;
    float: left;
}
.vmbs-product-wrap.line .vmbs-product-name{
    text-align: left;
    margin-top: 0;
}
.vmbs-product-wrap.line .vmbs-product-rating{
    text-align: left;
}
.vmbs-product-wrap.line  .vmbs-stock{
    text-align: left;
}
.vmbs-product-wrap.line .vmbs-product_s_desc{
    text-align: left;
}
.vmbs-product-wrap.line .vmbs-product-price .product-price{
    justify-content: flex-end;
}
.vmbs-product-wrap.line .vmbs-product-cart{
    text-align: right;
}
.vmbs-product-wrap.line .vmbs-product-cart .addtocart-bar{
    display: inline-block;
}
.vmbs-product-wrap.line .vmbs-product-details-button{
    text-align: right;
}

/*
product page
*/
.vmbs-product-neighbours{
    margin-bottom: 25px;
}
.vmbs-product-media-container .main-image{
    text-align: center;
}
.vmbs-product-media-container .main-image img{
    max-height: 300px;
}
.vmbs-product-media-container .main-image .vm-img-desc{
    display: block
}
.vmbs-product-media-container .additional-images{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 20px;
}
.vmbs-product-media-container .additional-images .floatleft{
    width: 80px;
    text-align: center;
}
.vmbs-product-media-container .additional-images img{
    width: auto;
}
.vm-product-details-container .vmbs-product-price{
    font-size: 16px;
}
.vm-product-details-container .vmbs-product-price .product-price > *{
    margin-bottom: 10px;
}
.vm-product-details-container .vmbs-product-price .price-crossed{
    display: block;
    color: #999;
    text-decoration: line-through;
}
.vm-product-details-container .vmbs-product-price div.PricesalesPrice {
    font-weight: bold;
}
.vm-product-details-container .vmbs-stock{
    margin-bottom: 20px;
}
.vm-product-details-container .vmbs-ask-a-question{
    margin-bottom: 10px;
}
.vm-product-details-container .vmbs-manufacturer{
    margin-bottom: 10px;
}
.vm-product-details-container .vmbs-product-short-description{
    margin-bottom: 20px;
}
.vmbs-productdetails-view .nav-tabs{
    margin: 20px 0;
}

/*
похожие товары
*/
.vmbs-product-related-products .product-field-type-R{
    margin: 0;
}
.vmbs-product-related-products .vm-img-desc{
    display: none;
}

/*
похожие категории
*/
.vmbs-product-related-categories .product-field{
    margin: 0;
}
.vmbs-product-related-categories .vm-img-desc{
    display: none;
}

/*
стандартные отзывы
*/
.vmbs-customer-reviews .rating{
    text-align: left;
}
.vmbs-customer-reviews .write-reviews{
    text-align: left;
}
.vmbs-customer-reviews .counter{
    width: 65px;
    min-width: auto;
    text-align: center;
}
.list-reviews .normal{
  border: solid #CAC9C9 1px;
  margin-bottom: 8px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  padding: 12px;
}

.list-reviews .normal blockquote,.list-reviews .highlight blockquote{
  margin-top: 12px;
  font-size: 12px;
  word-wrap: break-word;
}

.list-reviews .normal blockquote:before,.list-reviews .highlight blockquote:before{
  content: open-quote;
  font-weight: 700;
  font-size: 24px;
  padding-right: 6px;
}

.list-reviews .normal blockquote:after,.list-reviews .highlight blockquote:after{
  content: close-quote;
  font-weight: 700;
  font-size: 24px;
  padding-left: 6px;
}

.list-reviews .highlight{
  background: #f7f6f6;
  border: solid #CAC9C9 1px;
  margin-bottom: 8px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  padding: 12px;
}

.list-reviews span.date{
  float: right;
  display: block;
  color: #777;
  border-left: solid #CAC9C9 1px;
  border-bottom: solid #CAC9C9 1px;
  position: relative;
  top: -12px;
  right: -12px;
  font-size: 10px;
  -moz-border-radius-bottomleft: 4px;
  -webkit-border-bottom-left-radius: 4px;
  padding: 4px 6px 2px;
}

/*
производители
*/
.vmbs-manufacturer-details-view div.manufacturer-image{
    margin-bottom: 25px;
}
.vmbs-manufacturer-details-view .manufacturer-product-link{
    margin-top: 20px;
}
.vmbs-manufacturer-details-view .manufacturer-link{
    margin-top: 20px;
}

/*
всплывающее окно добавлено в корзину
*/
.vmbs-padded-wrap{
    max-width: 500px;
}
.vmbs-padded-wrap .btn-padded-wrap{
    margin-bottom: 20px;
    overflow: hidden;
}
.vmbs-padded-wrap .btn-padded-wrap .showcart {
    float: right;
}
.vmbs-padded-product{
    display: flex;
    flex-wrap: nowrap;
}
.vmbs-padded-wrap .padded-product-image{
    width: 100px;
}
.vmbs-padded-wrap .padded-product-image img{
    max-height: 100px;
}
.vmbs-padded-wrap .padded-product-name{
    padding: 0 0 0 20px;
    min-width: 400px;
}
.vmbs-padded-wrap .padded-product-name h4{
    margin-top: 0;
}
.vmbs-padded-wrap .vmbs-product-related-products{
    padding: 0 15px;
    margin-top: 15px;
}
.vmbs-padded-wrap .vmbs-product-related-products .vmbs-product-image{
    height: 100px;
}
.vmbs-padded-wrap .vmbs-product-related-products .vmbs-product-name{
    margin: 5px 0;
}
.vmbs-padded-wrap .vmbs-product-related-products .vmbs-product-name h3{
    font-size: 12px;
}
.vmbs-padded-wrap .vmbs-product-related-products .vmbs-product-price .product-price{
    font-size: 12px;
}
.vmbs-padded-wrap .vmbs-product-related-products .vmbs-product_s_desc,
.vmbs-padded-wrap .vmbs-product-related-products .vmbs-product-cart{
    display: none;
}

/*
модуль поиск товаров
*/
.vmbs-search input#mod_virtuemart_search{
    margin: 5px 5px 5px 0;
}
.vmbs-search input[type="image"]{
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/*
модуль выбор валюты
*/
.vmbs-currency select{
    margin: 5px 5px 5px 0;
}

/*
страница регистрации, аккаунта и заказов
*/
.vmbs-order-view form[name="com-login"] label{
    display: block;
}
.vmbs-order-view .form-control{
    width: 300px;
    max-width: 100%;
}
.vmbs-login-form input[type="checkbox"]{
    display: inline-block;
    height: auto;
    width: auto;
}
.vmbs-login-form .form-control{
    width: 300px;
    max-width: 100%;
}
.vmbs-admin-form .form-control{
    width: 300px;
    max-width: 100%;
}
.vmbs-admin-form legend,
.vmbs-user-form legend{
    border-bottom: 0;
}
.vmbs-admin-form label.invalid{
    color: #a94442;
}
.vmbs-admin-form input.invalid,
.vmbs-admin-form select.invalid{
    border-color: #a94442;
}
.vmbs-user-form .form-control{
    width: 300px;
    max-width: 100%;
}
.vmbs-user-form label.invalid{
    color: #a94442;
}
.vmbs-user-form input.invalid,
.vmbs-user-form select.invalid{
    border-color: #a94442;
}
.vmbs-control-buttons{
    margin-bottom: 25px;
}
.vmbs-control-buttons #reg_text{
    margin: 10px 0;
}
.vmbs-admin-form input.terms-of-service,
.vmbs-user-form input.terms-of-service{
    position: absolute;
    top: 0;
    left: 15px;
}
.vmbs-admin-form div.terms-of-service,
.vmbs-user-form  div.terms-of-service{
    padding: 0;
    margin: 0 0 0 25px;
    display: block;
}
.vmbs-admin-form div.terms-of-service .vmicon,
.vmbs-user-form  div.terms-of-service .vmicon{
    display: none;
}
.vmbs-admin-form #ui-tabs ul#tabs,
.vmbs-admin-form #ui-tabs .tabs{
    padding: 15px;
    list-style: none;
}
.vmbs-admin-form #ui-tabs ul#tabs li{
    display: inline-block;
    border: 1px solid #ccc;
    padding: 6px 12px;
    cursor: pointer;
}
.vmbs-admin-form #ui-tabs ul#tabs li.current{
    background: #ccc;
}
.vmbs-admin-form table.adminlist{
    width: 100%;
}
.vmbs-order-items tr,
.vmbs-order-items td{
    //display: block;
}
.vmbs-order .vm-customfield-cart{
    color: #999;
    font-size: 12px;
}
.vmbs-order #ui-tabs ul#tabs,
.vmbs-order#ui-tabs .tabs{
    padding: 15px 0;
    list-style: none;
}
.vmbs-order #ui-tabs ul#tabs li{
    display: inline-block;
    border: 1px solid #ccc;
    padding: 6px 12px;
    cursor: pointer;
}
.vmbs-order #ui-tabs ul#tabs li.current{
    background: #ccc;
}
.vmbs-order .line-through{
    color: #999;
    text-decoration: line-through;
}

/*
корзина
*/
.vmbs-cart-header-container h1{
    margin-top: 0;
}
.vmbs-billto-shipto{
    display: flex;
    flex-wrap: wrap;
}
.vmbs-billto-shipto > div{
    display: flex;
    flex-wrap: wrap;
}
.vmbs-billto-shipto .panel{
    width: 100%;
}
.vmbs-billto-shipto .fa{
    font-size: 30px;
}
.vmbs-billto-shipto .output-billto,
.vmbs-billto-shipto .output-shipto{
    margin: 10px 0;
}
.vmbs-billto-shipto .output-shipto input[type="radio"]{
    position: relative;
    vertical-align: middle;
    margin: 0 5px 0 0;
}
.vmbs-cart-summary{
    border: 0;
}
.vmbs-cart-summary tr:hover td{
    background: none;
}
.vmbs-cart-summary th{
    background: none;
    color: #333;
}
.vmbs-cart-summary td{
    border-bottom: 0 !important;
}
.vmbs-cart-summary .vm-cart-item-sku,
.vmbs-cart-summary .vm-cart-item-basicprice,
.vmbs-cart-summary .vm-cart-item-quantity,
.vmbs-cart-summary .vm-cart-item-discount{
    text-align: center;
}
.vmbs-cart-summary .vm-cart-item-total{
    text-align: right;
}
.vmbs-cart-summary .vm-cart-item-total,
.vmbs-cart-summary .vm-cart-item-discount,
.vmbs-cart-summary .vm-cart-item-basicprice{
    width: 100px;
}
.vmbs-cart-summary .vm-cart-item-quantity{
    width: 110px;
}
.vmbs-cart-summary .vm-cart-item-quantity input[type="text"]{
    width: 100%;
}
.vmbs-cart-summary .vmbs-cart-images{
    width: 75px;
    margin-right: 10px;
    float: left;
}
.vmbs-cart-summary .vmbs-cart-name{
    overflow: hidden;
}
.vmbs-cart-summary  .vm-customfield-cart{
    color: #999;
}
.vmbs-cart-summary  .vm-customfield-cart img{
    max-width: 30px;
}
.vmbs-cart-summary input.quantity-input,
.vmbs-cart-summary input.quantity-input + .btn-group{
    margin-bottom: 10px;
}
.vmbs-cart-summary .priceColor2{
    color: #999;
}
.vmbs-cart-summary .vm-cart-item-total .line-through{
    color: #999;
    text-decoration: line-through;
}

.vmbs-cart-summary .vmbs-cart-coupon{
    margin: 10px 0;
}
.vmbs-cart-summary tr.vmbs-shipment-cart td,
.vmbs-cart-summary tr.vmbs-payment-cart td{
    padding: 20px 0;
}
.vmbs-shipment-cart h3,
.vmbs-payment-cart h3{
    margin-top: 0;
}
.vmbs-shipment-cart td > .vmshipment_name,
.vmbs-payment-cart td > .vmpayment_name{
    display: block;
    font-weight: bold;
}
.vmbs-shipment-select input[type="radio"],
.vmbs-payment-select input[type="radio"]{
    float: left;
    margin-right: 5px;
}
.vmbs-cart-summary .vm-fieldset-customer-note{
    margin-bottom: 20px;
}
.vmbs-fieldset-cart{
    margin-bottom: 20px;
    position: relative;
}
.vmbs-fieldset-cart span.customer-note{
    font-size: 24px;
    display: block;
    margin: 20px 0 10px;s
}
.vmbs-fieldset-cart #customer_note_field{
    height: 80px;
    width: 100%;
}
.vmbs-fieldset-cart span.tos{
    display: none;
}
.vmbs-fieldset-cart input.terms-of-service{
    position: absolute;
    top: 0;
    left: 0;
}
.vmbs-fieldset-cart div.terms-of-service{
    padding: 0;
    margin: 0 0 0 20px;
    display: block;
}
.vmbs-fieldset-cart div.terms-of-service .vmicon{
    display: none;
}

/*
модуль корзины
*/

.cart_content .show_cart a:hover{
    background-color: #286090;
    opacity: 1 !important;
}
#vmCartModule.vmCartModule {
    border-width: 1px;
}
@media(max-width: 768px){
    .vmCartModule .wrap-cart-content{
        display: none;
    }
}

/*
модуль категорий
*/
.vmbs-category-menu{
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 16px;
}
.vmbs-category-menu .vmbs-category-item{
    margin: 0;
    padding: 5px 15px 5px 0;
    position: relative;
}
.vmbs-category-menu .vmbs-category-item:before,
.vmbs-category-menu .vmbs-category-item:after{
    display: none;
}
.vmbs-category-menu .vmbs-category-toggle{
    position: absolute;
    right: 0;
    top: 8px;
}
.vmbs-category-menu .vmbs-category-toggle .toggle-icon{
  cursor: pointer;
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 18px;
}
.vmbs-category-menu .vmbs-category-toggle[aria-expanded="true"] .toggle-icon:before{
  content: "\f056";
}
.vmbs-category-menu .vmbs-category-toggle[aria-expanded="false"] .toggle-icon:before{
  content: "\f055";
}
.vmbs-category-menu.level2{
    padding-left: 20px;
    font-size: 14px;
}
/*
Media Queries
*/

@media (min-width: 768px) and (max-width: 991px) {
    .vmbs-cart-summary .vm-cart-item-name{
        width: 200px;
    }
    .vmbs-cart-summary .vmbs-cart-images{
        float: none;
    }
    .vmbs-product-wrap.line .vmbs-product-image{
        width: 40%;
    }
    .vmbs-product-wrap.line .vmbs-product-descr{
        width: 60%;
    }
    .vmbs-product-wrap.line .vmbs-product-details{
        width: 60%;
        padding: 0 15px;
        float: right;
    }
    .vmbs-product-wrap.line .vmbs-product-price .product-price{
        justify-content: flex-start;
    }
    .vmbs-product-wrap.line .vmbs-product-cart,
    .vmbs-product-wrap.line .vmbs-product-details-button{
        text-align: left
    }
}

@media (max-width : 768px) {   
    .vmbs-product-wrap.line .vmbs-product-image{
        width: 100%;
    }
    .vmbs-product-wrap.line .vmbs-product-descr{
        width: 100%;
    }
    .vmbs-product-wrap.line .vmbs-product-name,
    .vmbs-product-wrap.line .vmbs-product-rating,
    .vmbs-product-wrap.line .vmbs-stock,
    .vmbs-product-wrap.line .vmbs-product_s_desc{
        text-align: center;
    }
    .vmbs-product-wrap.line .vmbs-product-details{
        width: 100%;
    }
    .vmbs-product-wrap.line .vmbs-product-price .product-price{
        justify-content: center;
    }
    .vmbs-product-wrap.line .vmbs-product-cart,
    .vmbs-product-wrap.line .vmbs-product-details-button{
        text-align: center;
    }
    .vmbs-cart-summary th{
        display: none !important;
    } 
    .vmbs-cart-summary tr,
    .vmbs-cart-summary td{
        display: block;
        width: 100%;
        overflow: hidden;
    }
    .vmbs-cart-summary .vm-cart-item-sku,
    .vmbs-cart-summary .vm-cart-item-discount,
    .vmbs-cart-summary .vm-cart-item-basicprice{
        display: none;
    }
    .vmbs-cart-summary .vm-cart-item-quantity,
    .vmbs-cart-summary .vm-cart-item-total{
        width: 50%;
        float: left;
    }
    .vmbs-shipment-cart,
    .vmbs-payment-cart{
        border-top:  1px solid #eee;
        padding: 10px 0;
    }
    .vmbs-shipment-cart td,
    .vmbs-payment-cart td{
        border-top: 0 !important;
        padding: 0 !important;
    }
    .vmbs-order-items{
        
    }
    .vmbs-product-view{
        text-align: left;
    }
     .vmbs-display-number{
        text-align: left;
    }
     .vmbs-padded-wrap{
         padding-left: 20px;
         max-width: 100%;
     }
     .vmbs-padded-wrap .btn-padded-wrap{
         text-align: center;
     }
     .vmbs-padded-wrap .btn-padded-wrap .showcart {
        float: none;
        margin-top: 10px;
     }
     .vmbs-padded-product{
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
     .vmbs-padded-wrap .padded-product-image{
        text-align: center;
        width: 100%;
    }
    .vmbs-padded-wrap .padded-product-name{
        text-align: center;
        padding: 20px 0;
        max-width: 100%;
        min-width: 100%;
    }
    .vmbs-order-view .form-control,
    .vmbs-login-form .form-control,
    .vmbs-admin-form .form-control,
    .vmbs-user-form .form-control{
       width: 100%;
    }
    
}
@media (max-width : 320px){
    .vmbs-product-question .form-group {
        padding-right: 0;
    }
} 


/*
решение проблем совместимости со сторонними шаблонами joomla

body, 
body p, 
body ol, 
body ul, 
body dl, 
body address{
    font-size: 14px;
}
body h2{
    font-size: 30px;
}
*/
[class*="vmbs-"] a:not(.btn){
    background: none;
}
[class*="vmbs-"] .panel h3{
    background: none !important;
}
[class*="vmbs-"] .panel h3 a{
    font-size: 14px;
    background: none;
}
[class*="vmbs-"] a.btn,
[class*="vmbs-"] .btn a,
[class*="vmbs-"] .nav-tabs a{
    text-decoration: none;
}
[class*="vmbs-"] a.btn-primary{
    color: #fff;
}
[class*="vmbs-"] .form-group{
    font-size: 14px;
}
[class*="vmbs-"] label{
    font-weight: normal;
}
[class*="vmbs-"] input.form-control,
[class*="vmbs-"] select{
    height: 34px;
}
[class*="vmbs-"] form{
    margin: 0;
}
.vmbs-order-list .btn{
    height: 34px;
}
#login-form input[type="text"], 
input[type="password"], 
input[type="submit"]{
    width: auto;
}
.vmbs-display-number{
    font-size: 14px;
}
.vmbs-display-number select{
    width: auto;
    padding: 6px 21px;
}
body.modal{
    position: relative;
    display: block;
    overflow: auto;
}