a.btn-brand,
a.btn-brand:hover {
    color: #fff;
}

.login-popup select.form-control:not([size]):not([multiple]) {
    padding-left: 1rem;
    height: 42px;
}

.login-popup .select-custom:after {
    top: 72%;
}

.modal {
    position: fixed;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    width: 100vw;
    background: rgba(0, 0, 0, .75);
    overflow-y: scroll;
}

.modal-wrapper {
    background-color: #fff;
}

.modal .mfp-content {
    position: relative;
    margin-top: 50px;
}

.product-default figure {
    height: 280px;
}

.product-default figure a {
    display: flex;
    align-items: center;
    overflow: hidden;
    /*background-color: #f1f1f1;*/
}

.product-default figure a img {
    height: auto;
    width: auto;
}

.header-search .select-custom {
    min-width: 180px;
    flex: 0 0 180px;
}

.account-content select.form-control:not([size]):not([multiple]) {
    height: 50px;
}

.account-content .select-custom::after {
    top: 70%;
}

.account-content .form-control {
    padding-top: 0;
    padding-bottom: 0;
}

.product-images-item {
    position: relative;
    width: 150px;
}

.product-images-item .remove-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, .5);
}

.product-images-item .remove-image i {
    color: #000;
}

.product-images-item img {
    width: 100%;
}

#suggest_category_wrap {
    display: none;
}

.open-company-details {
    display: block;
}

.company-details {
    display: none;
}

.sidebar-shop .widget.scrolling-box {
    max-height: 500px;
    overflow-y: scroll;
}

.logo {
    max-width: 100%;
}

.header-top {
    font-size: 1.5rem;
}

.dropdown-list {
    display: none;
    padding: 15px 0;
    width: 100%;
}

.dropdown-list span {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
}

.dropdown-list span:hover {
    color: red;
}

#selected-products {
    margin: 10px 0;
}

#selected-products .related-product-item {
    position: relative;
    display: inline-block;
}

#selected-products .related-product-item button.delete,
#selected-products .related-product-item a.delete {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -10px;
    right: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #5c5c5c;
    color: #fff;
    font-size: 10px;
}

#selected-products span {
    display: inline-block;
    padding: 5px 10px;
    background-color: #0a6aa1;
    color: #fff;
    margin-right: 10px;
    margin-bottom: 10px;
}

.custom-field {
    display: none;
}

.category-list li {
    margin-right: 20px;
}

.btn-brand {
    background-color: #65bc46;
    border-color: #65bc46;
    color: #fff;
    transition: all, .3s;
}

.btn-brand:hover {
    background-color: #519e38;
    border-color: #519e38;
    color: #fff;
    transition: all, .3s;
}

.form-group.range-price .form-control + .form-control {
    margin-top: 0;
}

.password-input {
    position: relative;
}

.password-input .show-password {
    position: absolute;
    margin-top: -7px;
    top: 50%;
    right: 10px;
    z-index: 999999;
    cursor: pointer;
}

.form-group.password-input .show-password {
    margin-top: 5px;
}

.nav-tabs.list .nav-item .nav-link {
    text-transform: unset;
}

.product-type-item {
    display: inline-block;
}

.product-details {
    position: relative;
}

.change-currency {
    position: absolute;
    right: 20px;
    bottom: 33px;
}

.currencies-list {
    display: flex;
    justify-content: flex-start;
    margin: 0;
    opacity: 0;
    transition: all, .3s;
}

.currencies-list li {
    margin-left: 1px;
    background-color: #0cc485;
    border-radius: 3px;
}

.currencies-list li span {
    display: block;
    padding: 1px 3px;
    color: #fff;
    cursor: pointer;
}

.currencies-list li.active,
.currencies-list li:hover {
    background-color: #099064;
}

.currencies-list li:hover span {
    color: #fff;
}

.product-default:hover .currencies-list {
    opacity: 1;
    transition: all, .3s;
}

.action form,
.action .btn {
    display: block;
    width: 100%;
}

.action a {
    display: block;
    width: content-box;
}

.action a.btn-outline-dark {
    margin-bottom: 5px;
}

.product-single-container {
    position: relative;
}

.product-admin-buttons {
    position: absolute;
    top: -35px;
    right: 0;
    z-index: 9999;
}

.new-price {
    display: block;
}

