* {
	margin:0;
	padding:0;
}

/* General Style Info */
html, body, form, fieldset {
	margin: 0;
	padding: 0;
	font-family: Arial, 'lucida grande', verdana, helvetica, sans-serif;
	font-size:10pt;
}
.reset{
	font-size: 1rem !important;
	color: #000;
	font-weight: normal;
}
body.main {
	background: url("../img/assets/bg.gif") repeat fixed center top #472415;
}
a {	
	color: blue;
	text-decoration: none;
}
a:hover {	
	color: red;
	text-decoration:none;
}
a img {
	border:none;
}
h1, h2, h3, h4 {
	font-weight: bold;
	margin: 0.7em 0 0.3em;
}
h1 {
	margin: 1.4em 0 0.3em;
}
h2 {	
	font-size: 140%;
	margin: 1.1em 0 0.3em;
}
h3 {
	
	font-size: 125%;
	
}
h4 {
	color: #993;
	font-weight: normal;

}
ul, li {
	margin: 0 12px;
	white-space: nowrap;
}
.clear{clear:both;}
.m150x{margin-left:150px;}
/* Layout */
#container {
	text-align: left;
	margin: 0px auto;
}
#header_bar {
    background: url("../img/assets/header.png") no-repeat scroll center bottom transparent;
    height: 150px;
}
.menubar {
    font: 14px Georgia,"Times New Roman",Times,serif;
    margin: 0;
    width: 100%;
}
#navmenu {
    background: url("../img/assets/navcontainer.png") no-repeat scroll left top transparent;
    float: none;
    margin: 0;
    padding: 0 0 0 21px;
    position: relative;
    width: 100%;
    z-index: 900;
}
#navmenu ul {
    float: left;
    list-style: none outside none;
    margin: 0 0 0 2px;
    padding: 0;
    height: 42px;
}
#navmenu ul li {
    margin: 0;
    position: relative;
}
#navmenu li {
    background: none repeat scroll 0 0 transparent;
    float: left;
    padding: 0;
}
#navmenu li.active a {
    color: #E3DAA1;
}
#navmenu li a {
    background: url("../img/assets/menubar.png") no-repeat scroll 100% 0 transparent;
}
#navmenu li.active a:hover {
    background: url("../img/assets/menubar.png") no-repeat scroll right top transparent;
    color: #E3DAA1;
}
#navmenu ul li a:hover, #navmenu ul li ul li a:hover, #navmenu ul li ul li ul li a:hover {
    color: #EEEEEE;
}
#navmenu li.active a {
    color: #E3DAA1;
}
#navmenu li:hover a, #navmenu li.iehover a {
    color: #FFFFFF;
}
#navmenu li a:hover {
    background: url("../img/assets/menubar_over.png") no-repeat scroll right top transparent;
}
#navmenu li a:hover {
    height: 42px;
}

#navmenu a {
    color: #FFFFFF;
    cursor: pointer;
    display: block;
    float: left;
    height: 42px;
    line-height: 40px;
    padding: 0 15px;
    text-decoration: none;
}
#navmenu div.searchbar{
	float: right;
	margin-right: 45px;
    margin-top: 6px;
	position: relative;
}
#navmenu input.searchbar{
	background: url("../img/assets/search_bar.png") no-repeat scroll 0 0 transparent;
    border: medium none transparent;
    height: 20px;
    width: 191px;
	color: #fff;
}
#navmenu .searchbutton{
    background: url("../img/assets/search_button.png") no-repeat scroll 0 0 transparent;
    border: medium none transparent;
    color: #FFFFFF;
    height: 20px;
    top:5px;
	right: -5px;
    position: absolute;
    width: 20px
}
#header{
	height:170px;
}
#footer {
    background: url("../img/assets/main_bottom.png") no-repeat scroll center top transparent;
    color: #880000;
    height: 35px;
    margin: 0;
    padding: 0;
    text-align: center;
}
#copyright {
    color: #fff;
    margin: 0;
    padding: 10px 0px 5px;
    text-align: center;
}
#container,
.fixed {
    position: relative;
    width: 924px;	
    margin: 0px auto;
    text-align: left;
}
.main-top {
    background: url("../img/assets/main_top.png") no-repeat scroll center top transparent;
    height: 35px;
    width: 924px;
}
#mainbody {
    background: url("../img/assets/main_bg.png") repeat-y scroll center top transparent;
	padding:5px 30px;
}
#mainbody *{
	max-width:800px;
}
#mainbody .myhtmldocument{
	width:800px;
	padding: 15px;
	border: 1px solid #eee;
	border-radius: 5px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	margin: 5px auto;
}
/* Paging */
div.paging {
	background:#fff;
	color: #ccc;
	margin-bottom: 2em;
}
div.paging div.disabled {
	color: #ddd;
	display: inline;
}
div.paging span {
}
div.paging span.current {
	color: #000;
}
div.paging span a {
}

