/*
#------------------------------------------------------------------------
# Simplicity - February Joomla! template (for Joomla 2.5)
#
# Copyright (C) 2007-2013 Gavick.com. All Rights Reserved.
# License: Copyrighted Commercial Software
# Website: http://www.gavick.com
# Support: support@gavick.com 
*/

.gkPage {
	padding: 0 15px!important;
}

#gkSidebar .box,
#gkBottom1 .box,
#gkBottom2 .box,
#gkBottom3 .box,
#gkBottom4 .box,
#gkBottom5 .box,
#gkBottom6 .box {
	clear: both!important;
	float: none!important;
	width: 100%;
}
#gkBottom1 .box,
#gkBottom2 .box,
#gkBottom3 .box,
#gkBottom4 .box,
#gkBottom5 .box,
#gkBottom6 .box  {
	margin-bottom: 20px;	
}
#gkSidebar > div {
	margin-top: 20px!important;
	padding-top: 25px!important;
}
#gkSidebar > div > .box {
	float: none;
	margin-top: 0!important;
	margin-bottom: 12px!important;
	width: 100%;
}
#gkSidebar > div > .box:nth-child(2n+1) {
	clear: both!important;
}
#gkSidebar > div > .box:nth-child(odd) {
	padding-right: 0px;	
}
#gkSidebar > div > .box:nth-child(even) {
	padding-left: 0px;
}

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

/* Fix for the user profile */
.profile dt {
	width: 100% !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,
.contact .contact-form textarea {
	width: 100% !important;
}

/* Fix for the search */
fieldset.word #search-searchword,
fieldset.word .inputbox {
	width: 50%;
}
fieldset.phrases .ordering-box,
fieldset.only input[type="checkbox"],
fieldset.phrases input[type="radio"] {
	clear: both;
}

/* Fix for the register */
#member-registration dd {
	clear: both !important;
	display: block !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: 320px), only screen and (max-device-width: 320px) and (-moz-max-device-pixel-ratio: 1.5), only screen and (max-device-width: 320px) and (-o-max-device-pixel-ratio: 1.5/1), only screen  and (max-device-width: 320px) and (-webkit-max-device-pixel-ratio: 1.5), only screen and (max-device-width: 320px) and (max-device-pixel-ratio: 1.5), only screen and (max-device-width: 640px) and (-moz-min-device-pixel-ratio: 2), only screen and (max-device-width: 640px) and (-o-min-device-pixel-ratio: 2/1), only screen and (max-device-width: 640px) and (-webkit-min-device-pixel-ratio: 2), only screen and (max-device-width: 640px) and (min-device-pixel-ratio: 2) {
	#gkMainbody table {
		width: 260px!important;
	}
}

@media only screen and (max-width: 480px) and (orientation:landscape), only screen and (max-device-width: 480px) and (-moz-max-device-pixel-ratio: 1.5) and (orientation:landscape), only screen and (max-device-width: 480px) and (-o-max-device-pixel-ratio: 1.5/1) and (orientation:landscape), only screen  and (max-device-width: 480px) and (-webkit-max-device-pixel-ratio: 1.5) and (orientation:landscape), only screen and (max-device-width: 480px) and (max-device-pixel-ratio: 1.5) and (orientation:landscape), only screen and (max-device-width: 960px) and (-moz-min-device-pixel-ratio: 2) and (orientation:landscape), only screen and (max-device-width: 960px) and (-o-min-device-pixel-ratio: 2/1) and (orientation:landscape), only screen and (max-device-width: 960px) and (-webkit-min-device-pixel-ratio: 2) and (orientation:landscape), only screen and (max-device-width: 960px) and (min-device-pixel-ratio: 2) and (orientation:landscape) {
	#gkMainbody table {
		width: 420px!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;
}

/* article fix */
#gkContent article > time {
	display: none!important;
}
#gkContent article > time + header {
	padding-left: 0!important;
}
#gkContent article header li.itemDate,
#gkContent article header li.item-date {
	display: block;
}

/* NSP adjustments */
.nspArtPage .nspArt {
	border-top: 1px solid #eee!important;
	border-left: none!important;
	padding-bottom: 20px!important;
	padding-top: 20px!important;
	width: 100%!important;
}
.nspArtPage .nspArt:first-child {
	border-top: none!important;
}

/* other elements */
article header h1, 
.category header {
	line-height: 32px;
	padding: 18px 0 0px;
}

