﻿/*loading*/
#loading {
    position: fixed;
    background-color: rgba(255, 255, 255, 1);
    /* background-image: url('../../assets/img/Blocks.gif'); */
    background-repeat: no-repeat;
    background-position: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1031;
}

    #loading .lds-css.ng-scope {
        position: absolute;
        left: 50%;
        top: 50%;
        margin-left: -100px;
        margin-top: -100px;
    }




#logo {
    float: left;
    margin: 3px 5px 0 20px;
    width: 67px;
}

    #logo img {
        width: 100%;
        height: auto;
    }

.navbar-brand, h3.box-title {
    font-family: "微軟正黑體" !important;
}

#navbar-custom-menu {
    display: block;
}

/**/
#navbar-search {
    position: relative;
}

.input-icon {
    fill: #737373;
    -ms-flex-align: center;
    align-items: center;
    background: none;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    height: 16px;
    width: 16px;
    position: absolute;
    right: 8px;
    top: 10px;
}

@media (max-width: 768px) {
    #navbar-custom-menu {
        display: none;
    }

    .navbar-custom-menu ul.navbar-nav li {
        float: left;
    }

    .navbar-custom-menu ul.navbar-nav form {
        float: left;
        width: 200px;
        margin-top: 0;
        margin-bottom: 0;
        margin-left: 0;
    }
}


.modal-bg {
    z-index: 1031;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    position: fixed;
    background-color: #000;
    opacity: 0.6;
    transition: all .3s;
}

.modal-box {
    z-index: 1033;
    left: 20%;
    right: 20%;
    top: 50px;
    position: fixed;
    padding: 5px;
    background-color: #fff;
    border-radius: 5px;
    min-height: 500px;
    transition: all .3s;
}

.table > tbody > tr > th {
    text-align:center!important;
}
.table > tbody > tr > td {
    vertical-align:middle;
}

.gv_pager {
    font-size:14px;
}

.gv_pager > td > table > tbody > tr > td {
    padding: 3px;
}

.gv_pager > td > table > tbody > tr > td > span {
    padding:5px 8px;
}


    .gv_pager > td > table > tbody > tr > td > a:link {
        padding: 3px 8px;
        border: solid 1px #ccc;
        display:block;
    }

    .gv_pager > td > table > tbody > tr > td > a:hover {
        background-color:#999;
        color:#fff;
    }

.wrapper {
    height: initial !important;
}

.pull-right {
    margin: 10px 0;
}







/*==========Background===========*/
.bg{
    position:fixed;
    width:100%;
    height:100vh;
    background:#f5f1e9 url('../../assets/img/bg.jpg') bottom right no-repeat;
    z-index:0;
}


