/*** RESPONSIVE ***/

/* large desktop */
@media (min-width: 1024px) and (max-width: 1190px) {
	#switch-viewport {
		display: block;
	}
	a#view-mb {
		display: inline-block;
	}
}

/* phablet & desktop */
@media (min-width: 768px) and (max-width: 1024px) {
	.site-header > .wrap, .container, .site-inner, .footer-widgets > .wrap, .site-footer > .wrap, #logo-slide {
		max-width: none;
		width: 100%;
	}
	.metaslider {
		max-width: 100%;
	}
}

/* tablet */
@media (max-width: 768px) {
	/* general & header */
	.site-header > .wrap, .container, .site-inner, .footer-widgets > .wrap, .site-footer > .wrap, #logo-slide {
		max-width: none;
		width: 100%;
	}
	.metaslider {
		max-width: 100%;
	}
	.site-header .imgbanner {
		max-width: 100%;
		text-align: center;
	}
	.site-header .imgbanner img {
		width: auto;
		max-width: 80%;
	}
	.content-sidebar-wrap {
		padding-left: 10px;
		padding-right: 10px;
	}
	.content-sidebar .content, .sidebar-content .content,
	.content-sidebar .sidebar, .sidebar-content .sidebar {
		width: 100%;
		padding: 0;
	}
	/* nav */
	#toggle-top {
		display: block;
		width: 100%;
		text-align: center;
		padding: 3px 0px;
		background-color: #fcb131;
		color: #FFF;
		border: medium none;
		font-size: 1em;
		line-height: 1;
		font-weight: bold;
		text-transform: uppercase;
		position: relative;
		z-index: 1000;
		height: 32px;
	}
	#toggle-top i {
		margin-right: 6px;
	}
	.nav-primary {
		height: auto;
		width: 100%;
		max-width: none;
		margin: 0;
		float: none;
	}
	.nav-primary > .wrap {
		display: none;
	}
	.nav-primary .wrap ul li {
		float: none;
		width: 100%;
		background-color: #fcb131;
		border-top: rgba(224, 224, 224, 0.53) solid 1px
	}
	.nav-primary .wrap ul li a {
		color: #fff;
	}
	.nav-primary .wrap ul > li:hover, .nav-primary .wrap ul li.current-menu-item {
		background-color: #eca936;
	}
	.touch {
		height: 43px;
		position: absolute;
		right: 0px;
		top: 0px;
		width: 43px;
		display: block;
	}
	.touch i {
		width: 29px;
		height: 29px;
		position: absolute;
		top: 7px;
		right: 5px;
		z-index: 999;
		color: #fff;
		font-size: 14px;
		background: rgba(3, 5, 8, 0.33);
		line-height: 29px;
		font-weight: bold;
		text-align: center;
	}
	.nav-primary .wrap ul li ul, .sidebar .widget_nav_menu ul li ul {
		position: static;
		margin: 0;
		padding: 0 0 0 0px;
		visibility: visible;
		opacity: 1;
		width: 100%;
		background-color: #eaeaea;
		display: none;
	}
	.nav-primary .wrap ul li ul {
		background: #3e3e3e;
	}
	.nav-primary .wrap ul li ul li:hover > a {
		background-color: #333;
	}
	.nav-primary .wrap ul li ul li {
		margin: 0 !important;
		padding: 0;
		background: inherit;
	}
	.nav-primary .wrap ul li ul li a {
		padding-left: 20px;
	}
	.nav-primary .wrap ul li ul li ul, .sidebar .widget_nav_menu ul li ul li ul {
		border: none;
		background: #0395ff;
	}
	.nav-primary .wrap ul li ul li ul {
		background: #6b6b6b;
	}

	/* content */
	.search-form {
		left: 26%;
		top: 0;
		right: 5px;
	}
	#searchform input[type="text"], .search-form input[type="text"], .search-form input[type="search"] {
		width: 88%;
	}
	#searchform input[type="submit"], .search-form input[type="submit"] {
		width: 9%;
	}

	/* sidebar */
	.sidebar .touch {
		width: 30px;
		height: 30px;
	}
	.sidebar .touch i {
		width: 20px;
		height: 20px;
		line-height: 20px;
	}
	.sidebar ul li {
		padding-left: 5px;
	}
	.sidebar ul ul {
		background: #F0F1F2;
		border: none;
		padding-top: 7px;
	}
	.sidebar li li {
		padding-left: 5px;
	}
	/* single */
	.single-thumb, .single-attribute ul {
		margin: 0;
	}
	.bt-post .style-3, .bt-post .style-4 {
		margin-right: 0;
	}
	#switch-viewport {
		display: block;
	}
	a#view-pc {
		display: inline-block;
	}
}

