.thumbnail.shop-preview {
    padding: 8px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    box-shadow: 0 0 0 transparent;
    position: relative;
    height: calc(100% - 20px);
}
.thumbnail.shop-preview:hover {
    box-shadow: 0 8px 10px #999999;
    margin-top: -2px;
    margin-bottom: 22px;
}
.thumbnail.shop-preview .image {
    /*height: 280px;*/
    /*overflow: hidden;*/
    text-align: center;
    position: relative;
}
.thumbnail.shop-preview.magazine .image {
    margin-bottom: 82px;
}
/*.thumbnail.shop-preview.cert .image {*/
    /*!*max-height: 280px;*!*/
    /*!*height: auto;*!*/
    /*position: relative;*/
/*}*/
.thumbnail.shop-preview .image:before {
    content: '';
    display: block;
    padding-top: 100%;
}
.thumbnail.shop-preview .image > a {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
.thumbnail.shop-preview .image img {
    max-height: 100%;
    width: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.thumbnail.shop-preview.book .text-right .fa-check,
.thumbnail.shop-preview.magazine .text-right .fa-check
{
    color: #409b33;
    font-size: 26px;
    vertical-align: middle;
}
.thumbnail.shop-preview.book .text-right .fa-times,
.thumbnail.shop-preview.magazine .text-right .fa-times
{
    color: #9b2400;
    font-size: 26px;
    vertical-align: middle;
}
.thumbnail.shop-preview.book.inactive,
.thumbnail.shop-preview.magazine.inactive
{
    background-color: #fffcf6;
}
.thumbnail.shop-preview.e-cert {
    border: 1px solid #ffe6c1;
    background-color: #fffcf1;
    position: relative;
}
.thumbnail.shop-preview.e-cert:before {
    content: '@';
    font-size: 160px;
    bottom: -25px;
    left: 20px;
    color: #fdf0e3;
    position: absolute;
    z-index: 0;
}
.thumbnail.shop-preview.e-cert > * {
    position: relative;
    z-index: 1;
}
.thumbnail.shop-preview.print-cert > h4 a {
    color: #d0810f;
}
.thumbnail.shop-preview h4.h4-price.with-discount {
    color: #b7001b;
}
.thumbnail.shop-preview h4.h4-price small {
    margin-top: -13px;
    display: block;
    color: #666;
}
.thumbnail.shop-preview .label-success {
    background-color: #8bc68b;
    font-weight: 400;
}




.shop-preview > h4,
.shop-preview > h4 a
{
    text-decoration: none;
    font-weight: 400;
    min-height: 25px;
    color: #000;
}
.shop-preview.cert > h4 a {
    /*font-size: 21px;*/
}
.shop-preview.cert > h4 + p > small b {
    color: #222;
}
.shop-preview > h4 {
    height: 62px;
    overflow: hidden;
}
.shop-preview p.author {
    min-height: 20px;
    /*overflow: hidden;*/
}
.shop-preview > h4.absolute {
    height: auto;
    max-height: 82px;
    position: absolute;
    bottom: 102px;
    background-color: #ffffffc9;
    -moz-transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    margin: 0;
    padding-bottom: 8px;
    right: 7px;
    left: 8px;
}
.shop-preview:hover > h4.absolute {
    background-color: #ffffffe8;
}
.shop-preview > h4.absolute.absolute-140 {
    bottom: 140px;
}
.shop-preview > h4.absolute.absolute-180 {
    bottom: 180px;
}
.shop-preview:hover > h4.absolute {
    max-height: 200px;
}
.shop-preview.book > h4 + div p > small,
.shop-preview.magazine > h4 + div p > small
{
    color: #979797;
    font-size: 13px;
}
.shop-preview.book > h4 + div p > small a,
.shop-preview.magazine > h4 + div p > small a
{
    text-decoration: underline;
    color: #686868;
}
.shop-preview.book > h4 + div p > small a:hover,
.shop-preview.magazine > h4 + div p > small a:hover
{
    color: #f8a34b;
}

.shop-category .filter label {
    font-weight: 400;
    color: #999;
}
.shop-category .filter .form-group .btn.btn-sm {
    margin: 4px 8px 4px 0;
}
.shop-category .filter .form-group .btn.btn-sm:last-child {
    margin: 4px 0;
}
.shop-category .filter .filter-checkboxes {
    max-height: 700px;
    overflow-y: auto;
}
.shop-category .filter .filter-checkbox-row {
    margin: 10px 0;
}
.shop-category .filter .filter-checkbox-row input[type="checkbox"] {
    /*
    margin: 0 4px 0 0;
    display: inline;
    width: 15px;
    height: 15px;
    */
    display: none;
}
.shop-category .filter input[type="checkbox"] + label.filter-checkbox {
    display: inline-block;
    background-color: #f7f7f7;
    width: 20px;
    height: 20px;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    margin: 0 8px 0 0;
    -moz-transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    border-radius: 4px;
}
.shop-category .filter input[type="checkbox"]:checked + label.filter-checkbox,
.shop-category .filter input[type="checkbox"] + label.filter-checkbox:hover
{
    background-color: #f1f1f1;
    color: #333;
}
.shop-category .filter .filter-checkbox-row input[type="checkbox"] + label.filter-checkbox + label {
    display: inline;
    font-weight: 300;
    font-size: 0.95em;
    color: #666;
    cursor: pointer;
    -moz-transition: color 0.25s ease-in-out;
    -webkit-transition: color 0.25s ease-in-out;
    -o-transition: color 0.25s ease-in-out;
    transition: color 0.25s ease-in-out;
}
.shop-category .filter .filter-checkbox-row input[type="checkbox"]:checked + label.filter-checkbox + label
{
    color: #222;
    font-weight: 400;
}
.shop-category .filter .filter-checkbox-row input[type="checkbox"] + label.filter-checkbox + label:hover
{
    color: #222;
}
.shop-category .filter input[type="checkbox"] + label.filter-checkbox:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' height='15'%3E%3Cpath fill='%23777777' d='M435.848 83.466L172.804 346.51l-96.652-96.652c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l133.421 133.421c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-28.284-28.284c-4.686-4.686-12.284-4.686-16.97 0z' class=''%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    -moz-transition: opacity 0.25s ease-in-out;
    -webkit-transition: opacity 0.25s ease-in-out;
    -o-transition: opacity 0.25s ease-in-out;
    transition: opacity 0.25s ease-in-out;
    opacity: 0.2;
}
.shop-category .filter input[type="checkbox"] + label.filter-checkbox:hover:before,
.shop-category .filter input[type="checkbox"]:checked + label.filter-checkbox:before
{
    opacity: 1;
}
.shop-category .filter .filter-sub-checkboxes {
    padding: 5px 0 0 28px;
}
.shop-category .filter .filter-sub-checkboxes input[type="checkbox"] + label.filter-checkbox {
    width: auto;
    padding: 4px 8px;
    font-size: 1em;
    font-weight: 300;
    height: auto;
    margin: 0 5px 8px 0;
    color: #888;
}
.shop-category .filter .filter-sub-checkboxes input[type="checkbox"] + label.filter-checkbox:hover {
    color: #222;
}
.shop-category .filter .filter-sub-checkboxes input[type="checkbox"] + label.filter-checkbox:before {
    opacity: 0;
}
.shop-category .filter .filter-sub-checkboxes input[type="checkbox"]:checked + label.filter-checkbox {
    padding-left: 25px;
    color: #222;
}
.shop-category .filter .filter-sub-checkboxes input[type="checkbox"]:checked + label.filter-checkbox:before {
    opacity: 1;
}

.navbar .cart-count {
    background-color: transparent;
    color: #8e8e8e;
    font-weight: 400;
    padding: 0;
    border-radius: 20px;
    width: 20px;
    display: inline-block;
    text-align: center;
    min-height: 20px;
    line-height: 19px;
    margin: -4px 0 0 5px;
    height: 20px;
    vertical-align: middle;
    font-size: 0.8em;
    border: solid 1px #bbb;
}

body .shop-basket {
    display: none;
}

body.shop-basket-active {
    overflow: hidden;
}
body.shop-basket-active .shop-basket {
    position: fixed;
    width: 100%;
    background-color: #ffffff;
    height: 100%;
    top: 0;
    bottom: 0;
    display: block;
    z-index: 1002;
    overflow-y: auto;
}

body.shop-basket-active .shop-basket.loading:before {
    display: block;
    position: fixed;
}


.shop-basket a.hide-basket {
    text-decoration: none;
    border-bottom: dashed 1px;
}

.shop-basket > .container {
    padding: 140px 100px 100px 100px;
    position: relative;
}

.shop-basket .basket-item {
    padding: 15px 0;
}
.shop-basket h2 {
    font-weight: 200;
    color: #f2a332;
    margin-bottom: 70px;
}
.shop-basket h2 .hide-basket {
    border: none;
    display: inline-block;
    float: right;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
}
.shop-basket h2 .hide-basket:before {
    transform: rotate(45deg);
}
.shop-basket h2 .hide-basket:after {
    transform: rotate(-45deg);
}
.shop-basket h2 .hide-basket:before,
.shop-basket h2 .hide-basket:after {
    position: absolute;
    left: 15px;
    content: '';
    height: 33px;
    width: 2px;
    background-color: #999;
    text-shadow: none;
}
.shop-basket h2 > .fa {
    margin: 0 15px 0 0;
}
.shop-basket .basket-item input[name="amount"] {
    width: 40px;
    text-align: center;
    display: inline-block;
    margin: 0 5px;
    -moz-appearance: textfield;
    padding: 6px 6px;
    -moz-transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}
.shop-basket .basket-item input[name="amount"]::-webkit-outer-spin-button,
.shop-basket .basket-item input[name="amount"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.shop-basket h3 {
    margin: 0 0 30px 0;
    font-weight: 200;
}
.shop-basket .basket-item p small {
    color: #aeaeae;
}
.shop-basket .nav-tabs > li > input[type="radio"] {
    display: none;
}
.shop-basket .nav-tabs > li > a {
    text-decoration: none;
}
.shop-basket .form-group label {
    font-weight: 400;
}
.shop-basket .basket-item img {
    max-height: 50px;
    max-width: 100%;
    height: auto;
}
.shop-basket .basket-item .fa-times,
.shop-basket .basket-item .fa-minus,
.shop-basket .basket-item .fa-plus
{
    cursor: pointer;
    opacity: 0.6;
    -moz-transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}
.shop-basket .basket-item .fa-times:hover,
.shop-basket .basket-item .fa-minus:hover,
.shop-basket .basket-item .fa-plus:hover
{
    cursor: pointer;
    opacity: 1;
}
.shop-basket #delivery-params-2 select {
    line-height: 26px;
}
.shop-basket b .total-price {
    font-size: 20px;
}
.shop-basket input.has-error {
    border-color: #f5c1c1;
    background-color: #fff9f9;
}
.shop-basket #delivery label.btn.btn-sm.btn-outline-secondary {
    font-size: 18px;
    padding: 10px;
    height: 46px;
    font-weight: 400;
    border-radius: 5px;
    border-color: #ccc;
}
.shop-basket #order-options {
    /*display: flex;*/
    align-items: center;
    position: sticky;
    bottom: 0;
    background-color: #ffffffd9;
}
.shop-basket #delivery .services-buttons input[type="radio"]:checked + label.btn.btn-sm.btn-outline-secondary {
    color: #fff;
    background-color: #f0ad4e;
    border-color: #eea236;
}

