﻿.danhmuc{
  color: #288ad6;
  text-transform: initial;
}
.danhmuc-sanpham {
  color: #288ad6;
  text-transform: initial;
}
.product-details {
  font-size: 22px;
  color: #4a4a4a;
  font-weight: 300;
}
.price-details {
    font-size: 24px;
    color: #c10017;
}

.img-container img{
    width: 400px;
    margin: 0 auto;
}
.hover-container{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    margin-right:6em;
}
.hover-container div{
    border: 2px solid #ccc;
    padding: 1rem;
    border-radius: 3px;
    margin: 0 4px 8px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.active{
    border-color: #ccc;
}
.hover-container div:hover{
    border-color: rgb(255, 145, 163);
}
.hover-container div img{
    width: 50px;
    cursor: pointer;
}


#myImg {
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  transform: translate3d(75px, 136px, 0px) scale(0.85796);
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 80px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}
.single-product div#tab-description {
            overflow: hidden;
            position: relative;
            padding-bottom: 25px;
        }
.single-product .tab-panels div#tab-description.panel:not(.active) {
    height: 0 !important;
}
.itcodewp_readmore_flatsome {
    cursor: pointer;
    position: absolute;
    z-index: 10;
    bottom: 0;
    width: 100%;
    background: #fff;
}
.itcodewp_readmore_flatsome:before {
    height: 55px;
    margin-top: -45px;
    content: "";
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    display: block;
}
.itcodewp_readmore_flatsome a {
	color: #0064c2;
	display: block;
	padding: 6px 0;
	width: 150px;
	border-radius: 4px;
	font-size: 14px;
}
.itcodewp_readmore_flatsome a:after {
    content: '';
    width: 0;
    right: 0;
    border-top: 6px solid #0064c2;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    display: inline-block;
    vertical-align: middle;
    margin: -2px 0 0 5px;
}
.itcodewp_readmore_flatsome_less a:after {
    border-top: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #0064c2;
}
.itcodewp_readmore_flatsome_less:before {
    display: none;
}
#slide-wrapper{
	margin-top: 30px;
	max-width: 500px;
	display: flex;
	min-height: 100px;
	align-items: center;
}

#slider{
	width: 440px;
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;

}

#slider::-webkit-scrollbar {
		width: 8px;

}

#slider::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);

}
 
#slider::-webkit-scrollbar-thumb {
  background-color: gray;
  outline: 1px solid slategrey;
   border-radius: 100px;

}

#slider::-webkit-scrollbar-thumb:hover{
    background-color: #18b5ce;
}

.arrow{
	width: 30px;
	height: 30px;
	cursor: pointer;
	transition: .3s;
}

.arrow:hover{
	opacity: .5;
	width: 35px;
	height: 35px;
}
.thumbnail{
	object-fit: cover;
	max-width: 180px;
	max-height: 100px;
	cursor: pointer;
	opacity: 0.5;
	margin: 5px;
	border: 2px solid black;

}

.thumbnail:hover{
	opacity:1;
}

.active{
	opacity: 1;
}

#lens {
    z-index: 2;
    position: absolute;
    height: 200px;
    width: 200px;
    border: 2px solid black;
    background-repeat: no-repeat;
    cursor: default;

    border-color: #ccc;
}
.badge-container-chitiet.absolute.left {
    right: 0;
    left: auto;
    top: 0;
    margin-top: 0;
    background:red;
    font-size: 0.5em;
}
.badge1-container-chitiet.absolute.left {
    right: 0;
    left: auto;
    top: 0;
    margin-top: 0;
    background:#49b90d;
    font-size: 0.5em;
}

@media (min-width: 850px) {
    [data-show="woocommerce-tabs-mobile"], .woocommerce-tabs-mobile {
         display: none !important;
    }
    [data-show="mobile_product_relate"], .mobile_product_relate {
        display: none !important;
    }
}