/* mobile landscape */
@media (max-width: 767px) {
	/*.site-header .imgbanner {
		display: none;
	}
	.site-header .imgbanner-mobile {
		display: block;
		text-align: center;
		padding: 5px 0px;
	}*/
	.content-sidebar .sidebar, .sidebar-content .sidebar,
	.content-sidebar .content, .sidebar-content .content {
		width: 100%;
		float: none;
		padding-left: 10px;
		padding-right: 10px;
	}
	.metaslider {
		display: none;
	}
	#top-header #hotphone a {
		padding: 3px 10px;
	    background: #fcb131;
	    display: inline-block;
	    border-radius: 6px;
	    color: #fff;
	    margin-bottom: 5px;
	}
}

/* mobile */
@media (max-width: 480px) {
	.search-form {
		left: 10px;
		right: 10px;
	}
	.product-list .product-item,
	.single-thumb, .single-attribute {
		float: none;
		width: 100%;
	}
	.single-thumb, .single-attribute {
		margin-top: 15px;
	}
	#searchform input[type="text"], .search-form input[type="text"], .search-form input[type="search"] {
		width: 82%;
	}
	.alignleft, .alignright {
		float: none;
		display: block;
	}
	/* bt post */
	.bt-post .style-1 li, .bt-post .style-1 li.other-news {
		width: 100%;
		border-left: 0;
		padding: 15px;
	}
	.bt-post .style-2 li.first-news .bt-post-thumbnail {
		width: 100%;
		text-align: center;
		margin-bottom: 10px;
	}
	.bt-post .style-2 li.other-news {
		width: 100%;
		height: auto;
	}
	.bt-post .style-3, .bt-post .style-4 {
		margin-right: 0;
		margin-left: 0;
	}
	.bt-post .style-3 .bt-post-item, .bt-post .style-4 .bt-post-item {
		width: 100%;
	}
	.bt-post .bt-post-item-default .bt-post-thumbnail {
		margin: 0 0 10px;
	}
	.sidebar .featuredpost .alignleft, .sidebar .featuredpage .alignleft {
		float: left;
	}
	.sidebar .featuredpost .alignright, .sidebar .featuredpage .alignright {
		float: right;
	}
	.woocommerce ul.products li.product, .woocommerce-page ul.products li.product,
	.woocommerce .related ul li.product, .woocommerce .related ul.products li.product,
	.woocommerce-page .related ul li.product, .woocommerce-page .related ul.products li.product {
		width: 50%;
		clear: none;
	}
	.woocommerce ul.products li.product .price del, .woocommerce ul.products li.product .price ins {
		width: 100%;
	}
	body.home .woocommerce ul.products li.product:nth-child(n+7) {
		display: none;
	}
	.footer-widgets .widget {
		width: 100%;
	}
	.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images,
	.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
		width: 100%;
	}
	.woocommerce table.shop_table {
		display: block;
		overflow: auto;
	}
	.woocommerce table.shop_table .product-thumbnail {
		display: none;
	}
	.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
		width: 100%;
	}
	.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1,
	.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 {
		width: 100%;
	}
	#text-4 img {
		max-width: 90px;
	}
	body.home .content {
		display: none;
	}
	.support-pc {display:none;}
	.support-mobile {display:block;}
}



