img{
    width: 100%;
}
a{
    text-decoration: none;
    color: #505050;
}
a:hover{
    color: #505050;
    text-decoration: none;
}
body{
    font-family: "微軟正黑體",sans-serif;
    background-color: #F5F5F5;
    color: #505050;
    margin: 0;
    font-size: 16px;
}
h1,h2,h3,p,ul,li,a,form,table,label{
    margin: 0;
    padding: 0;
}
ul{
    list-style: none;
}
.w80{
    width: 80%;
}
.mh{
    min-height: 200px;
}
hr{
    margin: 25px 0;
}
.red{
    color: red;
}
.txtgreen{
    color: #008B20;
}
.txtyellow{
    color: #AB9713;
}


/* header */
.main-header{
    background-color: #4D92B8;
}
.nav-title{
    font-weight: 600;
    font-size: 25px;
    line-height: 22px;
}
.navbar-nav{
    align-items: center;
}
.navbar-nav .nav-title,.navbar-nav .nav-link{
    color: white !important;
    font-weight: 600;
    text-shadow: 0px 3px 6px #00000063;
}
.member-block{
    margin-right: 15px;
}
.member-block .member{
    padding: 0 15px;
    height: 30px;
    box-shadow:inset 0px 2px 3px rgba(0, 0, 0, 0.16);
    background-color: #2F759B;
    border-radius: 50px;
    display: flex;
    align-items: center;
    /* cursor: pointer; */
    /* border: 0.5px solid #ccc; */
    color: white;
}
@media screen and (max-width: 767px){
    .nav-title{
        font-size: 18px;
    }
    .member-block .member{
        display: none;
    }
}
/* 新增船隻選擇下拉選單 */
.shipselect{
    color: #4d92b8;
    margin-right: 15px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    padding-left: 15px;
}
.shipselect select{
    border: 0;
    height: 30px;
    font-weight: 900;
    color: #4d92b8;
}
.shipselect select:focus{
    border: 0;
}
@media screen and (max-width: 1000px){
    .nav-title{
        display: none;
    }
}




/* 左方選單 */
[class*=sidebar-dark-] {
    background-color: white;
}
/* logo部分 */
.navbarLogo{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #4D92B8;
    height: 125px;
	margin-left: -0.5rem;
}
[class*=sidebar-dark] .brand-link {
    border-bottom: 0;
}
.navbarLogo .logoimg{
    width: 100px;
    /* height: 95px; */
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16) !important;
}
.sidebar-collapse .navbarLogo .logoimg{
    width: 40px;
    height: auto;
    /* width: 92px;
    height: auto;
    position: absolute;
    clip: rect(0px,70px,50px,23px);
    left: -10px;
    top: 6px; */
}

.nav-sidebar .menu-is-opening>.nav-link i.right, .nav-sidebar .menu-open>.nav-link i.right {
    transform: none;
}
.nav-sidebar .menu-is-opening>.nav-link i.right, .nav-sidebar .menu-open>.nav-link i.right::before {
    content: "\f068";
}

/* 選單 */
.layout-navbar-fixed.layout-fixed .wrapper .sidebar {
    margin-top: calc(3.5rem + 70px);
}
.layout-fixed .wrapper .sidebar {
    height: calc(100vh - (3.5rem + 71px));
}

.layout-navbar-fixed.layout-fixed.sidebar-collapse .wrapper .sidebar {
    margin-top: calc(3.5rem + 1px);
}
.nav-sidebar li{
    border-bottom: 1px dashed #e1e1e1;
}
.nav-sidebar li ul li{
    border-bottom: 0;
}
.nav-sidebar .nav-item>.nav-link.main{
    color: #505050;
    font-weight: 900;
    padding: 13px 5px;
    margin: 5px 0;
    font-size: 16px;
}
.nav-sidebar .nav-item>.nav-link.main i {
    color: #4D92B8;
}
.nav-sidebar .nav-item>.nav-link.main p i{
    transform: translateY(6px);
}
.nav-sidebar .nav-link>.right, .nav-sidebar .nav-link>p>.right {
    right: 5px;
}

[class*=sidebar-dark-] .nav-sidebar>.nav-item.menu-open>.nav-link,
[class*=sidebar-dark-] .nav-sidebar>.nav-item:hover>.nav-link,
[class*=sidebar-dark-] .nav-sidebar>.nav-item>.nav-link:focus{
    color: #505050 !important;
}

