/* authorUrl    https://imaudstudio.com/shop/joomshopping/jshopping-popular-categories */
.pop-categories {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: horizontal;
  -moz-box-orient: horizontal;
  -webkit-box-direction: normal;
  -moz-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -moz-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -moz-justify-content: space-evenly;
  -webkit-justify-content: space-evenly;
  justify-content: space-evenly;
  -moz-align-items: flex-start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
}

.pop-categories .pull-left {float:left;}
.pop-categories .pull-right {float:right;}

.pop-categories img.pull-right,
.pop-categories .pull-right > img {margin-left: 0;}

.pop-categories img.pull-left,
.pop-categories .pull-left > img {margin-right: 0;}

.pop-categories .jpc-section {
	width: 300px;
	flex-basis: 300px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 15px 0;
  border: 1px solid rgb(204, 204, 204);
  position: relative;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	border-radius: 5px;
	border: 1px solid #EFEFEF;
}

.pop-categories .jpc-section .jpc-mod-wrapper {
	position: relative;
	overflow: hidden;
}

.pop-categories .jpc-section .jpc-module-title {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  background: #8cc129;
  color: #fff;
  height: 3.5em;
  overflow: hidden;
  font-size: 18px;
  text-align: center;
}
.pop-categories .jpc-section:hover .jpc-module-title {
  background: #22b8f0;
}
.pop-categories .jpc-module-title > a,
.pop-categories .jpc-module-title > span {
	display: block;
	padding: 10px;
	color: inherit;
	text-decoration: none;
}
.pop-categories .jpc-module-title a:hover {
/*  color: #EE5000;*/
}
.pop-categories figure.jpc-module-image {
	display: block;
	padding: 0;
	margin: 0;
}
.pop-categories figure.jpc-module-image.pull-left,
.pop-categories figure.jpc-module-image.pull-right {
  width: 40%;
}
.pop-categories figure.jpc-module-image img {
	max-width: 100%;
	height: auto;
}

.pop-categories .empty .jpc-module-image {
  display: block;
  float: none;
  margin: 0 auto;
}
.pop-categories .jpc-section:hover .jpc-module-image {
	-webkit-transform: scale(1.01);
	-moz-transform: scale(1.01);
	-o-transform: scale(1.01);
	-ms-transform: scale(1.01);
	transform: scale(1.01);
}
.pop-categories .jpc-mod-content {
  margin: 7px 0 0;
  list-style: none;
  padding: 0 10px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.pop-categories .jpc-mod-content.pull-left,
.pop-categories .jpc-mod-content.pull-right {
  width: 60%;
}

.pop-categories ul.jpc-nav-child {
	list-style: none;
	padding: 0;
	margin: 0;
}

.pop-categories .jpc-nav-child.more {
	margin-top: 0;
}
.pop-categories .jpc-nav-child li a {
	display: block;
  padding: 5px 0 5px 25px;
  margin: 0;
	color: #444;
}
.pop-categories .jpc-nav-child a > i {
  display: block;
	font-size: 0.9em;
	line-height: 1.3;
}
.pop-categories .jpc-nav-child li a:hover {
	color: #3272AC;
	text-decoration: none;
}
.pop-categories .jpc-nav-child li:before {
  content: "";
  display: inline-block;
	float: left;
	width: 16px;
	height: 16px;
	background: transparent url('sprite.png') 0 0 no-repeat;
	margin: 5px 2px 0 0;
	margin: 0.8em 0.7em 0 0;
}

.pop-categories .jpc-nav-child li,
.pop-categories .jpc-nav-child li a,
.pop-categories .jpc-nav-child li:before  {
	-webkit-transition: color .2s linear;
	-moz-transition: color .2s linear;
	-o-transition: color .2s linear;
	-ms-transition: color .2s linear;
	transition: color .2s linear;
}

.pop-categories .jpc-description {
	clear: left;
	padding: 5px;
	border-top: 1px dotted #999;
}

.pop-categories .button {
	background-color: transparent !important;
	border: none;
}
.pop-categories .btn-more {
	border-top-right-radius: 0;
	border-bottom-left-radius: 0;
}
.pop-categories .button-more {
	display: inline-block;
	position: relative;
	float: right;
  background: transparent url('sprite.png') 0 -70px repeat-x;
  height: 26px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
	margin: 0 16px;
	padding: 3px 10px 0 0;
	font-size: 14px;
  color: white;
	text-decoration: none;
}
.pop-categories .button-more:before,
.pop-categories .button-more:after {
	content: "";
	display: block;
	position: absolute;
  top: 0;
	width: 16px;
	height: 30px;
	background-color: transparent;
	background-image: url('sprite.png');
	background-repeat: no-repeat;
}
.pop-categories .button-more:before {
	left: -16px;
  background-position: 0 -38px;
}
.pop-categories .button-more:after {
  right: -16px;
  background-position: 0 -102px;
}
.pop-categories .button-more:hover {
  opacity: 0.9;
}

.pop-categories .jpc-section:before,
.pop-categories .jpc-section:after {
  pointer-events: none;
  position: absolute;
  content: '';
  left: 0;
  width: 100%;
  box-sizing: border-box;
  background-repeat: no-repeat;
  height: 5px;
  opacity: 0;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: opacity;
  transition-property: opacity;
}
.pop-categories .jpc-section:before {
  bottom: 100%;
  background: radial-gradient(ellipse at 50% 150%, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 80%);
}
.pop-categories .jpc-section:after {
  top: 100%;
  background: radial-gradient(ellipse at 50% -50%, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 80%);
}
.pop-categories .jpc-section:hover:before,
.pop-categories .jpc-section:focus:before,
.pop-categories .jpc-section:active:before,
.pop-categories .jpc-section:hover:after,
.pop-categories .jpc-section:focus:after,
.pop-categories .jpc-section:active:after {
  opacity: 1;
}

.pop-categories .jpc-switcher {
	font-weight: bold;
	margin-bottom: 15px;
}
.pop-categories .jpc-switcher i {
	margin: 0 5px;
	font-size: 16px;
}

.pop-categories .jpc-button-wrapper {
	margin-bottom: 15px;
	clear: both;
}