﻿@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@600&display=swap');

@font-face {
    font-family: "Pacifico";
    src: url("../fonts/Pacifico-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 100;
    src: url("../fonts/Roboto-Thin.ttf") format("truetype")
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/Roboto-Light.ttf") format("truetype")
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/Roboto-Regular.ttf") format("truetype")
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/Roboto-Medium.ttf") format("truetype")
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/Roboto-Bold.ttf") format("truetype")
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 900;
    src: url("../fonts/Roboto-Black.ttf") format("truetype")
}

@font-face {
    font-family: "Roboto";
    font-style: italic;
    font-weight: 100;
    src: url("../fonts/Roboto-ThinItalic.ttf") format("truetype")
}

@font-face {
    font-family: "Roboto";
    font-style: italic;
    font-weight: 300;
    src: url("../fonts/Roboto-LightItalic.ttf") format("truetype")
}

@font-face {
    font-family: "Roboto";
    font-style: italic;
    font-weight: 400;
    src: url("../fonts/Roboto-Italic.ttf") format("truetype")
}

@font-face {
    font-family: "Roboto";
    font-style: italic;
    font-weight: 500;
    src: url("../fonts/Roboto-MediumItalic.ttf") format("truetype")
}

@font-face {
    font-family: "Roboto";
    font-style: italic;
    font-weight: 700;
    src: url("../fonts/Roboto-BoldItalic.ttf") format("truetype")
}

@font-face {
    font-family: "Roboto";
    font-style: italic;
    font-weight: 900;
    src: url("../fonts/Roboto-BlackItalic.ttf") format("truetype")
}

@font-face {
    font-family: "Saira Stencil One";
    src: url("../fonts/SairaStencilOne-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: "ThuPhap";
    src: url("../fonts/ThuPhapThienAn.eot");
    src: url("../fonts/ThuPhapThienAn.eot#iefix") format("embedded-opentype"), url("../fonts/ThuPhapThienAn.woff2") format("woff2"), url("/fonts/ThuPhap/ThuPhapThienAn.woff") format("woff"), url("../fonts/ThuPhapThienAn.ttf") format("truetype"), url("/fonts/ThuPhap/ThuPhapThienAn.svg#UTM ThuPhap Thien An") format("svg");
    font-weight: normal;
    font-style: normal
}

.insert-center-image figcaption {
    text-align: center;
    font-size: 13px;
    color: #777;
    font-style: italic;
    padding: 5px 0
}

.insert-center-image img {
    border-radius: 3px
}

body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
	color:#fff;
}

h1 {
    font-family: "Roboto", sans-serif;
    font-weight: 700
}

a {
    text-decoration: none
}

em {
    font-family: "Roboto", sans-serif;
    font-style: italic
}

p {
    margin-top: 0;
    margin-bottom: .9rem
}

section {
    margin: 30px 0
}

img {
    width: 100%
}

iframe {
    width: 100%
}

.header-banner .header-banner-inner {
    position: relative;
    margin-bottom: 30px
}

.header-banner .header-banner-inner .header-banner-text {
    position: absolute;
    left: 0;
    right: 0;
    font-family: "ThuPhap";
    margin: auto;
    width: 25%;
    height: 35%;
    font-size: 2vw;
    line-height: 1.2;
    color: #fff200;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -10%;
    bottom: 0
}

@media(max-width:768px) {
    .header-banner .header-banner-inner .header-banner-text {
        font-size: 5vw;
        width: 30%;
        height: 35%
    }
}

.header-giapha {
    padding-top: 50px;
    position: relative
}

@media(max-width:992px) {
    .header-giapha img {
        width: 100%
    }
}

.header-giapha::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 17px;
    background-image: url("../images/footer-bg-line.jpg");
    background-position: top center
}