#breadcrumbs .container {
    position: relative;
}
#breadcrumbs .nav-personal {
    position: absolute;
    right: 0;
}
#breadcrumbs .nav-personal a {
    padding: 10px 25px;
    border: solid 1px #ddd;
 /* border-radius: 21px;
     margin-left: 20px; */
    text-decoration: none;
    background-color: #fff;
    z-index: 2;
    position: relative;
}

.shop-page .order-item .first-row-previews img {
    height: 40px;
    width: auto;
    margin: 0 5px;
}
.shop-page .order-item .order-product,
.shop-page .order-item .order-product a,
.shop-page .order-item .row.total-row
{
    color: #000;
    text-decoration: none;
    margin-bottom: 10px;
}
.shop-page .order-item small {
    color: #eaac5d;
}
.shop-page .order-item .order-product img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
}
.shop-page .order-item .row.total-row {
    margin-top: 7px;
    margin-bottom: 7px;
}
.shop-page .order-item .row .first-row-sum,
.shop-page .order-item .row .first-row-previews
{
    display: none;
}
.shop-page .order-item .row.collapsed .first-row-sum,
.shop-page .order-item .row.collapsed .first-row-previews
{
    display: block;
}
.shop-page .order-item .row .fa.fa-angle-down {
    transform: rotate(180deg);
    font-size: 20px;
}
.shop-page .order-item .row.collapsed .fa.fa-angle-down {
    transform: rotate(0deg);
}
h2.seller-promo-title {
    font-weight: 200;
    margin: 40px 0 30px 0;
}
.seller-promo {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 16px 32px;
}
.seller-promo h3 {
    margin-top: 15px;
    margin-bottom: 30px;
    font-weight: 200;
}
.seller-promo a.btn {
    text-decoration: none;
    margin-top: 8px;
}
.navbar-seller .nav > li > a {
    padding: 13px 20px;
    text-decoration: none;
}
.navbar-seller .nav > li > a .fa {
    margin: 0 14px 0 0;
}
.navbar-seller .nav > li > a.active
{
    text-decoration: none;
    background-color: #eee;
    color: #f8a34b;
}
.shop-category a.btn {
    text-decoration: none;
}
.select2-option {
    display: block;
    float: none;
    clear: both;
    margin: 4px 0;
    min-height: 60px;
}
.select2-option img {
    max-height: 60px;
    max-width: 46px;
    float: left;
    margin-right: 10px;
    height: auto;
}
.select2-option img + p,
.select2-option img + p + small
{
    width: calc(100% - 56px);
    overflow: hidden;
    display: block;
}
form.seller-add-book input[type="radio"] {
    position: absolute;
    opacity: 0;
    z-index: -1;
}
form.seller-add-book input[type="radio"] + label.btn {
    display: inline-block;
}
form.seller-add-book input[type="radio"]:checked + label.btn {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}
form.seller-add-book input[name*="copyright_value"] {
    margin-top: 15px;
}

