/* licenced under EUPL, https://eupl.eu/1.2/nl/*/
/*****************************flexlist table********************************/
.flexlijst_header td {
	cursor:pointer;
}

#overview_table_header td, #overview_table_footer td{
	border-right: 1px solid white;
	padding-left: 5px;
	height:22px;
}

.editable_cell .target_input:hover, .editable_cell input:hover{

	border: dotted 1px black !important;
	cursor: text;
}

.editable_cell .target_input, .editable_cell input, table.flexlijst_body input.datepicker {
	background-color: rgba(250, 250, 250, 0.3) !important;
	border: 1px solid rgba(0, 0, 0, 0.4);
}
/*datepicker input only*/
.flexlist_row.selected input.datepicker {
	color: black; /*override*/
}

/*datepicker input only*/
.flexlist_row input.datepicker {
	color: white; /*override*/
}

#overview_table_header, #overview_table_footer {
	color: white;
	background-color: #659acc;
}

#overview_table_body tr.hover_active td {
	background-color:#f0f0f0;
}

#overview_table_body tr.hover_active.odd td {
	background-color:#e0e0e0;
}

#overview_table_body tr.hover_active.selected td {
	background-color:#eeee88 !important;
}

#overview_table_body tr.hover_active.selected .dropdown_table_body td, #overview_table_body tr.hover_active.selected .keuzelijst_table_header td,
#overview_table_body tr .dropdown_table_body td, #overview_table_body tr .keuzelijst_table_header td
{
	background-color:white !important;
}

.multiselect_header input{margin-left: 8px;}
.multiselect_row {padding-right: 5px;}

.radiobutton_list_h input{margin-left:5px; margin-right:3px}

/****************************search***********************/
.flexlist_modal .search_fields {
	float:right;
}

.flexlist_modal .flexlist_search_label {
	padding-top:2px;
}

.flexlist_modal .flexlist_search_box {
	margin-right:5px;
	margin-left:3px;
}

.flexlist_modal .flexlist_search_button {
	float:right;
	margin-right:15px;
}

#overview_table_body .selected, #overview_table_body .selected td {
  background-color: #ffff99;
}

#overview_table_body tr {
  background-color: white;
}

#overview_table_body .odd {
	background-color: var(--main-list-zebra-dark);
}

#overview_table_body table tr {
  cursor: pointer;
  height: 33px;
}

#overview_table_body td div{
	white-space: nowrap;
	overflow:hidden;
}

#overview_table_header_wrapper, #overview_table_footer_wrapper {
	overflow: hidden;
}

#overview_table_wrapper {
	height: 340px;
	/*margin: 23px 0 0 25px;*/
	margin: 25px 0 0 25px;
}

.flexlist_modal #overview_table_wrapper {
	margin: 35px 0 0 25px;
}

#overview_table_body_wrapper {
	height: 299px;
	overflow: auto;
}

#overview_table_body td{
	padding-left: 5px;
	border-right: 1px solid #c3c7d0;
}

#overview_table_footer tr{
	background-color: #191970;
}
/***********************icons*********************************/

.flexlist_bottom_wrapper{
	margin-top:12px;
}


.sluit_scherm.overview {
	margin-right: 36px;
	cursor: pointer
}

.flexlist_modal .plus_icon  {
	margin-top:8px;
}

/*flexbox*/
.flexlist_modal .flexlist_icons {
    margin-left: 27px;
    height: 24px;

	display: flex;
	margin-top: 0;
	gap: 0.3rem;
	align-items: center;
}
/******************************************error message*************************/
.flexlist_modal .error_message {
  float: left;
  height: 15px;
  color: red;
  margin-left: 27px;
  margin-top:3px;
}
/****************************sort icon********************/
.flexlist_modal .sort {
	cursor:pointer;
	margin-top:2px;
	float:right;
}
.flexlijst_header  .img_sort_class, #mybox_table_header .img_sort_class{
    width: 10px;
    float: right;
    display: block;
    height: 15px;
}

.flexlijst_header .align_class, .flexscreen .align_class{
    text-align: right;
}

.flexlijst_header .align_class .sort{
    margin-left: 2px;
}


/*aparte css voor kolom header zonder tekst******/
.flexlist_modal .icon .sort {
	margin-top:0px;
}

.flexlist_modal .icon .down {
	margin-top:6px !important;
}

.flexlist_modal .icon .up {
	margin-top:-4px !important;
}

.flexlist_modal .down {
	margin-top:8px !important;
}
	/****************************paging***********************/
.flexlist_paging {
	float:right;
	display: flex;
	align-items: center;
	background-color: transparent;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid #ccc;
	height: 25px;
	padding-left: 10px;
	padding-right: 10px;
	/*stop it from scaling*/
	flex: 0 0 auto;
	width: auto;
	min-width: fit-content;

	margin-right: 35px; /*only for paging without filter*/

}

.flexdetail .flexlist_paging {
	background-color: var(--main-list-zebra-light);
	margin-right: 5px;
}

.flexlist_paging:empty,  .flexlist_paging:not(:has(table td)) {
	border: none !important;
	height: 0;
	padding: 0;
	margin: 0;
	min-width: 0;
}

.page-filter-wrapper > .flexlist_paging:only-child {
	margin-right: 0;
}

.flexlist_paging:has(+ .paging_totals) {
	margin-right: 0;
}

.flexlist_paging td:not(.eerste):not(.vorige):not(.volgende):not(.laatste) {
	padding: 5px 0 5px 0;
	min-width: 3ch;
	cursor: pointer;
	display: flex;
	align-content: center;
	justify-content: center;
}

