//--------------------------------------------------------------
// Copyright (C) joomla-monster.com
// License: http://www.joomla-monster.com/license.html Joomla-Monster Proprietary Use License
// Website: http://www.joomla-monster.com
// Support: info@joomla-monster.com
//---------------------------------------------------------------

// VARIABLES import
//---------------------------------------------------------------

@import "bootstrap_variables.less";  
@import "template_variables.less";

// MIXINS import
//---------------------------------------------------------------
  
@import "override/ltr/mixins.less";
@import "template_mixins.less";

// DJCATALOG2
//---------------------------------------------------------------

//clearfix
.djc_clearfix {
	min-width: 0;
	display: block;
	&:after {
		content: "";
		display: block;
		height: 0;
		clear: both;
		visibility: hidden;
	}
}

.djc_clear {
	clear: both;
	height: 0;
	line-height: 0;
	font-size: 0;
}

//reset default
#djcatalog a img {
	border: none;
	outline: none;
}

#djcatalog .img-polaroid,
.mod_djc_item .img-polaroid {
	border: none;
	padding: 0;
	background: none;
	.box-shadow(none);
}

#djcatalog form {
	margin: 0;
}

//pagination
#djcatalog .pagination {
	padding: 0;
}

//readmore
.djc_readon {
	display: inline-block;
	width: 100%;
	margin: 0;
}

//rss
a.djc_rss_link {
	display: inline-block;
	margin: 0 5px;
}

#djcatalog > a.djc_rss_link {
	display: block;
	text-align: right;
	margin: 5px 0;
}

//price
#jm-allpage .djc_price {
	span {
		font-weight: 700;
		font-size: 15px;
	}
	.djc_price_old {
		text-decoration: line-through;
		font-weight: normal !important;
		color: #ff0000 !important;
	}
	.djc_price_new {
		color: @JMstyle;
	}
}

//btn
.btn() {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  line-height: @baseLineHeight;
  text-decoration: none;
  .border-radius(2px);
	border: 2px solid @JMbuttonBorder;
  background: @JMbuttonBackground;
  .box-sizing(border-box);
  font-family: inherit;
  font-size: @JMbuttonFontSize;
  font-weight: @JMbuttonFontWeight;
  padding: @JMbuttonPadding;
  height: auto;
  color: @JMbuttonFontColor;
	text-transform: @JMbuttonTextTransform;
  
  // Hover/focus/active state
  &:hover,
  &:focus,
	&:active {
    text-decoration: none;
    .transition(all 0.2s ease-in);  
		color: @JMbuttonFontColorHover;
		background: @JMbuttonBackgroundHover;
  }
}

//readmore
.readmore() {
	text-transform: @JMbuttonTextTransform;
	display: inline-block;
	vertical-align: top;
	text-decoration: none;
  padding: 14px 100px;
  font-size: @JMbuttonFontSize;
  font-weight: @JMbuttonFontWeight;
  line-height: @baseLineHeight;
  .transition(all 0.2s ease-in);
  color: @JMreadmoreFontColor;
  background: @JMreadmoreBackground;
  border: 2px solid @JMreadmoreBorder;
  .border-radius(2px);
  padding: @JMreadmorePadding;
  &:hover {
  	text-decoration: none;
		background: @JMreadmoreBackgroundHover;
		border: 2px solid @JMreadmoreBorderHover;
  }
}

// Modal Window
// -------------------------- 

#lbPrevLink, #lbNextLink {
	background-color: transparent !important;
}

.djc_cart_modal .djc_cart_popup {
	text-align: center;
}

.djc_cart_modal .djc_cart_popup p {
	margin: @JMbaseSpace 0 0;
	font-size: 24px;
	font-weight: bold;
	line-height: 1.2;
}

.djc_cart_modal .djc_cart_popup a {
	margin: @JMbaseSpace 0 0;
	.btn();
}

// Subcategories
// -------------------------- 

//category heading in subcategory
#djcatalog .djc_subcategories h2.djc_title {
  display: none;
}

#djcatalog .djc_subcategories {
	border: none;
}