.heading-title-style-1 {
    color: #fff;
    font-family: "Pacifico", Sans-serif;
    font-size: 23px;
    font-weight: 600;
    background-image: url("../images/headling-style-1-bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 12px 0;
    text-align: center;
    margin: 15px 0
}

.heading-title-style-1 h2 {
    font-size: 23px;
    margin: 0;
	 color: #8B0000;
}

.heading-title-style-2 {
    color: #fff;
    font-family: "Pacifico", Sans-serif;
    font-size: 25px;
    font-weight: 900;
    line-height: 55px;
    background-image: url("../images/headling-style-2-bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 12px 0;
    text-align: center;
    margin: 15px 0
}

.heading-title-style-2 h2 {
    font-size: 25px;
    font-weight: 900;
    line-height: 55px;
    margin: 0;
    color: #8B0000;
}

.heading-title-style-3 {
    color: #fcac1d;
    font-family: "Saira Stencil One", Sans-serif;
    font-size: 30px;
    font-weight: 800;
    line-height: 46px;
    -webkit-text-stroke-width: .05px;
    stroke-width: .05px;
    -webkit-text-stroke-color: #fff;
    stroke: #fff
}

.heading-title-style-3 h4 {
    color: #fcac1d;
    font-family: "Saira Stencil One", Sans-serif;
    font-size: 30px;
    font-weight: 800;
    line-height: 46px;
    -webkit-text-stroke-width: .05px;
    stroke-width: .05px;
    -webkit-text-stroke-color: #fff;
    stroke: #fff
}

.pagination-default .page-item .page-link {
    color: #5e784f
}

.pagination-default .page-item.active .page-link {
    background-color: #5e784f;
    border-color: #5e784f;
    color: #fff
}

.heading-title-style-4 {
    color: #fff;
    font-family: "Pacifico", Sans-serif;
    font-size: 25px;
    font-weight: 900;
    line-height: 55px;
    background-image: url("../images/headling-style-3-bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    text-align: center;
    margin: 15px 0
}

.heading-title-style-4 h2 {
    font-size: 22px;
    font-weight: 900;
    line-height: 50px;
    margin: 0
}

.phado {
    height: 700px;
    overflow: hidden
}

.phado .loading {
    background-color: transparent
}

@media screen and (max-width:576px) {
    .phado {
        height: 600px
    }
}

.clear-input {
    position: absolute;
    top: 8px;
    right: 5px;
    background: rgba(255, 0, 0, .6117647059);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    text-align: center;
    line-height: 1;
    color: #fff;
    font-size: 12px;
    border: solid #f00 1px;
    cursor: pointer
}

#results-found {
    font-size: 13px
}

.person-detail,
.toggle-node,
.children-path {
    transition: filter .2s ease;
    background-color: #cf8835;
    border-radius: 99px
}

.person-detail:hover,
.person-detail:focus,
.toggle-node:hover,
.toggle-node:focus,
.children-path:hover,
.children-path:focus {
    outline: 0;
    filter: drop-shadow(0 5px 5px #aaa)
}

.person-detail i,
.toggle-node i,
.children-path i {
    color: #fff;
    line-height: 1.5;
    font-size: 9px;
    display: block
}

.children-path {
    display: none
}

.bg-person-detail {
    background-color: #fff;
    border-radius: 2px;
    transition: filter .2s ease;
    box-shadow: 0 2px 5px 0 #bdbdbd
}

.gender {
    font-size: 12px;
    color: #fff;
    width: 14px;
    height: 15px;
    text-shadow: 0 0 2px #000, 0 0 1px #000
}

.user-manual {
    background-image: url(../images/accient-button-bg.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    padding: 5px 30px;
    font-weight: 700;
    color: #83684c;
    cursor: pointer;
    transition: filter .3s ease
}

.user-manual:hover {
    filter: drop-shadow(0 5px 5px #bbb)
}

@media(max-width:768px) {
    .user-manual {
        padding: 5px 10px
    }
}

.user-manual-img {
    width: 100%;
    max-width: 600px
}

.read-more {
    padding: 5px 20px;
    border: solid #6c757d 1px;
    border-radius: 4px;
    background: #6c757d;
    color: #fff;
    transition: filter .3s ease
}

.read-more:hover {
    filter: drop-shadow(0 5px 5px #bbb);
    color: #fff
}

.text-shadow-w {
    text-shadow: 1px 0 0 #fff, 0 0 0 #fff, 0 1px 0 #fff, 0 0 0 #fff, -1px 0 #fff, 0 -1px 0 #fff, 1px 0 0 #fff, -1px 1px 0 #fff
}

.entry-title {
    color: #fff;
    font-size: 2rem
}

.post-on,
.by-user {
    color: #fff;
}

.list-lastest-articles {
    padding: 0;
    cursor: pointer
}

.list-lastest-articles img {
    max-width: 50px;
    border-radius: 5px;
    margin-right: 10px
}

.list-lastest-articles li {
    margin: 10px;
    list-style: none
}

.list-lastest-articles li a {
    width: 100%;
    color: initial;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
    line-height: 22px;
    align-items: center
}

.list-lastest-articles .image-article {
    width: 35%;
    margin-right: 10px
}

.list-lastest-articles .title-article {
    width: 65%
}

.list-lastest-articles .image-view {
    padding: 30%;
    background-size: contain;
    border-radius: 4px
}

.br-15 {
    border-radius: 15px
}

.br-10 {
    border-radius: 10px
}

.box-shadow {
    box-shadow: 10px 12px 15px 0 rgba(0, 0, 0, .5)
}

.box,
.box-image,
.box-text {
    transition: opacity .3s, transform .3s, background-color .3s
}

.body-giapha {
    background-image: url("../images/bg_traditional.jpg");
    background-size: cover;
    background-position: top center;
    background-attachment: fixed;
}

.nav-menu-giapha ul {
    list-style: none;
    padding: 0
}

.nav-menu-giapha ul li {
    height: 48px;
    justify-content: center;
    display: flex;
    align-items: center;
    font-family: "Pacifico", Sans-serif;
    font-size: 20px;
    font-weight: 800;
    text-transform: capitalize;
    color: #5e784f !important;
    cursor: pointer;
    transition: opacity .3s, transform .3s, background-color .3s;
    position: relative;
    margin: 0 10px 10px 10px
}

.nav-menu-giapha ul li .li-center {
    width: 100%;
    height: 100%;
    background-image: url("../images/btn-menu-li-center-a.png");
    background-size: contain;
    margin: 0 32px;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    display: flex;
    align-items: center;
    justify-content: center
}

@media(max-width:1200px) {
    .nav-menu-giapha ul li .li-center {
        margin: 0 32px
    }
}

@media(max-width:992px) {
    .nav-menu-giapha ul li .li-center {
        margin: 0 20px
    }
}

@media(max-width:576px) {
    .nav-menu-giapha ul li .li-center {
        margin: 0 22px
    }
}

.nav-menu-giapha ul li:before {
    background-image: url("../images/btn-menu-li-left-1.png");
    content: "";
    width: 32px;
    height: 48px;
    position: absolute;
    top: 0;
    left: 0;
    background-size: contain;
    background-repeat: no-repeat
}

@media(max-width:1200px) {
    .nav-menu-giapha ul li:before {
        width: 32px
    }
}

@media(max-width:992px) {
    .nav-menu-giapha ul li:before {
        width: 23px;
        height: 30px
    }
}

@media(max-width:576px) {
    .nav-menu-giapha ul li:before {
        width: 23px;
        height: 30px;
        left: 3px
    }
}

.nav-menu-giapha ul li:after {
    background-image: url("../images/btn-menu-li-right-1.png");
    content: "";
    width: 32px;
    height: 48px;
    position: absolute;
    top: 0;
    right: 0;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1
}

@media(max-width:1200px) {
    .nav-menu-giapha ul li:after {
        width: 32px
    }
}

@media(max-width:992px) {
    .nav-menu-giapha ul li:after {
        width: 23px;
        height: 30px
    }
}

@media(max-width:576px) {
    .nav-menu-giapha ul li:after {
        width: 23px;
        height: 30px
    }
}

@media(max-width:1200px) {
    .nav-menu-giapha ul li {
        font-size: 18px;
        margin-left: 3px;
        margin-right: 3px
    }
}

@media(max-width:992px) {
    .nav-menu-giapha ul li {
        height: 30px;
        font-size: 16px
    }
}

@media(max-width:576px) {
    .nav-menu-giapha ul li {
        height: 30px;
        font-size: 14px
    }
}

.nav-menu-giapha ul li a,
.nav-menu-giapha ul li span {
    width: 100%;
    text-align: center;
    color: #8B0000;
    transition: opacity .3s, transform .3s, background-color .3s;
    margin-top: -2px;
}

.nav-menu-giapha ul li:hover a,
.nav-menu-giapha ul li:hover span {
    transform: scale(1.1)
}

.nav-menu-giapha ul li.active {
    color: #276a00;
    text-shadow: 1px 0 0 #fff, 0 0 0 #fff, 0 1px 0 #fff, 0 0 0 #fff, -1px 0 #fff, 0 -1px 0 #fff, 1px 0 0 #fff, -1px 1px 0 #fff
}

.nav-menu-giapha ul li.active a,
.nav-menu-giapha ul li.active span {
    color: #276a00;
    text-shadow: 1px 0 0 #fff, 0 0 0 #fff, 0 1px 0 #fff, 0 0 0 #fff, -1px 0 #fff, 0 -1px 0 #fff, 1px 0 0 #fff, -1px 1px 0 #fff
}

.nav-menu-giapha ul li.active .li-center {
    background-image: url("../images/btn-menu-li-center-a-active.png")
}

.nav-menu-giapha ul li.active:before {
    background-image: url("../images/btn-menu-li-left-active.png")
}

.nav-menu-giapha ul li.active:after {
    background-image: url("../images/btn-menu-li-right-active.png")
}

.box {
    margin: 0 auto;
    position: relative;
    width: 100%;
    margin-bottom: 30px
}

.box.box-push.has-hover-box-text:hover .box-text {
    background-color: #5e784f !important;
    color: #fff
}

.box.box-push.has-hover-box-text:hover .box-text .meta-data-blog {
    color: #fff
}

.box.box-shadow {
    background-color: #fff !important;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .1), 0 2px 20px 0 rgba(0, 0, 0, .1)
}

.box.box-shadow:before {
    display: block;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #cacaca;
    left: -.5rem;
    top: -.5rem;
    z-index: -1
}

.box.box-media {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .3), 0 2px 20px 0 rgba(0, 0, 0, .2)
}

.box.album .box-image {
    overflow: initial
}

.box.album .box-image:before {
    display: block;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #cacaca;
    left: -.5rem;
    top: -.5rem;
    border-radius: 10px
}

.box-image {
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    position: relative
}

.box-image .image-zoom:hover {
    transform: scale(1.1)
}

.box-image .image-shadow:hover {
    filter: drop-shadow(0 5px 5px #666);
    transition: filter .3s ease
}

.box-image .image-view {
    padding: 35%;
    background-size: contain
}

.box-push .box-text {
    background-color: hsla(0, 0%, 100%, .95);
    margin: -15% auto 0;
    max-width: 85%;
    padding: 15px 20px
}

.box-overlay .box-image {
    background-color: rgba(0, 0, 0, .17)
}

.box-overlay .box-text {
    bottom: 0;
    max-height: 100%;
    padding-left: 1.5em;
    padding-right: 1.5em;
    position: absolute;
    width: 100%;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .5)
}

.box-overlay .box-text h5 {
    color: #fff
}

.box-text {
    font-size: .9em;
    padding-bottom: 1.4em;
    padding-top: .7em;
    position: relative;
    width: 100%
}

.box-text h5 {
    font-size: 16px;
    color: #000;
}

.has-format,
.image-cover,
.video-fit {
    background-position: 50% 50%;
    background-size: cover;
    height: auto;
    overflow: hidden;
    position: relative;
    transition: opacity .3s, transform .3s, background-color .3s
}

.has-format.image-gallery,
.image-cover.image-gallery,
.video-fit.image-gallery {
    padding-top: 70%
}

.has-format img,
.has-format video,
.image-cover img,
.image-cover video,
.video-fit img,
.video-fit video {
    bottom: 0;
    height: 100%;
    left: 0;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%
}

.box-image>a,
.box-image>div>a {
    display: block
}

a.plain {
    color: currentColor;
    transition: color .3s, opacity .3s, transform .3s, background-color .3s
}

.meta-blog {
    display: flex;
    flex-wrap: wrap
}

.meta-data-blog {
    margin-right: 10px;
    color: #707070;
    font-weight: 500;
    line-height: 26px;
    gap: 5px;
    width: auto;
    display: inline-flex;
    align-items: center
}

.overlay {
    background-color: rgba(0, 0, 0, .15);
    height: 100%;
    left: -1px;
    pointer-events: none;
    right: -1px;
    top: 0;
    transition: transform .3s, opacity .6s;
    bottom: 0;
    position: absolute
}

.footer-giapha {
    background-color: #a85401;
    position: relative;
    padding-bottom: 17px
}

.footer-giapha::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 17px;
    background-image: url("../images/footer-bg-line.jpg");
    background-position: bottom center;
    background-size: contain
}

.footer-menu,
.footer-contact {
    list-style: none;
    padding: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    color: #f5cf7c
}

.footer-menu a,
.footer-contact a {
    color: #f5cf7c
}

.footer-menu.list,
.footer-contact.list {
    font-size: 14px;
    font-weight: 500;
    text-transform: capitalize;
    line-height: 26px
}

.phado {
    margin: 30px 0 60px
}

.link {
    fill: none;
    stroke: #bbb;
    stroke-width: 1.5px
}

.children-spouse-link {
    opacity: 0;
    fill: none;
    stroke: #f93d00;
    stroke-width: 1px
}

.children-spouse-link.horizontal {
    stroke: #f93d00;
    stroke-width: 2px;
    stroke-dasharray: 5, 5
}

.children-spouse-link.horizontal.highlighted {
    stroke-width: 2px
}

.children-spouse-link.highlighted {
    stroke: #f93d00;
    stroke-dasharray: 0;
    stroke-width: 1.5px;
    opacity: 1 !important
}

.node {
    cursor: pointer
}

.node body {
    background: inherit
}

.node rect {
    fill: #5C4033
}

.node rect.rect-spouse {
    fill: #6e5448
}

.node .outside {
    fill: #fff
}

.node .bound {
    background-image: url("../images/mframe.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 58px;
    height: 90px;
    position: absolute;
    top: 0
}

.node circle {
    fill: #fff;
    stroke: steelblue;
    stroke-width: 1.5px
}

.node p {
    margin: 0;
    width: 98%;
    font-size: 8px;
    text-align: center;
    font-family: arial
}

.node text {
    font: 12px sans-serif
}

.node .tooltip {
    position: absolute;
    text-align: center;
    width: 100px;
    height: 50px;
    padding: 2px;
    font: 12px sans-serif;
    background: #faedbb;
    border: solid #fff 1px;
    border-radius: 5px;
    pointer-events: none
}

.node .avatar {
    background-size: cover;
    margin: auto;
    border-radius: 4px;
    margin-top: 5px;
    margin-bottom: 2px
}

.node .fullname, .node .nsnm {
    margin-bottom: 2px;
    line-height: 2;
    color: #fff;
    font-weight: bold;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
}
.node .outside-node-main,
.node .outside-node-spouse {
    pointer-events: auto
}

.node .outside-node-main *,
.node .outside-node-spouse * {
    pointer-events: none
}

.right_menu {
    position: absolute;
    display: none;
    width: 140px;
    height: 133px;
    background: #fff;
    border: 1px solid var(--bs-secondary);
    border-radius: 5px;
    font-family: arial
}

.right_menu h4 .closeInf {
    display: block;
    background: var(--bs-danger);
    width: 16px;
    height: 16px;
    position: relative;
    right: -3px;
    top: -3px;
    float: right;
    opacity: 1;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 3px;
    cursor: pointer
}

.right_menu h4.rm_title {
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    margin: 0 0 6px 0;
    padding: 5px;
    background: var(--bs-secondary)
}

.right_menu p {
    margin: 0 1px;
    padding: 4px;
    position: relative
}

.right_menu p a {
    font-size: 12px;
    text-decoration: none;
    color: #000;
    display: block;
    width: 100%;
    height: 100%;
    padding: 3px 5px
}

.right_menu p:hover {
    background-color: #ddd
}

.ghostCircle,
.activeDrag .ghostCircle {
    display: none
}

.nav-info ul {
    padding: 0
}

.nav-info ul li {
    list-style: none;
    margin-right: 10px;
    margin-bottom: 5px;
    padding: 2px 10px;
    border-radius: 4px;
    cursor: pointer;
    border: solid var(--bs-gray-600) 1px
}

.nav-info ul li.active {
    color: #fff;
    background-color: var(--bs-gray-600)
}

.tab-info .tab-panel {
    display: none
}

.tab-info .tab-panel.show {
    display: block
}

.list-concai {
    border: solid var(--bs-gray-400) 1px;
    border-radius: 5px
}

.list-concai .concai {
    padding: 10px;
    border-bottom: solid var(--bs-gray-400) 1px
}

.list-concai .concai:last-child {
    border-bottom: 0
}

.list-phuthe {
    border: solid var(--bs-gray-400) 1px;
    border-radius: 5px
}

.list-phuthe .phuthe {
    padding: 10px;
    border-bottom: solid var(--bs-gray-400) 1px
}

.list-phuthe .phuthe:last-child {
    border-bottom: 0
}

.list-huynhde {
    border: solid var(--bs-gray-400) 1px;
    border-radius: 5px
}

.list-huynhde .huynhde {
    padding: 10px;
    border-bottom: solid var(--bs-gray-400) 1px
}

.list-huynhde .huynhde:last-child {
    border-bottom: 0
}

#chung .person-info {
    padding: 10px;
    border-bottom: solid var(--bs-gray-400) 1px
}

#chung .person-info:last-child {
    border-bottom: 0
}

.is-died {
    filter: opacity(40%)
}

.phado-tools-inner {
    position: relative
}

.phado-tools-inner .phado-tools-right .statistic-phado {
    border: solid #D4AF37 1px;
    padding: 10px;
    border-radius: 4px;
    background: #5C4033;
    font-size: .8rem;
    color: #B5B5B5;
}

.phado-tools-inner .phado-tools-right .title {
    font-size: .8rem;
    font-weight: 700;
    text-decoration: underline;
    margin-bottom: 3px
}

.modal .avatar img {
    max-width: 300px;
    max-height: 500px;
    height: 100%
}

.person-page .avatar-image {
    width: 100%;
    background-size: contain;
    background-position: center;
    height: 100%;
    height: 460px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, .7411764706);
    background-repeat: no-repeat
}

.person-page #tab-info {
    background: #fff;
    padding: 20px;
    border-radius: 10px
}

.person-page #tab-info a {
    color: inherit
}

