/* service.css */
/* 此為客戶服務style樣式, 頁面: 文件下載、常見問題、漏洞修補 */
/* 包含: download-item、patch-item、qa-item */

.service-page-link{
    color: #3FA2D4 !important;
}

.BlueTitle{
    color: #3FA2D4;
    font-size: 1.3em;
    font-weight: 700;
    line-height: 26px;
    letter-spacing: 2px;
}
.d-line{
    font-size: 0.8rem;
    padding: 0 1rem;
    line-height: 1rem;
    color: #cbcbcb;
}
/* download-item */
.download-item-outer{
    min-width: 100%;
    display: flex;
    justify-content: center;
}
.download-item {
    margin: 30px auto;
}
.download-item img{
    width: 100%;
    max-width: 248px;
    box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.10);
    border-radius: 10px;
    transition: all 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.download-title{
    color: #1F1F1F;
    font-size: 1.2em;
    font-weight: 700;
    margin: 20px 5px 10px 5px;
    min-height: 100px;
    min-width: 100%;
}
.download-btn{
    border-radius: 50px;
    border: 1px solid #CDCDCD;
    color: #5E5E5E;
    font-size: 0.9em;
    width: fit-content;
    padding: 8px 20px;
    margin-top: 10px;
    text-decoration: none;
    margin-left: 5px;
}
.download-btn i{
    color: #3FA2D4;
    margin-left: 10px;
}
.download-all-btn{
    border-radius: 50px;
    border: 1px solid #CDCDCD;
    background-color: #FFFFFF;
    color: #5E5E5E;
    font-size: 1em;
    width: fit-content;
    padding: 8px 25px;
    margin-top: 10px;
    text-decoration: none;
    margin-left: 5px;
}
.download-all-btn i{
    color: #3FA2D4;
    margin-left: 10px;
}
.download-all-btn:hover{
    border: 1px solid #3FA2D4;
    background-color: #3FA2D4;
    color: #FFFFFF;
}
.download-all-btn:hover i{
    color: #FFFFFF;
}
.download-item-hover img{
    box-shadow: 0px 26px 22px -15px rgba(0, 0, 0, 0.35) !important;
    transform: translateY(-15px);
    transition: all 0.3s ease-out;
}
.download-item-hover .download-title{
    color: #3FA2D4 !important;
}
.download-btn:hover{
    background: #3FA2D4;
    color: #FFF;
    border: 1px solid #3FA2D4;
}
.download-btn:hover i{
    color: #FFF;
}

