/**
 *
 * -------------------------------------------
 * Mobile CSS file
 * -------------------------------------------
 * 
 **/
 
/*
 *
 * 13. Mobile code
 *
 *
------------------------------------ */
 
/* 13.1. Base elements
==================================== */ 

#gk-sidebar .box,
#gk-top1 .box,
#gk-top2 .box,
#gk-bottom1 .box,
#gk-bottom2 .box {
	clear: both!important;
	float: none!important;
	margin: 0 auto;
	max-width: 320px;
	width: 100%;
}

#gk-sidebar > div {
	margin-top: 20px!important;
	padding: 15px 30px!important;
}

.transparent-sidebar #gk-sidebar > div {
	padding: 0!important;
}

#gk-mainbody-columns > section {
	padding: 30px 15px!important;
}

.frontpage #gk-mainbody-columns > section {
	padding: 0!important;
}

#btn-cart {
	clear: left;
}

#top-menu,
#btn-cart {
	margin-top: 10px;
}

/* archive / page 404 */
.page404 .widget,
.archivepage .widget {
	margin: 0!important;
	width: 100%!important;
}

/* images fix */
#gk-mainbody img {
	height: auto!important;
	max-width: 100%!important;
}

/* column rules */
#gk-sidebar {
	padding: 20px 0!important;
}

#gk-sidebar .box {
	float: none!important;
	margin-bottom: 12px!important;
	margin-top: 0!important;
	width: 100%!important;
}

#gk-bottom1 .box,
#gk-bottom2 .box  {
	margin-bottom: 20px;	
}

#gk-sidebar .box {
	float: none;
	margin-top: 0!important;
	margin-bottom: 12px!important;
	width: 100%;
}

#gk-sidebar .box:nth-child(2n+1) {
	clear: both!important;
}

#gk-sidebar .box:nth-child(odd) {
	padding-right: 0px;	
}

#gk-sidebar .box:nth-child(even) {
	padding-left: 0px;
}

.widget-area .col1,
.widget-area .col2,
.widget-area .col3,
.widget-area .col4,
.widget-area .col5,
.widget-area .col6,
.widget-area .box.last1,
.widget-area .box.last2,
.widget-area .box.last3,
.widget-area .box.last4,
.widget-area .box.last5 { 
	float: none!important;
	margin: 0 auto 20px auto!important; 
	max-width: 320px; 
	width: 100%!important; 
}

.widget-area .nth1,
.widget-area .nth2,
.widget-area .nth3,
.widget-area .nth4,
.widget-area .nth5,
.widget-area .nth6 {
	clear: both;
}

body #gk-page .box {
	margin-bottom: 20px!important;
}

.gk-columns > div {
	padding: 5px 0!important;
	width: 100%!important;
}

.gk-page-content {
	padding: 30px 15px!important;
}

#gk-footer {
	padding: 0 10px;
}

/* 13.2. Structure elements
==================================== */

#gk-search {
	margin-top: 30px;
}

#gk-breadcrumb-area {
	margin-bottom: 20px;
}

article header ul {
	margin: 10px 0 0 0;
}

#main-menu-mobile {
	margin-top: 10px;
}

#main-menu {
	margin: 0 0 10px 0;
}

@media (max-width: 500px) {
	#gk-header-nav h2 {
		margin-bottom: 20px;
		width: 100%;
	}

	#gk-search {
		clear: both;
		float: none;
		margin: 0 auto;
		max-width: 300px;
		padding: 10px 0;
	}

	#gk-search #s {
		max-width: 100%;
		width: 100%;
	}

	#main-menu {
		max-width: 100%;
	}

	#main-menu-mobile {
		clear: none;
		margin-top: -16px;
	}
}

#gk-menu-overlay-wrap {
	margin: -20px 0 0 -150px!important;
	max-width: 300px!important;
}

#gk-menu-overlay-wrap.open {
	margin-top: 0!important;
}

#gk-menu-overlay-content li {
	font-size: 15px;
}

#gk-menu-overlay-content li,
#gk-menu-overlay-content li a {
	line-height: 38px;
}

