/*
Table of content

- VMSS Category Filter
- VMSS Search Filter
- VMSS Mixed
*/

/* ==========================================================================
   VMSS Category filters
   ========================================================================== */

.vmss_category_filters-loading {
	position: relative;
	min-height: 80px;
	background: #fff;
}

.vmss_category_filters ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.vmss_category_filters .vmss_category_filters_title {
	color: #fff;
	font-size: 1.286em; /*18px*/
	font-weight: 700;
	padding: 0.889em 1.389em; /*16px 25px*/
	margin: 0;
	border: none;
	background-image: url(images/bg/pattern5.png);
	background-color: #febe10;
	background-repeat: repeat;
}

.vmss_category_filters li > a,
.vmss_category_filters li > span {
	position: relative;
	display: block;
	font-size: 1.07em; /* 15px */
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	color: #41525c;
	text-decoration: none;
	padding: 1em 1.667em; /* 15px 25px */
	border-top: 2px solid #fee091;
	background: #feda79;
	background-image: url(images/bg/pattern5.png);
}

.vmss_category_filters li > a {
	cursor: pointer;
}

.vmss_category_filters li:first-child > a {
	border-top: 0;
}

.vmss_category_filters .parent > a {
	padding-right: 5.133em; /*77px*/
}

.vmss_category_filters .parent > a:before {
	position: absolute;
	display: block;
	content: '';
	top: 0;
	right: 0;
	width: 3.467em; /*52px*/
	height: 100%;
	background: #febe10;
}

.vmss_category_filters .parent > a:after {
	position: absolute;
	display: block;
	content: '';
	top: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	width: 3.467em; /*52px*/
	height: 8px;
	background: transparent url(images/icon/arrow-down.png) no-repeat center center;
}

.vmss_category_filters .parent > a.open:after {
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	transform: rotate(180deg);
}

.vmss_category_filters .level1 a {
	background-color: #fee6a6;
	padding-left: 3.000em; /*45px*/
}

.vmss_category_filters .button {
	text-align: left;
	padding-left: 2.875em; /*46px*/
	background-image: url(images/icon/arrow-left.png);
	background-repeat: no-repeat;
	background-position: 1.125em center; /*18px*/
}

.accordion .vmss_category_filters {
	margin-bottom: 1.2em;
}

.accordion .vmss_category_filters_title {
	position: relative;
	cursor: pointer;
}

.accordion .vmss_category_filters_title:after {
	position: absolute;
	display: block;
	content: '';
	top: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	width: 2.889em; /*52px*/
	height: 8px;
	background: transparent url(images/icon/arrow-down.png) no-repeat center center;
}

.accordion .vmss_category_filters_title.open:after {
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	transform: rotate(180deg);
}

.accordion .vmss_category_filters_title + div {
	display: none;
}

/* ==========================================================================
   VMSS Search Filter 
   ========================================================================== */

.moduletable.vmss_search_filter--boxy-styled {
	position: relative;
}

.moduletable.vmss_search_filter--boxy-styled:before,
.vmss_search_filter--boxy-styled > h3:before {
	position: absolute;
	content: '';
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: url(images/bg/pattern7.png) repeat -5px -5px;
	opacity: 0.06;
}

.lt-ie9 .moduletable.vmss_search_filter--boxy-styled:before,
.lt-ie9 .vmss_search_filter--boxy-styled > h3:before {
	background: transparent;
}

.vmss_search_filter--boxy-styled > h3:before {
	opacity: 0.10;
}

.vmss_search_filter--boxy-styled > h3 {
	position: relative;
	font: bold 1.571em 'Open Sans', sans-serif; /*22px*/
	color: #fff;
	background: #febe10;
	padding: 0.909em 1.364em 0.909em 1.4em; /*20px 30px 20px 88px*/
	margin-bottom: 0;
}

.vmss_search_filter--boxy-styled > h3:after {
	position: absolute;
	content: '';
	top: 0;
	bottom: 0;
	left: 1.545em; /*34px*/
	margin: auto;
	width: 29px; /*29px*/
	height: 29px; /*29px*/
	/*background: url(images/icon/search.svg) no-repeat;*/
	background-size: 100%;
}

.no-svg .vmss_search_filter--boxy-styled > h3:after {
	background-image: url(images/icon/search.png);
}

.lt-ie9 .vmss_search_filter--boxy-styled > h3:after {
	width: 23px;
	height: 23px;
}

