html {
    height: 100%;
    min-height: 100%;
}
body {
    min-height: 100%;
    height: auto;
    position: relative;
}

.all {
    min-height: 100%;
    position: relative;
    z-index: 1;
    background: #F7F8FA;
}

.all:after {
    display: block;
    content: "";
    height: 30px;
    clear: both;
    width: 100%;
}

#page-container {
    position: relative;
    z-index: 1;
}

footer {
    margin: 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto;
    color: #666;
    background: none;
    z-index: 9;
}

footer a {
    color: #888;
}

footer a:hover {
    color: #eee;
}

footer .footerwrap {
    background: #333637;
}

footer .subfooter {
    background: #282A2B;
    overflow: hidden;
    padding: 10px 10px 5px;
}

footer .container-index {
    margin: 0 auto;
}

.footer-links {
    padding: 10px 0 0;
}

.footer-links a {
    color: #999;
}

.footer-title {
    font-weight: 600;
    font-size: 16px;
    color: #999;
}

.footer-links .list-unstyled li {
    border-bottom: 1px solid #666;
    padding: 4px 0;
}

.footer-links .list-unstyled li:last-child {
    border-bottom: none;
}

.footer-social {
    margin-top: 0.5rem;
}

.footer-social a {
    display: inline-block;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 5px;
    margin: 0 5px 5px 0;
    height: 30px;
    width: 30px;
    line-height: 30px;
    text-align: center;
}

.nowrap {
    white-space: nowrap!important;
}

.ellipsis {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.img-responsive {
    display: inline-block;
}

input[type="checkbox"] {
    margin-top: 0;
}

.index-footer {
    margin: -30px 0 0;
    height: 30px;
    width: 100%;
}

.container-index {
    max-width: 1200px;
    margin: 20px auto;
}

#wrap > .container,
#page-heading {
    max-width: 1300px;
    margin-left: 0;
}

#page-heading .breadcrumb {
    line-height: 1.2;
}

.navbar-inverse #horizontal-navbar .navbar-nav > li > a,
.navbar-inverse #horizontal-navbar .navbar-nav > li > a i {
    color: rgba(255, 255, 255, 0.7);
}

.navbar-inverse #horizontal-navbar .navbar-nav > li.active > a,
.navbar-inverse #horizontal-navbar .navbar-nav > li.active > a i {
    color: #fff;
}

.navbar-inverse #horizontal-navbar .navbar-nav li a:hover,
.navbar-inverse #horizontal-navbar .navbar-nav li a:hover i {
    background: none repeat scroll 0 0 #595F69;
}

.navbar-brand {
    width: 215px;
}

.dl-horizontal dt {
    clear: left;
}

@media screen and (max-width: 768px) {
    .navbar-header {
        width: 150px;
    }
    .navbar-brand {
        width: 150px;
    }
}

.navbar-nav.pull-right > li > .dropdown-menu-left {
    left: 0;
    right: auto;
}

.navbar-nav.pull-right > li > .dropdown-menu-left.arrow:before {
    right: auto;
    left: 11px;
}

#sidebar img {
    margin-right: 8px;
}

#sidebar li ul#tree {
    display: block;
}

#sidebar >li.divider:last-child {
    margin-bottom: 10px;
}

#sidebar.acc-menu > li > a {
    overflow: hidden;
}

#sidebar li a i {
    float: left;
    line-height: inherit;
}

#sidebar li a i+span {
    float: left;
    margin-left: 28px;
    margin-top: -20px;
    margin-right: 20px;
    width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

#sidebar li ul {
    display: block;
}

#sidebar .select2-selection {
    min-height: 34px;
}

#sidebar ul.select2-selection__rendered {
    background: transparent !important;
    padding: 0 5px !important;
    list-style: none;
    color: #000;
    box-shadow: none;
    margin-bottom: 5px;
}

div .category-title {
    text-align: center;
}


div .extra-title {
    text-align: center;
}

#sidebar .btn i {
    color: inherit;
    margin: 0;
}


#sidebar form {
    padding-left: 20px;
    padding-right: 20px;
}

#sidebar .badge {
    left: auto;
    margin-top: -8px;
    top: 50%;
    right: 12px !important;
}

#sidebar li.hasChild > a:before,
#sidebar li.hasChild.open > a:before {
    display: none;
}

#tree li .tree-folder-content {
    padding-left: 10px;
}

#tree .tree-folder-header i,
#tree .tree-item i {
    float: left;
    margin: 8px 8px 0;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

#tree .tree-item a,
#tree .tree-folder-header a {
    cursor: pointer;
    display: block;
    margin-left: 28px;
}

#tree a:hover {
    text-decoration: none;
}

