@charset "utf-8";
/*禁用iPhone中Safari的字号自动调整*/
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/*去除iPhone中默认的input样式*/
input {
    -webkit-appearance: none;
    resize: none;
}

/*取消链接高亮*/
body, div, ul, li, ol, h1, h2, h3, h4, h5, h6, input, textarea, select, p, dl, dt, dd, a, img, button, form, table, th, th, tr, th, tbody, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    -webkit-tap-hightlight-color: rgba(0, 0, 0, 0);
}

/*设置HTML5元素为块级元素*/
article, aside, details, figcaption, figure, footer, hgroup, menu, nav, section {
    display: block;
}

/*图片自适应*/
img {
    height: auto;
    width: auto \9; /*IE8*/
    -ms-interpolation-mode: bicubic; /*为了照顾IE图片缩放失真*/
}

/**:focus{outline: none;}*/


/* 清零 */
body, div, ul, li, ol, h1, h2, h3, h4, h5, h6, input, textarea, select, p, dl, dt, dd, a, img, button, form, table, th, td, tr, tbody, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    margin: 0;
    padding: 0;
    border: none;
}

body {
    font-family: "Microsoft JhengHei", 微軟正黑體, "Arial", sans-serif;
}

em, i {
    font-style: normal;
}

strong {
    font-weight: normal;
}

.for-underline {
    text-decoration: underline;
}

.for-italic {
    font-style: italic;
}

.clearfix:after {
    content: "";
    display: block;
    visibility: hidden;
    height: 0;
    clear: both;
}

.clearfix {
    zoom: 1
}

a {
    text-decoration: none;
    color: #929292;
}

a:hover {
    color: #929292;
    /*text-decoration: none;*/
}

ul, ol, li {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
}

fieldset, img {
    border: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption, th {
    text-align: left;
}

q:before, q:after {
    content: "";
}

/*input:password {*/
/*    ime-mode: disabled;*/
/*}*/

.scope {
    max-width: 640px;
    margin: 0 auto;
}

.clear {
    clear: both;
}

/*连续英文，数字换行*/
.wordwrap {
    word-break: break-all;
    word-wrap: break-word;
}

/*单行文字超出显示省略号*/
.omg {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

* {
    box-sizing: border-box;
}

/* 禁止长按链接与图片弹出菜单 */
a, img {
    -webkit-touch-callout: none;
}


/**
 * @todo for more about the recommendations
 */
.faq-suggest.active {
    display: block !important;
}

.faq-suggest {
    display: none;
}

.faq-suggest .faq-sug-mask {
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(102, 99, 93, .4);
    position: absolute;
    z-index: 2333;
}

.faq-sug-area {
    z-index: 2334;
    position: absolute;
    width: 92%;
    height: 350px;
    background: 1px white;
    top: 15%;
    left: 4%;
    border-radius: 10px;
    background-color: #ffffff;
    border: solid 1px;
    box-shadow: 4px 4px 8px gray, 2px 2px 4px black;
}

.faq-sug-title-area {
    border-radius: 5px;
    padding: 15px;
}

.faq-sug-title-area textarea {
    width: 100%;
    height: 200px;
    border: 1px solid;
    resize: none;
    border-radius: 5px;
    padding: 5px;
    -webkit-resize: none; /* 兼容WebKit（Chrome、Safari等） */
    -moz-resize: none; /* 兼容Firefox */
    -o-resize: none; /* 兼容Opera */
}

.faq-sug-click {
    display: inline;
}

.faq-sug-click button {
    display: inline-table;
    margin: 10px;
    padding: 5px;
    border-radius: 5px;
    background: none;
    border: 1px solid #dedede;
}

.faq-sug-click-yes {
    float: left;
    background: #0959a5 !important;
    color: white;
}

.faq-sug-click-no {
    float: right;
}

/**
*@todo smart tips style
**/
.smart-tips {
    position: absolute;
    bottom: 50px;
    width: 100%;
    z-index: 2333;
    right: 0px;
}

.smart-tips.hidden {
    display: none;
}

.smart-tips ul li {
    background: white;
    padding: 3px;
    border: 1px gray solid;
    font-size: 14px;
    color: #333333;
    display: flex;
    min-width: 375px;
}

.smart-tips ul li div {
    display: flex;
    width: 100%;
}

.smart-tips li:hover,
.smart-tips li:focus,
.smart-tips li:active,
.smart-tips ul li div:hover,
.smart-tips ul li div:focus,
.smart-tips ul li div:active {
    background: #e9e9e9;
    outline: black;
}


.highlight {
    color: red;
    display: contents !important;
}

.smart-tips-option .highlight {
    padding-right: 5px;
}

.smart-tips-option {
    cursor: pointer;
}

/***
 * for more msg with model
 */
.chat-txt .model-tips {
    padding-top: 5px;
    font-size: small;
}

.chat-txt .model-tips label {
    display: flex;
    position: relative;
    float: left;
    margin: 3px;
    padding: 2px;
    border: 1px solid;
    border-radius: 5px;
    cursor: pointer;
}

.chat-txt .model-tips label:hover,
.chat-txt .model-tips label:focus,
.chat-txt .model-tips label:active {
    background: wheat;
}

.model-chatbox {
    display: none;
}

.model-chatbox.show {
    display: block;
    position: relative;
    padding: 5px;
    margin: 5px;
    float: left;
    border: 1px solid;
}

.model-tips {
    font-weight: bold;
    margin: 0 5px 5px 0;
}

.unclickable {
    color: gray !important;
}


.faq-form.active {
    display: block !important;
}

.faq-form {
    display: none;
}

.faq-form .faq-form-mask {
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(102, 99, 93, .4);
    position: absolute;
    z-index: 2333;
}

.faq-form-area {
    z-index: 2334;
    position: absolute;
    width: 92%;
    height: 300px;
    background: 1px white;
    top: 15%;
    left: 4%;
    border-radius: 10px;
    background-color: #ffffff;
    border: solid 1px;
    box-shadow: 4px 4px 8px gray, 2px 2px 4px black;
    padding: 10px
}

.faq-form-area h2 {
    text-align: center;
    border-bottom: 1px solid;
    padding: 5px;
}

.faq-form-area label {
    padding: 5px;
    border-bottom: 1px solid;
    border-left: 1px solid;
    width: 100%;
    display: block;
}

.faq-form-area input {
    margin: 0 5px;
    padding: 0 5px;
    background-color: transparent;
}

.faq-form-area span {
    padding-right: 25px;
    border-right: 1px solid;
}

.faq-form-area title {
    padding-right: 11px;
    border-right: 1px solid;
    display: inline
}

.form-button-container {
    display: flex;
    justify-content: space-between;
}

.form-button-container button {
    margin: 5px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid;
    background: #FFFFFF;
}

.form-button-container .yes {
    background: #0959a5 !important;
    color: #FFFFFF;
}

