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

#gk-header {
	padding-top: 0;
}

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

#gk-mainbody-columns > section {
	padding: 20px 25px;
}

.gk-page-wrap {
	padding: 15px;
}

#gk-sidebar {
	margin-top: 25px;
	padding: 10px!important;
}

#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;
}

/* author info */

.author-info > aside {
	max-width: 60px;
}
.author-info > div {
	margin: 0 0 0 130px;
}

/* Top and Bottom widgets */
#gk-top1 .box:first-child,
#gk-bottom1 .box:first-child,
#gk-bottom2 .box:first-child {
	padding-left: 20px;
}

#gk-top1 .box:last-child,
#gk-bottom1 .box:last-child,
#gk-bottom2 .box:last-child {
	padding-right: 20px;
}

#gk-top1 .box, #gk-bottom1 .box {
	padding: 0 30px;
}

/* column rules */
#gk-sidebar .box {
	float: left!important;
	padding: 0 10px;
	width: 50%!important;
}

#gk-sidebar .gk-tabs-item .box {
	width: 100%!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%;
}

/* 10.2. Header elements
==================================== */
#gk-head h1 {
	margin-top: 20px;
}

#gk-search {
	float: none;
}

#gk-top-menu {
	right: 0;
	position: absolute;
	top: 0;
}

#gk-header-top {
	padding: 0 15px 15px 15px;
}

#gk-head a.cssLogo {
	margin-bottom: 0;
	padding: 0;
}

/* Big tabs header */

.gk-tabs-wrap > ol {
	text-align: center!important;
}

.box.big-tabs .gk-tabs-wrap > ol li {
	display: inline-block;
	float: none;
	margin: 25px -8px!important;
	-webkit-transform: scale(0.8,0.8);
	   -moz-transform: scale(0.8,0.8);
		-ms-transform: scale(0.8,0.8); 
	 	 -o-transform: scale(0.8,0.8);
			transform: scale(0.8,0.8);
}

/* 10.3. Other elements
==================================== */

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

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

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

#gk-mainmenu-wrap {
	text-align: right!important;
}

#main-menu {
	display: none;
}

#gk-mainmenu.search-exists {
	float: none;
}

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

#gk-search {
	margin-top: -40px!important;
}

#searchform {
	text-align: center!important;
}

#gk-mainmenu.search-exists {
	margin-right: 0;
}

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

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

#footer-menu {
	float: none;
	text-align: center;
	width: 100%;
}

#footer-menu li {
	display: inline-block;
	float: none!important;
	text-align: center;
}

.gk-copyrights {
	margin-top: 5px;
	text-align: center;
	width: 100%;
}

#gk-style-area {
	text-align: center;
	margin: -90px 0 0px 0;
}

#gk-footer {
	margin: 80px auto 0 auto;
	padding: 80px 0 70px 0!important;
	text-align: center;
}

.gk-framework-logo {
	margin: 0;
	padding: 0;
}

#gk-top-link {
	display: block;
	margin: 0!important;
	text-align: center;
}

#gk-social-icons {
	text-align: center;
}


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