form.logout {
    margin-bottom: 0;
}

form.hidden-form {
    display: none;
}

.modal-wrapper.custom-form {
    padding: 20px;
}

.modal-wrapper.custom-form form .form-group {
    max-width: unset;
    width: 100%;
}

.modal-wrapper.custom-form form select.form-control:not([size]):not([multiple]) {
    height: 4.6rem;
}

a.doc {
    display: inline-block;
    width: 22px;
    height: 25px;
}

a.doc.doc-pdf {
    background: url("../img/pdf.png") center no-repeat;
}

.dashboard-content .payment-methods {
    border-bottom: none;
}

.payment-method.hidden {
    display: none;
}

.dashboard-content .feature-box img {
    display: block;
    margin: 0 auto 2.5rem;
    transition: transform .35s;
}

.featured-products-section {
    background-color: inherit;
}

.account-container select.form-control:not([size]):not([multiple]) {
    height: 4.5rem;
}

.account-container .select-custom:after {
    margin-top: 12px;
}

.fields-group {
    display: none;
}

.label-btn {
    margin: 0 0 0.6rem;
    color: #222529;
    font-family: Poppins, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

#place-banner-form {
    display: none;
}

#finalize-form {
    display: none;
}

.choose-lang {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 600px;
}

.choose-lang a {
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 200px;
}

.header-banner {
    /*height: 400px;*/
    overflow-y: hidden;
}

.blog-section .post-media {
    height: 200px;
}

.blog-section .post-media img {
    margin: 0 auto;
    width: auto;
    height: 100%;
}

.prod-thumbnail {
    max-height: 110px;
    overflow-y: hidden;
}

.prod-thumbnail .owl-dot.active img,
.prod-thumbnail img:hover {
    border: none;
}

.req .product-default {
    padding: 20px 0;
    border: 1px solid #ebebeb;
}

.req .product-default .product-details {
    padding: 0;
}

.req .product-default div,
.req .product-default h5 {
    padding: 0 20px;
}

.req .product-default .btn-container {
    display: flex;
    justify-content: center;
    width: 100%;
    border-top: 1px solid #ebebeb;
}

.header-company {
    margin: 50px 0;
}

.company-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.company-name h2 {
    margin: 0;
}

.company-name .logo {
    max-width: 250px;
}

.company-name .logo img {
    width: 100%;
}

.blog-section .post-media a {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-section .post-media a img {
    margin: 0 auto;
    width: auto;
    height: 100%;
}

.product-default figure img:first-child {
    margin: 0 auto;
}

.header-catalog .header-left .btn {
    width: 100%;
}

.products-mobile {
    display: none;
}

.products-mobile .product-default {
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #f5f5f5;
}

#video-banner-mob {
    display: none;
}

.additional-prices {
    width: fit-content;
    display: none;
}