#djcatalog {
  .djc_category h2.djc_title,
  .djc_subcategories h2.djc_title {
    font-weight: @JMmoduleTitleFontWeight;
		font-family: @JMmoduleTitleFontFamily;
		font-size: @JMmoduleTitleFontSize;
		line-height: 1.1;
    margin: 0 0 @JMbaseSpace;
  }
}

#djcatalog .djc_subcategories_grid .djc_subcategory {
	float: left;
}

#djcatalog .djc_subcategories_grid {
	margin-left: -(@JMbaseSpace /2);
	margin-right: -(@JMbaseSpace /2);
}

#djcatalog .djc_subcategories_grid .djc_subcategory_bg {
	margin: 0 (@JMbaseSpace /2) @JMbaseSpace;
	.box-sizing(border-box);
	position: relative;
}

#djcatalog .djc_subcategory .djc_image a {
	position: relative;
	display: inline-block;
	vertical-align: top;
	overflow: hidden;
	max-width: 100%;
	img {
		max-width: 100%;
		.box-sizing(border-box);
	}
	&:after {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(red(@JMimgEffectBackground),green(@JMimgEffectBackground),blue(@JMimgEffectBackground),@JMimgEffectOpacity);
		content: '';
		-webkit-transition: -webkit-transform 0.6s;
		transition: transform 0.6s;
		-webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-130%,0);
		transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-130%,0);
		pointer-events: none;
	}
	&:hover {
		&:after {
			-webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,130%,0);
			transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,130%,0);
		}
	}
}

#djcatalog .djc_subcategory_in {
	text-align: center;
} 
 
#djcatalog .djc_subcategories .djc_title h3 {
	color: @JMCatalogCategoriesFontColor;
  font-size: @JMcatalogCategoriesFontSize;
  font-weight: @JMcatalogCategoriesFontWeight;
  line-height: 1.1;
	margin: 0;
  a {
		color: @JMCatalogCategoriesFontColor;
    text-decoration: none;
		&:hover {
			color: @JMCatalogCategoriesFontColorHover;
		}
  }
} 
 
#djcatalog .djc_subcategories_grid {
	.djc_image + .djc_title {
		margin-top: 20px;
	}
	.djc_description {
		margin-top: 20px;
		padding-top: 30px;
		position: relative;
		&:after {
			content: '';
			position: absolute;
			width: 28px;
			max-width: 100%;
			height: 2px;
			top: 0;
			left: 50%;
			right: auto;
			margin-left: -14px;
			background: @JMcenterLineColor;
		}
	}
}

#djcatalog .djc_subcategories_grid {
	.djc_readon,
	.clear {
		display: none;
	}
}

//in category parent
#djcatalog .djc_category {
	margin: 0 0 @JMbaseSpace;
}

// Filters
// -------------------------- 

#djcatalog .djc_filters .djc_filters_in {
	padding: @JMbaseSpace 0;
	margin: 0;
	.box-shadow(none);
	border: none;
}

#djcatalog .djc_filter_list,
#djcatalog .djc_filter_map_search,
#djcatalog .djc_filter_radius_search,
#djcatalog .djc_filter_search,
#djcatalog .djc_order_buttons {
	line-height: @JMinputHeight;
	margin: 0;
	li {
		display: inline-block;
		vertical-align: top;
		padding: 0;
		margin-right: 20px;
		width: auto;
	}
	li:first-child span {
		display: inline-block;
		vertical-align: top;
		font-weight: 500;
	}
	li > span {
		min-width: 80px;
	}
}

#djcatalog .djc_filter_list .inputbox,
#djcatalog .djc_filter_list select, 
#djcatalog .djc_filter_map_search .inputbox,
#djcatalog .djc_filter_map_search select,
#djcatalog .djc_filter_search .inputbox {
	min-width: 300px;
	max-width: 100%;
	&.input-mini {
		min-width: 0;
		max-width: 60px;
	}
}

#djcatalog .djc_filter_list,
#djcatalog .djc_filter_map_search {
	margin: 0 0 20px;
}

#djcatalog .djc_filters {
	form,
	select,
	input.inputbox {
		margin: 0;
	}
}

//advanced
#djcatalog .djc_additional_filters_in {
	padding: @JMbaseSpace 0;
	margin: 0;
	.box-shadow(none);
	border: none;
}

