/*
#------------------------------------------------------------------------
# League News - February 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 
*/

/*

Template main containers list:

section#gkPageTop
	div
		div#gkLogo
		div
			div#gkHighlighter
			div#gkPageTopLinks
		div#gkMainMenu
section#gkBanners
section#gkPage
	-- system message
	section#gkTop1
	section#gkTop2
	aside#gkLeft
	section#gkContent
		section#gkContentTop
		section#gkContentMainbody
			aside#gkInset1
			section#gkComponentWrap
				section#gkMainbodyTop
				section#gkBreadcrumb
				section#gkMainbody
				section#gkMainbodyBottom
			aside#gkInset2
		section#gkContentBottom
	aside#gkRight
	section#gkUser1
	section#gkUser2
	section#gkBottom1	
section#gkBottom2
footer

*/

/* Base elements and classes */
html { border-bottom:1px solid transparent; min-height:100%; }
body > footer,
body > header,
body > section { /* class used in the full template-width containers */ clear: both; margin: 0 auto; }
section#gkPageTop { overflow: visible; /* Necessary to make menu working */ width: 100%; /* Necessary to achieve full background width */ }
#gkTop1,
#gkTop2,
#gkUser1,
#gkUser2,
#gkBottom1 { /* Positions blocks - clearing */ clear: both; }
/* clearfix */
footer:after,
header:after,
section:after,
aside:after { clear: both; content: ""; display: table; }
/* Columns */
aside#gkLeft,
aside#gkInset1,
section#gkContent,
section#gkComponentWrap,
aside#gkInset2,
aside#gkRight,
#gkBanner1,
#gkBanner2 { /* Main columns */ box-sizing: border-box; float: left; }
#gkTop1 > div,
#gkTop2 > div,
#gkUser1 > div,
#gkUser2 > div,
#gkBottom1 > div,
#gkBottom2 > div { /* Columns in the positions blocks */ box-sizing: border-box; float: left; }
/* Columns - especially for the template equal columns */
#gkPage > section.gkColumns { display: table; width: 100%; }
#gkLeft,
#gkContent,
#gkRight { display: table-cell; vertical-align: top; float: none!important; }
/* 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 { box-sizing: border-box; float: left; }
/* 

Layout calculations 

*/

/* base spaces */
body > footer,
body > header,
body > section,
section#gkPage > section,
section#gkContent > section,
section#gkComponentWrap > section { /* top margins for containers */ margin-top: 20px; }
body > footer:first-child,
body > header:first-child,
body > section:first-child,
section#gkPage > section:first-child,
section#gkContent > section:first-child,
section#gkComponentWrap > section:first-child { margin-top: 0; }
#gkTop1,
#gkTop2,
#gkUser1,
#gkUser2,
#gkBottom1 { padding: 0 32px; }
#gkBottom1 { padding-bottom: 12px; }
#gkPage > #gkTop1:first-child,
#gkPage > #gkTop2:first-child { padding-top: 24px; }
/* module spaces */
.box,
.box_text,
.box_menu { margin-top:34px; }
.box:first-child,
.box_menu:first-child,
.box_text:first-child { margin-top: 0!important; }
#gkMainbody .box,
#gkMainbody .box_text,
#gkMainbody .box_menu { margin-top: 4px; }
#gkContentTop { margin-top: 14px!important; }
/* Layout columns */
#gkLeft { padding: 0 20px; }
#gkInset1 { padding-right: 32px; }
#gkRight { padding: 0 20px; }
#gkInset2 { padding-left: 32px; }
#gkContent { padding: 0 32px 20px 32px; }
.gkColLeft { padding-right: 10px; }
.gkColRight { padding-left: 10px; }
.gkColCenter { padding-left: 10px; padding-right: 10px; }
/* 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; }
/* columns fix */
aside#gkLeft,
aside#gkRight,
#gkContent { overflow: hidden; }