/**
 * @Project NUKEVIET 4.x
 * @Author VINADES.,JSC <contact@vinades.vn>
 * @Copyright (C) 2014 VINADES.,JSC. All rights reserved
 * @License GNU/GPL version 2 or any later version
 * @Createdate 31/05/2010, 00:36
 */
 
 /* css block teamplate */
/* hiển thị cho template block doden*/
.boxModule{margin-bottom:10px}
.footer{padding-bottom:10px}
.boxCont2{
	padding: 4px 0 0;
	margin-left:5px;
	display: block;
	color:#030303;
	border-left:1px solid #d8d8d8;
	border-right:1px solid #d8d8d8;
	border-bottom:1px solid #d8d8d8;
	background: #ebebeb  url(../images/gia-pha/you1.png) top left repeat-x ;
}

	.Tabs{position:relative;background:url(../images/gia-pha/bodyTitle_md.jpg) repeat-x scroll top left;-webkit-border-radius:0 4px 0 0;-moz-border-radius:0 4px 0 0;border-radius:0 4px 0 0}

	.Tabs ul,.Tabs2 ul{list-style-position:outside;list-style-type:none;margin:0;padding:0;background:url(../images/gia-pha/bodyTitle_left.png) no-repeat scroll top left}

	.Tabs ul li{float:left;line-height:28px;font-weight:bold;text-transform:uppercase}

	.Tabs ul li a{cursor:pointer;font-size:12px;outline:none;color:#fff;background:url(../images/gia-pha/bodyTitle_line.jpg) no-repeat scroll top right;display:block}

	.Tabs ul li a span{padding-right:16px;padding-left:11px}

	.viewmore{background:url(../images/gia-pha/viewmore.jpg) no-repeat scroll top right;height:28px;position:absolute;right:0;top:0;width:108px;text-align:right;font-size:11px;-webkit-border-radius:0 6px 0 0;-moz-border-radius:0 6px 0 0;border-radius:0 6px 0 0}

	.viewmore a{padding-right:8px;color:#FFF;text-transform:none;line-height:22px}

	.viewmore a:hover{text-decoration:none}

	.tab_page{-moz-border-radius:0 0 4px 4px;-webkit-border-radius:0 0 4px 4px;background:none repeat scroll 0 0 #FFF;margin-bottom:10px;overflow:hidden;padding:5px;width:560px}
/*hết hiển thị template block đỏ đen*/

 /* Block-hong */
.header-hong {
    padding-bottom: 2px;     
}

.header-hong_bg{
    padding: 4px 0 0;
    margin-left:5px;
    display: block;
    border-left:1px solid #d8d8d8;
    border-right:1px solid #d8d8d8;
    border-bottom:1px solid #d8d8d8;
    background: #ffffff url(../images/gia-pha/hong.jpg) top left repeat-x ;
}

.header-hong_bg1{
	padding: 4px 0 0;	  
	display: block;
	background: #ffffff url(../images/gia-pha/hong.jpg) top left repeat-x ;
}

.box-box {
    padding: 10px;	
}

.header-hong h3 { 
    font-size: 1em;
    text-transform: uppercase;
    font-weight: bold;
	color:#fff;
    padding: 4px -9px 0;
    margin-bottom: 0;
}

.header-hongl  h3 span {
    padding: 8px 8px 6px ;
	width:140px;
	height:30px;
    display: inline-block; 
    background: transparent url(../images/gia-pha/sv-title.jpg) scroll no-repeat 0 -29px;  
}

.header-hong  h3 span {
    padding: 8px 8px 6px ;
	width:200px;
	height:28px;
    display: inline-block; 
    background: transparent url(../images/gia-pha/sv-title.jpg) scroll no-repeat 0 -29px;  
}
/* Block-cam */
.header-cam {
    padding-bottom: 2px;    
}
.header-cam_bg{
  padding: 4px 0 0;
  margin-left:5px;
  display: block;
  border-left:1px solid #d8d8d8;
  border-right:1px solid #d8d8d8;
  border-bottom:1px solid #d8d8d8;
  background: #ffffff url(../images/gia-pha/cam.jpg) top left repeat-x ;
}

.header-cam_bg1{
  padding: 4px 0 0;  
  display: block;
  background: #ffffff url(../images/gia-pha/cam.jpg) top left repeat-x ;
}

.box-box {
    padding: 10px;	
}

.header-cam h3 { 
    font-size: 1em;
    text-transform: uppercase;
    font-weight: bold;
	color:#fff;
    padding: 4px -9px 0;

    margin-bottom: 0;
}

.header-caml h3 span {
    padding: 8px 8px 6px ;
    width:140px;
	height:30px;
    display: inline-block;
    background: transparent url(../images/gia-pha/sv-title.jpg) scroll no-repeat 0 -87px;
}

.header-cam h3 span {
	padding: 8px 8px 6px ;
	width:200px;
	height:28px;
	display: inline-block;
	background: transparent url(../images/gia-pha/sv-title.jpg) scroll no-repeat 0 -87px; 
}
/* Block-lacay */
.header-lacay {
   padding-bottom: 2px;    
}

.header-lacay_bg{
   padding: 4px 0 0;
   margin-left:5px;
   display: block;
   border-left:1px solid #d8d8d8;
   border-right:1px solid #d8d8d8;
   border-bottom:1px solid #d8d8d8;
   background: #ffffff url(../images/gia-pha/lacay.jpg) top left repeat-x ;
}

.header-lacay_bg1{
  padding: 4px 0 0;  
  display: block;
  background: #ffffff url(../images/gia-pha/lacay.jpg) top left repeat-x ;
}

.box-box {
  padding: 10px;
	
}

.header-lacay h3 {
    font-size: 1em;
    text-transform: uppercase;
    font-weight: bold;
	color:#fff;
    padding: 4px -9px 0;
    margin-bottom: 0;
}

.header-lacay h3 span {
    padding: 8px 8px 6px ;
	width:200px;
	height:28px;
    display: inline-block;
    background: transparent url(../images/gia-pha/sv-title.jpg) scroll no-repeat 0 -58px;
  
}

.header-lacayl h3 span {
    padding: 8px 8px 6px ;
	width:140px;
	height:15px;
    display: inline-block;
    background: transparent url(../images/gia-pha/sv-title.jpg) scroll no-repeat 0 -58px;
  
}
    /* Block-xanhdatroi */
.header-xanhdatroi {
    padding-bottom: 2px;
     
}

.header-xanhdatroi_bg{
    padding: 4px 0 0;
    margin-left:5px;
    display: block;
    border-left:1px solid #d8d8d8;
    border-right:1px solid #d8d8d8;
    border-bottom:1px solid #d8d8d8;
    background: #ffffff url(../images/gia-pha/xanh.jpg) top left repeat-x ;
}

.header-xanhdatroi_bg1{
    padding: 4px 0 0;
    display: block;
    background: #ffffff url(../images/gia-pha/xanh.jpg) top left repeat-x ;
}

.box-box {
    padding: 5px;
	
}

.header-xanhdatroi h3 {
    font-size: 1em;
    text-transform: uppercase;
    font-weight: bold;
	color:#fff;
    padding: 4px -9px 0;
    margin-bottom: 0;
}

.header-xanhdatroil h3 span {
    padding: 8px 8px 6px ;
    width:140px;
	height:15px;
    display: inline-block;
    background: transparent url(../images/gia-pha/sv-title.jpg) scroll no-repeat 0 0;
  
}

.header-xanhdatroi h3 span {
    padding: 8px 8px 6px ;
	width:200px;
	height:28px;
    display: inline-block; 
    background: transparent url(../images/gia-pha/sv-title.jpg) scroll no-repeat 0 0; 
}
/* css block_genealogy*/
.block-giapha{display:block}  
.block-giapha .giapha{
	border-top:1px solid #fff;
	border-bottom:1px solid #ccc;
	text-shadow:0 1px 1px rgba(255,255,255,.5);
	text-shadow:0 0 0 transparent,0 1px 1px rgba(255,255,255,.5)}
.block-giapha .giapha a{
	display:block;
	padding:10px 1px 10px 10px;
	margin:0;color:#333;
	text-decoration:none}
.block-giapha .giapha a:hover{
	background:#fdfdfd;
	background:rgba(255,255,255,.45);
	text-decoration:none}
/* Hết css block teamplate */

/* bắt đầu css trang 1 main-location */

/*hiển thị trang tỉnh/tp*/
#main-localtion
{
	background: url("../images/gia-pha/giapha.jpg") no-repeat ;
	border-collapse: separate;
	border-spacing: 1px;
	caption-side: top;
	empty-cells: show;
	width: 100%;		
	height:100%;
    text-align: center;
}

/*css title-main-localtion*/
 .title-main-localtion {  
  font-family: "Times New Roman", Times, serif;
  font-size: 26px;
  font-weight:bold;
  border: none;
  color: #932809;
  margin: 115px 0 30px 0px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none; 
  display: inline-block;    
  cursor: pointer;
  outline: none;
  border-radius: 15px;
  text-shadow: 2px 1px 1px yellow;
}

.title-main-localtion:hover {background-color:#fff500}

.title-main-localtion:active {
  background-color: #3e8e41;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}


table.main-localtion
{
	font-size: 13px;
	text-align: center;
	border-collapse: separate;
	border-spacing: 1px;
	caption-side: top;
	empty-cells: show;
	width: 100%;
	
}
/*table.main-localtion tbod */
table.main-localtion td a, table.main-localtion th a
{
	color: black;
	
}
table.main-localtion td, table.main-localtion th
{
	padding: 10px 5px 16px 5px;
}

/*Hết tiêu đề trang số 1 title-main-localtion*/
/*css từng tỉnh content main localtion */
 
  .content-main-localtion {
  display: inline-block;
  padding: 2px 15px;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: black;
  background-color: #e0eef7;
  border: none;
  border-radius: 15px;
  box-shadow: 0 3px #3b4cb8;
}

.content-main-localtion:hover {background-color:yellow}

.content-main-localtion:active {
  background-color: #3e8e41;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}
/*hết từng content-main-localtion */


/*css location trang 2 thể hiện các gia phả thuộc 1 tỉnh/tp */
#localtion
{
	background: url("../images/gia-pha/giapha.jpg") no-repeat ;
	border-collapse: separate;
	border-spacing: 1px;
	caption-side: top;
	empty-cells: show;
	width: 100%;		
	height:1000px;
    text-align: center;
}

/*css title-localtion*/
 .title-localtion {
  
  font-family: "Times New Roman", Times, serif;
  font-size: 26px;
  font-weight:bold;
  color: #932809;
  margin: 115px 0 30px 0px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none; 
  display: inline-block;     
  border-radius: 15px;
  text-shadow: 2px 1px 1px yellow;
}

.title-main-localtion:hover {background-color:#fff500}

.title-main-localtion:active {
  background-color: #3e8e41;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

/* content localtion*/
  .content-localtion {
  display: inline-block;
  padding: 5px 15px;  
  color: black;
  background-color: #e0eef7;
  border-radius: 4px;
  box-shadow: 0 3px #3b4cb8;
}

.content-localtion:hover {background-color:yellow}

.content-localtion:active {
  background-color: #3e8e41;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

table.localtion
{
	
	border-collapse: separate;
	width: 87%;
	font-size: 13px;	
	border-spacing: 1px;
	margin-left: 95px ;  
  
}

table.localtion td a, table.localtion th a
{	
	color: #333;
	text-decoration: underline;
}

table.localtion td, table.localtion th
{
	
	padding:5px 2px 3px 2px;
	text-align: initial;
}

table.localtion td b, table.localtion th b
{
	float:left;	
	color:#212529;	
}


/* css 6 button main*/
 .button {
  display: inline-block;
  padding: 10px 26px;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: #fff;
  background-color: #4CAF50;
  border: none;
  border-radius: 15px;
  box-shadow: 0 9px #f4511e;
}

.button:hover {background-color: yellow}

.button:active {
  background-color: #3e8e41;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}
/* hết css 6 button main*/

/* css  button selected*/
 .selected {
  display: inline-block;
  padding: 10px 25px;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: black;
  background-color:yellow;
  border: none;
  border-radius: 15px;
  box-shadow: 0 9px #f4511e;
}

.selected:hover {background-color:  #4CAF50}

.selected:active {
  background-color: #3e8e41;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}
/* hết css 6 button main*/

/* css trang bìa của 1 gia phả */
	#main
	{
		background: url("../images/gia-pha/giapha.jpg") no-repeat ;	
		border-collapse: separate;
		border-spacing: 1px;
		caption-side: top;
		empty-cells: show;
		width: 100%;	
		height:650px;
        text-align: center;		
	}

	p{      
	    font-family: "Times New Roman", Times, serif;
		color: #fff;
	}
	
	p.one{
        font-size:13px;
        font-weight:bold;		
	    text-align: center;
	    text-transform: uppercase;
	    color: #234678;
        margin-bottom: 0px;		
		padding-top:28px;
		font-weight:bold;
	}
	
	p.one1{
        font-size:12px;
        font-weight:bold;		
	    text-align: center;
	    text-transform: uppercase;
	    color: #234678;	    		
		font-weight:bold;
		margin-bottom: 0px;
	}
	
	p.two{
        font-size: 22px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    color: #db4114;
    margin-bottom: 5px;
    text-shadow: 1px 1px 1px #cd201c;
	padding: 0px 0 0px 0px;
	}
	
	p.three{		
        font-size: 12px;
		font-weight:bold; 		
		text-align: center;
		text-transform: uppercase;
		color: #932809;
		margin-bottom: 2px;
		text-shadow: 2px 1px 1px yellow;
		margin-top: 115px;
	}	
	
	p.four {
		font-size:12px;		
		text-transform: uppercase;
		text-align: center;
		font-weight:bold;
		color: #451815;
		margin-bottom: 0px;
		text-shadow: 1px 2px 2px #fdfa1d;
	}
	
	table.five {
		background-color: transparent;
		color:black;            
        margin-top: 220px;
       	text-indent: 10px; 	
	}
	
	.title-main-information{
  font-size:13px;
  font-weight:bold;
  padding: 1px 15px;  
  display: inline-block;    
  border-radius: 15px;
  margin-top: 120px
  margin-bottom: 0px;
}

.title-main-information:hover {background-color:#41c04d}

.title-main-information:active {
  background-color: #3e8e41;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}
/* Hết css trang bìa của 1 gia phả */

/*table detail*/

table.tabnkv {	
	border-collapse: separate;
	border-spacing: 1px;
	caption-side: top;
	empty-cells: show;
	width: 100%;
}


.tabnkv tbody
{
	background: #effdf0;
}
table.tabnkv tbody.second
{
	background: #eee;
}
table.tabnkv td a, table.tabnkv th a
{
	color: #333;

}
table.tabnkv td, table.tabnkv th
{
	padding: 7px 5px 7px 5px;
}
table.tabnkv tfoot
{
	background: #ccc;
	font-size: 11px;
	font-weight:bold
}
table.tabnkv th
{
	background: #ccc;
	font-weight: normal;
	text-align: left;
}
table.tabnkv thead, table.tabnkv .thead_box
{
	background: #aedbb4;
	font-size: 11px;
	font-weight:bold
	white-space: nowrap;
}
table.tabnkv th.head1
{
	width: 35px;
	text-align: center;
	white-space: nowrap;
}
table.tabnkv td.col1
{
	text-align: center;
	width: 35px;
	font-size: 8px;
	vertical-align: bottom;
}
table.tabnkv td.col2
{
	font-size: 8px;
	width: 300px;
}
table.tabnkv tr.row-menu1
{
	width: 35px;
	text-align: center;
}
table.tabnkv td.align_r
{
	text-align: right;
}
ul.list-genealogy
{
	margin: 0 0 8px 0;
	list-style-type: none;
}
ul.list-genealogy li
{
	float: left;
	margin-right: 5px;
	display: block;
}
ul.list-genealogy li a
{
	display: block;
	float: left;
	padding: 3px 8px 2px;
	border: 1px solid #d9d9d9;
	color: #00014E;
	font-size: 1em;
	text-transform: uppercase;
	background: #FFFACD;
}
ul.list-genealogy li.ui-genealogys-selected a
{
	border: 1px solid #a63700;
	background: #982100;
	color: #fff;
}

.filetree span.male, .filetree span.female, span.default
{
	padding: 1px 0 1px 16px;
}

.filetree span.male
{
  background: url(../images/gia-pha/male.png) 0 0 no-repeat;
  background-color: #ffd2b2;
  border-radius: 15px;
  box-shadow: 0 1px #3b4cb8;
  padding: 1px 5px 1px 15px;
}

.filetree span.male:hover {background-color:yellow}


.filetree span.female
{
  background: url(../images/gia-pha/female.png) 0 0 no-repeat;
  background-color: #e0eef7;
  border-radius: 15px;
  box-shadow: 0 1px #3b4cb8;
  padding: 1px 5px 1px 15px;
}

.filetree span.female:hover {background-color:#fff500}

.filetree span.default {
	background: url(../images/gia-pha/default.png) 0 0 no-repeat;
}

.img-detail{
	margin-left=120px;
	width:50%; 
}

/* css tiêu đề tên trang thông tin chi tiết thành viên*/
.title-fullname { 
  font-family: "Times New Roman", Times, serif;	
  padding: 8px;
  text-align:center;
}

.p1 { 
  font-size:24px;
  text-align: center;  
  text-transform: uppercase;
  color: #ff0000;
  margin-bottom: 2px;
  text-shadow: 3px 3px 3px #2a2a26;
}
.p2 {
  font-size:18px;
  font-weight:bold;
  text-align: center;
  text-transform: uppercase;
  color: #234678;
  margin-bottom: 2px;
}

.p3 { 
  font-size:18px;
  text-align: center;
  color: #234678;
  margin-bottom: 8px;
}

.p3 a {
  text-decoration: none;
  box-shadow: 0 1px #234678;
  padding: 1px;
  color: black;
  transition: box-shadow .4s, color .3s;
}

.p3 a:hover {
  color: orangered;
  box-shadow: 0 3px yellow;
}

.top {
       vertical-align: top;
    }



/* TIM GIA PHA */
.form-search{
padding:10px 0 ;
border:1px #dadada solid;
margin-bottom:1px
}
.result-search h1{font-size:16px;line-height:16px;margin-bottom:10px}
table.user-detail{
	border-collapse:collapse;
	margin:0;
	padding:0;
}
table.user-detail td{
	padding:3px;border:1px #dadada solid;
}
table.user-detail td.head{
	background:#f5f5f5;
	text-align:center
}
table.user-detail td.center{
	text-align:center
}

/*timkiem*/
.css3button {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #ffffff;
	padding: 2px 14px;
	margin-bottom: 10px;
	display: inline-block;
	
	background: -moz-linear-gradient(
		top,
		#4087d2 0%,
		#3b4cb8);
	background: -webkit-gradient(
		linear, left top, left bottom, 
		from(#4087d2),
		to(#3b4cb8));
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	border: 1px solid #0f0d0a;
	-moz-box-shadow:
		0px 1px 4px rgba(14,14,15,0.5),
		inset 0px 0px 1px rgba(237,245,238,0.6);
	-webkit-box-shadow:
		0px 1px 4px rgba(14,14,15,0.5),
		inset 0px 0px 1px rgba(237,245,238,0.6);
	box-shadow:
		0px 1px 4px rgba(14,14,15,0.5),
		inset 0px 0px 1px rgba(237,245,238,0.6);
	text-shadow:
		0px -1px 0px rgba(000,000,000,1),
		0px 1px 0px rgba(255,255,255,0.2);
}

.css3button:hover {
    
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #f7f5f2;
	padding: 2px 14px;
	background: -moz-linear-gradient(
		top,
		#2cdb2c 0%,
		#87b83d);
	background: -webkit-gradient(
		linear, left top, left bottom, 
		from(#2cdb2c),
		to(#87b83d));
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	border: 1px solid #0f0d0a;
	-moz-box-shadow:
		0px 1px 4px rgba(14,14,15,0.5),
		inset 0px 0px 1px rgba(237,245,238,0.6);
	-webkit-box-shadow:
		0px 1px 4px rgba(14,14,15,0.5),
		inset 0px 0px 1px rgba(237,245,238,0.6);
	box-shadow:
		0px 1px 4px rgba(14,14,15,0.5),
		inset 0px 0px 1px rgba(237,245,238,0.6);
	text-shadow:
		0px -1px 0px rgba(227,25,25,1),
		0px 1px 0px rgba(255,255,255,0.2);

}

 /* thể hiện button danh sách vợ và con)*/
.button-wife {
	  background-color: #4CAF50; /* Green */
	  border: none;
	  color: white;
	  padding: 13px 19px;
	  text-align: center;
	  text-decoration: none;
	  display: inline-block;
	  font-size: 14px;
	  margin: 4px 2px;
	  border-radius: 10px;
	  transition-duration: 0.4s;
	  cursor: pointer;
	  box-shadow: 1px 1px #3b4cb8;
	}

	.button-wife1 {
	  background-color: #e0eef7; 
	   color: white;	 
	  border: 1px solid #e0eef7;
	}
	
	.button-wife1: a {	 
	  color: white;	  
	}

	.button-wife1:hover {
	  background-color: #3b4cb8;
	  color: white;
	  box-shadow: 0 5px #4087d2;
	}
	
	.button-wife1:hover a {	 
	  color: white;	  
	}
	/* use_button*/
.text-end {
    text-align: right!important;
}

.me-2 {
    margin-right: .5rem!important;
}

.btn-outline-light {
    color: #fbfbfb;
    border-color: ##fbfbfb;
	float: left;
	border: 1px solid #fff;
	margin-left: 20px;
}

.btn-outline-light:hover {
    color: #ff0000; 
    background-color: #3b4cb8;
    border-color: #fff; 
}

.form-control-dark {
    color: #fff;
    background-color: var(--bs-dark);
    
	display:inline-block;
	width: 75%;
}

/*css từng tỉnh title genealogy_show */
 
  .member {
  font: bold 13px/27px tahoma, verdana, sans-serif;  
  background-color: #7a1205;
  color: white;
  padding: 5px 25px;
  display: inline-block;    
  border-radius: 5px;
  box-shadow: 0 1px white;
  margin-left:250px;
}

.member:hover {background-color:black;}

.member:active {
  background-color: #3e8e41;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}
/*hết từng content-main-localtion */
.genealogy
{
  display: inline-block;
  padding: 10px 40px;
  margin: 1px 1px 20px 80px;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: #080945;
  background-color: yellow;
  border: none;
  border-radius: 15px;
  box-shadow: 0 9px #999;
	
}
/*css title thành viên nhập gia phả */
.title-genealogy-show {
  font: bold 13px/27px tahoma, verdana, sans-serif;  
 
  background-color: antiquewhite;
  border: none;
  color: black;
  padding: 10px 25px;
  padding-left:40px;
  margin: 10px 1px 20px 1px;

  text-align: center;
 
  text-decoration: none; 
  display: inline-block;    
  cursor: pointer;
  outline: none;
  border-radius: 15px;
  box-shadow: 0 5px red;
}

.title-genealogy-show:hover {background-color:#41c04d}

.title-genealogy-show:active {
  background-color: #3e8e41;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}


