<style>



html{
	font-size: 12px;
}

body {
   font-size: 12px;
	 hyphens: auto;
   font-family: Verdana, Arial, Helvetica, sans-serif;
}

p {
  text-indent: 2em;
}

p {
  text-indent: -2em;      /* eerste regel naar links */
  padding-left: 2em;      /* alle regels naar rechts */
}

#genmemoTop {
  display: flex;
  flex-direction: column;
  height: 100%;   /* of 100%, mits html/body ook 100% hebben */
	min-height:0;
	background: #eee;
}

#genmemoCenterTop {
	display:flex; 
	flex:1;
	align-items:flex-start; 
	min-height:0;
	height: 100%;   /* of 100%, mits html/body ook 100% hebben */
	width:100%; 
	background: #eee;	
		
}
#genmemoTextarea { 
  font-size: 12px;   /* vaste basis */
  line-height: 1.4;  /* optioneel: leesbaarder */
  border: 1px solid #ccc; 
  border-radius: 2px; 
  padding: 6px; 
  min-height: 0; 
	flex:1;	height: 100%;            /* vaste hoogte */
  overflow-y: scroll;       /* verticale scrollbar altijd zichtbaar*/
  overflow-x: hidden;       /* horizontale scrollbar voorkomen */  
	color: black;

	background:white;
	resize:none;
	box-sizing: border-box; /* border+padding in de width meerekenen */
	scrollbar-gutter: stable; /* moderne browsers: houdt scrollbalkruimte gelijk */
	margin-left: 5px;
}

#genmemoTextarea:focus { outline: 2px solid #e3f2ff; }

 /* === Editor (basis) === */
#geneditor { 
/*  font-size: 14.001px;   /* vaste basis */
	font-style: normal;
  font-size: 12px;   /* vaste basis */
  line-height: 1.4;  /* optioneel: leesbaarder */
  border: 1px solid #ccc; 
  border-radius: 2px; 
  padding: 6px; 
  min-height: 0; 
  overflow-y: scroll;       /* verticale scrollbar altijd zichtbaar*/
  overflow-x: hidden;       /* horizontale scrollbar voorkomen */  
	color: black;
	flex:1 ;
	height: 100%;
	background:white;
	box-sizing: border-box; /* border+padding in de width meerekenen */
	min-width: 0;       /* voorkomt dat flex ze groter duwt */
	margin-left: 5px;
}

#geneditor:focus { outline: 2px solid #e3f2ff; }

/* Links in view-mode */
#geneditor a {
  color: #0a58ca;
  text-decoration: underline;
  background-color: rgba(10, 88, 202, 0.1);*/
}

/* Links uitgeschakeld (bijv. expliciet class toevoegen) */

#geneditor.links-disabled a {
  color: gray;
  text-decoration: none;
  pointer-events: none;
}

/* === Edit-mode === */
#geneditor.editmode {
  background-color: white;
  border: 1px solid #bbb;
}

#geneditor.editmode a {
  pointer-events: none;
  cursor: default; 
  text-decoration: none; 
  color: black;
	/*background-color: rgba(10, 88, 202, 0.1);*/
}

#geneditor blockquote {
		/*border:0px dotted #ccc;  */
    display: block;
    margin-block-start: 1em;   /* bovenmarge */
    margin-block-end: 1em;     /* ondermarge */
    /*margin-inline-start: 1em;  	 reset standaard linkermarge van browsers */
    margin-left: 1em;         	/* geforceerd inspringen links */
    margin-right: 1em;         	/* geforceerd inspringen rechts */
		padding-left: 0em;         	/* geforceerd inspringen links */
    padding-right: 0em;         	/* geforceerd inspringen rechts */
    /*margin-inline-end: 2em;   	 marge rechts, ook in RTL-context */
    unicode-bidi: isolate;     	/* tekstisolatie, voorkomt bidi-lekken */
}

#geneditor blockquote:hover {
	/*border:1px dotted #ccc; */
 }

#geneditor ul {
	/*border:0px dotted #ccc;
  margin: 12px;*/
 list-style-position: outside;
	
}
#geneditor ul:hover {
	/*border:1px dotted #ccc; */
 }

