
/*手機板寬度超過晃動問題*/
html {  
  overflow-x: hidden;  
  overflow-y: auto;  
}  
body {  
  width: 100vw;  
  /*overflow: hidden;  */
}

/*搜索頁的VIP過濾按鈕樣式*/
.usera_radio {
    float:left;
    position: relative;
    width: 48%;
    height: 40px;
    z-index: 1;
}
.usera_radio label {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%; /*選擇框的寬度*/
    height: 40px;
    z-index: 3;
    opacity: 0;
    margin: auto;
    display: inline-block;
    line-height: 40px;
    cursor: pointer;
}
.usera_radio input {
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    height: 40px;
    width: 100%;
    line-height: 40px;
    margin: 0;
}
.usera_radio span.btn {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: 2;
    margin: auto;
    display: inline-block;
    line-height: 30px;
    text-align: center;
    color: #d0bd9f;
    border-radius: 5px;
    background-color: #ffff;
}
.usera_radio span.active {
    background-color: #d0bd9f;
    color: #fff;
}


/*收件夾詳情的雙方聊天樣式*/
.container{
    box-sizing: border-box;
}
.textBox{
    font-size: 16px;
    border-bottom: 0;
}

.textBox li {
    font-size: 14px;
    overflow: hidden;
    margin-bottom: 15px;
}

.textBox li .imgInfo{
    height: 40px;
    width: 40px; display:inline-block;
    overflow: hidden;
    border-radius: 100%;
    vertical-align: top; box-shadow: 0 0 8px #DDD;
    -moz-box-shadow: 0 0 8px #DDD;
    -webkit-box-shadow: 0 0 8px #DDD;
}

.img_fo{
    height: 40px;
    width: 40px;
    display: inline-block;
    overflow: hidden;
    border-radius: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items:center;
    background:#ffffff;
    border-radius:10px;
}

.textBox li .textInfo{
    width: 76%;
    display: inline-block;
    position: relative;
    margin-left: 10px;
    margin-right: 5px;
}

.textBox li .textInfo label{
    font-size: 12px;
    font-weight: 100;
    display: inline-block;
    color: #999;
    position: absolute;
    right: -35px;
    bottom: -4px;
    bottom: 0px;
    margin-bottom: 0;
    white-space:nowrap;
}

.textBox li .textInfo p{
    margin: 0;
    background: #f7f6fb;
    word-wrap:break-word;
    word-break:normal;
    border-radius: 5px;
    padding: 5px 10px;
    max-width: 80%;
    display: inline-block;
    position: relative;
}

.text_2n {
    text-align: right;
}

.text_2n .imgInfo {
    float: right;
    margin-left: 5px;
}

.text_2n .textInfo {
    text-align: right;
    color: #fff;
}

.text_2n .textInfo p {
    background: #d5c2a4 !important;
    margin-top: 4px;
    text-align: left;
}

.text_2n .textInfo label {
    position: absolute;
    left: -32px;
    right: 0;
}

.text_2n .arrow_icon {
    position: absolute;
    top: 8px !important;
    right: -19px !important;
    left: inherit !important;
    border-color: transparent transparent transparent #d5c2a4 !important;
}

.textBox li .textInfo .arrow_icon {
    position: absolute;
    top: 10px;
    left: -20px;
    border-color: transparent #f7f6fb transparent transparent;
}

.arrow_icon {
    border-width: 4px 10px 10px 10px;
    border-style: solid;
}

@media (max-width: 330px) {
    .textBox li .textInfo {
        width: 75%;
        display: inline-block;
        position: relative;
        margin-left: 10px;
        margin-right: 5px;
    }
    .textBox li .textInfo p {
        font-size: 12px;
    }
}

.announce-box {
    background-color: #f7eeeb;
    position: fixed;
    z-index: 999;
    left: 0;
    right: 0;
    top: 10%;
    bottom: 10%;
    margin-left: 15%;
    margin-right: 15%;
    border-width: 3px;
    border-style: dotted solid dotted;
    border-color: rgba(244, 164, 164, 0.7);
    padding: 5px;
    box-shadow: 0 1px 15px 1px rgba(113, 106, 202, .08);
    word-break: break-word;
}

