﻿.CableMain .main-div{
    text-align: center;
    margin-top: 20px;
}
.CableMain .main-row-div{
    border: 1px solid rgb(191, 191, 191);
    border-radius: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.CableMain .select-form-type{
    height: 100%;
    border-radius: 5px;
    width: 95%;
    margin: auto;
}

.CableMain .loading-border{
    border: solid 1px #4f81bd;
}

.CableMain .error-border{
    border: solid 1px red;
}

.CableMain .success-border{
    border: solid 1px green;
}

.CableMain .loading{
    background-color: gray;
    opacity: 0.6;
    font-size: 32px;
    z-index: 999;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    position: absolute;
}

.CableMain .blocking-area{
    background-color: black;
    opacity: 0.8;
    font-size: 32px;
    z-index: 999;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
}

.CableMain .blocking-text{
    font-size: 60px;
    font-weight: bold;
    color: white;
    text-align: center;
}

/*
選擇流程的三顆 button
*/
.CableMain .main-button{
    width: 90%;
    background-color: rgb(78, 177, 225);
    border-color: rgb(78, 177, 225);
    font-size: 18px;
    color: white;
    margin-top: 10px;
}

/*
顯示各流程狀態框的基礎樣式
*/
.CableMain .status{
    width: 90%;
    font-size: 18px;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 2px solid;
    border-radius: 10px;
    padding: 30px 10px;
    text-align: center;
}

/*
狀態框-綠色
*/
.CableMain .status-green{
    border-color: rgb(0, 176, 80);
    color: rgb(0, 176, 80);
}

/*
狀態框-紅色
*/
.CableMain .status-red{
    border-color: red;
    color: red;
}

/*
狀態框-灰色
*/
.CableMain .status-gray{
    border-color: rgb(191, 191, 191);
    color: rgb(127, 127, 127);
}

/*
狀態框-橘色
*/
.CableMain .status-orange{
    border-color: orange;
    color: orange;
}

/*
業務簽名預覽
*/
.CableMain .insurance-sign-preview{
    height: 140px;
    width: 90%;
    font-size: 18px;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 2px solid;
    border-radius: 10px;
    padding: 10px 10px;
    vertical-align: top;
    border-color: #D0D0D0;
    color: #6C6C6C;
}

/*
送出 button
*/
.CableMain .submit-button{
    width: 90%;
    background-color: rgb(79, 129, 189);
    border-color: rgb(79, 129, 189);
    font-size: 18px;
    color: white;
    margin-top: 10px;
}

.CableMain .green-button{
    background-color: rgb(68, 139, 74);
    border-color: rgb(68, 139, 74);
    color: white;
}

/*
清除訊息 button
*/
.CableMain .clear-button{
    font-size: 26px;
    color: rgb(191, 191, 191);
}
.CableMain .clear-button:hover{
    color: rgb(137, 137, 137);
    cursor: pointer;
}

/* 注意事項 */
.CableMain .precautions  .precautions--title, .precautions--list {
    text-align: left;
    font-weight:bold;
}

.CableMain .precautions--list {
    margin: 4px 0 0 0;
    line-height: 30px;;
}

.CableMain .preview-sign{
    border:1px solid black;
    width:100%;
    max-width:900px; 
    height:100%; 
    max-height:900px;
    position: relative;
    top: 20px;
}

/*
因為 bootstrap RWD 在中間階段會將 max-width 縮至 720px，畫面看起來會有點怪
所以將中間階段的 max-width 改為 900px 
*/
@media (min-width: 768px) and (max-width: 1200px) {
    .CableMain .main-div{
        max-width: 900px;
    }
}

/*
將證件掃描頁在較小解析度中給予更寬的寬度
*/
@media (min-width: 576px) and (max-width: 992px) {
    .modal-xl{
        max-width: 100%;
    }
    #dataScanModal{
        padding-left: 3% !important;
        padding-right: 3%;
    }
}