﻿
.Search-Title-Header {
    font-size: 1.4em;
    line-height: 3em;
    font-weight: bold;
}


/* tables
----------------------------------------------------------*/
table {
    border-collapse: collapse;
    border-spacing: 0;
    padding-top: 0.75em;
    border: 0 none;
}


th a {
    display: block;
    position: relative;
}

    th a:link, th a:visited, th a:active, th a:hover {
        color: #333;
        font-weight: 600;
        text-decoration: none;
        padding: 0;
    }

    th a:hover {
        color: #000;
    }

th.asc a, th.desc a {
    margin-right: .75em;
}

    th.asc a:after, th.desc a:after {
        display: block;
        position: absolute;
        right: 0em;
        top: 0;
        font-size: 0.75em;
    }

    th.asc a:after {
        content: '▲';
    }

    th.desc a:after {
        content: '▼';
    }

td {
    padding: 0.25em 2em 0.25em 0em;
    border: 0 none;
}

.tab a {
    color: initial;
    text-decoration: none !important;
}

.btn {
    min-width: 80px;
}

    .btn:hover {
        filter: brightness(0.9);
    }


    .btn.btn-primary {
        background-color: #2f2f2f;
        border-color: grey;
    }

        .btn.btn-primary:focus {
            background-color: #1f1f1f;
        }

        .btn.btn-primary:hover {
            background-color: #1f1f1f;
        }

.badge-danger {
    background-color: #d43f3a;
}

.badge-warning {
    background-color: #d58512;
}

.badge-success {
    background-color: #398439;
}

.badge-info {
    background-color: #269abc;
}

.badge-inverse {
    background-color: #333333;
}

.navbar-image {
    float: left;
    padding: 10px 5px;
}

.form-control {
    height: 25px;
}

/*customs for delete link*/

#DeleteLine {
    cursor: pointer;
}

.divrowspace {
    margin: 5px;
}

.tablerowalign {
}

    .tablerowalign tr {
        vertical-align: middle;
    }

/*adjust boostrap scroolbar*/


/*for boostrap table columns*/
.result_table_col {
    min-width: 130px !important;
    max-width: 130px;
}

.table-responsive {
    min-width: 80%;
    max-width: 100%;
    margin-bottom: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.fixed-table-container thead th .th-inner,
.fixed-table-container tbody td .th-inner {
    line-height: 24px;
    vertical-align: top;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.bootstrap-table .table > thead > tr > th {
    vertical-align: top;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.alert {
    position: fixed;
    width: 100%;
    z-index: 99;
    border: none;
    opacity: 0.95;
}

.alert-danger {
    font-weight: bold;
    font-size: 13px;
    opacity: 0.8;
    background-color: #ff6858;
}

.alert-warning {
    font-weight: bold;
    font-size: 13px;
}

.alert-info {
    font-weight: bold;
    font-size: 13px;
}

.alert-success {
    font-weight: bold;
    font-size: 13px;
    background-color: #69c56c;
}

#btnCalcSI {
    min-width: 80px;
    background-color: #324051;
    border-color: grey;
    color: white;
    padding: 10px;
    border-radius: 6px;
    outline: 0;
    border: 1px solid;
}


    #btnCalcSI:hover {
        filter: brightness(0.9);
    }

.btn.btn-primary {
    background-color: #324051;
}

.btn-info:active, .btn-info.active, .open > .dropdown-toggle.btn-info {
    font-weight: bold;
}

/*for Button group info background change*/
.btn-info, .btn-info, .open > .dropdown-toggle.btn-info {
    color: #ffffff;
    background-color: #80aaff;
    border-color: #80aaff;
}

.btn-long {
    min-width: 100% !important;
    width: 100%;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.btn.btn-groupbtn {
    flex: 1 0 50%;
    transition: all linear .1s;
    background-color: #ddd;
    border-radius: 0;
}

    .btn.btn-groupbtn:hover {
        background-color: #aaa;
    }

    .btn.btn-groupbtn.active {
        background-color: #eb5c28;
        color: white;
    }

.btn-group a.btn.btn-action-transaction:not(:first-child) {
    /*border-left: 1px solid #333;*/
}

.btn.btn-action-transaction {
    background-color: #ddd;
    transition: all linear .1s;
    border-width: 0;
}

    .btn.btn-action-transaction:hover {
        filter: contrast(1.2);
        color: unset;
    }

    .btn.btn-action-transaction:active {
        box-shadow: inset 0 0 5px 0px #888;
    }

.page-list .btn {
    padding: 5px;
    font-size: 12px;
}




.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
    width: 150px;
    min-width: 0;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.panel {
    margin-bottom: 0;
}

    .panel.panel-bordered {
        border: 1.2px solid lightgrey;
        /*box-shadow: 2px 2px 10px #888888;*/ /*Change By Terence Lee*/
        box-shadow:none;
    }

    .panel.panel-default{
        border: 0;
    }

    .panel.panel-heading {
        color: #d9d9d9;
        background-color: #314277;
        /*border-radius: 0 !important;*/
    }

    .panel.panel-heading-line {
        color: #000;
        background-color: #fff;
        /*border-radius: 0 !important;*/
        border: none; /*border-bottom-color: #314277;  Remove by Terence Lee*/
        padding: 10px;
        font-weight: bold;
        box-shadow: none;/*Add By Terence Lee*/
    }

.panel-info > .panel-heading:hover {
    background: rgba(52,152,219,1);
    background: -moz-linear-gradient(left, rgba(52,152,219,1) 0%, rgba(110,202,255,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(52,152,219,1)), color-stop(100%, rgba(110,202,255,1)));
    background: -webkit-linear-gradient(left, rgba(52,152,219,1) 0%, rgba(110,202,255,1) 100%);
    background: -o-linear-gradient(left, rgba(52,152,219,1) 0%, rgba(110,202,255,1) 100%);
    background: -ms-linear-gradient(left, rgba(52,152,219,1) 0%, rgba(110,202,255,1) 100%);
    background: linear-gradient(to right, rgba(52,152,219,1) 0%, rgba(110,202,255,1) 100%);
    border: 0;
}

.panel-green > .panel-heading:hover {
    background: rgba(92,184,92,1);
    background: -moz-linear-gradient(-45deg, rgba(92,184,92,1) 0%, rgba(115,235,115,1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(92,184,92,1)), color-stop(100%, rgba(115,235,115,1)));
    background: -webkit-linear-gradient(-45deg, rgba(92,184,92,1) 0%, rgba(115,235,115,1) 100%);
    background: -o-linear-gradient(-45deg, rgba(92,184,92,1) 0%, rgba(115,235,115,1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(92,184,92,1) 0%, rgba(115,235,115,1) 100%);
    background: linear-gradient(135deg, rgba(92,184,92,1) 0%, rgba(115,235,115,1) 100%);
    border: 0;
}


.disabled {
    pointer-events: none;
    filter: contrast(0.75);
    opacity: 0.7;
    background-color: white;
}

.bootstrap-table.disabled {
    pointer-events: unset;
    filter: unset;
    opacity: 1;
    background-color: initial;
}

.nav-tabs.nav-justified li > a {
    margin-right: 5px;
    /*margin-left : 5px;*/
}

.nav-tabs.nav-justified li:first-child > a {
    margin-left: 0;
}

.nav-tabs.nav-justified li:last-child > a {
    margin-right: 0;
}

.nav-tabs.nav-justified li > a {
    transition: background-color .1s linear;
    background-color: #e1eaec;
    font-size: 16px;
    border-radius: 0;
    color: grey;
    border: none;
}

.nav-tabs.nav-justified li {
    transition: width ease-in .3s;
    margin-bottom: 0;
    transition: all linear .2s;
    /*border-bottom: 1px solid lightgrey;*/
}

    .nav-tabs.nav-justified li.active {
        width: 5%;
        border-bottom: none;
    }

.nav-tabs.nav-justified > .active > a, .nav-tabs.nav-justified > .active > a:hover, .nav-tabs.nav-justified > .active > a:focus {
    border: none;
}



.nav-tabs.nav-justified li.active > a:hover {
    border: none;
}

.nav-tabs.nav-justified li.active > a {
    background-color: #f08234;
    color: #ffffff;
    font-weight: 600;
    border: none;
}

.nav-tabs.nav-justified li:hover > a {
    background-color: #f08234;
    color: white;
}

/*for mobile*/
@media only screen and (max-width: 992px) {

    .nav-tabs.nav-justified li {
        display: table-cell;
        width: 1%;
    }

        .nav-tabs.nav-justified li.active {
            width: 1%;
        }

        .nav-tabs.nav-justified li > a {
            margin-bottom: 0;
        }

    div[class^="col-"].no-padding-margin-left,
    div[class^="col-"].no-padding-margin-right {
        padding: 0 !important;
    }
}
