﻿.float-right {
    float: right;
}

.float-left {
    float: left;
}


.text-right {
    text-align: right;
}

.align-item-center {
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
}

.w-divider-h-1 {
    display: block;
    height: 1px;
    background-color: #ccc;
    width: 100%;
}

.fancybox__content {
    padding: 1rem;
}

.menuBackground2 {
    background: #DBE3F8;
}

.blog-title {
    color: #010101;
    text-transform: capitalize;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.3;
}

.blog-content {
}

    .blog-content img {
        max-width: 100%;
        box-shadow: 0 1px 5px 0 rgba(0,0,0,0.9);
    }

.border-bottom {
    border-bottom: 1px solid #e3e3e3;
}

.mr-2 {
    margin-right: 0.5rem !important;
}

.inline-text {
    border: 1px solid #dee2e6;
}

.border-bottom-line {
    border-bottom: 1px solid #dee2e6;
}

.datepicker {
    z-index: 9999 !important;
}

.table .td-bg-primary {
    background-color: #eeeefe;
}

.table .td-bg-success {
    background-color: #eefeee;
}

.hide {
    display: none;
}

.faq-section img {
    max-width: 100%;
    box-shadow: 0 1px 5px 0 rgba(0,0,0,0.9);
}

.fixed-element {
    position: fixed;
    top: 40px;
}

/* 底部浮動訊息*/
#floatingMsgDiv {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    font-family: sans-serif;
}

#closeAdBtn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

    #closeAdBtn:hover {
        color: red;
    }

/*ClassicEditor 工具列置頂*/
@media only screen and (max-width: 992px) {
    .ck-sticky-panel__content {
        top: 0px !important;
    }
}

@media only screen and (min-width: 992px) {
    .ck-sticky-panel__content {
        top: 45px !important;
    }
}

.blog-content h2 {
    border-left: 5px solid #2B487E; /* 左邊框線 */
    background-color: #F1F1F1; /* 背景色 */
    padding-left: 10px; /* 左邊間距 */
    line-height: 1.6em; /* 行高 */
    color: #001F3F; /* 字體顏色 */
    font-weight: bold; /* 字體粗細 */
}


.blog-content ul, ol, dl {
    padding-left: 1rem;
    font-size: 1rem;
}

.videobox {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

    .videobox iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }