.ew-select,
.select2-container {
	min-width: 10px !important;
}



/* items in documentregels */
#details_Page .select2-container {
	width: 90px !important;
}




.activetab {

	padding: 10px;
	font-size: 1.1em;
	background-color: #f2f2f2;
	border-top-left-radius: 10%;
	border-top-right-radius: 1.1em;
}

body:not(.dark-mode) .ew-grid .ew-table :not(thead)>tr,
body:not(.dark-mode) .ew-grid .ew-table tbody,
body:not(.dark-mode) .ew-grid .ew-table td,
body:not(.dark-mode) .ew-grid .ew-table tfoot,
body:not(.dark-mode) .ew-grid .ew-table th {
	border-color: #f0f0f0;
}

.text-light {
	--bs-text-opacity: 1;
	color: rgba(197, 96, 242, 1) !important;
}


/* header h1 is te groot, iets verkleinen */
.content-header .h1,
.content-header h1 {
	font-size: 1.5rem;
	margin: 0;
}

/* active row not pink */
body:not(.dark-mode) .ew-grid .ew-table .table-active {
	--bs-table-accent-bg: #fafafa;
	color: var(--bs-table-color);
}

@media (min-width: 576px) {
	.ew-grid {
		min-width: 95%;
	}
}

#x_veldwaarde {
	min-width: 350px !important;
}

.mailstatus_wachten {
	background-color: rgb(255, 245, 245) !important;

}

.bank_bijschrijving {
	background-color: aliceblue !important;
}



.confirm0 {
	background-color: rgb(196, 120, 255) !important;
	padding: 15px 0;
	font-size: 1rem;
	border-radius: 7px;
	color: white;
}

.confirm1 {
	background-color: #177a4c !important;
	padding: 15px 0;
	font-size: 1rem;
	border-radius: 7px;
	color: white;
}

.confirm2 {
	background-color: rgb(233, 70, 106) !important;
	padding: 15px 0;
	font-size: 1rem;
	border-radius: 7px;
	color: rgb(68, 0, 15) !important;
}

.briefpapier_templates {
	width: 175px;
	cursor: pointer;
	border: 1px solid rgb(209, 209, 209);
	box-shadow: #4f5357 10px 7px;
}

.totalen {
	float: left;
	margin-top: 8px;
	width: 150px;
	border-right: 1px dotted grey;
	text-align: center;
	font-size: 0.8rem;
}

#factuurtotalen {
	margin-left: 10px;
}

.introjs-tooltip {
	min-width: 450px !important;
}

.tourguide_imageframe {
	padding: 7px;
	margin: 20px 0;
	border: 1px rgb(199, 199, 199) dotted;
	border-radius: 7px;
}

.tourguide_imageframe:after {
	position: absolute;
	color: grey;
	right: 33px;
	font-size: 0.8rem;
	font-style: italic;
	content: "Afbeelding ";
}


#el__0001_factuur_rowid_relatie .select2-selection.select2-selection--single.select2-selection--clearable,
#el__0002_offerte_rowid_relatie .select2-selection.select2-selection--single.select2-selection--clearable,
#el__0003_concept_rowid_relatie .select2-selection.select2-selection--single.select2-selection--clearable,
#el__0004_herhaling_rowid_relatie .select2-selection.select2-selection--single.select2-selection--clearable {
	width: 500px;
}

#f_0020_prijslijstaddopt .select2-selection.select2-selection--single.select2-selection--clearable {
	width: 397px;
}

.myponto img {
	width: 75%;
}

.carinfo_header {
	border-bottom: 1px dimgray dashed;
	color: grey;
	font-weight: normal;
}

.carinfo_data {
	background-color: aliceblue;
	padding: 5px 10px;
}

.kassa_placeholder::-webkit-input-placeholder {
	color: #ffffff;

}

.bg-creditbon {
	background-color: LavenderBlush;
}

.bg-kassa-betaling {
	background-color: rgb(223, 235, 255);
}

.ew-show-all {
	background-color: rgb(155, 74, 148);
	color: white;
}

/* extended zoekformlier */
.my-sm-0 {
	min-width: 200px;
}

.ew-extended-search {
	margin: 2em 0;
}

/* bugfix */
.ew-table-header-cell,
.ew-list-option-header {
	background-color: #5E38A4 !important;
	color: white !important;
}

/* table footer */
tfoot>tr>td {
	background-color: #E9E3F6 !important;
}

/* end */



/******************************************************** SHAPPER ADMIN ********************************************************/
.row_variable_product {
	background-color: #fff0b3;
	/* light yellow background for variable products */
	/* font-weight: bold; */
	/* optional styling */
}

.row_simple_product {
	/* visibility: hidden; */
	display: none;
}

.cell_red {
	color: rgb(196, 19, 113) !important;
	background-color: rgb(228, 223, 226) !important;
}

/* completed cells in order */
.cell_green {
	color: #28a745;
	/* Bootstrap green */
	font-weight: bold;
	position: relative;
	padding-left: 1.5em;
}

.cell_green::before {
	content: "\f00c";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	color: #28a745;
	font-size: 1em;
	line-height: 1;
}