#djcatalog .djc_filters,
#djcatalog .djc_additional_filters {
	.djc_adv_search_wrap {
		margin: 15px 0 0;
		text-align: right;
		span {
			color: @JMstyleLink;
			cursor: pointer;
			&:hover {
				text-decoration: underline;
			}
		}
		.icon-cog,
		.icon-uparrow {
			top: 2px;
			&:hover {
				text-decoration: none;
			}
		}
		.icon-uparrow:before {
			content: "\e014";
		}
	}
}

// abc buttons
#djcatalog .djc_atoz .djc_atoz_in {
	padding: @JMbaseSpace 0;
}

#djcatalog .djc_atoz_list {
	text-align: center;
	margin: -5px 0 0;
	padding: 0;
	li {
		display: inline-block;
		vertical-align: top;
		margin: 5px 2px 0 !important;
		padding: 0;
		width: auto !important;
		list-style: none;
		background: none;
		text-align: center;
		a {
			text-decoration: none;
		}
		a span, 
		span span {
			display: block;
			padding: 0;
			margin: 0;
			text-transform: uppercase;
			font-size: 13px;
			line-height: 25px;
			width: 24px;
			.box-sizing(border-box);
		}
		span span {
			cursor: default;
			background: @JMbuttonFontColor;
			color: @JMbuttonBackground;
			border-color: transparent;
		}
		.btn.active {
			background: none;
			color: @JMbuttonFontColorHover;
		}
	}
}

//order
#djcatalog .djc_order .djc_order_in {
	.box-shadow(none);
	padding: @JMbaseSpace 0;
	margin: 0;
	border: none;
}

#djcatalog .djc_filters + .djc_order .djc_order_in {
	border-top: none;
}

#djcatalog .djc_order .djc_order_buttons {
	line-height: 1;
	li {
		margin-right: 12px;
		padding-right: 20px;
		background-image: url('../images/li.png');
		background-position: right center;
		background-repeat: no-repeat;
		&:first-child,
		&:last-child {
			padding: 0;
			background: none;
		}
	}
	.djcat_order_dir {
		margin: 0 0 0 6px;
	}
}

//layout buttons
#djcatalog .djc_layout_switch {
	padding: @JMbaseSpace 0 0;
}

#djcatalog .djc_layout_buttons {
	float: right;
	margin: 0;
	li {
		float: right;
		background: none;
		padding: 0 0 0 2px;
		list-style: none;
		.btn {
			line-height: 1;
			.box-sizing(content-box);
			position: relative;
			padding: 10px;
			&:after {
				position: relative;
				top: 1px;
				display: inline-block;
				font-family: 'Glyphicons Halflings';
				font-style: normal;
				font-weight: normal;
				-webkit-font-smoothing: antialiased;
				-moz-osx-font-smoothing: grayscale;
			}
		}
	}
}

//grid
#djcatalog .djc_layout_buttons li:nth-child(1) .btn {
	&:after {
		content: "\e011";
	}
}
//table
#djcatalog .djc_layout_buttons li:nth-child(2) .btn {
	&:after {
		content: "\e012";
	}
}

#djcatalog .djc_layout_buttons li a img {
	display: none;
}

#djcatalog .djc_items {
	padding-top: @JMbaseSpace;
}

// Borders
// -------------------

#djcatalog .djc_subcategories + div,
#djcatalog .djc_category + div,
#djcatalog div:first-child .djc_filters_in {
	border-top: 1px solid @JMborder;
}

//filters
#djcatalog .djc_filters .djc_filters_in {
	border-bottom: 1px solid @JMborder;
}

//advanced
#djcatalog .djc_filters + div .djc_additional_filters_in {
	border-bottom: 1px solid @JMborder;
}

//atoz
#djcatalog .djc_atoz .djc_atoz_in {
	border-bottom: 1px solid @JMborder;
}

//order
#djcatalog .djc_order .djc_order_in {
	border-bottom: 1px solid @JMborder;
}

// Custom attributes table
// -------------------------- 

#djcatalog div.djc_attributes {
	table {
		background: none;
		border-collapse: collapse;
		border-spacing: 0;
		margin: 0;
		.djc_attribute {
			border: none;
			td {
				padding: 10px;
				border: none;
				border-top: 1px solid @JMborder;
				vertical-align: middle;
			}
			&:first-child td {
				border: none;
			}
			td.djc_label {
				padding-left: 0;
				padding-right: 0;
				font-weight: bold;
			}
		}
	}
}

