/*
Theme Name: tranh
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

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


@font-face {
    font-family: font-primary;
	src: url('./Exo2-Light.ttf');
}

@font-face {
    font-family: font-primary-bold;
	src: url('./Exo2-Medium.ttf');
}

@font-face {
    font-family: font-heading;
	src: url('./SVN-SVN-A Love Of Thunder.ttf');
}

html {
   scroll-behavior: smooth;
}

body, html, .nav > li > a, h1, h2, h3, h4, h5, h6 {
	font-family: 'font-primary' !important;
}

.heading {
	font-family: 'font-heading' !important;
	color: var(--primary-color);
	display: contents;
}

.is-divider {
    display:none;
}

.header-nav-main .form-flat .button.icon {
    background-color: var(--primary-color) !important;
}

.header-main .form-flat input:not([type=submit]) {
    background-color: white !important;
    font-size: 16px;
    height: 42px;
    text-indent: 5px;
    color: #292929 !important;
}

.header-main .form-flat .search-field::placeholder {
	color:var(--primary-color) !important;
}

.header-main .form-flat .icon-search {
	color: var(--primary-color) !important;
}

.header-nav-main .form-flat .icon-search:before {
    color: white;
}

.header-nav-main .form-flat .flex-row .flex-col {
    padding-right: 0;
}

.header-nav-main .cart-item .header-cart-link, .header-nav-main .cart-item .header-cart-link:hover {
    background:#ffffff36;
    height: 40px;
    display: flex;
    align-items: center;
    box-shadow:none;
    text-transform: none;
}

.header-nav-main .cart-item .header-cart-link .header-cart-title {
	font-size: 14px
}

.menu-header .icon-box {
    background: #ffffff36;
    border-radius: 10px;
    padding: 5px 15px
}

.header-block {
    width: 100px !important;
    margin-right: 20px !important;
}

.col-block {
    padding: 0;
    margin-left: 22px !important;
}

.menu-header > .col {
    margin-left: 0 !important;
}

.header-block .menu-header .icon-box-text {
    display: flex;
    align-items: center;
}

.header-block .icon-box-text {
    padding-left: 6px !important;
}

.header-block .icon-box-text h5 {
    text-transform: inherit;
    color: white;
	font-size: 14px;
	text-align:center;
	letter-spacing: 1px
}

.burger-menu {
	cursor:pointer
}

.burger-menu img {
	padding-top:0
}

.menu-primary {
    width:280px;
    position: absolute;
}

#header .menu-desktop {
    position: absolute;
    z-index: 50;
    width: 100%;
    -moz-transition: all 0.25s;
    -o-transition: all 0.25s;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
    box-shadow: rgba(50, 50, 50, 0.33) 0px 2px 6px 0px;
    border-radius: 10px;
}

.sidebar-menu {
    background: #fff;
    padding: 0;
    width: 100%;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.sidebar-menu .megamenu-nav {
    position: relative;
    z-index: 2;
    background: #fff;
    height: auto;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.sidebar-menu .megamenu-nav-main {
    display: block;
    padding: 0;
    margin-bottom: 0;
}
.sidebar-menu .megamenu-nav-main .megamenu-content {
    position: absolute;
    display: none;
    z-index: 10;
    cursor: default;
    background-color: #fff;
}
.sidebar-menu .megamenu-nav-main .menu-active .megamenu-content {
    display: block;
}
.sidebar-menu .megamenu-item {
    cursor: pointer;
    list-style-type: none;
    margin-left:0 !important;
    margin-bottom: 0;
}
.sidebar-menu .megamenu-item .megamenu-link {
    font-size: 16px;
    padding: 2px 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    height: 35px;
    margin: 0;
    position: relative;
    transition: none;
    color:#292929;
	border-radius: 10px 0 0 10px;
}
.sidebar-menu .megamenu-item .megamenu-icon {
    display: flex;
    width: 20px;
    text-align: center;
    margin-right: 8px;
}
.sidebar-menu .megamenu-item .megamenu-ic-right {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 4px;
    margin: auto;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sidebar-menu .megamenu-item .megamenu-ic-right svg {
    width: 8px;
    height: 8px;
}
.sidebar-menu .megamenu-item:first-child:hover {
    -webkit-border-radius: 4px 0 0 0;
    -moz-border-radius: 4px 0 0 0;
    border-radius: 4px 0 0 0;
}
/* .sidebar-menu .megamenu-item:last-child:hover .megamenu-link {
    -webkit-border-radius: 0 0 0 4px;
    -moz-border-radius: 0 0 0 4px;
    border-radius: 0 0 0 4px;
} */
.sidebar-menu .megamenu-item:hover .megamenu-link, .sidebar-menu .megamenu-item:hover path {
    text-decoration: none;
    color: #fff;
    background: var(--primary-color);
    outline: none;
	fill: #fff; 
}
.sidebar-menu .megamenu-item:hover .megamenu-link:before {
    right: -32px;
    border-top: 16px solid transparent;
    border-left: 16px solid var(--primary-color);
    border-bottom: 19px solid transparent;
    border-right: 16px solid transparent;
    z-index: 100;
    position: absolute;
    top: 0;
    margin: auto;
    content: "";
}

