/***select elastic***/
/* Default custom select styles */
div.cs-select {
	display: inline-block;
	margin-left:5px;
	vertical-align: middle;
	position: relative;
	text-align: left;
	background: #fff;
	z-index: 100;
	min-width: 150px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.category .cs-select {

	min-width: 146px;
	max-width: 146px;

}
.category .cs-skin-elastic {

color: #333;
}

div.cs-select:focus {
	outline: none; /* For better accessibility add a style for this in your skin */
}

.cs-select select {
	display: none;
}

.cs-select span {
	display: block;
	position: relative;
	font-size: 13px;
	cursor: pointer;
	padding: 7px 13px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Placeholder and selected option */
.cs-select > span {
	padding-right: 3em;
}

.cs-select > span::after,
.cs-select .cs-selected span::after {
	speak: none;
	position: absolute;
	top: 50% ;
	top: 38% \0/;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.cs-select > span::after {
    border: solid transparent;
    content: "";
    height: 0px;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: transparent;
    border-top-color: #575757;
    border-width: 4px;
    right: 12px;
    margin-top: 2px;
}

.cs-select .cs-selected span::after {
	content: '\2713';
	margin-left: 1em;
}

.cs-select.cs-active > span::after {
	-webkit-transform: translateY(-50%) rotate(180deg);
	transform: translateY(-50%) rotate(180deg);
    -ms-transform: translateY(-50%) rotate(180deg);
    margin-top: -3px;
    margin-top: 0 \0/;
}

/* Options */
.cs-select .cs-options {
	position: absolute;
	overflow: hidden;
	width: 100%;
	background: #fff;
	visibility: hidden;
}

.cs-select.cs-active .cs-options {
	visibility: visible;
}

.cs-select ul {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

/*
.cs-select ul span {
	padding: 1em;
}
*/

.cs-select ul li.cs-focus span {
	background-color: #ddd;
}

/* Optgroup and optgroup label */
.cs-select li.cs-optgroup ul {
	padding-left: 1em;
}

.cs-select li.cs-optgroup > span {
	cursor: default;
}

div.cs-skin-elastic {
	background: transparent;
	color: #fff;
}

@media screen and (max-width: 30em) {
	div.cs-skin-elastic { font-size: 1em; }
}

.cs-skin-elastic > span {
	background-color: transparent;
    color: #000;
	z-index: 100;
	font-size: 13px;
	border-radius: 20px;
	border:1px solid #aeb2b4;
}
.category .cs-skin-elastic > span {
	background-color: #fff;
	z-index: 100;
	font-size: 13px;
	border-radius: 20px;
	border:2px solid #c6c8bf;
	padding: 5px 10px;
}
.category p{
	display: inline-block;
}

.cs-skin-elastic > span::after {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.cs-skin-elastic .cs-options {
	overflow: visible;
    background: #fff;
	opacity: 1;
	visibility: hidden;
	padding-bottom: 1.25em;
	pointer-events: none;
	padding: 10px;
}


.cs-skin-elastic.cs-active .cs-options {
	pointer-events: auto;
}
.category .slimScrollDiv{
    height: auto !important;
}
.category .cs-options ul{
    max-height: 300px;
    min-height: 50px;
    height: auto !important;
}

.cs-skin-elastic .cs-options > ul::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	-webkit-transform: scale3d(1,0,1);
	transform: scale3d(1,0,1);
	background: #2b2f33;
	border-radius: 0 0 10px 10px;
	-webkit-transform-origin: 50% 0%;
	transform-origin: 50% 0%;
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
}
.category .cs-skin-elastic .cs-options > ul::before {

	background: #fff;

}
.cs-skin-elastic.cs-active .cs-options > ul::before{
    -webkit-transform: scale3d(1,1,1);
    transform: scale3d(1,1,1);
    -webkit-transition: none;
    transition: none;

}
.category .cs-skin-elastic.cs-active .cs-options > ul::before{
	-webkit-animation: expand 0.6s ease-out;
  	animation: expand 0.6s ease-out;
}

.cs-skin-elastic .cs-options ul li {
	opacity: 0;
	-webkit-transform: translate3d(0,-25px,0);
	transform: translate3d(0,-25px,0);
	-webkit-transition: none;
	transition: none;
}
.cs-skin-elastic.cs-active .cs-options ul li {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    opacity: 1;
    -webkit-transition: none;
    transition: none;
}
.cs-skin-elastic.cs-active .cs-options .title {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	opacity: 1;
	-webkit-transition: none;
	transition: none;
	color: #333;
	clear: left;
}
.cs-skin-elastic.cs-active .cs-options .title h3 {
	color: #333;
	font-family: "Roboto Slab", sans-serif;
	font-size: 16px;
	font-weight: 800;
	margin: 5px;
}
.category .cs-skin-elastic.cs-active .cs-options ul li {

	-webkit-animation: bounce 0.6s ease-out;
  	animation: bounce 0.6s ease-out;
}
.cs-skin-elastic.cs-active .cs-options ul li:hover{
	background: #e0e3da;
}
.cs-active .cs-placeholder{
	border: 1px solid #ffd16d;
    background-color: #fcc04d;
}
@-webkit-keyframes expand {
    0% { -webkit-transform: scale3d(1,0,1); }
    25% { -webkit-transform: scale3d(1,1.2,1); }
    50% { -webkit-transform: scale3d(1,0.85,1); }
    75% { -webkit-transform: scale3d(1,1.05,1) }
    100% { -webkit-transform: scale3d(1,1,1); }
}

@keyframes expand {
    0% { -webkit-transform: scale3d(1,0,1); transform: scale3d(1,0,1); }
    25% { -webkit-transform: scale3d(1,1.2,1); transform: scale3d(1,1.2,1); }
    50% { -webkit-transform: scale3d(1,0.85,1); transform: scale3d(1,0.85,1); }
    75% { -webkit-transform: scale3d(1,1.05,1); transform: scale3d(1,1.05,1); }
    100% { -webkit-transform: scale3d(1,1,1); transform: scale3d(1,1,1); }
}
@-webkit-keyframes bounce {
    0% { -webkit-transform: translate3d(0,-25px,0); opacity:0; }
    25% { -webkit-transform: translate3d(0,10px,0); }
    50% { -webkit-transform: translate3d(0,-6px,0); }
    75% { -webkit-transform: translate3d(0,2px,0); }
    100% { -webkit-transform: translate3d(0,0,0); opacity: 1; }
}
@keyframes bounce {
    0% { -webkit-transform: translate3d(0,-25px,0); transform: translate3d(0,-25px,0); opacity:0; }
    25% { -webkit-transform: translate3d(0,10px,0); transform: translate3d(0,10px,0); }
    50% { -webkit-transform: translate3d(0,-6px,0); transform: translate3d(0,-6px,0); }
    75% { -webkit-transform: translate3d(0,2px,0); transform: translate3d(0,2px,0); }
    100% { -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0); opacity: 1; }
}