/*
#------------------------------------------------------------------------
# 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 */
#fxTopBar {
	height: auto!important;
	min-height: 40px!important;
	overflow: hidden;
	position: static!important;
	width: auto!important;
}
#fxTopMenu ul {
	border-top: 3px solid #eee;
	margin-top: 10px;
	overflow: hidden;
}
/* Containers */
body #fxPage {
	margin-top: 0!important;
	padding-left: 0!important;
	padding-right: 0!important;
}
#fxContent, 
#fxSidebar {
	width: 100% !important;
}
#fxSidebar {
	padding: 16px 0 0 0!important;
}
#fxSidebar > div > .box {
	float: left;
	margin-top: 0!important;
	margin-bottom: 12px!important;
	width: 50%;
}
#fxSidebar > div > .box:nth-child(2n+1) {
	clear: both!important;
}
#fxSidebar > div > .box:nth-child(odd) {
	padding-right: 10px;	
}
#fxSidebar > div > .box:nth-child(even) {
	padding-left: 10px;
}

/* Footer adjustments */
.fxFooter {
	text-align: center;
}
.fxFooter > * {
	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;
}
.box.notablet.nomobile {
	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 */
#fxMobileMenu {
	background: transparent url('../images/tablet_menu_btn.png') no-repeat 16px center;
	float: right;
	margin-top: -3px;
	position: relative;
}
#fxTopBanner {
	clear: both;
	float: none!important;
	margin: 20px auto 0 auto!important;
}
#fxExtraMenu {
	display: none!important;
}
#fxMainMenu {
	border: none!important;
	clear: none!important;
	float: left;
	text-indent: 15px;
	width: 64px!important;
}
#fxMobileMenu 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;
}
#fxMobileMenu {
	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 .fxCols4 .box.fxmod-1 {
	width: 100%;	
}
body .fxCols4 .box.fxmod-2 {
	width: 50%;
}
body .fxCols4 .box.fxmod-3 {
	width: 50%;
}
body .fxCols4 .box.fxmod-4,
body .fxCols4 .box.fxmod-more {
	width: 50%;
}
body .fxCols4 .box.fxmod-more:nth-child(2n+1) {
	clear: both;
}
body .fxCols4 .box.fxmod-more.fxmod-last-1:last-child {
	width: 100%!important;
}
body .fxCols4 .box.fxmod-more.fxmod-last-2:last-child,
body .fxCols4 .box.fxmod-more.fxmod-last-2:nth-last-child(2) {
	width: 50%!important;
}
body .fxCols4 .box.fxmod-more.fxmod-last-3:last-child,
body .fxCols4 .box.fxmod-more.fxmod-last-3:nth-last-child(2),
body .fxCols4 .box.fxmod-more.fxmod-last-3:nth-last-child(3) {
	width: 50%!important;
}

/* 6-column layout */
body .fxCols6 .box.fxmod-1 {
	width: 100%;	
}
body .fxCols6 .box.fxmod-2 {
	width: 50%;
}
body .fxCols6 .box.fxmod-3 {
	width: 33.3%;
}
body .fxCols6 .box.fxmod-4,
body .fxCols6 .box.fxmod-more {
	width: 33.3%;
}
body .fxCols6 .box.fxmod-5,
body .fxCols6 .box.fxmod-more {
	width: 33.3%;
}
body .fxCols6 .box.fxmod-6,
body .fxCols6 .box.fxmod-more {
	width: 33.3%;
}
body .fxCols6 .box.fxmod-more:nth-child(3n+1) {
	clear: both;
}
body .fxCols6 .box.fxmod-more.fxmod-last-1:last-child {
	width: 100%!important;
}
body .fxCols6 .box.fxmod-more.fxmod-last-2:last-child,
body .fxCols6 .box.fxmod-more.fxmod-last-2:nth-last-child(2) {
	width: 50%!important;
}
body .fxCols6 .box.fxmod-more.fxmod-last-3:last-child,
body .fxCols6 .box.fxmod-more.fxmod-last-3:nth-last-child(2),
body .fxCols6 .box.fxmod-more.fxmod-last-3:nth-last-child(3) {
	width: 33.3%!important;
}
body .fxCols6 .box.fxmod-more.fxmod-last-4:last-child,
body .fxCols6 .box.fxmod-more.fxmod-last-4:nth-last-child(2),
body .fxCols6 .box.fxmod-more.fxmod-last-4:nth-last-child(3),
body .fxCols6 .box.fxmod-more.fxmod-last-4:nth-last-child(4) {
	width: 33.3%!important;
}
body .fxCols6 .box.fxmod-more.fxmod-last-5:last-child,
body .fxCols6 .box.fxmod-more.fxmod-last-5:nth-last-child(2),
body .fxCols6 .box.fxmod-more.fxmod-last-5:nth-last-child(3),
body .fxCols6 .box.fxmod-more.fxmod-last-5:nth-last-child(4),
body .fxCols6 .box.fxmod-more.fxmod-last-5:nth-last-child(5) {
	width: 33.3%!important;
}

/* bottom2 */
#fxBottom1,
#fxBottom2 {
	padding-top: 10px!important;
}
#fxBottom1 .box,
#fxBottom2 .box {
	margin-top: 20px!important;
}

/* Footer */
#fxFrameworkLogo {
	margin: 12px auto 0 auto!important;
}
#fxFooterNav {
	clear: both;
	text-align: center;
	width: 100%;
}
#fxFooterNav li {
	display: inline-block!important;
	float: none!important;
}
#fxStyleArea {
	clear: both;
	float: none!important;
	margin: 0 0 -20px 0!important;
}
body .fxCopyrights {
	text-align: center;
	width: 100%;
}
/* topbar */
#fxTopBar > div > nav {
	float: right!important;
}
#fxTopBar nav#fxTopBarUsermenu {
	clear: both;
	float: left!important;
}
#fxTopBarUsermenu,
#fxTopBarUsermenu ul,
#fxTopBarUsermenu ul > li {
	width:100%;
}
#fxTopBarUsermenu ul > li a, 
#fxTopBarUsermenu ul > li span {
	float: none!important;
	padding: 0!important;
	text-align: center!important;
	width:100%;
}
#fxTopBarUsermenu ul ul {
	display: none!important;
}