﻿/*-----------------檔案預設內容-------------------*/
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    background-color: #fff;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}
/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/*-----------------自訂-------------------*/
.body {
    padding-top: 50px;
    /*padding-bottom: 20px;*/
    font-family: 微軟正黑體;
    /*    background-image: url("images/bg.jpg");*/
    /*    background-image: url("images/bg2.jpg");*/
    /*    background-image: url("images/bg138.gif");*/
    /*background-image: url("images/bg538.gif");*/
    /*background-image: url("images/bg138.gif");*/
    /*background-image: url("images/6548.gif_wh860.gif");*/
    /*background-image: url("images/bg638.gif");*/
    /*background-image: url("images/back_007.gif");*/
    background-image: url("images/a921c6a1a1408ce105dfd82130e1ce4c.jpg"); /*背景底圖*/ /*  <-----------------------------------------------   */
    background-repeat: no-repeat;
      background-size: cover;
}
/*列印模式*/
.body-print {
    padding-top: 20px;
    font-family: 微軟正黑體;
}
/*強制讓元件維持在同一行*/
.form-control-inline {
    display: inline;
    /*border:dotted 1px #666666;*/
}
/*顯示Debug框線*/
/*.form-group, .control-label,form-horizontal, .col-md-4, .col-md-8, .col-md-12, .container{
    border:dotted 1px #666666;
}*/
/*搜尋區塊*/
.block {
    background-color: #f1f1f1;
    padding: 0.01em 40px;
    margin: 20px 0;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
}
/*手指游標*/
.pointer {cursor: pointer;}
/*加長select(代理人選單用)*/
.select-lg {
    min-width: 280px;
    max-width: 350px;
}

/*--------自訂DateTimePicker--------*/
/*讓週末變成紅色*/
.bootstrap-datetimepicker-widget .weekend {
    color: red;
}

/*--------自訂修改table-responsive 和 modal 讓 月曆、Tooltip 可以超出範圍--------*/
/*
    參考 https://stackoverflow.com/questions/31651397/bootstrap-datetime-picker-z-index/31651940
*/
.table-responsive {
    overflow-y: visible !important;
    border: 1px solid #ddd;
    /*margin: 0px;*/
    /*padding: 0px;*/
}
.table {        /*去除table底部空白*/
    margin: 0px;        
}
.modal .modal-body {
    /*overflow-y: visible !important;*/
}



/*--------自訂modal--------*/
.modal-body {
    /*說明: 為了解決月曆被遮住的問題, 把捲軸關掉, 讓modal隨著資料無限延深*/
    /* 100% = dialog height, 120px = header + footer */
    /*max-height: 720px;
    overflow-y: scroll;*/
}  


/*--------自訂jumbotron--------*/
/*首頁橫幅*/
.jumbotron {
    padding: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    /*background-image: url('images/banner_v2_4.jpg');*/
    background-image: url('images/banner_v3.1.jpg');
    background-size: auto;
    height: 130px;
    background-repeat: no-repeat;
    background-color: #6D5D54;
    color: #FFF;
    border-radius: 0px;
}

    
/* -----navbar----- */
/*往下捲動時自動隱藏navbar*/
.navbar {
    transition: top 0.5s ease;
}
.navbar-hide {
    top: -60px;
}
/*navbar變成onmouseover*/
/*.dropdown-menu li:hover .sub-menu {visibility: visible;}
.dropdown:hover .dropdown-menu {display: block;}*/
/*選單內分隔線*/
.dropdown-menu .divider {
    height: 1px;
    width:100%;
    margin: 2px 0;
    overflow: hidden;
    display:block;
    color:#555555;
    background-color: #999;
    z-index: 100000;
}
.navbar-default {
    margin-bottom: 0;
    z-index: 1000;
    border: 0;
    font-size: 13px;
    line-height: 1.42857143 !important;
    letter-spacing: 0px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    font-family: 微軟正黑體;
    opacity: 1;
    color: #FFF;
    /*background-color: #6D5D54;*/
    /* background-color: #483429;*/ /*咖啡色*/
    /* background-color: #085820;*/ /*深綠色*/
    background-color: #000080; /*深藍色*/ /* 最上面橫條底色 */ /*  <-----------------------------------------------   */
}
/* Brand - 預設 */
    .navbar-default .navbar-brand {
        /*使用圖片*/
        /* background: url('Images/校徽-橘白.png') no-repeat left;*/
        /*   background: url('Images/logo3.png') no-repeat left;*/
        background: url('Images/logo4.png') no-repeat left;
        display: block;
        /*width: 150px;*/
        /*   width: 360px;*/
        width: 200px;

        height: 50px;
        /*使用文字*/
        font-size: 20px;
        color: #DDD;     /*  */
          /*color: blue;*/
    }
