/*!
Theme Name: teacup_megaindustry
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: teacup_megaindustry
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

teacup_megaindustry is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* = Kappa Custom
-------------------------------------------------------------- */
img {
  max-width: 100%;
  height: auto;
}
iframe {
  max-width: 100%;
}
.pagination ul li.current , .pagination ul li:hover {
  background-color: #f4bc4d;
  color: #fff;
}

#secondary ul.menu >li>a {
  margin-bottom: 5px;
  background-color: #f4bc4d;
  color: #fff;
}
#secondary ul.menu >li>a::after {
  color: #fff;
}
.site-header .topbar .contact-info ul {
  float: right;
}
.row.blog-s2-grids, .row.services-s2-grids {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
}
.row.blog-s2-grids .grid{
  border: 1px solid #eee;
}
.row.blog-s2-grids .entry-media, .row.services-s2-grids .img-holder, .latest-porjects-s3 .img-holder {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
  background: #eee;
}

.row.blog-s2-grids .entry-media img, .row.services-s2-grids .img-holder img, .latest-porjects-s3 .img-holder img {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translateX(-50%)translateY(-50%);
}
.services-s2-grids .grid:hover .img-holder img {
  -webkit-transform: translateX(-50%)translateY(-50%)scale(1.2);
  -moz-transform: translateX(-50%)translateY(-50%)scale(1.2);
  -o-transform: translateX(-50%)translateY(-50%)scale(1.2);
  -ms-transform: translateX(-50%)translateY(-50%)scale(1.2);
  transform: translateX(-50%)translateY(-50%)scale(1.2);
}
#lightBox #grid a.fancybox {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
  background: #eee;
  display: block;
}
#lightBox #grid a.fancybox img {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translateX(-50%)translateY(-50%);
}

.latest-projects {
  background-color: #e8e8e7;
  background-image: none;
}
.latest-projects::before {
  content: none;
  background-color: #fff;
}


@media (max-width: 992px) {
 .topbar {
   display: none;
 }
}

.hero .slide:before {
  content: none !important
}

.floatingbutton {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 9999;
  border-radius: 0;
  font-weight: 900;
font-size: 1.2em;
	margin-bottom:0;
}
.back-to-top {
  display: none !important
}
.floataction .btn {
	border-color:red;
	background-color:red;
	color:#fff;
	font-weight:bold;
}
.floataction .theclose {
	position: absolute;
    top: -6px;
    color: #000;
    opacity: 0.5;
    border: 0;
    background: transparent;
    padding: 0;
}

.single-dichvu .col-lg-offset-1 {
    margin-left: 0;
    width: 75%;
}
.sider_bar label,.siderbar_title {
    position: relative;
    font-weight: normal;
    font-size: 16px;
    line-height: 1.35;
    text-transform: uppercase;
    background: -moz-linear-gradient(top,#744530 1%,#461905 100%);
    background: -webkit-linear-gradient(top,#bb8636 1%,#bb8636 100%);
    background: linear-gradient(to bottom,#f8cb4d 1%,#f4bc8c 100%);
    padding: 10px;
    color: #fff;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    text-align: center;
    width: 100%;
    border-bottom: 2px solid #8a580d;
    margin-bottom: 5px !important;
}
.sider_bar .form_gr {
    display: flex;
}

.sider_bar .form_gr .form_search button {
    height: 40px;
    width: 40px;
    box-shadow: none;
    border: none;
    background-color: #f7c24d;
    color: #fff;
}

.sider_bar .form_gr input#search {
    border: 1px solid #bb8636;
    height: 40px;
    border-radius: 0;
    border-color: #ccc;
    width: 100%;
}

.form_input {
    flex: 1;
}
.siderbar_title{
	margin-top:20px;
}
.product-categories {
    border: 1px solid #ccc;
}

.product-categories .cat-item {
    border: none !important;
    border-bottom: 1px dashed #ccc !important;
    font-size: 15px;
    color: #5f6162;
    font-weight: normal;
    padding: 5px 10px;
}

.product-categories .cat-item a {
    font-size: 14px;
    line-height: 19px;
    color: #000000;
    position: relative;
    padding: 0 0 0 22px;
    text-transform: uppercase;
}

.product-categories .cat-item a:before {
    content: "";
    position: absolute;
    top: 3px;
    left: 0;
    width: 16px;
    height: 16px;
    background: url(/wp-content/uploads/2023/07/icon.webp )no-repeat;
}
.blog-s2-grids .entry-details h3 a {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    height: 60px;
}
.pagination ul li a {
    display: contents !important;
}
.vnkings_category_product {
    border: 1px solid #ddd;
    padding: 5px;
}

.vnkings_category_product .list_sp {
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px dashed #ddd;
    display: flex;
}

.vnkings_category_product .list_sp .item-img {
    position: relative;
    z-index: 5;
    overflow: hidden;
    min-width: 100px;
    float: left;
    margin-right: 10px;
    width: 100px;
}

.vnkings_category_product .list_sp .item-img img {
    width: 100%;
    -webkit-transition: all 0.5s;
    height: 100px;
    object-fit: cover;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.vnkings_category_product .list_sp .item-text h4 a {
    display: block;
    font-size: 13px;
    text-align: left;
    color: #222222;
    line-height: 1.3;
    margin-bottom: 3px;
}

.vnkings_category_product .list_sp span.price {
    font-size: 13px;
    color: #e52f2f;
}

.vnkings_category_product .list_sp span.price span.amount {
    font-size: 13px;
    color: #e52f2f;
}

.vnkings_category_product .list_sp:last-child {
    border: none;
    margin: 0;
    padding: 0;
}
.product_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f4bc4d;
    padding: 5px 10px;
    margin-bottom: 10px;
}

.product_title h2 {
    font-size: 20px;
    line-height: 30px;
    margin: 0;
    color: #fff;
}

.product_title  a {
    font-size: 14px;
    color: #fff;
    font-weight: bold;
}
.product_exceprt {
    margin-bottom: 15px;
}

.product_item {
    box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.25);
    margin-bottom: 30px;
}

.product_item .img-holder img {
    height: 200px;
    object-fit: cover;
}

.product_item .details h3 a {
    font-size: 18px;
    color: #f4bc4d;
    text-transform: capitalize;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    height: 50px;
    line-height: 25px;
}

.product_item .details {
    padding: 0 10px 30px;
}

.product_item .details p {
    color: #333;
    margin-top: 14px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.product_item .details a.read-more {
    color: #f4bc4d;
}
/*************** ------------------------Mobile và Tablet --------------------------  ***************/
@media (max-width: 1023px){

.row.row_category {
    display: flex;
    flex-flow: column-reverse;
}
}
 /*************** ------------------------ Mobile   --------------------------  ***************/
@media screen and (max-width: 549px){
.ss_product .col.col-lg-3.col-xs-4 {
    width: 100%;
}
}