form.seller-add-book .images-wrapper {
    margin: 0 -15px;
}
form.seller-add-book .images-wrapper .img-wrapper {
    list-style: none;
    display: inline-block;
    min-width: 150px;
    max-width: 25%;
    height: 150px;
    text-align: center;
    box-shadow: 0 0 1px #fff inset;
    line-height: 140px;
    position: relative;
    vertical-align: middle;
    border-radius: 3px;
    border: solid 1px #eee;
    margin: 15px;
}
form.seller-add-book .images-wrapper .img-wrapper img {
    display: inline-block;
    max-height: 140px !important;
    max-width: 140px !important;
    line-height: 140px;
    vertical-align: middle;
    float: none;
    clear: both;
    margin: 0 !important;
}
form.seller-add-book .images-wrapper .img-wrapper i.delete {
    position: absolute;
    top: 0;
    right: -15px;
    width: 0;
    height: 25px;
    font-family: "FontAwesome";
    font-size: 25px;
    color: #666;
    display: inline-block;
    font-style: normal;
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
    z-index: -1;
    opacity: 0;
    cursor: pointer;
}
form.seller-add-book .images-wrapper .img-wrapper:hover i.delete {
    right: 0;
    width: 25px;
    z-index: 2;
    opacity: 1;
}
form.seller-add-book label.format-label {
    font-weight: 400;
    display: block;
    text-align: center;
}
form.seller-add-book label.format-label input[type="radio"] + div {
    font-weight: 400;
    display: block;
    border-radius: 4px;
    border: solid 1px #ddd;
    cursor: pointer;
}
form.seller-add-book label.format-label input[type="radio"]:checked + div {
    color: #333;
    background-color: #fde1bc;
    border-color: #faae45;
}
form.seller-add-book a[data-target] {
    text-decoration: none;
    color: #888;
    border-bottom: dashed 1px #888;
    cursor: pointer;
}
form.seller-add-book #additional-parameters {
    padding: 10px;
    background-color: #fbfbfb;
}
form.seller-add-book a[data-target]:hover {
    color: #333;
    border-color: #333;
}
form.seller-add-book h4.h4-price {
    margin: 5px ;
    min-width: 50%;
    text-align: right;
}
form.seller-add-book input#shopproducts-price {
    font-size: 18px;
    font-weight: 600;
}
form.seller-add-book div[class^="col-"] h4,
form.seller-add-book div.form-group h4
{
    color: #888;
}
form.seller-add-book div[class^="col-"] label,
form.seller-add-book div.form-group label
{
    font-size: 0.9em;
    font-weight: 300;
    margin-bottom: 15px;
    color: #000;
    display: block;
}
form.seller-add-book .form-group img {
    margin: 10px 0;
}
form.seller-add-book .form-group a[data-action] {
    text-decoration: none;
    cursor: pointer;
}