/* Brand - hover */
        .navbar-default .navbar-brand:hover,
        .navbar-default .navbar-brand:focus {
            color: #FFF;
          
        }
/* 第一層選單文字 */
.navbar-default .navbar-nav > li > a {
    color: #DDD;
}
/* 第一層選單hover */
    .navbar-default .navbar-nav > li > a:hover,
    .navbar-default .navbar-nav > li > a:focus {
        color: #FFF;
        /*background-color: #584439;*/
        /*background-color: #22853f;*/
        background-color: #4F4FFF; /* 游標移過去 橫條底色變色  */ /*  <-----------------------------------------------   */
    }
/* 第一層選單點選後 */
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
    color: #382419;
    background-color: #A6A29F;
}
/*未使用到?*/
/*.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: #FFF;
    background-color: #E7E7E7;
}*/
/* 第一層選單Caret(向下箭頭) */
.navbar-default .navbar-nav > .dropdown > a .caret {
    border-top-color: #FFF;
    border-bottom-color: #FFF;
}
/*第二層選單連結原色*/
.navbar-default .navbar-nav > .dropdown > ul > li > a {
    color:#382419;
    background-color: #D6D2CF;
}
/*第二層選單連結hover*/
.navbar-default .navbar-nav > .dropdown > ul > li > a:hover,
.navbar-default .navbar-nav > .dropdown > ul > li > a:focus {
    background-color: #E6E2DF;
}
/*第二層選單底色*/
.navbar-default .navbar-nav > .dropdown > ul {
    background-color: #D6D2CF;
}
/*第二層選單項目底色*/
/*.navbar-default .navbar-nav > .dropdown > ul > li {
    background-color: #D6D2CF;
}*/
/*未使用到?*/
/*.navbar-default .navbar-nav > .dropdown > a:hover .caret,
.navbar-default .navbar-nav > .dropdown > a:focus .caret {
    border-top-color: #FFF;
    border-bottom-color: #FFF;
}*/
/*未使用到?*/
/*.navbar-default .navbar-nav > .open > a .caret,
.navbar-default .navbar-nav > .open > a:hover .caret,
.navbar-default .navbar-nav > .open > a:focus .caret {
    border-top-color: #FFF;
    border-bottom-color: #FFF;
}*/
/* -----navbar Mobile version----- */
/*方塊邊框*/
.navbar-default .navbar-toggle {
    border-color: #DDD;
}
/*方塊hover*/
    .navbar-default .navbar-toggle:hover,
    .navbar-default .navbar-toggle:focus {
        background-color: #584439;
       
    }
/*方塊三條顏色*/
.navbar-default .navbar-toggle .icon-bar {
    background-color: #DDD;
}
/*備用顏色設定*/
/*.navbar1 {
    background-color: #CBE32B;
    color: #093426;
}
.jumbotron1 {
    background-color: #E4F193; 
    color: #093426;
    border-radius: 0px;
}

.navbar2 {
    background-color: #7E96C4;
    color: #253450;
}
.jumbotron2 {
    background-color: #CDD6E8; 
    color: #253450;
    border-radius: 0px;
}

.navbar3 {
    background-color: #71A170;
    color: #133313;
}
.jumbotron3 {
    background-color: #AFCBAF; 
    color: #133313;
    border-radius: 0px;
}

.navbar4 {
    background-color: #9EBE5C;
    color: #283411;
}
.jumbotron4 {
    background-color: #C8DBA4; 
    color: #283411;
    border-radius: 0px;
}

.navbar5 {
    background-color: #CBE32B;
    color: #283411;
}
.jumbotron5 {
    background-color: #E4F193; 
    color: #283411;
    border-radius: 0px;
}*/
/*將navbar設定在左邊*/
.navbar-toggle {
  float: left !important;
  margin-left: 15px;
}