#sidebar li.promoParent:hover {
    background-color: #d2d3d6;

}

#sidebar li.promoParent i {
    float: left;
    display: block;
    padding: 12px 12px 0;
}

#sidebar li.promoParent a {
    padding: 10px 0;
}

.tree-loader {
    position: absolute;
    top: 50%;
    margin-top: -10px;
    right: 12px;
    color: #777;
    width: 40px;
    background: #DFE0E2;
    height: 20px;
    z-index: 20;
    text-align: right;
}

#select-category #tree {
    height: 306px;
    overflow-y: scroll;
}

#select-category #tree li {
    display: block;
}

#select-category #tree li > div > div {
    padding: 4px 8px;
    cursor: pointer;
}

#select-category #tree li.active > div > div {
    background: #eee;
}

#sidebar li {
    display: block;
}

#sidebar #tree li a {
    padding: 5px 40px 5px 10px;
    position: relative;
}

#sidebar #tree li a:focus {
    background-color: #D2D3D6;
    outline: none;
}

#sidebar #tree li a:focus:before,
#sidebar #tree li a:hover:before {
    content: "";
    position: absolute;
    width: 50px;
    height: 100%;
    left: -50px;
    top: 0;
    background-color: #D2D3D6;
    z-index: 0;
}

#sidebar #tree ul li a {
    padding-left: 20px;
}

#sidebar #tree ul li i {
    margin-left: 20px;
    z-index: 1;
    position: relative;
}

#sidebar #tree ul ul li a {
    padding-left: 30px;
    padding-right: 30px;
}

#sidebar #tree ul ul li i {
    margin-left: 30px;
    z-index: 1;
    position: relative;
}

#sidebar li.active i, #sidebar li.active a:hover i {
    color: inherit;
}

#sidebar ul li.active:not(.open) > div > a {
    color: #3F444C;
    font-weight: 600;
}

#sidebar .condensed a
 {
    padding: 4px 10px;
    color: #999;
}

#sidebar .condensed i {
    color: #999;
}

.sidebar-panel {
    padding: 10px 20px 20px;
}

.leftfixed {
    position: fixed;
    background: #E6E7E8;
    border: solid #D2D3D6;
    border-width: 0 1px 0 0;
    height: 140px;
    width: 230px;
    overflow: hidden;
    left: 0;
    bottom: 0px;
    -webkit-transition: margin-bottom .3s;
    transition: margin-bottom .3s;
    z-index: 1;
}

.leftfixed a {
    display: block;
    float: left;
    width: 114px;
    height: 70px;
    text-align: center;
    padding: 3px 0;
    font-size: 40px;
    opacity: .4;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.leftfixed a:hover,
.leftfixed a:focus {
    opacity: 1;
    color: #fff;
    background: rgba(79, 142, 220, 0.3);
    outline: none;
}

.leftfixed.hidden-down {
    margin-bottom: -360px;
}

.rightfixed {
    bottom: 50px;
    right: 0; !important;
    overflow: hidden;
    float: right;
    width: 40px;
    height: 100%;
    position: fixed;
    top: 0;
}

.rightfixed .rf-manager-call {
    padding-left: 50px;
    padding-right: 19px;
    line-height: 40px;
    position: absolute;
    bottom: 50%;
    -webkit-transform: rotate(-90deg);
    -webkit-transform-origin: 20px;
    -moz-transform: rotate(-90deg);
    -moz-transform-origin: 20px;
    -ms-transform: rotate(-90deg);
    -ms-transform-origin: 20px;
    -o-transform: rotate(-90deg);
    -o-transform-origin: 20px;
    transform: rotate(-90deg);
    transform-origin: 20px;
}

.rightfixed .rf-manager-call .btn {
    font-size: 15px !important;
    -webkit-border-radius: 4px !important;
     -moz-border-radius: 4px !important;
          border-radius: 4px !important;
    -webkit-border-top: 4px !important;
     -moz-border-top: 4px !important;
          border-top: 4px !important;
    -webkit-border-bottom: 4px !important;
     -moz-border-bottom: 4px !important;
          border-bottom: 4px !important;
}

.rightfixed .rf-set-lang {
    padding-left: 0;
    margin-right: 40px;
    line-height: 40px;
    position: absolute;
    top: 5%;
}

.rightfixed .rf-fast-order {
    padding-left: 50px;
    padding-right: 19px;
    line-height: 40px;
    position: absolute;
    bottom: 20%;
    -webkit-transform: rotate(-90deg);
    -webkit-transform-origin: 20px;
    -moz-transform: rotate(-90deg);
    -moz-transform-origin: 20px;
    -ms-transform: rotate(-90deg);
    -ms-transform-origin: 20px;
    -o-transform: rotate(-90deg);
    -o-transform-origin: 20px;
    transform: rotate(-90deg);
    transform-origin: 20px;
}

.rightfixed .rf-fast-order .btn {
    font-size: 15px !important;
    -webkit-border-radius: 4px !important;
     -moz-border-radius: 4px !important;
          border-radius: 4px !important;
    -webkit-border-top: 4px !important;
     -moz-border-top: 4px !important;
          border-top: 4px !important;
    -webkit-border-bottom: 4px !important;
     -moz-border-bottom: 4px !important;
          border-bottom: 4px !important;
}

@media screen and (max-width: 768px) {
    .leftfixed {
        width: 100%;
        z-index: 1030;
    }
    #page-content {
        padding-bottom: 60px;
    }
}

