/* header */

header {
    padding: 1rem 0;
    background-color: #fff;
    z-index: 10;
}

header .header-content {
    display: flex;
    align-items: flex-end;
}

header img.logo {
    max-height: 70px;
}

header.sticky {
    position: sticky;
    top: 0;
    box-shadow: 0 0 20px 0 #333333cc;
}

header .menu-wrap .phone {
    text-align: right;
    padding: 0 2rem 0.5rem;
}

header .menu-wrap .phone a {
    font-size: 1.2rem;
    font-weight: bold;
    color: #484848;
    margin-left: 30px;
}

header .menu-wrap .phone a:hover {
    color: #e02525;
}

header .menu-wrap {
    margin-left: auto;
}


/* menu */

.hb-menu .parent>ul.parent {
    position: absolute;
    width: 280px;
    background-color: #fff;
    top: 30px;
    border: none;
    opacity: 0;
    visibility: hidden;
    z-index: 10;
    transform: translateY(30px);
    transition: all 0.4s ease;
    box-shadow: #777 0 0 20px;
}

.hb-menu .parent:hover>ul.parent {
    transform: none;
    visibility: visible;
    opacity: 1;
}

.hb-menu .parent>ul.parent>li>a {
    display: block;
    padding: 0.6em 1.2em;
    color: #333;
    background-color: #fff;
}

.hb-menu .parent>ul.parent>li>a:hover {
    color: #e02525;
}


/**/

header .tools-wrap {
    display: flex;
}

header .tools-wrap .dropdown {
    min-width: 70px;
    text-align: center;
}

header .tools-wrap .dropdown>a {
    color: #e02525;
}

header .tools-wrap .dropdown>a:hover {
    color: #eb4646;
}

header .tools-wrap .dropdown:last-child {
    margin-right: 0;
}

header .tools-wrap .dropdown .dropdown-toggle::after {
    display: none;
}

header .tools-wrap .dropdown-toggle .icon {
    width: 36px;
    height: 36px;
    border-radius: 50px;
    background-color: #e02525;
    color: #fff;
    text-align: center;
    line-height: 34px;
    margin: 0 auto;
}

header .tools-wrap .dropdown-toggle .icon:hover {
    background-color: #eb4646;
}

header .tools-wrap .dropdown-menu.show {
    transform: translate(-100%, 0) !important;
    left: 100% !important;
    top: auto !important;
}

header .tools-wrap .dropdown-menu {
    border-radius: 0;
    padding: 0;
    min-width: auto;
    border-color: #e02525;
}

header .tools-wrap .dropdown-menu li>a {
    display: block;
    width: 200px;
    padding: 0.6rem 1rem;
    transition: all 0.4s ease;
    color: #e02525;
    padding: 0.6rem 1rem;
}

header .tools-wrap .dropdown-menu li>a:hover {
    background-color: #e02525;
    color: #fff;
}


/* header + sticky */

header.sticky {
    padding: 5px;
}

header.sticky .header-content {
    align-items: center;
}

header.sticky .tools-wrap .dropdown {
    min-width: 45px;
}

header.sticky .menu-wrap .phone,
header.sticky .tools-wrap .dropdown-toggle span {
    display: none
}


/* general */
main{
    padding: 0 0 3rem;
}
h1.page-title {
    color: #222;
    padding: 0.6rem 0;
}

h3 {
    font-size: 20px;
}

.section-title {
    margin: 1rem 0;
    color: #222;
    padding: 0.6rem 0;
}

.section-title h2 {
    margin: 0;
}

.btn.btn-blank {
    border: 1px #ccc solid;
}

.btn.btn-blank:hover {
    border: 1px #e02525 solid;
}

.form-wrapper {
    background-color: #fff;
    padding: 20px;
    border: 1px #ccc solid;
}

.content * {
    font-family: 'Montserrat', sans-serif;
}

.content table {
    width: 100% !important;
}

.bg-gray-light {
    background-color: #eee;
}

.first-uppercase:first-letter {
    text-transform: uppercase;
}

.alert {
    margin: 2rem auto 0;
}

.btn {
    border-radius: 8px;
    padding: .5rem 1.2rem;
}

.btn-primary {
    background-color: #e02525;
    color: #fff;
    border: none;
}

.btn-secondary {
    background-color: #999;
    color: #fff;
    border: none;
}

.btn-primary.focus,
.btn-primary:focus {
    box-shadow: none;
}

.btn-primary:hover {
    background-color: #eb4646;
    color: #fff;
    box-shadow: 0 0 30px 10px #fff33759;
}


/* forms */