/*.row.flex-row {*/
    /*display: -ms-flexbox;*/
    /*display: -webkit-flex;*/
    /*display: flex;*/
    /*-ms-flex-wrap: wrap;*/
    /*flex-wrap: wrap;*/
/*}*/
/*.row.flex-row > div {*/

/*}*/
/*.row.flex-row .filter {*/
    /*position: relative;*/
/*}*/
/*.row.flex-row .filter .price-block {*/
    /*position: sticky;*/
    /*bottom: 0;*/
    /*padding: 15px;*/
    /*background-color: rgba(255, 255, 255, 0.93);*/
/*}*/

div.row.parameters {
    line-height: 1.15em;
}

.parameters h4 {
    margin: 0;
}

.row.text-center .center-block {
    display: inline-block;
    margin: 20px;
    width: 25%;
}
.svg-graph-wrapper svg .info-object h4 {
    font-size: 1.1em;
}

.thumbnail.shop-preview .new-year-discount {
    width: 80px;
    position: absolute !important;
    top: 20px;
    left: 20px;
    transform: rotate(-15deg);
    height: auto;
    display: inline-block;
    z-index: 3 !important;
}



h1.gradient-title a[href="#sort"] {
    -webkit-text-fill-color: #666;
    color: #666;
}
h1.gradient-title a[href="#sort"].active {
    background-color: #f7b746;
    border: solid 1px #f7b746;
    color: #fff;
    -webkit-text-fill-color: #fff;
    box-shadow: none;
}