.vmss_search_filter {
	background: #ffebb7;
	padding: 2.000em 2.143em 1.286em; /*28px 30px 18px*/
}

.vmss_search_filter label {
	position: relative;
	margin-right: 1.250em; /*20px*/
	margin-right: 2.545%; /*20px*/
}

.vmss_search_filter label:after {
	content: ':';
}

.vmss_search_filter .selecter {
	width: 25.445%; /*200px*/
	margin-right: 4.453%; /*35px*/
	margin-bottom: 0.714em; /*10px*/
}

.vmss_search_filter .selecter .selecter-selected,
.vmss_search_filter .selecter .selecter-selected:after {
	background-color: #fef0ca;
	border-color: #ebb626;
}

.vmss_search_filter .selecter .selecter-selected:after {
	background-image: url(images/select-replacement-arrow-yellow.png);
}

.lt-ie9 .vmss_search_filter .selecter .selecter-selected:after {
	background: transparent;
	border-color: #ebb626 transparent transparent transparent;
}

.vmss_search_filter .button {
	background-color: #febe10;
	padding-right: 4.062em; /*65px*/
	vertical-align: top;
	margin-bottom: 0.625em; /*10px*/
}

.vmss_search_filter .button:after {
	position: absolute;
	content: '';
	top: 0;
	bottom: 0;
	right: 1.750em; /*28px*/
	margin: auto;
	width: 19px; /*19px*/
	height: 19px; /*19px*/
	background: url(images/icon/search.svg) no-repeat;
	background-size: 100%;
}

.no-svg .vmss_search_filter .button:after {
	background-image: url(images/icon/search.png);
}

.lt-ie9 .vmss_search_filter .button:after {
	width: 23px;
	height: 23px;
}


/* ==========================================================================
   VMSS Mixed
   ========================================================================== */

.moduletable.vmss_mixed--default {
	position: relative;
	z-index: 2;
	border-top: 0.786em solid #41525c; /* 11px */
}

.moduletable.vmss_mixed--default > h3 {
	border-bottom: 0.524em solid #d9dcde; /* 11px */
	padding: 1.000em 1.429em; /* 21px 30px */
	font-size: 1.500em; /* 21px */
	margin-bottom: 0;
	color: #41525c;
}

.moduletable.vmss_mixed--non-styled-heading > h3 {
	font-size: 1.286em; /*18px*/
	font-weight: bold;
	color: #72838d;
}

.moduletable.vmss_mixed--yellow-bg-heading {
	overflow: hidden;
}

.moduletable.vmss_mixed--yellow-bg-heading > h3 {
	position: relative;
	display: inline-block;
	font-size: 1em; /*14*/
	color: #fff;
	background: #febe10 url(images/bg/pattern5.png);
	padding: 0.857em 1.857em; /*12px 26px*/
}

.moduletable.vmss_mixed--yellow-bg-heading > h3:before {
	position: absolute;
	display: block;
	content: '';
	bottom: 0;
	left: 0;
	width: 1000px;
	height: 3px;
	background: #febe10 url(images/bg/pattern5.png);
}

/* VMSS Mixed default template
   ========================================================================== */

.vmss_mixed {
	background-color: #ffffff;
	background-image: url(images/bg/pattern5.png);
	padding: 1.714em 2.143em 0; /*24px 30px 0*/
	overflow: hidden;
} 

.vmss_mixed a {
	text-decoration: none;
}

.vmss_mixed__clear {
	clear: both;
	height: 2.143em; /*30px*/ 
}

.vmss_mixed__item {
	float: left;
	text-align: center;
	margin-bottom: 2.143em; /*30px */
}

.vmss_mixed .text-wrap > span {
	display: block;
}

.vmss_mixed .text-wrap > span ~ span {
	margin-top: 5px;
}

.vmss_mixed .text-wrap .title {
	font: bold 1.143em arial; /*16px*/
	color: #41525c;
}

.vmss_mixed .text-wrap .author {
	font: normal 0.857em arial; /*12px*/
	color: #1f1f1f;
}

.vmss_mixed .text-wrap .price {
	font: bold 1.143em arial; /*16px*/
	color: #4bc7c7;
	margin-top: 10px;
}

.vmss_mixed .js-nth-child-matched {
	clear: left;
	margin-left: 0 !important;
}

/* l-home-right section */

.l-home-right .moduletable.vmss_mixed--default > h3 {
	/*background: url(images/icon/star.svg) no-repeat 91% center;*/
	background-size: 18px auto; /*18px 16px*/
	text-align: center;
	display: block;
}

