:root {
  --font-color: blueviolet;
  --line-height: 12px;
}

html, body {
    overflow-x: hidden;
}

h6 {
    margin-bottom: 0px;
}

.vendor-item-subpanel .fav, .vendor-item-subpanel .cart {
    width: 20px;
}

.vendor-item-subpanel .code-div, .vendor-item-subpanel .price-div {
    width: 100%;
    text-align: left;
}

.cart {
    font-weight: bold !important;
    cursor: pointer;
    width: 70px;
}

.fav {
    cursor: pointer;
    width: 70px;
}

.btn-primary {
    color: azure;
}

.btn-primary:hover {
    color: black;
}

a:hover {
    text-decoration: none;
}

.far, .fas {
    font-size: 1.25rem;
    font-weight: 400;
}

.fa-search {
    color: black !important;
}

.fa-heart {
color: red !important;
}

.fa-shopping-cart {
color: black;
}

.bold {
    font-weight: 600 !important;
}

.non-bold {
    font-weight: 400 !important;
}

.menu-link {
    color: white !important;
}

/*
.soldout::after {
    content: "sold out";
    color: white;
    font-weight: bold;
    margin-left: 15px;
    font-size: 10px;
    position: absolute;
    top: 30px;
    right: 0px;
    background-color: red;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    padding: 5px 5px;
    margin-top: -10px;
    white-space: normal;
}
*/

.soldout::after {
    content: "sold out";
    color: white;
    font-weight: bold;
    font-size: 10px;
    background-color: red;
    width: 40px !important;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    padding: 7px 0px 0px 0px;
    margin-top: 3px;
    white-space: normal;
    display: inline-block;
    margin-left: 5px;
    min-width: 40px !important;
    line-height: 12px;
    position: absolute;
    right: 20px;
    top: 40px;
}

.product-title::after {
    top: initial;
    right: initial;
}

.disable_cart {
    color: gray;
    cursor: default;
}


.instock::after {
    content: "in stock";
    font-size: 14px;
    color: green;
    font-weight: bold;
    border: 2px solid green;
    margin-left: 5px;
    padding: 0px 5px;
}

.hide {
    visibility: hidden;
}

#new-products .price-div, #popular-products .price-div {
    width: fit-content;
    padding: 0px;
    margin-top: 2px;
    padding-right: 5px;
}


#main_container {
    width: 100%;
    background-image: url('/img/bg.jpg');
}

#header-panel {
    background-color: pink;
    /* padding: 5px; */
}

.container-fluid {
    padding: 0px;
}

.vendor-item-title {
    line-height: 24px;
    color: var(--font-color);
    text-align: center;
    padding-bottom: 20px;
    white-space: nowrap;
    overflow: hidden;
}

.owl-carousel .owl-item img {
    height: 300px;
    object-fit: cover;
}

.breadcrumb {
    color: var(--font-color);
    background-color: transparent;
    text-align: center;
    display: block;
}

.vendor-item {
    text-align: center !important;
    width: 70%;
    margin: 0px auto;
    /*max-height: 400px;*/
}

.sub_categories_list {
    height: 30px;
}
  
.vendor-item div {
    color: blueviolet;
}

/*
.vendor-item img {
    height: calc(100% - 96px);
    object-fit: cover;
    width: 100%;
}

.vendor-category img {
    height: calc(100% - 48px) !important;
}
*/

.vendor-item img {
    object-fit: scale-down;
    width: 100%;
    height: calc(100% - 48px);
}

.navbar {
    height: 64px;
}

.navbar-nav {
    flex-direction: row;
}

.nav-link {
    padding: 5px 10px !important;
}

.navbar-collapse {
    display: flex;
    flex-basis: auto;
}

.img-box {
    display: inline-block;
    width: 70%;
    margin: 0px auto;
}

.img-box img {
    height: auto;
}

.img-box img:hover {
    transform: initial !important;
    transition: initia;
}

.product-item:hover .product-img img {
  transform: initial;
}

.product-item .product-img img {
  transition: initial;
  object-fit: scale-down;
  /* width: auto !important; */
}

.card, .card-header, .card-body, .card-footer {
    background-color: transparent !important;
    text-align: center;
    height: 100%;
}

.card {
    border: 1px solid var(--font-color) !important;
    height: 100%;
}

.card-body {
    padding-bottom: 0px !important;
}
  
.card-footer {
    padding-top: 0px;
}

.accordion-button:focus {
    box-shadow: none;
}

#popular-products {
    background-color: peachpuff;
}

#new-products {
    background-color: peachpuff !important;
    background-image: url("/img/bg.jpg");    
}

.section-title span {
    background-color: initial;
}
  
.section-title::before {
    content: initial;
}
.vendor-item .title {
    background-color: peachpuff;
    display: flex;
    height: 48px;
}