.nav-header {
    padding: 10px;
    background: #D2D3D6;
    font-family: 'Open Sans','Segoe UI','Droid Sans',Tahoma,Arial,sans-serif;
}

.nav-header__link {
    display: inline;
    padding: 0;
}

.acc-menu input {
    background: #e6e7e8;
}

#sidebar .fa-inverse {
    color: #D2D3D6;
}

.product-card-mainimg {
    display: block;
    text-align: center;
    border: 1px solid #DDDDDD;
    box-shadow: 0 0 10px #DDDDDD;
    padding: 6px;
}

.product-card-mainimg img,
.product-card-smallimg img {
    max-width: 100%;
}

.product-img {
    display: inline-block;
    max-width: 100px;
}

.category-img {
    display: inline-block;
    max-width: 180px;
    min-width: 180px;
    text-align: center;
}

.switchall-label {
    padding: 0 10px;
}

.checkproduct {
    float: left;
    width: 30px;
    margin-top: 30px;
}

.cartproduct {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dedede;
}

.smallcart {
    height: 200px;
    overflow-y: scroll;
}

.table-cart .form-group {
    margin-bottom: 0;
}

.table-cart .product-cell {
    max-width: 250px;
}

.verticalcenter.wide {
    margin: 250px auto;
    top: 0;
    left: auto;
    right: auto;
    position: relative;
}

.verticalcenter a img.brand {
    width: 90%;
    max-width: 150px;
}

.focusedform .wide .panel {
    width: 95%;
    max-width: 800px;
    margin: 0 auto;
}

.alert-condensed {
    border-width: 0 0 1px 0;
    margin-bottom: 0px;
    padding: 4px 15px;
}

#page-heading .options {
    top: 32px;
}

.rub {
    position: relative;
    line-height: 1.42857 !important;
}

.rub:before {
    display: block;
    content: "–";
    position: absolute;
    top: 0.12em;
    left: 0;
}

b .rub:before,
strong .rub:before {
    top: 0.1em;
}

small .rub:before {
    top: 0.09em;
}

small b .rub:before,
small strong .rub:before {
    top: 0.15em;
}

.input-group .form-control.search {
    height: 43px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

@-moz-document url-prefix() {
    .input-group .form-control.search {
        height: 44px;
    }
}

#simple-search,
#extend {
    display: none;
}

.search-box {
    position: relative;
}

.search-box .form-group {
    width: 100%;
}

#extended-search {
    position: absolute;
    color: #777;
    font-size: 18px;
    z-index: 1;
    top: 1px;
    right: 110px;
    padding: 8px 16px;
    border-left: 1px solid #D2D3D6;
}

#extended-search:hover,
#extended-search:focus {
    text-decoration: none;
    color: #000000;
    border-left: 1px solid #CBCED0;
}

@media screen and (max-width: 768px) {
    #extended-search {
        right: 50px;
        width: 42px;
        text-align: center;
    }
}

.propsearch {
    margin-bottom: 0;
}

.propsearch .form-inline .form-group {
    margin-right: 10px;
}

[class^="tree-level"] {
    display: inline-block;
    position: relative;
    height: 1em;
}

[class^="tree-level"]:after {
    content: "\f105";
    font-family: 'FontAwesome';
    text-align: center;
    position: absolute;
    width: 15px;
    height: 1em;
    right: 0;
    top: 0;
}

.tree-level-0:after {display: none;}
.tree-level-1 {padding-left: 15px;}
.tree-level-2 {padding-left: 30px;}
.tree-level-3 {padding-left: 45px;}
.tree-level-4 {padding-left: 60px;}

.alert-bottom {
    margin: 20px 0 0;
}

.editable {
    border-bottom: 1px dashed #4F8EDC;
}

.editable-unsaved {
    background-color: #FCF3D0;
}

.scrollthis {
    overflow-y: auto;
    overflow-x: hidden;
}

.endless_page_link .fa { width: 14px; }