// Blog view
// -------------------------- 

#djcatalog .djc_items,
#djcatalog .djc_related_items {
	.djc_item_row .djc_image a {
		display: inline-block;
		vertical-align: top;
		position: relative;
		overflow: hidden;
		max-width: 100%;
		img {
			max-width: 100%;
			.box-sizing(border-box);
		}
		&:after {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background: rgba(red(@JMimgEffectBackground),green(@JMimgEffectBackground),blue(@JMimgEffectBackground),@JMimgEffectOpacity);
			content: '';
			-webkit-transition: -webkit-transform 0.6s;
			transition: transform 0.6s;
			-webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-130%,0);
			transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-130%,0);
			pointer-events: none;
		}
		&:hover {
			&:after {
				-webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,130%,0);
				transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,130%,0);
			}
		}
	}
	.djc_item {
		float: left;
	}
}

#djcatalog .djc_item_row {
	margin-left: -(@JMbaseSpace /2);
	margin-right: -(@JMbaseSpace /2);
}

#djcatalog .djc_items .djc_item_bg,
#djcatalog .djc_related_items .djc_item_bg {
	padding-left: (@JMbaseSpace /2);
	padding-right: (@JMbaseSpace /2);
	margin-bottom: @JMbaseSpace;
}

#djcatalog {
  .djc_items .djc_title,
  .djc_related_items .djc_title {
		h3 { 
			font-weight: @JMmoduleTitleFontWeight;
			font-family: @JMmoduleTitleFontFamily;
			font-size: @JMmoduleTitleFontSize;
			line-height: 1.1;
			margin: 0;
			a {
				color: inherit;
				&:hover {
					text-decoration: none;
					color: @JMstyleLink;
				}
			}
		}
	}
}

//featured
#djcatalog .djc_items,
#djcatalog .djc_related_items  {
	img.djc_featured_image {
		display: none;
	}
	.featured_item .djc_title h3 {
		background-image: url("../images/catalog/featured.png");
		background-position: left center;
		background-repeat: no-repeat;
		padding-left: 25px;
	}
}

#djcatalog .djc_items .djc_title,
#djcatalog .djc_items .djc_description,
#djcatalog .djc_related_items .djc_title,
#djcatalog .djc_related_items .djc_description {
	text-align: left;
	padding-top: 20px;
}

#djcatalog .djc_items .djc_title + .djc_description,
#djcatalog .djc_related_items .djc_title + .djc_description {
	padding-top: 8px;
}

#djcatalog .djc_author,
#djcatalog .djc_date,
#djcatalog .djc_hits {
	small {
		font-size: 100%;
	}
}

//labels
#djcatalog {
  .djc_category_info,
  .djc_producer_info,
  .djc_price,
  .djc_author,
  .djc_date,
  .djc_hits,
	.djc_contact	{
    span {
      margin-left: 5px;
    }
  }
}

//attributes table
#djcatalog .djc_items,
#djcatalog .djc_related_items {
	.djc_item .djc_description  .djc_attributes {
		margin: 10px 0 0;
	}
}


#djcatalog .djc_items .djc_item,
#djcatalog .djc_related_items .djc_item {
	.djc_addtocart,
	.djc_readon {
		margin: 20px 0 0;
		display: inline-block;
		width: auto;
		text-align: center;
	}
}

#djcatalog .djc_items,
#djcatalog .djc_related_items {
	.djc_item .djc_addtocart + .clear {
		display: none;
	}
}

#djcatalog .djc_items,
#djcatalog .djc_related_items {
	.djc_item .djc_addtocart + div + .djc_readon {
		margin-left: 10px;
	}
}

// Table
// -------------------------- 

#djcatalog.djc_list table.category,
#djcatalog.djc_mylist table.category,
#djcatalog .djc_item_variants {
	margin: 0 0 @JMbaseSpace;
	.djc_td_title {
		font-size: 18px;
		font-weight: 700;
		line-height: 1.1;
	}
	td {
		margin: 0 !important;
		padding: 20px;
		text-align: center;
		vertical-align: middle;
	}
	//featured
	tr.featured_item {
		img.djc_featured_image {
			display: inline-block;
			margin: 5px 0 0;
		}
	}
	//attributes
	div.djc_attributes {
		border: 1px solid @JMtableBorder;
		table .djc_attribute td.djc_label {
			padding-left: 10px;
		}
	}
	//image
	.djc_image img {
		max-width: none;
	}
}

