/* 
Theme Name:		 generatepress Child Theme
Theme URI:		 http://childtheme-generator.com/
Description:	 generatepress Child Theme is a child theme of GeneratePress, created by ChildTheme-Generator.com
Author:			 Roxzan
Author URI:		 http://childtheme-generator.com/
Template:		 generatepress
Version:		 1.0.0
Text Domain:	 generatepress-child-theme
*/
.float-left {
	float: left;
	margin-right: 10px
}

.hide {
	display: none
}


/* for screen smaller than 360px cart row wont fall down*/
@media (max-width: 360px) {
    .mobile-header-navigation .site-logo.mobile-header-logo img {
        height: 40px;
    }
}

#mobile-header nav#secondary-navigation .main-nav > ul {
    display: flex !important;
    flex-direction:row;
    flex-wrap:nowrap;
}

#mobile-header nav#secondary-navigation .main-nav > ul > li a img{
    height: 17px;
}

.menu-item-dropdown-click > img {
	vertical-align: middle; 
	margin-right: 2px
	}


/*Country Switcher*/
.secondary-navigation .menu-toggle {
      display: none;
}
nav#secondary-navigation {
    order: -1;
}
ul#menu-country-switch-1 li {
    padding-right: 10px;
}

/*country dropdown flags*/
li.country ul > li > a {
   display: flex;
   align-items:center
}

li.country ul > li > a > img {
	margin-right: 3px
}

.gb-container.my-flags > .gb-inside-container {
    display: flex;
    justify-content: flex-end;
}

.flag {
	margin-right: 5px;
}

/*submenu dropdown*/
@media (min-width: 1025px) {
    div#primary-menu ul.sub-menu {
        width: 230px;
    }
}


/*WPML*/
/* separator pipe*/

.wpml-ls-legacy-list-horizontal {
border: medium none;
clear: both;
padding: 0;
}

li.wpml-ls-first-item.wpml-ls-legacy-list-horizontal::after {
    content: "|";
    position: absolute !important;
    right: -3px !important;
    top: -17px !important;
    color: #bcaeb1;
}
/*
.wpml-ls-item{
	background: #F3F3F3;
	padding: 3px 0;
	border: 1px solid #EEE
}

.wpml-ls-item:first-child a {
padding-left: 0 !important;
}


@media(max-width:992px){
.wpml-ls-item {
width: auto !important;
}

.menu-item.wpml-ls-item::after {
color:#bcaeb1 !important;
top: 25px !important;
right:0 !important;
left: 30px !important;
}
}
*/

/* NEW in MENU LABEL*/
.new-badge {
  display: block;
  position: absolute;
  top: -10px;
  right: 5px;
  line-height: 16px;
  height: 16px;
  padding: 0 5px;
  font-family: Arial, sans-serif;
  color: white;
  text-shadow: 0 1px rgba(0, 0, 0, 0.25);
  border: 1px solid;
  border-radius: 2px;
  -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), 0 1px 1px rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), 0 1px 1px rgba(0, 0, 0, 0.08);
	font-size: 10px
}

.sub-menu .new-badge {
	right: 30%;
	top: 0
}

.new-badge.red {
  background: #fa623f;
  border-color: #fa5a35;
}

.mobile-badge {
  right: 10%;
	top: 0
}

/*************
OFF CANVAS PANEL
**************/
nav#generate-slideout-menu aside#icl_lang_sel_widget-2 {
    order: -1;
	border-bottom: 1px solid #EEE;
	margin-left: 30px;
}

	nav#generate-slideout-menu aside#icl_lang_sel_widget-2 > h2.widget-title {
		margin: 0 20px 0!important;
		font-size: 14px;
		text-decoration: underline
	}

	nav#generate-slideout-menu aside#icl_lang_sel_widget-2 > .wpml-ls-sidebars-slide-out-widget ul::before {
		content:"\f1ab";
		font-family: "Font Awesome 5 free"; 


	}

@media (max-width: 760px) {
    nav#generate-slideout-menu aside#icl_lang_sel_widget-2 > h2.widget-title {
        margin-left: 0!important
    }
	.slideout-widget {margin: 0}
}


/*************
WOOCOMMERCE PRODUCT *
********/
.woocommerce div.product .woocommerce-tabs ul.tabs, 
.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	margin: 0!important
}

.woocommerce-Tabs-panel > h2,
.wc-tabs li.description_tab {
	display: none!important
}