.l-home-right .no-svg .moduletable.vmss_mixed--default > h3 {
	background-image: url(images/icon/star.png);
}

.l-home-right .vmss_mixed__item {
	width: 46.5%; /*148px*/
}

.l-home-right .vmss_mixed__item ~ .vmss_mixed__item {
	margin-left: 7%;
}

.l-home-right .vmss_mixed__item:nth-child(2n+1) {
	clear: left;
	margin-left: 0;
}


.l-home-right .vmss_mixed__item:first-child,
.l-home-right .vmss_mixed__clear + .vmss_mixed__item  {
	margin-left: 0;
}

/* Left section */

.l-left .moduletable.vmss_mixed--default > h3 {
	padding: 1.000em 0.5em; /* 21px 25px */
  text-align: center;
  font-size: 1.5em;
  display: block;
}

.l-left .vmss_mixed {
	padding: 1.429em 0 1.929em; /*30px 20px 0 27px*/
}

.l-left .vmss_mixed__item {
	text-align: left;
	width: 100%;
}

.l-left .vmss_mixed .image-wrap {
	float: left;
	width: 43.850%; /*82px*/
	margin-bottom: 0;
}

.l-left .vmss_mixed .text-wrap {
	float: right;
	/*width: 48.128%;*/
	width: 42.128%;
    margin-top: 20px;
}

.l-left .vmss_mixed .text-wrap .title,
.l-left .vmss_mixed .text-wrap .price,
.l-left .vmss_mixed .text-wrap .author{
	font-size: 0.857em; /*12px*/
}

/* Main & Main Bottom */

.l-main .vmss_mixed {
	padding: 0;
	margin-top: 2.143em; /*30px*/
	background-image: none;
}

.three_column .l-main .vmss_mixed__item {
	width: 30.700%; /*148px*/
}

.three_column .l-main .vmss_mixed__item ~ .vmss_mixed__item {
	margin-left: 13.300%; /*64px*/
}

.three_column .l-main .vmss_mixed__item:nth-child(2n+1) {
	clear: left;
	margin-left: 0;
}

.three_column .l-main .vmss_mixed__item:first-child + .vmss_mixed__item + .vmss_mixed__item,
.three_column .l-main .vmss_mixed__item:first-child + .vmss_mixed__item + .vmss_mixed__item + .vmss_mixed__item + .vmss_mixed__item {
	clear: left;
	margin-left: 0;
}

.l-main-bottom .vmss_mixed__item,
.l-main .vmss_mixed__item {
	width: 16.704%;
}

.l-main-bottom .vmss_mixed__item ~ .vmss_mixed__item,
.l-main .vmss_mixed__item ~ .vmss_mixed__item {
	margin-left: 4.12%;
}

.l-main-bottom .vmss_mixed__item:nth-child(5n+1),
.l-main .vmss_mixed__item:nth-child(5n+1) {
	clear: left;
	margin-left: 0;
}


/* VMSS Mixed list tempolate
   ========================================================================== */

.vmss_mixed_list {
	list-style: none;
	margin: 1.286em 0 0; /*18px 0 0*/
	padding: 0;
}

.vmss_mixed_list__item {
	position: relative;
	counter-increment: counter;
	padding: 1.067em 0 1.067em 3.267em; /*16px 0 16px 49px*/
	border-top: 1px solid #d9dcde;
	font-size: 1.071em; /*15px*/
	color: #000000;
	overflow: hidden;
}

.vmss_mixed_list__item:first-child {
	border-top: 0;
}

.vmss_mixed_list__item:before {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	display: inline-block;
	content: counter(counter);
	font: bold 1.267em arial; /*19px*/
	vertical-align: top;
	width: 1.737em; /*33px*/
	height: 1.737em; /*33px*/
	line-height: 1.737em; /*33px*/
	text-align: center;
	color: #fff;
	background-color: #4bc7c7;
	border-radius: 1.737em;  /*33px*/
}

/* VMSS Mixed image template
   ========================================================================== */

.vmss_mixed_image {
	position: relative;
	overflow: hidden;
	width: 100%;
	background: url(images/bg/pattern6.png);
}

.vmss_mixed_image:before {
	position: absolute;
	bottom: 0;
	left: 0;
	content: '';
	display: block;
	width: 100%;
	height: 1.214em; /*17px*/
	background: #87959d;
}

.vmss_mixed_image__item {
	display: inline-block;
	vertical-align: bottom;
	width: 16.200%; /*137px*/
	padding-right: 3.167%;
	margin-top: 26px;
	margin-left: -0.286em;
}

