/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.post-item .col-inner {
    background: #fff;
    border-radius: 12px;
}

div#top-bar {border-bottom: 1px solid #ebebeb;}

.header-vertical-menu__opener {padding: 12px 0px;}

.type-post {
    background: #fff;
    padding: 25px;
    border-radius: 12px;}

.article-inner .entry-header-text-top .entry-divider.is-divider.small {display: none;}

.entry-header-text {padding: 0;}

.header-bottom-nav > li:not(:first-child) {margin-right: 15px;}

.row-divided>.col+.col:not(.large-12) {
    border-left: 0;
    padding: 0 21px 0 8px;}

div#product-sidebar {padding-right: 15px;}

.is-divider {
    height: 1px;
    display: block;
    background-color: #ccc;
    margin: 1em 0 1em;
    width: 100%;
    max-width: 100%;
}

div#shop-sidebar span.widget-title, .post-sidebar span.widget-title, #secondary span.widget-title, div#product-sidebar span.widget-title {
    color: #96171d;
    font-size: 19px;
}


.product-footer .woocommerce-tabs {
    padding: 0;
    border: 0;
}

.product-images {
    padding: 17px 0 0 0;
}


element.style {
}
.woocommerce-variation-price {
    display: none;
}

.product-page-price span.amount {
    white-space: nowrap;
    color: red;
    font-weight: 600;
    font-size: 20px;
}
.product-info .price {
    font-size: unset;
    margin: 0.5em 0;
    font-weight: bolder;
}

.product-info.summary.entry-summary h1 {color:#000000}

.single_add_to_cart_button.button.alt{
    background: #96171d;
    font-size: 15px;
    line-height: 25px;
    font-weight: 400;
    border-radius: 12px!important;
}

input.plus.button.is-form {
    border-radius: 0 12px 12px 0!important;
    background: #fff;
}

input.minus.button.is-form {
    border-radius: 12px 0 0 12px!important;
    background: #fff;
}

.quantity.buttons_added .qty {
    max-width: 2em;
    border-left: 0;
    border-right: 0;
    padding: 0;
	box-shadow: none;
}

.product-summary .quantity {margin-right: 0;}

.single-product .product-info .price-wrapper {
    padding: 0;
    margin: 15px 0 25px 0;
}

.product-small .box-image img {border-radius: 12px;}

.product-small .product-small.box {
    padding: 0;
    background: #fff;
    border-radius: 12px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
    box-shadow: 0 0 12px rgba(15,61,145,.12);
}

p.name.product-title.woocommerce-loop-product__title a {
    color: #000;
    line-height: 23px;
    font-size: 15px;
    word-wrap: break-word;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 46px;
    padding: 0 5px;
	text-align: center;
}

.title-wrapper {margin-bottom: 10px;}

.product-small.box .price-wrapper {padding: 0 5px;text-align: center;}

.btw_mua {
	display: block;
    float: left;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px}

.product-info.summary.entry-summary form {margin-bottom:0}

/*trang sản phẩm*/
.product-main {
    padding: 5px;
    margin-bottom: 20px;
    box-shadow: rgba(60,64,67,.1) 0 1px 2px 0, rgba(60,64,67,.15) 0 2px 6px 2px;
}

.sidebar_box, .content-product-footer-right, .product-footer-left .tabbed-content, .product-footer-left .related-products-wrapper, div#shop-sidebar aside, .post-sidebar aside, #secondary aside, div#product-sidebar aside {
	box-shadow: rgb(60 64 67 / 10%) 0 1px 2px 0, rgb(60 64 67 / 15%) 0 2px 6px 2px;
    border-radius: 1rem;
    padding: 10px;
    margin-bottom: 15px;
    background: #fff;
}

.sidebar_box ul {list-style:none}

.content-product-footer-right table {
    border: 1px solid #f2f2f2;
    border-radius: 1rem;
    overflow: hidden;
}

.content-product-footer-right td:first-child {padding-left: 10px;}