.person-page .phuthe a,
.person-page .concai a,
.person-page .huynhde a {
    display: flex;
    flex-wrap: wrap;
    align-items: center
}

.person-page .person-icon {
    width: 30px;
    padding-top: 30px;
    background-size: cover;
    background-position: center;
    border-radius: 5px
}

.person-page .person-name {
    margin-left: 10px
}

#next-node {
    border: solid #977c5f 1px;
    border-radius: 3px;
    cursor: pointer;
    background: #f1d4b5;
    padding: 2px
}

.copy-right {
    color: #fff;
    padding-top: 3px;
    padding-bottom: 3px;
    font-size: .85rem
}

.copy-right a{
    color: #D4AF37;
    font-weight: 700
}

.calendar-event-page .lunar-date {
    font-size: .9rem
}

.calendar-event-page .timeline-meta {
    color: #814f17
}

.calendar-event-page .title-page {
    font-family: "Pacifico", Sans-serif
}

.calendar-event-page .diff-days {
    font-size: .8rem;
    font-weight: 500
}

.register-event-noti {
    background: #ebd6bb;
    border-radius: 4px;
    color: #814f17;
    border: solid #ad6b22 1px;
    transition: filter .2s ease;
    padding: 10px 15px;
    margin-bottom: 27px
}

