@font-face {
    font-family: 'Font Awesome 5 Free';
    src: url("./fonts/FontAwesome5/fa-solid-900.eot");
    src: url("./fonts/FontAwesome5/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("./fonts/FontAwesome5/fa-solid-900.woff2") format("woff2"), url("./fonts/FontAwesome5/fa-solid-900.woff") format("woff"), url("./fonts/FontAwesome5/fa-solid-900.ttf") format("truetype"), url("./fonts/FontAwesome5/fa-solid-900.svg#fontawesome") format("svg");
}

@font-face {
    font-family: 'Font Awesome 5 Brands';
    src: url("./fonts/FontAwesome5/fa-brands-400.eot");
    src: url("./fonts/FontAwesome5/fa-brands-400.eot?#iefix") format("embedded-opentype"), url("./fonts/FontAwesome5/fa-brands-400.woff2") format("woff2"), url("./fonts/FontAwesome5/fa-brands-400.woff") format("woff"), url("./fonts/FontAwesome5/fa-brands-400.ttf") format("truetype"), url("./fonts/FontAwesome5/fa-brands-400.svg#fontawesome") format("svg");
}

ul:not([class]), ol:not([class]) {
    padding-left: 1.2em;
    margin: .8em 0 1.2em;
}

ul:not([class]) > li, ol:not([class]) > li {
    margin: 6px 0;
}

.header-top .krystal-nav > li {
    white-space: nowrap;
}

.header-content {
    padding: 20px 0;
}

.counter-your-cart {
    display: block;
    height: 0;
}

@media (max-width: 992px) {
    .header-content {
        padding-bottom: 0;
    }
}

.header-content .nav-left {
    padding-top: 0;
}

.header-content .nav-right {
    padding-top: 16px;
}

.fa-heart {
    color: #c30c0c;
}


.form-row .input-text {
    color: #444;
}

a {
    color: #31629f;
    text-decoration: underline;
}

.header-nav a,
a.wishlist,
a.to-chat,
a.minicart,
.vertical-menu-list a,
.store-control a,
.list-group a {
    color: #222;
    text-decoration: none;
}

a.btn,
.product-info-price a,
.nav-tab a {
    text-decoration: none;
}

a[href="#"],
a[herf=""] {
    text-decoration: none;
    color: inherit;
}

input[type="number"]{
    border: 1px solid #e8e8e8;
    padding: 6px 15px;
    color: #747474;
    max-width: 100%;
}

.input-text::-webkit-input-placeholder { color: #aaa; }
.input-text::-moz-placeholder { color: #aaa; }
.input-text:-ms-input-placeholder { color: #aaa; }
.input-text:-moz-placeholder { color: #aaa; }

.form-row.contact-group {
    overflow: hidden;
    margin-bottom: 4px;
    padding-right: 20px;
    position: relative;
}

.form-row.contact-group .input-text {
    width: 40%;
    float: left;
    margin-left: -1px;
    border-radius: 0;
}

.form-row.contact-group .input-text:first-child {
    width: 20%;
    margin-left: 0;
    border-radius: 3px 0 0 3px;
}

.form-row.contact-group .input-text:last-child {
    border-radius: 0 3px 3px 0;
}

.form-row.contact-group .multi-input__remove {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    height: 40px;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 32px;
    cursor: pointer;
}

.form-row.contact-group .multi-input__remove::before {
    content: "\00D7";
}

select.input-text {
    padding: 6px 15px;
}

select.input-text[disabled] {
    background-color: #EEE;
    color: #888;
}

label + label.inline {
    margin-left: 1em;
}

.modal-content {
    background: #FFF;
}

.categories-item ul {
    list-style-type: none;
}

.block-search {
    margin-left: 0;
    margin-top: 18px;
}

li.active > a {
    color: #005ed2;
}

[data-multi-input] {
    display: none;
}

.tab-details-product .tab-container p {
    margin-bottom: 12px;
}

.contacts-list li {
    margin-bottom: 5px;
    padding-left: 32px;
    position: relative;
    display: block;
}

.contacts-list li::before {
    font-family: 'Font Awesome 5 Brands';
    font-weight: 400;
    font-size: 16px;
    color: #666;
    position: absolute;
    width: 32px;
    text-align: center;
    left: 0;
    top: 0;
}

.contacts-list li.contact-address::before { content: "\f3c5"; font-family: 'Font Awesome 5 Free'; }
.contacts-list li.contact-post-address::before { content: "\f0e0"; font-family: 'Font Awesome 5 Free'; }
.contacts-list li.contact-schedule::before { content: "\f017"; font-family: 'Font Awesome 5 Free'; }
.contacts-list li.contact-phone::before { content: "\f3cd"; font-family: 'Font Awesome 5 Free'; }
.contacts-list li.contact-email::before { content: "\f1fa"; font-family: 'Font Awesome 5 Free'; }
.contacts-list li.contact-whatsapp::before { content: "\f232"; }
.contacts-list li.contact-skype::before { content: "\f17e"; }
.contacts-list li.contact-viber::before { content: "\f409"; }
.contacts-list li.contact-vk::before { content: "\f189"; }
.contacts-list li.contact-telegram::before { content: "\f3fe"; }
.contacts-list li.contact-facebook::before { content: "\f39e"; }

.company-form {
    padding-top: 35px;
    //margin-top: 43px;
    //border-top: solid 1px #e6e6e6;
    border:0;
}

.select2-container--default .select2-selection--single {
    width: 100%;
    border: 1px solid #e6e6e6 !important;
    border-radius: 3px !important;
    font-size: 13px !important;
    color: #aaa !important;
    height: 40px !important;
}

.select2-selection__rendered {
    line-height: 37px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: 3px !important;
}
.toolbar-option .chosen-container {
    width: 300px !important;
}
.tab-details-product {
    border:0;
    margin-top:0;
}

.row-flex, .row-flex > div[class*='col-'] {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex:1 1 auto;
}

.row-flex-wrap {
    -webkit-flex-flow: row wrap;
    align-content: flex-start;
    flex:0;
}

.row-flex > div[class*='col-'] {
    margin:-.2px; /* hack adjust for wrapping */
}

.block {
    position: relative;
    padding-bottom: 1.5em;
}

.block > div {
    background-color: #f9f9f9;
    text-align: center;
    border-radius: 10px;
    padding: 1.5em 1.5em 3em;
    margin-bottom: 1.5em;
    height: 100%;
    position: relative;
}

.block h3, .block h1 {
    margin-bottom: 1em;
}

.block > div > .btn {
    position: absolute;
    left: 1em;
    right: 1em;
    bottom: 1em;
    width: auto;
}

.price-rub input[type="text"],
.price-rub input[type="number"]
{
    background-image: url(/local/templates/krystal/images/rub.svg);
    background-size: 20px;
    background-position: 99% center;
    background-repeat: no-repeat;
    padding-right: 40px;
}

.tb-product .product-name p {
    margin-bottom: 5px;
}
.shopping-cart .form-cart .table td {
    padding:10px 10px !important;
    vertical-align: middle;
}

.order-title {
    background: #f6f6f6;
}


#cart-modal .modal-dialog {
    width:600px;
}

#success-add .modal-dialog {
    width:600px;
}

.order-status td {
    border-bottom: 0 !important;
}
.order-sum td {
    border-top: 0 !important;
}

.chosen-container .chosen-results {
    max-height: 80vh;
}

.chosen-container-single .chosen-drop {
    min-width: 360px;
}

.select2-container--default .select2-results>.select2-results__options {
    max-height: 50vh;
}

.categori-search .chosen-container .chosen-results li.active-result {
    text-align: left;
    padding: 5px 10px;
}

.categori-search .chosen-container-single .chosen-single {
    text-align: left;
    padding: 0 10px;
}

.categori-search .chosen-container-single .chosen-single div b {
    text-align: right;
    padding-right: 5px;
}

.products-list .product-image {
    padding: 10px;
}
.product-info .product-name {
    margin-top:6px;
}

.product-info-price .price ins {
    font-size: 17px;
}

.product-items.no-image .product-image {
    display: none;
}

.product-items.no-image .product-info {
    width: 77%;
}

.typal-name {
    display:none;
}

.under-title {
    margin-top: -12px;
    margin-bottom: 12px;
}

.btn.btn-primary {
    color: #fff;
    cursor: pointer;
}

span.archive {
    color: red;
    font-weight: 600;
}


.pagination {
    border: none;
    text-align: left;
    padding: 47px 0 0 0;
}

.product-list .pagination {
    text-align: center;
}

.product-list .pagination .nav-links li{
    margin: 0 6px 24px 0;
}

.pagination .nav-links li a {
    background-color: #eee;
}

.pagination .nav-links li span {
    color: #000;
    font-weight: bold;
    padding: 9.5px 15px;
}

.pagination .show-resuilt {
    display: inline-block;
    color: #333;
    float: none;
    font-weight: 600;
}

.pagination .nav-links {
    display: inline-block;
}

.wishlist-minicart{
    font-size: 16px;
    display: inline-block;
    float: right;
    padding-top: 0px;
}

.select2-container {
    width:100% !important;
}

.company-notification {
    margin-right: -10px;
    margin-left: 6px;
}

.header-opt-1 .header-top .company-notification a
{
    display: inline-block;
    padding: 2px 6px;
    background: #31629f;
    border-radius: 10px;
    font-size: 10px;
    color: #fff;
    line-height: 16px;
    min-width: 20px;
    text-align: center;
    text-decoration: none;
}
.market-banner {
    display: block;
    position: relative;
    margin: 15px 15px;
    text-align: center;
    background: #f9f9f9;
    overflow: hidden;
    text-decoration: none;
    border-radius: 6px;
}

.product-list .market-banner {
    margin: 0;
    border-radius: 0;
    transition: all 0.3s ease 0s;
}

.product-list .market-banner::after {
    display: block;
    content: 'реклама';
    padding: 2px 10px;
    line-height: 100%;
    background: rgba(255, 255, 255, .5);
    font-size: 12px;
    color: #000;
    position: absolute;
    right: 5px;
    bottom: 5px;
    border-radius: 6px;
}

.product-list .market-banner:hover {
    box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
}

.post-item .market-banner {
    margin: 0 0 15px;
}

.market-banner > img {
    max-height: 100%;
    max-width: 100%;
}

.market-banner > .market-banner__text {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    white-space: nowrap;
}

.market-banner > .market-banner__text::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 100%;
    vertical-align: middle;
}

.market-banner > .market-banner__text > span {
    display: inline-block;
    padding: 10px 20px;
    vertical-align: middle;
    white-space: normal;
    color: #FFF;
    text-shadow: 0 0 4px #000;
    font: bold 24pt Arial;
    text-decoration: none;
}

@media (max-width: 992px) {
    .market-banner > .market-banner__text > span {
        font-size: 20pt;
    }
}

@media (max-width: 620px) {
    .market-banner > .market-banner__text > span {
        font-size: 16pt;
    }
}

.products-list .product-items.read {
    background: #e6e6e6;
    border-color: #CCC;
}

.statistics .col-sm-12 {
    padding-bottom: 20px;
}

.hide-text{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.statistics-total td {
    font-weight: 600;
}

.tb-price .updated-price{
    font-size: 12px;
    font-weight: normal;
}

.recommended {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    cursor: help;
}

.recommended::before {
    content: "\f559";
    font-family: 'Font Awesome 5 Free';
    color: #ff8a00;
    vertical-align: middle;
    font-size: 100%;
}

.recommended::after {
    box-sizing: border-box;
    text-transform: none !important;
    content: "Рекомендовано\AПродуктовой биржей";
    font: normal normal 11px 'Open Sans', sans-serif !important;
    text-decoration: none  !important;
    line-height: 14px !important;
    white-space: pre;
    display: block;
    position: absolute;
    left: 50%;
    bottom: 60%;
    background: #FFF;
    border: solid 1px #CCC;
    border-radius: 8px 8px 8px 0;
    overflow: hidden;
    opacity: 0;
    transition: width .4s ease,
        padding .4s ease,
        opacity .4s ease;
    width: 0;
    padding: 5px 0;
}

.recommended:hover::after {
    width: 13em;
    padding: 5px 10px;
    opacity: 1;
}


a.check-all {
    text-decoration: underline;
}

a.to-archive, a.order-delete {
    color: #555;
    background-color: #eee;
    font-weight: 600;
    padding: 9px 15px;
    text-transform: uppercase;
    border-radius: 4px;
}
a.to-archive:hover, a.order-delete:hover{
    background-color: #31639f;
    color:#fff;
}

.table-screen {
    margin: 20px 20px;
    text-align: center;
}

.table-screen img {
    max-width: 100%;
    box-shadow: 1px 1px 6px rgba(0, 0, 0, .3);
    margin-bottom: 20px;
}

.site-footer {
    padding-top: 20px;
    margin-top: 40px;
    background: #f6f6f6;
}

.copyright {
    padding-bottom: 20px;
}

.controlled-readonly {
    background: #F8F8F8;
    opacity: .5;
}

.select2-dropdown {
    border-color: #ddd;
}
.select2-container--default .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid #e6e6e6;
    border-radius: 3px;
}

.faq-blocks {
    font-size: 0;
}

.faq-block {
    padding-bottom: 40px;
    text-align: center;
    vertical-align: top;
    display: inline-block;
    float: none;
    font-size: 14px;
}

.resume {
    font-size: 18px;
    font-weight: 700;
    margin: 20px 0;
}

.resume td {
    padding-right: 15px;
    text-align: right;
}

.promotion {
    color: #A00;
}
/*
.form-search .form-control {
    width: 295px;
}*/

@media(max-width: 768px) {
    .main-description {
        width: 100%;
    }
}