#geneditor ol {
		/*border:0px dotted #ccc;
    margin: 12px;*/
		 list-style-position: outside;
}
#geneditor ol:hover {
	/*border:1px dotted #ccc; */
 }
 



#geneditors H1{color:black; font-size: 2.00em; font-style:italic; padding: 0px; margin-top: 3px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}
#geneditors H2{color:black; font-size: 1.50em; font-style:italic; padding: 0px; margin-top: 2px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}
#geneditors H3{color:black; font-size: 1.17em; font-style:italic; padding: 0px; margin-top: 2px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}
#geneditors H4{color:black; font-size: 0.83em; font-style:italic; padding: 0px; margin-top: 2px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}
#geneditors H5{color:black; font-size: 0.76em;                    padding: 0px; margin-top: 1px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}
#geneditors H6{color:black; font-size: 0.60em;  									padding: 0px; margin-top: 1px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}    

.gentoolbarmeeschakelen{
  gap: 4px; 
  flex-wrap: wrap; 
  margin-bottom: 4px; 
	font-size:1em;
	align:center;
}


.gentoolbarmeeschakelen button.active {
  box-shadow: inset 0 0 0 1px #007bff;
}

.gentoolbarmeeschakelen button:hover {
    background-color: #ddd;
}


.gentoolbarmeeschakelen button {
		margin-top: 5px;
		min-width: 6em;
    border: 1px outset buttonborder;
		background: white;
    border-radius: 2px;
    padding: 3px 5px;
    cursor: pointer;
    font-size: 1em;
    line-height: 1;             /* voorkomt verticale afwijking */
    vertical-align: middle;     /* center de inhoud */
    display: inline-flex;       /* flex voor betere uitlijning van icon + tekst */
    align-items: center;        /* center verticaal */
    justify-content: center;    /* center horizontaal */
}


.gentoolbarmeeschakelen select:disabled:hover {
  background-color: light-dark(rgba(239, 239, 239, 0.3), rgba(19, 1, 1, 0.3));
  color: light-dark(rgba(16, 16, 16, 0.3), rgba(255, 255, 255, 0.3));
  cursor: not-allowed;
}


/* === Toolbar === */
.gentoolbar { 
  display: flex; 
  gap: 4px; 
  flex-wrap: wrap; 
	font-size:1em;
	background: #eee;
	padding: 5px;
}


.gentoolbar button {
	  min-width: 1.8em;
    border: 1px outset buttonborder;
		background: white;
    border-radius: 2px;
    padding: 3px 5px;
    cursor: pointer;
    font-size: 1em;
		height:24px;
    /*line-height: 1;*/             /* voorkomt verticale afwijking */
    /*vertical-align: middle;*/     /* center de inhoud */
    display: inline-flex;       		/* flex voor betere uitlijning van icon + tekst */
    align-items: center;        		/* center verticaal */
    justify-content: center;   			 /* center horizontaal */
}
.gentoolbar button sup {
  position: relative;
  top: -0.3em;            /* voor sub: schuif omlaag, pas waarde aan */
  font-size: 0.8em;
  line-height: 1;
  display: inline-block;  /* zorgt voor voorspelbare box */
	
}.gentoolbar button sub {
  position: relative;
  top: 0.3em;            /* voor sub: schuif omlaag, pas waarde aan */
  font-size: 0.8em;
  line-height: 1;
  display: inline-block;  /* zorgt voor voorspelbare box */
}

.gentoolbar button.active {
  box-shadow: inset 0 0 0 1px #007bff;
}

.gentoolbar button:disabled {
    background-color:white;
}

.gentoolbar button:hover {
    background-color: #ddd;
}

.genmemoTop H1{color:black; font-size: 2.00em; font-style:italic; padding: 0px; margin-top: 3px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}
.genmemoTop H2{color:black; font-size: 1.50em; font-style:italic; padding: 0px; margin-top: 2px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}
.genmemoTop H3{color:black; font-size: 1.17em; font-style:italic; padding: 0px; margin-top: 2px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}
.genmemoTop H4{color:black; font-size: 0.83em; font-style:italic; padding: 0px; margin-top: 2px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}
.genmemoTop H5{color:black; font-size: 0.76em;                    padding: 0px; margin-top: 1px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}
.genmemoTop H6{color:black; font-size: 0.60em; 									 	padding: 0px; margin-top: 1px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}    