.title div {
    margin: auto;
    height: auto;
    text-align: center;
}

.inner-div {
    height: 100% !important;
    padding: 10px;
    background-color: pink;
    min-height: 120px;
}

.vendor-item-subpanel {
    background-color: peachpuff;
}

.vendor-item-subpanel tr td:nth-child(1) {
    padding-left: 10px;
    width: 100%;
    text-align: left;
}

.blur {
    filter: blur(1.5px);
}

.img-container {
    height: 100%;
}

@media (min-width: 1200px) {
    .right-panel {
        padding-left: 1rem !important;
    }

    #main_container {
        width: 90% !important;
        margin: 0 auto;
        overflow: hidden;
        max-width: 1400px;
        visibility: hidden;
    }
}

@media (min-width: 992px) {
    body {
        background-color: pink;
    }
    
    /*
    #main_container {
        width: 90% !important;
        margin: 0 auto;
        overflow: hidden;
        max-width: 1400px;
    }
    */

    #header-panel {
        background-image: url("/img/top3.jpg");
        padding: 0px;
    }

    #logo_img {
        margin-left: 12px;
    }

    .left-panel {
        padding: 0px !important;
        border-right: 10px solid white;
    }

    #navbar-vertical {
        background-image: url("/img/bg.jpg");
        height: 410px;
        margin-top: 30px;
        margin-left: 50px;
    }

    .left-panel ul {
        padding-top: 10px;
    }

    .right-panel {
        flex: none;
        padding-right: 0px !important;
        padding-left: 0px !important;
        /*& border-left: 10px solid white; */
    }   

    .categories {
        padding-left: calc(1.5rem * 0.5);
        padding-right: calc(1.5rem * 0.5);
    }

    .vendor-item {
        width: 25%;
        text-align: left !important;
    }
        
    .vendor-item span {
        border-radius: 5px 5px 0px 0px;
        padding: 5px 10px;
        /* background-color: #E48C6F; */
        background-image: url("/img/bg.jpg");
        color: blueviolet;
    }
    
    /*
    .vendor-item img {
        height: 360px;
        object-fit: cover;
    }
    */

    .product, .products, .categories {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0px;
    }

    .accordion-item {
        background-color: transparent;
    }

    .accordion-button {
        color: var(--font-color) !important;
        background-image: url("/img/bg.jpg");
        text-decoration: none;
    }

    .sub_categories_list {
        height: 30px;
        overflow: hidden;
    }

    .sub_categories_list a {
        text-decoration: none;
        color: var(--font-color) !important;
    }

    .accordion-button:not(.collapsed)::after {
        color: var(--font-color);
    }

    .badge {
        color: var(--font-color);
        font-weight: 600;
    }

    .social:hover {
        text-decoration: none;
    }

    #fb-img {
        height: 26px;
    }

    #blog-img {
        height: 28px;
        margin:0px 30px 0px 5px;
    }

    .main-panel {
        margin: 0px;
        background-image: url('/img/bg.jpg');
        min-height: 700px;
    }

    #footer-panel {
        background-color: peachpuff !important;
        padding: 0px;
    }

    .breadcrumb {
        text-align: left !important;
    }
    
}

@media (min-width: 768px) {

    .vendor-item img {
        width: 100% !important;
    }

}

@media (min-width: 576px) {
    .home-link {
        display: block !important;
        padding: 2px 10px 0px 0px !important;
        font-size: 20px;
    }

    .home-link:hover, .menu-link:hover {
        color: blueviolet !important;
    }

    .vendor-item {
        text-align: left;
        margin: 0px;
        max-height: 480px;
        margin-bottom: 20px;
    }

    #navbarCollapse {
        margin-left: 0px !important;
    }
    
    .img-box {
        width: auto;
        height: 100%;
    }

    .img-box img {
        height: 200px;
    }    

}

.img-box .fav, .img-box .cart {
    width: 25px;
}

@media (max-width: 575px) {
    .fav {
        width: 45px;
    }

    .cart {
        width: 45px;
    }
    
    .navbar {
        height: auto;
    }

    .img-container {
        height: calc(100% - 50px);
    }

    .img-box {
        width: 100%;
        height: calc(100% + 50px);
    }

    .vendor-item {
        width: 100%;
        padding: 0px 30px 0px 15px;
    }
    
    .section-title {
        font-size: 30px !important;
    }

    .main-panel {
        padding-left: 15px;
    }

}

@media (max-width: 400px) {
    .logo-img-a {
        padding-left: 10px;
        padding-top: 10px
    }

    body {
      width: 100%;
    }
}
/* smaller than 576px is the default in bootstrap
@media (min-width: 576px) {}  -sm
@media (min-width: 768px) {}  -m
@media (min-width: 992px) {}  -l
@media (min-width: 1200px) {} -xl 
@media (min-width: 1400px) {} -xxl
*/