#djcatalog.djc_list table.category .djc_td_title,
#djcatalog.djc_mylist table.category .djc_td_title {
	font-weight: @JMmoduleTitleFontWeight;
	font-family: @JMmoduleTitleFontFamily;
	font-size: @JMmoduleTitleFontSize;
	line-height: 1.1;
	text-transform: uppercase;
	a {
		color: @JMmoduleTitleFontColor;
		&:hover {
			text-decoration: none;
			color: @JMstyleLink;
		}
	}
}

// Producers and Producer
// -------------------------- 

#djcatalog.djc_producer .djc_images .djc_thumbnail {
	float: left;
}

// Single Product
// -------------------------- 

#djcatalog.djc_item h2.djc_title,
#djcatalog.djc_producer h2.djc_title {
	font-weight: @JMmoduleTitleFontWeight;
	font-family: @JMmoduleTitleFontFamily;
	font-size: @JMmoduleTitleFontSize;
	line-height: 1.1;
	text-transform: uppercase;
	color: @JMmoduleTitleFontColor;
  margin: 0 0 @JMbaseSpace;
}

#djcatalog.djc_item {
	.djc_location h3,
  .djc_files h3,
  .djc_comments h3,
  .djc_contact_form fieldset legend,
  .djc_related_items .djc_related_title {
		font-weight: @JMmoduleTitleFontWeight;
		font-family: @JMmoduleTitleFontFamily;
		font-size: @JMmoduleTitleFontSize;
		text-transform: uppercase;
		color: @JMmoduleTitleFontColor;
    margin: 0 0 (@JMbaseSpace * 0.75);
  }
}

#djcatalog.djc_item {
  .djc_contact_form fieldset legend {
		color: @JMbaseFontColor;
	}
}

//section space
#djcatalog .djc_contact_form,
#djcatalog.djc_item .djc_contact_form_toggler,
#djcatalog.djc_item .djc_item_info,
#djcatalog.djc_item .djc_addtocart,
#djcatalog.djc_item .djc_social_ad,
#djcatalog.djc_item .djc_fulltext,
#djcatalog.djc_item .djc_tabs,
#djcatalog.djc_item .djc_files,
#djcatalog.djc_item .djc_attributes,
#djcatalog.djc_item .djc_location,
#djcatalog.djc_item .djc_comments {
	margin: 0 0 @JMbaseSpace;
}

//intro
#djcatalog.djc_item .djc_introtext {
	margin: 0 0 10px;
}

//featured
#djcatalog.djc_item .djc_title img.djc_featured_image {
	vertical-align: top;
	margin-top: 4px;
	margin-right: 5px;
	display: inline-block;
}

//edit button
#djcatalog.djc_item .djc_title .btn-mini {
	vertical-align: top;
	line-height: 24px;
	font-size: 10px;
}

//thumbnails
#djcatalog.djc_item .djc_images {
	margin-left: 20px;
	margin-bottom: 20px;
	text-align: right;
	max-width: 100%;
	font-size: 0; //remove space from inline-block
	#djc_mainimagelink,
	.djc_thumbnail > a {
		display: block;
		position: relative;
		overflow: hidden;
		&:after {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background: rgba(red(@JMimgEffectBackground),green(@JMimgEffectBackground),blue(@JMimgEffectBackground),@JMimgEffectOpacity);
			content: '';
			-webkit-transition: -webkit-transform 0.6s;
			transition: transform 0.6s;
			-webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-130%,0);
			transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-130%,0);
			pointer-events: none;
		}
		&:hover {
			&:after {
				-webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,130%,0);
				transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,130%,0);
			}
		}
	}
}

#djcatalog.djc_item .djc_thumbnails {
	clear: both;
}

#djcatalog.djc_item .djc_thumbnail {
	display: inline-block;
	height: auto !important;
	line-height: normal !important;
	width: auto !important;
	max-width: 100%;
}