.gentoolbar input {
		margin: 0px;
    border: 1px outset buttonborder;
		background: white;
    border-radius: 2px;
    padding: 3px 5px;
    font-size: 1em;
		height:24px;
    line-height: 1;             /* voorkomt verticale afwijking */
    vertical-align: middle;     /* center de inhoud */
    display: inline-flex;       /* flex voor betere uitlijning van icon + tekst */
    align-items: center;        /* center verticaal */
    justify-content: left;   	  /* center horizontaal */
}

.gentoolbar input.active {
  box-shadow: inset 0 0 0 1px #007bff;
}

.gentoolbar input:disabled {
  /*background-color: light-dark(rgba(239, 239, 239, 0.3), rgba(19, 1, 1, 0.3));*/
	    background-color:white;

  color: light-dark(rgba(16, 16, 16, 0.3), rgba(255, 255, 255, 0.3));

}


.gentoolbar input:disabled:hover {
  cursor: not-allowed;
	}
	
	
.gentoolbar input:hover {
    background-color: #e9e9e9;
}

.gentoolbar input:disabled::placeholder,
textarea:disabled::placeholder {
  color: #bbb;       /* lichter grijs */
  font-style: normal;
  opacity: 1;
}

.gentoolbar select {
		color: buttontext;
    background-color: buttonface;
 		background: white;
		padding: 2px 18px 2px 6px; 
    border: 1px outset buttonborder;
    border-radius: 2px; /* gelijk aan buttons */
    height: 24px;
    line-height: 20px;
    vertical-align: middle;
    letter-spacing: normal;
    word-spacing: normal;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: 
		linear-gradient(45deg, transparent 50%, gray 50%),
		linear-gradient(135deg, gray 50%, transparent 50%);
    background-position: right 6px center, right 2px center;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    cursor: pointer;

}

.gentoolbar select.active {
  box-shadow: inset 0 0 0 1px #007bff;
}

/* cursor en grijs maken bij disabled */
.gentoolbar select:disabled{
	    background-color:white;

   /*background-color: light-dark(rgba(239, 239, 239, 0.3), rgba(19, 1, 1, 0.3));*/
   color: light-dark(rgba(16, 16, 16, 0.3), rgba(255, 255, 255, 0.3));

}
  /* border-color: light-dark(rgba(118, 118, 118, 0.3), rgba(195, 195, 195, 0.3));*/
	/*cursor: not-allowed;*/


.gentoolbar select:disabled option { color: inherit; }

.gentoolbar select:hover {
    background-color: #ddd;
}


.gentoolbar button:disabled:hover,
.gentoolbar select:disabled:hover {
  background-color: light-dark(rgba(239, 239, 239, 0.3), rgba(19, 1, 1, 0.3));
  color: light-dark(rgba(16, 16, 16, 0.3), rgba(255, 255, 255, 0.3));
  cursor: not-allowed;
}

.genMemoEditor H1{color:black; font-size: 2.00em; font-style:italic; padding: 0px; margin-top: 3px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}
.genMemoEditor H2{color:black; font-size: 1.50em; font-style:italic; padding: 0px; margin-top: 2px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}
.genMemoEditor H3{color:black; font-size: 1.17em; font-style:italic; padding: 0px; margin-top: 2px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}
.genMemoEditor H4{color:black; font-size: 0.83em; font-style:italic; padding: 0px; margin-top: 2px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}
.genMemoEditor H5{color:black; font-size: 0.76em;                    padding: 0px; margin-top: 1px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}
.genMemoEditor H6{color:black; font-size: 0.60em; 									 padding: 0px; margin-top: 1px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}  



.geneditordropdown {
  position: relative;
  display: inline-block;
}

.geneditordropdown button {
  display: flex;              /* flexbox voor uitlijning */
  justify-content: space-between; /* tekst links, ::after helemaal rechts */
  align-items: center;        /* verticaal centreren */
  border: 1px outset buttonborder;
  /*background: white;*/
  font-size: 1em;
  cursor: pointer;
  padding: 2px 8px 2px 6px; 
  border-radius: 2px;
  height: 24px;
  line-height: 20px;
  /*min-width: 8em;*/
}




