/**
 * Custom Properties for Joomla! 4.x
 * @package Custom Properties
 * @subpackage Module CP Search
 * @version 4.0
 * @revision $Revision: 1.1 $
 * @author Andrea Forghieri
 * @copyright (C) 2013 - 2022 Andrea Forghieri, Solidsystem - http://www.solidsystem.it
 * @license https://www.gnu.org/licenses/gpl-2.0.html GNU/GPL version 2
 */
/* FIX some choices.js inconsistencies */
div.cpsearch .choices__input::placeholder{
	color: #6d757e;	
}
div.cpsearch .choices__input::-moz-placeholder{
	color: #6d757e;	
}
div.cpsearch .choices__input::-ms-input-placeholder{
	color: #6d757e;	
}
div.cpsearch .choices__input::-webkit-input-placeholder{
	color: #6d757e;	
}
div.cpsearch option.empty-option{
	color: #6d757e;	
}
div.cpsearch .choices[data-type*=select-one] .choices__inner, 
div.cpsearch .choices[data-type*=select-multiple] .choices__inner {
	padding-inline-end: inherit;
	-webkit-padding-end: inherit;
}
div.cpsearch label{
	width: 100%
}
div.cpsearch div.cp-cb-toggler label,
div.cpsearch div.cp-cb-value label{
	display:inline;
}
div.cpsearch div.cp-cb-toggler input,
div.cpsearch div.cp-cb-value input{
	padding:0;
	margin: 0 .25em 0 0;
}
div.cpsearch .awesomplete {
	display: block;
	max-width: 100%;
}

fieldset.cp-field{
	margin-bottom: 9px;
}
select.got-selection,
.got-selection input{
	border: 1px solid #30638d;
}


/* uncomment the next statements if you want all fields in a single row */
/*
div.cpsearch div.cp-field{
	display:block;
	float:left;
	margin-right: 10px; 
}
*/

/* uncomment or remove the next statement if you want the search button in a separate row */
/*
div.cpsearch div.cp-auto-submit{
	display:block;
	clear: both;
}
*/

/**  uncomment the following lines to have required fields bordered **/
/*
div.cpsearch select.required + div.chzn-container, 
div.cpsearch input.required,
div.cpsearch select.required{
	border: 1px solid #0088CC;
}
*/

/**  uncomment the following lines to have the background changed to fields who have got selections **/
/*
div.cpsearch select.got-selection + div.chzn-container, 
div.cpsearch input.got-selection,
div.cpsearch select.got-selection{
	background: #DBEAF9;
}
*/