.lt-ie9 .vmss_mixed_image__item {
	padding-right: 3.1%;
}

.vmss_mixed_image__item:first-child {
	padding-left: 3.167%;
	margin-left: 0;
}

.lt-ie9 .vmss_mixed_image__item:first-child {
	padding-left: 3.1%;
}

.vmss_mixed_image__image-wrap {
	position: relative;
}

.vmss_mixed_image__item__image {
	position: relative;
	display: inline-block;
	width: 100%;
	box-shadow: 3px 5px 0 rgba(24, 24, 24, 0.28);
}

.vmss_mixed_image__item__image:after {
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	background: rgba(255, 255, 255, 0.48);
	box-shadow: 3px 5px 0 rgba(24, 24, 24, 0.28);
	z-index: 1;
	opacity: 0;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.vmss_mixed_image__item__image:hover:after {
	opacity: 1;
}

.lt-ie9 .vmss_mixed_image__image-wrap:hover .ie-hover-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #fff;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=48)";
}

.vmss_mixed_image img {
	width: 100%;
}

/* VMSS Mixed author books
   ========================================================================== */

.vmss_mixed_author__item {
	display: table;
	width: 100%;
	table-layout: fixed;
	border-top: 1px solid #d9dcde;
	padding: 1.429em 0; /*20px 0*/
}

.vmss_mixed_author__item:first-child {
	border-top: 0;
}

.vmss_mixed_author__item .image-wrap,
.vmss_mixed_author__item .text-wrap {
	display: table-cell;
	vertical-align: top;
}

.vmss_mixed_author__item .image-wrap {
	width: 7.571em; /*106px*/
	padding-right: 2.000em; /*28px*/
}

.vmss_mixed_author__item .text-wrap > *:last-child {
	margin-bottom: 0;
}

.vmss_mixed_author__item .title {
	margin-bottom: 0.3em;
}

