html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
caption, tbody, tfoot, thead {
    font-family: "Microsoft JhengHei", 微軟正黑體, "Microsoft YaHei", 微軟雅黑體, Verdana, Sans-serif;
}

div, ul, li, table, tr, th, td {
    font-family: "Microsoft JhengHei", 微軟正黑體, "Microsoft YaHei", 微軟雅黑體, Verdana, Sans-serif;
}

html {
    overflow-x: hidden;
}

body {
    background: #f6f6f6;
}

h5 {
    font-size: 16px;
    line-height: 24px;
    margin: 0 0 20px 0;
    font-weight: 500;
    text-transform: inherit;
    text-align: inherit;
}

.bg-header {
    background-color: #F8F9FA;
}

.nav-item :hover {
    color: #7f0c78;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 20;
    list-style: none;
    padding: 0px;
}

    .dropdown-content a {
        float: none;
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }

.dropdown-product-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 1000px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 20;
    list-style: none;
    padding: 0px;
}

    .dropdown-product-content a {
        color: black;
        border-bottom: 1px solid #e6e6e6;
    }

.navi ul ul li {
    position: relative;
    border-bottom: 1px solid #e6e6e6;
}

.submenu {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 20;
    list-style: none;
    padding: 0px;
    right: -160px;
    top: 0px;
}

.nav-item:hover .dropdown-content {
    display: block;
}

.dropdown-content > li:hover > .submenu {
    display: block;
}

.navbar-items-custom span {
    padding: 5px;
}

.navbar-items-custom a {
    color: #000000;
    text-decoration: none;
}

.dropdown-preson-content {
    /* display: none; */
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 20;
}

    .dropdown-preson-content a {
        float: none;
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }

.nav-mobile {
    padding: 4px 16px;
}

.nav-mobile-btn a {
    padding: 12px 16px !important;
}

.nav-item:hover .dropdown-preson-content {
    display: block;
}

li i {
    margin-left: 12px;
}

.menu-btn-one {
    background-color: #7f0c78;
}

    .menu-btn-one a {
        color: white !important;
    }

.menu-btn-two {
    background-color: #9d0246;
}

    .menu-btn-two a {
        color: white !important;
    }

.btn-menu-two {
    color: rgb(255, 255, 255);
    background-color: #9d0246;
    font-family: "Microsoft JhengHei", 微軟正黑體, "Microsoft YaHei", 微軟雅黑體, Verdana, "Lucida Grande", sans-serif;
    border-color: rgb(127, 12, 120);
}

.nav a {
    padding: 8px;
    margin-right: 10px;
    margin-left: 10px;
}