.register-event-noti:hover {
    color: #814f17;
    filter: drop-shadow(0 5px 5px #aaa)
}

.btn-giapha {
    background: #ebd6bb;
    border-radius: 4px;
    color: #814f17;
    border: solid #ad6b22 1px;
    transition: filter .2s ease;
    background: #814f17;
    color: #fff;
    padding: 4px 10px
}

.btn-giapha:hover {
    color: #814f17;
    filter: drop-shadow(0 5px 5px #aaa)
}

.btn-giapha:hover {
    color: #fff
}

.loading {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(255, 255, 255, .6392156863);
    z-index: 99;
    left: 0;
    right: 0;
    top: 0;
    border-radius: 6px
}

.loading .spinner-border {
    position: absolute;
    top: 40%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center
}

.please-wait {
    text-align: center;
    top: calc(50% + 25px);
    position: absolute;
    left: 0;
    right: 0;
    font-size: .8rem;
    font-weight: 700;
    color: #ff5e00;
    background: #fff;
    width: max-content;
    margin: auto
}

.error {
    font-size: .9rem;
    color: #b10000
}

#button-auth {
    right: 0;
    position: absolute;
    height: 48px;
    justify-content: center;
    display: flex;
    align-items: center;
    font-family: "Pacifico", Sans-serif;
    font-size: 20px;
    font-weight: 800;
    text-transform: capitalize;
    color: #5e784f !important;
    cursor: pointer;
    transition: opacity .3s, transform .3s, background-color .3s;
    position: relative;
    margin: 0 10px 10px 10px
}

#button-auth .li-center {
    width: 100%;
    height: 100%;
    background-image: url("../images/btn-menu-li-center-a.png");
    background-size: contain;
    margin: 0 32px;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    display: flex;
    align-items: center;
    justify-content: center
}

