.ms-rtestate-field h1, h1.ms-rteElement-H1,
.ms-rtestate-field h2, h2.ms-rteElement-H2,
.ms-rtestate-field h3, h3.ms-rteElement-H3,
.ms-rtestate-field h4, h4.ms-rteElement-H4{
color: #000000;
}
 
.ms-rteTable-default > tbody > tr > th, .ms-rteTable-default{
color: #000000;
}
 
.ms-rteStyle-References, .ms-rteStyle-IntenseReferences{
color: #000000;
}
 
.ms-rteTable-default > tbody > tr > th, .ms-rteTable-default > tbody > tr.ms-rteTableFooterRow-default, .ms-rteTable-0 > tbody > tr > th, .ms-rteTable-0 > tbody > tr.ms-rteTableFooterRow-0, .ms-rteTable-1 > tbody > tr > th, .ms-rteTable-1 > tbody > tr.ms-rteTableFooterRow-1, .ms-rteTable-2 > tbody > tr > th, .ms-rteTable-2 > tbody > tr.ms-rteTableFooterRow-2, .ms-rteTable-3 > tbody > tr > th, .ms-rteTable-3 > tbody > tr.ms-rteTableFooterRow-3, .ms-rteTable-4 > tbody > tr > th, .ms-rteTable-4 > tbody > tr.ms-rteTableFooterRow-4, .ms-rteTable-5 > tbody > tr > th, .ms-rteTable-5 > tbody > tr.ms-rteTableFooterRow-5, .ms-rteTable-6 > tbody > tr > th, .ms-rteTable-6 > tbody > tr.ms-rteTableFooterRow-6, .ms-rteTable-7 > tbody > tr > th, .ms-rteTable-7 > tbody > tr.ms-rteTableFooterRow-7, .ms-rteTable-8 > tbody > tr > th, .ms-rteTable-8 > tbody > tr.ms-rteTableFooterRow-8, .ms-rteTable-9 > tbody > tr > th, .ms-rteTable-9 > tbody > tr.ms-rteTableFooterRow-9, .ms-rteTable-10 > tbody > tr > th, .ms-rteTable-10 > tbody > tr.ms-rteTableFooterRow-10{
color: #000000;
}
 
.ms-rteTable-1 tr.ms-rteTableOddRow-1{
background-color: #f5f5f5;
}
.ms-rteThemeForeColor-2-3{
color: #000000;
}

.ms-rteThemeForeColor-1-5{
color: #666666;  
}

.ms-rteThemeForeColor-1-4{
color: #666666;  
}
 
 .ms-rteThemeForeColor-2-3{
color: #666666;
}

.ms-rteThemeForeColor-4-3{
color: #666666;
}

.ms-rteThemeForeColor-9-0{
color: #b54334;
}

.ms-rteBackColor-2{
background-color: #b54334 !important;
}

.ms-rteThemeForeColor-5-0{
color: #003f88;
}

*[style*="color:red"],
*[style*="color: red"],
*[style*="color:#f00"],
*[style*="color: #f00"],
*[style*="color:#ff0000"],
*[style*="color: #ff0000"],
*[style*="color: #00cc00"],
*[style*="color:#00cc00"],
*[style*="color: #0c0"],
*[style*="color:#0c0"],
*[style*="color:indianred"],
*[style*="color: indianred"],
*[style*="color:indianred !important"],
*[style*="color: indianred !important"],
*[style*="color:rgb(205, 92, 92)"],
*[style*="color: rgb(205, 92, 92)"],
*[style*="color:rgb(255, 0, 0)"],
*[style*="color: rgb(255, 0, 0)"] {
  color: #b54334 !important;
}


*[style*="color:#690"],
*[style*="color: #690"],
*[style*="color:#669900"],
*[style*="color: #669900"],
*[style*="color:#60b609"],
*[style*="color: #60b609"],
*[style*="color:#009900"],
*[style*="color: #009900"],
*[style*="color:#090"],
*[style*="color: #090"],
*[style*="color:rgb(96, 182, 9)"],
*[style*="color: rgb(96, 182, 9)"],
*[style*="color: rgb(102,153,0)"],
*[style*="color: rgb(102, 153, 0)"]
{
  color: #2e8540 !important; /* accessible green alternative */
}

*[style*="color: gray"],
*[style*="color:gray"],
*[style*="color: #777"],
*[style*="color:#777"],
*[style*="color:#777777"],
*[style*="color: #777777"],
*[style*="color:rgb(119, 119, 119)"],
*[style*="color: rgb(119, 119, 119)"]
{
  color: #666666 !important; /* accessible lighter grey alternative */
}

/* 1. Baseline line-height for all readable text */
p,
li,
dd,
dt,
blockquote {
  line-height: 1.5;
}

/* 2. Prevent inline styles from lowering line-height below 1.5 */
p[style*="line-height"],
li[style*="line-height"],
dd[style*="line-height"],
dt[style*="line-height"],
blockquote[style*="line-height"] {
  line-height: 1.5 !important;
}