#gk-menu-overlay-header {
	font-size: 22px;
	line-height: 72px;
}

#gk-menu-overlay-close {
	font-size: 20px;
	line-height: 72px;	
}

#gk-popup-login, 
#gk-popup-cart {
	top: 32px;
}

/* 13.3. Posts
==================================== */

h1,
#gk-mainbody article > header h1 {
	font-size: 24px!important;
	line-height: 1.2!important;
	padding: 18px 0 0px;
}

body h2, 
body .pagetitle {
	font-size: 22px!important;
	line-height: 1.2!important;
}

body h3 {
	font-size: 24px;
}

body h4 {
	font-size: 20px;
}

body h5 {
	font-size: 16px;
}

body h6 {
	font-size: 14px;
}

body #gk-social-api {
	overflow: hidden;
}

.author-info > div {
	padding: 0;
}

.author-info > aside {
	margin: 0 0 20px 0;
	position: static;
}

article header .edit,
article header .bookmark {
	float: right;
}

#comments li article > .content {
	margin: 0;
}

#comments li article > aside {
	position: static;
	margin: 0 20px 20px 0;
	float: left;
}

#comments article header {
	float: right;
}

#comments article header > a,
#comments article header > span {
	clear: both;
	display: block;
	float: left!important;
	margin: 5px 0!important;
}

#comments article p {
	clear: both;
}

#comments li article > aside img {
	margin: 10px 0 0 10px;
}

/* Gallery page */
#gallery figcaption {
	display: none;
}

.gallery .gallery-item {
	clear: both;
	float: none;
	width: 100%!important;
}

/* 13.4. Other elements
==================================== */

/* Popups */
.gk-popup {
	margin-left: -150px;
	width: 300px;
}

/* GK NSP */
.gk-nsp .gk-nsp-art {
	border-top: 1px solid #eee!important;
	border-left: none!important;
	padding-bottom: 20px!important;
	padding-top: 20px!important;
	width: 100%!important;
}
.gk-nsp .gk-nsp-art:first-child {
	border-top: none!important;
}

.gk-nsp-arts,
.gk-nsp-links-wrap {
	clear: both;
	float: left!important;
	width: 100%!important;
}

/* GK Tabs */
.gk-tabs-nav {
	border: 1px solid #e5e5e5!important;
	border-bottom: none!important;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	overflow: hidden;
	width: 100%;
}

body .gk-tabs-wrap > ol.gk-tabs-nav li,
body .gk-tabs-wrap > ol.gk-tabs-nav li.active,
body .gk-tabs-wrap > ol.gk-tabs-nav li.active:hover {
	border: none!important;
	border-bottom: 1px solid #e5e5e5!important;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	text-align: center;
	width: 100%;
}

/* GK Image Show and other widgets */
@media (max-width:450px) {
	.gk-is-wrapper-gk-shop-and-buy .figcaption {
		display: none;
	}
}

.gk-product-gallery {
	margin: 0 auto;
	max-width: 320px;
}

.gk-product-gallery[data-cols="1"] > div,
.gk-product-gallery[data-cols="2"] > div,
.gk-product-gallery[data-cols="3"] > div,
.gk-product-gallery[data-cols="4"] > div,
.gk-product-gallery[data-cols="5"] > div,
.gk-product-gallery[data-cols="6"] > div,
.gk-product-gallery[data-cols="7"] > div,
.gk-product-gallery[data-cols="8"] > div,
.gk-product-gallery[data-cols="9"] > div,
.gk-product-gallery[data-cols="10"] > div {
	width: 98.5%!important;
}


.gk-title-overlay,
.gk-title-overlay img {
	width: 100%;
}

.gk-title-overlay h3 {
	font-size: 24px;
}

.gk-title-overlay p {
	font-size: 13px;
}

/* Popups */
.gk-popup-wrap {
	padding: 12px;
}

.gk-popup-wrap h3 {
	font-size: 24px;
	margin-bottom: 0;
}

.gk-popup-wrap .gk-icon-cross {
	font-size: 20px;
}