#wrap {
    min-height: 550px;
}

#page-content {
    position: relative;
}

.error-h1 {
    z-index: 0;
    font-size: 300px;
    color: rgba(0,0,0,.05);
    margin: 0;
    line-height: 1;
    margin-right: 40px;
    text-align: center;
}

.error-desc {
    position: relative;
    z-index: 2;
    text-align: center;
}

#page-heading h1 {
    line-height: 1.4;
    padding-bottom: 0;
}

h1 .editable-container {
    margin-top: 14px;
}

.contacts-table th {
    width: 100px;
}
.contacts-table td, .contacts-table th {
    border: none !important;
}
.contacts-table .btn {
    margin-top: -7px;
}

.pad-link {
    display: inline-block;
    padding: 7px 0;
}

.form-control.select2-container {
    padding: 0;
}

.fa[title] {
    cursor: pointer;
}

#accordion .panel-heading { cursor: pointer; }

.search-group {
    display: table;
    width: 100%;
}

.search-box .search-group > * {
    display: table-cell;
    vertical-align: top;
}

.search-group .input-lg {
    height: 43px;
}

@-moz-document url-prefix() {
    .search-group .input-lg {
        height: 44px;
    }
}

.search-group select {
    margin-left: -1px;
    min-width: 200px;
}

@media screen and (max-width: 768px) {
    .search-group select {
        min-width: 100px;
    }
}

.search-group .form-control {
    display: block;
    width: 100%;
}

.promo {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    height: 210px;
}

.promo .promo-title {
    max-height: 62px;
    overflow: hidden;
}

.promo .btn-info {
    width: 95%;
    text-align: left;
}

.userlinks .fa {
    width : 16px;
}

.promo .promo-img {
    width: 30%;
    max-width: 180px;
}

@media screen and (max-width: 992px) {
    .promo {
        height: auto;
    }
}

.filtertree {
    list-style: none;
    padding-left: 0;
}

.filtertree .filtertree {
    padding-left: 20px;
}

.filtertree .checkbox {
    margin: 0 0 .5em;
}

.callback-form .form-group {
    max-width: 160px;
    margin-bottom: 2px;
}

.callback-form .form-control {
    padding: 2px 9px;
    height: 30px;
}

.callback-form .btn .fa {
    opacity: 1;
}

.callback-form .btn-default-alt {
    color: #fff;
}

.resetimg {
    padding: 20px !important;
    margin: 2px 2px 2px 0;
}

.radioimg {margin-left: 5px}

.radioimg > input[type=radio] {
    display:none;
}

input[type=radio] + img{
    cursor:pointer;
    border:2px solid transparent;
}

.radioimg.active img{
    border:2px solid #4F8EDC;
}

.property-group ul {
    list-style: none;
}

.property-group a {
    color: inherit;
}

.prop-spoiler {
    max-height: 140px;
    overflow: hidden;
    position: relative;
}

.prop-spoiler .showall {
    position: absolute;
    bottom: 0;
    display: block;
    left: 0;
    width: 100%;
    box-shadow: 0 0 20px 20px #fff;
    background: #fff;
}

.prop-spoiler .backgroundoff {
    position: relative;
    box-shadow: none;
    background: none;
}

.prop-spoiler .showall:focus {
    outline: none;
}

.prop-spoiler.expand {
    max-height: none;
}

.properties {
    list-style: none;
    padding-left: 0;
    margin: 0;
    word-break: break-all;
}

.properties .properties li {
    padding-left: 15px;
    position: relative;
}

.properties .properties li:before {
    position: absolute;
    left: 0;
    top: 0;
    width: 15px;
    text-align: center;
    content: "\f105";
    font-family: 'FontAwesome';
}

.cascade {
    margin-bottom: 8px;
}

.showcase .product {
    position: relative;
    transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
    border: 1px solid transparent;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    padding-top: 20px;
    height: 300px;
    background: #fff;
    overflow: hidden;
    margin-bottom: 30px;
}

.showcase .product:hover {
    left: -7%;
    padding: 20px 10px 0;
    width: 114%;
    border-color: #dedede;
    box-shadow: 0 1px 11px 1px rgba(0, 0, 0, 0.12);
    z-index: 100;
    height: 365px;
    margin-bottom: -35px;
}

.showcase .product .product-img {
    max-width: none;
    display: block;
    text-align: center;
}

.showcase .product .product-img img {
    width: 100%;
    max-width: 200px;
    display: block;
    margin: 0 auto;
}

.showcase .product .product-title {
    color: #666;
    text-transform: uppercase;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 200px;
}

#instantshop .price,
.showcase .product .price {
    font-size: 22px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 200px;
}