/* Scaffold View */
dl {
	line-height: 2em;
	margin: 0em 0em;
	width: 60%;
}
dl.altrow {
	background: #efefef;
}

dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
dd {
	margin-left: 10em;
	margin-top: -2em;
	vertical-align: top;
}
/* Tables */
.noborder, .noborder tr, .noborder tr td{
	border:0px;
	border-collapse: collapse;
}
table, tr, td, th{	
	font-size:10pt;
	border:0px;
	border-collapse: collapse;
}

table tr.altrow td {
	background:#efefef;
}
td.actions {
	text-align: center;
	white-space: nowrap;
}

td.actions a {
	margin: 0px 6px;
}        

th {
	background: url('../img/th_bg.jpg') top;
	text-align: center;
	height:30px;
	border-right:1px solid #ccccff;
	padding: 3px 5px;
}
th a {	
	color:#800000;
	display: block;	
	padding: 3px 5px;
	text-decoration: none;
}
th a:hover {
	color:#800000;
	text-decoration: none;
}
table tr td {
	padding: 4px;
	text-align: left;
	vertical-align: top;
}
table tr.altrow td {
	background: #EEFFFF;
}
table.memberview tr td span{
	font-weight:bold;
}
/* Forms */
form {
	margin: 0;
	padding: 0;
	width: auto;
}
input, textarea, select{
	border:1px solid #666;
	height:16px;
	padding: 3px 5px;
	font-size:10pt;
	border-radius: 5px;
	-webkit-border-radius: 5px;
}
select{
	height:24px;
	width:312px;
}
textarea{
	min-height:80px;
}
textarea.tinymce{
	min-height:320px;
}
#ui-datepicker-div select{ height:22px; padding: 1px; border-radius: 1px; -webkit-border-radius: 1px;}
fieldset {
	border: 1px solid #ccc;
	margin: 10px 10px 10px 10px;
	padding: 20px;
	width:90%;
	border-radius: 5px;
	-webkit-border-radius: 5px;
}
fieldset legend {
	background:#fff;
	color: #e32;
	font-size: 140%;
	font-weight: bold;
}
fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 16px 10px;
}
fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	padding: 2px 5px;
	vertical-align: text-top;
}
form div.input {
	color: #444;
	clear: both;
}
form div.required {
	color: #333;
	font-weight: bold;
}
form div.submit {
	border: 0;
	
	margin-top: 10px;
	margin-left: 140px;
}
label {
	display: block;
	font-size: 90%;
	padding-right: 10px;
}
input.short{
	width:auto;
}
input.numberic{
	width:30px;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	font-size: 100%;
	padding: 0 3px;
}
input[type=checkbox] {
	margin: auto 10px auto 137px;
	
}
input[type=radio] {
}
div.radio label {
	margin: 0 0 6px 20px;
}
.bt, input[type=submit]{
	background: url('../img/button_bg.jpg');
	border: 1px solid #333;
	padding: 3px 8px;
	height: 24px;
	margin: 10px 0px 10px 5px;
	color: white;
	cursor: pointer;
	border-radius: 5px;
	-webkit-border-radius: 5px;
}
div.search{
	float:right;
}
input.bt.search{
	border:0px;
	background:url('../img/search.png');
	margin-left: -22px;
}
.center{
	text-align: center;
}
/*Cay gia pha*/
a.view{
	background: url('../img/icon/all.png?v=2') -128px -16px no-repeat;
	height:16px; width:16px; padding:0px; margin-right:5px;
	display:inline-block;
}
a.view:hover{
	background: url('../img/icon/all.png?v=2') -144px -16px no-repeat;
}
a.viewajax{
	background: url('../img/icon/all.png?v=2') -96px 0px no-repeat;
	height:16px; width:16px; padding:0px; margin-right:5px;
	display:inline-block;
}
a.viewajax:hover{
	background: url('../img/icon/all.png?v=2') -112px 0px no-repeat;
}
a.show{
	background: url('../img/icon/all.png?v=2') -96px -16px no-repeat;
	height:16px; width:16px; padding:0px; margin-right:5px;
	display:inline-block;
}
a.show:hover{
	background: url('../img/icon/all.png?v=2') -112px -16px no-repeat;
}
a.pshow{
	background: url('../img/icon/all.png?v=2') -128px 0px no-repeat;
	height:16px; width:16px; padding:0px; margin-right:5px;
	display:inline-block;
}
a.pshow:hover{
	background: url('../img/icon/all.png?v=2') -144px 0px no-repeat;
}
a.giapha16{
	background: url('../img/icon/all.png?v=2') -96px -32px no-repeat;
	height:16px; width:16px; padding:0px; margin-right:5px;
	display:inline-block;
}
a.tree_daughter, a.tree_wife{
	opacity:  0.4;
}
a.giapha16:hover{
	background: url('../img/icon/all.png?v=2') -112px -32px no-repeat;
}
a.pshow24{
	background: url('../img/icon/all.png?v=2') -24px 0px no-repeat;
	height:24px; width:24px; padding:0px; margin-right:5px;
	display:inline-block;
}
a.pshow24:hover{
	background: url('../img/icon/all.png?v=2') -24px -24px no-repeat;	
}
a.save{
	background: url('../img/icon/all.png?v=2') 0px 0px no-repeat;
	height:24px; width:24px; padding:0px; margin-right:5px;
	display:inline-block;
}
a.save:hover{
	background: url('../img/icon/all.png?v=2') 0px -24px no-repeat;	
}
.home{
	background: url('../img/icon/all.png?v=2') -48px 0px no-repeat;
	height:24px; width:24px; padding:0px; margin-right:5px;
	display:inline-block;	
}
a:hover .home, .home:hover{
	background: url('../img/icon/all.png?v=2') -48px -24px no-repeat;	
}
a.back{
	background: url('../img/icon/all.png?v=2') -72px 0px no-repeat;
	height:24px; width:24px; padding:0px; margin-right:5px;
	display:inline-block;	
}
a.back:hover{
	background: url('../img/icon/all.png?v=2') -72px -24px no-repeat;	
}
a.saipham{
	background: url('../img/icon/saipham.png') no-repeat left;
	height:24px; width:24px;padding: 0px 0px 12px 24px;
}
div.caygiapha{
	position: absolute;
	border: 1px solid #000;
	background: #0193FF url('../img/textbox.png');
	border-radius: 5px;
	-webkit-border-radius: 5px;
}
div.caygiapha_mat{

	background: #FFFFE6 url('../img/textbox_mat.png');
}
div.caygiapha_khac{

	background: #FF9B41 url('../img/textbox_khac.png');
}
div.caygiapha_giatoc{
	background: rgb(234,213,213) url('../img/textbox_giatoc.png');
}
div.giapha_ajax{
	position: absolute;
	border: 1px solid #000;
	background: #FFFFE6 url('../img/giapha_ajax.png');
	width:300px;
	z-index:5000;
	font-size:10pt;
	padding: 5px;
	cursor: pointer;
}
div.caygiapha a{
	font-weight:bold;
	color:black;
	cursor:pointer;
	z-index:2;
}
div.caygiapha table, div.caygiapha tr, div.caygiapha td {	
	border: 0;
	background: transparent;
	text-align:center;
	vertical-align:middle;
}
div.caygiapha_giatoc td {	
	font-size: 13px;
}