article header h1, 
.category header, 
article header h2 {
	font-size: 24px;
}

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;
}

.itemComments .itemCommentsList li img {
	float: left;
	margin-left: 0;
	margin-right: 10px;
	position: static;
}

.itemCommentsList li h3 {
	float: none;
	margin-top: 5px;
}

#gkMainbody .registration {
	width: 100%;
}

/* NSP */
.box.header .nspImageWrapper h4 {
	font-size: 14px!important;
}

.nspArts,
.nspLinksWrap {
	clear: both;
	float: left!important;
	width: 100%!important;
}

/* Demo content */
.gkPriceTable dl {
	margin: 20px auto!important;
	width: 100%!important;
}

.gkButtonArea h3 small {
	line-height: 22px;
	margin-top: 10px;
}

.gkHorizontalSlideLeftColumn {
	width: 100%;
}

.gkHorizontalSlideRightColumn {
	display: none;
}

.box.layered {
	padding-top: 100px;
}

.box.centered h2.header {
	font-size: 30px;
}

.imageBg #gkHeaderMod input[type="email"],
.imageBg #gkHeaderMod input[type="submit"],
.imageBg #gkHeaderMod .gk-form {
	width: 250px;
}

.imageBg #gkHeaderMod .gk-form {
	margin: 25px 0;
}

.imageBg #gkHeaderMod .gk-video-link {
	font-size: 18px;
}

.imageBg #gkHeaderMod h1 {
	font-size: 24px;
	line-height: 1.2;
	letter-spacing: normal;
}

.imageBg #gkHeaderMod h2 {
	font-size: 15px;
	line-height: 1.2;
}

.imageBg #gkHeaderMod {
	padding: 30px 10px 20px 10px!important;
}

.imageBg #gkHeader {
	background-image: url('../images/header_mobile.jpg');
}

#gkFooterNav li {
	float: none;
}

/* K2 fixes */
.itemBody.containsItemInfo, 
.itemOtherElements.containsItemInfo,
.itemListView .itemBlock.containsItemInfo {
	margin-left: 0!important;
}

aside.itemAsideInfo {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin: 20px 0!important;
	position: static!important;
	width: 100%!important;
}

.itemCommentsList li > div > div > span {
	clear: both;
	display: block;
}

.itemCommentsList li > div {
	margin-left: 0!important;
	padding-left: 0!important;
}

.itemComments h3 {
	font-size: 30px;
	padding: 30px 0 0;
}

.items-row > div {
	margin-bottom: 30px;
	padding: 0!important;
}

article header h1,
article header h2 {
	font-size: 24px!important;
	line-height: 1.2;
}

.genericView .itemView {
	padding: 0!important;
	width: 100%!important;
}

.itemAuthorDetails {
	clear: both;
	margin-left: 0!important;
}

.itemAuthorData {
	padding: 16px 0;
}

.itemAuthorData img {
	display: block;
	margin: 0 0 20px 0;
}

#gkBottom4 .gkButtonArea h3 {
    font-size: 27px !important;
}

#gkBottom4 .gkButtonArea h3 small {
    font-size: 18px;
}

.imageBg #gkHeaderMod p a {
    font-size: 18px !important;
    padding: 0 20px !important;
}

.imageBg #gkHeaderMod .gk-form {
    margin: 4px 0;
}

.imageBg #gkHeaderMod input[type="submit"] {
    font-size: 18px !important;
}

.home-cats table tr td {
    display: block;
    float: left;
    width: 50%;
}

.home-cats table tr td img {
    width: 95%;
}

#colorbox {
	width: 100% !important;
}

#cboxLoadedContent img {
	height: auto !important;
    max-width: 270px !important;
}

body.caseStudy article header h1 {
    margin-top: 21px;
}

body.caseStudy pre {
    line-height: 20px !important;
}

b, strong {
    font-weight: 600 !important;
}

body.commercial-alarms .containsItemInfo, body.commercial-alarms .containsItemInfo h2 {
	max-width: 100% !important;
}

body.normal-page .containsItemInfo form {
    margin: 0 auto;
}

body.commercial-alarms .gkPage,
body.automation .gkPage,
body.hd-surv .gkPage {
     padding: 0 !important;
}

.commercial-alarms .sect, .automation .sect {
    padding-left: 25px;
	padding-right: 25px;
}