.row.products-flex-row {
    display: flex;
    flex-wrap: wrap;
}
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    flex-wrap: wrap;
}
.category-header h1 {
    display: block;
    margin: 0 0 20px 0;
    width: 100%;
}
.category-header form {
    display: inline-block;
    width: 50%;
    position: relative;
}
.category-header form input {
    background-color: #f7f7f7;
    border: solid 1px #e1e1e1;
    border-radius: 5px;
    font-size: 1.15em;
    color: #777;
    display: inline-block;
    max-width: 100%;
    width: 100%;
    height: 50px;
    min-height: 50px;
    line-height: 35px;
  /*  margin: 15px 0 0 0; */
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    white-space: normal;
    cursor: pointer;
    -moz-transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}
.category-header form .suggestions {
    display: inline-block;
    width: 100%;
    position: absolute;
    max-height: 800px;
    overflow-y: auto;
    background-color: #fdfcfc;
    padding: 0;
    top: 100%;
    left: 0;
    z-index: 3;
}
.category-header form .suggestions .card {
    display: flex;
    /*width: 100%;*/
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.125);
    margin: 8px 8px;
    padding: 10px;
    text-decoration: none;
}
.category-header form .suggestions .card img {
    width: 60px;
    height: auto;
    margin-right: 15px;
    border: solid 1px #bbbbbb;
}
.category-header form .suggestions .card h3 {
    font-size: 16px;
    color: #818181;
    margin: 0 0 10px 0;
    line-height: 20px;
    text-decoration: none;
}
.category-header form .suggestions .card:hover {
    box-shadow: 0 0 7px rgba(0,0,0,0.2);
}
.category-header form .suggestions .card:hover h3 {
    color: #444;
}
.category-header form .suggestions .card p.author,
.category-header form .suggestions .card p.info
{
    color: #a2a2a2;
    text-decoration: none;
    margin: 0 0 5px 0;
    padding: 0;
}
.category-header form .suggestions .card b.price {
    color: #222;
    font-weight: 600;
}
#no-payment-modal .list-group {
    margin-bottom: 0;
}
#no-payment-modal .list-group a {
    text-decoration: none;
}
#order-options .btn-postpaid {
    margin: 0 8px 0 0;
    border: solid 1px #eea236;
    color: #b56d08;
}
.shop-basket .form-group p.small {
    font-weight: 400;
}
.shop-basket .form-group h4 input[type="radio"] {
    margin-right: 5px;
}
.shop-basket .alert {
    margin-top: 20px;
}

div.product-description {
    overflow: hidden;
    position: relative;
    margin-top: 20px;
    -moz-transition: max-height 0.5s ease-in-out;
    -webkit-transition: max-height 0.5s ease-in-out;
    -o-transition: max-height 0.5s ease-in-out;
    transition: max-height 0.5s ease-in-out;
    text-align: justify;
}
a.description-more {
    position: relative;
    bottom: 5px;
    transform: translateX(-50%);
    border-radius: 12px;
    padding: 5px 15px;
    background-color: #fff;
    text-decoration: none;
    box-shadow: 0 0 5px #cecece;
    z-index: 3;
}
div.product-description:before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left:0;
    right: 0;
    height: 50px;
    *background: rgb(255,255,255);
    background: -moz-linear-gradient(180deg, rgba(255,255,255,0) 90%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(255,255,255,0) 90%, rgba(255,255,255,1) 100%);
    background: linear-gradient(180deg, rgba(255,255,255,0) 90%, rgba(255,255,255,1) 100%);
    opacity: 1;
    -moz-transition: opacity 0.25s ease-in-out;
   -webkit-transition: opacity 0.25s ease-in-out;
   -o-transition: opacity 0.25s ease-in-out;
   transition: opacity 0.25s ease-in-out;
}
a.description-more:before {
   content: attr(data-open);
}
div.product-description.opened {
   max-height: max-content;
}
div.description-more.opened:before {
   opacity: 0;
}

div.more-wrapper.opened a.description-more:before {
   content: attr(data-close);
}

.more-wrapper{
   text-align: center;
}

/*
.cover_group {
   display: flex;
   flex-direction: column;
   gap: 10px;
}

.cover_group .cover_radio {
   display: block;
}

.cover_group .cover_radio input {
   display: none;
   width: 0;
   height: 0;
   visibility: hidden;
}

.cover_group .cover_radio label::before {
   content: "";
   width: 14px;
   border: 1px solid #777;
   height: 14px;
   border-radius: 50px;
   background: #FFF;
   box-shadow: inset 0px 0px 0px 2px rgb(255, 255, 255);
}

.cover_group .cover_radio input:checked ~ label::before {
   border-color: #eea236;
   background: #f0ad4e;
}
*/

