
/** Product **/
ul.library-list {
	display: flex;
    flex-flow: row wrap;
    list-style: none;
	margin-top: 40px;
}
body.tax-categoryproduct #content-sidebar-wrap #content ul.library-list {
	margin-left: -1%;
	margin-right: -1%;
}
ul.library-list li {
	float: left;
    width: 23%;
    margin: 0px 1% 30px 1%;
    padding: 0px 10px;
    font-size: 14px;
    line-height: 30px;
	box-sizing: border-box;
	position: relative;
	border: 1px solid #333333;
	border-radius: 5px; 
}
ul.library-list li:hover {
	border: solid 1px #333333;
	border-radius: 5px; 
    box-shadow: 0px 1px 3px #333333;
}
.detail h4 {
	margin: 0px;
	padding: 15px 0px;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
}
.detail h4 a {
	color: #333333;
}
.detail h4 a:hover {
	text-decoration: none;
	color: rgb(254, 193, 15);
}
.library-name a img {
	width: 100%;
	height: 243px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
    object-fit: cover;
}
.product-loop__description {
	display: flex;
	flex-flow: row wrap;
	padding: 0px;
}
.product-loop__description .price {
	width: 100%;
    float: left;
    padding: 5px 0px 15px;
    line-height: 19px;
    text-align: center;
}
.item-product .product-loop__description .price {
	height: 64px;
}
.product-loop__description .price .price-amount {
	width: 100%;
	float: left;
}
.product-loop__description .price .khuyenmai {
	color: #dd2523;
	font-weight: 600;
	font-size: 20px;
	padding-bottom: 5px;
}
.product-loop__description .price .goc {
	color: #707070;
	font-size: 15px;
	text-decoration: line-through;
}
.product-loop__description .actions {
	float: left;
	padding: 5px 30px;
    border: 1px solid #fdb813;
    margin: auto;
	background: #fdb813;
	display: none;
}
.product-loop__description .actions a,
.product-loop__description .actions .txt {
	color: #ffffff;
}
.product-loop__description .actions:hover {
	text-decoration: none;
}
.mt-pro-show {
	position: absolute;
	padding: 10px 13px;
	top: 2px;
    left: 79%;
	background-image: url('../images/sale-promotion.png');
	background-repeat: no-repeat;
	background-size: 50px;
	color: #fff;
    font-weight: 600;
    width: 50px;
	height: 50px;
	font-size: 13px;
}
.content-left .slideshow-container .mt-pro-show {
	left: 85%;
	padding: 15px 10px;
}
/** Carousel **/
.elementor-widget-container .item-sidebar-content {
	border: 1px solid #ffffff;
	padding: 0px;
	margin: 20px 10px;
}
.carousel-item {
	width: 33%;
	height: auto;
	margin-left: 0px;
	margin-right: 10px;
}
.carousel-item.size-180 {
	width: 23.5%;
	margin-right: 20px;
}
.carousel-item.size-large {
	width: 75%;
}
.carousel-item .item-product {
	border: 1px solid #333333;
	padding: 10px;
	border-radius: 5px;
}
.carousel-item .item-product:hover {
	border: solid 1px #333333;
	border-radius: 5px;
	box-shadow: 0px 1px 3px #333333;
}
.item-product .thumbnail-product {
	border-bottom: 0px solid #ddd;
}
.item-product .thumbnail-product a img {
	height: 243px;
	object-fit: contain;
}
.flickity-prev-next-button {
	width: 40px;
	height: 45px;
	border-radius: 0px;
	border: 1px solid #fec110;
	background: #fec110;
	z-index: 9999;
}
.flickity-button:hover {
	background: #f1b300;
	cursor: pointer;
}
.flickity-button-icon {
	fill: #fff;
}
.item-sidebar-content .flickity-prev-next-button.previous {
	left: -15px;
}
.item-sidebar-content .flickity-prev-next-button.next {
	right: -15px;
}
.flickity-button:focus {
	outline: none;
	box-shadow: 0 0 0 5px #19F;
}
/**********************************************************************************************************
 *                                              Single product                                            *
 **********************************************************************************************************/

body.single-product #content-sidebar-wrap #content,
body.tax-categoryproduct #content-sidebar-wrap #content,
body.tax-trademarkproduct #content-sidebar-wrap #content,
body.tax-tagproduct #content-sidebar-wrap #content,
body.post-type-archive-product #content-sidebar-wrap #content {
	width: 100%;
}

.content-detail-product {
	display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
	align-items: flex-start;
}
.content-detail-product .product-inner .content-left {
	width: 45%;
	float: left;
}
.content-detail-product .product-inner .content-right {
	width: 50%;
	float: left;
}
.content-detail-product .product-inner .content-right {
	margin-left: 50px;
	width: -webkit-calc(45% - 50px);
	width: calc(55% - 50px);
}
.content-right .product_title {
    font-size: 27px;
    font-weight: 500;
    margin-bottom: 5px;
}
.product-inner .content-right .product_meta {
	border: 1px solid #eee;
    border-width: 1px 0;
    padding: 8px 0;
    white-space: nowrap;
	overflow-x: auto;
	color: #888888;
    margin-top: 10px;
}
.product-inner .content-right .sku_wrapper {
	padding: 10px 0px 0px 0px;
}
.product-inner .content-right .price {
	color: #dd2523;
	font-size: 24px;
	padding: 10px 0px;
}
.product-inner .content-right .price .khuyenmai {
	padding-right: 5px;
	font-weight: 600;
}
.product-inner .content-right .price .goc {
	color: #888888;
	font-size: 18px;
	text-decoration: line-through;
}
.product-inner .content-right .product-hotline {
	padding: 10px 0px;
	font-size: 20px;
	color: #FF9800;
}
.product-inner .content-right .product-hotline .hotline-2 {
	font-size: 25px;
	font-weight: 600;
}
.product-inner .content-right .cart {
	display: flex;
}
.product-inner .content-right .cart .lienhe {
	background: #e02826;
	padding: 20px 10px;
	color: #fff;
	width: 100%;
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	text-transform: uppercase;
	border: 0px;
}
h2.title-library {    
	font-size: 24px;
	text-transform: uppercase;
	padding: 40px 0px;
	margin-bottom: 0px;
	color: #ff9800;
	font-weight: 500;
}
h2.title-library::before {
	content: "\f0c9";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    color: #FF9800;
    font-size: 25px;
	padding-right: 0.5em;
}
.relatedcat ul.library-list {
    margin-top: 0px;
}
.facebook {
	padding: 30px 0px 0px 0px;
}
.single-under {
	margin-top: 25px;
}
.single-under-left {
	width: 70%;
	float: left;
}
.tab {
	overflow: hidden;
	background-color: #fff;
}
.tab button {
	background-color: inherit;
	outline: none;
	cursor: pointer;
	transition: 0.3s;
	font-size: 17px;
	background: #f7f7f7;
	border: 1px solid #eee;
	border-width: 1px 1px 0;
	padding: 15px 25px;
}
.tab button:hover {
	background-color: #e7e7e7;
}
.tab button.active {
	background-color: #fff;
}
.tabcontent {
	display: none;
	border: 1px solid #eee;
	padding: 20px;
	margin-top: 0;
}
.single-under-right {
	margin-left: 20px;
	width: calc(30% - 20px);
	border: 1px solid #eeeeee;
}
.single-under-right h3 {
	font-size: 14px;
    text-transform: uppercase;
    padding: 15px 10px;
    background: #ff9800;
    font-weight: 500;
    color: #ffffff;
}
.single-under-right ul {
	margin-top: 25px;
	margin-bottom: 0px;
}
.single-under-right ul li {
	padding-right: 15px;
    padding-left: 15px;
}
.single-under-right ul li {
	margin-bottom: 15px;
}
.single-under-right img.alignleft {
	height: 70px;
	display: inline;
	margin: 0 15px 10px 0;
	object-fit: cover;
}
.single-under-right h4 a {
	color: #000000;
}
.single-under-right h4 a:hover {
	color: #ff9800;
}
/*************************************************************************************************************
 *                                                   Slider single                                           *
 *************************************************************************************************************/
.mySlides {
	display: none
}
img {
	vertical-align: middle;
}
.slideshow-container {
	max-width: 1000px;
	position: relative;
	margin: auto;
	border: 1px solid #eee;
}
.list-dot {
	text-align:center;
	margin-top:10px;
}
.dot {
	cursor: pointer;
	margin: 0 2px;
	background-color: #00000094;
	display: inline-block;
	transition: background-color 0.6s ease;
	border: 1px solid #eee;
	opacity: 0.7;
}
.active,
.dot:hover {
	opacity: 1;
	background-color: #ffffff;
}
.dot img {
	opacity: 0.7;
	background-color: #000000;
}
.fade {
	-webkit-animation-name: fade;
	-webkit-animation-duration: 1.5s;
	animation-name: fade;
	animation-duration: 1.5s;
}
@-webkit-keyframes fade {
	from {
		opacity: .4
	}
	to {
		opacity: 1
	}
}
@keyframes fade {
	from {
		opacity: .4
	} 
	to {
		opacity: 1
	}
}
/******************************************************************************************************
 *                                        Modal nút liên hệ                                           *
 ******************************************************************************************************/
