
.sortPagiBar .styled-select{
	background: none;
	display: inline-block;
	width: auto;
	min-width: 50px
}
.sortPagiBar .styled-select dt.option {
	background: none;
	border:none;
	font-size: 14px;
	padding-top: 0;
	padding-bottom: 0;
}
.sortPagiBar dl{
	border:0;
}
.sortPagiBar .styled-select dl i.toggle{
	margin: 0;
}
.productsSortForm .styled-select ul{
	min-width: 150px;
}

#layered_block_left .styled-checkbox, #layered_block_left .styled-radio{
	position: absolute;
	top: 0;
	left: 0;
}
/* select */
.styled-select  {
	width: 100%;
	vertical-align: middle;
	cursor: pointer;
	text-align: left;
}
.styled-select select {
	position: absolute;
	visibility: hidden;
}
.styled-select dl {
	position: relative;
}
.styled-select .option {
	box-sizing: border-box;	
	float: none!important;
	padding: 6px 10px;
	background: #FFF;
	word-wrap: break-word;
	width: 100%;
	font-size: 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.styled-select dt.option {
	color: #333;
	border: 1px solid #333;
	overflow: hidden;
	text-overflow: ellipsis;
	position: relative;
	padding-right: 20px;
	white-space: nowrap;
}
.styled-select ul li.optgroup {
	cursor: default;
	background: #F5F5F5;
}
.styled-select dl i.toggle {
	content: '';
	position: absolute;
	right: 0; top: 0; bottom: 0;  
	width: 10px;  
	margin: 6px;
}
.styled-select dl i.toggle:before {
	font-family: fontAwesome;
	content: "\f107";
	position: absolute;
}
.styled-select  ul {		
	position: absolute;
	left: 0;
	right: 0;
	z-index: 999999;
	top:100%;
	border: 1px solid #DDD;
	background: #FFF;
	margin: -1px 0 0 0;
	overflow-y: auto;	
}
.styled-select.mobile  ul {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	margin: auto 1em;
}
.styled-select  ul.above {
	top: auto;
	bottom: 100%;
}
.styled-select  li:not(.first) {
	border-top: 1px dotted #DDD;
}
.styled-select li:hover {
	background:  #d25900;
	color: #fff;
}
.styled-select dl.closed ul {
	display:none;	
}

/* checkbox/radio */
.styled-checkbox, .styled-radio {
	display: inline-block;
	border: 1px solid #d6d4d4;
	padding: 0;
	width: 15px;
	height: 15px;
	position: relative;
	vertical-align: middle;
	cursor: pointer;
	margin-right: 5px;
}
.styled-checkbox input, .styled-radio input{
	position: absolute;
	margin: auto!important;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}
.styled-radio {
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}
.styled-checkbox.checked:before, .styled-radio.checked:before{
	content: '';
	display: block;
	margin: auto;
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	width: 5px;
	height: 5px;
	background:  #d25900;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}
.styled-checkbox.checked:before {
	background: none;
	-webkit-border-radius: 0;
	border-radius: 0;
	top: -3px; right: -1px; bottom: 2px; left: 1px;
	width: 11px;
	height: 7px;
	border-style: solid;
	border-color: transparent transparent  #d25900  #d25900;
	border-width: 0 0 3px 3px;
	-webkit-transform: rotate(-45deg);	
	transform: rotate(-45deg);	
}

/* file */
.styled-file {	
	display: inline-block;
	border: 1px solid #DDD;
	position: relative;
	width: 100%;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;  
}
.styled-file .file-button {
	padding: 3px 5px;
	margin: 3px 7px 3px 3px;
	border: 1px solid #DDD;
	background: #FAFAFA;
	display: inline-block;
	vertical-align: middle;
}
.styled-file:hover .file-button{
	background: #EEE;
}
.styled-file .file-name {
	vertical-align: middle;
}
.styled-file input {
	position: absolute;
	margin: 0!important;
	width: 100%;
	height: 100%;
	top: 0;
	opacity: 0;	
}

@media (min-width: 481px){
	.styled-select{
		max-width: 273px !important;
	}
}
@media (max-width: 579px){
	.sortPagiBar .styled-select dl i.toggle{
		margin-right: 9px;
	}
}
@media (max-width: 480px){
	.styled-select{
		max-width: 100%;
	}
	.sortPagiBar .styled-select{
		max-width: 130px;
	}
}