/* Normal, standard links. */
a:link, a:visited {color: #476C8E;text-decoration: none;}
a:hover {text-decoration: underline;}
.nav, .nav:link, .nav:visited {	color: #000000;	text-decoration: none;}
a.nav:hover {color: #cc3333;text-decoration: underline;}

#temloadSLncOnlineMysql {
	display: none;
}

table {empty-cells: show;}
/* By default (td, body..) */
body, td, th , tr {
	color: #000000;
	font-size: medium; /* old medium */
	font-family: "Tahoma";}
/* The main body of the entire forum. */
body {
	background-color: #E5E5E8;
	margin: 0px;
	padding: 5px 30px 5px 30px;}
input, textarea, button {
	color: #000000;
	font-family: "Tahoma";}
input, button {
	font-size: 90%;}
textarea {
	font-size: 100%; 
	color: #000000;
	font-family: "Tahoma";}
/* All input elements that are checkboxes or radio buttons. */
input.check {}
/* Selects are a bit smaller, because it makes them look even better 8). */
select {
	font-size: 90%;
	font-weight: normal;
	color: #000000;
	font-family: "Tahoma";}
/* Standard horizontal rule.. ([hr], etc.) */
hr, .hrcolor {
	height: 1px;
	border: 0;
	color: #666666;
	background-color: #666666;}
/* No image should have a border when linked */
a img {border: 0;}
/* A quote, perhaps from another post. */
.quote {
	color: #000000;
	background-color: #D7DAEC;
	border: 1px solid #000000;
	margin: 1px;
	padding: 1px;
	line-height: 1.4em;
	margin-bottom: 1ex;
	}
/* A code block - maybe even PHP ;). */
.code {
	color: #000000;
	background-color: #dddddd;
	font-family: "courier new", "times new roman", monospace;
	font-size: x-small;
	line-height: 1.3em;
	/* Put a nice border around it. */
	border: 1px solid #000000;
	margin: 1px auto 1px auto;
	padding: 1px;
	width: 99%;
	/* Don't wrap its contents, and show scrollbars. */
	white-space: nowrap;
	overflow: auto;
	/* Stop after about 24 lines, and just show a scrollbar. */
	max-height: 24em;}
/* The "Quote:" and "Code:" header parts... */
.quoteheader, .codeheader {
	margin-top: 1ex;
	color: #000000;
	text-decoration: none;
	font-weight: bold;
	font-size: small; /*bt:  change from x-small to small */
	line-height: 1.2em;}
/* Generally, those [?] icons.  This makes your cursor a help icon. */
.help {cursor: help;}
/* /me uses this a lot. (emote, try typing /me in a post.) */
.meaction {color: red;}
/* The main post box - this makes it as wide as possible. */
.editor {width: 100%;}
/* Highlighted text - such as search results. */
.highlight{	background-color: yellow;font-weight: bold;	color: black;}
/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg, #preview_body{color: #000000;background-color: #ECEDF3;padding-left: 6px;}
.windowbg2, .unread_unreadreplies{	color: #000000;	background-color: #F6F6F6;padding-left: 6px;}
.windowbg3{	color: #000000;	background-color: #E0E1E8;padding-left: 6px;}
	.windowbg, .windowbg2, .windowbg3  {
		padding: 1ex 5px 1ex 5px;
	}
/* the today container in calendar */
.calendar_today{
	background-color: #FFFFFF;}
/* These are used primarily for titles, but also for headers */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td {	
	color: black;
	font-style: normal;
	background: url(images/titlebg.jpg) #E9F0F6 repeat-x;
	border-bottom: solid 1px #9BAEBF;
	border-top: solid 1px #FFFFFF;
	padding-left: 10px;
	padding-right: 10px;}
.titlebg, .titlebg a:link, .titlebg a:visited{font-weight: bold;color: black;font-style: normal;}
.titlebg a:hover{color: #404040;}
/* same as titlebg, but used where bold text is not needed */
.titlebg2 a:link, .titlebg2 a:visited{color: black;	font-style: normal;	text-decoration: underline;}
.titlebg2 a:hover{text-decoration: underline;}
/* This is used for categories, page indexes, and several other areas in the forum.
.catbg and .catbg2 is for boardindex, while .catbg3 is for messageindex and display headers*/
.logoTitle, .catbg , tr.catbg td , .catbg3 , tr.catbg3 td{
	background: url(images/catbg.jpg) #88A6C0 repeat-x;
	color: #ffffff;
	padding-left: 10px;
	padding-right: 10px;}
.catbg2 , tr.catbg2 td{
	background: url(images/catbg2.jpg) #A1BFD9 repeat-x;
	color: #ffffff;
	padding-left: 10px;
	padding-right: 10px;}
.logoTitle, .catbg, .catbg2, .catbg3{border-bottom: solid 1px #375576;}
.logoTitle, .catbg, .catbg2{font-weight: bold;}
.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited{font-size: 95%;color: white;text-decoration: none;}
.catbg a:link, .catbg a:visited , .catbg2 a:link, .catbg2 a:visited{color: white;text-decoration: none;}
.logoTitle a:link, .logoTitle a:visited{color: navy;text-decoration: none;}
.logoTitle a:hover, .catbg a:hover, .catbg2 a:hover, .catbg3 a:hover{color: #e0e0ff;}
/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor{background-color: #ADADAD;	padding: 0px;}
/* This is used on tables that should just have a border around them. */
.tborder{padding: 1px;border: 1px solid #696969;background-color: #FFFFFF;}
/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext {font-size: 95%; font-family: "Tahoma";}
.tborder.smallesttext {font-size: 80%; font-family: "Tahoma";}
.middletext{font-size: 90%;}
.normaltext{font-size: small;}
.largetext{	font-size: large;}
/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage{
	width: 100%;
	overflow: auto;
	line-height: 1.4em;
	padding: 10px 10px 10px 0;}
/* All the signatures used in the forum.  If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */
.signature{
	width: 100%;
	overflow: auto;
	padding-bottom: 3px;
	line-height: 1.3em;}

/* Sometimes there will be an error when you post */
.error{color: red;}


/* definitions for the main tab, active means the tab reflects which page is displayed */
.maintab_first, .maintab_back, .maintab_last, .maintab_active_first, .maintab_active_back, .maintab_active_last
	{color: white;
	text-transform: uppercase;
	vertical-align: top;}
.maintab_back, .maintab_active_back
	{color: white;
	text-decoration: none;
	font-size:  11px;
	line-height: 1.3em;
	text-align: center;
	vertical-align: top;
	padding: 2px 6px 6px 6px;
	font-family: tahoma, sans-serif;}
.maintab_first{background: url(images/maintab_first.gif) left bottom no-repeat;	width: 10px;}
.maintab_back{background: url(images/maintab_back.gif) left bottom repeat-x;}
.maintab_last{	background: url(images/maintab_last.gif) left bottom no-repeat;	width: 8px;}
.maintab_active_first{background: url(images/maintab_active_first.gif) left bottom no-repeat;width: 6px;}
.maintab_active_back{background: url(images/maintab_active_back.gif) left bottom repeat-x;}
.maintab_active_last{background: url(images/maintab_active_last.gif) left bottom no-repeat;	width: 8px;}
/* how links behave in main tab. */
.maintab_back a:link , .maintab_back a:visited, .maintab_active_back a:link , .maintab_active_back a:visited
{color: white;text-decoration: none;}
.maintab_back a:hover, .maintab_active_back a:hover{color: #e0e0ff;	text-decoration: none;}
/* definitions for the mirror tab */
.mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last
{color: white;text-transform: uppercase;vertical-align: top;}
.mirrortab_back, .mirrortab_active_back
	{color: white;
	text-decoration: none;
	font-size: 11px; /* old 9px */
	vertical-align: bottom;
	padding: 6px 6px 2px 6px;
	font-family: tahoma, sans-serif;}
.mirrortab_first{background: url(images/mirrortab_first.gif) no-repeat;	width: 10px;}
.mirrortab_back{background: url(images/mirrortab_back.gif) repeat-x;}
.mirrortab_last{background: url(images/mirrortab_last.gif) no-repeat;width: 6px;}
.mirrortab_active_first{background: url(images/mirrortab_active_first.gif) no-repeat;width: 6px;}
.mirrortab_active_back{background: url(images/mirrortab_active_back.gif) repeat-x;}
.mirrortab_active_last{background: url(images/mirrortab_active_last.gif) no-repeat;width: 8px;}
/* how links behave in mirror tab. */
.mirrortab_back a:link , .mirrortab_back a:visited, .mirrortab_active_back a:link , .mirrortab_active_back a:visited
{color: white;text-decoration: none;}
.mirrortab_back a:hover, .mirrortab_active_back a:hover{color: #e0e0ff;	text-decoration: none;}
/* The AJAX notifier */
#ajax_in_progress
	{background: #32CD32;
	color: white;
	text-align: center;
	font-weight: bold;
	font-size: 18pt;
	padding: 3px;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;}
/* start - P4 add RESPONSIVE SMF 1.1.21 20-6-2019 */
* {
	margin: 0px;
	padding: 0px;
	box-sizing:border-box;
	word-wrap: break-word; /*--chống những text link dài tràn--*/
}
.main_container {
	border: solid 1px #375576;
	margin-bottom: 15px;
	width: 100%;
}
.cat_bar {
	background: url(images/catbg.jpg) #88A6C0 repeat-x;
	color: #ffffff;
	padding: 10px;
}
.cat_bar2 {
	background: url(images/catbg2.jpg) #A1BFD9 repeat-x;
	color: #ffffff;
	padding: 10px;
}
/* màu chữ của tiêu đề các board, trắng đậm */
.cat_bar a:link,.cat_bar a:visited, .cat_bar2 a:link, .cat_bar2 a:visited {
	color: #ffffff;
	font-weight: bold;
}
.board {
  display: flex; /*-- kéo tràn các cột có cùng độ cao--*/
  overflow: auto; /*-- kéo tràn các cột có cùng độ cao--*/
}
.board_icon {
	width: 5%;
	float: left;
	border-top: solid 1px #375576;
	border-right: solid 1px #375576;
	display: flex; /* canh hình icon vào giữa ô */
	justify-content: center; /* canh hình icon vào giữa ô */
	align-items: center; /* canh hình icon vào giữa ô */
}
.board_info {
	padding: 13px 3px 3px 10px;
	width: 45%;
	float: left;
	border-top: solid 1px #375576;
	border-right: solid 1px #375576;
	background-color: #F6F6F6;	
}
.board_stats {
	padding: 13px;
	width: 15%;
	float: left;
	border-top: solid 1px #375576;
	border-right: solid 1px #375576;
	text-align: center;
	font-size: medium;
}
.lastpost_lpr_border {
	padding: 10px;
	width: 35%;
	float: left;
	border-top: solid 1px #375576;
	background-color: #F6F6F6;
}
.lastpost_lpr_border:after {  
	clear: both;  
}  
/* Các bài viết mới recent post */
.recent_posts {
  overflow: auto; 
}
.recent_posts_title {
	width: 65%;
	float: left;
	margin-top: 3px;
}
.recent_posts_time {
	padding-right: 10px;
	width: 35%;
	float: right;
	text-align: right;
}
.recent_posts_time:after {
 	clear: both;
}
.pc_xuong_hang {
	display: block;
}
.pc_inline {
	display: inline-block;
}
.pc_hide, .pchidemobileshow, .pc_ipad_hide, .pc_hide_inline {
	display: none;
}
.mobile_hide_td {
	padding:5px;
}
/* header hoa sen trên đá forum */
.phapthan_img {
	width: 5%;
	background: url(images/catbg2.jpg) #A1BFD9 repeat-x;
	color: #ffffff;
	padding: 10px;
}
.hoasentrenda_td {
	background: url(images/catbg2.jpg) #A1BFD9 repeat-x !important;
	color: #ffffff !important;
	padding: 10px;
	width: 90%;
	text-align: center;
}
.title_hoasentrenda a:link, .title_hoasentrenda a:visited {
	font-family: Arial;
	text-align: center;
	font-size: 200%;
	color: navy;
}
.title_atcndtm a:link, .title_atcndtm a:visited {
	font-family: Arial;
	text-align: center;
	font-size: 150%;
	color: navy;
}
.tamchu_img {
	background: url(images/catbg2.jpg) #A1BFD9 repeat-x;
	color: #ffffff;
	padding: 10px;
    width:5%;
}
/* end header hstd forum */

/* search form and nhapcoc */
.nhapcoc_container {
	overflow: auto;
}
.nhapcoc_text {
	width: 70%;
	float:left;
	text-align: justify!important;
}
.text_body_nhapcoc {
	color: darkorange;
	font-weight: bold;
}
.search_form {
	width:30%;
	float: right;
	text-align: right;
}
.search_form:after {
	clear: both;
}
/* end search form and nhapcoc */
/* start message index template - danh sách bài viết trong một cataloge */
.catbg3.mobile_hide,.windowbg.mobile_hide, .windowbg2.mobile_hide, .windowbg3.mobile_hide {
	display:table-cell;
	padding-left: 6px;
}
.titlebg2.disp-info {
	overflow: auto;
	width: 100%;
}
.smalltext.disp-info1 {
	float: left;
	width: 30%;
}
.smalltext.disp-info2 {
	float: left;
	width: 20%;	
}
.smalltext.disp-info3 {
	float: right;
	text-align: right;
	width: 50%;
}
.smalltext.disp-info3:after {clear:both;}
/* end message index template - danh sách bài viết trong một cataloge */
/* start recent template */
.disp-info-2-col {overflow: auto;width: 100%;}
.smalltext.disp-info-2-col-1, .smalltext.disp-info-2-col-2 {float: left;width: 50%;}
.smalltext.disp-info-2-col-2:after {clear: both;}
/* start sms message: personal message template */
.left-col-sms-message {width: 10%;}
.right-col-sms-message {width: 90%;}
/* start Send sms gởi tin nhắn*/
.subject-input, .send-to-input, .bcc-input {width: 60%;}
/* post bài viết */
.subject-post-input, .sms-search-input {width: 100%;}
/* start footer */
.footer-left, .footer-right {width: 28%;}
.footer-middle {width: 44%;}
.post_image {max-width: 100%;height: auto;}
.attachment_image {max-width: 100%;height: auto;}
/* linktree_post là menu hiện link từ board cha > board con rồi đến topic*/
.linktree_post {
	list-style-type: none;
	display: inline-block;
}
/* end footer */
/* recent post*/
.recent_post_container {border: 1px solid black;}
.recent_post_link_name a:link, .recent_post_link_name a:visited{text-decoration: none;} 
.mobile_hide.recent_post_time{display: inline-block;}
.catbg.recent_poster{padding-left: 3ex;}

/* end recent post*/
.nav_link_tree {
	font-size: 95%;
	font-weight: bold;
}
.modified_post_col {float: left;}
.report_col {float: right;}
.report_col:after {clear: both;}
.resizeFontsize_box {
    margin-top: 10px;
    font-size: 16px;
}
.resizeFontsize_box button {
    padding: 3px 10px 3px 10px;
    background:#6989A8;
    color: white;
    font-size: 15px;
}
.p_link_unread {
	margin-top: 0.7ex;
	margin-bottom: 0.7ex;
}
.p_link_unreadreplies {
	margin-bottom: 0.7ex;
}

.imagechat {
    max-width: 300px;
}

/*edit post*/
.editor {padding-left: 10px;}

/* Responsive SMF 1.1.21 by p4*/
/* ----------- iPad Pro ----------- */
/* Portrait and Landscape */
@media only screen 
  and (min-width: 1024px) 
  and (max-height: 1366px) 
  and (-webkit-min-device-pixel-ratio: 1.5) {
  	body, td, th , tr {
	font-size: 20px;
	}
}

/* Portrait */
@media only screen 
  and (min-width: 1024px) 
  and (max-height: 1366px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1.5) {
  	body, td, th , tr {
	font-size: 20px;
	}	
}

/* Landscape */
@media only screen 
  and (min-width: 1024px) 
  and (max-height: 1366px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1.5) {
  	body, td, th , tr {
	font-size: 20px;
	}
}


@media screen and (max-width:800px) {
	body {
		margin: 0px;
		padding: 5px;
	}
	body, td, th , tr {
	font-size: large;
	}
	.imagechat {
    max-width: 100%;
	}
	.recent_posts_time {
		margin-bottom: 15px;
		font-size: small;
	}
	/* disp info 3 col */
	.smalltext.disp-info1 {	float: left;width: 60%;	}
	.smalltext.disp-info2 {	float: left;width: 40%;	}
	.smalltext.disp-info2:after {clear: both;}
	.smalltext.disp-info3 {
		clear: both;
		float: none;
		text-align: right;
		width: 100%;
	}
	/* start disp info 2 col*/
	.smalltext.disp-info-2-col-1 {width: 60%;}
	.smalltext.disp-info-2-col-2 {width: 40%;}
    /* header hoa sen trên đá forum */
	.phapthan_img, .tamchu_img {padding: 1px;width: 15%;}
	.phapthan_img img, .tamchu_img img{width: 100%;}
	.hoasentrenda_td {width: 70%;}
	.title_hoasentrenda {font-size: 90%;}
	.title_atcndtm a:link, .title_atcndtm a:visited {font-size: 14px;}
	/* search form and nhapcoc */
	.nhapcoc_container {display: block;}
	.nhapcoc_text, .search_form {width: 100%;clear: both;}
	.pc_xuong_hang {display: inline-block;}
	.pc_hide_inline {display: inline;}
	/* board ở index */
	.board {display: block;background-color: #F6F6F6;}
	.board_icon {
		width: 7%;
		float: left;
		padding-top: 5px;
		border-right: none;
		background-color: #F6F6F6;	
	}
	.board_info {
		width: 93%;
		float: left;
		padding: 5px 3px 3px 5px;	
		border-right: none;
	}
	.board_info:after {clear: both;}
	.board_stats {
			padding: 0 0 0 5px;
			width: 100%;
			text-align: left;
			border-right: none;	
			clear: both;
			background-color: #F6F6F6;	
	}
	.lastpost_lpr_border {
		padding: 0 0 0 5px;		
		border-top: none;
		width: 100%;
		clear: both;
	}
	/* bài mới nhất */
	.recent_posts {display: block;max-width:90vw;} /*add max width 5-2-2022*/
	.recent_posts_title {width: 100%;float: none;}
	.recent_posts_time {
		padding-right: 10px;
		width: 100%;
		float: none;
		text-align: left;
	}
	.post, .personalmessage {padding: 5px;}

}

@media screen and (max-width:480px) {
	body, td, th , tr {
	font-size: 20px;
	}
	.resizeFontsize_box button {
    font-size: 16px;
	}
	.nav_link_tree {
	font-size: 90%;
	line-height: 1.4em;
	}
	.lastpost_lpr_border {display: none;}
	.modified_post_col {
		float: none;
		padding-left: 5px;
		font-size: 80%;
	}
	.post_top {
		font-size:19px;
	}

	.signature {font-size: 90%;}
	.report_col {display: none;}
	.attachment_image {max-width: 100%;height: auto;}
	.post_image {max-width: 100%;height: auto;}	
	.recent_posts_time {
		margin-bottom: 15px;
		font-size: small;
		text-align: left;
	}
	.text_body_nhapcoc {color: black;font-weight: normal;}
	.board {
		vertical-align: middle;
	}
	.board_icon {
		width: 12%;
		padding-top: 1ex;
	}
	.board_info {width: 88%;
		padding: 1.2ex 3px 1.2ex 3px;
		vertical-align: middle;
	}
    .search_form, .board_stats, .mobile_hide_td, .mobile_hide  {display: none;}
	.pc_hide, .pchidemobileshow, .pc_ipad_hide, .disp-info-2-col, .pc_inline {display: block; }
    .pc_hide_inline {display: inline; }
	/* header hoa sen trên đá forum */
	.phapthan_img, .tamchu_img {padding: 1px;width: 15%;}
	.phapthan_img img, .tamchu_img img {width: 100%;}
	.hoasentrenda_td {width: 70%;}
	.title_hoasentrenda a:link, .title_hoasentrenda a:visited {font-size: 21px;}
	.title_atcndtm a:link, .title_atcndtm a:visited {font-size: 14px;}
	.catbg3.mobile_hide, .windowbg.mobile_hide, .windowbg2.mobile_hide, .windowbg3.mobile_hide 
	{display:none;}

	.titlebg2.disp-info {display: block;}
	.smalltext.disp-info1, .smalltext.disp-info2, .smalltext.disp-info3 {float: none;width: 100%;}
	.smalltext.disp-info-2-col-1, .smalltext.disp-info-2-col-2 {float: none;width: 100%;}
	/* start sms message: personal message template */
	.left-col-sms-message {	float:none;	width: 100%;}
	.right-col-sms-message {float:none;	width: 100%;}
	.subject-sms {width: 90%;}
	/* start footer */
	.footer-left, .footer-right {width: 5%;	}
	.footer-middle {width: 90%;}
	.forum-copyright {font-size: x-small;}
	.recent_post_link_name {float:none;font-size: 16px}
	.smalltext.disp-info3 {
		text-align: left;
	}

	/*button trang chủ*/
	#trangchu {display: none;}
}

@media screen and (max-width:414px) {
	.title_atcndtm a:link, .title_atcndtm a:visited {font-size: 12px;}
}

@media screen and (max-width:330px) {
	body, td, th , tr {
	font-size: 19px;
	}
	.title_atcndtm a:link, .title_atcndtm a:visited {font-size: 11px;}
	.resizeFontsize_box button {
    font-size: 15px;
	}
	.board_icon {
		padding-top: 0.6ex;
	}
}