/*.sidebar-menu .megamenu-item:hover .icon_menu {
    background: white;
    border-radius: 5px;
    padding: 2px;
}*/

.sidebar-menu
.megamenu-item:hover
.megamenu-icon[data-hover*="gaming"]
svg
path:nth-child(5) {
    fill: var(--fs-color-alert);
    stroke: var(--fs-color-alert);
}
.sidebar-menu .megamenu-item.menu-active .megamenu-link {
    color: #fff;
    background: #ea1c04;
    text-decoration: none;
    position: relative;
}
.sidebar-menu .megamenu-item .xlab_grid_container {
    width: 100%;
    overflow: hidden;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
.sidebar-menu .megamenu-item .xlab_grid_container .column {
    position: relative;
    box-sizing: border-box;
}
.sidebar-menu .megamenu-item .xlab_grid_container .xlab_column_5_5 {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: start;
    flex-direction: row;
    flex-wrap: wrap;
    flex-flow: row wrap;
    align-content: flex-start;
    padding: 0 20px;
}
.sidebar-menu
.megamenu-item
.xlab_grid_container
.xlab_column_5_5
.sub-megamenu-item {
    width: 22%;
}
.sidebar-menu .megamenu-item .absolute-center {
    top: 0;
    left: 100%;
    min-height: 496px;
    width: calc(1300px - 250px);
    max-height: 100vh;
    overflow: auto;
	margin-left: 5px
}
.sidebar-menu .megamenu-item .absolute-left {
    left: 0;
    right: auto;
}
.sidebar-menu .megamenu-item .absolute-right {
    right: 0;
    left: auto;
}
.sidebar-menu .megamenu-item .sub-megamenu-item:not(.pull-right) {
    padding: 5px 5px 16px;
}
.sidebar-menu .megamenu-item .sub-megamenu-item.pull-right {
    width: 17%;
}
.sidebar-menu .megamenu-item .sub-megamenu-item .sub-megamenu-item-name {
    color: var(--primary-color);
    font-family: 'font-primary-bold' !important;
    margin-bottom: 8px;
    display: block;
    font-size: 16px;
}
.sidebar-menu .megamenu-item .sub-megamenu-item .sub-megamenu-item-name:focus,
.sidebar-menu .megamenu-item .sub-megamenu-item .sub-megamenu-item-name:hover {
    color: var(--fs-color-secondary);
    text-decoration: none;
}
.sidebar-menu .megamenu-item .sub-megamenu-item .sub-megamenu-item-filter {
    display: block;
    font-size: 13px;
    color:#292929;
}
.sidebar-menu
.megamenu-item
.sub-megamenu-item
.sub-megamenu-item-filter
+ .sub-megamenu-item-filter {
    margin-top: 8px;
}
.sidebar-menu .megamenu-item .sub-megamenu-item .sub-megamenu-item-filter:focus,
.sidebar-menu
.megamenu-item
.sub-megamenu-item
.sub-megamenu-item-filter:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.site-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99;
    opacity: 1;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.6);
}

.open-menu .site-overlay {
    opacity: 1;
    visibility: visible;
}

.completions-wrapper {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 10px -5px rgb(0 0 0 / 20%),
        0 16px 24px 2px rgb(0 0 0 / 14%), 0 6px 30px 5px rgb(0 0 0 / 10%);
    list-style-type: none;
    padding: 0;
    height: auto;
    max-height: none;
    position: absolute;
    top: 70px;
    left: auto;
    right: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
    width: 1340px;
    display: none;
}
.auto-suggestion {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
}
.completions-aside {
    width: 230px;
    padding: 16px;
}
.completions-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.completions-list-head {
    font-size: 18px;
    font-family: font-heading !important;
    margin-bottom: 10px;
}
.completions-item {
    margin-bottom: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}