/* geselecteerde waarden in select2 */
.select2-container--bootstrap5 .select2-dropdown .select2-results__option--selected,
.select2-container--bootstrap5 .select2-dropdown .select2-results__option[aria-selected="true"] {
	background-color: #b7a7d8;
}

.main-header .navbar-nav .nav-item {
	margin-left: 20px;
}



/***** product toevoegen */
li[data-name="mci_Product_toevoegen"] {
	/* display: inline-block; */
	/* button-like shape */
	/* padding: 3px 10px; */
	background-color: rgb(199, 169, 255);
	font-weight: 600;
	border-radius: 6px;
	cursor: pointer;
	text-align: center;
	transition: background-color 0.2s ease, transform 0.1s ease;
}

/* Hover effect */
li[data-name="mci_Product_toevoegen"]:hover {
	background-color: rgb(171, 143, 224);
}

/* Active (click) effect */
li[data-name="mci_Product_toevoegen"]:active {
	transform: scale(0.97);
}


/***** variatie */
li[data-name="mci_Variatie_toevoegen"] {
	/* display: inline-block; */
	/* button-like shape */
	/* padding: 3px 10px; */
	background-color: rgb(246, 169, 255);
	font-weight: 600;
	border-radius: 6px;
	cursor: pointer;
	text-align: center;
	transition: background-color 0.2s ease, transform 0.1s ease;
}

/* Hover effect */
li[data-name="mci_Variatie_toevoegen"]:hover {
	background-color: rgb(214, 143, 224);
}

/* Active (click) effect */
li[data-name="mci_Variatie_toevoegen"]:active {
	transform: scale(0.97);
}



/***** blog post */
li[data-name="mci_Post_toevoegen"] {
	/* display: inline-block; */
	/* button-like shape */
	/* padding: 3px 10px; */
	background-color: rgb(169, 202, 255);
	font-weight: 600;
	border-radius: 6px;
	cursor: pointer;
	text-align: center;
	transition: background-color 0.2s ease, transform 0.1s ease;
}

/* Hover effect */
li[data-name="mci_Post_toevoegen"]:hover {
	background-color: rgb(154, 143, 224);
}

/* Active (click) effect */
li[data-name="mci_Post_toevoegen"]:active {
	transform: scale(0.97);
}


/***** blog post */
li[data-name="mci_Media_toevoegen"] {
	/* display: inline-block; */
	/* button-like shape */
	/* padding: 3px 10px; */
	background-color: rgb(169, 249, 255);
	font-weight: 600;
	border-radius: 6px;
	cursor: pointer;
	text-align: center;
	transition: background-color 0.2s ease, transform 0.1s ease;
}

/* Hover effect */
li[data-name="v"]:hover {
	background-color: rgb(67, 142, 76);
}

/* Active (click) effect */
li[data-name="v"]:active {
	transform: scale(0.97);
}


/***** blog post */
.selection_box {
	width: 100px;
	height: 100px;
	object-fit: cover;
	/* crop nicely */
	border-radius: 4px;
	/* optional rounded corners */
	display: inline-block;
	vertical-align: middle;
	margin-right: 6px;
	/* little space before text */
}

/* sidebar fix */
.sidebar {
	overflow-y: auto;
	background-color: aliceblue;
}

/* Lila horizontale gradient: licht -> iets donkerder -> terug naar licht tegen 90% */
td.w-col-4,
.w-col-4 {
	background: #f7f2fb;
	/* fallback */
	background: linear-gradient(90deg,
			AliceBlue 0%,
			rgb(206, 222, 236) 100%);
	/* color: #2d1e3a; */
	font-weight: 500;
	/* optioneel: */
	border: 1px solid AliceBlue;
}

td.w-col-4:hover,
.w-col-4:hover {
	background: linear-gradient(90deg,
			AliceBlue 0%,
			rgb(182, 201, 218) 100%);
}

/* Rounded left corners for first and last .w-col-4 cell in the column */
table {
	border-collapse: separate;
	/* ensure radii show (adjust only if needed) */
	border-spacing: 0;
}

table tr:first-child>.w-col-4,
table tr:first-child>td.w-col-4,
table tr:first-child>th.w-col-4 {
	border-top-left-radius: 20px;
}

table tr:last-child>.w-col-4,
table tr:last-child>td.w-col-4,
table tr:last-child>th.w-col-4 {
	border-bottom-left-radius: 20px;
}

/* Optional: clip gradient inside rounded corners */
table tr:first-child>.w-col-4,
table tr:last-child>.w-col-4 {
	overflow: hidden;
}

/* Alle invoervelden 100% breed binnen formulieren (behalve checkbox/radio/file/inline button inputs) */
form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="image"]),
form select,
form textarea {
	width: 100% !important;
	box-sizing: border-box;
}

/* PHPMaker / Bootstrap */
form .form-control,
form .select2-container,
form .select2-selection {
	width: 100% !important;
	max-width: 100%;
}

form .input-group>.form-control,
form .input-group>.select2-container {
	flex: 1 1 auto;
	width: 1% !important;
	min-width: 0;
}