.product-slider-container:not(.container) {
    background-color: #f5f5f5;
    height: 468px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.product-single-carousel {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.product-single-carousel video {
    width: 100%;
}

.owl-dot .thumb-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 110px;
    background-color: #f5f5f5;
}

.owl-dot .thumb-container img {
    width: 100%;
}

.owl-carousel .owl-stage-outer {
    height: 100%;
}

.owl-carousel .owl-stage-outer .owl-stage {
    display: flex;
    height: 100%;
}

.avatar-file {
    width: 100px;
    height: 100px;
    filter: opacity(.5);
    cursor: pointer;
    transition: all .3s;
}

.avatar-file .form-group {
    width: 100%;
    height: 100%;
}

.avatar-file label {
    position: relative;
    width: 100%;
    height: 100%;
    border: 2px dashed #e8e8e8;
    border-radius: 5px;
    background: url("../img/user.svg") bottom center no-repeat;
    background-size: cover;
    transition: all .3s;
}

.avatar-file input {
    opacity: 0;
}

.avatar-file label .remove-image {
    position: absolute;
    top: -5px;
    right: -20px;
}

.avatar-file:hover {
    filter: opacity(1);
    transition: all .3s;
}

.avatar-file:hover label {
    border: 2px solid #8A8A8A;
    transition: all .3s;
}

.social-group i.soc-icon {
    display: block;
    width: 50px;
    height: 50px;
    margin-right: 10px;
    background-size: 70%;
    background-position: center;
    background-repeat: no-repeat;
}

.social-group i.soc-icon.vk {
    background-image: url("../img/social/vk.png");
}

.social-group i.soc-icon.ig {
    background-image: url("../img/social/instagram.png");
}

.social-group i.soc-icon.fb {
    background-image: url("../img/social/facebook.png");
}

.social-group i.soc-icon.ok {
    background-image: url("../img/social/odnoklassniki.png");
}

.profile-photo {
    width: 100px;
    height: 100px;
    border: 3px solid #d8d8d8;
    border-radius: 50%;
    overflow: hidden;
}

.profile-photo img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-summary .social-icons {
    display: block;
    width: 40px;
    height: 40px;
}

.order-summary .social-icons img {
    width: 100%;
}

.account-actions .btn {
    width: 100%;
}

/* Chat */
.chat-list {
    position: relative;
}

a.chat-link {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-radius: 5px;
    transition: all .3s;
}

a.chat-link:hover {
    background-color: #f8f8f8;
    transition: all .3s;
}

a.chat-link:hover .chat-action-btn {
    opacity: 1;
}

.chat-link__info {
    display: flex;
    justify-content: flex-start;
}

.chat-avatar {
    margin-right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #dfdfdf;
    border: 1px solid #dfdfdf;
    overflow: hidden;
}

.chat-avatar img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-content span {
    display: block;
    color: #000;
}

.chat-content .chat-name {
    margin-bottom: 3px;
    font-size: 18px;
    font-weight: 600;
}

.chat-content .chat-recently-message {
    font-size: 14px;
    font-weight: 400;
    color: #8f8f8f;
}

.chat-link__date i {
    font-size: 10px;
}

.chat-link__date span {
    margin-left: 5px;
    font-size: 14px;
    font-weight: 400;
    color: #8f8f8f;
}

a.chat-link .chat-action-btn {
    display: block;
    text-align: right;
    font-size: 36px;
    color: #8f8f8f;
    line-height: 1;
    opacity: 0;
}

ul.chat-dropdown {
    position: absolute;
    right: -100%;
    top: -100%;
    background-color: #fff;
    border: 1px solid #e6e6e6;
    width: fit-content;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    z-index: -1;
}

ul.chat-dropdown li a {
    display: block;
    padding: 10px 20px;
    color: #000;
    font-size: 18px;
}

ul.chat-dropdown li a:hover {
    background-color: #f1f1f1;
}

.chat-container {
    height: auto;
}

.chat-header,
.chat-header__left,
.chat-header__right {
    display: flex;
    align-items: center;
}

.chat-header {
    position: relative;
    margin-bottom: 20px;
    padding: 10px 0;
    justify-content: space-between;
    box-shadow: 0 24px 24px -24px rgba(0, 0, 0, .13);
}

.chat-header__left {
    justify-content: flex-start;
}

.chat-header__left .link-back {
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    background-color: inherit;
    color: #000;
    transition: all .3s;
}

.chat-header__left .link-back:hover {
    background-color: #dfdfdf;
    transition: all .3s;
}

.chat-header__left .chat-info a {
    font-size: 18px;
    color: #000;
    font-weight: 600;
    transition: all .3s;
}

.chat-header__left .chat-info a:hover {
    color: #08c;
    transition: all .3s;
}

.chat-header__right {
    justify-content: flex-end;
}

.chat-header__right .action-btn {
    display: block;
    padding: 0;
    font-size: 28px;
    line-height: 12px;
    color: #8f8f8f;
    background-color: #e1e1e1;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: all .3s;
}

.chat-header__right .action-btn:hover {
    background-color: #d0d0d0;
    color: #4a4a4a;
    transition: all .3s;
}

.chat-header ul.chat-actions {
    display: none;
    position: absolute;
    right: 0;
    top: 65px;
    background-color: #fff;
    border: 1px solid #e6e6e6;
    width: fit-content;
    border-radius: 5px;
    box-shadow: 0 0 10px rgb(0 0 0 / 10%);
    z-index: 99;
}

.chat-header ul.chat-actions li a {
    display: block;
    padding: 10px 20px;
    color: #000;
    font-size: 18px;
}

.chat-header ul.chat-actions li a:hover {
    background-color: #f1f1f1;
}

.chat-body {
    position: relative;
    display: flex;
    align-items: flex-end;
    margin-bottom: 50px;


}

.chat-body > div {
    width: 100%;
    overflow-y: scroll;
    min-height: 400px;
    height: calc(100vh - 650px);
}

.chat-body .chat-time-delimiter {
    padding: 15px 50px 30px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: #000;
}

.chat-body .message {
    display: flex;
    align-items: flex-start;
    max-width: 50%;
    margin-bottom: 10px;
}

.chat-body .message.message-from {
    justify-content: flex-start;
}

.chat-body .message.message-to,
.chat-body .message.message-to .message-content {
    flex-direction: row-reverse;
}

.chat-body .message.message-to {
    margin-left: auto;
    margin-right: 0;
}

.chat-body .message-author {
    margin-right: 10px;
    width: 30px;
    height: 30px;
}

.chat-body .message-author img {
    display: block;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 5px rgba(0, 0, 0, .15);
    object-fit: cover;
}

.chat-body .message-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: calc(100% - 40px);
}

