

/*
	自定义表格风格，带表头高亮。表头居中
	最后一格单元格靠左边
*/
.editormd-preview-container .mytable-normal {
	width:100%;
}

.editormd-preview-container .mytable-normal tr:first-child {
	background-color:Teal;
	text-align:center;
	font-weight:bold;
	color:#ffffff;
}


.editormd-preview-container .mytable-normal tr {
	text-align:center;
	font-weight:normal;
	color:#000000;
}

.editormd-preview-container .mytable-normal td {
	text-align:center;
}

.editormd-preview-container .mytable-normal td:last-child {
	text-align:left;
}

.editormd-preview-container .mytable-normal tr:first-child td {
	text-align:center;
}



/*
带标题，带表头的表格，首行跟第二行高亮，并居中
*/
.editormd-preview-container .mytable-headt {
	width:100%;
}

.editormd-preview-container .mytable-headt tr:first-child {
	background-color:#336666;
	text-align:center;
	font-weight:bold;
	color:#ffffff;
}

.editormd-preview-container .mytable-headt tr:nth-child(2) {
	background-color:#99ffff;
	text-align:center;
	font-weight:bold;
	color:blue;
}


.editormd-preview-container .mytable-headt tr {
	text-align:center;
	font-weight:normal;
	color:#000000;
}

.editormd-preview-container .mytable-headt td {
	text-align:center;
}



/*
带标题，带表头的表格，首行跟第二行高亮，并居中，第三行开始最后一格left
*/
.editormd-preview-container .mytable-headt2 {
	width:100%;
}

.editormd-preview-container .mytable-headt2 tr:first-child {
	background-color:#336666;
	text-align:center;
	font-weight:bold;
	color:#ffffff;
}

.editormd-preview-container .mytable-headt2 tr:nth-child(2) {
	background-color:#99ffff;
	text-align:center;
	font-weight:bold;
	color:blue;
}


.editormd-preview-container .mytable-headt2 tr {
	text-align:center;
	font-weight:normal;
	color:#000000;
}

.editormd-preview-container .mytable-headt2 td {
	text-align:center;
}

.editormd-preview-container .mytable-headt2 tr:nth-child(n+3) td:last-child {
	text-align:left;
}


/*简单版的表格风格，因为可能嵌套，所以写得复杂了，都是为了覆盖上层*/

.editormd-preview-container .mytable-childsimple {
/*	all:initial;*/
	width:100%;
}

.editormd-preview-container .mytable-childsimple tr {
	text-align:center;
	font-weight:normal;
	color:#000000;
}

.editormd-preview-container .mytable-childsimple td {
	text-align:left;
}

.editormd-preview-container .mytable-childsimple tr:first-child {
	background-color:#ffffff;
	font-weight:normal;
	text-align:center;
	color:#000000;
}

.editormd-preview-container .mytable-childsimple tr:nth-child(2) {
	background-color:#ffffff;
	font-weight:normal;
	text-align:center;
	color:#000000;
}

.editormd-preview-container .mytable-childsimple tr:first-child td {
	text-align:left;
}


/*
	自定义表格风格2，带表头高亮。表头居中
	每行奇数单元格作为标题，背景高亮，文字居中
	偶数单元作为说明备注，文字靠左
*/
.editormd-preview-container .mytable-Ltype {
	width:100%;
}

.editormd-preview-container .mytable-Ltype tr:first-child {
	background-color:#336666;
	text-align:center;
	font-weight:bold;
	color:#ffffff;
}


.editormd-preview-container .mytable-Ltype tr {
	text-align:left;
	font-weight:normal;
	color:#000000;
}

.editormd-preview-container .mytable-Ltype td {
	text-align:left;
}

.editormd-preview-container .mytable-Ltype tr:first-child td {
	text-align:center;
}

.editormd-preview-container .mytable-Ltype tr:nth-child(n+2) td:nth-child(2n+1) {
	background-color:#936666;
	text-align:center;
	font-weight:bold;
	color:#ffffff;
}