.trending-icon {
    margin-right: 7px;
    width: 20px;
}
.completions-content {
    width: calc(100% - 230px);
    padding: 16px;
    position: relative;
    min-height: 440px;
}
.completions-content-list img {
    display: inline-block;
    object-fit: contain;
    border-radius: 0 0 5px 5px;
}
.popular-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    grid-gap: 8px;
    margin-top: 5px;
}
.completions-content-item {
    background-color: #e1e1e1;
    margin: 0;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-radius: 3px;
    overflow: hidden;
    text-align: center;
}
.completions-content-item.category-result {
    padding: 5px;
    justify-content: center;
}
.category-result .completions-txt {
    position: relative;
    top: auto;
    left: auto;
    font-size: 14px;
    padding: 0;
    color: #fff;
    transition: color 0s;
    text-transform: capitalize;
    pointer-events: none;
}
.completions-background {
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 1;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100%;
    height: 100%;
    display: none;
}
.form-search {
    z-index: 999;
    position: relative;
}
.popular-products .product-name h4 a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
}
.popular-products .regular-price {
    font-size: 14px;
}
.popular-products .old-price {
    font-size: 11px;
}
.popular-products .product-title a {
	font-size:15px !important
}
.popular-products .product-small .woocommerce-Price-amount bdi {
	font-size:14px !important
}
.popular-products .price del span.amount bdi {
	font-size:12px !important
}
.price-box {
    white-space: nowrap;
    overflow: hidden;
}
.completions-item a {
    color: #111;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
}
.completions-item a:hover {
    color: var(--fs-color-secondary);
}

.completions-content-list img {
    display: inline-block;
    object-fit: contain;
    border-radius: 5px;
}

.box-image img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.product-small.box {
    background: white;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    /* box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .1), 0 2px 6px 2px rgba(60, 64, 67, .15); */
}

.product-small.box .box-image {
    padding: 5px;
}

.box-image, .entry-image img {
    border-radius: 10px;
}

.product-small.box .box-text {
    padding: 0 5px 5px;
}

.product-small.box .box-text .product-title a {
    color: #333333;
    height: 37px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    font-size: 18px;
	font-family: 'font-primary-bold' !important
}

.product-small.box:hover {
    border: 1px solid var(--fs-color-secondary);
}

.product-small ins .woocommerce-Price-amount, .product-small .woocommerce-Price-amount bdi {
    font-size: 15px;
    color: var(--fs-color-secondary);
	margin-right:3px
}

.product-small img {
	border-radius:5px
}

.price del span.amount bdi {
    color: #a4a4a4 !important;
    font-size: 14px;
}

.top-heading {
	display: flex;
	justify-content: space-between;
}

.navigation-header-mobile {
	background: var(--primary-color);
	color: white;
	padding: 5px 20px;
	font-family: 'font-heading';
}

.mobile-sidebar .sidebar-menu, .mobile-sidebar .sidebar-menu .sub-menu {
	padding: 0 !important;
}

.off-canvas .nav-vertical>li>a {
	padding-bottom: 10px;
	padding-top: 10px;
}

.nav-vertical li li.menu-item-has-children {
	margin-bottom: 0px;
	margin-top: 0px !important;
}

.nav>li>a {
	text-transform: unset;
	padding: 6px 0;
}

.nav-vertical li li.menu-item-has-children>a {
	text-transform: unset;
	font-size: 12px;
	font-family: 'font-primary-bold';
}

.mobile-sidebar a {
	font-size: 12px;
	color: #292929 !important;
}

.woocommerce-mini-cart__empty-message {
	font-size: 13px	
}

.return-to-shop a {
	font-size:13px
}

.nav-dropdown .widget_shopping_cart {
	padding-right:10px !important;
	padding-left:10px !important;
}

.header-bottom-nav .menu-item a {
    padding: 10px 60px 10px 30px
}

.header-bottom {
    border-bottom: 1px solid #E0E0E0;
}

.header-bottom-nav .menu-item:not(:last-child) a:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    background: #CFCFCF;
    height: 62%;
    width: 1px;
}

.nav li.has-icon-left>a>svg {
	margin-right:10px
}

.header-bottom-nav a {
	letter-spacing: 0.5px;
}

.col-block {
    padding: 0;
    margin-left: 22px !important;
}