/*==========TopHead===========*/
.tophead{padding:8px 32px;margin: 0 auto;position: relative;}
.tophead img{width:320px;max-width:100%;}
.tophead .text-right{font-size:16px;font-weight:600;margin-bottom:-40px;z-index:8;}
.tophead a{color:#111;}
.tophead a:hover{color:#3c8dbc;}
.tophead .welcome{color:#d7000f;}
.tophead .dropdown-menu{left:initial;right:16px;}
.tophead .dropdown-menu li a{padding:8px 16px;font-size:16px;font-weight:600;}


/*==========newsbox===========*/
.newsbox .table th, .newsbox .table td{
    padding:8px;

}
.newsbox{
    width:90%;
    max-width: 1220px;   
    background: rgb(245,245,245);
    background: linear-gradient(0deg, rgba(245,245,245,1) 0%, rgba(255,255,255,1) 100%);
    border-radius:8px;
    margin:8px auto;
    min-height:180px;
    box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.08);
    border:0;
    padding-bottom:21px;
    position: relative;
    padding:8px 24px;
}
.newsbox h3{font-weight:600;margin-top:16px;}
.newsbox h3 span{color:#d7000f}


.newsbox table tr td:first-child{background:#eee;text-align:center;width:190px}
.newsbox table tr td:first-child + td{width:68px;text-align:right;}
.newsbox table td{
    vertical-align:top !important;
    border-color:#ddd !important;

}








/*==========Cards===========*/
.card h1{
    color:#fff;
    display:inline-block;
    text-align: center;
    padding:4px;
    border-radius:6px;
    line-height:36px;
    margin-top:8px;
    margin-right:16px;
    margin-bottom:-8px;
}

.card h1 a{color:#fff;}
.card h4{padding-left:24px;font-weight:600;font-size:21px;margin-top:16px;}
.card h5{margin-left:-20px;color:#999;font-weight: bold;letter-spacing:2px;margin-bottom:4px;margin-top:16px;}

.card{
    width:90%;
    max-width: 1220px;   
    background: rgb(245,245,245);
    background: linear-gradient(0deg, rgba(245,245,245,1) 0%, rgba(255,255,255,1) 100%);
    border-radius:8px;
    margin:12px auto;
    min-height:180px;
    box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.08);
    border-top:solid 6px;
    border-left:0;
    border-right:0;
    border-bottom:0;
    padding-bottom:21px;
}


.card-1{border-color:#fcaa00;}
.card-1 h1{background:#fcaa00;}
.card-1 h4{color:#fcaa00;}
.card-2{border-color:#ff734b;}
.card-2 h1{background:#ff734b;}
.card-2 h4{color:#ff734b;}
.card-3{border-color:#917d6e;}
.card-3 h1{background:#917d6e;}
.card-3 h4{color:#917d6e;}
.card-4{border-color:#64b446;}
.card-4 h1{background:#64b446;}
.card-4 h4{color:#64b446;}
.card-5{border-color:#5ab4c8;}
.card-5 h1{background:#5ab4c8;}
.card-5 h4{color:#5ab4c8;}
.card-6{border-color:#3c78aa;}
.card-6 h1{background:#3c78aa;}
.card-6 h4{color:#3c78aa;}
.card-7{border-color:#7d8ca5;}
.card-7 h1{background:#7d8ca5;}
.card-7 h4{color:#7d8ca5;}
.card-8{border-color:#966eaa;}
.card-8 h1{background:#966eaa;}
.card-8 h4{color:#966eaa;}
.card-9{border-color:#f06eaa;}
.card-9 h1{background:#f06eaa;}
.card-9 h4{color:#f06eaa;}



/*==========Linls===========*/

.links{padding-left:46px;font-size:16px;padding-right:12px;}
.links ul{margin:0;margin-top:12px;}
.links ul li{padding:1px 0;}




/*==========Linls===========*/
.copyright{
    bottom:8px;
    width:100%;
    margin:24px 0;
    padding:0 24px;
    text-align: right;
    line-height:15px;
    position: relative;
} 

.copyright img{
    width:80px;
    margin-top:-10px;
    float:right;
}

.copyright p{
    display: block;
    margin-top:10px;
    margin-bottom:2px;
}

.copyright span{
    display: inline-block;
    color:#8e7859;
}

@media (max-height:930px) {
    .copyright{
        position:relative;
    }
}

@media (max-width:768px) {
    .copyright{text-align:center;}
    .copyright img{float:inherit;}
    .tophead .text-right{margin-bottom:0;}
    .tophead .col-sm-12{
        text-align: center;
    }
    .newsbox table tr td:first-child{width:110px !important;}
}


/*==========一依數量自動堆疊===========*/
.listbox{
    min-height:180px;
    margin-left:12px;
    margin-right:12px;
}

.listbox ul{
    list-style:none;
}

.listbox ul ol h5{    
    color:#999;
    font-weight:600;
    padding-left:24px;
    font-size:15px;
    line-height: 19px;
}
.listbox ul ol{
    padding-left: 0;
}

.listbox ul li{
    float:left;
    padding-left: 0;
    padding-top: 4px;
}

.listbox ul li a{
    padding-left:16px;
    background:url("../img/pot.png") no-repeat;
    display:inline-block;
    font-size: 15px;
    border-radius: 10px;
}

.col-20{width:20%;}

@media screen and (max-width:1200px) {
	.col-20{width:25%;}
}

@media screen and (max-width:992px) {
	.col-20{width:33.3%;}
}

@media screen and (max-width:768px) {
	.col-20{width:49.9%;}
}

@media screen and (max-width:576px) {
	.col-20{width:99.9%;}
}




/*==========一快捷圖示===========*/
.q1{background:#fcaa00;}
.q2{background:#ff734b;}
.q3{background:#917d6e;}
.q4{background:#64b446;}
.q5{background:#5ab4c8;}
.q6{background:#3c78aa;}
.q7{background:#7d8ca5;}
.q8{background:#966eaa;}
.q9{background:#f06eaa;}
.q10{background:#b0750e;}
.q11{background:#940723;}
.q12{background:#066322;}
.q13{background:#0c308a;}


.quick ul{
    list-style:none;
    padding-left:0;
    width:99%;
    margin:0 auto;
}
.quick ul li{list-style:none;padding-left:0;padding-right: 0;margin: 0 0px 12px 0;}/*margin-bottom:12px;*/

.quick a:hover{
    opacity: 0.86;
}

.quick a{
    text-align:center;
    border-radius:8px;
    display:block;
    min-height:110px;
    padding:8px;
    width: 90%;
    height: 88%;
}


.quick a i{
    font-size:46px;
    line-height:56px;
    display:inline-block;
    color:#fff;
    margin-bottom: 5px;
}

.quick a span{
    font-size:13px;
    min-height:24px;
    line-height:15px ;
    color:#fff;
    height:70px;
    overflow:hidden;
    display:flex;
    margin-top:-26px;
    justify-content: center;
    align-items: center;
}