.product-item .parameters .form-group {
    margin-bottom: 1.5rem;
}
.product-item .parameters .form-group:last-child {
    margin-bottom: 0;
}
.product-item .parameters .form-group label[for^="option_"] {
    color: #222;
    font-size: 0.9em;
    font-weight: 400;
    cursor: pointer;
    text-decoration-line: underline;
    text-decoration-style: dashed;
    padding: 5px 0;
    display: inline;
}

.product-item .parameters .form-group .popover_custom {
    width: 270px;
    height: 180px;
    padding: 10px;
    position: absolute;
    z-index: 2;
    background: #fff;
    border-radius: 10px;
    right: 5%;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    border: 1px solid #ffa824;
    margin-top: 11px;
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
    transition: 0.4s 0s;
}

.product-item .parameters .form-group .popover_custom img {
    width: 100%;
    object-fit: cover;
}

.product-item .parameters .form-group .popover_custom::before {
    content: '';
    position: absolute;
    top: -30px;
    left: calc(50% - 20px);
    border: 15px solid transparent;
    border-bottom: 15px solid #ffa824;
}

.product-item .parameters .form-group label[for^="option_"]:hover ~ .popover_custom {
    opacity: 1;
    z-index: 2;
    pointer-events: all;
}
.product-item .parameters > dt,
.product-item .parameters > dd,
.product-item .parameters > div.col-sm-5,
.product-item .parameters > div.col-sm-6,
.product-item .parameters > div.col-sm-7,
.product-item .parameters > div.col-sm-12.col-xs-12
{
    text-align: left;
    padding: 10px 15px;
    color: #777;
    font-size: 1em;
}
.product-item .parameters > div:nth-child(3n-1) {
    color: #222;
    font-size: 1.1em;
}

.privacy-policy{
    margin-top: 15px;
}

#user-password input + #forgot-password {
    position: absolute;
    top: 14px;
    right: 20px;
    cursor: pointer;
    font-style: normal;
}
#user-password span.alert {
    font-style: normal;
    display: block;
    float: none;
    clear: both;
    text-align: center;
    margin: 0;
    padding: 11px 15px;
}



b.front_price {
    color: #000000;
}

div.price-sticky-row {
    position: sticky;
    top: 70px;
    background-color: #fff;
    z-index: 2;
    float: none;
    clear: both;
}

.delivery-logo-1
{
    background-image: url('/../module/admin/img/newpost_logo_sm.svg');
}
.delivery-logo-2
{
    background-image: url('/../module/admin/img/ukrpost_logo_sm.svg');
}

[class^="delivery-logo-"]
{
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center center;
    width: 24px;
    height: 24px;
    background-size: contain;
}

.row.basket-item a {
    text-decoration: none;
}

.custom-alert {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;

}

#payment-methods .pdf-payment-details span {
    font-size: 1em;
    font-weight: 400;
}

#payment-methods .pdf-payment-details {
    margin-left: 2.5rem;
    color: #999;
}

#recipient_legal_name{
    width: 100%;
}

span.help-block-error{
    color: #d50000;
}

#payment-methods .pdf-payment-details p.small {
    margin-top: 1rem;
    margin-left: 2rem;
}

.pdf-payment-details input {
    margin-right: 5px;
}

.btn-secondary.btn-cancel{
    margin-right: 10px;
}

.alert-secondary {
    color: #383d41;
    background-color: #e2e3e5;
    border-color: #d6d8db;
    text-align: center;
}

/* shop products reviews */

 #reviews .comments-area .reviews{
    padding: 0;
}

.product-rate {
    position: relative;
    top: 2px;
    background-image: url(/img/rating-stars2.png);
    background-position: 0 -16px;
    background-repeat: repeat-x;
    height: 16px;
    width: 90px;
    transition: all 0.5s ease-out 0s;
    -webkit-transition: all 0.5s ease-out 0s;

}

.reviews-wrap .product-rate {
    position: absolute;
    top: 15px;
    right: 15px;
}

.reviews-wrap  {
   margin-top: 15px;
}

.product-rating {
    height: 16px;
    background-repeat: repeat-x;
    background-image: url(/img/rating-stars2.png);
    background-position: 0 0;
}

.progress span {
    line-height: 16px;
    background: #ffffff;
    padding-right: 10px;
    width: 45px;
}

.progress-bar {
    background-color: #0BA9ED;
}

