﻿.fade.in {
    background: rgba(0,0,0,0.7);
}

.modal-home {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}

.modal-dialog {
    position: relative;
}

.modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}

.modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform .3s ease-out;
    -o-transition: -o-transform .3s ease-out;
    transition: transform .3s ease-out;
    -webkit-transform: translate(0, -25%);
    -ms-transform: translate(0, -25%);
    -o-transform: translate(0, -25%);
    transform: translate(0, -25%);
}

table.table:not(.just-tb-h-fc):hover {
    box-shadow: none;
}

.modal-header {
    background: #e5f0d9;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}

    .modal-header .close {
        width: 20px;
        height: 20px;
        background: url(https://www.cathaybk.com.tw/eservice/Content/HouseLoan/images/cancel.png) no-repeat;
        background-size: 20px 20px;
        font-size: 0;
        opacity: 1;
        margin-top: 0;
        border: none;
        right: 10px;
        position: absolute;
    }

.contentbody {
    padding: 15px;
}

.modal-title {
    font-size: 16px;
}

.modal-body {
    position: relative;
    padding: 15px 15px 5px 15px;
    font-size: 14px;
    max-height: 350px;
    overflow-y: scroll;
    margin-bottom: 20px;
}

.modal-header .close {
    outline: none;
}

    .modal-header .close::-moz-focus-inner {
        border: 0;
    }

.modal-content {
    border-radius: 0;
    position: relative;
    background-color: #fff;
    -webkit-background-clip: inherit;
    background-clip: inherit;
    outline: 0;
}

.modal-footer {
    border-top: none;
    padding: 0 15px 20px;
}

table.just-tb-v-2 th {
    background: #f9fbf7;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

    .btn.btn-default {
        background: #ff6000;
        width: 140px;
        height: 40px;
        border-radius: 32px;
        outline: none;
        border: 0;
        color: #fff;
    }

        .btn.btn-default:hover {
            outline: none;
            border: 0;
            background: #ff6000;
            color: #fff;
        }

.btn-default:focus, .btn-default.focus {
    outline: none;
    border: 0;
    background: #ff6000;
    color: #fff;
}

.table-bordered {
    border: 1px solid #ddd;
}

table.just-tb-v-2 th {
    width: 30%;
}

table.just-tb-v-2 td {
    width: 70%;
}

@media (min-width: 768px) {
    .modal-content {
        box-shadow: none;
    }
}

@media (min-width: 768px) {
    .modal-dialog {
        width: 600px;
        margin: 30px auto;
    }
}