.vmss_mixed_author__item .desc {
	margin-top: 1.429em; /*20px*/
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet */
@media screen and (min-width: 768px) and (max-width: 1200px) {
	.vmss_search_filter .button:after {
		width: 16px;
		height: 16px;
	}

	.vmss_search_filter--boxy-styled > h3:after {
		width: 25px;
		height: 25px;
	}

	.l-home-right .moduletable.vmss_mixed--default > h3 {
		background-size: 15px auto;
	}
}

@media screen and (min-width: 768px) and (max-width: 1000px) {
	.vmss_search_filter label {
		margin-right: 2%;
	}

	.vmss_search_filter .selecter {
		width: 22%;
	}
}

@media screen and (min-width: 768px) and (max-width: 820px) {
	.vmss_search_filter .selecter {
		width: 25%;
		margin-right: 3%;
	}

	.vmss_search_filter .button {
		padding: 0.94em 1.563em 1em
	}

	.vmss_search_filter .button:after {
		display: none;
	}
}

/* Mobile */
@media screen and (max-width: 767px) {

	.vmss_search_filter--boxy-styled > h3 {
		font-size: 15px;
		padding-left: 54px;
	}

	.vmss_search_filter--boxy-styled > h3:after {
		left: 17px;
		width: 20px;
		height: 20px;
	}

	.vmss_search_filter {
		padding: 15px;
	}

	.vmss_search_filter .input-field {
		margin-bottom: 15px;
		width: 100%;
	}

	.vmss_search_filter label {
		display: block;
		font-size: 12px;
		margin-bottom: 12px;
	}

	.vmss_search_filter .selecter {
		width: 100%;
	}

	.vmss_search_filter .selecter .selecter-selected {
		font-size: 12px;
	}

	.vmss_search_filter .button {
		margin-top: 5px;
		width: 100%;
		padding-left: 0;
		padding-right: 0;
		font-size: 12px;
	}

	.vmss_search_filter .button:after {
		position: relative;
		display: inline-block;
		vertical-align: middle;
		top: -1px;
		right: 0;
		margin-left: 10px;
		width: 14px;
		height: 14px;
	}

	.vmss_category_filters-loading {
		min-height: auto;
		min-height: initial;
	}

	/* ==========================================================================
	   VMSS Mixed
	   ========================================================================== */

	.moduletable.vmss_mixed--yellow-bg-heading {
		overflow: visible;
	}

	.moduletable.vmss_mixed--yellow-bg-heading > h3 {
		font-size: 15px;
		padding: 11px 19px;
	}

	.moduletable.vmss_mixed--yellow-bg-heading > h3:before {
		height: 7px;
	}

	.l-home-right .moduletable.vmss_mixed--default > h3 {
		background-size: 15px auto;
	}

	.l-home-right .vmss_mixed,
	.l-left .vmss_mixed,
	.l-main-bottom .vmss_mixed,
	.l-main .vmss_mixed {
		padding: 20px 6%;
		overflow: hidden;
		margin-top: 0;
	}

	.l-home-right .vmss_mixed__item,
	.l-left .vmss_mixed__item,
	.l-main-bottom .vmss_mixed__item,
	.l-main .vmss_mixed__item,
	.three_column .l-main .vmss_mixed__item {
		float: left;
		text-align: center;
		width: 44%;
		margin-bottom: 20px;
	}

	.l-home-right .vmss_mixed__item ~ .vmss_mixed__item,
	.l-left .vmss_mixed__item ~ .vmss_mixed__item,
	.l-main-bottom .vmss_mixed__item ~ .vmss_mixed__item,
	.l-main .vmss_mixed__item ~ .vmss_mixed__item,
	.three_column .l-main .vmss_mixed__item ~ .vmss_mixed__item {
		margin-left: 12%;
		clear: none;
	}

	.l-home-right .vmss_mixed__item:nth-child(2n+1),
	.l-left .vmss_mixed__item:nth-child(2n+1),
	.l-main-bottom .vmss_mixed__item:nth-child(2n+1),
	.l-main .vmss_mixed__item:nth-child(2n+1),
	.three_column .l-main .vmss_mixed__item:nth-child(2n+1) {
		clear: left;
		margin-left: 0;
	}

	.l-left .vmss_mixed .image-wrap,
	.l-left .vmss_mixed .text-wrap {
		width: 100%;
		float: none;
	}

	.l-left .vmss_mixed .image-wrap {
		margin-bottom: 1em;
	}

	.vmss_mixed .text-wrap .title,
	.vmss_mixed .text-wrap .author,
	.vmss_mixed .text-wrap .price,
	.l-left .vmss_mixed .text-wrap .title,
	.l-left .vmss_mixed .text-wrap .price {
		font-size: 12px;
	}

	/* VMSS Mixed image template
	   ========================================================================== */

	.vmss_mixed_image__item {
		position: relative;
		width: 50%;
		padding: 0 8.5% 0 0;
		text-align: right;
		overflow: hidden;
		box-sizing: border-box;
	}

	.vmss_mixed_image__item:nth-child(odd) {
		text-align: left;
		margin-left: 0;
		padding: 0 0 0 8.5%;
	}

	.vmss_mixed_image__item:nth-child(5) {
		display: none;
	}

	.vmss_mixed_image__item__image {
		width: 89.800%;
	}

	.vmss_mixed_image:before,
	.vmss_mixed_image__image-wrap:before {
		position: absolute;
		bottom: 0;
		left: -25%;
		content: '';
		display: block;
		width: 200%;
		height: 1.214em;
		height: 14px;
		background: #87959d;
	}

	/* VMSS Mixed author template
	   ========================================================================== */
	
	.vmss_mixed_author__item {
		padding: 25px 0;
	}

	.vmss_mixed_author__item:first-child {
		padding-top: 20px;
	}

	.vmss_mixed_author__item .image-wrap {
		width: 114px;
		padding-right: 18px;
	}

	.vmss_mixed_author__item .text-wrap > * {
		margin-bottom: 8px;
	}

	.vmss_mixed_author__item .desc {
		margin-top: 0;
	}

}

/* Descale pattern background (DO NOT ADD STYLES HERE) */
@media screen and (max-width: 767px) {

	/*url(images/bg/pattern5.png)*/
  	.vmss_category_filters .vmss_category_filters_title,
  	.vmss_category_filters li > a,
	.vmss_category_filters li > span,
	.moduletable.vmss_mixed--yellow-bg-heading > h3,
	.moduletable.vmss_mixed--yellow-bg-heading > h3:before,
	.vmss_mixed {
		background-size: 4px 4px;
	}

	/*url(images/bg/pattern6.png)*/
	.vmss_mixed_image {
		background-size: 6px 8px;
	}

	/*url(images/bg/pattern7.png)*/
	.moduletable.vmss_search_filter--boxy-styled:before,
	.vmss_search_filter--boxy-styled > h3:before {
		background-size: 15px 15px;
	}

}