@CHARSET "ISO-8859-1";

#top_search
{
	display: none;
}

.selectric-wrapper
{
	display: inline-block;
}

#standard-search,
#extended-search
{
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
	margin-bottom: 10px;
}

#standard-search > div
{
	margin-top: 5px;
}

#olSearchDetail label
{
	color: #ccc;
	padding-right: 0.5em;
}

#olSearchDetail #standard-search label
{
	color: white;
}

#data
{
	width: calc(100% - 55px);
}

#data-group,
#orderby-group
{
	flex-grow: 1;
}

#orderby-label
{
	position: relative;
	top: -12px;
}

#pfrom, #ptill
{
	width: 60px;
}

#pfrom-group,
#orderby-group
{
	margin-left: 10px;
}

#orderby-group .selectric-wrapper
{ 
	width: calc(100% - 100px);
}

#extended-search .selectric-wrapper
{
	width: 200px;
}

#extended-search label
{
	display: inline-block;
	position: relative;
	top: -15px;
	width: 80px;
	padding-left: 5px;
}

#extended-search > div
{
	margin-top: 5px;
	width: 33.33%;
}

#extended-search > div#explanation-group
{
	width: calc(66.66% - 10px);
	flex-grow: 1;
	padding-left: 10px;
}

#extended-search > div#explanation-group h3
{
	font-weight: bold;
	margin-bottom: 5px;
}

#extended-search > div#explanation-group p
{
	line-height: 100%;
	font-weight: normal;
}

#extended-search .selectric-wrapper
{
	width: calc(100% - 100px);
}

@media only screen and (max-width: 1248px)
{
	#extended-search > div
	{
		width: 50%;
	}

	#extended-search > div#explanation-group
	{
		width: calc(50% - 10px);
	}
}
	
@media only screen and (max-width: 1024px)
{
	#data-group
	{
		flex-basis: 100%;
	}

	#pfrom-group
	{
		margin-left: 0;
	}
}

@media only screen and (max-width: 832px)
{
	#extended-search > div
	{
		width: 100%;
	}

	#extended-search > div#explanation-group
	{
		padding-left: 0;
		width: 100%;
	}
}

@media only screen and (max-width: 784px)
{
	.basicSearch,
	.selectric .label,
	.selectric .button
	{
		height: 30px !important;
	}

	.selectric .label
	{
		line-height: 30px !important;
	}
	
	#orderby-group
	{
		flex-basis: 100%;
	}

	#orderby-group
	{
		margin-left: 0;
	}
}

@media only screen and (max-width: 440px)
{
	#extended-search > div label
	{
		width: 100%;
		top: -4px;
		padding-top: 5px;
	}

	#extended-search .selectric-wrapper
	{
		width: 90%;
		margin-left: 10%;
	}
}


div#disable-unique-products-group, div#disable-rated-merko-products-group {
	width: 100% !important;
	margin-bottom: 10px;
}

div#disable-unique-products-group label, div#disable-rated-merko-products-group label {
	width: 100% !important;
	top: 0;
	padding-left: 0;
}