@media(max-width:1200px) {
    #button-auth .li-center {
        margin: 0 32px
    }
}

@media(max-width:992px) {
    #button-auth .li-center {
        margin: 0 20px
    }
}

@media(max-width:576px) {
    #button-auth .li-center {
        margin: 0 22px
    }
}

#button-auth:before {
    background-image: url("../images/btn-menu-li-left-1.png");
    content: "";
    width: 32px;
    height: 48px;
    position: absolute;
    top: 0;
    left: 0;
    background-size: contain;
    background-repeat: no-repeat
}

@media(max-width:1200px) {
    #button-auth:before {
        width: 32px
    }
}

@media(max-width:992px) {
    #button-auth:before {
        width: 23px;
        height: 30px
    }
}

@media(max-width:576px) {
    #button-auth:before {
        width: 23px;
        height: 30px;
        left: 3px
    }
}

#button-auth:after {
    background-image: url("../images/btn-menu-li-right-1.png");
    content: "";
    width: 32px;
    height: 48px;
    position: absolute;
    top: 0;
    right: 0;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1
}

@media(max-width:1200px) {
    #button-auth:after {
        width: 32px
    }
}

@media(max-width:992px) {
    #button-auth:after {
        width: 23px;
        height: 30px
    }
}

@media(max-width:576px) {
    #button-auth:after {
        width: 23px;
        height: 30px
    }
}