.chat-body .message-content .message-text {
    margin-right: 10px;
    padding: 10px;
    background-color: #efefef;
    border-radius: 10px;
    color: #464646;
    min-width: 60%;
    width: fit-content;
}

.chat-body .message-content .message-time {
    font-size: 12px;
}

.chat-body .message.message-to .message-author,
.chat-body .message.message-to .message-content .message-text {
    margin-right: unset;
    margin-left: 10px;
}

.chat-body .message.message-to .message-content .message-text {
    background-color: #d7fbd5;
}

.chat-body .chat-empty {
    position: absolute;
    top: 50%;
    left: 50%;
    width: fit-content;
    font-size: 20px;
    color: #a1a1a1;
    margin-left: -96px;
    margin-top: -14px;
}

.chat-footer {
    margin-top: 50px;
}

.send-message-form {
    padding: 20px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -25px 25px -25px rgb(0 0 0 / 13%)
}

.send-message-form .form-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.send-message-form .form-icon input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.send-message-form .form-icon:hover {
    background-color: #efefef;
}

.send-message-form .form-attach {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: fit-content;
}

.send-message-form .form-group {
    max-width: calc(100% - 90px);
    width: 100%;
    margin: 0;
}

.send-message-form .form-group .form-control {
    height: 40px;
    border: none;
}

.send-message-form .form-group .form-control:focus {
    border-bottom: 1px solid #efefef;
}

.send-message-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 40px;
    height: 40px;
    border: none;
    background-color: inherit;
    border-radius: 50%;
    cursor: pointer;
}

.send-message-btn:not([disabled]):hover {
    background-color: #efefef;
}


.send-message-form .form-icon i,
.send-message-btn i {
    font-size: 18px;
}

.messenger-link {
    position: relative;
}

.new-price.cur-price {
    font-size: 20px;
    color: #808080;
}

.new-price.cur-price::before {
    margin: 0 5px;
    content: "/";
    color: #c1c1c1;
}


.modal-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-custom .container {
    padding: 50px;
    max-width: 600px;
    width: 100%;
    max-height: 400px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #aee58d;
    position: relative;
    box-shadow: 0 0 10px rgba(55, 155, 5, .25);
}

.modal-custom .container .mfp-close {
    top: -30px;
    right: -30px;
}

.sidebar-shop .widget {
    padding: 1rem;
}

.sidebar-shop .widget-title {
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .header-left {
        width: 100%;
        justify-content: space-between;
    }

    .sticky-header.fixed .logo,
    a.logo {
        max-width: 230px;
    }

    .featured-products-section .btn {
        margin-bottom: 20px;
    }

    .tabs .nav-tabs {
        display: block;
    }
}

@media (max-width: 767px) {
    #video-banner-mob,
    .products-mobile {
        display: block;
    }

    #video-banner,
    .products-desktop {
        display: none;
    }
}

@media (max-width: 450px) {
    .company-name {
        display: block;
    }

    .company-name .logo {
        margin-bottom: 20px;
        max-width: 150px;
    }

    .company-name h2 {
        font-size: 20px;
    }

    .product-default figure {
        height: 200px;
    }

    .breadcrumb-nav {
        display: none;
    }
}

.btn-remove {
    display: flex;
    justify-content: center;
    align-items: center;
}