#instantshop .price s,
.showcase .product .price s {
    display: inline-block;
    margin-right: 10px;
    font-size: 16px;
}

#instantshop .price {
    text-align: left;
}

#instantshop #product-price {
    margin-left: 0;
}

.showcase .product .price + p {
    margin-left: auto;
    margin-right: auto;
    width: 200px;
}

.product .product-item__code {
    color: #B9B9B9;
    background: #F1F1F1;
    padding: 2px 10px;
}

.price-request-btn {
    /* для банка, чтобы текст поместился */
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
}

.row.price-request-btn {
    width: 130px;
    float: right;
}

.row.price-request-btn .btn {
    width: 130px;
}

/** LIST CATALOG VIEW **/

.product--item-list {
    min-height: 122px;
    border-bottom: 1px solid #e6e7e8;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.product--item-list .products-count {
    min-width: 70px;
    max-width: 70px;
    margin-right: 5px;
}

.product--item-list .price-request-btn {
    margin-top: 4px;
}

.product--item-list .select {
    min-width: 180px;
    max-width: 180px;
    margin-right: 5px;
}


.product--item-list .product-discount {
    float: left;
    position: absolute;
    right: 340px;
}
.product--item-list .product-description {
    margin-top: 10px;
    margin-bottom: 10px;
}

/** TABLE CATALOG VIEW **/

.product--item-table {
    border-bottom: 1px solid #e6e7e8;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.product--item-table .catalog-product-list__props {
    display: none;
}

.product--item-table:after {
    content: "";
    width: 100%;
    height: 0;
    clear: both;
}

.product--item-table .product-left,
.product--item-table .product-mid {
     float: left;
}

.product--item-table .product-right {
    float: right;
}

.product--item-table .product-img {
    display: none;
}

.product--item-table .product-left {
    width: 30px !important;
}

.product--item-table .checkproduct {margin-top: 0;float: none;position: absolute;}
.product--item-table .checkproduct .checkbox {margin: 0;}

.product--item-table .product-title {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}
.product--item-table .product-description {
    margin-top: 10px;
    margin-bottom: 10px;
}
.product--item-table .product-item__code {
    margin: 5px 0;
    display: inline-block;
}
.product--item-table .supplier {display: inline}
.product--item-table .supplier:before {content:"("}
.product--item-table .supplier:after {content:")"}
.product--item-table .productlists {display: none;}
.product--item-table .table-hidden {
    display: none;
}
.product--item-table .product-right {
    width: 340px;
}
.product--item-table .product-price {
    float: none;
    width: auto;
    display: inline-block;
    margin: 0;
    font-size: 16px;
    margin-right: 10px;
    margin-bottom: 10px;
}
.product--item-table .buy-btn {
    float: right;
}
.product--item-table .products-count {
    min-width: 70px;
    max-width: 70px;
    margin-right: 5px;
}

.product--item-table .price-request-btn {
    margin-top: -5px;
    margin-right: 0px;
}

.product--item-table .select {
    min-width: 180px;
    max-width: 180px;
    margin-right: 5px;
}

/** GRID CATALOG VIEW **/

.product--item-grid .panel-body {
    padding-right: 0;
}


.product--item-grid .catalog-product-list__props {
    display: none;
}

.product--item-grid {
    height: 440px;
    overflow: hidden;
    position: relative;
    margin: 0;
    border: 1px solid transparent;
    background: #fff;
    z-index: 0;
    transition: transform 300ms;
    float: left;
    width: 25%;
    left: auto;
}
    .product--item-grid:hover {
        border-color: #DEDEDE;
        box-shadow: 0 1px 11px 1px rgba(0, 0, 0, 0.12);
        z-index: 100;
        transform: scale(1.1);
    }

.product--item-grid .product-divider {display: none;}
.product--item-grid .product-left,
.product--item-grid .product-mid,
.product--item-grid .product-right {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    z-index: 0;
}
.product--item-grid .product-left {
    left: 0;
    top: 0;
    padding: 0;
    width: 100% !important;
}

.product--item-grid .checkproduct {
    margin: 0;
    position: absolute;
    left: 0;
    top: 6px;
    z-index: 1;
}
.product--item-grid:hover .checkproduct {
    left: 10px;
}
.product--item-grid .checkproduct .checkbox {margin: 0;}
.product--item-grid .product-img {
    max-width: none;
    height: 180px;
    display: block;
    overflow: hidden;
    text-align: center;
    margin-top: 10px;
    width: 214px;
}

.product--item-grid .product-img img {
    display: block;
    margin: 0 auto;
}

.product--item-grid .product-title {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    height: 32px;
}
.product .product-agreement{
    color: #b18791;
}