/* modal download */
.download-modal-title{
    color: #2B2B2B;
    font-family: "Noto Sans TC";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px; /* 187.5% */
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.download-modal-title:before{
    content: "";
    display: block;
    width: 4px;
    height: 18px;
    border-radius: 10px;
    background: #2197C4;
    margin-right: 10px;
}
.download-modal-important{
    color: #BE1E2D;
    font-family: "Noto Sans TC";
    font-size: 16px;
    font-weight: 500;
    line-height: 30px;
    margin-left: 5px;
}
.download-modal input:not([type=checkbox]){
    border-radius: 6px;
    border: 1px solid #BBB;
    color: #2B2B2B;
    ::-ms-input-placeholder { /* Edge 12 -18 */
        color: #BBB;
    }
}
.download-modal .checkbox.check-success input[type=checkbox]:checked+label:before {
    background-color: #2197C4;
    border: 1px solid #2197C4;
}
.download-modal .checkbox label:before {
    border-radius: 4px;
    border: 1px solid #BBB;
}
.download-modal .checkboxInline .checkGroup label {
    color: #2B2B2B;
}
.download-modal .checkbox input[type=checkbox]{
    pointer-events: none;
}
.download-modal .checkbox{
    margin-left: -16px;
}

/* patch-item */
.patch-item{
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.10);
    margin-bottom: 20px;
}
.patch-list{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}
.patch-list-title{
    color: #1F1F1F;
    font-size: 1.2em;
    font-weight: 700;
    display: flex;
    align-items: center;
}
.patch-list-title:before{
    content: " ";
    width: 10px;
    height: 2em;
    border-radius: 6px;
    background: #00B589;
    margin-right: 15px;
}
.patch-list-fold i{
    color: #CDCDCD;
    font-size: 1.5em;
    cursor: pointer;
}
.patch-list-fold i.fold{
    color: #3FA2D4;
}
.patch-list-fold i:hover{
    color: #3282AA;
}
.patch-item-container{
    border-top: 1px solid #CDCDCD !important;
    padding: 20px 20px 40px 20px;
    font-weight: 500;
    display: none;
}
.patch-item-container a{
    text-decoration: none;
    color: #3FA2D4;
}
/* table */
.patch-table table{
    width: 100%;
    border-radius: 10px;
    color: #000;
    font-weight: 500;
    border-collapse: separate;
    border-spacing: 0;
}
.patch-table{
    width: 100%;
    display: flex;
}
/* table scrollbar */
.patch-table::-webkit-scrollbar {
    height: 10px;
    background: #F6F6F6;
}
.patch-table::-webkit-scrollbar-button {
    width: 0;
}
.patch-table::-webkit-scrollbar-thumb {
    border-radius: 50px;
    background: #BFBFBF;
}
/* 圓角 */
.patch-item-container table tr:first-child td:first-child{
    border-radius: 10px 0 0 0;
}
.patch-item-container table tr:first-child td:last-child{
    border-radius: 0 10px 0 0;
}
.patch-item-container table tr:last-child td:first-child{
    border-radius: 0 0 0 10px;
}
.patch-item-container table tr:last-child td:last-child{
    border-radius: 0 0 10px 0;
}
/* 框線 & 樣式 */
.patch-item-container table tr td{
    border: 1px solid #CDCDCD;
    padding: 15px;
    text-align: justify;
}
.patch-item-container table tr td:first-child{
    background: rgba(63, 162, 212, 0.20);
    text-align: center;
    text-wrap: nowrap;
    width: 150px;
    border-right: 0px;
}
.patch-item-container table tr:not(:last-child) td{
    border-bottom: 0px;
}


/* qa-main-container */
.qa-main-container .tab-pane{
    padding: 10px 10px 20px 10px !important;
}
/* qa-item */
.qa-item{
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.10);
    margin: 10px 10px 20px 10px;
}
.qa-list{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}
.qa-list-title{
    color: #1F1F1F;
    font-size: 1.2em;
    font-weight: 700;
    display: flex;
    align-items: center;
    text-align: left;
}
.qa-list-title:before{
    content: "Q";
    width: 40px;
    height: 40px;
    font-size: 24px;
    font-weight: 900;
    border-radius: 6px;
    background: #00B589;
    color: #FFF;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.qa-list-fold{
    padding-left: 15px;
}
.qa-list-fold i{
    color: #CDCDCD;
    font-size: 1.5em;
    cursor: pointer;
}
.qa-list-fold i.fold{
    color: #3FA2D4;
}
.qa-list-fold i:hover{
    color: #3282AA;
}
.qa-item-container{
    border-top: 1px solid #CDCDCD !important;
    padding: 20px 20px 25px 20px;
    font-weight: 500;
    display: none;
    background: rgba(63, 162, 212, 0.20);
    border-radius:  0 0 10px 10px;
}
.qa-item-container-content{
    display: flex;
    align-items: flex-start;
    text-align: justify;
}
.qa-item-container-content:before{
    content: "A";
    width: 40px;
    height: 40px;
    font-size: 24px;
    font-weight: 900;
    border-radius: 6px;
    background: #3FA2D4;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.qa-item-container-content p, .qa-item-container-content>div{
    color: #1F1F1F;
    padding-left: 15px;
    padding-right: 40px;
    margin: auto 0;
    word-break: break-word;
}
.qa-item-container-content ol{
    padding-top: 4px;
    padding-left: 16px;
    margin-bottom: 0px;
}
.qa-item-container-content a {
    color: #3282AA;
    text-decoration: none;
}



@media(max-width: 768px){
    .nav-download{
        display: none;
    }
    .patch-table{
        overflow-x: auto;
    }
    .patch-list-title{
        font-size: 0.9em;
        display: block;
    }
    .d-line{
        padding: 0 0.5rem;
    }
    .patch-list-title:before {
        content: " ";
        width: 10px;
        height: 10px;
        border-radius: 100%;
        display: inline-block;
    }
}