.related.products {
  display: none;
}

td.label {
	color: #000
}

td.label label[for=sets] {
	margin-top: 15px}


/*************
FOOTER PUSH
/************

.site-footer{
position: fixed;
bottom: 0;
left: 0;
right: 0;
}*/


/*************
SHOP
*************/
.woocommerce #respond input#submit, 
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button:not (.single_add_to_cart_button) {
	width: 80%;
	text-align: center
}

body.woocommerce input.button.single_add_to_cart_button {
	width: 70%
}

.woocommerce #respond input#submit, 
.woocommerce button.button, 
.woocommerce input.button {
	border: 1px solid #000;
	background-color: #FFF!important;
	color: #000 !important
}

.woocommerce #respond input#submit:hover, 
.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover {
	background-color: #000!important;
	color: #FFF!important
}

/*added to cart*/
.woocommerce-message > a.wc-forward {
	font-size: 16px!important;
	background: #7f6513!important;
	color: #fdf4cf!important;
	padding: 2px 10px!important
}

.woocommerce-message {
	background-color: #fdf4cf;
	color: #7f6513
}

div.woocommerce-message a.button, div.woocommerce-message a.button:focus, div.woocommerce-message a.button:hover, div.woocommerce-message a, div.woocommerce-message a:focus, div.woocommerce-message a:hover {
	color: #10293f;
	padding: 2px 10px
}



/*************
MY ACCOUNT
*************/
.woocommerce .add_to_cart_button {
	padding: 10px 40px!important	
}
*/
.woocommerce-MyAccount-navigation ul,
.woocommerce-MyAccount-navigation li a {
	border: 0 !important
}

nav.woocommerce-MyAccount-navigation ul li {
	padding: 0 20px !important
}
nav.woocommerce-MyAccount-navigation ul li.is-active a {
  font-weight: 900;
	color: #000
}

/******* my orders ******/
a.woocommerce-button.button.pay,
a.woocommerce-button.button.view,
a.woocommerce-button.button.cancel {
	margin-right: 5px
}


/*************
PRODUCT TIER PRICE
*************/
#tier_price th, #tier_price td {
	text-align: center
}
/*
.woocommerce-cart .inside-article, .woocommerce-checkout .inside-article {
	padding: 80px 40px 40px 40px
}*/

.wdp_pricing_table tbody tr:nth-child(5),
.wdp_pricing_table tbody tr:nth-child(7),
.wdp_pricing_table tbody tr:nth-child(8),
.wdp_pricing_table tbody tr:nth-child(10),
.wdp_pricing_table tbody tr:nth-child(11){
	display:none
}


/* The "Apply Coupon" button */
.button[name="apply_coupon"] {
  background-color: transparent;
  color: #13aff0;
}
/* Fill the "Apply Coupon" button background color and underline it on hover */
.button[name="apply_coupon"]:hover {
  background-color: transparent;
  text-decoration: underline;
}

/* The "Update Cart" button */
.button[name="update_cart"] {
  background-color: #e2e2e2;
  color: #13aff0;
}

/*hide update cart for auto update*/
.woocommerce button[name="update_cart"],
	.woocommerce input[name="update_cart"] {
		display: none;
	}

/* Brighten up the button on hover */
.button[name="update_cart"]:hover {
  filter: brightness(115%);
}

/******* show original price on category 
span.price del {
	text-decoration: none!important;
}

span.price bdi .woocommerce-Price-currencySymbol,
span.price bdi{
	color: #000!important;
}
******/

/*ins .woocommerce-Price-amount bdi { display: none }*/

#tab-title-additional_information > a { display: none!important }


/*************
REVIEWS
/*************/

.woocommerce-Reviews-title, .review-title { display: none}

.ywar-reviews-list-widget li,
.woocommerce #reviews #comments ol.commentlist li .comment-text {
	border: none!important
}

.comment-text > span > a,
.ywar-author-avatar { 
	display: none
}

p.meta strong[itemprop="author"]{
	font-size: 13px;
	text-transform: uppercase;
	color: #6b6e74
	}

p.meta time[itemprop="datePublished"]::before {
	content: "\00B7";
	padding: 0 5px
}

p.meta time.woocommerce-review__published-date {
	display: none
}

p.meta time[itemprop="datePublished"] {
   color: #232323;
   font-size: 11px;
	font-weight: 600
}

.woocommerce .star-rating {
	float: none !important
}