/* --------Tooltip------- */
/*箭頭*/
.tooltip.top .tooltip-arrow {
    /*border-color:#584439;*/
    /*border-right-color: #FFF;*/
    /*border-left-color: #FFF;*/
    border-top-color: #F0AD4E;
    /*border-bottom-color: #FFF;*/
    /*background-color: #FFF;*/
}
/*內容*/
.tooltip-inner {
    text-align: left;
    color: #222;
    background-color: #F0AD4E;
    /*border:dashed 1px #03105c;*/
    border-radius: 5px;
    padding: 6px;
    width: 320px;
    max-width: 400px;
    font-family: 微軟正黑體;
    font-size: 12px;
    font-weight: bold;
}

/* --------Modal(自訂寬度)------- */
.modal-lg{
    width: 90%;
    max-width: 1100px; 
}

/* --------dl、dt、dd------- */
dt {
/*border-top-left-radius: 5px;*/
/*border-bottom-left-radius: 5px;*/
border-radius:4px;
font-weight: bold;
padding: 2px;
background-color: #ddd;
/*border-right:4px solid #aaa;*/
}
dd {
padding: 2px;
}

/*新增Bootstrap table的顏色樣式*/
.table-purple{
    background-color:#E9E9FF;
}
.table-blue{
    background-color:#D0E9FF;
}
.table-red{
    background-color:#FFE5E5;
}
.table-green{
    background-color:#DFF0D8;
}
.table-gray{
    background-color:#DDD;
}
.table-white{
    background-color:#FFF;
}

.label-purple {
    background-color: #CBA8FF;
}

/*重新定義table-striped的背景顏色*/
.table-striped > tbody > tr:nth-child(2n+1) > td, .table-striped > tbody > tr:nth-child(2n+1) > th {
    background-color: #EEE;
}
/*重新定義table-hover的背景顏色*/
.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: #FED;
}


.div_text_shadow {
    /*    color: rgb(255, 255, 255);
    font-size: 32px;*/
    /*background-color: rgb(153, 109, 109);*/
    /*text-shadow: rgb(71, 71, 71) 3px 5px 2px;*/
    /*font-family: Microsoft JhengHei;*/
    font-family: 標楷體;
    font-size: 34px;
    color: #fefefe;
/*    color: blue;*/
    /*text-shadow: 0px 1px 0px #c0c0c0, 0px 2px 0px #b0b0b0, 0px 3px 0px #a0a0a0, 0px 4px 0px #909090, 0px 5px 10px rgba(0, 0, 0, .9);*/
    text-shadow: 0px 1px 0px #c0c0c0, 0px 2px 0px #b0b0b0, 0px 3px 0px ##460046, 0px 4px 0px #909090, 0px 5px 10px rgba(0, 0, 0, .9);
}

.div_text_shadow2 {
    /*    color: rgb(255, 255, 255);
    font-size: 32px;*/
    /*background-color: rgb(153, 109, 109);*/
    /*text-shadow: rgb(71, 71, 71) 3px 5px 2px;*/
    /*font-family: Microsoft JhengHei;*/
    font-family: 標楷體;
    font-size: 34px;
    /*color: #00FFFF;*/
    /* color: #e1ff00;*/ /* 橫幅 中文字第2行文字顏色 */
    color: #66ffe6;
    /*text-shadow: 0px 1px 0px #c0c0c0, 0px 2px 0px #b0b0b0, 0px 3px 0px #a0a0a0, 0px 4px 0px #909090, 0px 5px 10px rgba(0, 0, 0, .9);*/
    text-shadow: 0px 1px 0px #c0c0c0, 0px 2px 0px #b0b0b0, 0px 3px 0px ##460046, 0px 4px 0px #909090, 0px 5px 10px rgba(0, 0, 0, .9);
}



