
.clr { clear:both;}

a.lnk0:link {font-size:110%; color: green; text-decoration: none;}
a.lnk0:visited {font-size:110%;text-decoration: none;}
a.lnk0:active {text-decoration: none;}
a.lnk0:hover {text-decoration: underline; color: blue;}
a.lnk1:link {font-size:110%;color: green; text-decoration: none;}
a.lnk1:visited {font-size:110%;color: green; text-decoration: none;}
a.lnk1:active {text-decoration: none;}
a.lnk1:hover {text-decoration: underline; color: blue;}

a.lnk2:link {font-size:110%;color: brown; text-decoration: none;}
a.lnk2:visited {font-size:110%;color: brown; text-decoration: none;}
a.lnk2:active {text-decoration: none;}
a.lnk2:hover {text-decoration: underline; color: blue;}

a.lnk3:link {font-size:110%;color:red;font-weight:bold; text-decoration: none;}
a.lnk3:visited {font-size:110%;color:red;font-weight:bold; text-decoration: none;}
a.lnk3:active {text-decoration: none;}
a.lnk3:hover {text-decoration: underline; color: blue;}

div#lnk1 {font-size:110%;color: green; text-decoration: none;}
div#lnk2 {font-size:110%;color: brown; text-decoration: none;}
div#lnk3 {font-size:110%;color:red;font-weight:bold; text-decoration: none;}
div#lnk4 {font-size:110%;color:marron;font-weight:bold; text-decoration: none;}

.lnk1 {font-size:110%;color: green; text-decoration: none;}
.lnk2 {font-size:110%;color: brown; text-decoration: none;}
.lnk3 {font-size:110%;color:red;font-weight:bold; text-decoration: none;}
.lnk4 {font-size:110%;color:marron;font-weight:bold; text-decoration: none;}

a.lnk4:link {font-size:110%;color:marron;font-weight:bold; text-decoration: none;}
a.lnk4:visited {font-size:110%;color:marron;font-weight:bold; text-decoration: none;}
a.lnk4:active {text-decoration: none;}
a.lnk4:hover {text-decoration: underline; color: navy;}


a.butn:link {font-size:110%;line-height:100%;color:white; text-decoration: none;}
a.butn:visited {font-size:110%;line-height:100%;color:white; text-decoration:none;}
a.butn:active {text-decoration: none;}
a.butn:hover {text-decoration: underline; color:gold;}