.modal {
	display: none;
	position: fixed;
	z-index: 1;
	padding-top: 50px;
	padding-bottom: 50px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.58);
}
.modal-content {
	position: relative;
	background-color: #fefefe;
	margin: auto;
	padding: 0;
	border: 10px solid #ffffff;
	width: 45%;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	-webkit-animation-name: animatetop;
	-webkit-animation-duration: 0.4s;
	animation-name: animatetop;
	animation-duration: 0.4s
}
@-webkit-keyframes animatetop {
	from {top:-300px; opacity:0} 
	to {top:0; opacity:1}
}

@keyframes animatetop {
	from {top:-300px; opacity:0}
	to {top:0; opacity:1}
}
.close {
	color: #333333;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

.modal-header {
	padding: 10px 16px;
	background-color: #ffffff;
	color: white;
}
.modal-header h2 {
	font-size: 20px;
	color: #d45353;
	font-weight: 600;
	text-transform: uppercase;
}
.modal-header p {
	font-style: italic;
}
.modal-body {
	padding: 20px 30px;
}
.modal-footer {
	padding: 10px 16px;
	background-color: #ffffff;
	color: white;
}
.modal-footer h3 {
	font-size: 18px;
    font-weight: 600;
    color: #d75d5d;
}
.modal-footer p {
	margin-bottom: 10px;
}
/** like-facebook
---------------------------------------------------------------------------------*/
.like-facebook {
	padding: 20px 0px;
}
.info-product ul {
	padding-left: 30px;
}
.info-product ul li {
	padding: 3px 0px;
}

/** Sidebar
----------------------------------------------------------------------------------*/
#sidebar h2.title-item {
	font-size: 14px;
	text-transform: uppercase;
	padding: 15px 10px;
	background: #000000;
	font-weight: 500;
	color: #ffffff;
}
#sidebar ul.library-list {
	margin-top: 20px;
}
.sidebar.widget-area ul li {
	width: 100%;
	border-bottom: 1px solid #333333;
	list-style-type: none;
	margin: 0 0 20px;
	padding: 10px 0 0px;
	word-wrap: break-word;
}
.sidebar.widget-area .library-name {
	width: 35%;
	float: left;
	margin: 0 15px 10px 0;
}
.sidebar.widget-area .library-name a img {
	height: auto;
}
.sidebar.widget-area .detail h4 {
	background: #ffffff;
	border-bottom: 0px;
	text-align: left;
	font-size: 14px;
	padding: 0px 0px 15px;
}
.sidebar.widget-area .mt-pro-show {
	display: none;
}
.sidebar.widget-area ul.library-list li:hover .library-name a img {
	opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}
.sidebar.widget-area .detail h4 a {
	color: #353535;
}
.sidebar.widget-area .detail h4 a:hover {
	color: rgb(254, 193, 15);
}
.sidebar.widget-area ul.library-list li:hover {
	border-top: 0px;
	border-left: 0px;
	border-right: 0px;
}
.sidebar.widget-area .product-loop__description .price {
	text-align: left;
}
.sidebar.widget-area .product-loop__description .price .khuyenmai {
	font-size: 16px;
}
.sidebar.widget-area .product-loop__description .price .goc {
	font-size: 14px;
}
.sidebar.widget-area .product-loop__description .actions {
	margin: 0px;
	padding: 0px 10px;
}

/* form mua hàng
----------------------------------------------------------------------------------*/
.modal-body .wpcf7-form p {
	width: 50%;
	margin-right: 20px;
	float: left;
	color: #616161;
    font-size: 13px;
}

.modal-body .wpcf7-form p:nth-child(8),
.modal-body .wpcf7-form p:nth-child(9) {
	width: 100%;
	float: left;
}
.wpcf7-form p {
	margin-bottom: 10px;
}

/* responsive
--------------------------------------------------------------------------------------*/
@media screen and (max-width: 768px) and (min-width: 320px) {
	ul.library-list li {
		width: 100%;
	}
	.library-name a img {
		height: auto;
	}
	.carousel-item.size-180 {
		width: 100%;
	}
	/* Single product
	 **/
	.content-sidebar #content, .sidebar-content #content {
        width: 100%;
    }
    .content-detail-product .product-inner .content-left {
        width: 100%;
    }
    .content-detail-product .product-inner .content-right {
        margin-left: 0px;
        padding: 20px 0px;
        width: -webkit-calc(100% - 0px);
        width: calc(100% - 0px);
	}
	.modal-content {
        width: 96%;
	}
	.modal-header {
		padding: 10px 0px;
	}
	.modal-body {
		padding: 0px 0px;
		overflow: hidden;
	}
	.modal-footer {
		padding: 10px 0px;
	}
	.modal-body .wpcf7-form p {
		width: 100%;
		margin-right: 0px;
	}
	.single-under {
		margin-top: 0px;
	}
	.single-under-left {
		width: 100%;
	}
	.single-under-right {
		display: none;
	}
	.tab button {
		font-size: 13px;
		padding: 10px 5px;
	}
}