/*
#------------------------------------------------------------------------
# GameNews - August Joomla! template (for Joomla 2.5)
#
# Copyright (C) 2007-2012 Gavick.com. All Rights Reserved.
# License:  Copyrighted Commercial Software
# Website:  http://www.gavick.com
# Support:  support@gavick.com
 */

body {
  background-color: #fff!important;
  background-image: none!important;
}
/* topbar by Erron */
#gkTopBar {
  height: auto!important;
  min-height: 40px!important;
  overflow: hidden;
  /*position: static!important;*/
  /*width: auto!important;*/
  
  /* Move topbar to bottom when going responsive by Erron */
  bottom: 0px;
  top: auto !important;
}
#gkTopMenu ul {
  border-top: 3px solid #eee;
  margin-top: 10px;
  overflow: hidden;
}
/* Containers */
body #gkPage {
  margin-top: 0!important;
  padding-left: 0!important;
  padding-right: 0!important;
}
#gkContent, 
#gkSidebar {
  width: 100% !important;
}
#gkSidebar {
  padding: 16px 0 0 0!important;
}
#gkSidebar > div > .box {
  float: left;
  margin-top: 0!important;
  margin-bottom: 12px!important;
  width: 50%;
}
#gkSidebar > div > .box:nth-child(2n+1) {
  clear: both!important;
}
#gkSidebar > div > .box:nth-child(odd) {
  padding-right: 10px;  
}
#gkSidebar > div > .box:nth-child(even) {
  padding-left: 10px;
}

/* Footer adjustments */
.gkFooter {
  text-align: center;
}
.gkFooter > * {
  display: inline-block!important;
  float: none!important;
}

/* Limitation suffixes */
.box.notablet {
  display: none!important;
}
.box.nomobile {
  display: block!important;
}
.box.onlytablet {
  display: block!important;
}
.box.onlymobile {
  display: none!important;
}

/* Fix for the contact page */
.contact .contact-image {
  float: left !important;
}
.contact .contact-address {
  clear: both !important;
  padding-top: 20px !important;
}
.contact .contact-form input[type="text"],
.contact .contact-form input[type="email"],
.contact .contact-form textarea {
  width: 100% !important;
}

/* K2 edit popup */
#sbox-window,
#sbox-window iframe {
  width: 720px!important;
  max-width: 720px!important;
  left: 10px!important;
}

/* menu */
#gkMobileMenu {
  background: transparent url('../images/tablet_menu_btn.png') no-repeat 16px center;
  float: right;
  margin-top: -3px;
  position: relative;
}
#gkTopBanner {
  clear: both;
  float: none!important;
  margin: 20px auto 0 auto!important;
}
#gkExtraMenu {
  display: none!important;
}
#gkMainMenu {
  border: none!important;
  clear: none!important;
  float: left;
  text-indent: 15px;
  width: 64px!important;
}
#gkMobileMenu select {
  width: 64px;
  height: 45px;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
}
#gkMobileMenu {
  display: block!important;
  font-size: 18px;
  height: 52px;
  line-height: 44px;
  position: relative;
  width: 50px;
  text-indent: -9999px;
}

/* top/bottom modules */

/* 4-column layout */
body .gkCols4 .box.gkmod-1 {
  width: 100%;  
}
body .gkCols4 .box.gkmod-2 {
  width: 50%;
}
body .gkCols4 .box.gkmod-3 {
  width: 50%;
}
body .gkCols4 .box.gkmod-4,
body .gkCols4 .box.gkmod-more {
  width: 50%;
}
body .gkCols4 .box.gkmod-more:nth-child(2n+1) {
  clear: both;
}
body .gkCols4 .box.gkmod-more.gkmod-last-1:last-child {
  width: 100%!important;
}
body .gkCols4 .box.gkmod-more.gkmod-last-2:last-child,
body .gkCols4 .box.gkmod-more.gkmod-last-2:nth-last-child(2) {
  width: 50%!important;
}
body .gkCols4 .box.gkmod-more.gkmod-last-3:last-child,
body .gkCols4 .box.gkmod-more.gkmod-last-3:nth-last-child(2),
body .gkCols4 .box.gkmod-more.gkmod-last-3:nth-last-child(3) {
  width: 50%!important;
}

/* 6-column layout */
body .gkCols6 .box.gkmod-1 {
  width: 100%;  
}
body .gkCols6 .box.gkmod-2 {
  width: 50%;
}
body .gkCols6 .box.gkmod-3 {
  width: 33.3%;
}
body .gkCols6 .box.gkmod-4,
body .gkCols6 .box.gkmod-more {
  width: 33.3%;
}
body .gkCols6 .box.gkmod-5,
body .gkCols6 .box.gkmod-more {
  width: 33.3%;
}
body .gkCols6 .box.gkmod-6,
body .gkCols6 .box.gkmod-more {
  width: 33.3%;
}
body .gkCols6 .box.gkmod-more:nth-child(3n+1) {
  clear: both;
}
body .gkCols6 .box.gkmod-more.gkmod-last-1:last-child {
  width: 100%!important;
}
body .gkCols6 .box.gkmod-more.gkmod-last-2:last-child,
body .gkCols6 .box.gkmod-more.gkmod-last-2:nth-last-child(2) {
  width: 50%!important;
}
body .gkCols6 .box.gkmod-more.gkmod-last-3:last-child,
body .gkCols6 .box.gkmod-more.gkmod-last-3:nth-last-child(2),
body .gkCols6 .box.gkmod-more.gkmod-last-3:nth-last-child(3) {
  width: 33.3%!important;
}
body .gkCols6 .box.gkmod-more.gkmod-last-4:last-child,
body .gkCols6 .box.gkmod-more.gkmod-last-4:nth-last-child(2),
body .gkCols6 .box.gkmod-more.gkmod-last-4:nth-last-child(3),
body .gkCols6 .box.gkmod-more.gkmod-last-4:nth-last-child(4) {
  width: 33.3%!important;
}
body .gkCols6 .box.gkmod-more.gkmod-last-5:last-child,
body .gkCols6 .box.gkmod-more.gkmod-last-5:nth-last-child(2),
body .gkCols6 .box.gkmod-more.gkmod-last-5:nth-last-child(3),
body .gkCols6 .box.gkmod-more.gkmod-last-5:nth-last-child(4),
body .gkCols6 .box.gkmod-more.gkmod-last-5:nth-last-child(5) {
  width: 33.3%!important;
}

/* bottom2 */
#gkBottom1,
#gkBottom2 {
  padding-top: 10px!important;
}
#gkBottom1 .box,
#gkBottom2 .box {
  margin-top: 20px!important;
}

/* Footer */
#gkFrameworkLogo {
  margin: 12px auto 0 auto!important;
}
#gkFooterNav {
  clear: both;
  text-align: center;
  width: 100%;
}
#gkFooterNav li {
  display: inline-block!important;
  float: none!important;
}
#gkStyleArea {
  clear: both;
  float: none!important;
  margin: 0 0 -20px 0!important;
}
body .gkCopyrights {
  text-align: center;
  width: 100%;
}
/* topbar */
#gkTopBar > div > nav {
  float: right!important;
}
#gkTopBar nav#gkTopBarUsermenu {
  clear: both;
  float: left!important;
}
#gkTopBarUsermenu,
#gkTopBarUsermenu ul,
#gkTopBarUsermenu ul > li {
  width:100%;
}
#gkTopBarUsermenu ul > li a, 
#gkTopBarUsermenu ul > li span {
  float: none!important;
  padding: 0!important;
  text-align: center!important;
  width:100%;
}
#gkTopBarUsermenu ul ul {
  display: none!important;
}