.progress + .progress {
    margin-top: 1rem;
}

.comments-area h6, .vendor-logo h6 {
    font-size: 16px;
    color: #425A8B;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 2px;
    margin-left: 20px;
}

.comments-area .comment-list:last-child {
    padding-bottom: 0px;
}

.comments-area .comment-list .single-comment {
    margin: 0 0 15px 0;
}

.comments-area .comment-list .single-comment:not(:last-child) {
    border-bottom: 1px solid #ececec;
}

.justify-content-between {
    justify-content: space-between !important;
}

.d-flex {
    display: flex !important;
}

.comments-area .thumb {
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.single-comment .user {
    width: 100%;
}
.single-comment .desc {
    width: 100%;
}

.comments-area .comment-list .single-comment img {
    min-width: 80px;
    max-width: 80px;
}

.comments-area .thumb img {
    width: 70px;
    border-radius: 50%;
}

.text-brand {
    color: #425A8B !important;
    line-height: 1.2;
}

.comments-area .comment-list .single-comment .reply {
    opacity: 0;
    -webkit-transition: 0.2s;
    transition: 0.2s;
    color: #0BA9ED;
}

.comments-area .comment-list .single-comment:hover .reply {
    opacity: 1;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

.comments-area .comment-list .single-comment .reply:hover {
    color: #FD9636;
}

.simple-rating {
    position: relative;
    font-size: 30px;
    display: inline-block;
}
.simple-rating::before {
    content: "★★★★★";
    display: block;
    color: #aeaeae;
}
.simple-rating .simple-rating__items {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: row-reverse;
}
.simple-rating .simple-rating__items .simple-rating__item {
    position: absolute;
    width: 0%;
    height: 0%;
    opacity: 0;
    visibility: hidden;
    top: 0;
    left: 0;
}
.simple-rating .simple-rating__items .simple-rating__item:checked, .simple-rating .simple-rating__items .simple-rating__item:checked ~ .simple-rating__label {
    color: #fbc041;
}
.simple-rating .simple-rating__items .simple-rating__label {
    flex: 0 0 20%;
    height: 100%;
    cursor: pointer;
    color: #aeaeae;
    width: 1rem;
}
.simple-rating .simple-rating__items .simple-rating__label::before {
    content: "★";
    display: block;
    transition: color 0.3s ease 0s;
}
.simple-rating .simple-rating__items .simple-rating__label:hover, .simple-rating .simple-rating__items .simple-rating__label:hover ~ .simple-rating__label, .simple-rating .simple-rating__items .simple-rating__label:checked ~ .simple-rating__label:hover {
    color: #fbc041;
}

.rating {
    display: flex;
    justify-content: flex-start;
}
.rating > span {
    font-size: 14px !important;
}

h3.color-brand-2 {
    color: #FD9636 !important;
}

div.progress{
    display: flex;
}

.nav.nav-tabs li a {
    text-decoration: none;
}

.simple-rating label{
    font-size: inherit;
}

.count_rewiews {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    background: #fbc341;
    border-radius: 50px;
    width: 20px;
    height: 20px;
}

.comments-area #reviews .reviews{
    padding: 0;
}

.comments-area #reviews .reviews .item .desc{
    display: inline-block;
    width: 80%;
}

.comments-area #reviews .reviews .item .name{
    margin: 0 10px 0 0;
    display: inline-block;
}

.comments-area #reviews .reviews .item .city {
    margin: 0;
}

.comments-area .alert.alert-success{
    margin-top: 20px;
}


.form-group.field-simple-rating__rating{
    margin-bottom: 0;
}

.rating-scroll{
    cursor: pointer;
}

/* end shop products reviews */

.col-sm-7.breadcrumbs{
    line-height: 12px;
}

.d-inline-block {
    display: inline-block;
}

h4.absolute {
    bottom: 122px;
}

div.thumbnail.category-4 h4.absolute {
    bottom: 137px;
}

div.thumbnail.category-4 h4.absolute + div {
    min-height: 90px;
}

div.thumbnail.category-2 h4.absolute + div {
    min-height: 80px;
}

.related_product {
    padding: 10px;
    border: 1px solid #eea236;
    border-radius: 5px;
}

.related_product a.related_product_block {
    display: flex;
    gap: 10px;
    text-decoration: none !important;
    transition: 0.2s 0s;
}

.related_product a.related_product_block:hover {
    color: initial !important;
}

.related_product .related_product_block .related_product_block_image img {
    width: auto;
    max-height: 100px;
    border-radius: 5px;
}

.related_product .related_product_block .related_product_block_info .title {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 700;
    color: #f0ad4e;
}