label.required::after {
    content: '*';
    color: #de0800;
    margin-left: 5px;
}

label.has-input {
    cursor: pointer;
}

label.has-input input {
    width: auto;
    height: auto;
    display: inline;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #fff;
    background-color: #e02525;
}

input[type="checkbox"] {
    width: auto;
    height: auto;
}


/* slider */

.home-carousel .slide img {
    width: 100%;
}

.home-carousel .slick-arrow {
    position: absolute;
    height: 100%;
    width: 120px;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.home-carousel .slick-prev {
    background: linear-gradient(to right, #0003, #0000);
    left: 0;
}

.home-carousel .slick-next {
    background: linear-gradient(to left, #0003, #0000);
    right: 0;
}

.home-carousel .slick-arrow .fa {
    font-size: 60px;
    color: #fff;
}


/* category tree */

.category-menu .category-menu-list {
    position: relative;
}

/* paginator */
.products-header{
    display: flex;
    flex-wrap: wrap;
}
.pagination{
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.page-item.active .page-link {
    background-color: #eb4646;
    border-color: #eb4646;
}
.pagination .page-link{
    font-size: 1.2rem;
    padding: 0.5em 0.85em;
    border-radius: 2rem !important;
}
.pagecount{
    margin-left: auto;
}

@media (max-width: 575px) {

    .pagination{
        justify-content: center;
        gap: 0.2rem;
    }
    .pagination .page-link{
        font-size: 1rem;
        padding: 0.3em 0.6em;
        border-radius: 1rem !important;
    }
    .pagecount{
        margin-left: unset;
        margin-top: 1rem;
    }
    
}

/* catalog filters */

.filter-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    gap: 1rem;

}

.filter-links .filter {
    display: block;
    height: 35px;
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #eb4646;
    border: 1px #eb4646 solid;
    border-radius: 20px;
    transition: all 0.4s ease;
}

.filter-links .filter:hover {
    background-color: #eb4646;
    color: #fff;
}

.filter-links .filter.active {
    background-color: #eb4646;
    color: #fff;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 0;
    gap: 1rem;
}

.categories .category-link {
    background-color: #fff;
    color: #4B85C7;
    padding: 0.4em 1.2em;
    position: relative;
    height: 32px;
    border: 1px #4B85C7 solid;
}


.categories .category-link:hover,
.categories .category-link.active {
    background-color: #4B85C7;
    color: #fff;
}

.categories .category-link.active::after {
    border-left-color: #4B85C7;
}
@media (max-width: 575px) {
    .categories{
        padding: 0;
        gap: 0.5rem;
    }
    .filter-links {
        padding: 1rem 0;
        gap: 0.5rem;
    }
    .filter-links .filter{
        width: 140px;
    }
}


/* sidabar news */

.sidebar .newsitem {
    display: flex;
    margin-bottom: 1rem;
}

.sidebar .newsitem .image {
    margin-right: 0.6rem;
}

.sidebar .newsitem .image img {
    width: 80px;
    height: 80px;
    border: 1px #ccc solid;
}

.sidebar .newsitem .title {
    font-size: 14px;
    color: #333;
    transition: all 0.4s ease;
}

.sidebar .newsitem:hover .title {
    color: #eb4646;
}

.sidebar .newsitem p {
    font-size: 13px;
    color: #777;
    margin: 0;
}


/* news */

.row.lastnews {
    padding: 30px 0 50px;
}

.news-card {
    margin-bottom: 1rem;
}

.news-card .image,
.news-page .image {
    position: relative;
    overflow: hidden;
}

.news-card .image img,
.news-page .image img {
    width: 100%;
    transition: all 0.4s ease;
}

.news-card:hover .image img {
    transform: scale(1.2);
}

.news-card .date,
.news-page .date {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 0.8em;
    color: #fff;
    background-color: #333;
    line-height: 24px;
    height: 24px;
}

.news-card .title h4 {
    margin-top: 1rem;
    color: #333;
    transition: all 0.4s ease;
}

.news-card:hover .title h4 {
    color: #eb4646;
}

.news-page .quote {
    font-size: 1rem;
    font-style: italic;
    margin: 1rem 10px;
    border-left: 3px #e02525 solid;
    padding-left: 10px;
}

.news-page .content table {
    text-align: center;
}


/* infopages */

.infopages .infopage .title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

.infopages .infopage .title:hover,
.infopages .infopage.active .title {
    color: #eb4646;
}

.infopage-card .title {
    color: #333;
}

.infopage-card:hover .title {
    color: #eb4646;
}

.infopage-card .description {
    color: #777;
    margin: 0.5rem 0;
}

.infopage-card .btn {
    padding: 0 0.5rem;
}


/* features */

.shipping-text h2 {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
}

.shipping-icon {
    display: inline-block;
    width: 90px;
    height: 90px;
}

.shipping-icon img {
    filter: invert(1);
}

.shipping-text p {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}

.shipping-text .btn {
    border: 1px transparent solid;
}

.shipping-text .btn:hover {
    border: 1px #fff solid;
}


/* auction-card */

.auction-card-wrap {
    padding: 20px 15px;
}

.auction-card {
    background: #fff;
    border: 1px #ccc solid;
}

.auction-card .image {
    position: relative;
    padding: 0;
}

.auction-card .image img {
    width: 100%;
}

.auction-card .sticker {
    position: absolute;
    top: 0;
    right: 0;
}

.auction-card .sticker.status-5 {
    /* прием заявок */
    background-color: #01A006;
}

.auction-card .lotcount {
    display: inline-block;
    position: relative;
    top: -24px;
    padding: 0 0.8em;
    font-size: 0.8rem;
    color: #fff;
    background-color: #4B85C7;
    line-height: 24px;
    height: 24px;
}

.auction-card .lotcount:after {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    border-bottom: 24px solid #4B85C7;
    border-right: 24px solid transparent;
}

.auction-card .info {
    padding: 1rem;
    border-top: none;
}

.auction-card:hover .title {
    transition: all 0.4s ease;
}

.auction-card:hover .title {
    color: #eb4646;
}

.auction-card .info .actions {
    padding-top: 10px;
}


/* product-card */

.product-card-area {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 0;
    height: 100%;
}

.product-card-wrap {
    flex: 0 0 100%;
    max-width: 100%;
}
.product-col-4 .product-card-wrap{
    max-width: unset !important;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px #ccc solid;
    transition: all 0.4s ease;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 0 20px 10px #777;
}

.product-card .info .btn-bidding {
    position: absolute;
    right: 10px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    font-size: 24px;
    line-height: 40px;
    padding: .375rem .75rem;
    background-color: #e02525;
    color: #fff;
}
@media (max-width: 991px){
    .product-card-area{
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px){
    .product-card-area{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px){
    .product-card-area{
        display: flex;
        flex-wrap: wrap;
    }
}

.product-card .info .btn-bidding:hover {
    background-color: #eb4646;
}

.product-card .image {
    position: relative;
    overflow: hidden;
}

.product-card .image img {
    width: 100%;
    transition: all 0.4s ease;
}

.product-card:hover .image img {
    transform: scale(1.1);
}


/* --- */

.product-card .image .sticker-area {
    display: flex;
    flex-direction: column;
    align-items: end;
    position: absolute;
    top: 0;
    right: 0;
}


/* стикеры */

.sticker {
    background-color: #777;
    padding: 0 0.6rem;
    height: 24px;
    color: #fff;
}

.sticker.bg-green {
    background-color: #3DC322;
}

.sticker.bg-gray {
    background-color: #545454;
}

.sticker.bg-red {
    background-color: #dd5d4e;
}

.sticker.bg-orange {
    background-color: #FF9500;
}

.sticker.bg-yellow {
    background-color: #F0D504;
}

.sticker .fa {
    font-size: 28px;
}

.product-card .lot-numer {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0.2em 0.8em;
    font-size: 0.8rem;
    color: #fff;
    background-color: #333;
    line-height: 1.4em;
}

.product-card .lot-numer b {
    font-size: 1.2rem;
}
.product-card .auction-info{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: end;
}
.product-card .auction-date{
    font-size: 0.8rem;
    color: #777;
    margin-right: 10px;
}
.product-card .auction-numer {
    display: block;
    position: relative;
    padding: 0 0.8em;
    font-size: 0.8rem;
    color: #777;
    line-height: 24px;
    height: 24px;
    transition: all 0.4s ease;
}

.product-card .auction-numer b {
    font-size: 1.2rem;
}

.product-card:hover .auction-numer {
    color: #eb4646;
}

.product-card .desc {
    background-color: #fff;
    padding: 10px;
}

.product-card .title {
    color: #333;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1em;
    min-height: 90px;
    transition: all 0.4s ease;
}

.product-card:hover .title {
    color: #eb4646;
}

.product-card .info {
    background-color: #fff;
}

.product-card .info .foot {
    display: flex;
    flex-direction: column;
    height: 80px;
}
.product-card .price-type {
    margin-bottom: -8px;
    font-size: 0.8rem;
    color: #777;
}
.product-card .price {
    display: flex;
    align-items: center;
}

.product-card .price .value {
    font-size: 1rem;
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 24px;
}
.product-card .price .value .vat{
    font-size: 0.7rem;
    color: #666;
}
.product-card .price-pay{
    font-size: 1rem;
    color: #298f1b;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 24px;
}
.product-card .price .sale {
    display: inline-block;
    font-size: 14px;
    padding: 0.2em 0.8em;
    background-color: #E11801;
    color: #fff;
    margin-left: 10px;
}

.product-card .term-info {
    font-size: 12px;
    color: #4B85C7;
}

.product-card a .term-info {
    color: #D60101;
}

@media (min-width:768px) {
    .product-col-4 .product-card-wrap {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
    .product-col-3 .product-card-wrap {
        -ms-flex: 0 0 33%;
        flex: 0 0 33%;
        max-width: 33%;
    }
}


/* ======== cabinet ========= */

.cabinet-links>.nav-item>.nav-link {
    color: #333;
    font-weight: bold;
    font-size: 1.2rem;
}

.cabinet-links>.nav-item>.nav-link:hover {
    color: #eb4646;
}

.cabinet-links>.nav-item>.nav-link.btn {
    color: #fff;
    font-weight: bold;
}


/* table */

.actions {
    text-align: right;
}

.actions a {
    margin-left: 0.1rem;
    font-size: 1rem;
}

.actions a:first-child {
    margin-left: 0;
}

.actions a.action-edit {
    color: #4B85C7;
}

.actions a.action-delete {
    color: #DB4231;
}


/* images */

.image-preview-area {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    padding: 10px;
    border: 1px #ccc dashed;
    margin-bottom: 1rem;
}

.image-preview-area::after {
    content: '\f055';
    font-family: 'FontAwesome';
    font-size: 40px;
    line-height: 100px;
    display: block;
    width: 100px;
    height: 100px;
    text-align: center;
    background-color: #eee;
    border: 1px #ccc solid;
    border-radius: 10px;
    cursor: pointer;
}

.image-preview-template {
    position: relative;
    margin-right: 10px;
    margin-bottom: 10px;
}

.image-preview-template img {
    height: 100px;
    width: auto;
}

.image-preview-template .btn-delete {
    background-color: #CE0101;
    padding: 3px 5px;
    color: #fff;
    position: absolute;
    top: 0;
    right: 0;
}

.image-preview-template .btn-delete:hover {
    background-color: #E90101;
}

.image-preview-template .btn-delete .fa {
    margin: 0;
}

.image-preview-template .progress {
    width: calc(100% - 20px);
    position: absolute;
    bottom: 20px;
    left: 10px;
    height: 8px;
}

.image-preview-template .fileinfo {
    font-size: 9px;
}


/* lot */

#modal-lot .product-list {
    border: 1px #ccc solid;
    height: 300px;
    overflow-y: scroll;
}

#modal-lot .product-item {
    display: flex;
    align-items: center;
}

#modal-lot .product-item .product-image {
    width: auto;
    padding: 5px;
    margin-right: 0.4rem;
}

#modal-lot .product-item .product-image img {
    width: 100px;
    height: auto;
    border: 1px #ccc solid;
}

#modal-lot .product-item .product-name {
    font-weight: bold;
    line-height: 1em;
}

#modal-lot .product-item .product-price {
    font-size: 0.9rem;
    color: #f44;
}