.content-product-footer-right tbody tr:nth-child(odd) {background: #f2f2f2;}

.content-product-footer-right td {color:#000}

/*Nút liên hệ báo giá*/

.sp-contact {
	background: #96171d;
    font-size: 15px;
    border-radius: 12px !important;
    color: #fff;
    display: inline-block;
    padding: 5px 1.2em;
    letter-spacing: .03em;
}

.sp-contact:hover {
	color: #fff;
	background: #092750;
}

.spsm-contact {text-align:center}

.spsm-contact .sp-contact {
	background: #fff;
    font-size: 15px;
	font-weight:700;
    border-radius: 12px !important;
    color: #96171d;
    border: 1px solid #96171d;
    padding: 5px 1.2em;
    letter-spacing: .03em;
}

.spsm-contact .sp-contact:hover {
	color: #fff;
	background: #96171d;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

@media only screen and (max-width: 849px){
	
	.content-product-page {flex-direction: column-reverse;}
	
	.content-product-page .content-product-footer-right, .content-product-page .product-footer-left {
    max-width: 100%;
    flex-basis: 100%;
	}
	}

/* button liên hệ */
@media (min-width: 561px) {
.devvn_toolbar {
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 99999999;
}
.devvn_toolbar ul {
    list-style: none;
    margin: 0;
    padding: 0;}
.devvn_toolbar ul li {
    padding: 0;
    margin: 0;
    list-style: none;
}
.devvn_toolbar ul li a {
    display: block;
    position: relative;
}
.devvn_toolbar ul li a > div{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    margin: 0 0 5px;
    position: relative;
    background-position: 50% 50%;
    background-size: cover;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.devvn_toolbar ul li a br {
    display: none;
}
.devvn_toolbar ul li a span {
    font-weight: 400;
    color: #333;
    position: absolute;
    top: 50%;
    left: calc(100% + 10px);
    left: -webkit-calc(100% + 10px);
    left: -moz-calc(100% + 10px);
    margin-top: -12.5px;
    font-size: 14px;
    height: 25px;
    line-height: 25px;
    padding: 0 10px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
}
.devvn_toolbar ul li a:hover span{
    opacity: 1;
    visibility: visible;
}
.devvn_toolbar ul li a span:after {
    right: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(136, 183, 213, 0);
    border-right-color: #333;
    border-width: 5px;
    margin-top: -5px;
}
.devvn_toolbar ul li a img {
    width: auto;
    height: auto;
    max-width: 30px;
    max-height: 30px;
    margin: 0;
    box-shadow: none;
    border: 0;
}

.devvn_toolbar ul li a.animation_tada > div {
    animation-name: devvn_tada;
    -webkit-animation-name: devvn_tada;
    animation-delay: 0s;
    -webkit-animation-delay: 0s;
    animation-duration: 1.5s;
    -webkit-animation-duration: 1.5s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    cursor: pointer;
    box-shadow: 0 0 0 0 #c31d1d;
}

.devvn_toolbar ul li a.animation_zoom > div {
    animation-name: devvn_zoom;
    -webkit-animation-name: devvn_zoom;
    animation-delay: 0s;
    -webkit-animation-delay: 0s;
    animation-duration: 1.5s;
    -webkit-animation-duration: 1.5s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    cursor: pointer;
    box-shadow: 0 0 0 0 #c31d1d;
}
@-webkit-keyframes devvn_tada {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    10%, 20% {
        -webkit-transform: scale(.9) rotate(-3deg);
        transform: scale(.9) rotate(-3deg)
    }

    30%, 50%, 70%, 90% {
        -webkit-transform: scale(1.1) rotate(3deg);
        transform: scale(1.1) rotate(3deg)
    }

    40%, 60%, 80% {
        -webkit-transform: scale(1.1) rotate(-3deg);
        transform: scale(1.1) rotate(-3deg)
    }

    100% {
        -webkit-transform: scale(1) rotate(0);
        transform: scale(1) rotate(0)
    }
}

@keyframes devvn_tada {
    0% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1)
    }

    10%, 20% {
        -webkit-transform: scale(.9) rotate(-3deg);
        -ms-transform: scale(.9) rotate(-3deg);
        transform: scale(.9) rotate(-3deg)
    }

    30%, 50%, 70%, 90% {
        -webkit-transform: scale(1.1) rotate(3deg);
        -ms-transform: scale(1.1) rotate(3deg);
        transform: scale(1.1) rotate(3deg)
    }

    40%, 60%, 80% {
        -webkit-transform: scale(1.1) rotate(-3deg);
        -ms-transform: scale(1.1) rotate(-3deg);
        transform: scale(1.1) rotate(-3deg)
    }

    100% {
        -webkit-transform: scale(1) rotate(0);
        -ms-transform: scale(1) rotate(0);
        transform: scale(1) rotate(0)
    }
}

@-webkit-keyframes devvn_zoom {
    0% {
        transform: scale(.9)
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent
    }

    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent
    }
}

@keyframes devvn_zoom {
    0% {
        transform: scale(.9)
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent
    }

    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent
    }
}

.devvn_toolbar ul li a.animation_swing img{
    animation-name: devvn_swing;
    -webkit-animation-name: devvn_swing;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
    animation-timing-function: ease-in;
    -webkit-animation-timing-function: ease-in;
}
@-webkit-keyframes devvn_swing {
    20% {
        -webkit-transform: rotate3d(0,0,1,15deg);
        transform: rotate3d(0,0,1,15deg)
    }

    40% {
        -webkit-transform: rotate3d(0,0,1,-10deg);
        transform: rotate3d(0,0,1,-10deg)
    }

    60% {
        -webkit-transform: rotate3d(0,0,1,5deg);
        transform: rotate3d(0,0,1,5deg)
    }

    80% {
        -webkit-transform: rotate3d(0,0,1,-5deg);
        transform: rotate3d(0,0,1,-5deg)
    }

    to {
        -webkit-transform: rotate3d(0,0,1,0deg);
        transform: rotate3d(0,0,1,0deg)
    }
}

@keyframes devvn_swing {
    20% {
        -webkit-transform: rotate3d(0,0,1,15deg);
        transform: rotate3d(0,0,1,15deg)
    }

    40% {
        -webkit-transform: rotate3d(0,0,1,-10deg);
        transform: rotate3d(0,0,1,-10deg)
    }

    60% {
        -webkit-transform: rotate3d(0,0,1,5deg);
        transform: rotate3d(0,0,1,5deg)
    }

    80% {
        -webkit-transform: rotate3d(0,0,1,-5deg);
        transform: rotate3d(0,0,1,-5deg)
    }

    to {
        -webkit-transform: rotate3d(0,0,1,0deg);
        transform: rotate3d(0,0,1,0deg)
    }
}
.devvn_toolbar.devvn_toolbar_right {
    left:auto;
    bottom: 10px;
    right: 10px;
}

.devvn_toolbar.devvn_toolbar_right ul li a span {
    right: calc(100% + 10px);
    right: -webkit-calc(100% + 10px);
    right: -moz-calc(100% + 10px);
    left: auto
}

.devvn_toolbar.devvn_toolbar_right ul li a span:after {
    left: 100%;
    right: 0;
    transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg)
}

 .devvn_toolbar ul li a#devvn_contact_1 span:after {
    border-right-color: #dd3333;
}
.devvn_toolbar ul li a#devvn_contact_1 span{
    color: #fff;
    background-color: #dd3333;
}
.devvn_toolbar ul li a#devvn_contact_1 > div{
    background: #dd3333;
}