.related_product .related_product_block .related_product_block_info h4 {
    font-size: 16px !important;
    font-weight: 700 !important;
}

.lables {
    display: flex;
    flex-direction: column;
    padding: 5px;
    gap: 5px;
    position: absolute;
    z-index: 2;
}

/*.gallery-item .lables {
    left: 94px !important;
}*/

.label_product {
    width: max-content;
    font-size: 12px;
    padding: 3px;
}

.label_popular {
    background: #fabf30;
    color: #000202;
}

.label_sale {
    background: #fabf30;
    color: #000202;
}

.label_custom[data-label^="МОУ"] {
    background: #465b33;
    color: #fbfbfb;
}

.label_custom[data-label^="МВС"] {
    background: #405a8e;
    color: #fbfbfb;
}

.label_custom[data-parent^="29"] {
    background: #465b33;
    color: #fbfbfb;
}

.label_custom[data-parent^="31"] {
    background: #405a8e;
    color: #fbfbfb;
}

.label_custom[data-parent^="32"] {
    background: #6a6a6a;
    color: #fbfbfb;
}

.label_custom[data-parent^="197"] {
    background: #efc056;
    color: #fff;
}

.delivery-systems .suggestions {
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.85);
    left: 15px;
    right: 15px;
    padding: 0.375rem 0.75rem;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 1.25rem 0px;
    position: absolute;
    max-height: 240px;
    overflow-y: scroll;
}

.delivery-systems .suggestions p a {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}
.delivery-systems .suggestions p a:hover {
    color: #000;
}
.delivery-systems .suggestions p small {
    color: #777;
}
.delivery-systems .suggestions p a:hover small {
    color: #333;
}

.international-modal-form input, .international-modal-form select{
    height: 46px;
    border-radius: 5px;
}

#order-options .col-xs-12.col-sm-8 {
    text-align: right;
}
#user-data {
    display: flex;
    flex-wrap: wrap;
}
#user-data > * {
    flex-grow: 1;
}
#user-data #user-password {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
}
#user-data #user-password > * {
    flex-grow: 1;
}

/**
    Take care: Adaptive layout rules must be in the end of CSS ("desktop first" logic) !!!
 */
@media only screen and (max-width: 768px) {
    .row.text-center .center-block {
        width: 40%;
    }
    #breadcrumbs .nav-personal {
        position: static;
        display: block;
        float: none;
        clear: both;
     /*   margin: 30px 0 20px 0; */
        text-align: center;
    }
    #breadcrumbs .nav-personal a {
        display: inline-block;
        margin: 0 20px 20px 20px;
        text-align: center;
    }
    h1 .pull-right {
        float: none !important;
        display: block;
    }
    .thumbnail.shop-preview .image:before {
        padding-top: 70%;
    }
    .shop-basket > .container {
        padding: 40px 30px 50px 30px;
    }
    .basket-item .sm-text-center {
        text-align: center;
    }
    .sm-text-right {
        text-align: right;
    }
    #order-options .btn-postpaid {
        margin: 16px 0;
    }
    .product-item .parameters .form-group label[for^="option_"] {
        display: inline;
    }
    #user-password .form-group {
        display: block;
    }

    div.price-sticky-row {
        position: fixed;
        top: auto;
        bottom: 0;
        background-color: #fff;
        z-index: 2;
    }

    .helpcrunch-iframe-wrapper iframe[name="helpcrunch-iframe"] {
        bottom: 65px !important;
    }

    .shop-basket .basket-item input[name="amount"] {
        margin: 0;
    }

    .price-item{
        margin-top:20px;
    }

    #user-data #user-password {
        flex-direction: row-reverse;
    }

    #user-data #user-password > span:nth-child(1) {
        order: 3;
    }
    #user-data #user-password > span:nth-child(2) {
        order: 2;
    }
    #user-data #user-password > span:nth-child(3) {
        order: 1;
    }
}

@media only screen and (max-width: 480px) {
    .row.text-center .center-block {
        width: 80%;
    }

    .seller-promo .row .col-xs-6 {
        width: 100%;
    }
    .seller-promo > .pull-right {
        float: none !important;
        clear: both !important;
        text-align: center;
        margin: 0 0 20px 0;
    }
    .seller-promo > .pull-right a {
        display: inline-block;
        margin: 0 10px 10px 10px;
    }
    .category-header > * {
        width: 100%;
    }
    .category-header form {
        width: 100%;
    }

    #order-options .col-xs-12.col-sm-8 {
        text-align: left;
        margin-top: 10px;
    }

    div.thumbnail.category-4 h4.absolute {
        bottom: 142px;
    }

    /*.category-header form input {
        margin: 15px 0 20px 0;
    }*/
}