.announce-box-small {
    background-color: #f7eeeb;
    position: fixed;
    z-index: 999;
    left: 0;
    right: 0;
    top: 25%;
    bottom: 25%;
    margin-left: 25%;
    margin-right: 25%;
    border-width: 3px;
    border-style: dotted solid dotted;
    border-color: rgba(244, 164, 164, 0.7);
    padding: 5px;
    box-shadow: 0 1px 15px 1px rgba(113, 106, 202, .08);
    word-break: break-word;
}

.float {
    position: absolute;
    float: left;
}

.m-footer {
    position: absolute;
    width: 133px;
    left: 0;
    right: 0;
    bottom: 5px;
    margin-left: auto;
    margin-right: auto;
}

.center {
    font-size: large;
    text-align: center;
}

/*個人頁刪除鈕*/
.delbutton {
    display: block;
    color: #e65858;
    text-align: left;
    line-height: 30px;
    background: none !important;
    border: none;
    padding: 0 !important;
    font: inherit;
    cursor: pointer;
}

.headshot{
    display: none;
}

@media(max-width: 992px){
    .headshot{
        display: block;
        margin-top: 20px;
    }
}

/*TS版 足跡頁 個人資料頁 的照片寬度改為自適應正方形*/
/*@media (max-width: 575px) {
    .history_square {width: 30vw; height: 30vw;}
    .dashboard_square {width: 40vw; height: 40vw;}
    .fav_block_square {width: 35vw; height: 35vw;}
}
@media (min-width: 576px) and (max-width: 767px){
    .history_square {width: 20vw; height: 20vw;}
    .dashboard_square {width: 30vw;  height: 30vw;}
    .fav_block_square {width: 25vw; height: 25vw;}
}
@media (min-width: 768px) and (max-width: 991px){
    .history_square {width: 15vw; height: 15vw;}
    .dashboard_square {width: 20vw; height: 20vw;}
    .fav_block_square {width: 17vw; height: 17vw;}
}
@media (min-width: 992px) and (max-width: 1199px){
    .history_square {width: 12vw; height: 12vw;}
    .dashboard_square {width: 15vw; height: 15vw;}
    .fav_block_square {width: 13vw; height: 13vw;}
}
@media (min-width: 1200px) {
    .history_square {width: 8vw; height: 8vw;}
    .dashboard_square {width: 10vw; height: 10vw;}
    .fav_block_square {width: 9vw; height: 9vw;}
}*/

/*email二次驗證的樣式*/
.pj_box{
    padding: 10px 1.4rem;
    line-height: 30px;width:60%; margin:0 auto;
}
@media (max-width:767px){
    .pj_box{width:100%;}
}
.pj_box h3 ,.pj_box p{
    margin: 0;
}
.pj_box h3{
    font-weight: bold;
    font-size: 18px;
    margin: 10px 0 5px;
}

@media (max-width:720px){
.jfefont{width:70%; float:right}
.jfefont img{width:100%}

}
@media (max-width:320px){
.jfefont{width:60%; float:right}
.jfefont img{width:100%; margin-top:10px;}

}

/*至頂鈕樣式*/
#scrollUp {
    background-image: url("/img/top.png");
    bottom: 20px;
    right: 20px;
    width: 38px;    /* Width of image */
    height: 38px;   /* Height of image */
}

/*收件夾username 手機板置中&底線&移上變色*/
@media (max-width:720px){
.chat_name_center{text-align: center;}
}
/*.chat_name_a{border-bottom: #FADCDC 1px solid !important;}*/
a.chat_name_a:hover {text-decoration: none; color: #e65757;}
a.chat_content_a:hover {text-decoration: none; color: #e65757;}

/*提示框不要底部距離*/
.alert {
    margin-bottom: 0px;
}

.navbar-header .weui-fl img{
    float: left;
}
@media (min-width: 1000px) {
    .container-fluid > .navbar-header .tpright {
        margin-right: 10px;
    }
}

@media (min-height: 800px) {
    .m-content {
        min-height: calc(100vh - 426px);
        display: contents;
    }
}
