/**
 *
 * -------------------------------------------
 * Tablet CSS file
 * -------------------------------------------
 * 
 **/
 
/*
 *
 * 11. Tablet code
 *
 *
------------------------------------ */
 
/* 11.1. Base elements
==================================== */ 

body {
	font-size: 14px;
}

/* sidebar */
#gk-mainbody-columns > section,
#gk-mainbody-columns > aside {
	display: block;
	overflow: hidden;
	width: 100%!important;
}

#gk-sidebar {
	margin: 30px 0 20px 0!important;
	padding: 10px 0!important;
}

.gridpage #gk-sidebar {
	margin: 0 -10px!important;
}

/* Archive page */
.archivepage .widget.first {
	margin-right: 2%;
	margin-left: 0!important;
}

.archivepage .widget.first,
.archivepage .widget.first + .widget {
	margin-right: 0;
	margin-left: 2%;
	width: 48%;
}

.archivepage .widget.last {
	margin: 0;
	width: 100%;
}

.archivepage .widget ul {
	margin-bottom: 30px;
}

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

/* column rules */
#gk-sidebar > .box {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	float: left;
	margin-top: 0!important;
	margin-bottom: 30px!important;
	padding: 0 5px;
	width: 50%;
}
#gk-sidebar {
	padding: 0!important;
}
#gk-sidebar > .box:first-child {
	padding-top: 10px!important;
}
#gk-sidebar > .box:nth-child(2n+1) {
	clear: both!important;
}
.widget-area .col1 { width: 100%; }
.widget-area .col2 { width: 50%; }
.widget-area .col3 { width: 33.3%; }
.widget-area .col4 { width: 50%; }
.widget-area .col5 { width: 33.3%; }
.widget-area .col6 { width: 33.3%; }

.widget-area .box.last1 { width: 100%; }
.widget-area .box.last2 { width: 50%; }
.widget-area .box.last3 { width: 33.3%; }
.widget-area .box.last4 { width: 50%; }
.widget-area .box.last5 { width: 33.3%; }

.widget-area .nth1 {
	clear: both;
}

.widget-area .col6.last5.nth4,
.widget-area .col6.last5.nth5 {
	width: 50%;
}

#gk-top1 > div, 
#gk-top2 > div, 
#gk-bottom1 > div, 
#gk-bottom2 > div {
	margin: 0;
}

/* 11.2. Main menu elements
==================================== */ 

#main-menu {
	display: none;
}

#main-menu-mobile {
	background: transparent url('../images/tablet_menu.png') no-repeat 0 0;
	display: block;
	float: left!important;
	height: 44px;
	margin: 6px 0 0 0;
	position: relative;
	width: 44px;
}

#main-menu-mobile > select {
	border: none!important;
	filter: alpha(opacity=0);
	height: 44px!important;
	opacity: 0;
	width: 44px;
}

/* 11.3. Other elements
==================================== */ 

.gk-title-overlay figure {
	float: none;
}

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

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

#gk-search .s {
	margin-left: 24px;
	width: 250px;
}

.gk-is-wrapper-gk-rockwall figcaption h2 {
	font-size: 40px;
	line-height: 1.2;
}

#gk-middle-bar {
	margin-top: 30px!important;
}

#gk-search-middle .s {
	width: 180px!important;
}

#gk-bottom3 .box, 
#gk-bottom4 .box {
	padding: 0 20px!important;	
}

.nsptitle30 .gk-nsp-header,
.nsplinktitle30 .gk-nsp-link-header,
.nsptitle40 .gk-nsp-header,
.nsplinktitle40 .gk-nsp-link-header,
.nsptitle50 .gk-nsp-header,
.nsplinktitle50 .gk-nsp-link-header,
.nsptitle60 .gk-nsp-header,
.nsplinktitle60 .gk-nsp-link-header,
.nsptitle70 .gk-nsp-header,
.nsplinktitle70 .gk-nsp-link-header,
.nsptitle80 .gk-nsp-header,
.nsplinktitle80 .gk-nsp-link-header,
.nsptitle90 .gk-nsp-header,
.nsplinktitle90 .gk-nsp-link-header {
	padding-right: 10px!important;
}

.gk-is-wrapper-gk-rockwall figcaption {
	padding-top: 5%!important;
}

.gk-columns > div {
	padding: 0 6px;
}

/* 11.4. Device classes
==================================== */

.onlyDesktop {
	display: none!important;
}

.onlyTablets {
	display: block!important;
}

.onlySmartphones {
	display: none!important;
}

.onlyTabltetsAndSmartphones {
	display: block!important;
}

/* 11.5. Responsive tables
==================================== */

@media (max-width: 600px) {
	article section table {
		border: 1px solid #eee;
		border-bottom: none;
		max-width: 100%!important;
		width: 100%!important;
	}
	
	article section table thead {
		display: none;
	}
	
	article section table td {
		border-top: 1px solid #eee;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		clear: both;
		display: block;
		float: right;
		padding: 5px 0 5px 50%;
		position: relative;
		width: 100%;
	}
	
	article section table td:first-child {
		border-top: none;
	}
	
	article section table tbody tr {
		border-bottom: 2px solid #eee;
	}
	
	article section table td span.gk-table-label {
		display: block;
		font-size: 95%;
		font-weight: bold;
		left: 5px;
		position: absolute;
	}
}