@media(max-width:1200px) {
    #button-auth {
        font-size: 18px;
        margin-left: 3px;
        margin-right: 3px
    }
}

@media(max-width:992px) {
    #button-auth {
        height: 30px;
        font-size: 16px
    }
}

@media(max-width:576px) {
    #button-auth {
        height: 30px;
        font-size: 14px
    }
}

#button-auth a,
#button-auth span {
    width: 100%;
    text-align: center;
    color: #5e784f;
    transition: opacity .3s, transform .3s, background-color .3s
}

#button-auth:hover a,
#button-auth:hover span {
    transform: scale(1.1)
}

#button-auth.active {
    color: #276a00;
    text-shadow: 1px 0 0 #fff, 0 0 0 #fff, 0 1px 0 #fff, 0 0 0 #fff, -1px 0 #fff, 0 -1px 0 #fff, 1px 0 0 #fff, -1px 1px 0 #fff
}

#button-auth.active a,
#button-auth.active span {
    color: #276a00;
    text-shadow: 1px 0 0 #fff, 0 0 0 #fff, 0 1px 0 #fff, 0 0 0 #fff, -1px 0 #fff, 0 -1px 0 #fff, 1px 0 0 #fff, -1px 1px 0 #fff
}

#button-auth.active .li-center {
    background-image: url("../images/btn-menu-li-center-a-active.png")
}