.flexlist_paging td a{
	color: #0066cc;
	text-decoration:none;
	outline:none;
}

.active_paging {
	font-weight: bold;
}

.vorige, .volgende {
	 color: #1a0dab;
}

/*totals*/
.paging_totals {
	font-variant-numeric: tabular-nums;
	color: var(--main-txt-black);
}

/*************************************obsolete*********************/
.flexlist_modal .obsolete_field {
	float: none;
	display: flex;
	flex-direction: row;
	align-items: center;
}

.flexlist_in_detail .obsolete_field {
	margin-top:0 !important;
}

.flexlist_modal .obsolete_field div, .flexlist_modal .obsolete_field input{
	float:left;
}

.flexlist_modal .obsolete_field_button {
	float:right;
	margin-right:15px;
}
/*************************************versie info**************************/
.flexlist_modal .versie_info {
	float:right;
	margin-right:35px;
	margin-top:3px;
	color:#bdbdbd;
}
/*************************************insert_modal************************/
.insert_content {
	margin-left:25px;
}
#insert_modal .insert_content {
	margin-bottom:0px !important;
}

#insert_modal .detail_modal_header {
	margin-bottom:35px;
}

#insert_modal .detail_modal_icons {
	float:right !important;
	margin-right:38px;
	margin-bottom:35px;
	width:160px;
}
#insert_modal .insert_datepicker  {
	height:35px;
}

#insert_modal .detail_modal_icons .opslaan{
	margin-right:5px;
}

#insert_modal .detail_modal_icons img{
	float:right !important;
}

#insert_modal #insert_error_message{
	float:left !important;
	color:red !important;
	width:550px !important;
	margin-left:30px;
	}

#insert_modal {
	padding-bottom:30px !important;
}

#insert_modal .sluit_modal.bottom {
	margin:0 !important;
}

#insert_modal .insert_content div{
	margin-bottom: 3px;
}
/*************************************resize column********************************************/
.resize_column {
    float: right;

    padding: 0px !important;
    margin: 0px !important;
    width: 15px !important;
	margin-right:-7px !important;
    height: 14px;
    cursor: e-resize;

}
/*************************************option list********************************************/
.flexlist_modal .option_list_wrapper{
	float:right !important;
	margin-right: 35px;
}

/****************************************flexlist_in_detail***************************************/
.flexlist_in_detail .flexlist_paging, .versie_info_image {
	margin-right:5px !important;
}

.flexlist_in_detail .flexlist_paging {
	margin-right:10px !important;
}

.flexlist_in_detail .flexlist_icons {
	width:20%;
}

 .flexlist_in_detail .flexlist_bottom_wrapper{
	margin-top:30px;
	height:24px;
}

 .flexlist_in_detail .flexlist_icons {
	margin-left:0px !important;
 }

/****************************************flexlist_in_detail***************************************/

.flexlist_in_detail .flexlist_bottom_wrapper {
	width: 100%;
	float: none;
}

.flexlist_bottom_wrapper {
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
	align-items: center;
}

.flexlist_bottom_right {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	margin-right: 4px;
}

.versie_info_image {
	margin-right: 0;
	float: none;
}

.flexlist_modal .obsolete_field_label {
	padding-right: 5px;
}

.flexlist_paging tr {
	display: flex;
	flex-direction: row;
	gap: 5px;
	align-items: center;

}

button.navigation_index, button.paging_index {
	border: none;
	background: transparent;
	cursor: pointer;
	color: var(--main-txt-black);;
}

.flexlist_paging td:hover {
	text-shadow:
			0.4px 0 currentColor,
			-0.4px 0 currentColor,
			0 0.4px currentColor;
}
.flexlist_paging td:has(button.active_paging) {
	background-color: var(--main-sidebar-highlight-clr);
}

.flexdetail .flexlist_paging td:has(button.active_paging) {
	background-color: var(--main-list-icon-bg);
}
td.eerste, td.volgende {
	padding-right: 0;
}

td.vorige, td.laatste {
	padding-left: 0;
}

td.eerste:hover svg, td.volgende:hover svg, td.vorige:hover svg, td.laatste:hover svg {
	fill: var(--main-sidebar-icon-accent-clr);
}


/*NEW SEARCH INPUT FIELD LISTS*/
.flexlist_modal .search_fields div, .flexlist_modal .search_fields input {
	float: none;
}
.search_fields {
	flex-grow: 1;
	width: 240px;
}

.search_input_wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

.search_input_wrapper input.search_input {
	width: 100%;
	height: 100%;
	padding: 5px 36px 5px 14px;
	border: 1px solid #ccc;
	border-radius: 20px;
	outline: none;
	font-size: 12px;
	box-sizing: border-box;
}

.search_input::placeholder {
	text-indent: 0;
	color: var(--main-icon-disabled) !important;
	font-size: 12px;
}


.search_icon {
	position: absolute;
	padding-right: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.search_icon.flexlist_search_button {
	position: absolute;
	right: 1px;
	top: 1px;
	bottom: 1px;
	width: 30px;
	border-radius: 0 19px 19px 0;
	background-color: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: none;
	transition: background-color 0.4s;
}

.search_icon.flexlist_search_button svg {
	fill: var(--main-icon-disabled);
	width: 14px;
	height: 14px;
	transition: fill 0.15s;
}

.search_icon.flexlist_search_button.active {
	background-color: var(--main-sidebar-highlight-clr);
}

.search_icon.flexlist_search_button.active svg {
	fill:var(--main-icon-clr);
}

.search_icon.flexlist_search_button.active:hover {
	filter: brightness(0.9);
}

.search_icon:hover svg {
	fill: var(--main-accent-clr);
	transform: scale(1.1);
}