.product--item-grid .product-agreement{
    text-align: center;
}

.product--item-grid .product-title small {
    display: block;
}

.product--item-grid .product-name {
    display: block;
    overflow: hidden;
    height: 20px;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
}
.product--item-grid .product-title :hover {text-decoration: none;}
.product--item-grid .table-hidden {display: none;}
.product--item-grid .productlists {display: none;}
.product--item-grid .supplier {
    display: block;
    text-align: center;
}

.product--item-grid .product-mid .productstickers,
.product--item-grid .product-price {
    text-align: center;
    margin: 0 0 10px;
    line-height: 18px;
}
.product--item-grid .product-discount {
    font-size: 16px;
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 0;
    border-style: solid;
    border-width: 0 130px 70px 0;
    border-color: transparent #85c744 transparent transparent;
    margin-top: 0;
}
.product--item-grid .product-discount small {
    color: #fff;
    margin: 0 0 0 70px;
}
.product--item-grid .product-discount .label-success {
    background-color: transparent;
}

.product--item-grid .buy-btn {}
.product--item-grid .buy-btn > * {float: none;width: 200px !important;}
.product--item-grid .buy-btn > .form-group {width: 100% !important;}
.product--item-grid .fast-order {
    float: none;
    min-width: 0px;
}

.product--item-grid .product-img,
.product--item-grid .product-title,
.product--item-grid .product-title small,
.product--item-grid .supplier,
.product--item-grid .product-price,
.product--item-grid .select,
.product--item-grid .buy-btn {
    width: 200px;
    margin-left: auto;
    margin-right: auto;
}
.product--item-grid .select {
    margin-bottom: 5px;
}

.product--item-grid .buy-btn {
    position: absolute;
    bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

.product--item-grid .price-request-btn {
    margin: auto;
    text-align: center;
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    display: none;
}

.product--item-grid:hover .price-request-btn {
    display: block;
}

.product--item-grid .buy-btn .agora__button-buy {max-width: 100%;}

.product--item-grid .product-right .fast-order input ~ .agora__button-buy,
.product--item-grid .product-right .fast-order input ~ .agora__button-buy-preorder {
    margin-top: 0px;
    min-width: 60% !important;
    max-width: 60% !important;
    width: 60% !important;
}

.product--item-grid .product-right .fast-order input {
    min-width: 40% !important;
    max-width: 40% !important;
    width: 40% !important;
    margin: 0 auto;
    display: inline-block;
    float: left;
}

.product--item-grid .product-mid .productstickers {
    height: 20px;
    width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.product--item-grid .product-mid .product-title a i.fa-edit {
    position: absolute;
    bottom: 45px;
    left: 160px;
}

.product--item-grid .block-rating {
    text-align: center;
}


.fast-order > * {
     min-width: 100px;
     float: left;
}

.fast-order {
    float: right;
    min-width: 0px;
}

.fast-order > .btn {
    width: 130px;
    margin: 0 auto;
    display: inline-block;
}

.fast-mod-order  {
    min-width: 130px;
}

.tip {
    cursor: pointer;
}

.tc-name {
    white-space: nowrap;
}

.nobadges .badge {
    display: none;
}

.navbar-nav > li > .help_container {

    width: 400px;
    z-index: 1000;
    box-shadow: 0 20px 200px 200px rgba(0,0,0,.2);
    border: 1px solid #bbb;
    border-top: none;
    padding: 10px;
}

#help_container-content {
    max-height: 300px;
    overflow: hidden;
    overflow-y: auto;
    margin-bottom: 10px;
}

.help_container-footer {
    padding: 10px 0 0;
    border-top: 1px solid #ddd;
}

.help_container-footer label,
#help-checkbox {
    margin: 0;
}

.footer-social a.facebook:hover,
.footer-social a.facebook:focus {
    background: #4672B3;
    border-color: #4672B3;
}

.footer-social a.youtube:hover,
.footer-social a.youtube:focus {
    background: #CB322C;
    border-color: #CB322C;
}

.footer-social a.linkedin:hover,
.footer-social a.linkedin:focus {
    background: #2E8CC2;
    border-color: #2E8CC2;
}

.footer-social a.twitter:hover,
.footer-social a.twitter:focus {
    background: #099BCC;
    border-color: #099BCC;
}

.footer-phone {
    color: #fff;
}

.comment-user {
    color: #4F8EDC;
    padding: 12px 0;
}

.comment-body {
    position: relative;
    border: 1px solid #dedede;
    padding: 12px;
    margin-bottom: 10px;
}

.comment-body:before, .comment-body:after {
    content: "";
    position: absolute;
    left: -24px;
    top: 10px;
    width: 0;
    height: 0;
    border: 12px solid transparent;
}

