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

#gk-mainbody > div {
	width: 100%;
}

/* 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;
	width: 100%!important;
}

.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%; 
}

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

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

#gk-inset .box,
#gk-inner-inset .box,
#gk-sidebar .box,
#gk-bottom1 .box,
#gk-bottom2 .box {
	width: 100%;
	clear: both!important;
	float: none!important;
	margin: 0 auto!important;
	max-width: 320px!important;
}
#gk-bottom1 .box,
#gk-bottom2 .box {
	margin-bottom: 20px!important;	
}
#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;
}

#gk-mainbody-columns > section,
#gk-inner-inset {
	clear: both!important;
	width: 100%!important;	
}

#gk-inner-inset {
	padding: 0 0 20px 0!important;
}

/* top/bottom modules */
#gk-top1 .box,
#gk-top2 .box,
#gk-bottom1 .box,
#gk-bottom2 .box {
	margin-bottom: 20px!important;
}


/* 13.2. Posts
==================================== */

#comments {
	margin-left: 0!important;
}

/* other elements */
article header h1,
article header h2, 
.page-title {
	font-size: 24px!important;
	line-height: 32px!important;
	padding: 18px 0 0px!important;
}

h1 {
	font-size: 24px!important;
}

.gk-post-meta {
	width: 100%!important;
}

.gk-post-meta ul > * {
	border: none!important;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
  	    -ms-box-sizing: border-box;
	     -o-box-sizing: border-box;
	        box-sizing: border-box;
	clear: none!important;
	float:left!important;
	margin: 0!important;
	padding: 3px 10px!important;
	width: 50%!important;
}

.gk-post-meta ul > *:nth-child(2n+1) {
	clear: both!important;
}

.gk-post-meta {
	width: 100%!important;
}

.gk-post-meta + .content {
	margin-left: 0!important;
}

/* 13.3. Device classes
==================================== */

.onlyDesktop {
	display: none!important;
}

.onlyTablets {
	display: none!important;
}

.onlySmartphones {
	display: block!important;
}

.onlyTabltetsAndSmartphones {
	display: block!important;
}


/* 13.4. Widgets
==================================== */

/* NSP adjustments */
.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;
}

/* mobilelayout */
.bigtitle .gk-nsp-content-wrap {
	clear: both;
	padding-top: 10px;
}

/* Tabs adjustments */
.gk-tabs-nav {
	height: auto!important;
	min-height: 40px!important;
	overflow: hidden;
}

.gk-tabs-nav li {
	padding: 5px 0!important;
	width: 100%!important;
}

@media (min-width: 420px) and (max-width: 580px) {
	.box.mobilelayout .gk-nsp .gk-nsp-art,
	.box.nsphover .gk-nsp .gk-nsp-art {
		border-top: none!important;
		clear: none!important;
		width: 50%!important;
	}
	
	.box.nsphover .gk-nsp .gk-nsp-art .gk-nsp-header {
		font-size: 16px!important;
	}
	
	.box.nsphover .gk-nsp .gk-nsp-art .gk-nsp-text {
		font-size: 11px!important;
	}	
}

.box.nsphover .gk-nsp .gk-nsp-art {
	padding-bottom: 10px!important;
	padding-top: 0!important;
}

/* NSP */
.box.header .gk-image-link .gk-nsp-header {
	font-size: 14px!important;
}

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

.box.gallery .gk-nsp-art {
	border-top: none!important;
	float: left;
	padding-top: 3px!important;
	padding-bottom: 3px!important;
	width: auto!important;
}

/* News Slideshow */
.gk-news-slideshow {
	margin: 0 -9px!important;
}

.gk-news-slideshow .gk-ns-images {
	padding: 0 28px!important;
}

/* Search */
#gk-search .field {
	width: 120px!important;
}

/* Popup login */
#gk-popup-login {
	margin-left: -150px!important;
	width: 300px!important;
}

#gk-popup-login #loginform {
	padding-left: 0!important;
}

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