/* Notices and Errors */
div.message {
	
	color: #900;
	font-size: 140%;
	font-weight: bold;
	margin: 1em 0;
}
div.error-message {
	
	color: #900;
	font-weight: bold;
}
p.error {
	background-color: #e32;
	color: #fff;
	
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
p.error em {
	color: #000;
	font-weight: normal;
	line-height: 140%;
}
.notice {
	background: #ffcc00;
	color: #000;
	display: block;
	
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	background: green;
	color: #fff;
}

/*  Actions  */
div.actions ul {
	margin: 0px 0;
	padding: 0;
}
div.actions li {
	display: inline;
	list-style-type: none;
	line-height: 2em;
	margin: 0 2em 0 0;
	white-space: nowrap;
}
div.actions ul li a {	
	color: white;
	text-decoration: none;
}
div.actions ul li a:hover {
	color: #FFDDDD;
	text-decoration: none;
}

/* Related */
div.related {
	
	display: block;
}

/* Debugging */
pre {
	color: #000;
	background: #f0f0f0;
	padding: 1em;
}
pre.cake-debug {
	background: #ffcc00;
	font-size: 120%;
	line-height: 140%;
	margin-top: 1em;
	overflow: auto;
	position: relative;
}
div.cake-stack-trace {
	background: #fff;
	border: 4px dotted #ffcc00;
	color: #333;
	margin: 0px;
	padding: 6px;
	font-size: 120%;
	line-height: 140%;
	overflow: auto;
	position: relative;
}
div.cake-code-dump pre {
	position: relative;
	overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
	color: #000;
	background-color: #F0F0F0;
	margin: 0px;
	padding: 1em;
	overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
	
	font-size: 12px;
	line-height: 15px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
div.cake-code-dump span.code-highlight {
	background-color: #ff0;
	padding: 4px;
}
div.code-coverage-results div.code-line {
	padding-left:5px;
	display:block;
	margin-left:10px;
}
div.code-coverage-results div.uncovered span.content {
	background:#ecc;
}
div.code-coverage-results div.covered span.content {
	background:#cec;
}
div.code-coverage-results div.ignored span.content {
	color:#aaa;
}
div.code-coverage-results span.line-num {
	color:#666;
	display:block;
	float:left;
	width:20px;
	text-align:right;
	margin-right:5px;
}
div.code-coverage-results span.line-num strong {
	color:#666;
}
div.code-coverage-results div.start {
	border:1px solid #aaa;
	border-width:1px 1px 0px 1px;
	margin-top:30px;
	padding-top:5px;
}
div.code-coverage-results div.end {
	border:1px solid #aaa;
	border-width:0px 1px 1px 1px;
	margin-bottom:30px;
	padding-bottom:5px;
}
div.code-coverage-results div.realstart {
	margin-top:0px;
}
div.code-coverage-results p.note {
	color:#bbb;
	padding:5px;
	margin:5px 0 10px;
	font-size:10px;
}
div.code-coverage-results span.result-bad {
	color: #a00;
}
div.code-coverage-results span.result-ok {
	color: #fa0;
}
div.code-coverage-results span.result-good {
	color: #0a0;
}
div.left {
    float: left;
    width: 25%;
    clear: right; 
}
div.right {
    float: right;
    width: 70%;
}
.submit1 {
    
    font-size: 110%;
    
    
}
.info{
    color: red;
}

.helptext{
    float:left;
	display:block;
	margin-left: 155px;
    font-style: italic;
	text-align: justify;
	width: 310px;
	font-size: 0.9em;
	color: #aaa;
}
.oneline{
	white-space:nowrap;
	overflow:hidden;
}
label.error{
    float:left;
	display:block;
	margin-left: 160px;
    color: red;
    font-style: italic;
	text-align: left;
	width: auto;
}
div.right1{
    float: right;
    width: 80%;
}
div.left1{
    float: left;
    width: 20%;
}
div.right2{
    float: right;
    width: 80%;
}
input.input1{
    width: 30%;
}

label{
    width: 150px;
    height:19px;
    float:left;
	color: #666;
	text-align: right;
}
input[type=text], input[type=password],  input[type=email],  input[type=tel],  input[type=number],  input[type=url], textarea {
    width: 300px;
}
form div.submit {
    margin-left: 170px;
}
span.link1 {
    margin-left: 40px;
}
img.ui-datepicker-trigger{
	margin-bottom: -5px !important;
    margin-left: -25px !important;
}
.form label{
	text-align: right;
}
table.danhsachconchau{border-collapse:collapse; width: 100%; text-decoration:none;}
table.danhsachconchau, table.danhsachconchau th, table.danhsachconchau td{
	border: solid 1px #aaa;
	background: none;
	color: #000;
	padding: 3px 5px;
}
table.danhsachconchau .thead td, table.danhsachconchau thead{
	font-weight: bold;
	text-align: center;
}
table.danhsachconchau tr.chan{
	background: rgba(200,200,200,0.5);
}
table.danhsachconchau .sothutu{
	vertical-align:middle;
	text-align: center;
}
.internal_link{color:#000;}
.tdcenter{
	text-align: center;
}
.tdright{
	text-align: right;
}

.family_block .admin_info {
    display: block;
    float: right;
    width: 200px;
}
.featured a {
    background: url("../img/featured.gif") no-repeat scroll right center transparent;
    padding-right: 50px;
}

.mode_choser a{
	padding: 0px 5px;
}
.mode_choser{
	position: absolute;
	right: 0px;
	top: 0px;
	background: rgba(80,80,80,0.3);
	padding: 2px 5px;
	border-radius: 0px 0px 0px 9px;
	z-index: 99999;
}
.feed-block .info{
	color: #888888;
	font-size: 0.8rem;
	margin-left: 1rem;
}
.feed-block{
	border-bottom: 1px solid #F3F3F3;
    margin: 5px auto;
	padding-bottom: 5px;
}
.feed-block a{
	color: #1BA1E2;
}
.topmenu{
	color: white;
	background: #800;
	padding: 3px 5px;
	margin-bottom: 5px;	
}
.topmenu a{
	color: white;
	line-height: 24px;
	margin-right: 10px;
}
.topmenu a:hover{
	color: #ffffcc;
}

#circle_menu{
	background:url("../img/assets/circle_menu_bg_inside.png") no-repeat;
	display: none;
	height: 197px;
	width: 197px;
	position: fixed;
	z-index: 9999;
	top: 20px;
	left: 800px;
	transform: scale(0.6);	
	transition: all 1000ms ease 0s;
}
#circle_menu.ui-draggable-dragging{
	transform: scale(1);
	transition: none;
}
#circle_menu.active{
	transform: scale(1);
}
#circle_menu:not(.ui-draggable-dragging):not(.active):hover{
	transform: scale(1);
	transition: all 300ms ease 0s;
}
#circle_menu > ul{	
	position: absolute;
	left:80px;
	top:80px;
}
#circle_menu > ul li{
	display: none;
}
#circle_menu > ul li a{
	color: #6F3F1B;	
	font-size: 14px;
	text-align: center;
	font-family: 'Roboto Condensed', Tahoma, sans-serif;
	text-transform: uppercase;
	font-weight: bold;
}
#circle_menu > ul li a:hover{
	color: #cc3333;
}
#circle_menu > ul li a span {
	position: absolute;
	left: 2px;
	top: -53px;
	height: 24px;
	line-height: 24px;
	width: 10px;
	transform-origin: center center 0;
}
#circle_menu .background {	
	background:url("../img/assets/circle_menu_bg_bounder.png") no-repeat center center;
    position: absolute;
    top: 0;
    left: 0;
    width: 197px;
    height: 197px;
    margin: 0;
	pointer-events: none;
	transition: all 1000ms ease 0s;
}
#circle_menu:not(.ui-draggable-dragging):not(.active):hover .background {
    -webkit-animation:spin 18s linear infinite;
    -moz-animation:spin 18s linear infinite;
    animation:spin 18s linear infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(-360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(-360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(-360deg); transform:rotate(-360deg); } }

#circle_menu.active .background{
    -webkit-animation:spin_rev 18s linear infinite;
    -moz-animation:spin_rev 18s linear infinite;
    animation:spin_rev 18s linear infinite;
}
@-moz-keyframes spin_rev { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin_rev { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin_rev { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }