
/*@import url('https://fonts.googleapis.com/css2?family=Liu+Jian+Mao+Cao&family=Long+Cang&family=Ma+Shan+Zheng&family=Zhi+Mang+Xing&display=swap');*/
/*@import url('https://fonts.googleapis.com/css2?family=Italianno&family=Marcellus&family=Pinyon+Script&display=swap');*/
/*@import url('https://fonts.googleapis.com/css2?family=Satisfy&display=swap');*/
/*@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=Nanum+Myeongjo&family=Satisfy&display=swap');*/


/*@font-face {*/
/*    font-family: 'Optima';*/
/*    src: url('fonts/OPTIMA.woff') format('woff');*/
/*}*/
/*@font-face {*/
/*    font-family: 'Optima';*/
/*    font-style: normal;*/
/*    font-weight: normal;*/
/*    src: local('Optima'), url('fonts/OPTIMA.woff') format('woff');*/
/*}*/
/*@font-face {*/
/*    font-family: 'Optima Italic';*/
/*    font-style: normal;*/
/*    font-weight: normal;*/
/*    src: local('Optima Italic'), url('Optima_Italic.woff') format('woff');*/
/*}*/
/*@font-face {*/
/*    font-family: 'Optima Medium';*/
/*    font-style: normal;*/
/*    font-weight: normal;*/
/*    src: local('Optima Medium'), url('Optima Medium.woff') format('woff');*/
/*}*/
/*@font-face {*/
/*    font-family: 'Optima Bold';*/
/*    font-style: normal;*/
/*    font-weight: normal;*/
/*    src: local('Optima Bold'), url('OPTIMA_B.woff') format('woff');*/
/*}*/
body{
    font-family: 'Gill Sans MT', 'Optima', 'Mi Sans', "LXGW WenKai Screen", 'Marcellus', Helvetica, "FangSong", "仿宋", "FangSong_GB2312", -apple-system, sans-serif;
    margin: 0 0 0;
    position: relative; 
    display:flex;
    min-height: 100vh;
    flex-direction: column;
    /*background-color:#f2f3fa;*/
    background-color: rgb(231,231,231);
}
nav{
    max-width: 100%;
    height:auto;
    /*background: linear-gradient(to bottom,#520c30, #7e184e 100%);*/
    color:white;
    box-shadow:0px 0px 10px 3px grey;
    transition:0.2s;
    /*border-bottom-left-radius:30px;*/
    /*border-bottom-right-radius:30px;*/
}
nav:hover{
    box-shadow:0px 0px 10px 6px grey;
    transition:0.2s;
}
main{
    font-family: 'Gill Sans MT', 'Optima', "LXGW WenKai Screen", 'Marcellus', Helvetica, "FangSong", "仿宋", "FangSong_GB2312", -apple-system, sans-serif;
    clear:both;
    height:auto;
    margin: 0 800 0;
}
footer{
    font-family: 'Gill Sans MT', 'Optima', 'Marcellus', Helvetica, "FangSong", "仿宋", "FangSong_GB2312", -apple-system, sans-serif;
    margin-top: auto;
    padding-top: 50px;
    font-size: 14px;
}
#select-lang{
    padding-top:200px;
}
.spring-festival-color{
  font-weight: 400 !important;
  background: url('https://szr.hk/public/images/golden-2.jpg') ; 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: contain;
}
.navbar{
    color:white;
  /*font-weight: 400 !important;*/
  /*background: url('https://szr.hk/public/images/golden-2.jpg') ; */
  /*-webkit-background-clip: text;*/
  /*-webkit-text-fill-color: transparent;*/
  /*background-size: contain;*/
  
    max-width: 100%;
    
    -webkit-backface-visibility: hidden;
    -webkit-backdrop-filter: saturate(200%) blur(10px);
    backdrop-filter: saturate(200%) blur(10px);
    /*background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(193, 0, 0, 0.9), rgba(153, 0, 0, 0.9) 100%);*/
    background: linear-gradient(to right, rgba(255, 255, 255, 0.7), #7e184e 100%);
    border: 0;
}
.navbar-brand{
    font-weight: bold;
    color:#520c30;
}
.disabled { 
    pointer-events: none; 
    text-decoration: line-through;
    color: grey;
}
.no-underline{
    text-decoration:none;
}
.slim-underline{
    text-decoration-thickness: 0.8px;
}
.text-center{
    text-align:center;
    text-decoration: none;;
}
.text-right{
    text-align:right;
    padding-right: 5px;
    text-decoration: none;
}
.text-left{
    text-align:left;
    padding-left: 5px;
    text-decoration: none;
}
.fontfamily-zh{
     font-family: "Ma Shan Zheng";
     /*"KaiTi", "楷体", "楷书","华文细黑", "STXihei", "Microsoft YaHei", sans-serif, serif;*/
}
.fontfamily-en{
    font-family: 'Gill Sans MT', 'Optima', Helvetica, "FangSong", "仿宋", "FangSong_GB2312", -apple-system, sans-serif;
}
.fangsong{
    font-family: "LXGW WenKai Screen", "Nanum Myeongjo", "FangSong", "仿宋", "FangSong_GB2312", Helvetica, sans-serif;
}
.container {
    /*margin-top:150px;*/
    /*margin-top:30px ;*/
    margin: 15px auto 15px auto;
    max-width: 73%;
    /*padding: 20px 30px 20px;*/
    /*display: flex;*/
    /*background-color:lightblue;*/
    /*justify-content: center;*/
    /*align-items: center;*/
    /*margin: 0 auto;*/
}
@media only screen and (max-width: 997px){
    .container{
        max-width: 93%;
    }
}
.container .card{
    margin: 20px 0 20px;
    /*padding: 10px 30px 10px;*/
    /*padding: calc(var(--bs-gutter-x) * 1) calc(var(--bs-gutter-x) * 1) calc(var(--bs-gutter-x) * 1) calc(var(--bs-gutter-x) * 1);*/
    background-color: white;
    border-radius: 50px;
    border: solid 0px;
    flex-direction:row;
    box-shadow:0px 0px 3px 1px grey;
    transition:0.2s;
}
.card:hover{
    box-shadow:0px 0px 10px 1px lightgrey;
    transition:0.2s;
}
.frame-outside{
    padding: 10px 10px 10px;
}
.frame-inside{
    border-radius: 8px;
    box-shadow:0px 0px 5px 4px lightgrey;
}

.modal-content{
    border-radius: 25px;
}

.theme-color{
    color: #5c0931;
    text-decoration: none;
}

.center{
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.left{
    text-align: left;
    /*display: flex;*/
    justify-content: left;
    align-items: center;
}
.right{
    text-align: right;
    display: flex;
    justify-content: end;
    align-items: center;
}
.bold{
    font-weight: 600;
}
.info-text{
    color:#5c0931;
    /*font-style:italic;*/
    text-decoration:none;
}
.info-text:hover{
    color:grey;
    /*text-decoration:underline;*/
}
/*.info-text-reversal{*/
/*    color:#5c0931;*/
/*    font-style:italic;*/
/*    text-decoration:none;*/
/*}*/
.select-card{
    margin: 5px 0 5px;
    padding: 100px 0 100px;
    width: 100%;
    height: 100px;
    border-radius: 35px;
    background-color: #f2f2f2;
    box-shadow:0px 0px 1px 1px lightgrey;
    transition:0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
}
.select-card:hover{
    box-shadow:0px 0px 10px 4px lightgrey;
    transition:0.2s;
}
.service-card{
    margin: 20px 0 20px;
    padding: 30px 30px 15px;
    background-color: #f2f2f2;
    border-radius: 50px;
    border: solid 0px;
    flex-direction:row;
    box-shadow:0px 0px 1px 1px lightgrey;
    transition:0.2s;
}
.service-card:hover{
    box-shadow:0px 0px 10px 4px lightgrey;
    transition:0.2s;
}
.chatBox{
    min-height:150px;
    height: 300px;
    max-height: 1000px;
    overflow-y: scroll;
    border: 1px solid #ccc;
    /*padding: 10px;*/
    
    margin: 10px 0px 10px;
    border-radius: 10px;
    padding: 5px 30px 5px;
    
    scroll-snap-type: y mandatory; /* 设置垂直方向滚动捕捉为mandatory */
    /*scroll-snap-align: center;*/
}

/* 滚动条整体样式 */
#chatBox::-webkit-scrollbar {
    width: 15px;  /* 滚动条的宽度 */
    height: 70%; /* 水平滚动条的高度（如果有的话） */
}

/* 滚动条轨道 */
#chatBox::-webkit-scrollbar-track {
    background: #f1f1f1; /* 轨道的颜色 */
    border-radius: 50px;  /* 轨道的圆角 */
}

