/*
#------------------------------------------------------------------------
# University - May Joomla! template (for Joomla 2.5)
#
# Copyright (C) 2007-2014 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;
}
#gkPageTop {
	overflow: visible; /* Necessary to make menu working */
	width: 100%; /* Necessary to achieve full background width */
}
#gkTop1,
#gkTop2,
#gkBottom1,
#gkBottom2,
#gkBottom3,
#gkBottom4,
#gkBottom5 {
	/* Positions blocks -clearing */
	clear: both;
}

/* clearfix */
#gkHeader > div:after,
#gkHeaderNav:after,
#gkPageContent:after,
#gkTop1:after,
#gkTop2:after,
#gkContent:after,
#gkSidebar:after,
#gkBottom1:after,
#gkBottom2:after,
#gkBottom3:after,
#gkBottom4:after,
#gkBottom5:after,
#gkBottom1 > div:after,
#gkBottom2 > div:after,
#gkBottom3 > div:after,
#gkBottom4 > div:after,
#gkBottom5 > div:after,
.gkCols:after,
footer:after,
header:after,
section:after,
aside:after,
article:after,
.box:after,
article header:after,
.itemSocialSharing:after,
article header ul:after,
#gkTop1 > div:after,
#gkTop2 > div:after,
.gkInset:after {
	clear: both;
	content: "";
	display: table;
}

/* Columns */
#gkContent,
#gkContentWrap,
#gkSidebar {
	/* Main columns */
	float: left;
}
#gkSidebar {
	float: right;
	padding-left: 45px;
}
div[data-sidebar-pos="left"] #gkContent {
	float: right;
}
div[data-sidebar-pos="left"] #gkSidebar {
	float: left;
	padding-left: 0;
	padding-right: 45px;
}
#gkContentWrap[data-inset-pos="left"] {
    float: right;
}
#gkContentWrap[data-inset-pos="left"] + #gkInset {
    float: left;
    padding-left: 0;
    padding-right: 45px;
}
#gkInset {
	float: right;
	padding-left: 45px;
}
#gkMainbodyTop .box,
#gkMainbodyBottom .box {
	padding-left: 0;
	padding-right: 0;
}

#gkMainbody .box {
	padding-left: 0!important;
	padding-right: 0!important;
	width: 100%;
}

#gkMainbodyTop + #gkMainbody {
	margin-top: 0;
	padding-top: 10px;
}

#gkMainbody + #gkMainbodyBottom {
	margin-top: 0;
	padding-top: 10px;
}

/* Module groups */
#gkTop1 .box,
#gkTop2 .box,
#gkBottom1 .box,
#gkBottom2 .box,
#gkBottom3 .box,
#gkBottom4 .box,
#gkBottom5 .box {
	/* Columns in the positions blocks */
	float: left;
}

#gkTop1 > div > .box,
#gkTop2 > div > .box,
#gkBottom1 > div > .box,
#gkBottom2 > div > .box,
#gkBottom3 > div > .box,
#gkBottom4 > div > .box {
	margin-bottom: 45px;
}
#gkTop1 > div > .box + .box,
#gkTop2 > div > .box + .box,
#gkBottom1 > div > .box + .box,
#gkBottom2 > div > .box + .box,
#gkBottom3 > div > .box + .box,
#gkBottom4 > div > .box + .box {
	margin-top: 0;
}

/* 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 {
	float: left;
}
/*
Layout calculations
 */
#gkMainbody .box + .box {
	margin-top: 30px;
} 

