/*
#------------------------------------------------------------------------
# inStyle - November 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 
*/

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

/* Containers */
#gkHeader {
	margin-bottom: 20px;
}
#gkTopMenu > ul {
	text-align: center;
}
#gkTopMenu > ul li {
	display: inline-block;
	float: none;
}
#gkTopMenu > ul li:before {
	display: none;
}
#gkLogo {
	margin: 0!important;
}
#gkLogo.cssLogo {
	margin-top: 14px!important;
}
#gkMobileMenu {
	margin-top: 35px!important;
}
#gkSidebar .box,
#gkBottom1 .box,
#gkBottom2 .box,
#gkBottom3 .box {
	clear: both!important;
	float: none!important;
	margin: 0 auto!important;
	max-width: 300px;
	width: 100%;
}
#gkBottom1 .box,
#gkBottom2 .box,
#gkBottom3 .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 {
	width: 100%!important;
}
#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;
}
.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 */
.box.notablet {
	display: block!important;
}
.box.nomobile {
	display: none!important;
}
.box.onlytablet {
	display: none!important;
}
.box.onlymobile {
	display: block!important;
}
.box.notablet.nomobile {
	display: none!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;
}
article header ul {
	margin: 0 0 10px;
}

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

.itemBody {
	width: 100%!important;
}
#gkInset {
	padding: 0!important;
	width: 100%!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%;
}

#gkFooterNav li {
	float: none;
}

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

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

.nspArt .nspImageWrapper {
	width: 100%;
}

/* IS */
.gkIsWrapper-gk_shop_and_buy ol {
	display: none;
}
.gkIsWrapper-gk_shop_and_buy .figcaption h3 {
	font-size: 36px;
	line-height: 0.7;
}

/* 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: 20px;
	padding: 10px 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: 0!important;
	padding: 10px;
}
.itemAuthorData {
	padding: 0;
}
.itemAuthorData img {
	display: block;
	margin: 0 0 20px 0;
}
.itemAuthorBlock > .gkAvatar > img {
	margin: 12px!important;
}
.itemComments h3, 
.itemAuthorContent h3 {
	padding: 0 0 24px;
}
.itemComments p {
	clear: both;
} 
.itemComments .itemCommentsList li span {
	font-size: 12px;
	margin: 0 12px 0 0;
	clear: both;
	float: left;
}
.itemComments .itemCommentsList li > img, 
.k2LatestCommentsBlock img, 
.itemAuthorBlock > .gkAvatar > img {
	margin: 10px 0;
}
.itemComments .itemCommentsList li {
	padding: 24px 0 12px 0;
}
#gkPopupCart,
#gkPopupLogin {
	margin-left: -150px;
	width: 300px;
}
#gkPopupCart .vmGkCartProducts > div > div {
	margin-left: 85px;
}
#gkPopupCart .gkTotal {
	font-size: 40px;
	margin: 0 0 0 85px;
}
span#fb-auth {
	padding: 7px 8px 7px 7px;
}
.gkPopupWrap {
	padding: 15px;
}
.gkPopupWrap h3 {
	font-size: 20px;
	font-weight: 400;
	line-height: 24px;
	margin: 0 0 10px;
}
.gkPopupWrap h3 a {
	font-size: 14px;
}

/* VM */
.width50,
.width40,
.width33,
.width25,
.width20 {
    clear: both;
    float: none!important;
    margin: 0 auto;
    max-width: 240px;
    width: 100%!important;
}
.productDetails .floatright,
.productDetails .floatleft {
    clear: both;
    float: none!important;
    margin: 20px 0;
    width: 100%;
}
.productDetails .additional-images .floatleft {
    clear: none;
    float: left!important;
    width: auto;
}
.row > div {
    float: none!important;
}
.width50 .spacer img,
.width40 .spacer img,
.width33 .spacer img,
.width25 .spacer img,
.width20 .spacer img {
    display: block;
    margin: 0 auto;
}
.product-related-products, 
.product-related-categories {
    text-align: center;
}
.product-related-products > div, 
.product-related-categories > div {
    border-right: none!important;
    margin: 0 auto;
    float: none!important;
    clear: both!important;
}
.orderby-displaynumber:after {
    clear: both;
    content: "";
    display: table;
}
.orderby-displaynumber .display-number {
    clear: both;
    float: left;
    margin-top: 10px;
    min-width: 150px!important;
    text-align: left;
}
.vertical-separator {
    padding: 0!important;
}
.row .product,
.row .category {
    margin-bottom: 20px!important;
}
.width20:nth-child(odd),
.width25:nth-child(odd) {
    clear: both!important;
    padding-left: 0!important;
    padding-right: 0px!important;        
}
.width20:nth-child(even),
.width25:nth-child(even) {
    padding-left: 0px!important;
    padding-right: 0!important;        
}

#product-tabs,
.gkTabsWrap ol,
#ui-tabs ul#tabs {
    border: 1px solid #e5e5e5;
    margin: 20px 0 -1px;
    overflow: hidden;
}

#product-tabs li,
.gkTabsWrap ol li,
#ui-tabs ul#tabs li {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: none!important;
    border-top: 1px solid #e5e5e5!important;
    text-align: center;
    width: 100%;
}

#product-tabs li:first-child,
.gkTabsWrap ol li:first-child,
#ui-tabs ul#tabs li:first-child {
    border-top: none!important;
}

#product-tabs li.active,
.gkTabsWrap ol li.active,
.gkTabsWrap ol li.active:hover,
#ui-tabs ul#tabs li.current {
    border: none!important;
    border-top: 1px solid #e5e5e5!important;
}
#facebox {
    max-width: 300px!important;
}
#facebox .popup > div > div > h4 {
    min-width: 200px!important;
    max-width: 300px!important;
}

/* Overlay menu */
#gkMenuOverlayWrap {
    margin: -20px 0 0 -150px!important;
    max-width: 300px!important;
}

#gkMenuOverlayWrap.open {
    margin-top: 0!important;
}

#gkMenuOverlayContent .gkcol li {
    font-size: 15px;
}

#gkMenuOverlayContent .gkcol li,
#gkMenuOverlayContent .gkcol li a {
    line-height: 38px;
}

#gkMenuOverlayHeader {
    font-size: 36px;
    line-height: 72px;
}

#gkMenuOverlayClose {
    font-size: 20px;
    line-height: 72px;        
}