/**
 *
 * -------------------------------------------
 * Tablet CSS file
 * -------------------------------------------
 * 
 **/
 
/*
 *
 * 10. Tablet code
 *
 *
------------------------------------ */
 
/* 10.1. Base elements
==================================== */ 

#gk-page-wrap {
	padding: 0 15px;
}

#gk-topbar {
	margin: 0 -15px!important;
	padding: 0 15px!important;
}

#gk-head {
	margin: 0 -15px!important;
	padding: 0 15px;
}

#gk-topbanner {
	display: none;
}

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

/* sidebar */
#gk-mainbody-columns {
	display: block;
}

#gk-mainbody-columns > section,
#gk-mainbody-columns > aside {
	display: block;
	overflow: hidden;
	width: 100%!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%;
}

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

/* column rules */
#gk-sidebar .box {
	float: left;
	margin-top: 0!important;
	margin-bottom: 30px!important;
	width: 48%;
}
#gk-sidebar .box:nth-child(2n+1) {
	clear: both!important;
}
#gk-sidebar .box:nth-child(odd) {
	margin-right: 2%!important;
}
#gk-sidebar .box:nth-child(even) {
	margin-left: 2%!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-columns > div {
	padding: 0 6px;
}

/* 10.2. Header elements
==================================== */
.gk-big-header {
	font-size: 56px!important;
	line-height: 1.4!important;
	margin-top: 10px!important;
}

.gk-small-header {
	font-size: 16px!important;
}

.gk-buttons {
	padding: 30px 0!important;
}

.gk-blue-button,
.gk-yellow-button {
	font-size: 18px!important;
	font-weight: 300!important;
	height: 32px!important;
	line-height: 33px!important;
	margin-left: 16px!important;
	padding: 0 24px!important;
}

.gk-medium-header {
	font-size: 24px!important;
}

/* 10.3. Demo elements
==================================== */

.gk-demo-content {
	float: none;
	margin: 0 auto!important;
	max-width:360px;
	width: 100%;
}

/* 10.4. Main menu elements
==================================== */ 

#main-menu {
	display: none;
}

#main-menu-mobile {
	background: transparent url('../images/tablet_menu_btn.png') no-repeat right center;
	float: right;
	left: auto;
	position: relative;
	top: 12px;
	width: 48px;
}

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

/* 10.5. Footer
==================================== */ 

#footer-menu {
	margin: 20px 0 10px 0;
	width: 100%;
}

#footer-menu li {
	float: none!important;
	line-height: 36px;
	text-align: center;
	width: 100%;
}

.gk-copyrights {
	text-align: center;
	width: 100%;
}

#gk-footer .gk-framework-logo {
	padding-top: 32px!important;
} 

#gk-style-area,
#gk-style-area > div {
	float: none!important;
	margin: 0 auto!important;
}

#gk-mainbody-columns::before,
#gk-mainbody-columns::after {
	display: none;
}

/* 10.6. Device classes
==================================== */

.onlyDesktop {
	display: none!important;
}

.onlyTablets {
	display: block!important;
}

.onlySmartphones {
	display: none!important;
}

.onlyTabltetsAndSmartphones {
	display: block!important;
}

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