.calbase{background: #0088AA}
.caldqbase{background: #a8e19e}

.normal{font-size:120%;background:#ffffff}
.offday{font-size:120%;color:#7F7F7F;background-color:#E3E3DC}
.today {font-size:120%;font-weight:bold;background: gold}
.selected {font-size:120%;font-weight:bold; background: rgba(255, 218, 0, 0.28);}
.sunday{color:red; font-size:120%;  background:#aaffca}
.weekday{font-size:120%}
.satday{color:green; font-size:120%}
.solarterm{color:#f7951f; font-size:120%;  background:#a8e19e}

.days {font-weight:bold;font-size:110%;line-height:100%;background:#DDFFDD}
.xem0 {color:Navy;font-size:120%;background:#DDFFDD}
.xem1 {color:Navy;font-size:120%;background:#DDFFDD}
.xem2 {color:Navy;font-size:130%}
.lich_t {font-size:110%;font-weight:bold;background: gold}
.nhat {font-size:120%;color:blue}
.thoi {font-size:120%;color:blue}
.thoitab {font-size:100%;color:blue}

.sonhuong {font-family:"Times New Roman";font-size:17px;color:blue}
.dlich {
	text-align:center;
	font-size:120%;
}
.alich {text-align:right;font-size:90%;line-height:98%}
.hungday{color:#7F7F7F;background-color:#E3E3DC}
.catday{color:red; background:#aaffca}

.thang {
	border-collapse:collapse; 
	border: 1px solid #003366;
	border-radius:5px;
	font-family:tahoma;
	font-size:100%;
	padding:3px;
	width: 100%;
}
.thang td {
	padding:5px 7px; 
	border:1px solid #DDDDDD;
}

td.normal:hover {	
	background:#FFE6B5; 
	border-right: 1px solid #BBB!important;
	border-bottom: 1px solid #BBB!important;
}

#templates {
	display: none;
}

.top {
    float: left;
    height: 25px;
    position: relative;
    width: 100%;
    padding: 4px 0 0 2px;
}

.solar_no {
    font-family: tahoma,sans-serif;
    font-size: 24px;
    float: left;
    height: 25px;
    left: 0;
    bottom: 0;
    line-height: 25px;
    color: #000
}

.solar_la {
    font-family: sans-serif;
    font-size: 150%;
    float: right;
    right: 5px;
    top: 5px;
    color: #000
}

.solar_qn {
    font-size: 110%;
	font-weight:bold;
    display: block;
    text-align: center;
    text-transform: capitalize;
    color: #337ab7;
    padding: 2px 0 3px;
}

.lunar_no {
    font-family: tahoma,sans-serif;
    font-size: 13px;
    color: #2a9e16;
    position: absolute;
    right: 5px;
    top: 10px;
}

.lunar_bo {
    font-family: sans-serif;
    font-size: 79%;
    float: right;
    right: 0;
    bottom: 0;
    color: #000;
}


.lunar_na {
    font-size: 70%;
    display: block;
    text-align: center;
    text-transform: capitalize;
    color: #337ab7;
    padding: 2px 0 3px;
}

.lunar_nal {
    font-size: 60%;
    text-align: left;
    text-transform: capitalize;
    color: #337ab7;
    padding: 2px 3px;
}

.lunar_nar {
    font-size: 60%;
    text-align: right;
    text-transform: capitalize;
    color: #337ab7;
    padding: 2px 3px;
}

.lunar_na75 {
    font-size: 75%;
    display: block;
    text-align: center;
    text-transform: capitalize;
    color: #337ab7;
    padding: 2px 0 3px
}

.lunar_na65 {
    font-size: 65%;
    display: block;
    text-align: center;
    text-transform: capitalize;
    color: #337ab7;
    padding: 2px 0 3px
}

.lunar_na85 {
    font-size: 85%;
    text-align: left;
    padding: 2px 0 3px
}

.xgdq {
    font-size: 85%;
	font-weight:bold;
    display: block;
    text-align: center;
    text-transform: capitalize;
    color:#65721; 		/* #c1d93a; */
	background:#e5eada; /*#817c61; */
    padding: 2px 0 3px	
	}

.offday .lunar_na {
    color: #accbe6!important;
}

.offday .dlich {
    color: #bebeb1!important;
}

.offday .alich {
    color: #bebeb1!important;
}
.offday .lunar_bo {
    color: #bebeb1!important;
}

.xgtem_no5 {
    font-size: 50%;
    display: block;
    text-align: center;
    text-transform: capitalize;
    color: #c1d93a;
    padding: 2px 0 3px
}

.xgterm {color:#f7951f; font-size:120%;  background:#817c61}

.xgtem_no {
    font-size: 70%;
    display: block;
    text-align: center;
    text-transform: capitalize;
    color: #c1d93a;
    padding: 2px 0 3px
}

.xkterm {color:#fafafa; font-size:75%;  background:#91928e}
.xkterm50 {color:#fafafa; font-size:50%;  background:#91928e}

.activeselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
	     -o-user-select: none;
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent;
}


.postnonesel {
  -webkit-touch-callout: auto; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.actselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
	     -o-user-select: none;
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent;
}

.clearfloat {clear:both; float:none; }


.t3title{
	float:left;
	width:96%;
	margin:10px 0 15px 0;
	font-size:19px;
	font-family:Verdana,Arial,"新細明體",sans-serif;
	color:#834B27;
	line-height:40px;
	text-align:center;
	background:#FDF5E6 url("../images/mla1_title_3_bg.png") no-repeat center top;
}


.mla1_bar_1 .b1l{
	float:left;
	margin:2px 0 0 2px;
	width:22px;
	height:22px;
	background:url("../images/bar_bg_1.png") no-repeat;
}
.mla1_bar_1 .b1r{
	float:right;
	margin:2px 2px 0 0;
	width:22px;
	height:22px;
	background:url("../images/bar_bg_1.png") no-repeat -22px top;
}

#nl_bg{width:671px;height:582px;background:url("../images/nl_bg.gif") 0px 0px no-repeat;}
#nl_tb1{width:868px;height:215px;background:url("../images/l_tb1.png") 0px 0px no-repeat;}
#nl_tb2{width:650px;height:364px;background:url("../images/l_bg.gif") 0px 0px no-repeat;margin-left:5px;}

a:link,
a:active
{
	color: #a71817;
	text-decoration: none;
	background-color: transparent;
}

a:visited
{
	color: #660066;
	text-decoration: none;
	background-color: transparent;
}

a:hover
{
	color: #003782;
	text-decoration: underline;
	background-color: transparent;
}

acronym
{
	cursor: help;
	border-bottom: 1px dotted #000;
}

hr
{
	display: none;
}

.hide
{
	display: none;
}

}

.tableMP.xyz {
	border-collapse: collapse;
	width :800px;
	border: 2px solid #000080;
	padding: 1px 1px 1px 1px;
	
}

/* Bàn Thái Ất (func.thaiat.php: <table class="xyz">, không có .tableMP): khung ngoài + lưới ô như table.css gốc.
   :where() giữ độ ưu tiên thấp để viền xanh của td.boleft/botop… (trung cung) vẫn thắng. */
table.xyz { border-collapse: collapse; border: 2px solid #000080; min-width: 720px; }   /* mobile: giữ dáng bàn, khung ngoài cuộn ngang */
:where(table.xyz) > tbody > tr > td { border: 1px solid #ddd; padding: 1px; }

.tableMP tbody td:hover,
.tableMP tbody th:hover {
    border-color: #0082ff;
}

td.boleft
{
	padding: 1px 1px 1px 1px;
	border-left: 2px solid #000080;
	background-image: none;
}
td.boright
{
	padding: 1px 1px 1px 1px;
	border-right: 2px solid #000080;
	background-image: none;
}

td.botop
{
	padding: 1px 1px 1px 1px;
	border-top: 2px solid #000080;
	background-image: none;
}

td.bobottom
{
	padding: 1px 1px 1px 1px;
	border-bottom: 2px solid #000080;
	background-image: none;
}

td.botopright
{
	padding: 1px 1px 1px 1px;
	border-top: 2px solid #000080;
	border-right: 2px solid #000080;
	background-image: none;
}

td.bobottomright
{
	padding: 1px 1px 1px 1px;
	border-bottom: 2px solid #000080;
	border-right: 2px solid #000080;
	background-image: none;
}


td.botopleft
{
	padding: 1px 1px 1px 1px;
	border-top: 2px solid #000080;
	border-left: 2px solid #000080;
	background-image: none;
	
}

td.bobottomleft
{
	padding: 1px 1px 1px 1px;
	border-bottom: 2px solid #000080;
	border-left: 2px solid #000080;
	background-image: none;
}



td.td160 { 
	text-align: left; 
	font-size: 110%;
	vertical-align: top ; 
	border: none; 
	height: 100px; 
	width:144px; 
} 

td.td16 { 
	padding: 1px 1px 1px 1px;
	font-size: 110%;
	border: none; 
	width:16px; 
	background-image: none;
} 


.tableMP
{
    border: 1px solid #dfd8d0;
    border-radius:0.5em;
	margin: 0px 0px 1px 0px;
	border-collapse: collapse;
	background-image: none;
	width: 100%;
}				

.tableMP caption
{
	caption-side: top;
	padding: 1px 1px 1px 1px;
	font-style: italic;
	color: #666;
}

.tableMP th,
.tableMP td
{
	padding: 1px 1px 1px 1px;
	border: 1px solid #ddd;
	background-image: none;
}
			
.tableMP thead th,
.tableMP thead td
{
	text-align: center;
	font-weight: bold;
	background-color:#eee;
	background-image: none;
}

.tableMP.no-border

{
	margin: 0px 0px 1px 0px;
	border: none;
	border-collapse: collapse;
	background-image: none;
}

.tableMP.no-border th,
.tableMP.no-border td
{
    padding: 1px 1px 1px 1px;
	border: none;
	
}

.tableMP.no-border2
{
	margin: 0px 0px 1px 0px;
	border: none;
	border-collapse: collapse;
	background-image: url(images/b00.gif) repeat-x;
}

.tableMP.no-border2 th,
.tableMP.no-border2 td
{
    padding: 1px 1px 1px 1px;
	border: none;
	
}

td.head1 { 
	padding: 1px 1px 1px 1px;
	font-size: 110%;
	border: none; 
	background-image: url(images/b00.gif) repeat-x;
} 
		
		
.tableMP th.left,
.tableMP td.left
{
	text-align: left;
}

.tableMP th.center,
.tableMP td.center
{
	text-align: center;
}

.tableMP th.right,
.tableMP td.right
{
	text-align: right;
}

.tableMP th.justify,
.tableMP td.justify
{
	text-align: justify;
}

.tableMP ul
{
	list-style: none;
}