#button-auth.active:before {
    background-image: url("../images/btn-menu-li-left-active.png")
}

#button-auth.active:after {
    background-image: url("../images/btn-menu-li-right-active.png")
}

.phado-control-panel {
    display: flex;
    flex-wrap: wrap;
    font-size: .8rem;
    color: #5C4033
}

.phado-control-panel .btn-relationship {
    border: solid #d9c6b1 1px;
    padding: 2px 5px;
    border-radius: 4px;
    background: #B5B5B5;
    color: #5C4033;
    font-size: .8rem
}

.phado-control-panel .btn-relationship.active {
    background: #f6cc9e;
    border: solid #e4bc8f 1px
}

.phado-control-panel .select-deep {
    border: solid #d9c6b1 1px;
    padding: 2px 5px;
    border-radius: 4px;
    background: #B5B5B5;
    color: #5C4033;
    font-size: .8rem;
    padding: 3px 5px
}

.phado-control-panel .show-line-node-spouse,
.phado-control-panel .hidden-node-spouses {
    border: solid #d9c6b1 1px;
    padding: 2px 5px;
    border-radius: 4px;
    background: #B5B5B5
}

.phado-control-panel label,
.phado-control-panel input {
    cursor: pointer
}

.phado-control-panel .form-check {
    min-height: inherit
}

.generation-order {
    background: #fff;
    font-size: .7rem;
    border-radius: 99px;
    line-height: 1.2;
    border: solid #c5c5c5 .1px;
	color:#5C4033;
	
}

.select-relationship {
    background: #fff;
    border-radius: 99px;
    border: solid #fd854b 1px;
    position: relative
}

.select-relationship.active {
    background: #dc3545;
    border: solid #c83c4a 1px
}

.select-relationship .select-relationship-btn {
    width: 100%;
    height: 100%;
    cursor: pointer
}

#result-relationship-modal .avatar {
    max-width: 100px;
    margin: auto
}

#result-relationship-modal .person-info p {
    margin-bottom: 0
}