.geneditordropdown button.active {
  box-shadow: inset 0 0 0 1px #007bff;
}

.geneditordropdown button:disabled {
  /*background-color: light-dark(rgba(239, 239, 239, 0.3), rgba(19, 1, 1, 0.3));*/
	    background-color:white;

  color: light-dark(rgba(16, 16, 16, 0.3), rgba(255, 255, 255, 0.3));
  cursor: not-allowed;
}


.geneditordropdown button:hover {
  background: #e9e9e9;
}

.geneditordropdown button::after {
  content: "\25BC"; /* ▼ */
  font-size: 1em;
  margin-left: 8px;
}

.minibutton{
    border: 1px outset buttonborder;
		border-left:0;
		background: white;
    border-radius: 2px;
    padding: 3px 5px;
    cursor: pointer;
    font-size: 1em;
		height:24px;
    line-height: 1;             /* voorkomt verticale afwijking */
    vertical-align: middle;     /* center de inhoud */
    display: inline-flex;       /* flex voor betere uitlijning van icon + tekst */
    align-items: center;        /* center verticaal */
    justify-content: center;    /* center horizontaal */
		margin-left: -28px;
		z-index:900;
}


.geneditordropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  /*min-width: 120px;*/
  z-index: 100;
	margin: 0px;
}


.geneditordropdown-content button {
	white-space: nowrap;
	width: auto;
  /*padding: 6px 8px;*/
  border: none;
  background: white;
  text-align: left;
  cursor: pointer;
	display: block; 
	box-sizing: border-box;
	margin: 0px;
	width:100%
}

.geneditordropdown-content button::after {
  content: "►";
  content: " ";
  font-size: 0.7em;
  margin-left: 4px;
}

.geneditordropdown-content button:hover {
  background: #f0f0f0;
		font-size: 1.2em;
		font-weight: bold;
}



.geneditordropdown-content button H1{color:black; font-size: 2.00em;  padding: 0px; margin-top: 3px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}
.geneditordropdown-content button H2{color:black; font-size: 1.50em;  padding: 0px; margin-top: 2px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}
.geneditordropdown-content button H3{color:black; font-size: 1.17em;  padding: 0px; margin-top: 2px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}
.geneditordropdown-content button H4{color:black; font-size: 0.83em;  padding: 0px; margin-top: 2px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}
.geneditordropdown-content button H5{color:black; font-size: 0.76em;  padding: 0px; margin-top: 1px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}
.geneditordropdown-content button H6{color:black; font-size: 0.60em;  padding: 0px; margin-top: 1px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; border-width: 0px; margin-block-start: 0px;}    


.statusbar{
	/*display: flex;*/
	align-items: flex-start;
	flex:0 0 auto;
	background: #eee;
	font-size:12px; 
	color:#555; 
	padding:2px; 
}

.statusbarcontent{
	align-items: flex-start;
  display: inline-flex;       /* flex voor betere uitlijning van icon + tekst */

	background: #eee;
	border: 1px solid #ccc; 
  border-radius: 2px; 
	border-style: groove;
	margin:2px;
	border: 1px outset buttonborder solid #ccc; ;
	
  padding: 3px 5px;
  cursor: context-menu;
  font-size: 1em;
	
  line-height: 1;             /* voorkomt verticale afwijking */
  vertical-align: middle;     /* center de inhoud */
  align-items: center;        /* center verticaal */
  justify-content: center;    /* center horizontaal */

}

.genmemobestandlist{
 line-height:1.5em;
 cursor:default; 
}


.genmemobestandlist:hover {
	line-height:2em;
	background-color: #ddd;
	cursor: pointer;
	font-size: 1.2em;
		font-weight: bold;
}

#genmemobestandopen{
	width:24em;
}

#geneditorbestandopslaantop{
	width:24em;
	font-size: 1.5em;
}


/* individuele decoraties */
.underline { text-decoration: underline; }
.strike { text-decoration: line-through; }
.overline { text-decoration: overline; }

/* combinaties (optioneel, kan JS dynamisch samenvoegen) */
.underline-strike { text-decoration: underline line-through; }
.underline-overline { text-decoration: underline overline; }
.strike-overline { text-decoration: line-through overline; }
.underline-strike-overline { text-decoration: underline line-through overline; }
</style>