#modal-lot .product-item .product-action {
    width: 50px;
    margin-left: auto;
    text-align: center;
}

#modal-lot .product-item .product-action .btn {
    padding: 0.2rem 0.4rem;
}

#modal-lot .product-item .product-action .btn-delete {
    background-color: #f44;
}

#modal-lot #product-adding .product-item .product-action .btn-delete {
    display: none;
}

#modal-lot .product-item .product-action .btn-add {
    background-color: #01A006;
    color: #fff;
}

#modal-lot form .product-item .product-action .btn-add {
    display: none;
}

#modal-lot .product-item .product-action .btn .fa {
    margin: 0;
}


/**/

.lot-page .status-name {
    padding: 0.5rem 1rem;
    background-color: #FF4242;
    color: #fff;
}

.lot-page .date-start {
    padding: 0.5rem 1rem;
    background-color: #999;
    color: #fff;
}

.lot-page .product-item label {
    margin-top: 0.5rem;
    margin-bottom: 0;
    color: #666;
    font-weight: 600;
}

.lot-page .price-start {
    padding: 0.5rem 1rem;
    background-color: #777777;
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.lot-page .price-step {
    padding: 0.4rem 0.6rem;
    background-color: #999;
    color: #fff;
    font-size: 1rem;
    line-height: 1rem;
    margin-bottom: 1rem;
}

.lot-page .price-current {
    padding: 0.5rem 1rem;
    background-color: #eb4646;
    color: #fff;
    font-size: 1.2rem;
}

.lot-page .gallery {
    margin-bottom: 1rem;
}

.lot-page .gallery-link img {
    border: 1px #ccc solid;
    margin: 0 5px 5px 0;
}

.document-title a .do-show,
.document-title a[aria-expanded="true"] .do-hide {
    display: inline;
}

.document-title a[aria-expanded="true"] .do-show,
.document-title a .do-hide {
    display: none;
}

.document-item {
    display: flex;
    /* justify-content: space-between;*/
    margin-bottom: 0.2rem;
}

.document-item .action-download .title {
    font-size: 1rem;
    color: #333;
    margin-right: 10px;
    transition: all 0.4s ease;
}

.document-item .action-download:hover .title {
    color: #eb4646;
}

.document-item .action-delete {
    font-size: 1rem;
    font-weight: bold;
    color: #D30101;
    margin-left: 20px;
}

.document-item a.action-download::before {
    display: inline-block;
    height: auto;
    float: left;
    padding: 5px 0;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 25px;
    margin-right: 8px;
}

.document-item[data-mime="application/pdf"] a.action-download::before {
    content: '\f1c1';
    color: #AA4444;
}

.document-item[data-mime="application/vnd.ms-excel"] a.action-download::before,
.document-item[data-mime="application/vnd.openxmlformats-o"] a.action-download::before {
    content: '\f1c3';
    color: #e02525;
}

.document-item[data-mime="application/msword"] a.action-download::before,
.document-item[data-mime="application/vnd.openxmlformats-officedocument.wordprocessingml.document"] a.action-download::before {
    content: '\f1c2';
    color: #4466AA;
}

.document-item[data-mime="application/zip"] a.action-download::before,
.document-item[data-mime="application/x-rar-compressed"] a.action-download::before {
    content: '\f1c6';
    color: #EA8526;
}

.document-item[data-mime="image/png"] a.action-download::before,
.document-item[data-mime="image/jpeg"] a.action-download::before {
    content: '\f1c5';
    color: #AA4444;
}

#document-item-form {
    display: flex;
    margin-bottom: 2rem;
}