/* 子選單 */
[class*=sidebar-dark-] .nav-sidebar>.nav-item>.nav-treeview{
    padding-left: 0px;
}
.nav-treeview .nav-item .nav-link .nav-icon{
    font-size: 14px;
    transform: scale(0.5);
    color: #4D92B8;
}
[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link {
    color: #505050 !important;
}
[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link:focus, [class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link:hover {
    background-color: #e7e7e7;
    transition: 0.3s;
}
.nav-link {
    padding: 0.5rem 10px;
}



/* 如不使用元件提供滑桿 */
.main-sidebar{
    overflow-y: auto !important;
}
.main-sidebar::-webkit-scrollbar {
    width: 6px;               
  }
.main-sidebar::-webkit-scrollbar-track {
/* background: #e45b5b;         */
}
.main-sidebar::-webkit-scrollbar-thumb {
background-color: #becee7;   
border-radius: 10px;       
border: 0px ;  
}





/* 右方主要內容區 */

.content-wrapper{
    padding: 10px !important;
    background-color: #F6F6F6;
}
.content-wrapper .main-content{
    height: calc(100vh - 118px);
    /* background-color: white; */
    border-radius: 5px;
    /* box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16); */
    padding: 15px;
    box-sizing: border-box;
    overflow: auto;
}
.main-content .main-title{
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}
.main-content .main-title .color-block{
    display: block;
    width: 10px;
    height: 35px;
    background-color: #4D92B8;
    margin-right: 5px;
}
.main-content .main-title .title-text{
    font-size: 30px;
    font-weight: 600;
}
/* 右方內容滑軌設計 */
.scrollbar::-webkit-scrollbar {
    width: 7px;               
  }
  
  .scrollbar::-webkit-scrollbar-track {
    background: #ebebeb;        
  }
  
  .scrollbar::-webkit-scrollbar-thumb {
    background-color: #becee7;   
    border-radius: 20px;       
    /* border: 3px solid orange;   */
  }

/* 白底 */
.whitebgblock{
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}
.whitebgblock.list{
    min-height: 449px;
}
@media screen and (max-width: 767px){
    .whitebgblock.list{
        margin-bottom: 25px;
    }
}



/* footer */
.main-footer{
    background-color: #26688D;
    padding: 5px;
    padding-right: 25px;
}
.main-footer .footer-text{
    color: white;
    font-size: 14px;
}
.d-none{
    display: block !important;
}



/* 全域按鈕設定 */
/* 按鈕樣式*/
.btn{
    padding: 2px 18px;
    font-weight: 600;
    box-shadow: 0px 3px 6px rgba(0,0,0,0.16);
}
.btn:focus{
    color: #fff;
}
.newbtn-blue{
    color: #fff;
    background-color: #149DCC;
    border: 2px solid #1380A5;
}
    .newbtn-blue:hover{
        color: #fff;
        background-color: #70A9C8;
    }
    .newbtn-blue:focus, .newbtn-blue.focus {
        background-color: #316C8D;
        box-shadow: 0 0 0 0.2rem #4b98cf80;
    }
    .newbtn-blue.disabled, .newbtn-blue:disabled {
        color: #fff;
        background-color: #707070;
        border-color:#505050;
    }

.newbtn-qua{
    color: #fff;
    background-color: #13B7A6;
    border: 2px solid #4E8781;
}
    .newbtn-qua:hover{
        color: #fff;
        background-color: #8AC2BC;
    }
    .newbtn-qua:focus, .newbtn-qua.focus {
        background-color: #46978F;
        box-shadow: 0 0 0 0.2rem #13B7A6;
    }
    .newbtn-qua.disabled, .newbtn-qua:disabled {
        color: #fff;
        background-color: #707070;
        border-color:#505050;
    }

.newbtn-red{
    color: #fff;
    background-color: #E13D48;
    border: 2px solid #AE0C16;
}
    .newbtn-red:hover{
        color: #fff;
        background-color: #E2525C;
    }
    .newbtn-red:focus, .newbtn-red.focus {
        background-color: #BB1C26;
        box-shadow: 0 0 0 0.2rem #fe6d6085;
    }
    .newbtn-red.disabled, .newbtn-red:disabled {
        color: #fff;
        background-color: #707070;
        border-color:#505050;
    }

.newbtn-yellow{
    color: #fff;
    background-color: #F8A603;
    border: 2px solid #E29908;
}
    .newbtn-yellow:hover{
        color: #fff;
        background-color: #FFBC37;
    }
    .newbtn-yellow:focus, .newbtn-yellow.focus {
        background-color: #D68F02;
        box-shadow: 0 0 0 0.2rem #ffb7527e;
    }
    .newbtn-yellow.disabled, .newbtn-yellow:disabled {
        color: #fff;
        background-color: #707070;
        border-color:#505050;
    }

.newbtn-gray{
    color: #484848;
    background-color: #ffffff;
    border: 2px solid #c1c1c1;
}
    .newbtn-gray:hover{
        color: #484848;
        background-color: #ffffff;
        opacity: 0.8;
    }
    .newbtn-gray:focus, .newbtn-gray.focus {
        color: #484848;
        box-shadow: 0 0 0 0.2rem #e4e7ea7e;
    }
    .newbtn-gray.disabled, .newbtn-gray:disabled {
        color: #fff;
        background-color: #707070;
        border-color:#505050;
    }


/* Font Awesome  */
.btn i{
    color: white;
    margin-right: 5px;
}

/* 迷你按鈕 */
.btn.minibtn{
    width: 30px;
    height: 30px;
    padding: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.btn.minibtn i{
    margin: 0;
}
.minibtn.newbtn-gray i{
    color: #505050;
}

.pagebtn{
    display: flex;
    justify-content: center;
    margin: auto;
    margin-top: 40px;
    margin-bottom: 40px;
}
.btn.bg{
    font-size: 20px;
    padding: 12px 22px;
    border: 0;
    margin: 0 10px ;
}

/* +-小按鈕 */
.addicon,.delicon{
    color: #149DCC;
    cursor: pointer;
    font-size: 30px;
}
.delicon{
    color: #CC4014;
}
/* 中型按鈕 */
.btn.lg{
    font-size: 18px;
    padding: 5px 20px;
}
.btn.bg{
    font-size: 20px;
    padding: 12px 22px;
    border: 0;
    margin: 0 10px ;
}
.btn.bg.newbtn-gray{
    border:1px solid #b3b3b3;
}

/* 啟用/停用切換鈕 */
.changbtn{
    width: 70px;
    display: flex;
    justify-content: space-around;
    padding: 5px 5px;
    align-items: center;
    border-radius: 50px;
    margin: auto;
    color: white;
    font-weight: 600;
    text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    cursor: pointer;
}
.changbtn.on{ background-color: #27B799;}
.changbtn.off{ background-color: #B8B8B8;}

/* 分頁按鈕 */
.pagebtnblock{
    display: inline-flex;
    margin-top:30px;
    margin-bottom: 10px;
}
.pagebtns{
    padding: 5px 17px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    border: 0.5px solid #848484;
    color: #848484;
    transition: .3s;
}
.pagebtns.pageinput{
    border-radius: 0px !important;
    padding-left: 10px;
}
.pagebtns.pageinput input{
    width: 60px;
    text-align: center;
    height: 30px;
}
.pagebtns.pageinput:hover{
    padding-left: 10px;
    background-color: transparent;
    color: #848484;
}
.pagebtns.pageinput span{
    margin: 0 8px;
}
.pagebtns:hover{
    color: white;
    background-color: #4D92B8;
}
.pagebtns.none{
    background-color: rgb(235, 235, 235);
    color: #bababa;
    cursor: default;
}
.pagebtns:nth-of-type(1){
    border-radius: 5px 0px 0px 5px;
}
.pagebtns:nth-of-type(2),.pagebtns:nth-of-type(3){
    border-right:0 ;
    border-left:0 ;
}
.pagebtns:nth-of-type(4){
    border-radius: 0px 5px 5px 0px;
}
@media screen and (max-width: 490px){
    a.pagebtns:nth-of-type(1),a.pagebtns:nth-of-type(4){
        display: none;
    }
    .pagebtns.pageinput input{
        width: 60px;
    }
    a.pagebtns:nth-of-type(2){
        border-left: 0.5px solid #4784A5;
    }
    a.pagebtns:nth-of-type(3){
        border-right: 0.5px solid #4784A5;
    }
}

.space{
    margin-right: 5px;
}
.behindSearch{
    display: flex;
    align-items: baseline;
}
.resultBlock{
    display: flex;
    align-items: baseline;
    flex-grow:1;
}
.resultBlock > div{
    margin-right: 15px;
}
/* 搜尋框 */
.search-block{
    /* height: 135px; */
    background-color: white;
    border-radius: 10px;
    padding: 10px 15px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    margin-bottom: 5px;
}
.search-block .search-block-line{
    display: flex;
    /* margin: 5px 0; */
    align-items: center;
    /* justify-content: space-between; */
    flex-wrap: wrap;
}
.search-block .search-block-line .block-line{
    display: flex;
    align-items: center;
    padding: 0;
    padding-right: 10px;
    margin-bottom: 10px;
    margin-top: 10px;
}
.btnw{
    margin-left: 10px;
}
.search-block  input{
    width: 100%;
}
.search-block .search-block-line .text{
    font-weight: 600;
    white-space: nowrap;
}
.search-bottom-line{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.search-block-line.btn-line{
    justify-content: space-between;
}
.search-text{
    width: 500px;
}
/* 搜尋按鈕 */
.col-searchbtn{
    justify-content: flex-end;
}
.btn.searchbtn{
    width: 50px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn.searchbtn i{
    color: #484848;
    margin-right: 0;
    font-size: 18px;
}
@media screen and (max-width: 767px){
    .search-block{
        padding: 5px 10px;
    }
    .col-searchbtn{
        margin-top: 20px;
    }
    .col-searchbtn .searchbtn{
        width: 100%;
    }
    .search-text{
        width: 100%;
    }
    .block-line.btnw,.block-line.btnw .searchbtn{
        width: 100%;
    }
}
.search-result{
    margin-top: 3px;
}
.search-result span{
    display: inline-block;
    margin: 0 5px;
    color: red;
}



/* 列表表格 */

/* 表單新增鈕 */
.addbtn-block{
    margin: 60px 0 5px 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.addbtn-block.plural{
    justify-content: space-between;
}



/* 基本table */
.WebTable{
    width: 100%;
}
.WebTable thead{
    text-align: center;
    height: 45px;
    /* line-height: 45px; */
    font-weight: 600;
    /* border-radius: 5px; */
    background-color: #848484;
    color: white;
}
.WebTable thead tr th:first-child,
.WebTable tbody tr td:first-child{
    border-top-left-radius:5px ;
    border-bottom-left-radius:5px ;
}
.WebTable thead tr th:last-child,
.WebTable tbody tr td:last-child{
    border-top-right-radius:5px ;
    border-bottom-right-radius:5px ;
}
.WebTable tbody{
    text-align: center;
}
.WebTable tbody tr{
    height: 55px;
    /* border-bottom: 1px solid #ccc; */
}
.WebTable thead th a{
    color: white;
}
.WebTable thead th a:hover{
    color: white;
}
.WebTable thead .ctrl{
    cursor: pointer;
}
.WebTable thead th.ctrl i{
    margin-left: 5px;
    color: white;
}
.WebTable tbody tr:nth-child(even){
    background-color: #F3F3F3;
}

@media screen and (max-width: 1599px){
    .minwidth {
        width: 100%; 
        overflow: auto;
    }
    .WebTable{
        width: 1600px;
    }
}

/* 雙層thead+框線 */
.WebTable.addborder thead tr th{
    border-radius: 0 !important;
    border: 0.5px solid;
}
.WebTable.addborder tbody td{
    border: 1px solid #DFDFDF;
}





/* 內容過長隱藏 */
.tablemain{
    overflow:hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    white-space: normal;
    word-break: break-all;
    padding: 0 10px;
}
.tablemain.unline{
    text-decoration: underline;
    cursor: pointer;
}


/* 全域input設定 */

input{
    padding: 0.375rem 0.75rem;
}
select{
    padding: 0.375rem 1.75rem 0.375rem 0.75rem;
}
input,select{
    height: calc(1.5em + 0.75rem + 2px);;
}
input[type="button"]{
    height: auto;
}
input[type="submit"]{
    height: auto;
    margin-right: 0;
}
input[type="radio"],input[type="checkbox"]{
    width: 18px;
    height: 18px;
}
input[type="file"]{
    border: 0;
}
input{
    padding-left: 10px;
}
textarea{
    padding: 10px;
}
input[type=text]:disabled ,input[type=email]:disabled,input[type=date]:disabled{
    background: rgb(245, 245, 245);
}
input,select,textarea{
    border-radius: 5px;
    border: 1px solid #cbcbcb;
    outline: 0;
    margin-right: 5px;
}
input:focus,textarea:focus,select:focus {
    border: 2px solid #0073e661;
    outline: 0;
    /* -webkit-box-shadow: 0 0 0 0.2rem rgba(237, 85, 85, 10%);
    box-shadow: 0 0 0 0.2rem rgba(237, 85, 85, 10%); */
}
select {
    background: url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat;
    background-position: calc(100% - 0.75rem) center !important;
    -moz-appearance:none !important;
    -webkit-appearance: none !important; 
    appearance: none !important;
    /* padding-right: 2.5rem !important; */
    padding-right: 30px !important;
    background-color: white;
}
label{
    display: inline-flex;
    align-items: center;
}

/* bootstrap-select 多選下拉套件修改 */
.bootstrap-select .btn-default{
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    background-color: transparent;
    color: #505050 !important;
}


/* ================資料頁面======================= */
.groupt-title{
    font-size: 18px;
    font-weight: 900;
    margin-top: 20px;
}

/* 通用表格 */
.group-block{
    width: 100%;
    border: 1px solid;
}
.main-content .group-block .group-grid{
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid;
}
.main-content .group-block .group-grid:last-child{
    border-bottom: 0;
}
.main-content .group-grid .grid{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.main-content .group-grid .grid.two{
    width: 50%;
}
.main-content .group-grid .grid.two:nth-of-type(1){
    border-right: 1px solid;
}

.main-content .group-grid .grid .grid-title{
    width: 300px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.main-content .group-grid .grid .grid-cont{
    width: calc(100% - 300px);
    padding:20px;
    display: flex;
    align-items: center;
    min-height: 72px;
    flex-wrap: wrap;
}
.main-content .group-grid .grid .grid-cont.flexstar{
    align-items: flex-start;
}


/* 藍色表格 */
.main-content .group-block.blue {
    border-color: #1A73B2;
}
.main-content .group-block.blue .group-grid{
    border-bottom-color: #1A73B2;
}
.main-content .group-block.blue .group-grid .grid.two:nth-of-type(1){
    border-right-color:#1A73B2 ;
}
.main-content .group-block.blue .group-grid .grid .grid-title{
    background-color: #EFF8FF;
    border-right: 1px solid #1A73B2;
}

/* 黃色表格 */
.main-content .group-block.yellow {
    border-color: #CFA312;
}
.main-content .group-block.yellow .group-grid{
    border-bottom-color: #CFA312;
}
.main-content .group-block.yellow .group-grid .grid.two:nth-of-type(1){
    border-right-color:#CFA312 ;
}
.main-content .group-block.yellow .group-grid .grid .grid-title{
    background-color: #FFFCEF;
    border-right: 1px solid #CFA312;
}

/* 綠色表格 */
.main-content .group-block.green {
    border-color: #9BB367;
}
.main-content .group-block.green .group-grid{
    border-bottom-color: #9BB367;
}
.main-content .group-block.green .group-grid .grid.two:nth-of-type(1){
    border-right-color:#9BB367 ;
}
.main-content .group-block.green .group-grid .grid .grid-title{
    background-color: #F4F9F7;
    border-right: 1px solid #9BB367;
}

/* 紅色表格 */
.main-content .group-block.red {
    border-color: #FF4646;
}
.main-content .group-block.red .group-grid{
    border-bottom-color: #FF4646;
}
.main-content .group-block.red .group-grid .grid.two:nth-of-type(1){
    border-right-color:#FF4646 ;
}
.main-content .group-block.red .group-grid .grid .grid-title{
    background-color: #FFEFEF;
    border-right: 1px solid #FF4646;
}
.main-content .group-block.red {
    color:#505050 ;
}

/* 灰色表格 */
.main-content .group-block.gray {
    border-color: #B2B2B2;
}
.main-content .group-block.gray .group-grid{
    border-bottom-color: #B2B2B2;
}
.main-content .group-block.gray .group-grid .grid.two:nth-of-type(1){
    border-right-color:#B2B2B2 ;
}
.main-content .group-block.gray .group-grid .grid .grid-title{
    background-color: #F8F8F8;
    border-right: 1px solid #B2B2B2;
}


@media screen and (max-width: 1299px){
    .main-content .group-grid .grid.two{
        width: 100%;
    }
    .main-content .group-block .group-grid .grid.two:nth-of-type(1) {
        border-right: 0;
    }
    .main-content .group-block.blue .group-grid .grid.two:nth-of-type(1){border-bottom: 1px solid #1A73B2;}
    .main-content .group-block.green .group-grid .grid.two:nth-of-type(1){border-bottom: 1px solid #9BB367;}
    .main-content .group-block.yellow .group-grid .grid.two:nth-of-type(1){border-bottom: 1px solid #CFA312;}
    .main-content .group-block.red .group-grid .grid.two:nth-of-type(1){border-bottom: 1px solid #FF4646;}
    .main-content .group-block.gray .group-grid .grid.two:nth-of-type(1){border-bottom: 1px solid #B2B2B2;}

}



@media screen and (max-width: 767px){
    .main-content .group-block .group-grid .grid.two:nth-of-type(1) {
        border-bottom: 0 !important;
    }
    .main-content .group-grid .grid.two,
    .main-content .group-grid .grid .grid-title,
    .main-content .group-grid .grid .grid-cont{
        width: 100%;
    }
    .main-content .group-block .group-grid .grid .grid-title{
        padding: 15px 0;
        border-right: 0;
    }
    .main-content .group-block .group-grid .grid.two:nth-of-type(1){
        border-right: 0;
    }
    .main-content .group-grid .grid .grid-cont{
       justify-content: center;
    }
    .main-content .group-block.blue .group-grid .grid .grid-title,
    .main-content .group-block.green .group-grid .grid .grid-title,
    .main-content .group-block.gray .group-grid .grid .grid-title,
    .main-content .group-block.yellow .group-grid .grid .grid-title,
    .main-content .group-block.red .group-grid .grid .grid-title{
        border-right: 0;
    }
    .main-content .group-block.blue .group-grid .grid .grid-title{border-bottom: 1px solid #1A73B2;}
    .main-content .group-block.green .group-grid .grid .grid-title{border-bottom: 1px solid #9BB367;}
    .main-content .group-block.yellow .group-grid .grid .grid-title{border-bottom: 1px solid #CFA312;}
    .main-content .group-block.red .group-grid .grid .grid-title{border-bottom: 1px solid #FF4646;}
    .main-content .group-block.gray .group-grid .grid .grid-title{border-bottom: 1px solid #B2B2B2;}

    .main-content .group-block.blue .group-grid .grid.two:last-child .grid-title{border-top: 1px solid #1A73B2;}
    .main-content .group-block.green .group-grid .grid.two:last-child .grid-title{border-top: 1px solid #9BB367;}
    .main-content .group-block.yellow .group-grid .grid.two:last-child .grid-title{border-top: 1px solid #CFA312;}
    .main-content .group-block.red .group-grid .grid.two:last-child .grid-title{border-top: 1px solid #FF4646;}
    .main-content .group-block.gray .group-grid .grid.two:last-child .grid-title{border-top: 1px solid #B2B2B2;}

}

/* 上下層樣式 */
.main-content .group-block.phonestyle .group-grid .grid .grid-title{
    width: 100%;
    border-bottom: 1px solid ;
    border-right: 0;
    padding: 15px;
    justify-content: center;
} 
.main-content .group-block.phonestyle.blue .group-grid .grid .grid-title{border-bottom-color: #1A73B2;}
.main-content .group-block.phonestyle.green .group-grid .grid .grid-title{border-bottom-color: #9BB367;}
.main-content .group-block.phonestyle.yellow .group-grid .grid .grid-title{border-bottom-color: #CFA312;}
.main-content .group-block.phonestyle.red .group-grid .grid .grid-title{border-bottom-color: #FF4646;}
.main-content .group-block.phonestyle.gray .group-grid .grid .grid-title{border-bottom-color: #B2B2B2;}

.main-content .group-block.phonestyle .group-grid .grid .grid-cont{
    width: 100%;
} 


/* 標題使用圖片 */
.grid-title .pic{
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}






/* 通用檔案上傳table */
table.dataupdate thead {
    background-color: #F1F1F1;
    color: #505050;
}
table.blue thead {
    background-color: #1A73B2;
    color: white;
}
table.dataupdate tbody tr td a{
    text-decoration: underline;
}
table.dataupdate tbody tr td a i{
    margin-right: 5px;
}
@media screen and (max-width: 1199px){

    table.dataupdate thead{
        height: 0;
    }
    table.rwd-table td input{
        width: calc( 100% - 85px) !important;
    }
    table.rwd-table td .delicon{
        transform: translateY(5px);
    }
}


/* 摺疊隱藏按鈕 */
.pagelogbtn{
    text-align: center;
    margin: 50px 0;
    position: relative;
    cursor: pointer;
}
.pagelogbtn span::before,
.pagelogbtn span::after{
    content: "";
    position: absolute;
    top: 50%;
    background: #C8C8C8;
    width: calc(50% - 100px);
    height: 1px;
}
.pagelogbtn span::before{
    left: 0;
}
.pagelogbtn span::after{
    right: 0;
}

.charterlogbtn{
    text-align: center;
    margin: 50px 0;
    position: relative;
    cursor: pointer;
}
.charterlogbtn span::before,
.charterlogbtn span::after{
    content: "";
    position: absolute;
    top: 50%;
    background: #C8C8C8;
    width: calc(50% - 100px);
    height: 1px;
}
.charterlogbtn span::before{
    left: 0;
}
.charterlogbtn span::after{
    right: 0;
}

.categorylogbtn{
    text-align: center;
    margin: 50px 0;
    position: relative;
    cursor: pointer;
}
.categorylogbtn span::before,
.categorylogbtn span::after{
    content: "";
    position: absolute;
    top: 50%;
    background: #C8C8C8;
    width: calc(50% - 100px);
    height: 1px;
}
.categorylogbtn span::before{
    left: 0;
}
.categorylogbtn span::after{
    right: 0;
}

.showleft, .showright {
	height: 50px;
	line-height: 50px;
}

.showleft{
	float:left;
}

.showright{
	float:right;
}

.modal-readonly {
	background: #D0D0D0;
}

.error{
    text-align: center;
    color: #FF4E00;
    margin-top: 20px;
}

.errorMsg {
    text-align: center;
    color: #FF4E00;
    margin-bottom: 20px;
    font-size: 20px;
} 
.errorMsg img{
    width: 45%;
}

.marginLeft27 {
	margin-left: 27px;
}

.marginLeft50 {
	margin-left: 50px;
}

.marginLeft57 {
	margin-left: 57px;
}

.marginLeft106 {
	margin-left: 106px;
}

.marginLeft166 {
	margin-left: 166px;
}

.navlisticon{
    display: inline-block;
    width: 26px;
}

.isHidden {
	display: none;
}

.maxWidth1400 {
	max-width: 1400px;
}
.maxWidth1750 {
	max-width: 1750px;
}
.maxWidth1500 {
	max-width: 1500px;
}
.maxWidth1600 {
	max-width: 1600px;
}

.repJsGrid th {
    text-align: center;
    border-collapse: collapse;
    border-right: 1px solid #DDDDDD;
}
.repJsGrid .bb1 {
    border-bottom: 1px solid #DDDDDD;
}
.repJsGrid .w4 {
    width: 4%;
}
.repJsGrid .w6 {
    width: 6%;
}
.repJsGrid .w8 {
    width: 8%;
}
.repJsGrid .w10 {
    width: 10%;
}
.repJsGrid .w12 {
    width: 12%;
}
.repJsGrid .w14 {
    width: 14%;
}
.repJsGrid .w16 {
    width: 16%;
}
.repJsGrid .w18 {
    width: 18%;
}
.repJsGrid .w35 {
    width: 35%;
}

#seempCSTCETable .grid-cont {
	justify-content: center;
}

.uploadFileShowError {
	color: #FF4E00;
    display: none;
}