.card-group-product {
    justify-content: center;
}

.card-product {
    width: 18rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    flex: none!important;
}

.card-product .card-img-top {
    height: 18rem;
    background-size: cover;
    background-position: center;
}

.section-blog a {
    color: #333;
}

.card-group .card:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.card-group .card {
    flex: 1 0 0%;
    margin-bottom: 0;
}

.card-group .card+.card {
    margin-left: 0;
    border-left: 0;
}

.card-blog {
    width: 10rem;
    float: left;
}

.card-blog .card-img-top {
    height: 14rem;
    background-size: cover;
    background-position: center;
}

.card-body a {
    text-decoration: none;
    color: #333;
}


.card-group-product-mini {
    justify-content: center;
}

.card-group-product-mini .card-product {
    width: 13rem;
}

.card-group-product-mini .card-product .card-img-top {
    height: 12rem;
}

.card-group-product-mini .card-product .card-body p {
    font-size: 14px;
    font-weight: 500;
}

.card-blog .card-body {
    padding: 1rem 1rem 0rem 1rem;
}

.section-head {
    color: #00d0cb;
    margin-top: 70px;
    padding: 7px;
    text-align: center;
    font-size: 25px;
    font-weight: bold;
    border-radius: 4px;
    border-bottom: 2px solid #00d0cb;
}

.text-detail-product {
   overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
   -webkit-box-orient: vertical;
}


.img-card {
    margin: auto;
    border-radius: 16px;
    margin-bottom: 16px;
}

fieldset.active {
    display: block !important
}

fieldset {
    display: none
}

.pic0 {
    /*width: 400px;*/
    min-height: 300px;
    max-height: 400px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    background-size: cover;
    background-position: center;
}

.product-pic {
    padding-left: auto;
    padding-right: auto;
    width: 100%
}

.thumbnails {
    position: absolute
}

.fit-image {
    width: 100%;
    object-fit: cover
}

.tb {
    width: 62px;
    height: 62px;
    border: 1px solid grey;
    margin: 2px;
    opacity: 0.4;
    cursor: pointer;
    float: left;
    margin-bottom: 25px;
}

.tb-active {
    opacity: 1
}

.thumbnail-img {
    width: 60px;
    height: 60px
}
    
header h2 {
    margin-left: 1.5rem!important;
}

.head-icon {
    margin-right: 3rem!important
}

#navbarNav {
    padding-left: 60px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem #efefef;
}

@media screen and (max-width: 768px) {
    .pic0 {
        /*width: 250px;*/
        height: 300px;
    }
    
    .card-group {
        display: flex;
        flex-flow: row wrap;
    }
    
    .card-group-product-mini {
        padding-right:6px;
        padding-left:6px;
    }
    
    .card-product {
        width: 10rem;
    }
    
    .card-product .card-img-top {
        height: 10rem;
        background-size: cover;
        background-position: center;
    }
    
    .card-group-product-mini .card-product {
        width: 100%;
    }
    
    header h2 {
        margin-left: 1.1rem!important;
        font-size: 17px;
    }
    
    .navbar {
        padding-left: 12px;
    }

    .head-icon {
        margin-right: 10px!important
    }

    #navbarNav {
        padding-top: 10px;
        padding-left: 10px;
    }

}

@media screen and (max-width:768px) {
    .xs-display-4 {
        font-size:18px!important;
        font-weight:bolder;
        margin:0px;
    }
}