html, body {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    padding: 0;
    font-family: "Rubik", Arial, "Noto Sans HK", sans-serif;
    font-size: 16px;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    /*letter-spacing: 4px;*/
    /*color: #FFF;*/
}

.wrapper{
    min-height: 100%;
    background: url('../images/bg-2.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

a[x-apple-data-detectors] {
    color: inherit !important;
    text-decoration: none !important;
    font-size: inherit !important;
    font-family: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

a[href^=tel] {
    color: inherit !important;
    text-decoration: inherit !important;
    font-size: inherit !important;
    font-style: inherit !important;
    font-weight: inherit !important;
}
/*.wrapper:before {*/
/*    position: absolute;*/
/*    display: block;*/
/*    content: "";*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: linear-gradient(0deg, #00000099 60%, transparent);*/
/*}*/


.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-nav .nav-item {
    font-weight: 400;
    padding: 0 15px;
    letter-spacing: 2px;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding: 0 0 0 0;
    color: #FFF;
}

.navbar:not(.sticky) .nav-link.active,
.navbar:not(.sticky) .nav-link:hover {
    color: #FFF;
    padding-bottom: 3px;
    border-bottom: 2px solid #FFFFFF;
}

.navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 0;
}

.navbar .logo {
    max-height: 120px;
    transition: all 0.3s ease;
}

.navbar.sticky .logo {
    max-height: 65px;
}

.navbar.sticky .nav-link {
    color: #c91b2e;
}

nav.sticky #header-user-login {
    border: 1px solid #c61413;
}
nav.sticky .nav-link.active,
nav.sticky .nav-link:hover {
    border-bottom: 2px solid #c91b2e;
}

nav .dropdown-toggle::after {
    color: #FFF;
}

nav .navbar-toggler:focus {
    box-shadow: none;
}

nav .header-user-info {
    color: #FFF;
}

nav.sticky .header-user-info {
    color: #333333;
}

nav.sticky .dropdown-toggle::after {
    color: #333333;
}



#header-user-login {
    background: #FFF;
    color: #c61413;
    padding: 3px 18px;
    border-radius: 30px;
}

#header-user-login:hover {
    border: none;
}


body {
    position: relative;
    background-image: url('../images/bg2.jpg');
    background-attachment: fixed;
    background-position: center;
}

main::before {
    position: absolute;
    top:0;
    left: 0;
    content: "";
    display: block;
    width: 100%;
    height: 80vh; /* 或依照圖片大小調整 */
    background-image: url('../images/bg1.png');
    background-size: cover;
    background-position: left bottom;
    z-index: -1;
}

h1.page-title {
    position: relative;
    color: #FFF;
    font-weight: 700;
    letter-spacing: 3px;
}

h1.page-title:after {
    position: absolute;
    top: -15px;
    right: -30px;
    content: "";
    width: 1.2rem;
    height: 1.2rem;
    background-image: url('../images/icon-page-title-plus.png');
    background-size: cover;
}


.search-widget .divider {
    margin: 0 12px;
    width: 1px;
    height: 30px;
    background: #FFF;
}

.search-widget .form-select {
    --bs-form-select-bg-img: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/></svg>");
}

.group-title {
    display: inline-block;
    font-weight: 600;
    min-width: 200px;
    text-align: center;
    padding-top: 3px;
    padding-bottom: 3px;
}