.modal-header-info {
    color: #fff;
    padding: 9px 15px;
    border-bottom: 1px solid #eee;
    background-color: #5bc0de;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

/* -------- Bootstrap 5 modernization and mobile layout -------- */
.body {
    padding-top: 64px;
    min-height: 100vh;
    color: #1f2937;
}

.site-navbar {
    min-height: 64px;
    background-color: #000080;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .22);
}

.site-navbar .navbar-brand {
    width: 200px;
    min-height: 50px;
    background: url('Images/logo4.png') no-repeat left center;
    color: #ddd;
    font-size: 20px;
}

.site-navbar .navbar-brand:hover,
.site-navbar .navbar-brand:focus {
    color: #fff;
}

.site-navbar .navbar-nav > li > a {
    display: block;
    padding: .5rem 1rem;
    color: #ddd;
    text-decoration: none;
}

.site-navbar .navbar-nav > li > a:hover,
.site-navbar .navbar-nav > li > a:focus {
    color: #fff;
    background-color: #4f4fff;
}

.site-hero {
    height: 130px;
    margin-bottom: 0;
    overflow: hidden;
    background: #6d5d54 url('images/banner_v3.1.jpg') no-repeat center;
    background-size: auto 130px;
    color: #fff;
}

.body-content {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

/* Bootstrap 3 form markup is retained, but laid out with the Bootstrap 5 grid. */
.form-horizontal .form-group {
    display: flex;
    flex-wrap: wrap;
    margin-right: -.75rem;
    margin-bottom: 1rem;
    margin-left: -.75rem;
}

.form-horizontal .form-group > [class*="col-"] {
    padding-right: .75rem;
    padding-left: .75rem;
}

/* Login fields keep their labels and controls aligned on narrow screens. */
.login-form .form-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: 1rem;
}

.login-form .login-label {
    flex: 0 0 6.5rem;
    width: 6.5rem;
    padding-top: .5rem;
    margin: 0;
    white-space: nowrap;
    text-align: right;
}

.login-form .login-input {
    flex: 1 1 auto;
    min-width: 0;
}

.login-form .login-input .form-control {
    width: 100%;
    max-width: none;
}

@media (min-width: 768px) {
    .login-form .login-row {
        width: 83.333333%;
        margin-right: 0;
        margin-left: 8.333333%;
    }

    .form-horizontal .control-label {
        padding-top: .375rem;
        margin-bottom: 0;
        text-align: right;
    }
}

.label {
    display: inline-block;
    padding: .35em .65em;
    border-radius: .375rem;
    color: #fff;
    font-size: .75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    vertical-align: baseline;
}

.label-primary { background-color: #0d6efd; }
.label-info { background-color: #0dcaf0; color: #111827; }
.label-warning { background-color: #ffc107; color: #111827; }
.label-danger { background-color: #dc3545; }
.label-success { background-color: #198754; }

.modal-lg {
    width: auto;
    max-width: min(1100px, calc(100vw - 2rem));
}

.table-responsive {
    overflow-x: auto;
    overflow-y: hidden !important;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 991.98px) {
    .site-navbar .navbar-collapse {
        margin-top: .5rem;
        padding: .5rem;
        border-radius: .375rem;
        background-color: #000080;
    }

    .site-navbar .navbar-nav > li > a {
        padding: .75rem 1rem;
    }

    .site-hero {
        min-height: 112px;
        height: auto;
        background-size: cover;
    }

    .div_text_shadow,
    .div_text_shadow2 {
        font-size: clamp(1.4rem, 6vw, 2rem);
        line-height: 1.25;
    }
}

@media (max-width: 767.98px) {
    .body {
        padding-top: 60px;
        background-attachment: fixed;
    }

    .body-content {
        padding: 1rem;
    }

    .form-horizontal .form-group > [class*="col-md-"] {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .form-horizontal .control-label {
        padding-top: 0;
        text-align: left;
    }

    .login-form .login-label {
        padding-top: .5rem;
        text-align: right;
    }

    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea {
        max-width: 100%;
    }

    .form-control,
    .form-select {
        min-height: 44px;
        max-width: 100%;
    }

    .btn {
        min-height: 44px;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .form-check-label {
        padding-top: .35rem;
        padding-bottom: .35rem;
    }

    .modal-dialog {
        margin: .5rem;
    }
}





/*
background-color: #666666;

-webkit-background-clip: text;

-moz-background-clip: text;

background-clip: text;

color: transparent;

text-shadow: rgba(255,255,255,0.5) 0px 3px 3px;*/