/* 滚动条滑块 */
#chatBox::-webkit-scrollbar-thumb {
    /*background: #888; */
    /* 滑块的颜色 */
    background: lightgrey;
    border-radius: 10px;  /* 滑块的圆角 */
    margin-right:30px;
}

/* 滑块hover时的样式 */
#chatBox::-webkit-scrollbar-thumb:hover {
    /*background: #555; */
    /* hover时滑块的颜色 */
    background: grey;
}
.message-input{
    border: 1px solid lightgrey;
    border-radius: 50px;
    padding: 10px 30px 10px;
    margin: 10px 0px 10px;
}
.message-input:focus{
    /*border-color: grey;*/
    border: 1px solid lightgrey;
    box-shadow: 0 0 2px 2px lightgrey; 
    outline: none;
}
.search-results {
    border: 1px solid #ccc;
    border-top: none; /* 去掉顶部边框，与输入框融为一体 */
    max-height: 200px;
    overflow-y: auto; /* 添加滚动条 */
    position: absolute; /* 使搜索结果能浮动于输入框下方 */
    width: 100%;
    background: white;
    display: none; /* 初始不显示 */
}

.overflow-text{
    /*word-wrap: break-word; */
    /*overflow-wrap: break-word; */
    overflow: auto;
}
/*.sender-chatbox{*/
/*    border-radius: 50px;*/
/*    background: #5c0931;*/
/*}*/
/*.receiver-chatbox{*/
/*    border-radius: 50px;*/
/*    background: #e7e7e7;*/
/*}*/

 /*加载指示器的样式 */
