/*
#------------------------------------------------------------------------
# StoreFront - April 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 
*/

/* Menu */
#gkTopBar {
	display: none;
}

/* Containers */

#gkTopMenu {
	display: none;
}
#gkLogo {
	margin: 0!important;
}
#gkLogo.cssLogo {
	margin-top: 14px!important;
}

#gkTop1 .box,
#gkTop2 .box,
#gkSidebar .box,
#gkMainbody .box,
#gkBottom1 .box,
#gkBottom2 .box,
#gkBottom3 .box,
#gkBottom4 .box,
#gkBottom5 .box {
	clear: both!important;
	float: none!important;
	margin: 0 auto!important;
	max-width: 300px;
	width: 100%;
}
#gkBottom1 .box,
#gkBottom2 .box,
#gkBottom3 .box,
#gkBottom4 .box,
#gkBottom5 .box {
	margin-bottom: 20px;	
}
#gkBottom1 .box.double, 
#gkBottom1 .box.double ~ .box, 
#gkBottom2 .box.double, 
#gkBottom2 .box.double ~ .box, 
#gkBottom3 .box.double, 
#gkBottom3 .box.double ~ .box,
#gkBottom4 .box.double, 
#gkBottom4 .box.double ~ .box,
#gkBottom5 .box.double, 
#gkBottom5 .box.double ~ .box {
	width: 100%!important;
}

.gkCols[data-cols="2"] > div,
.gkCols[data-cols="3"] > div,
.gkCols[data-cols="4"] > div,
.gkCols[data-cols="5"] > div {
	padding-bottom: 20px!important;
	width: 100%;
}

/* limitation suffixes */
.notablet {
	display: block!important;
}
.nomobile {
	display: none!important;
}
.onlytablet {
	display: none!important;
}
.onlymobile {
	display: block!important;
}
.notablet.nomobile {
	display: none!important;
}

/* Fix for tables */
fieldset {
	box-sizing: border-box!important;
	max-width: 100%!important;
	width: 100%!important;
	overflow: hidden;
}
#gkMainbody table:before {
	content: "Scroll horizontally to view the whole table";
	height: 14px;
	width: 100%;
	display: block;
	font-size: 10px;
	margin-top: -30px;
	margin-bottom: 10px;
	font-family: Arial, sans-serif;
}
#gkMainbody table {
	width: 540px!important;
	display: block!important;
	padding: 30px 0 20px 0; /* padding for the scrollbars and the top message */
	overflow:scroll;
	-webkit-overflow-scrolling:touch;
}
#gkMainbody table tbody,
#gkMainbody table thead,
#gkMainbody table tfoot {
	width: 540px!important;
	display: table;
}

@media only screen and (max-width: 480px) {
	#gkMainbody table {
		width: 420px!important;
	}
}

@media only screen and (max-width: 440px) {
	#gkMainbody table {
		width: 260px!important;
	}
}

/* top/bottom modules */
.box.gkmod-1,
.box.gkmod-2,
.box.gkmod-3,
.box.gkmod-4,
.box.gkmod-more {
	float: left!important;	
}
.box.gkmod-1,
.box.gkmod-2,
.box.gkmod-3,
.box.gkmod-4,
.box.gkmod-more {
	width: 100%!important;
}
.box.gkmod-more.gkmod-last-1:last-child,
.box.gkmod-more.gkmod-last-2:last-child,
.box.gkmod-more.gkmod-last-2:nth-last-child(2),
#gkPageWrap .box.gkmod-more.gkmod-last-3:last-child,
#gkPageWrap .box.gkmod-more.gkmod-last-3:nth-last-child(2),
#gkPageWrap .box.gkmod-more.gkmod-last-3:nth-last-child(3) {
	width: 100%!important;
}

/* top/bottom modules */
body #gkPage .box {
	margin-bottom: 20px!important;
}

/* 3-column layout */
.gkCols3 .box.gkmod-more:nth-child(1n) {
	clear: both;
}
.gkCols3 .box.gkmod-1,
.gkCols3 .box.gkmod-2,
.gkCols3 .box.gkmod-3,
.gkCols3 .box.gkmod-more,
.gkCols3 .box.gkmod-more.gkmod-last-1:last-child,
.gkCols3 .box.gkmod-more.gkmod-last-2:last-child,
.gkCols3 .box.gkmod-more.gkmod-last-2:nth-last-child(2) {
	width: 100%!important;
}