.devvn_toolbar ul li a#devvn_contact_2 span:after {
    border-right-color: #1e73be;
}
.devvn_toolbar ul li a#devvn_contact_2 span{
    color: #fff;
    background-color: #1e73be;
}
.devvn_toolbar ul li a#devvn_contact_2 > div{
    background: #1e73be;
}

.devvn_toolbar ul li a#devvn_contact_3 span:after {
    border-right-color: #0772e6;
}
.devvn_toolbar ul li a#devvn_contact_3 span{
    color: #fff;
    background-color: #0772e6;
}
.devvn_toolbar ul li a#devvn_contact_3 > div{
    background: #0772e6;
}

.devvn_toolbar ul li a#devvn_contact_4 span:after {
    border-right-color: #fb5530;
}
.devvn_toolbar ul li a#devvn_contact_4 span{
    color: #fff;
    background-color: #fb5530;
}
.devvn_toolbar ul li a#devvn_contact_4 > div{
    background: #fb5530;
}
.devvn_toolbar ul li a#devvn_contact_4 > div{
    box-shadow: 0 0 0 0 #fb5530;
}
}

@media (max-width: 560px) {
	.has_devvn_toolbar {padding-bottom: 50px;}

.devvn_toolbar.devvn_toolbar_left {
background: #fff;
    display: inline-block;
    width: 100%;
    bottom: 0;
    left: 0;
    position: fixed;
    z-index: 99999999;
    height: auto;
    padding: 0;
    border-top: 0;
    visibility: visible;
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    -webkit-transition: all .3s linear;
    box-shadow: 0 0.5rem 1rem 0 rgb(44 51 73 / 60%);
    padding-bottom: env(safe-area-inset-bottom);
}

.devvn_toolbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-collapse: collapse;
    width: 100%;
    display: flex;
    flex-flow: row wrap;
}

.devvn_toolbar ul li {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    text-align: center;
    display: flex;
    margin-bottom: 0;
}

.devvn_toolbar ul li a{
    display: block;
    width: 100%;
    outline: none;
    text-decoration: none;
    padding: 5px 3px;
    white-space: nowrap;
}

.devvn_toolbar ul li a span {
    font-weight: 400;
    color: #333;
    background: transparent;
    font-size: 3.5vw;
    display: block;
    margin: 2px 0 0 0;
}

.devvn_toolbar ul li a img {
    height: 6vw;
    width: auto;
    margin: 0;
}

.devvn_toolbar ul li a#devvn_contact_1 span{
    color: #ffffff;
    background-color: #dd3333;
}
.devvn_toolbar ul li a#devvn_contact_1{
    background: #dd3333;
}

.devvn_toolbar ul li a#devvn_contact_2 span{
    color: #ffffff;
    background-color: #1e73be;
}
.devvn_toolbar ul li a#devvn_contact_2{
    background: #1e73be;}
.devvn_toolbar ul li a#devvn_contact_3 span{
    color: #ffffff;
    background-color: #0772e6;
}
.devvn_toolbar ul li a#devvn_contact_3{
    background: #0772e6;
}
.devvn_toolbar ul li a#devvn_contact_4 span{
    color: #ffffff;
    background-color: #fb5530;
}
.devvn_toolbar ul li a#devvn_contact_4{
    background: #fb5530;
}

.footer-wrapper {margin-bottom: 55px}
.back-to-top {bottom: 70px;}
}