//btn toolbar
#djcatalog .djc_toolbar {
	margin-bottom: @JMbaseSpace;
	* {
		margin-top: 5px;
		&:first-child {
			margin-top: 0;
		}
	}
	input.btn,
	button.btn {
		font-size: @JMbuttonFontSize;
		padding: @JMbuttonPaddingTop @JMbuttonPaddingSide;
	}
	input.btn {
		background: none;
		color: @JMbuttonFontColorHover;
		&:hover {
			background: @JMbuttonBackground;
			color: @JMbuttonFontColor;
		}
	}
}

//producers link
#djcatalog a.djc_producer_items_link {
	display: inline;
	height: auto;
	line-height: normal;
	background: none;
	border: none;
	font-size: inherit;
	text-transform: none;
	color: @JMstyleLink;
	padding: 0;
	vertical-align: top;
	&:before {
		content: ' · ';
		color: @JMbaseFontColor;
	}
	&:hover {
		text-decoration: underline;
	}
	span {
		margin: 0 !important;
	}
}

#djcatalog .djc_producer_info {
	a.modal {
		margin-right: 5px;
	}
}

#djcatalog.djc_item .djc_category_info,
#djcatalog.djc_item .djc_producer_info,
#djcatalog.djc_item .djc_price {
	small {
		font-size: 100%;
	}
}

//contact form
#djcatalog.djc_item .djc_contact_form {
	clear: both;
	input,
	textarea {
		width: 100%;
		max-width: 400px;
	}
	input.checkbox {
		width: auto;
	}
}

#djcatalog.djc_item .djc_contact_form {
	legend {
		border: none;
		margin: 0;
		padding: 0;
	}
	legend + .control-group {
		margin-top: 0;
	}
}

#djcatalog.djc_item .djc_contact_form {
	fieldset > div:nth-last-child(2) > div {
		display: inline-block;
	}
	fieldset > div:nth-last-child(2) .controls input {
		vertical-align: middle;
		margin: 0 5px;
	}
}

#djcatalog.djc_item .djc_files {
	ul,
	.djc_file {
		padding: 0;
		margin: 0;
	}
	.djc_file {
		background: none;
	}
	.djc_file + .djc_file {
		padding: 10px 0 0;
	}
	li .button {
		padding: 10px;
	}
	li > br {
		display: none;
	}
	.djc_filesize {
		font-size: 12px;
		text-transform: uppercase;
		margin: 0 15px;
	}
}

//navi
#djcatalog .djc_product_top_nav {
	clear: both;
	margin: 0 0 @JMbaseSpace;
}

#djcatalog .djc_product_bottom_nav {
	clear: both;
	margin: 0 0 @JMbaseSpace;
}

#djcatalog .djc_product_top_nav,
#djcatalog .djc_product_bottom_nav {
	a.djc_prev_btn {
		float: left;
	}
	a.djc_next_btn {
		float: right;
	}
	.btn {
		background: none;
		border: none;
		text-transform: none;
		color: @JMbaseFontColor;
		padding: 0;
		font: inherit;
		&:hover {
			color: @JMstyle;
			text-decoration: underline;
		}
	}
}

//location
#djcatalog.djc_item .djc_location {
	.row-fluid {
		margin: 0;
	}
}

// User Products
// -------------------------- 

#djcatalog .djc_form_toolbar {
	margin-bottom: 10px;
}

#djcatalog.djc_list table.category,
#djcatalog.djc_mylist table.category {
	td {
		vertical-align: middle;
		width: auto;
	}
}

#djcatalog.djc_mylist table.category {
	.djc_button_edit,
	.djc_button_published,
	.djc_button_delete {
		display: block;
		border-bottom: none;
		img {
			vertical-align: top;
		}
	}
}

// Checkout Cart / Query
// -------------------------- 

#djcatalog.djc_checkout h2 {
	font-size: 20px;
	font-weight: 500;
	text-transform: uppercase;
}

#jm-allpage #djcatalog .djc_cart_table {
	th {
		text-align: center;
	}
	td {
		text-align: center;
		.djc_image {
			display: block;
			margin: 0 0 10px;
		}
	}
	td.djc_td_update_qty {
		padding-left: 5px;
		padding-right: 1px;
		text-align: right;
	}
	td.djc_td_cart_remove {
		padding-left: 1px;
		padding-right: 5px;
		text-align: left;
	}
	tfoot td {
		font-weight: 700;
	}
}

