html { height: 100%; margin-bottom: 1px; }

form { margin: 0; padding: 0; }

body { margin: 0; font-size: 12px; text-align: center;	background: #bcbfc4; font-family: Tahoma, Geneva, sans-serif; }

a:link, a:visited { text-decoration: none; font-weight: normal; color: #b5002f; }

a:hover { text-decoration: underline; font-weight: normal; }

input.button { cursor: pointer; }

p { margin-top: 0; margin-bottom: 5px; }

img { border: 0 none; }

/*****************************************/
/*** Joomla! specific content elements ***/
/*****************************************/
div.offline { background: #fffebb; width: 100%; position: absolute; top: 0; left: 0; font-size: 1.2em; padding: 5px; }

span.pathway { display: block; margin: 0 20px; height: 16px; line-height: 16px; overflow: hidden; }

/* headers */
div.componentheading { padding-left: 0px; }

h1 { padding: 0; font-weight: bold; vertical-align: bottom; color: #666; text-align: left; width: 100%; }

h2, .contentheading { padding: 0; font-weight: normal; vertical-align: bottom; color: #333; text-align: left; width: 100%; }

td.contentheading a { display: block; text-align: center; text-transform: uppercase; font-size: 14px; font-weight: bold; }

table.contentpaneopen h3 { margin-top: 25px; }

h4 { color: #333; }

h3, .componentheading, table.moduletable th, legend {
	margin: 0;
	font-weight: bold;
	padding-left: 0px;
	margin-bottom: 10px;
	text-align: left;
}

/* small text */
.small { font-size: .90em; color: #999; font-weight: normal; text-align: left; }

.modifydate { height: 20px; vertical-align: bottom; font-size: .90em; color: #999; font-weight: normal; text-align: left; }

.createdate {
	height: 20px;
	vertical-align: top;
	font-size: .90em;
	color: #999;
	font-weight: normal;
	vertical-align: top;
	padding-bottom: 5px;
	padding-top: 0px;
}

/* form validation */
.invalid { border-color: #ff0000; }
label.invalid { color: #ff0000; }

/** overlib **/
.ol-foreground { background-color: #f6f6f6; }

.ol-background { background-color: #666; }

.ol-textfont { font-family: Arial, Helvetica, sans-serif; font-size: 10px; }

.ol-captionfont { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #f6f6f6; font-weight: bold; }
.ol-captionfont a { color: #0B55C4; text-decoration: none; font-size: 12px; }

.ol-closefont {}

/* menu links */
a.mainlevel:link, a.mainlevel:visited { padding-left: 5px; }

a.mainlevel:hover {}

/* spacers */
span.article_separator { display: block; height: 20px; }

.article_column { padding-right: 5px; }

.column_separator { border-left: 1px dashed #e0e0e0; padding-left: 10px; }

td.buttonheading {}

td.buttonheading img { border:none; }

.clr { clear: both; }

td.greyline { width: 20px; background: url(../images/mw_line_grey.png) 50% 0 repeat-y; }

div#maindivider { border-top: 1px solid #ddd; margin-bottom: 10px; overflow: hidden; height: 1px; }

table.blog span.article_separator { display: block; height: 20px; }

/* edit button */
.contentpaneopen_edit { float: left; }

/* table of contents */
table.contenttoc { margin: 5px; border: 1px solid #ccc; padding: 5px; float: right; }

table.contenttoc td { padding: 0 5px; }

/* content tables */
td.sectiontableheader { background: #efefef; color: #333; font-weight: bold; padding: 4px; border-right: 1px solid #fff; }

tr.sectiontableentry0 td, tr.sectiontableentry1 td, tr.sectiontableentry2 td { padding: 4px; }

td.sectiontableentry0, td.sectiontableentry1, td.sectiontableentry2 { padding: 3px; }

/* content styles */
table.blog, table.contentpaneopen, table.contentpane { margin: 0; padding: 0; width: 100%; }

table.contentpaneopen li { margin-bottom: 5px; }

table.contentpaneopen td { text-align: left; }

table.contentpaneopen img { margin: 3px 7px 2px 3px; border: 3px solid #ccc; }

table.contentpaneopen fieldset { border: 0; border-top: 1px solid #ddd; }

table.contentpaneopen h3 { margin-top: 25px; }

table.contentpaneopen h4 { font-family: Arial, Helvetica, sans-serif; color: #333; }

.highlight { background-color: #fffebb; }

div.blog_more { display: block; clear: both; }
div.blog_more ul { float: left; text-align: left; }

/* module control elements */
table.user1user2 div.moduletable { margin-bottom: 0px; }

div.moduletable, div.module { margin-bottom: 25px; }

div.module_menu h3 {
	font-size: 12px;
	font-weight: bold;
	color: #eee;
	margin: -23px -4px 5px -5px;
	padding-left: 10px;
	padding-bottom: 2px;
}

div.module_menu { margin: 0; padding: 0; margin-bottom: 15px; }

div.module_menu div div div { padding: 10px; padding-top: 30px; padding-bottom: 15px; width: auto; }

div.module_menu div div div div { background: none; padding: 0; }

div.module_menu ul { margin: 10px 0; padding-left: 20px; }

div.module_menu ul li a:link, div.module_menu ul li a:visited { font-weight: bold; }

#leftcolumn div.module { padding: 0 10px; }

#leftcolumn div.module table { width: auto; }

/* forms */
table.adminform textarea { width: 540px; height: 400px; font-size: 1em; color: #000099; }

div.search input { width: 145px; border: 1px solid #ccc; margin: 0; }

form#form-login fieldset { border: 0 none; margin: 0em; padding: 0.2em;}
form#form-login ul { padding-left: 20px; }

form#com-form-login fieldset { border: 0 none; margin: 0em; padding: 0.2em;}
form#com-form-login ul { padding-left: 20px; }

/* thumbnails */
div.mosimage         {  margin: 5px; }
div.mosimage_caption {  font-size: .90em; color: #666; }

div.caption       { padding: 0 10px 0 10px; }
div.caption img   { border: 1px solid #CCC; }
div.caption p     { font-size: .90em; color: #666; text-align: center; }

/* Parameter Table */
table.paramlist { margin-top: 5px; }

table.paramlist td.paramlist_key { width: 128px; text-align: left; height: 30px; }

table.paramlist td.paramlist_value {}

div.message {
	font-family : "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size : 14px;
	color : #c30;
	text-align: center;
	width: auto;
	background-color: #f9f9f9;
	border: solid 1px #d5d5d5;
	margin: 3px 0px 10px;
	padding: 3px 20px;
}

/* Banners module */

/* Default skyscraper style */
.bannergroup {}

.banneritem img { display: block; margin-left: auto; margin-right: auto; }

/* Text advert style */
.banneritem_text { padding: 4px; font-size: 11px; }

.bannerfooter_text { padding: 4px; font-size: 11px; background-color: #F7F7F7; text-align: right; }

/* System Messages */
/* see system general.css */
.pagination span { padding: 2px; }
.pagination a    { padding: 2px; }

/* Polls */
.pollstableborder td { text-align: left; }

/* WebLinks */
span.description { display:block; padding-left: 30px; }

/* Frontend Editing*/
fieldset { border: 1px solid #ccc; margin-top: 15px; padding: 15px; }

legend { margin: 0; padding: 0 10px; }

td.key { border-bottom:1px solid #eee; color: #666; }

/* Tooltips */
.tool-tip { float: left; background: #ffc; border: 1px solid #D4D5AA; padding: 5px; max-width: 200px; }

.tool-title {
	padding: 0;
	margin: 0;
	font-size: 100%;
	font-weight: bold;
	margin-top: -15px;
	padding-top: 15px;
	padding-bottom: 5px;
	background: url(../../system/images/selector-arrow.png) no-repeat;
}

.tool-text { font-size: 100%; margin: 0; }

/* System Standard Messages */
#system-message { margin-bottom: 20px; }

#system-message dd.message ul {
	background: #C3D2E5 url(../../system/images/notice-info.png) 4px center no-repeat;
	border-top: 3px solid #DE7A7B;
	border-bottom: 3px solid #DE7A7B;
	margin: 0px;
	padding-left: 40px;
	text-indent: 0px;
}

/* System Error Messages */
#system-message dd.error ul {
	color: #c00;
	background: #E6C0C0 url(../../system/images/notice-alert.png) 4px center no-repeat;
	border-top: 3px solid #DE7A7B;
	border-bottom: 3px solid #DE7A7B;
	margin: 0px;
	padding-left: 40px;
	text-indent: 0px;
}

/* System Notice Messages */
#system-message dd.notice ul {
	color: #c00;
	background: #EFE7B8 url(../../system/images/notice-note.png) 4px center no-repeat;
	border-top: 3px solid #F0DC7E;
	border-bottom: 3px solid #F0DC7E;
	margin: 0px;
	padding-left: 40px;
	text-indent: 0px;
}

#syndicate{ float:left; padding-left: 25px; }

#power_by { float:right; padding-right: 25px; }

/* Component Specific Fixes */
#component-contact table td { padding: 2px 0; }

/* -------------------------------------------------------------------- */

#wrapper {
	margin: 0 auto;
	padding: 0 0 15px 0;
	display: inline-block;
	background: #fff url(../../../images/stories/templates/bottom.png) bottom no-repeat;
	width: 1004px;
}

#banner { height: 90px; background: url(../../../images/stories/templates/header.gif); }

#top-flash { position: relative; height: 260px; }

#icedate { position: absolute; bottom: 0; left: 15px; height: 30px; line-height: 30px; margin: 0; padding: 0; }

#mainlevel_top { position: absolute; bottom: 0; right: 15px; margin: 0; padding: 0; }

#mainlevel_top li { float: left; margin: 0 15px; list-style: none; }

a.mainlevel_top { height: 30px; line-height: 30px; font-size: 12px; font-weight: bold; }

#maincontent { padding: 10px; }

#left { float: left; width: 200px; }

div.module-danhmuc { width: 200px; background: url(../../../images/stories/templates/mid.png) repeat-y; }
div.module-danhmuc div { background: url(../../../images/stories/templates/top.png) no-repeat top; }
div.module-danhmuc div div { background: url(../../../images/stories/templates/bot.png) bottom no-repeat; }
div.module-danhmuc div div div { padding: 20px 10px; display: inline-block; }

#left div.module { margin: 15px 0 0 0; background: url(../../../images/stories/templates/left_mid.png) repeat-y; }
#left div.module div { background: url(../../../images/stories/templates/left_top.png) no-repeat top; }
#left div.module div div { background: url(../../../images/stories/templates/left_bot.png) bottom no-repeat; }
#left div.module div div div { margin: 0; padding: 0 10px 10px 10px; display: inline-block; }
#left div.module h3 {
	margin: 0 0 10px 0;
	padding: 0;
	text-align: center;
	text-transform: uppercase;
	color: #fff;
	font-size: 11px;
	height: 25px;
	line-height: 25px;
}

.latestweblinks { list-style: none; margin: 0; padding: 0; text-align: left; }
li.latestweblinks { border-bottom: 1px dotted #ccc; display: block; padding: 5px 0; }

#exrate { width: 180px; }
#exrate td { font-size: 11px; font-weight: bold; line-height: 18px; }
#exrate td.title { border-bottom: 1px solid #ccc; }
#exrate td.currencycode { border-bottom: 1px dotted #ebebeb; }
#exrate td.sell { padding: 0 15px 0 0; text-align: right; font-weight: normal; border-bottom: 1px dotted #ebebeb; }

#content { float: left; width: 590px; margin: 0 12px; }

div.moduletable-ttsk {
    padding: 40px 0 0 0;
    background: url(../../../images/stories/templates/title_ttsk.png) top left no-repeat;
}

div.moduletable-chuyende {
    padding: 40px 0 0 0;
    background: url(../../../images/stories/templates/title_chuyende.png) top left no-repeat;
}

div.moduletable-hddt {
    padding: 40px 0 0 0;
    background: url(../../../images/stories/templates/hddt.png) top left no-repeat;
}

#tvvideo td { text-align: center; padding: 10px 0 0 0; }
#tvvideo td.contentheading { font-size: 12px; font-weight: bold; text-transform: uppercase; }
#tvvideo td.article_column { text-align: center; }
#tvvideo span.article_separator { width: 100%; border-bottom: 1px dotted #ccc; }

div.module-tvvideo {
	margin: 20px 0 0 0;
	padding: 60px 0 20px 0;
	border-bottom: 1px dotted #ccc;
	background: url(../../../images/stories/templates/video.png) top left no-repeat;
}
#articletitle a {
	text-transform: uppercase;
	font-size: 16px;
	font-weight: bold;
}
div.gallery {
	margin: 20px 0 0 0;
	padding: 40px 0 0 0;
	background: url(../../../images/stories/templates/tvanh.png) top left no-repeat;
}
div.gallery div.componentheading { display: none; }
div.gallery .inputbox { border: 1px solid #ccc; }

#components {
	margin: 20px 0 0 0;
	padding: 60px 0 0 0;
	background: url(../../../images/stories/templates/title.png) top left no-repeat;
}

table.blog img { border: 3px solid #ccc; margin: 3px 7px 7px 3px; }

#right { float: left; width: 170px; }

div.module-banner { margin: 0 0 15px 0; width: 100%; background: url(../../../images/stories/templates/right_mid.png) repeat-y; }
div.module-banner div { background: url(../../../images/stories/templates/right_top.png) no-repeat top; }
div.module-banner div div { background: url(../../../images/stories/templates/right_bot.png) bottom no-repeat; }
div.module-banner div div div { margin: 0; padding: 5px 0; display: inline-block; }
div.module-banner img { margin: 0; padding: 0; }

#right div.module { margin: 0 0 15px 0; background: url(../../../images/stories/templates/right_mid.png) repeat-y; }
#right div.module div { background: url(../../../images/stories/templates/right_top.png) no-repeat top; }
#right div.module div div { background: url(../../../images/stories/templates/right_bot.png) bottom no-repeat; }
#right div.module div div div { margin: 0; padding: 10px 0; display: inline-block; }
#right div.module h3 {
	margin: 0 0 5px 0;
	padding: 0;
	text-align: center;
	text-transform: uppercase;
	color: #cc0000;
	font-size: 11px;
	height: 25px;
	line-height: 25px;
	background: url(../../../images/stories/templates/right_title.png) bottom center no-repeat;
}

div.module-banner div div div div, div.module-banner div div div div div, div.module-banner div div div div div div,
div.module-danhmuc div div div div, div.module-danhmuc div div div div div, div.module-danhmuc div div div div div div,
#left div.module div div div div, #left div.module div div div div div, #left div.module div div div div div div,
#right div.module div div div div, #right div.module div div div div div, #right div.module div div div div div div {
	background: none;
	margin: 0;
	padding: 0;
}

#scrollnews { text-align: justify; width: 160px; height: 200px; }
#scrollnews img { margin: 3px 7px 1px 3px; width:80px; height: 60px; border: 3px solid #ccc; }
#scrollnews a.sn_title { width: 100%; font-weight: bold; font-size: 11px; }
a.readon { text-transform: lowercase; clear: both; }

#footer { width: 100%; display: inline-block; padding: 20px 0; }