/*
Theme Name: Quang Thắng
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.2
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.is-divider {
    display: none;
}

.gtranslate_wrapper {
    display: flex;
    align-items: center;
    gap: 3px;
}

.header-main .searchform-wrapper .search-field {
    height: 60px !important;
    background: white;
    border: 1px solid #EBEEF7 !important;
    border-radius: 0px !important;
}

.header-block-block-1 {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-header {
	align-items: center;
    flex-flow: inherit;
}

.contact-header .icon-box-img+.icon-box-text {
	padding-left: 5px;
}

.contact-header p {
	font-size: 13px;
}

.btn-banner {
    font-size: 14px;
    padding: 5px 30px;
    border-width: 1px !important;
    font-weight: 400;
    box-shadow: none;
    margin: 0;
    transition: .3s;
    /* border-right: 1px solid #fff; */
}

.icon-service h2 {
	font-size: 28px;
}

.icon-service h3 {
	color: #133e74;
	font-size: 25px;
	line-height: 1.4;
}

.content-wrapper h2 {
	font-size: 35px;
	color: var(--primary-color);
}

.content-wrapper h3 {
    line-height: 1.3;
}

.product-list-categories .box-text {
    padding: 0;
}

.product-list-categories h5 {
    color: white;
    line-height: 2.4;
    letter-spacing: 0px;
    background: var(--fs-color-secondary);
    width: 265px;
    padding-left: 10px;
    margin-top: 0;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.product-list-categories p {
    margin: 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cat-detail-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.image-gp h4 {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0px;
}

.image-gp h3 {
    font-size: 20px;
    line-height: 2;
    letter-spacing: 0px;
}

.image-gp ul {
    list-style: none;
    margin: 0;
}

.image-gp ul li {
    margin-left: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.image-gp a.button {
    font-weight: 400;
    font-size: 14px;
    padding: 5px 30px;
    border-width: 1px !important;
    box-shadow: none;
    margin: 16px 0 0;
    transition: .3s;
}

.sec-why .row .col:nth-child(2) {
    border-left: 1px solid white;
    border-right: 1px solid white;
}

.sec-why .row .col:nth-child(3) {
    border-right: 1px solid white;
}

.icon-service-why h5 {
    line-height: 1.6;
}

.icon-contact svg {
    height: 16px;
    display: inline-block;
    vertical-align: -2px;
}

.form-flat label {
    font-size: 12px;
}

.form-flat input,
.form-flat textarea {
    border-radius: 0 !important;
    border: none;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 400;
    height: 45px;
}

button.wpcf7-submit {
    background: none !important;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 400;
    display: flex;
    align-items: center;
    padding: 0;
}

button.wpcf7-submit img {
    width: 24px;
    margin-left: 8px;
}

.content-footer {
    font-size: 14px;
}

.content-footer h4 {
    font-size: 16px;
    letter-spacing: 0px;
}

.nav-footer .widget_nav_menu {
    margin: 0;
    padding: 0;
}

.nav-footer span.widget-title,
.title-footer h3 {
    display: block;
    font-size: 15px;
    letter-spacing: 0px;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
    margin-bottom: 30px;
}

.nav-footer ul.menu>li:not(:last-child) {
    margin-bottom: 16px;
}

.nav-footer ul.menu>li+li {
    border: none;
}

.nav-footer ul.menu>li>a {
    font-size: 14px;
    display: block;
    padding: 0;
}

.icon-info:not(:last-child) {
    margin-bottom: 16px;
}

.ft-mxh .icon {
    background: white;
    box-shadow: 0px 3px 5px #e7e7e7;
    padding: 12px;
}

.absolute-footer {
    display: none;
}

.footer-wrapper .back-to-top {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.product-small.box {
    box-shadow: 0px 3px 5px #e9e9e9;
    border-radius: 5px;
}

.product-small.box .box-text {
    padding-left: 10px;
    padding-right: 10px;
}

.product-title {
    text-transform: capitalize;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.product-title a {
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.price-text {
    font-weight: 700;
    color: red;
}

@media (max-width: 991px) {

    .header-main li.html.custom {
        display: block;
    }

    .image-gp h3 {
        line-height: 1.3;
    }

    .nav-footer span.widget-title,
	.title-footer h3  {
    	font-size: 13px;
    }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

    
    .product-list-categories h5 {
        width: auto;
    }

    .section-footer .bg-fill {
    	background-position: auto 100%;
    }
}