.spinner {
    position: fixed;
    z-index: 9999;
    top: 50%;
    right: 50%;
    bottom: 50%;
    left: 50%;
    background: #5c0931;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    display: none;
    /*border: 5px solid #f3f3f3; */
    /*border-top: 5px solid #3498db; */
    /*border-radius: 50%;*/
    /*width: 50px;*/
    /*height: 50px;*/
    /*animation: spin 2s linear infinite;*/
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 7px solid transparent;
    border-top: 7px solid #5c0931;
    animation: spin 2s linear infinite;
    /*animation: spin 1s ease-in-out infinite;*/
}
.loader:before,
.loader:after {
    content: '';
    border-radius: 50%;
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
    border: 7px solid transparent;
}

.loader:before {
    border-top: 7px solid #b4801e;
    animation: spin 3s linear infinite;
}

.loader:after {
    border-top: 7px solid #046C4E;
    animation: spin 1.5s linear infinite;
}


/*.loader {*/
    /*border: 5px solid #f3f3f3;*/
    /*border-top: 5px solid #3498db;
    /*border-radius: 50%; */
    /*width: 40px; */
    /*height: 40px;*/
    /*animation: spin 2s linear infinite; */
/*}*/

 /*页面居中显示加载指示器 */
/*.center {*/
    /*position: fixed; */
    /*top: 50%; */
   /* left: 50%; /* 距离左边50% 
    transform: translate(-50%, -50%); /* 位移 
    display: flex; /* Flex布局 
    align-items: center; /* 垂直居中 
    justify-content: center; /* 水平居中 
}*/

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
    /*to { transform: translate(-50%, -50%) rotate(360deg); }*/
}