.reviews_bar {
	width: 40%
}

#reviews #comments ol.commentlist li img.avatar {
	/*position: sticky!important;*/
	margin: 20px !important
}

.review_label, #reviews_summary > h3 {
	text-transform: uppercase
}

#reply-title {
	text-transform: uppercase;
	margin-top: 50px
}

/*************
CART
/************
.woocommerce-billing-fields > h3:before,
.woocommerce-additional-fields > h3:before,
#order_review_heading:before {
  content: "\f14a";
  color: orange;
	font-size: 20px;
  font-family: "Font Awesome 5 Free";
  margin-right: 0.3em;
}*/

/* "Add to cart" button on single product page */
.single-product .product .single_add_to_cart_button.button {
	width: 50%;
	border-radius: 5px;
}

/*************
CHOOSE FREE GIFT
/*************/

body.woocommerce-cart ul.products {
	border: 2px solid #f4d800;
}

body.woocommerce-cart .woocommerce ul.products li.product.woocommerce-image-align-left, .woocommerce ul.products li.product.woocommerce-image-align-right {
	padding: 30px 10px 0
	
}

.woocommerce .products ul::before, 
.woocommerce-cart .woocommerce ul.products::before {
	background: #FFF none repeat scroll 0 0;
    padding: 0 10px;
    margin: -1em 10px 0;
	text-align: center
}

/*choose one in link*/
td.adp-free-cart-item-stub-url > a {
	background: #f4d800;
	border-radius: 5px;
	text-decoration: underline;
	padding: 10px
}

/*choose on page*/
body.woocommerce-cart.woocommerce ul.products {
	background: #F3F3F3;
	padding: 30px 40px 0
}

.woocommerce .products ul::before, 
.woocommerce-cart .woocommerce ul.products::before
{
	content:"選擇贈品:"!important;
	font-weight: 900;
	font-size: 35px;
	text-transform: uppercase
}



@media only screen and ( max-width: 768px ) {

/*Romove Alternate rows shading*/
.woocommerce table.shop_table_responsive tr:nth-child(2n) td, .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td{
	background: transparent;
}

/*Aligning Text in cart table*/
.woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td {
    text-align: left !important;
}


/*Too lazy to remember why I did this one*/
.woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before{
	content: none !important;
}

.woocommerce #content table.cart .product-thumbnail,
.woocommerce table.cart .product-thumbnail,
.woocommerce-page #content table.cart .product-thumbnail,
.woocommerce-page table.cart .product-thumbnail{
	display: block !important;
}

/*Fixing Coupon Area*/
.woocommerce table.shop_table_responsive tr, .woocommerce-page table.shop_table_responsive tr {
    display: block;
    clear: both;
    /*min-height: 120px;*/
    border-bottom: 1px solid #ededed;
    padding: 0;
}

.woocommerce-cart .cart-collaterals .cart_totals table th{
	display: block;
	width:90%;
}

/*Removing Borders bottoms on checkout table*/
.woocommerce-cart-form__cart-item.cart_item td {
    border: none !important;
}

/*Product Remove*/
.woocommerce-cart-form__cart-item.cart_item .product-remove {
    width: 5%;
    float: left;
    padding: 0;
}

/*Product Thumbnail*/
.woocommerce-cart-form__cart-item.cart_item .product-thumbnail {
    width: 20%;
    padding: 4px;
    float: left;
}

.woocommerce-cart table.cart img{
width: 100%;
}

/*Product Name*/
.woocommerce-cart-form__cart-item.cart_item .product-name{
    width: 70%;
    float:left;
    padding: 5px 2px 10px 2px;
}

/*Product Price*/
.woocommerce-cart-form__cart-item.cart_item .product-price {
    width: 30%;
    padding: 5px;
    float: left;
    font-weight: bold;
}

/*Product Quantity*/
.woocommerce-cart-form__cart-item.cart_item .product-quantity {
    display: inline-block;
    float: right;
    padding: 0;
}

/*Product subtotal hide*/
.woocommerce-cart-form__cart-item.cart_item .product-subtotal{
	display: none;
}

/*Total price before pay button*/
.shop_table .order-total .woocommerce-Price-amount.amount {
    font-size: 1.5em;
}

.shop_table .shipping .woocommerce-Price-amount.amount {
    font-size: 1.3em;
}
}

/*choose free gift*/
td.adp-free-cart-item-stub-url > a {
	background: #f4d800;
	border-radius: 5px;
	text-decoration: underline;
	padding: 10px
}