#djcatalog .djc_cart + form {
	text-align: center;
}

//success override
#jm-allpage #djcatalog .btn-success {
  border: 1px solid @JMbuttonBorder;
  background: @JMbuttonBackground;
  color: @JMbuttonFontColor;
	text-shadow: none;
	&:hover,
  &:focus {  
		color: @JMbuttonFontColorHover;
		background: @JMbuttonBackgroundHover;
  }
}

// Map
// -------------------------- 

#djcatalog .djc_map_wrapper {
	margin: @JMbaseSpace 0 0;
}

// Modules
// -------------------------- 

// front module
#jm-allpage .djf_mod {
  position: relative;
  .djf_cat h2 {
    font-size: (@JMmoduleTitleFontSize * 0.8);
		font-weight: @JMmoduleTitleFontWeight;
    font-family: @JMmoduleTitleFontFamily;
		line-height: 1.1;
    margin: 0 0 10px;
  }
  h3 {
    font-weight: @JMmoduleTitleFontWeight;
    font-family: @JMmoduleTitleFontFamily;
    font-size: @JMmoduleTitleFontSize;
		text-transform: uppercase;
		line-height: 1.1;
    margin: 0 0 @JMbaseSpace;
    a {
      color: inherit;
      text-decoration: none;
			&:hover {
				color: @JMstyleLink;
			}
    }
  }
  .djf_gal .djf_cell,
  .djf_img {
    background: none;
    .box-shadow(none);
    padding: 0;
    border: none;
  }
  .djf_gal {
    float: right;
  }
  .djf_gal .djc_col {
    float: left;
    margin: 10px 0 0 10px;
		padding: 0;
    .transition(all 0.2s ease-in);
		&:hover img {
			.opacity(80);
		}
  }
  .djf_gal .djf_row:first-child .djc_col {
    margin-top: 0;
  }
  .djf_img {
    float: left; 
    margin: 0;
  }
  .djf_left {
     margin: 0 @JMbaseSpace 0 0;
  }
  a.btn {
    margin: (@JMbaseSpace/2) 0 0;
		font-size: @JMbuttonFontSize;
		padding: @JMbuttonPadding;
  }
  .djf_text + div {
    display: none;
  }
  .djf_pag {
    margin: 0;
    position: absolute;
    bottom: 0;
    left: auto;
    right: 0;
    span {
			.btn();
      margin: 0 0 0 10px;
			line-height: @baseLineHeight;
			padding: 7px 20px;
			&.active {
				color: @JMbuttonFontColorHover;
				background: @JMbuttonBackgroundHover;
			}
    }
		//plus minus
    span.djcf_next_button,
    span.djcf_prev_button {
			line-height: 20px;
			width: auto;
			height: auto;
			padding: 6px 10px;
			position: relative;
			display: inline-block;
			font-family: 'Glyphicons Halflings';
			font-style: normal;
			font-weight: normal;
			-webkit-font-smoothing: antialiased;
			-moz-osx-font-smoothing: grayscale;
    }
    span.djcf_prev_button:before {
      content: "\2212";
    }
    span.djcf_next_button:before {
			content: "\2b";
    }
  }
}

// Items module
.mod_djc_items {
	margin-left: -(@JMbaseSpace /2);
	margin-right: -(@JMbaseSpace /2);
}

.mod_djc_items .djc_image img {
	max-width: 100% !important;
	.box-sizing(border-box);
}

.mod_djc_item {
	.box-sizing(border-box);
	padding-left: (@JMbaseSpace /2);
	padding-right: (@JMbaseSpace /2);
}

div.mod_djc_item {
	margin-top: @JMbaseSpace;
	text-align: center;
	&:first-child {
		margin-top: 0;
	}
	.djc_image {
		padding: 0 0 20px;
	}
	.djc_title,
	.djc_description {
		text-align: left;
	}
	.djc_readon {
		padding-top: 20px;
		.box-sizing(border-box);
	}
	.djc_category_info + .djc_introtext,
	.djc_producer_info + .djc_introtext,
	.djc_price + .djc_introtext {
		padding-top: 5px;
	}
}

