/*
#------------------------------------------------------------------------
# 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
 */
 
/* Base elements and classes */
html {
	border-bottom: 1px solid transparent;
	min-height: 100%;
}
body > div > footer,
body > div > header,
body > div > section,
body > footer,
body > header,
body > section {
	/* class used in the full template-width containers */
	clear: both;
	margin: 0 auto;
}
section#fxPageTop {
	overflow: visible; /* Necessary to make menu working */
	width: 100%; /* Necessary to achieve full background width */
}
#fxTop,
#fxBottom {
	/* Positions blocks -clearing */
	clear: both;
}

/* clearfix */
#fxPageContent:after,
#fxContent:after,
#fxSidebar:after,
footer:after,
header:after,
section:after,
aside:after,
article:after {
	clear: both;
	content: "";
	display: table;
}

/* Columns */
section#fxContent,
section#fxComponentWrap,
aside#fxSidebar {
	/* Main columns */
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	    -ms-box-sizing: border-box;
	     -o-box-sizing: border-box;
	        box-sizing: border-box;
	float: left;
}

#fxSidebar {
	padding-right: 16px;
}
#fxContent + #fxSidebar {
	padding-left: 36px;
	padding-right: 0!important;
}
#fxSidebar > div > .box {
	margin-top: 16px;
}
#fxSidebar > div > .box:first-child {
	margin-top: 0;
}
#fxTop1 .box,
#fxTop2 .box,
#fxBottom1 .box,
#fxBottom2 .box {
	/* Columns in the positions blocks */
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	    -ms-box-sizing: border-box;
	     -o-box-sizing: border-box;
	        box-sizing: border-box;
	float: left;
}
/* Joomla columns */
.cols-2 .column-1,
.cols-2 .column-2 {
	width: 50%;
}
.cols-3 .column-1,
.cols-3 .column-2,
.cols-3 .column-3 {
	float: left;
	width: 33.3%;
}
.column-1,
.column-2,
.column-3 {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	    -ms-box-sizing: border-box;
	     -o-box-sizing: border-box;
	        box-sizing: border-box;
	float: left;
}
/*
Layout calculations
 */
#fxMainbody .box {
	margin-top: 16px;
} 
#fxMainbody .box:first-child {
	margin-top: 0;
}
/* base spaces */
body > footer:first-child,
body > header:first-child,
body > section:first-child,
section#fxPage > section:first-child,
section#fxContent > section:first-child,
section#fxComponentWrap > section:first-child {
	margin-top: 0;
}
/* Joomla columns */
.cols-2 .column-1,
.cols-3 .column-1 {
	padding-right: 10px;
}
.cols-2 .column-2,
.cols-3 .column-3 {
	padding-left: 10px;
}
.cols-3 .column-2 {
	padding-left: 10px;
	padding-right: 10px;
}
/* top/bottom modules */

/* 3-column layout */
.fxCols3 .box.fxmod-1,
.fxCols3 .box.fxmod-2,
.fxCols3 .box.fxmod-3,
.fxCols3 .box.fxmod-more {
	float: left;
	padding: 0 14px;	
}
.fxCols3 .box.fxmod-1 {
	width: 100%;	
}
.fxCols3 .box.fxmod-2 {
	width: 50%;
}
.fxCols3 .box.fxmod-3,
.fxCols3 .box.fxmod-more {
	width: 33.3%;
}
.fxCols3 .box.fxmod-more:nth-child(3n+1) {
	clear: both;
}
.fxCols3 .box.fxmod-more.fxmod-last-1:last-child {
	width: 100%!important;
}
.fxCols3 .box.fxmod-more.fxmod-last-2:last-child,
.fxCols3 .box.fxmod-more.fxmod-last-2:nth-last-child(2) {
	width: 50%!important;
}

/* 4-column layout */
.fxCols4 .box.fxmod-1,
.fxCols4 .box.fxmod-2,
.fxCols4 .box.fxmod-3,
.fxCols4 .box.fxmod-4,
.fxCols4 .box.fxmod-more {
	float: left;
	padding: 0 14px;	
}
.fxCols4 .box.fxmod-1 {
	width: 100%;	
}
.fxCols4 .box.fxmod-2 {
	width: 50%;
}
.fxCols4 .box.fxmod-3 {
	width: 33.3%;
}
.fxCols4 .box.fxmod-4,
.fxCols4 .box.fxmod-more {
	width: 25%;
}
.fxCols4 .box.fxmod-more:nth-child(4n+1) {
	clear: both;
}
.fxCols4 .box.fxmod-more.fxmod-last-1:last-child {
	width: 100%!important;
}
.fxCols4 .box.fxmod-more.fxmod-last-2:last-child,
.fxCols4 .box.fxmod-more.fxmod-last-2:nth-last-child(2) {
	width: 50%!important;
}
.fxCols4 .box.fxmod-more.fxmod-last-3:last-child,
.fxCols4 .box.fxmod-more.fxmod-last-3:nth-last-child(2),
.fxCols4 .box.fxmod-more.fxmod-last-3:nth-last-child(3) {
	width: 33.3%!important;
}

/* 6-column layout */
.fxCols6 .box.fxmod-1,
.fxCols6 .box.fxmod-2,
.fxCols6 .box.fxmod-3,
.fxCols6 .box.fxmod-4,
.fxCols6 .box.fxmod-5,
.fxCols6 .box.fxmod-6,
.fxCols6 .box.fxmod-more {
	float: left;
	padding: 0 14px;	
}
.fxCols6 .box.fxmod-1 {
	width: 100%;	
}
.fxCols6 .box.fxmod-2 {
	width: 50%;
}
.fxCols6 .box.fxmod-3 {
	width: 33.3%;
}
.fxCols6 .box.fxmod-4,
.fxCols6 .box.fxmod-more {
	width: 25%;
}
.fxCols6 .box.fxmod-5,
.fxCols6 .box.fxmod-more {
	width: 20%;
}
.fxCols6 .box.fxmod-6,
.fxCols6 .box.fxmod-more {
	width: 16.66%;
}
.fxCols6 .box.fxmod-more:nth-child(6n+1) {
	clear: both;
}
.fxCols6 .box.fxmod-more.fxmod-last-1:last-child {
	width: 100%!important;
}
.fxCols6 .box.fxmod-more.fxmod-last-2:last-child,
.fxCols6 .box.fxmod-more.fxmod-last-2:nth-last-child(2) {
	width: 50%!important;
}
.fxCols6 .box.fxmod-more.fxmod-last-3:last-child,
.fxCols6 .box.fxmod-more.fxmod-last-3:nth-last-child(2),
.fxCols6 .box.fxmod-more.fxmod-last-3:nth-last-child(3) {
	width: 33.3%!important;
}
.fxCols6 .box.fxmod-more.fxmod-last-4:last-child,
.fxCols6 .box.fxmod-more.fxmod-last-4:nth-last-child(2),
.fxCols6 .box.fxmod-more.fxmod-last-4:nth-last-child(3),
.fxCols6 .box.fxmod-more.fxmod-last-4:nth-last-child(4) {
	width: 20%!important;
}
.fxCols6 .box.fxmod-more.fxmod-last-5:last-child,
.fxCols6 .box.fxmod-more.fxmod-last-5:nth-last-child(2),
.fxCols6 .box.fxmod-more.fxmod-last-5:nth-last-child(3),
.fxCols6 .box.fxmod-more.fxmod-last-5:nth-last-child(4),
.fxCols6 .box.fxmod-more.fxmod-last-5:nth-last-child(5) {
	width: 16.66%!important;
}
