/**
 *
 * -------------------------------------------
 * Tablet CSS file
 * -------------------------------------------
 * 
 **/
 
/*
 *
 * 11. Tablet code
 *
 *
------------------------------------ */
 
/* 11.1. Base elements
==================================== */ 
/* Backgrounds */
.frontpage.dark-bottom #gk-dark-bottom {
	background-image: url('../images/dark_bottom_bg_tablet.jpg');
	background-position: center center;
}
.frontpage #gk-bottom3 {
	background-image: url('../images/people_bg_tablet.jpg');
	background-position: center bottom;
}

body.style1 #gk-bottom-section {
	background-image: url('../images/style1/bottom_bg_tablet.jpg')!important;
}
body.style2 #gk-bottom-section {
	background-image: url('../images/style2/bottom_bg_tablet.jpg')!important;
}
body.style3 #gk-bottom-section {
	background-image: url('../images/style3/bottom_bg_tablet.jpg')!important;
}
body.style4 #gk-bottom-section {
	background-image: url('../images/style4/bottom_bg_tablet.jpg')!important;
}
body.style5 #gk-bottom-section {
	background-image: url('../images/style5/bottom_bg_tablet.jpg')!important;
}
body.style6 #gk-bottom-section {
	background-image: url('../images/style6/bottom_bg_tablet.jpg')!important;
}
body #gk-bg #gk-bottom-section,
body.frontpage #gk-bg #gk-bottom3,
body.frontpage #gk-bg #gk-dark-bottom {
	background-attachment: scroll!important;
}

body,
.box {
	font-size: 14px;
}

body.buddypress {
	font-size: 18px;
}

small {
	font-size: 90%;
}

.gk-page {
	padding-left: 15px!important;
	padding-right: 15px!important;
}

#gk-mainbody {
	margin-bottom: 30px;
}

.dark-bottom #gk-mainbody {
	margin-bottom: 0;
}

#gk-mainbody article > header h1,
#gk-mainbody article > header h2 {
	font-size: 40px;
}

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

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

#gk-mainbody-columns > section {
	margin-bottom: 30px;
	margin-top: 20px;
}

/* 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;
	margin-right: 2%;
	width: 48%;
}
#gk-sidebar {
	padding: 0!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;
}

.frontpage .box.col6 {
	margin-bottom: 30px!important;
}

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

#gk-bottom6 {
	padding: 60px 0;
}

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

.box.bigtitle .box-title {
	font-size: 28px;
	margin: 0 0 30px;
}

/* 11.2. Header elements
==================================== */

.box.login-bg > div {
	padding-top: 276px;
}
.box.normal-width.widget_gk_login {
	width: 95%;
}

/* 11.3. Demo elements
==================================== */

/* Frontpage elements */

.frontpage #gk-dark-bottom:after, 
.frontpage #gk-dark-bottom:before {
	height: 200px;
	top: -100px;
	-webkit-transform: skewY(8deg);
	-moz-transform: skewY(8deg);
	-ms-transform: skewY(8deg);
	-o-transform: skewY(8deg);
	transform: skewY(8deg);
}
.frontpage #gk-dark-bottom:after {
	bottom: -100px;
	top: auto;
}
.frontpage.dark-bottom #gk-dark-bottom {
	bottom: -350px;
	height: 800px;
}
.box.subtitle .box-title {
	font-size: 42px;
	margin: 0 0 16px 0;
}
.box.subtitle .box-title small {
	margin-bottom: 38px;
	margin-top: 26px;
}
.bigtitle-left .box-title {
	font-size: 60px;
	margin: 0 0 22px 0;
}
.frontpage .bigtitle-left .box-title {
	padding-left: 0px!important;
}
.newsletter p {
	font-size: 20px;
	margin: 20px 0 32px 0;
}
.newsletter input[type="email"] {
	font-size: 17px;
	height: 48px;
	line-height: 48px;
	width: 60%;
}
#gk-bottom3 .gk-section-nav {
	bottom: 120px;
}
.frontpage #gk-bottom3 {
	padding: 200px 0;
}
.frontpage #gk-bottom3:after, 
.frontpage #gk-bottom3:before {
	height: 200px;
	-webkit-transform: skewY(8deg);
	-moz-transform: skewY(8deg);
	-ms-transform: skewY(8deg);
	-o-transform: skewY(8deg);
	transform: skewY(8deg);
	top: -100px;
}
.frontpage #gk-bottom3:after {
	bottom: -100px;
	top: auto;
}