/* 4-column layout */
body .gkCols4 .box.gkmod-more:nth-child(1n) {
	clear: both;
}
body .gkCols4 .box.gkmod-1,
body .gkCols4 .box.gkmod-2,
body .gkCols4 .box.gkmod-3,
body .gkCols4 .box.gkmod-4,
body .gkCols4 .box.gkmod-more,
body .gkCols4 .box.gkmod-more.gkmod-last-1:last-child,
body .gkCols4 .box.gkmod-more.gkmod-last-2:last-child,
body .gkCols4 .box.gkmod-more.gkmod-last-2:nth-last-child(2),
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: 100%!important;
}

/* 6-column layout */
body .gkCols6 .box.gkmod-more:nth-child(1n) { 
	clear: both; 
}
body .gkCols6 .box.gkmod-1,
body .gkCols6 .box.gkmod-2,
body .gkCols6 .box.gkmod-3,
body .gkCols6 .box.gkmod-4,
body .gkCols6 .box.gkmod-more,
body .gkCols6 .box.gkmod-5,
body .gkCols6 .box.gkmod-more,
body .gkCols6 .box.gkmod-6,
body .gkCols6 .box.gkmod-more,
body .gkCols6 .box.gkmod-more.gkmod-last-1:last-child,
body .gkCols6 .box.gkmod-more.gkmod-last-2:last-child,
body .gkCols6 .box.gkmod-more.gkmod-last-2:nth-last-child(2),
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),
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),
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: 100%!important;
}

/* other elements */
h1 {
	font-size: 28px;
}

h2, 
.componentheading,
.category header h2 {
	font-size: 28px;
}

article header h2 {
	line-height: 32px;
}

h3 {
	font-size: 24px;
}

h4 {
	font-size: 20px;
}

h5 {
	font-size: 16px;
}

h6 {
	font-size: 14px;
}

#gkSocialAPI {
	overflow: hidden;
}

.cols-2 .column-2, 
.cols-3 .column-3 {
	padding: 0!important;
}

#gkHeaderNav {
    padding-left: 10px;
    padding-right: 10px;
}

#gkLang {
    float: right;
    margin-left: 0;
}

.box.bigtitle .header span {
    padding: 0;
}

.awHeader {
    background-position: 73% top !important;
	height: 620px !important;
}

.awHeader::after {
    background-color: rgba(0, 0, 0, 0.45);
    content: "";
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.awHeader .innerContainer {
	width: 100%;
}

#All-In-One > .gkPage,
.awAllInOne .gkPage {
	padding: 0;
}


.contactFormWrapper {
    padding: 20px 20px;
}

#gkHeaderNav > div.espaImageContainer {
	right: 10px;
}

@media only screen and (max-width: 470px) {
	.contact-misc > h4 br {
		display: block;
	}
}

@media only screen and (max-width: 440px) {
	
	.awHeader .headerTitle {
		font-size: 22px;
		width: 290px;
	}
	
	.awHeader .headerText {
		font-size: 16px;
	}
	
	.awHeader .headerText br {
		display: none;
	}
		
	.contact-form dt {
		margin: 0;
		width: 100%;
	}

	.contact-form dd {
		margin: 0 0 8px;
		width: 100%;
	}

	.contact-form .contactMessage dt,
	.contact-form .contactButtons dt {
		margin: 0;
	}
	
	.contact-form .contactMessage dd,
	.contact-form .contactButtons dd {
    	margin: 0 0 5px;
	}
}

@media only screen and (max-width: 380px) {
	.contact-form #easycalccheckplus label br {
		display: none;
	}
}

@media only screen and (max-width: 345px) {
	
	#gkHeader {
    	border-top: 50px solid #333;
	}
	
	#gkHeaderNav {
		height: 50px;
		padding-top: 8px;
	}
	
	/*.awHeader {
		height: 450px !important;
	}
	
	.awHeader .inner {
		left: 7%;
		top: 25px;
	}
	
	.awHeader .headerButton {
		margin: 7px 0 0;
	}
		
	.awHeader .headerText p {
		margin-bottom: 10px;
		margin-top: 5px;
	}*/
	
	#gkLogo {
		margin: 7px 0 0 !important;
	}
	
	#gkLogo > img {
		width: 150px;
	}
	
	.awHeader {
		background-position: 69% top !important;
	}
}