#gk-popup-cart h3,
#gk-popup-cart li a {
	font-size: 15px!important;
	line-height: 24px;
	margin-bottom: 10px;
}

#gk-popup-cart .amount {
	font-size: 16px;
}

#gk-popup-cart .total {
	font-size: 20px;
}

#gk-popup-cart img {
	height: auto;
	max-height: 40px!important;
	max-width: 40px!important;
	padding: 0;
}

#gk-popup-cart li {
	padding: 16px 0;
}

#gk-popup-login, 
#gk-popup-cart {
	margin-left: -150px;
	width: 300px!important;
}

#gk-popup-login .login-remember,
#gk-popup-login .login-submit {
	margin-left: 0!important;
	padding-left: 0!important;
}

/* Typography */
body pre, 
body pre.gk-code {
	font: normal .65em/20px 'Curier New', monospace!important;
	padding: 16px 20px!important;	
}

.gk-columns > div {
	clear: both;
	padding: 0 0 15px 0!important;
	width: 100%;
}

.gk-price-table {
	padding: 20px 0;
}

.gk-price-table dl {
	margin: 20px auto!important;
	width: 100%!important;
}

/* 13.5. WooCommerce
==================================== */

.related ul.products li.product, 
.related ul li.product, 
.upsells.products ul.products li.product, 
.upsells.products ul li.product,
ul.products li.product {
	clear: both;
	float: none;
	margin: 10px 0;
	width: 100%!important;
}

div.product div.images,
#content div.product div.images,
div.product div.summary, 
#content div.product div.summary {
	clear: both;
	float: none;
	margin: 10px 0;
	width: 100%!important;	
}

div.product .woocommerce-tabs ul.tabs, 
#content div.product .woocommerce-tabs ul.tabs {
	border: 1px solid #e5e5e5;
	border-bottom: none;
	margin: 20px 0 0 0;
	padding: 0;
}

.woocommerce-tabs {
	overflow: hidden;
}

div.product .woocommerce-tabs ul.tabs li, 
#content div.product .woocommerce-tabs ul.tabs li {
	border: none!important;
	border-bottom: 1px solid #e5e5e5!important;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	text-align: center;
	width: 100%;
}

#reviews #comments ol.commentlist .comment-text {
	padding: 0;
}

div.product .woocommerce-tabs ul.tabs li a, 
#content div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 5px 0;
}

table.cart td.actions .coupon .input-text,
#content table.cart td.actions .coupon .input-text,
table.cart td.actions .checkout-button,
#content table.cart td.actions .checkout-button {
	display: block;
	margin: 10px 5px 10px 5px;
}

table.cart td.actions .checkout-button,
#content table.cart td.actions .checkout-button {
	float: left;
}

input[name="update_cart"],
div.coupon input[name="apply_coupon"] {
	margin: 10px 5px 0 5px;
}

input[name="update_cart"] {
	float: left;
}

table.cart td.actions,
#content table.cart td.actions,
.my_account_orders td.order-actions {
	overflow: hidden;
	padding: 0;
	text-align: right;
}

table.cart td.actions,
#content table.cart td.actions {
	margin-top: 10px;
	padding-left: 0!important;
}

.my_account_orders td.order-actions {
	padding: 6px 0;
}

table.shop_attributes th {
	text-align: left;
	width: 42%;
}

.cart-collaterals .cross-sells,
.cart-collaterals .cart_totals {
	float: none;
	width: 100%;
}

.cart-collaterals .cross-sells ul.products li {
	width: 90%!important;
}

.cart-collaterals .shipping_calculator {
	width: 100%;
}

.col2-set .col-1,
.col2-set .col-2 {
	float: none;
	width: 100%;
}

.woocommerce-result-count {
	float: none;
}

#reviews #comments ol.commentlist li img {
	margin: 10px 20px;
}

/* 13.6. Device classes
==================================== */

.onlyDesktop {
	display: none!important;
}

.onlyTablets {
	display: none!important;
}

.onlySmartphones {
	display: block!important;
}

.onlyTabltetsAndSmartphones {
	display: block!important;
}