.gk-nsp.grid-left-img .gk-nsp-content-wrap,
.gk-nsp.grid-right-img .gk-nsp-content-wrap,
.gk-nsp.grid-left-img.news .gk-nsp-content-wrap,
.gk-nsp.grid-right-img.news .gk-nsp-content-wrap {
	padding: 14px;
}

.gk-nsp.grid-right-img .gk-nsp-category,
.gk-nsp.grid-left-img .gk-nsp-category,
.gk-nsp.grid-right-img .gk-nsp-date,
.gk-nsp.grid-left-img .gk-nsp-date {
	bottom: 33px;
	font-size: 11px;
}

.gk-nsp.grid-right-img .gk-nsp-date,
.gk-nsp.grid-left-img .gk-nsp-date {
	bottom: 16px;
}

.gk-columns[data-column-count="4"] > div {
	margin-bottom: 30px;
	width: 50%; 
}
.gk-columns[data-column-count="4"] > div:nth-child(2n+1) {
	clear: both;
}

/* 11.4. Main menu elements
==================================== */ 
#gk-login {
	right: 64px;
}

#main-menu {
	display: none!important;
}

#gk-aside-menu #main-menu {
	display: block!important;
}

#main-menu-mobile {
	color: #fff;
	display: block!important;
	float: right!important;
	font-size: 32px;
	height: 44px;
	line-height: 44px;
	margin: 15px 15px 10px 0!important;
	position: relative;
	text-align: center;
	width: 44px;
}

#main-menu-mobile i {
	padding: 0!important;
}

#main-menu-mobile > select {
	border: none;	
	display: block;
	width: 44px!important;
	height: 44px!important;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
	padding: 6px!important;
	position: absolute!important;
	left: 0;
	font-size: 14px;
	top: 0;
}

body[data-mobile="true"] #main-menu-mobile > select {
	font-size: 50px;
}

/* 11.5. Footer
==================================== */ 

#footer-menu {
	border-bottom: 1px solid #e5e5e5;
	margin: -10px 0 10px 0;
	width: 100%;
}

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

.gk-copyrights {
	width: 100%;
}

#gk-style-area {
	margin-top: -30px;
}

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

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

/* 11.6. Device classes
==================================== */

.onlyDesktop {
	display: none!important;
}

.onlyTablets {
	display: block!important;
}

.onlySmartphones {
	display: none!important;
}

.onlyTabltetsAndSmartphones {
	display: block!important;
}

/* 11.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;
	}
	article section .hosting table tbody tr {
		border: 0;
	}
	
	article section .hosting table {
		border: 0;
	}
	
	article section .hosting table td:first-child {
		border-top: 1px solid #eee;
	}
	
	article section .hosting table th {
		text-align: center;
	}
	article section .hosting table td span.gk-table-label {
		position: static;
	}
}

/* 11.8. BuddyPress
==================================== */
.box.widget_gk_login #gk-wp-submit {
	margin: 10px 0;
}
.widget.buddypress ul.item-list img.avatar,
.widget.buddypress div.item-avatar img,
.widget.buddypress ul.item-list .item-avatar > a,
.widget.buddypress div.item-avatar > a {
	height: 60px!important;
	width: 60px!important;
}
.widget.buddypress div.item .item-title {
	font-size: 14px!important;
}
.widget #members-list li .item-avatar {
	margin-right: 10px;
}
nav.gklogin-small {
	float: left;
	margin: 3px 0;
}
#buddypress .activity-header > p {
	line-height: 34px!important;
}
.box.login-bg {
	padding: 25px;
}

.button.bp-title-button {
	margin: 3px 30px 20px 0!important;
}

.widget_gk_buddypress .gk-member-status {
	padding: 15px;
}

.widget_gk_buddypress .gk-member-status > a:first-child {
	font-size: 14px;
	padding: 4px 0 10px;
}

.widget_gk_buddypress .gk-member-status a.no-readmore,
.widget_gk_buddypress .gk-member-status > p {
	font-size: 12px;
}

.widget_gk_buddypress .gk-member-status p > a {
	font-size: 11px;
}