.search-area {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 10%;
    margin-bottom: 2.25rem;
    margin-left: 10%;
    list-style: none;
    width: 80%;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.search-area-text {
    padding-left: 40px;
    height: 60px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.search-area-btn {
    background-color: white !important;
    border: 1px solid #ced4da;
    height: 60px;
    width: 60px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

footer {
    padding-top: 2rem;
}

    footer a {
        color: white !important;
    }

    footer .copyright {
        font-size: small;
    }

.custom-menu {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

    .custom-menu li {
        padding-left: 12px;
    }

.page-card-body {
    flex: 1 1 auto;
    padding: 2rem 2rem;
}

.slider-background-img {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Tags */
.main-tags {
    margin: 0;
    list-style: none;
    font-size: 0;
}

    .main-tags li {
        display: inline-block;
    }

        .main-tags li a {
            font-size: 14px;
            line-height: 1;
            margin: 0 3px 3px 0;
            font-weight: 400;
            text-transform: inherit;
            text-align: inherit;
            display: block;
            padding: 4px 10px 5px 10px;
            background-color: #720169;
            color: #fff;
            -webkit-border-radius: 4px;
            -moz-border-radius: 4px;
            -ms-border-radius: 4px;
            border-radius: 4px;
            text-decoration: none;
        }

.category-list {
    list-style: none;
}

    .category-list a {
        text-decoration: none;
        color: #720169;
    }

.document-list {
    list-style: none;
}

.nav-link {
    color: black;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: #c1a457;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

.tab-content {
    background-color: white;
}

/* button */
.btn-secondary {
    color: rgb(255, 255, 255);
    background-color: rgb(127, 12, 120);
    font-family: "Microsoft JhengHei", 微軟正黑體, "Microsoft YaHei", 微軟雅黑體, Verdana, "Lucida Grande", sans-serif;
    border-color: rgb(127, 12, 120);
}

.location-item a {
    color: rgb(127, 12, 120);
    text-decoration: none;
}

.bg-image {
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
}

    .bg-image .mask {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        background-attachment: fixed;
        background-color: rgba(0, 0, 0, 0.4)
    }

    .bg-image .content {
        position: absolute;
        bottom: 16px;
        color: white;
    }

.product-title {
    line-height: 0rem;
}

.product-type {
    list-style: auto;
}

    .product-type li {
        color: #9d0246;
    }

        .product-type li a {
            color: #9d0246;
            text-decoration: none;
        }

.btn-no-r {
    padding: 8px 20px;
    display: inline-block;
    margin-bottom: 0;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
    border: none;
    outline: none !important;
    font-size: 14px;
    line-height: 1.42857;
    margin: 0;
    font-weight: 500;
    text-transform: inherit;
    text-align: center;
    font-family: "Microsoft JhengHei", 微軟正黑體, "Microsoft YaHei", 微軟雅黑體, Verdana, Lucida Grande, sans-serif;
    text-decoration: none;
}

.btn-red {
    background-color: #9d0246;
}

.custom-input-group-text {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    white-space: nowrap;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

a {
    color: #720169;
    text-decoration: none;
}

.btn-grey {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-block {
    display: block;
    width: 100%;
}

.link a {
    color: #44382c;
}

.link .col {
    line-height: 2rem;
}

/* form validate */
.form-control.valid {
    border-color: green;
}

.form-control.invalid {
    border-color: red;
}

.form-control + small {
    color: red;
    opacity: 0;
    height: 0;
    transition: opacity .4s ease-out;
}

.form-control.invalid + small {
    opacity: 1;
    height: auto;
    margin-bottom: 20px;
    transition: opacity .4s ease-out;
}


.btn-pro-fb {
    font-family: "Microsoft JhengHei", 微軟正黑體, "Microsoft YaHei", 微軟雅黑體, Verdana, Sans-serif;
    background: #fff;
    border-radius: 0px;
    padding: 6px 15px;
    font-weight: 600;
    font-size: 16px;
    color: #3b5998 !important;
    text-align: left;
}

    .btn-pro-fb:active {
        background: #fff;
    }

    .btn-pro-fb:hover {
        background: #fff;
    }

    .btn-pro-fb i {
        color: #3b5998 !important;
        position: absolute;
        right: -2px;
        top: 7px;
        display: block;
        width: 100%;
        line-height: 40px;
        cursor: pointer;
        font-size: 16px;
        text-align: right;
        padding-right: 18px;
    }

    .btn-pro-fb img {
        float: right;
    }

.btn-pro-line {
    font-family: "Microsoft JhengHei", 微軟正黑體, "Microsoft YaHei", 微軟雅黑體, Verdana, Sans-serif;
    background: #fff;
    border-radius: 0px;
    padding: 6px 15px;
    font-weight: 600;
    font-size: 16px;
    text-align: left;
}

    .btn-pro-line:active {
        background: #fff;
    }

    .btn-pro-line:hover {
        background: #fff;
    }

    .btn-pro-line i {
        color: #3b5998 !important;
        position: absolute;
        right: -2px;
        top: 7px;
        display: block;
        width: 100%;
        line-height: 40px;
        cursor: pointer;
        font-size: 16px;
        text-align: right;
        padding-right: 18px;
    }

    .btn-pro-line img {
        float: right;
    }

.detail-bar ul li {
    font-size: 16px;
    line-height: 30px;
    margin: 0;
    font-weight: 300;
    text-transform: inherit;
    text-align: left;
    line-height:24px !important;
}

.document-list li {
    line-height: 14px !important;
    font-size: 18px !important;
    padding: 28px 0;
    border-bottom: 1px solid #e5e5e5;
}

.carousel-caption {
    bottom: 35%;
    z-index: 10;
}

.article-detail ul li, .comments-block ul li {
    font-size: 16px;
    line-height: 30px;
    margin: 0;
    font-weight: 300;
    text-transform: inherit;
    text-align: inherit;
}

.article-media > img {
    width: 100% !important;
}

.searcg-text-left > tbody > tr > td {
    text-align: left;
}

.searcg-text-left .tr-head {
    background-color: #c5a26a !important;
    color: #fff;
    border: none;
    font-size: 16px;
}

.product-detail-table {
    width: 100%;
    border: 1px solid #dadada;
}

    .product-detail-table thead tr th {
        border: 1px solid #dadada;
        padding: 10px 15px;
    }

    .product-detail-table tbody tr td {
        border: 1px solid #dadada;
        padding: 10px 15px;
    }

.article-detail h4 {
    font-size: 24px;
    line-height: 26px;
    margin: 0 0 18px 0;
    font-weight: 800;
    text-transform: inherit;
    text-align: inherit;
}

.article-detail ul li, .comments-block ul li {
    font-size: 20px;
    line-height: 30px;
    margin: 0;
    font-weight: 400;
    text-transform: inherit;
    text-align: inherit;
}

.creditcard-img-active {
    border: 2px solid #c1c1c1 !important;
}


/*START COMPARE PAGE STYLE*/
@media (max-width: 767px) {
    .compare-table-wrap {
        overflow-x: auto;
    }

        .compare-table-wrap .compare-table {
            width: 700px;
        }
}

.compare-table .table-title {
    text-align: left;
    font-weight: 500;
    /*width: 200px;*/
    width: 42%;
}

@media (min-width: 768px) and (max-width: 991px) {
    .compare-table .table-title {
        width: 100px;
    }
}

@media (max-width: 767px) {
    .compare-table .table-title {
        width: 100px;
    }
}

@media (max-width: 768px) {
    .document-list li{
        padding-left: 0px !important;
    }

        .document-list li span {
            text-indent: 0em !important;
            margin-left: 0em !important;
        }
}

.insurance-detail-title {
    font-size: 18px;
    font-weight: 500;
}

.breadcrumb {
    font-size: 12px;
}

.btn-primary {
    color: #fff;
    background-color: #9d0246;
    border-color: #9d0246;
}

.table-primary {
    --bs-table-bg: #7f0c78;
    --bs-table-striped-bg: #7f0c78;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #7f0c78;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #7f0c78;
    --bs-table-hover-color: #000;
    color: #fff;
    border-color: #7f0c78;
}