#document-item-form button {
    margin-left: 1rem;
}


/* category tree */

.product-category {
    max-height: 200px;
    overflow-y: scroll;
    background-color: #f6f6f6;
    padding: 1rem 0;
    border: 1px #ccc solid;
    margin-bottom: 1rem;
}

.product-category ul {
    list-style: none;
    margin-left: 1rem;
}

.product-category label {
    font-size: 0.9rem;
    font-weight: normal;
    margin: 0;
}

.product-category label input {
    height: auto;
    width: auto;
}


/* footer */

.footer {
    background-color: #333;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-block>ul>li>a {
    color: #ccc;
    line-height: 1.2em;
}

.footer-block>ul>li>a:hover {
    color: #eb4646;
}

.footer-block>h3 {
    color: #fff;
}

.footer-newsletter>h4 {
    color: #fff;
}

.footer-static-middle .des>li {
    color: #ccc;
    padding-bottom: 3px;
}

.footer-static-middle .des>li>.fa {
    width: 14px;
    margin-right: 5px;
}

.footer-static-middle p {
    color: #ccc;
}


/*Social Link Color Variations*/

.social-link a {
    display: inline-block;
    width: 28px;
    height: 28px;
    text-align: center;
    line-height: 28px;
}

.vk:hover {
    background: #40c1df;
}

.facebook:hover {
    background: #3c5b9b;
}

.viber:hover {
    background: #ca7bda;
}

.telegram:hover {
    background: #208be2;
}

@media (max-width: 991px) {
    header .menu-wrap .phone{
        display: none;
    }
    .mean-container .mean-bar{
        position: fixed;
    }    
    .mean-container a.meanmenu-reveal.meanclose{
        z-index: 1000;
        color: red;
    }

}
@media (max-width: 767px) {
    header .tools-wrap .dropdown {
        min-width: 30px !important;
    }
    header img.logo{
        height: 50px;
    }
    header .tools-wrap .dropdown-toggle span {
        display: none
    }
    header .tools-wrap {
        margin-right: 25px;
    }
    
}
@media (max-width: 576px) {
    header img.logo{
        height: 40px;
    }
    header {
        padding: 5px 0;
    }
    header .tools-wrap .dropdown-toggle .icon {
        width: 24px;
        height: 24px;
        line-height: 22px;
    }
    .fa-lg {
        font-size: 1em;
    }


}