/* ============================================================
   web-shared  —  全站共用元件   〔積木說明〕
   按鈕(.btn 系列)、標籤 .tag、金額 .currency、分頁 .page-*、更多按鈕等跨頁通用樣式
   （由 all.css 拆分；純樣式區塊，改這裡不影響其他積木）
   ============================================================ */

/* All */
.compensate-for-scrollbar {
    margin: 0px !important;
}

a:hover {
    text-decoration: none !important;
    opacity: 0.8;
}

.swal2-styled.swal2-confirm {
    background-color: #b95755 !important;
}

.swal2-container {
    z-index: 1100 !important;
}

.btn-red {
    background: #9f353a;
    color: #fff !important;
    border-radius: 2rem;
    padding: 0.375rem 0.5rem;
}

.btn-red:hover {
    color: #fff !important;
}

.btn-black {
    background: #494949;
    color: #fff;
}

.btn:hover {
    opacity: 0.8 !important;
    color: #fff;
}

.btn-smail {
    padding: 0rem 0.7rem;
}

.bold-text {
    font-weight: bold;
}

.under-line {
    text-decoration: underline;
}

i {
    margin-right: 5px;
}

.price-text {
    font-size: 22px;
    font-weight: bold;
    color: #9f353a;
}

.currency {
    font-size: 0.5em;
    color: #444;
}

.more-btn {
    background: #9f353a;
    color: #fff !important;
    border-radius: 2rem;
    padding: 0px 20px;
    font-size: 12px;
    line-height: 25px;
}

.tag-block {
    line-height: 25px;
    color: #666;
    font-size: 12px;
    width: 100%;
    display: inline-block;
    margin-top: 5px;
}

.tag-block .visit-tag {
    margin-left: 15px;
}

.info-contact {
    background: #f3f3f3;
    border-radius: 5px;
    padding: 3%;
    margin: 2% 0;
}

.info-contact h2 {
    text-align: left !important;
    font-size: 18px !important;
    font-weight: bold !important;
    color: #555 !important;
    margin: 0px !important;
    padding: 0px !important;
    background: none !important;
}

.info-contact p {
    font-size: 15px;
    margin: 0;
}

.info-contact a {
    font-size: 15px !important;
    color: #333333;
    text-decoration: underline;
}

.reply-arrow {
    max-width: 20px;
}

.reply-img {
    max-width: 75px;
    display: inline-block;
    vertical-align: middle;
}

.pre-next-btn-block button {
    border: unset;
    margin: 5px;
    color: #fff !important;
    background-color: unset;
    font-size: 14px;
}

.pre-next-btn-block .pre-btn a,
.pre-next-btn-block .next-btn a {
    color: #fff !important;
}

.unit {
    font-size: 0.8rem;
}

.prompt-text {
    text-align: center;
    color: #AD1729;
    font-size: 16px;
    font-weight: bold;
    padding: 14px 0px 10px 0px;
}

.rest-password-block {
    max-width: 680px !important;
}

.img-block {
    position: relative;
}

.tag {
    position: absolute;
    right: 0;
    padding: 5px 6px;
    background-color: #9f353a;
    border-radius: 5px;
    color: white;
}

.alert-span {
    color: #AD1729;
    font-weight: bold;
    font-size: 18px;
}

.tag-index {
    position: absolute;
    right: 0;
    top: 0;
    padding: 5px 6px;
    background-color: #9f353a;
    border-radius: 5px;
    color: white;
}

@media (max-width: 767px) {
    .prompt-text {
        font-size: 14px;
        padding: 10px 0px;
    }
}


@media (max-width: 450px) {
    .pre-next-btn-block button {
        width: 47%;
        float: left;
        display: flex;
    }
}

/* 分頁 */
@media (max-width: 450px) {
    .page-link {
        padding: 0.3rem 0.52rem;
    }

}

.page-item.active .page-link {
    background: #af4d52;
    border-color: #af4d52;
}

.page-link {
    color: #444;
}

/* All END */

/* === 分享按鈕（全站共用；由 misc/aqxinz 合併） === */

.article_consharea {
    display: inline-block;
    position: relative;
    margin-left: 10px;
}

.article_consharea img {
    vertical-align: middle;
}

.article_conshare {
    text-align: right;
    margin-bottom: 1%;
}

.article_conshare .img-h {
    display: none;
}

.article_consharea p {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 14px;
    left: 0;
    bottom: 5px;
    color: #4D4D4D;
    font-weight: bold;
    line-height: 20px;
    height: 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.article_consharebtn,
.article_icob {
    display: none;
}

.article_consharebtn .fa-angle-double-left {
    display: none;
}

.article_consharebtn-actie .fa-angle-double-left {
    display: inline-block;
}

.article_consharebtn-actie .fa-angle-double-right {
    display: none;
}

.article_conshare-fix {
    position: fixed;
    top: 260px;
    z-index: 10;
}

.article_conshare-fix .article_consharea {
    display: block;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .article_conshare-fix {
        left: 0 !important;
    }
}