body.commercial-alarms .containsItemInfo,
body.automation .containsItemInfo {
    padding-bottom: 0;
    padding-top: 0;
}

body.commercial-alarms #gkContentWrap > section:first-child,
body.automation #gkContentWrap > section:first-child {
    padding-top: 0;
}

body.commercial-alarms #gkContentWrap,
body.automation #gkContentWrap {
    margin-top: 0;
}

body.automation .box table tr td {
	display: block;
    float: left;
    width: 50%;
}

body.automation .containsItemInfo h1 {
    font-size: 25px;
    line-height: 28px;
}

body.automation .containsItemInfo h2 {
    font-size: 15px;
    line-height: 23px;
    margin-bottom: 23px;
}

body.automation .box table tr td input[type="submit"] {
    font-size: 19px;
    width: 99%;
}

body.automation .box table tr td.full {
	width: 100%;
}

body.hd-surv .itemBody form {
    margin: 0;
}

.smarter-surv table tr td {
    display: block;
    float: left;
    width: 100%;
}

.smarter-surv form {
    width: 268px;
}

.smarter-surv input[type="submit"] {
    font-size: 16px;
    padding: 0 20px;
}


body.automation #gkBottom1 .box h3.header {
    margin-top: 0 !important;
    max-width: 80% !important;
    padding-bottom: 30px !important;
    padding-top: 0 !important;
}




/* New */
body.sections .itemBody {
    padding: 50px 20px 60px;
}

body.sections .itemBody h2 {
    font-size: 27px;
    line-height: 35px;
}

body.sections .itemBody form {
    margin: 25px 0 0;
}

body.sections .itemBody input[type="submit"] {
    font-size: 21px;
}

body.sections p.gkCentered {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 20px;
    line-height: 30px;
    margin-top: 32px;
}

.green-line hr {
    margin-bottom: 20px;
}

body.sections .content h1,
body.sections .content h2 {
    font-size: 25px !important;
    line-height: 30px !important;
    margin-bottom: 10px;
}

body.sections .content p,
body.sections .content ul li {
    font-size: 16px;
    line-height: 25px;
    margin-top: 16px;
}

.box-one .gkRightColumn {
    padding-left: 0;
    text-align: center;
}

.box-two .gkRightColumn {
    padding-bottom: 13px !important;
    padding-top: 30px !important;
}


.box-three {
    padding-bottom: 15px;
}

.box-three .gkLeftColumn {
    padding-top: 0 !important;
}

.box-four {
    padding-top: 6px;
    padding-bottom: 11px;
}

body.sections .content .box-four ul li {
    margin-top: 0;
}

.box-five {
    padding-bottom: 28px;
    padding-top: 12px;
}


.box-five .gkRightColumn {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
}

.custom.box-six .gkRightColumn {
    padding: 26px 20px 16px;
    width: 100%;
}

.custom.box-seven {
    padding-bottom: 40px;
    padding-top: 35px;
}












@media (max-width: 480px) {
	
	.hotcarousel {
		margin: auto;
		width: 250px;
	}
	
	.hotcarousel .js {
		width: 210px;
	}
	
	.hotcarousel img {
    	margin: 0;
	}
	
	body.automation .box table tr td {
		width: 100%;
	}
	
	body.automation .box h3.header {
    	max-width: 300px;
	}
	
	body.automation .hotcarousel .js {
     	height: 158px;
	}
	
	.youtube-vid h2, .youtube-vid p {
    	margin: auto;
    	text-align: center;
	}
	
	.youtube-vid .contentvid {
		padding-top: 130px;
	}
	
	body.automation .containsItemInfo h2 {
		font-size: 27px;
		line-height: 35px;
		width: 90%;
	}
	
	body.automation .containsItemInfo p {
		margin: auto auto 27px;
		width: 90%;
	}
	
	body.hd-surv .itemBody {
		padding-bottom: 65px !important;
		padding-top: 0 !important;
	}
	
	.smarter-surv table tr td h2 {
		margin-top: 0;
		width: 100% !important;
	}
	
	.customsmarter-surv h2 {
		margin: 10px auto 33px;
		width: 71% !important;
	}
	
	.box.other-services {
		padding-top: 3em;
	}
	
	.item-pagehd-surv p {
		font-size: 15px;
		margin: 10px auto 20px;
		max-width: 90%;
	}

}