.group-type-0 {
    color: #FFFFFF;
    background: linear-gradient(45deg, #333333, #999999);
}
.group-type-1 {
    color: #f2883b;
    background: linear-gradient(45deg, #faf3b4, #f5bba2);
}
.group-type-2 {
    color: #7c34a3;
    background: linear-gradient(45deg, #e1f0f9, #fab3eb);
}
.group-type-3 {
    color: #004db3;
    background: linear-gradient(45deg, #9ddfe7, #7fa9d4);
}
.group-type-4 {
    color: #7733a3;
    background: linear-gradient(45deg, #def0f7, #fab3eb);
}
.group-type-5 {
    color: #004db3;
    background: linear-gradient(45deg, #9ddfe7, #7fa9d4);
}
.group-type-6 {
    color: #49a02c;
    background: linear-gradient(45deg, #c9e2b0, #91ce7b);
}
.group-type-7 {
    color: #0198bd;
    background: linear-gradient(45deg, #63caeb, #6ec3f0);
}
.group-type-8 {
    color: #49a02c;
    background: linear-gradient(45deg, #c9e2b0, #91ce7b);
}
.group-type-9 {
    color: #f2883b;
    background: linear-gradient(45deg, #faf3b4, #f5bba2);
}
.group-type-10 {
    color: #0198bd;
    background: linear-gradient(45deg, #63caeb, #6ec3f0);
}


.profile-box {
    position: relative;
    box-shadow: 0 0 10px #bebebe;
}

.profile-body {
    position: relative;
}

.name-tag {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -15px;
    text-align: center;
}

.name {
    font-weight: 900;
    color: #FFF;
    font-size: 1.3rem;
    text-shadow: 0 0 10px #000;
}

.group-name span {
    background: #c31414;
    color: #FFF;
    font-size: 12px;
    min-width: 75%;
    display: inline-block;
    border-radius: 30px;
    padding: 3px;
}

.profile-content {
    background: #FFF;
    padding: 24px 15px 10px 15px;
}

.category-name {
    color: #333333;
    font-weight: 700;
}

.company-name {
    color: #666666;
    font-size: 14px;
}

.social-media-list {
    text-align: right;
}

.social-media-list li {
    display: inline-block;
    margin-left: 15px;
}
.social-media-list li a {
    color: #c31414;
    font-size: 18px;
}


#map-container {
    position: relative;
}

#map {
    width: 100%;
    height: 600px;
}

.gm-style-iw-chr {
    display: none;
}
.gm-style-iw-d {
    padding-top: 15px;
}


#map-info-box {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid #ccc;
    /*padding: 15px 20px 10px;*/
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 100;
    min-width: 250px;
    max-width: 250px;
    display: none;
    border-radius: 8px;
}

#map-info-box .close-btn {
    /*position: absolute;*/
    /*top: 5px;*/
    /*right: 10px;*/
    /*cursor: pointer;*/
    font-size: 16px;
    font-weight: bold;
    color: #888;
}

#map-info-box .close-btn:hover {
    color: #000;
}




.footer-wrapper {
    text-align: center;
    /*position: absolute;*/
    /*bottom: 10px;*/
    /*left: 0;*/
    /*right: 0;*/
}

div#copyright-wrapper {
    background: #8c0e0e;
    color: #FFF;
    padding: 10px;
}



.slogan {
    font-size: 12px;
}

.main-content, .content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.page {
    height: 100%;
    width: 350px;
    padding: 50px 10px 50px 10px;
    margin: 0 auto;
}

.page-wide {
    width: 90%;
    height: 100%;
    padding: 50px 10px 50px 10px;
    margin: 0 auto;
}

/*#page-home, #page-profile {*/
/*    width: 400px;*/
/*    height: 100%;*/
/*    margin: 0 auto;*/
/*}*/

.btn-group-xs>.btn, .btn-xs {
    --bs-btn-padding-y: 3px;
    --bs-btn-padding-x: 12px;
    --bs-btn-font-size: 12px;
    --bs-btn-line-height: 12px;
    --bs-btn-border-radius: 0.25rem;
}


ul.nav-list li {
    margin-bottom: 35px;
}


ul.nav-list a {
    text-decoration: none;
    color: #FFF;
}

.link-icon {
    vertical-align: sub;
}

.profile-wrapper {
    text-align: center;
}

.avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    margin-bottom: 15px;
    background-size: cover;
}

.industry-name {
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 500;
    text-transform: uppercase;
}

.btn-menu {
    background: none;
    border: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999;
}


.form-control {
    font-weight: 200;
/*    background: transparent;*/
/*    color: #FFF;*/
/*    border: none;*/
/*    border-radius: 0;*/
/*    font-weight: 100;*/
/*    !*text-transform: uppercase;*!*/
/*    letter-spacing: 3px;*/
}

/*input.form-control {*/
/*    border-bottom: 1px solid #828282;*/
/*}*/


.form-control:focus {
    /*background-color: transparent !important;*/
    /*color: #FFF !important;*/
    box-shadow: none !important;
}

.input-group.keyword-filter {
    max-width: 200px;
}

.keyword-filter .input-group-text {
    background: transparent;
    color: #828282;
    border: none;
    border-bottom: 1px solid #828282;
    border-radius: 0;
    padding: 0;
}


div#offcanvasMenu {
    background: #473d44cc;
    height: auto;
    max-height: 70%;
}


button.btn-close {
    color: #FFF;
}

.offcanvas-footer {
    padding-bottom: 20px;
}



.profile-info-container {
    position: relative;
}

.profile-image {
    position: relative;
    margin-bottom: 30px;
}

.profile-image img {
    border-radius: 15px;
}

.profile-image .name {
    background: linear-gradient(0deg, black, transparent);
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding-top: 25px;
    padding-bottom: 20px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.profile-image .profile-badge {
    position: absolute;
    bottom: -20px;
    text-align: center;
    width: 100%;
}

.btn-outline-light {
    border: 1px solid #ffffff69;
    letter-spacing: 2px;
}

.btn .btn-icon {
    vertical-align: sub;
}

ul.social-icon-list {
    display: block;
}

ul.social-icon-list li {
    width: 17.5%;
    display: inline-block;
    text-align: center;
}

ul.social-icon-list li a {
    display: block;
    margin-bottom: 30px;
    opacity: 0.7;
}

ul.social-icon-list li a:hover {
    opacity: 1;
}

.info-row {
    letter-spacing: 1px;
}

.info-row .las {
    font-size: 22px;
    margin-right: 20px;
}


.edit-profile-form .social-icon {
    max-width: 15px;
    max-height: 15px;
}

.edit-profile-form .input-group-text {
    width: 40px;
    display: block;
}

.edit-profile-form .form-label {
    margin-bottom: 0;
    letter-spacing: 2px;
}


.edit-profile-form select.form-control,
.edit-profile-form textarea.form-control {
    border: 1px solid #ffffff38;
    border-radius: 6px;
    font-size: 14px;
    letter-spacing: 1px;
}




.contacts-list-container .avatar {
    margin: 0;
    min-width: 70px;
    min-height: 70px;
    width: 70px;
    height: 70px;
    margin-right: 17px;
}

.contacts-list-container a {
    color: #FFF;
    text-decoration: none;
    padding: 10px 20px;
}

.contacts-list-container a:hover {
    background: linear-gradient(90deg, #ffffff38, transparent);
}

/*.alert-success {*/
/*    background: #20b633 !important;*/
/*    color: #FFF !important;*/
/*}*/

/*.alert-outline-success {*/
/*    background: #20b633;*/
/*    font-size: 12px;*/
/*    letter-spacing: 2px;*/
/*    font-weight: 300;*/
/*    border-radius: 0px;*/
/*}*/



div#qrcode {
    text-align: center;
}

div#qrcode canvas {
    padding: 12px;
    background: white;
    margin-bottom: 10px;
    border-radius: 10px;
}

.admin-page {
    letter-spacing: 0px;
    color: #FFFFFF;
    font-weight: normal;
}

.light {
    width: 10px;
    height: 10px;
    display: inline-block;
    border: 1px solid #FFF;
    border-radius: 100%;
}

.light.status-active {
    border: 1px solid chartreuse;
    background: chartreuse;
}

.light.status-inactive {
    border: 1px solid red;
    background: red;
}


/*.alert {*/
/*    background: #fff;*/
/*    letter-spacing: 0px;*/
/*    font-weight: 400;*/
/*    border-width: 3px;*/
/*    color: #5d302d;*/
/*}*/

[data-bs-theme=dark] .btn-close {
    filter: none;
}

img.icon-industry {
    max-width: 25px;
    max-height: 25px;
}

.icon-avatar {
    max-width: 35px;
    max-height: 35px;
    border-radius: 100%;
}

.avator-thumbnail {
    content: "";
    width: 50px;
    height: 50px;
    display: block;
    background-size: cover;
    background-position: center;
    border-radius: 50px;
}


#modalContactInfoWrap .btn-close,
#modalContactInfoWrap .btn-close:hover {
    position: absolute;
    opacity: 1;
    /*background: #FFF;*/
    z-index: 99;
    font-size: 21px;
    right: 0;
    color: #FFF !important;
}

.edit-contact-info-form {
    letter-spacing: 0px;
}

.edit-contact-info-form .form-control {
    border: 1px solid #3c3c3c;
    letter-spacing: 0;
    border-radius: 10px;
}

select.sel_industry {
    width: 200px;
    overflow: scroll;
}

.btn-delete {
    background: #aa0f0f;
    color: #FFF;
}

@media only screen and (max-width: 600px) {
    div#offcanvasMenu {
        max-height: 80%;
    }
}

.nav-pills {
    --bs-nav-pills-link-active-bg: #e01617;
}

.nav {
    --bs-nav-link-color: #c1c1c1;
    --bs-nav-link-hover-color:  #FFFFFF;
}