/* base spaces */
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;
}
/* 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 */
.gkCols3 .box.gkmod-1,
.gkCols3 .box.gkmod-2,
.gkCols3 .box.gkmod-3,
.gkCols3 .box.gkmod-more {
	float: left;
	padding: 0 10px;	
}
.gkCols3 .box.gkmod-1 {
	width: 100%;	
}
.gkCols3 .box.gkmod-2 {
	width: 50%;
}
.gkCols3 .box.gkmod-3,
.gkCols3 .box.gkmod-more {
	width: 33.3%;
}
.gkCols3 .box.gkmod-more:nth-child(3n+1) {
	clear: both;
}
.gkCols3 .box.gkmod-more.gkmod-last-1:last-child {
	width: 100%!important;
}
.gkCols3 .box.gkmod-more.gkmod-last-2:last-child,
.gkCols3 .box.gkmod-more.gkmod-last-2:nth-last-child(2) {
	width: 50%!important;
}

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

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

/* Suffix double */
.gkCols3 .box.double.gkmod-2,
.gkCols4 .box.double.gkmod-2,
.gkCols6 .box.double.gkmod-2 {
	width: 66.666666%;
}

.gkCols3 .box.double.gkmod-2 ~ .box.gkmod-2,
.gkCols4 .box.double.gkmod-2 ~ .box.gkmod-2,
.gkCols6 .box.double.gkmod-2 ~ .box.gkmod-2 {
	width: 33.333333%;
}
.gkCols3 .box.double.gkmod-3,
.gkCols4 .box.double.gkmod-3,
.gkCols6 .box.double.gkmod-3 {
	width: 50%;
}
.gkCols3 .box.double.gkmod-3 ~ .box.gkmod-3,
.gkCols4 .box.double.gkmod-3 ~ .box.gkmod-3,
.gkCols6 .box.double.gkmod-3 ~ .box.gkmod-3 {
	width: 25%;
}
.gkCols4 .box.double.gkmod-4,
.gkCols6 .box.double.gkmod-4 {
	width: 40%;
}
.gkCols4 .box.double.gkmod-4 ~ .box.gkmod-4,
.gkCols6 .box.double.gkmod-4 ~ .box.gkmod-4 {
	width: 20%;
}
.gkCols6 .box.double.gkmod-5 {
	width: 33.3%;
}
.gkCols6 .box.double.gkmod-5 ~ .box.gkmod-5 {
	width: 16.66%;
}
.gkCols6 .box.double.gkmod-6 {
	width: 25%;
}
.gkCols6 .box.double.gkmod-6 ~ .box.gkmod-6 {
	width: 15%;
}

/* Suffix half */
.gkCols3 .box.half.gkmod-2,
.gkCols4 .box.half.gkmod-2,
.gkCols6 .box.half.gkmod-2 {
	width: 33.333333%;
}

.gkCols3 .box.half.gkmod-2 ~ .box.gkmod-2,
.gkCols4 .box.half.gkmod-2 ~ .box.gkmod-2,
.gkCols6 .box.half.gkmod-2 ~ .box.gkmod-2 {
	width: 66.666666%;
}
.gkCols3 .box.half.gkmod-3,
.gkCols4 .box.half.gkmod-3,
.gkCols6 .box.half.gkmod-3 {
	width: 20%;
}
.gkCols3 .box.half.gkmod-3 ~ .box.gkmod-3,
.gkCols4 .box.half.gkmod-3 ~ .box.gkmod-3,
.gkCols6 .box.half.gkmod-3 ~ .box.gkmod-3 {
	width: 40%;
}
.gkCols4 .box.half.gkmod-4,
.gkCols6 .box.half.gkmod-4 {
	width: 16%;
}
.gkCols4 .box.half.gkmod-4 ~ .box.gkmod-4,
.gkCols6 .box.half.gkmod-4 ~ .box.gkmod-4 {
	width: 28%;
}
.gkCols6 .box.half.gkmod-5 {
	width: 12%;
}
.gkCols6 .box.half.gkmod-5 ~ .box.gkmod-5 {
	width: 22%;
}
.gkCols6 .box.half.gkmod-6 {
	width: 10%;
}
.gkCols6 .box.half.gkmod-6 ~ .box.gkmod-6 {
	width: 18%;
}