div.mod_djc_items {
  .djc_title h4 {
    font-weight: @JMmoduleTitleFontWeight;
    font-family: @JMmoduleTitleFontFamily;
    font-size: @JMmoduleTitleFontSize;
		line-height: 1.1;
    padding: 0 0 10px;
		margin: 0;
    a {
      color: inherit;
      text-decoration: none;
			&:hover {
				color:  @JMstyleLink;
			}
    }
  }
}

div.mod_djc_item .djc_image a {
	display: inline-block;
	vertical-align: top;
	position: relative;
	overflow: hidden;
	max-width: 100%;
	img {
		max-width: 100%;
		.box-sizing(border-box);
	}
	&:after {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(red(@JMimgEffectBackground),green(@JMimgEffectBackground),blue(@JMimgEffectBackground),@JMimgEffectOpacity);
		content: '';
		-webkit-transition: -webkit-transform 0.6s;
		transition: transform 0.6s;
		-webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-130%,0);
		transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-130%,0);
		pointer-events: none;
	}
	&:hover {
		&:after {
			-webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,130%,0);
			transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,130%,0);
		}
	}
}

// Filters module
.mod_djc2filters {
  h4 {
		font-size: 14px;
		font-weight: 700;
		text-transform: uppercase;
		line-height: 1.1;
		margin: 0 0 10px;
  }
  .nav.menu {
    li a {
     padding: 0;
     background: none;
     border: none; 
    }
  }
	.control-label {
		display: block;
		margin: 0 0 5px;
	}
	.field_reset_button {
		display: inline-block;
		vertical-align: baseline;
		padding: 2px 5px;
		line-height: 1;
	}
	.field_reset_button + .mod_djc2filters_group_label {
		margin: 0 5px;
	}
	.mod_djc2filters_group_label {
		font-weight: bold;
		display: inline-block;
	}
	.btn {
		margin: 2px;
	}
}

//filters in filters section
#djcatalog #djc_additional_filters .mod_djc2filters {
	.mod_djc2filters_group_wrapper {
	margin: -10px -(@JMbaseSpace/2) 0;
	}
	.mod_djc2filters_attribute {
		float: left;
		width: @JMcatalogFiltersModuleGroupWidth;
		padding-left: (@JMbaseSpace/2);
		padding-right: (@JMbaseSpace/2);
		padding-top: 10px;
		margin: 0;
		.box-sizing(border-box);
	}
	.mod_djc2filters_buttons {
		clear: both;
		padding-top: 10px;
		padding-left: (@JMbaseSpace/2);
		padding-right: (@JMbaseSpace/2);
	}
}

// Producers module
select#mod_djc2producers_pid {
	max-width: 100%;
	.box-sizing(border-box);
	margin: 0;
}

form#producersForm {
	margin: 0;
}

// Search module
.djc_mod_search input#mod_djcatsearch {
	margin: 0 5px 0 0;
}

.djc_mod_search input.button {
	padding: 0 10px;
}

form#DJC2searchForm {
	margin: 0;
}

//cart module
#jm-top-bar .mod_djc2cart {
  .mod_djc2cart_info,
  .mod_djc2cart_button {
    display: inline-block;
  }
  .mod_djc2cart_button .btn {
    font-size: 10px;
    height: 25px;
    line-height: 20px;
    padding: 0 5px;
    vertical-align: top;
    margin-left: 10px !important;
  }
}

// tabs and accordion
#djcatalog .nav-tabs > li > a {
	cursor: pointer;
}

#djcatalog .accordion-heading .accordion-toggle {
	cursor: pointer;
}

// social buttons code: top, after title, after desc, bottom
.djc_social_t {
	margin: 0 0 10px;
}

.djc_social_at {
	padding: 10px 0 0;
	display: table-cell;
}

.djc_social_ad {
	margin: 0 0 10px;
}

.djc_social_b {
	margin: 20px 0 0 0;
}

//multiupload
#multiuploader_image,
#multiuploader_file {
  .plupload_button {
		.btn();
		font-family: @JMbaseFontFamily;
		margin: 2px;
	}
	.plupload_hidden {
		display: none;
	}
	.plupload_filelist td {
		vertical-align: middle;
	}
}