/*************
SF PLUGIN
/*************/
.sf_add {
	font-size: 18px;
	text-decoration: underline;
}
.sf_add a, a#sf { 
	color: #000;
	background: #f4d800;
	padding: 5px 10px;
	text-decoration: underline
}

/*******  COMBO PRODUCT PAGE *******/
.bundled_product_title_inner .item_qty,
.bundled_product_permalink {
	display: none
}

li.bundled_product_summary .details {
	margin-top: 5px
}

h4.bundled_product_title {
	margin-bottom: 0 !important
}

div.bundled_product_summary .bundled_product_images {
	width: 30% !important;
	margin-left: 10px
}

div.bundled_product_summary:not(.thumbnail_hidden) .details {
	float: left!important;
	width: auto!important
}

div.bundled_product_summary, .woocommerce div.product.bundled_product_summary {
	border-left: 1px solid #CCC;
	border-right: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	padding: 10px;
	border-top: 20px solid #efefef
}


/*REMOVE CATEGORY IN PRODUCT PAGE*/
.product_meta .posted_in {display: none;}


/* promo details in product page*/
.promo-alert {
	font-size: 15px;
	margin-bottom: 15px
}
.promo-alert dt {
	font-weight: 700;
	font-size: 13px;
    float: left;
    background: #fa931d;
    color: #FFF;
    padding: 3px 7px;
	margin-right: 5px
  }
  
.promo-alert dd {
    margin-left: 10%;
    margin-bottom: 1em;
  }

.promo-alert dd a,
a.orange-link {
  background-image: linear-gradient(to right, orange 0, yellow 100%);
  box-shadow: inset 0 1.1em 0 0 white;
}

/*************
REMOVE LANGUAGE SWITCHER IN MOBILE
/*************/

@media only screen and (max-width: 600px) {
  li.menu-item.wpml-ls-slot-86.wpml-ls-item.wpml-ls-item-zh-hant.wpml-ls-current-language.wpml-ls-menu-item.wpml-ls-first-item.menu-item-type-wpml_ls_menu_item.menu-item-object-wpml_ls_menu_item.menu-item-has-children.menu-item-wpml-ls-86-zh-hant {
    display:none!important;
}
}

/*************
STICKY MOBILE BUTTON BUY NOW FOR QINGTIAOYANG
/*************/
@media (max-width: 768px) {
   .sticky-mobile-footer {
      position: fixed;
      bottom: 0;
      z-index: 99;
   }
}


/*************
 Woocommerce Variation Radio Button
*****************/
span.price ins {
	font-size: 25px!important
}

.woovr-variation-radio .woovr-variation-name {
	font-weight: 500!important;
}

.woovr-variation-radio .woovr-variation-info .woovr-variation-price, .woovr-variation-radio .woovr-variation-info .woovr-variation-availability {
	font-size: 20px!important;
	font-weight: 600;
}

.woovr-variation-radio {
	border: 2px solid #f3f3f3;
	padding: 10px;
	margin: 8px 0 0 8px!important;	
}

.woovr-variations .woovr-variation {
	margin: 10px 0!important;
	border-radius: 10px
}

.woovr-variation-active {
	border: 2px solid #38c590;
	border-radius: 20px;
}

.woocommerce-variation-add-to-cart {
	margin-top: 20px
}

.woovr-variation-image {
	width: auto!important
}

/*.woovr-variation-image {
	flex: auto!important;	
}*/

.woovr-variation-image img {
	width: 80px!important;
	max-width: 80px!important
}

.woovr-variation-price .bdi {
	font-weight: 500;
	font-size: 16px!important
}

p.gray {
	color: #a2abc2;
	margin: 0 0 5px auto;
	text-align: right
}

p.yellow {
    margin: 0 0 5px auto;
    color: #d89b02;
    background-color: rgb(248 177 0 / 30%);
    width: max-content;
    border-radius: 5px;
    padding: 5px 15px;
    text-align: center;
	font-weight: 700;
	font-size: 13px
}

p.green {
	margin: 0 0 5px auto;
    color: #14a16c;
    background-color: rgb(144 221 141 / 30%);
    width: max-content;
    border-radius: 5px;
    padding: 5px 15px;
    text-align: center;
	font-weight: 700;
	font-size: 13px

}

.woovr-variation-description {
	 flex-direction: column;
    align-items: flex-end
}