.comment-body:before {
    border-right-color: #dedede;
    z-index: 0;
}

.comment-body:after {
    border-right-color: #fff;
    z-index: 1;
    left: -23px;
}

input[type=radio].comment-rating {visibility: hidden; display:none;}
#div_id_rating label.radio-inline {
    margin-left: 0;
}
#div_id_rating label.radio-inline:not(:first-child) {
    padding-left: 10px;
}
#div_id_rating label.radio-inline:first-child {
    padding-left: 0;
}

.hovered-comment-rating {
    color: #efa131;
}

.edit-comment-form {
    display: none;
}

.comment-item {
    margin-bottom: 10px;
}

.zero-rating:hover {
    color: red;
}
.zero-rating .hovered-comment-rating {
    color: inherit;
}

.wizard ul li {
    padding-right: 10px;
    padding-left: 20px;
    min-width: 150px;
    max-width: 250px;
}

#preview .modal-lg {
    /* should correlate with settings.THUMBNAIL_OPTIONS_DICT['zoom_large'] */
    width: 1024px;
}
#preview .close {
    position: absolute;
    top: 0;
    right: 0;
    margin: 5px 10px;
}

.nav li a {
    padding: 10px 12px;
}

.navbar-collapse {
    padding-right: 5px;
}

.related_products_block {
    width: 304px;
    background-color: white;
    padding: 5px;
    margin: 0;
    margin-top: 20px;
}

    .related_products_block__inner {
        border: 1px solid #dedede;
    }
        .related_products_block__inner__title {
            margin-top: 10px;
            margin-left: 10px;
        }
        .related_products_block__inner__icon {
            font-size: 10px;
        }
        .related_products_block__inner__list {
            border-top: 1px solid #dedede;
            padding-top: 20px;
        }
            .related_products_block__inner__list__item {
                height: 200px
            }
                .related_products_block__inner__list__item__img__wrapper {
                    position: relative;
                    display: inline-block;
                    margin: 0 auto;
                }
                    .related_products_block__inner__list__item__img {
                        margin: 0 auto;
                        display: block;
                    }
                .related_products_block__inner__list__item__name {
                    color: #4f8edc;
                    padding: 0 5px;
                    text-align: center;
                    margin-bottom: 0;
                }
                .related_products_block__inner__list__item__price {
                    padding: 0 5px;
                    text-align: center;
                    margin-top: 5px;
                }
                .related_products_block__inner__list__item__discount {
                    position: absolute;
                    top: 5px;
                    right: -1px;
                    color: white;
                }
                .related_products_block__inner__list__item__discount .price {
                    padding: 5px 5px 5px 10px;
                }

._mt-10 {
    margin-top: 10px !important;
}

.table-borderless tbody tr td, .table-borderless tbody tr th, .table-borderless thead tr th {
    border: none;
}

._panel-heading-custom {
    height: auto;
    padding: 0 20px;
}
    ._panel-heading-custom label {
        padding: 0 10px;
    }
    ._panel-heading__item-custom {
        padding-top: 10px;
    }
    ._panel-heading__item__text-custom {
        font-size: 12px;
        line-height: 13px;
    }

.properties-forms {
    border: 1px solid #ddd;
    margin-bottom: 20px;
    padding: 20px 20px 0;
}

.modification-meta {
    background-color: #fcf3d0;
}

.toolbar .dropdown .popover{max-width: none; min-width: 500px !important;}

.dashed-panel {
    border: dashed 1px;
    padding: 5px 20px;
    display: inline-block;
    margin: 20px 0;
}

.select2.form-control {
    height: auto !important;
}

.editable-error-block {
    font-size: 16px;
}

.footer-placeholder {
    height: 61px;
}

.page-leftbar {
    height: 100%;
    width: 250px !important;
    overflow: hidden !important;
    box-shadow: none !important;
    border-right: 1px solid #ddd;
}

.page-leftbar-inner {
    position: absolute;
    top: 0;
    bottom: 40px;
    left: 0;
    right: -20px;
    overflow-y: auto;
}

.page-leftbar-inner nav {
    margin-bottom: 150px;
    width: 250px;
}

#page-container {
    overflow: visible;
}

#page-content {
    box-shadow: none;
    margin-left: 250px;
}

@media screen and (max-width: 768px) {
    #page-content {
        margin-left: 0;
    }
    #page-leftbar {
        display: none;
    }
}