#result-relationship-modal .person-info .person-info-des {
    font-size: .9rem
}

#result-relationship-modal .person-info .person-info-des .person-nsnm,
#result-relationship-modal .person-info .person-info-des .person-gender {
    font-size: .8rem
}

.form-check-input:checked {
    background-color: #814f17;
    border-color: #814f17
}

.form-check-input:focus {
    border-color: #814f17;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(129, 79, 23, .3294117647)
}

.album-icon {
    color: #fff8f9;
    position: absolute;
    bottom: 8px;
    right: 10px;
    padding: 5px;
    border: solid #fff8f9 1px;
    border-radius: 5px
}

:root {
    --bs-primary-bg-subtle: #cfe2ff;
    --bs-success-bg-subtle: #d1e7dd;
    --bs-success-border-subtle: #a3cfbb
}

.border-success-subtle {
    border-color: #ad6b22 !important
}

.bg-success-subtle {
    background-color: #ebd6bb !important
}

@media(min-width:768px) {
    .py-md-8 {
        padding-bottom: 4.5rem !important;
        padding-top: 4.5rem !important
    }
}

.bsb-timeline-7 {
    --bsb-tl-color: var(--bs-primary-bg-subtle);
    --bsb-tl-circle-color: var(--bs-light);
    --bsb-tl-circle-border-color: var(--bs-primary);
    --bsb-tl-indicator-color: var(--bs-white);
    --bsb-tl-circle-size: 16px;
    --bsb-tl-circle-offset: 8px;
    --bsb-tl-circle-border-size: 2px
}

.bsb-timeline-7 .timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative
}

.bsb-timeline-7 .timeline:after {
    background-color: #ebd6bb;
    bottom: 0;
    content: "";
    left: 0;
    margin-left: -1px;
    position: absolute;
    top: 0;
    width: 2px
}

@media(min-width:768px) {
    .bsb-timeline-7 .timeline:after {
        left: 33%
    }
}

.bsb-timeline-7 .timeline>.timeline-item {
    margin: 0;
    padding: 0;
    position: relative
}

.bsb-timeline-7 .timeline>.timeline-item:after {
    background: #faf4e8;
    border: var(--bsb-tl-circle-border-size) solid #ad7229;
    border-radius: 50%;
    content: "";
    height: var(--bsb-tl-circle-size);
    left: calc(var(--bsb-tl-circle-offset)*-1);
    position: absolute;
    top: calc(50% - var(--bsb-tl-circle-offset));
    width: var(--bsb-tl-circle-size);
    z-index: 1
}

.bsb-timeline-7 .timeline>.timeline-item .timeline-body {
    margin: 0;
    padding: 0;
    position: relative
}

.bsb-timeline-7 .timeline>.timeline-item .timeline-meta {
    padding: 0 0 1rem 2.5rem
}

.bsb-timeline-7 .timeline>.timeline-item .timeline-meta:first-child {
    padding: 2.5rem 0 1rem 2.5rem
}

.bsb-timeline-7 .timeline>.timeline-item .timeline-content {
    padding: 0 0 2.5rem 2.5rem
}

@media(min-width:768px) {
    .bsb-timeline-7 .timeline>.timeline-item {
        left: 33%;
        width: 67%
    }

    .bsb-timeline-7 .timeline>.timeline-item .timeline-meta {
        display: flex;
        justify-content: flex-end;
        left: -100%;
        margin: 0;
        padding: 0 2.5rem 0 0;
        position: absolute;
        top: calc(50% - 29px);
        width: 100%;
        z-index: 1
    }

    .bsb-timeline-7 .timeline>.timeline-item .timeline-meta:first-child {
        padding: 0 2.5rem 0 0
    }

    .bsb-timeline-7 .timeline>.timeline-item .timeline-content {
        padding: 2.5rem
    }

    .bsb-timeline-7 .timeline>.timeline-item .timeline-indicator {
        position: relative
    }

    .bsb-timeline-7 .timeline>.timeline-item .timeline-indicator:after {
        border-width: 1px;
        border: 10px solid var(--bsb-tl-indicator-color);
        border-color: transparent var(--bsb-tl-indicator-color) transparent transparent;
        border-left-width: 0;
        content: "";
        left: calc(2.5rem - 10px);
        position: absolute;
        top: calc(50% - var(--bsb-tl-circle-offset));
        z-index: 1
    }
}

.modal-content {
    color: #222;
}

.modal-body .read-more {
    display: none;
}