.header-block .header-block-info .col-block .icon-box-text h5 {
    margin-bottom: 2px;
    text-transform: inherit;
    color: white;
	text-align: left
}
.header-block .header-block-info .icon-box-text h6 {
    color: white;
    opacity: 1;
    text-transform: inherit;
}

.header-nav-main > a {
  position: relative;
  text-decoration: none;
}

.header-block .header-block-info::before,
.header-block .header-block-info::after {
  content: '';
  height: 14px;
  width: 14px;
  position: absolute;
  transition: all .35s ease;
  opacity: 0;
}

.header-block .header-block-info::before {
  content: '';
  right: -20px;
  top: -5px;
  border-top: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
  transform: translate(-100%, 50%);
}

.header-block .header-block-info::after {
  content: '';
  left: -10px;
  bottom: -5px;
  border-bottom: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  transform: translate(100%, -50%)
}

.header-block .header-block-info:hover::before,
.header-block .header-block-info:hover::after
{
  transform: translate(0,0);
  opacity: 1;
}


.header-block .header-block-info:hover * {
	color: white !important;
	opacity: 1 !important
}

.rounded img, .rounded .flickity-viewport {
    border-radius: 10px;
}

.flickity-page-dots .dot {
    border: 2px solid #111;
    height: 3px;
    border-radius: 0;
}

.flickity-prev-next-button {
    opacity: 1 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    transform: unset !important;
    width: 35px !important;
}

.page-wrapper {
	padding-top: 15px
}

#footer .ux-menu-title {
	font-size: 15px
}

#footer .ux-menu-link__link {
	min-height: auto
}

.view-more-style {
	box-shadow: inset 5px -5px 0 white;
    filter: drop-shadow(6px -6px 0 #BEE3DA);
    background: #bfe3da;
	transition: 0.2s ease-in-out;
	padding: 15px 30px;
    border: 1px solid #373737 !important;
	letter-spacing: 0.2em;
	border: 1px solid #373737;
    color: #373737;
}

.view-more-style:hover {
    box-shadow: inset -5px 5px 0 white;
    filter: drop-shadow(-6px 6px 0 #BEE3DA);
    background: #bfe3da;
	border: 1px solid #373737;
    color: #373737;
}

.hTitle {
    display: flex;
    flex-wrap: wrap !important;
    justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}

.list-related-tag {
    -ms-overflow-style: none;
    scrollbar-width: none;
	display: flex
}

.related-tag:not(:last-child) {
    margin-right: 10px;
}

.hTitle a {
    margin: 0;
}

.related-tag {
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #444;
    padding: 5px 10px;
    font-size: 13px;
    height: 32px;
    white-space: nowrap;
}

.related-tag:hover {
    border-color: var(--fs-color-secondary);
}

@media screen and (max-width: 768px) {
	#logo {
		width: 130px !important
	}
	
	.searchform .button.icon i {
		font-size: 14px;
		background: var(--primary-color);
		padding: 5px;
		border-radius: 99px;
		color: white !important;
	}
	
	.searchform .flex-col {
		padding-right: 0 !important
	}
	
	.medium-logo-left .flex-left {
		flex:0 !important
	}
	
	.mobile-nav .search-field {
        height: 35px !important;
    }
	
	.completions-wrapper {
		width: auto !important;
		top: 50px !important;
		border-radius: 0 !important;
		left: 0;
    	right: 0;
		height:100vh
	}
	
	.completions-aside, .completions-content {
		width: auto !important;
		padding: 5px 10px !important
	}
	
	.header-main .form-flat input:not([type=submit]) {
		font-size:13px
	}
	
	.product-small ins .woocommerce-Price-amount, .product-small .woocommerce-Price-amount bdi {
		font-size:14px !important
	}
	
	.price del span.amount bdi {
		font-size:12px !important
	}
	
	.auto-suggestion {
		display:block!important
	}
	
	.trending-icon {
		margin-right: 3px;
        width: 12px;
	}
	
	.completions-item {
		display:inline-flex!important;
		padding: 0 5px !important;
	}
	
	.completions-list-head {
		font-size: 15px;
    	margin-bottom: 5px;
	}
	
	.completions-item a {
		font-size:12px !important
	}
	
	.logo-footer .img {
		width: 70% !important
	}
	
	.list-related-tag {
        overflow-x: auto;
        width: 100%;
        margin-bottom: 10px;
    }
	
	.heading {
		display:block;
		margin-bottom:5px
	}
	
	.hTitle {
		margin-bottom:0
	}
}