.select2-container {
    display: block;
}
@media(max-width: 991px) {
    .verticalcenter.wide {
        left: auto;
        right: auto;
        margin: 100px auto;
    }
    .form-horizontal .radio-inline,
    .form-horizontal .checkbox-inline,
    .form-horizontal .radio-inline+.radio-inline,
    .checkbox-inline+.checkbox-inline {
        margin-left: 0;
        padding-left:0;
    }
}
@media(max-width: 900px) {
    .focusedform .wide .panel {
        width: 95%;
        max-width: 700px;
        margin: 0 auto;
        left: auto;
        right: auto;
    }
    .verticalcenter.wide {
        left: auto;
        right: auto;
        margin: 50px auto;
    }
}

@media(max-width: 767px) {
    .focusedform .wide .panel {
        width: 95%;
        max-width:95%;
        margin: 0 auto;
        left: auto;
    }
    .verticalcenter.wide {
        left: auto;
    }
}

@media (max-width: 767px) {
    #page-leftbar {
        left: -250px;
        z-index: 9999;
    }

    #page-content {
        margin-left: 0;
    }

    #sidebar > li.active > a:after {
        display: none;
    }
}

#page-leftbar {
    box-shadow: none;
    display: block;
}

.page-leftbar-inner nav .btn.btn-default.btn-xs[data-target="#sidebar"] {
    display: none;
}

#sidebar ul, #sidebar ul li a {
    box-shadow: none;
}

#page-leftbar, #page-content, #sidebar {
    -webkit-transition: 250ms ease;
    transition: 250ms ease;
}

.product-rests {
    margin-top: 10px;
    margin-bottom: 10px;
    color: #999;
}

.product-rests-item {
    margin-bottom: 5px;
    font-weight: 600;
}

.product.product--item-grid .product-rests {
    text-align: center;
}

.product-detail .product-rests {
    margin-top: 20px;
}

.product-detail-input-size {
    width: 100px !important;
}

.page-leftbar .supplier-category-item.active i.fa {
    font-size: 16px !important;
}

.page-leftbar .supplier-category-item {
    border-top: 1px solid #ddd;
}
    .page-leftbar .supplier-category-item ul li {
        background: transparent !important;
        margin-bottom: 5px;
    }
        .page-leftbar .supplier-category-item ul li a {
            background: transparent !important;
            padding: 0 30px !important;
        }
    .page-leftbar .supplier-category-item,
    .page-leftbar .supplier-category-item li {
        position: relative;
    }
    .page-leftbar .supplier-category-item a {
        padding-left: 35px !important;
        padding-right: 30px !important;
    }
    .page-leftbar .supplier-category-item i.fa {
        position: absolute;
        top: 15px;
        left: 10px;
        cursor: pointer;
        z-index: 100;
    }
    .page-leftbar .supplier-category-item i.fa.fa-folder-o {
        cursor: default;
    }
    .page-leftbar .supplier-category-item i.fa:hover {
        opacity: 0.6;
    }
    .page-leftbar .supplier-category-item i.fa.fa-folder-open ~ ul {
        display: block;
    }
    .page-leftbar .supplier-category-item i.fa.fa-folder ~ ul {
        display: none !important;
    }

    .page-leftbar .supplier-category-item ul ul {
        padding-left: 10px !important;
        background: transparent !important;
        margin-top: 5px;
    }

    .page-leftbar .supplier-category-item__list {
        padding-left: 20px !important;
        border-top: 1px solid #ddd;
        width: 250px;
        padding-bottom: 20px;
    }
        .page-leftbar .supplier-category-item__list * {
            float: none !important;
        }
        .page-leftbar .supplier-category-item__list a i.fa {
            position: absolute;
            left: 0;
        }
        .page-leftbar .supplier-category-item__list a i+span {
            margin: 0 !important;
            width: auto !important;
        }
        .page-leftbar .supplier-category-item__list i.fa {
            top: 5px;
            left: 5px;
        }

    .page-leftbar .supplier-category-item:last-child .supplier-category-item__list {
        padding-bottom: 90px !important;
    }


.category-name-hint {
    color: #aeafb1;
    font-size: 13px;
    margin-bottom: 10px;
}

.supplier-category-field .form-group {
    margin-bottom: 5px;
}
select#id_country {
    line-height: 30px;
}

.panel-body col-md-2 a.thumbnail {
    width: 50%;
}

.banners__slider__item__image {
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

.form-control {
    border-radius: 0 !important;
}

.results_on_deck {
    padding: 0 !important;
}

.results_on_deck > div {
    margin: 0.25em !important;
}

div.select2-container a.select2-choice {
    height: 34px;
    line-height: 34px;
}

ul {
    list-style: none;
    padding-left: 0;
}

label > input[type="checkbox"] {
    margin-right: 5px;
}

.navbar-nav.toolbar > li > .dropdown-menu.dropdown-menu_limited-height {
    max-height: 300px;
    overflow-y: scroll;
}
