body {
    background: #F2F4F4;
    color: #47515d;
    min-width: 400px;
}

/*a{color:#ff6c02}a:focus,a:hover{color:#3e3e3e}*/
.text-warning, .text-warning a {
    color: #ff6c02 !important;
}

.page-inner {
    padding: 1rem 1.5rem;
}

.form {
    margin-right: -5px;
    margin-left: -5px;
}

.indexbox .card-warning {
    background: rgba(255, 170, 90, .9) !important;
}

/*登入頁*/
.login-bg {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#a3edd7+0,55baaa+100 */
    background: #faf2c8;
    /* Old browsers */
    background: -moz-radial-gradient(center, ellipse cover, #faf2c8 0%, #ffdd70 100%);
    /* FF3.6-15 */
    background: -webkit-radial-gradient(center, ellipse cover, #faf2c8 0%,#ffdd70 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: radial-gradient(ellipse at center, #faf2c8 0%,#ffdd70 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a3edd7', endColorstr='#55baaa',GradientType=1 );
    /* IE6-9 fallback on horizontal gradient */
}

.logleft {
    width: 100%;
}

.logright {
    background-color: #005b6d;
    width: 00px;
}

.login-bg .container {
    width: 400px;
    text-align: center;
    margin-top: 20px;
    margin-left: -8px;
    color: #3d3d3d;
}

.btn-line {
    border: 2px solid rgba(255, 255, 255, .8);
    background-color: transparent;
    color: #fff;
}

    .btn-line:hover {
        background: #ff6903;
        color: #fff;
    }

.login-bg .btn-line {
    font-size: 1.4rem;
    padding: .6rem 1.2rem;
}

.login-widget {
    background-color: #ffec80;
    box-shadow: 1px 1px 5px 1px rgba(10, 10, 10, .2);
    width: 400px;
    margin-left: auto;
    margin-right: auto;
}

    .login-widget h3 {
        font-size: 1.8em;
        font-weight: bold;
        margin-top: .5em;
        margin-bottom: .8em;
        padding-bottom: .4em;
        border-bottom: 2px dashed #25282A;
        color: #25282A;
    }

    .login-widget p {
        margin: .4em 0;
    }

    .login-widget .form-control {
        height: auto;
        padding: 6px 20px;
        font-size: 16px;
        background-color: rgba(255, 255, 255, .8);
        min-width: 280px;
        border: 0;
    }

    .login-widget .btn-warning {
        background: #ffd700 !important;
        border-color: #ffd700 !important;
    }

    .login-widget .btn {
        padding: 8px 30px !important;
        font-size: 18px;
        color: #fff;
    }

    .login-widget a {
        color: #3d3d3d;
    }

    .login-widget .form-check-label {
        color: #3d3d3d !important;
    }

.login-form {
    padding: 10px 30px;
}

    .login-form .spansy1 {
        margin-top: 10px;
        margin-left: 5px;
        text-indent: 45px;
    }

    .login-form .input-group {
        margin-bottom: 12px;
    }

    .login-form .input-group-prepend span {
        padding: 10px;
        margin-right: 10px;
        font-size: 1.3em;
    }

.main-header {
    box-shadow: 0 0 5px rgba(18, 23, 39, .2);
}

    .main-header .navbar-header {
        background: #fff;
        color: #727E8C;
        border-bottom: 1px solid #dfe2e5;
        height: 62px;
    }

.info p {
    margin: 0;
    line-height: normal;
    color: #8598ad;
}

.logo-header {
    background: #353e45;
    padding-left: 10px;
}

.btn-toggle {
    color: #fff !important;
}

/*左選單*/
.sidebar, .sidebar[data-background-color=white] {
    background: #2c353c;
}

.sidebar_minimize .sidebar .sidebar-wrapper .user .btn span {
    display: none;
    transition: all .3s;
}

.sidebar .nav > .nav-item a p, .sidebar[data-background-color=white] .nav > .nav-item a p {
    color: #fff;
}

.sidebar .nav > .nav-item a[data-toggle=collapse][aria-expanded=true] p, .sidebar[data-background-color=white] .nav > .nav-item a[data-toggle=collapse][aria-expanded=true] p {
    color: #fff;
}

.sidebar .nav > .nav-item a i, .sidebar[data-background-color=white] .nav > .nav-item a i {
    color: #f8fdd2;
}

.sidebar .nav > .nav-item a .caret, .sidebar[data-background-color=white] .nav > .nav-item a .caret {
    color: #fff;
}

.sidebar .nav-collapse li a .sub-item:before, .sidebar[data-background-color=white] .nav-collapse li a .sub-item:before {
    background: #fff;
}

.sidebar .nav > .nav-item.active a i, .sidebar[data-background-color=white] .nav > .nav-item.active a i, .sidebar .nav > .nav-item a[data-toggle=collapse][aria-expanded=true] i, .sidebar[data-background-color=white] .nav > .nav-item a[data-toggle=collapse][aria-expanded=true] i {
    color: #f8fdd2;
}

.sidebar .nav > .nav-item.active > a:before, .sidebar[data-background-color=white] .nav > .nav-item.active > a:before, .sidebar .nav > .nav-item a[data-toggle=collapse][aria-expanded=true]:before, .sidebar[data-background-color=white] .nav > .nav-item a[data-toggle=collapse][aria-expanded=true]:before, .sidebar .nav > .nav-item.active:hover > a:before, .sidebar[data-background-color=white] .nav > .nav-item.active:hover > a:before {
    background: #fff;
}

.sidebar .nav > .nav-item.active > a p, .sidebar[data-background-color=white] .nav > .nav-item.active > a p {
    color: #fff !important;
}

.sidebar .nav > .nav-item.active, .sidebar[data-background-color=white] .nav > .nav-item.active {
    background: rgba(255,255,255,.1);
}

.sidebar .nav > .nav-item a[data-toggle=collapse][aria-expanded=true], .sidebar[data-background-color=white] .nav > .nav-item a[data-toggle=collapse][aria-expanded=true] {
    background: rgba(255,255,255,.1);
}

.sidebar .nav > .nav-item.submenu, .sidebar[data-background-color=white] .nav > .nav-item.submenu {
    background: rgba(255,255,255,.1);
}

.sidebar .nav-collapse li.active > a, .sidebar[data-background-color=white] .nav-collapse li.active > a {
    color: #fff;
    background: #01aa86;
}

.sidebar .nav > .nav-item a, .sidebar[data-background-color=white] .nav > .nav-item a {
    font-size: 15px;
    padding: 10px 25px;
    color: #fff;
}

.sidebar .nav-collapse, .sidebar[data-background-color=white] .nav-collapse {
    margin-bottom: 5px;
    padding-bottom: 5px;
    padding-top: 5px;
}

    .sidebar .nav-collapse li a, .sidebar[data-background-color=white] .nav-collapse li a {
        padding: 7px 20px !important;
    }

    .sidebar .nav-collapse .nav-collapse, .sidebar[data-background-color=white] .nav-collapse .nav-collapse {
        margin-bottom: 0;
        padding-bottom: 10px;
    }

        .sidebar .nav-collapse .nav-collapse li span:first-child, .sidebar[data-background-color=white] .nav-collapse .nav-collapse li span:first-child {
            margin-left: 50px;
        }

        .sidebar .nav-collapse .nav-collapse .nav-collapse li span:first-child, .sidebar[data-background-color=white] .nav-collapse .nav-collapse .nav-collapse li span:first-child {
            margin-left: 70px;
        }

    .sidebar .nav-collapse .nav-collapse {
        margin-bottom: 0;
        padding: 0;
    }

.tab-content {
    border-radius: 0 10px 10px 10px;
}

.breadcrumbs {
    border-left: 1px solid #e6e7e8;
    padding-top: 2px;
    padding-bottom: 2px;
}

/*公告欄*/
.newslist a {
    color: #666666;
}

.newslist .card-tools .btn {
    border-radius: 50px !important;
}

.page-title {
    color: #3d5170;
}

@media (min-width: 576px) {
    .form-inline .form-group {
        margin-right: 10px;
    }

    .form-control {
        display: inline-block;
        width: auto !important;
        border-color: #ced4da;
        padding: .2rem .5rem;
    }

    .form-check label {
        min-width: auto !important;
    }

    .form-radio label {
        min-width: auto !important;
    }

    .custom-radio label, .form-check-label {
        min-width: auto !important;
    }

    ul.checktree label {
        display: inline-flex;
    }

    .page-page p {
        text-align: justify;
    }
}

.form-check-inline {
    margin-right: .2rem;
}

.form-check-label, .form-radio-label {
    margin-right: 0;
}

.page-page h3 {
    font-size: 1.5em;
}

textarea.form-control {
    width: 100% !important;
}

#accordion .card {
    margin-bottom: .5em;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}

    #accordion .card .table th {
        background-color: #949494;
    }

.perboard > .row > .border-right {
    border-right: 2px solid #cecece;
    box-shadow: 0 1px 1px 1px rgba(255, 255, 255, .1);
}

.table-sm th {
    padding: 4px 2px;
    background-color: #b2b2b2;
}

.text-sm a {
    color: #575962;
    text-decoration: none;
}

    .text-sm a:hover {
        color: #393b43;
        text-decoration: none;
    }

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(200, 200, 200, .1);
}

.tile-stats {
    position: relative;
    display: block;
    margin-bottom: 12px;
    -webkit-border-radius: 5px;
    overflow: hidden;
    padding-bottom: 5px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 5px;
    -moz-background-clip: padding;
    border-radius: 5px;
    background: #FFF;
    transition: all .3s ease-in-out;
    min-width: 280px;
}

    .tile-stats:hover .icon i {
        animation-name: transformAnimation;
        animation-duration: .5s;
        animation-iteration-count: 1;
        color: rgba(58, 58, 58, .41);
        animation-timing-function: ease;
        animation-fill-mode: forwards;
        -webkit-animation-name: transformAnimation;
        -webkit-animation-duration: .5s;
        -webkit-animation-iteration-count: 1;
        -webkit-animation-timing-function: ease;
        -webkit-animation-fill-mode: forwards;
        -moz-animation-name: transformAnimation;
        -moz-animation-duration: .5s;
        -moz-animation-iteration-count: 1;
        -moz-animation-timing-function: ease;
        -moz-animation-fill-mode: forwards;
    }

    .tile-stats .icon {
        width: 80px;
        height: 80px;
        position: absolute;
        right: 10px;
        top: 10px;
        z-index: 1;
    }

        .tile-stats .icon i {
            margin: 0;
            font-size: 50px;
            line-height: 0;
            vertical-align: bottom;
            padding: 0;
        }

    .tile-stats .count {
        font-size: 38px;
        font-weight: 700;
        line-height: 1.65857;
    }

    .tile-stats .count, .tile-stats h3, .tile-stats p {
        position: relative;
        margin: 0 0 0 10px;
        z-index: 5;
        padding: 0;
    }

    .tile-stats h3 {
        color: #BAB8B8;
    }

    .tile-stats p {
        margin-top: 5px;
        font-size: 18px;
    }

.card-category {
    font-size: 16px;
}

.card .card-header, .card-light .card-header {
    padding: .6rem 1rem;
}

/*--table樣式--*/
caption, .tabletile {
    padding: 5px 10px;
    font-size: 1.1em;
    font-weight: 500;
    vertical-align: middle;
    line-height: 1.5em;
    caption-side: top;
    color: #07849E;
}

.table {
    margin-bottom: 10px;
    background: #fff;
    border-radius: 10px !important;
    border-bottom: 1px solid #dcdde1 !important;
}

    .table > tbody > tr > td, .table td {
        padding: 4px 3px !important;
        font-size: 14px;
        vertical-align: middle;
        text-align: center;
    }

    .table > thead > tr > td, .table > tbody > tr > th {
        padding: 10px 5px !important;
        text-align: center;
        vertical-align: middle;
    }

    .table > tbody > tr > th, .table th {
        vertical-align: middle;
        background-color: #f4f5f8;
        color: #414248;
        font-size: 15px;
        line-height: 16px;
        border-top: 1px solid #dcdde1 !important;
    }

    .table .btn {
        padding: 2px 8px;
        margin: 1px;
        font-size: 15px;
    }

    .table a i {
        font-size: 22px;
        margin: 3px;
    }

.greenbg {
    background-color: #bbffd0 !important;
}

.bubg {
    background-color: #bbf1ff !important;
}

.yellowbg {
    background-color: #fffbbb !important;
}

/*.tableschedule th {
  background-color: #ed7d31 !important;
  color: #fff
}
.tableschedule .bg-danger {
  background-color: #fbaedf !important;
  color: #fff
}
.tableschedule > tbody > tr:nth-child(odd) {
  background-color: #ffe9da;
  color: #111;
}*/
.tableschedule > tbody > tr:nth-child(even) {
    background-color: #fffaf6;
    color: #111;
}

.btn {
    padding: .15rem .8rem;
}

.btn-deepblue {
    background-color: #223467;
    border-color: #223467;
    color: #fff;
}

    .btn-deepblue:active, .btn-deepblue:hover, .btn-deepblue:focus, .btn-deepblue:active:hover {
        background-color: #162652;
        border-color: #162652;
        color: #fff;
    }

.btn-blue {
    background-color: #33658a;
    border-color: #33658a;
    color: #fff;
}

    .btn-blue:active, .btn-blue:hover, .btn-blue:focus, .btn-blue:active:hover {
        background-color: #234f6f;
        border-color: #234f6f;
        color: #fff;
    }

.btn-bline {
    background-color: #fff;
    border: 2px solid #33658a;
    color: #234f6f;
}

    .btn-bline:active, .btn-bline:hover, .btn-bline:focus, .btn-bline:active:hover {
        background-color: #234f6f;
        border: 2px solid #234f6f;
        color: #fff;
    }

.btn-yline {
    background-color: #fff;
    border: 2px solid #f7b53c;
    color: #3f3f3f;
}

    .btn-yline:active, .btn-yline:hover, .btn-yline:focus, .btn-yline:active:hover {
        background-color: #f7b53c;
        border: 2px solid #f7b53c;
        color: #fff;
    }

.btn-rline {
    background-color: #fff;
    border: 2px solid #ff4d44;
    color: #3f3f3f;
}

    .btn-rline:active, .btn-rline:hover, .btn-rline:focus, .btn-rline:active:hover {
        background-color: #ff4d44;
        border: 2px solid #ff4d44;
        color: #fff;
    }

.btn-gline {
    background-color: #fff;
    border: 2px solid #a9c72f;
    color: #3f3f3f;
}

    .btn-gline:active, .btn-gline:hover, .btn-gline:focus, .btn-gline:active:hover {
        background-color: #a9c72f;
        border: 2px solid #a9c72f;
        color: #fff;
    }

.btn-primary {
    background-color: #ffd700 !important;
    border-color: #ffd700 !important;
    color: #fff !important;
}

    .btn-primary:disabled, .btn-primary:focus, .btn-primary:hover {
        background-color: #ffd600 !important;
        border-color: #ffd600 !important;
        color: #fff;
    }

.btn-gray {
    background-color: #858585;
    border-color: #858585;
    color: #fff;
}

    .btn-gray:active, .btn-gray:hover, .btn-gray:focus, .btn-gray:active:hover {
        background-color: #717171;
        border-color: #717171;
        color: #fff;
    }

.btn-light {
    background-color: #fff !important;
    border-color: #ced4da;
    color: #505050;
    padding: .2rem .5rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

    .btn-light:active, .btn-light:hover, .btn-light:focus, .btn-light:active:hover {
        background-color: #dcdcdc !important;
    }

.btn-pink {
    background-color: #fb7ecd;
    color: #fff;
}

    .btn-pink:active, .btn-pink:hover, .btn-pink:focus, .pink:active:hover {
        background-color: #ea69ba;
        color: #fff;
    }

.text-primary, .text-primary a {
    color: #16a4b5 !important;
}

.text-pink, .text-pink a {
    color: #fe79dd !important;
}

.bg-pink {
    background-color: #fb7ecd !important;
}

/*彈出視窗*/
.modal-footer {
    display: block;
}

.modal-content .modal-header {
    background-color: #2fb5c7;
    color: #fff;
    font-weight: bold;
    padding: .6rem .8rem;
}

.modal-title {
    font-size: 17px;
}

.close {
    font-size: 36px;
    font-weight: 700;
    line-height: 20px;
    text-shadow: rgb(55, 55, 55) 0px 1px 0px;
    opacity: 1;
}

.title {
    border-radius: 5px 5px 0 0;
    font-size: 1.051em;
    padding: 4px;
    margin-bottom: 8px;
    border-bottom: 1px dotted #2fb5c7;
    font-size: 18px;
}

.red {
    color: #F40004;
}

@media (min-width: 768px) and (max-width: 991px) {
    .modal-dialog {
        max-width: 700px;
    }
}

@media (min-width: 992px) {
    .modal-lg, .modal-xl {
        max-width: 950px;
    }
}

@media (min-width: 1200px) {
    .modal-xl {
        max-width: 1160px;
    }
}

@media (min-width: 1400px) {
    .modal-xl {
        max-width: 1340px;
    }
}

@media (min-width: 1600px) {
    .modal-xxl {
        max-width: 1540px;
    }
}

@media (min-width: 1800px) {
    .modal-xxl {
        max-width: 1740px;
    }
}

.photo .carousel-item {
    text-align: center;
}

.photo .carousel .carousel-caption {
    font-size: 22px;
}

.photo .fa-angle-double-left, .photo .fa-angle-double-right {
    width: 50px;
    height: 50px;
    margin-top: -10px;
    font-size: 50px;
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-block;
}

.input-group-addon {
    width: auto;
    min-width: 16px;
    padding: 3px 6px 0;
    font-weight: 400;
    text-align: center;
    text-shadow: 0 1px 0 #fff;
    vertical-align: middle;
    background-color: #d7d7d7;
    margin-left: -2px;
    margin-right: -2px;
    line-height: 1.8em;
}

    .input-group-addon i, .input-group-addon span {
        font-size: 1.4em;
        line-height: 1.4em;
    }

/*tab*/
.nav-tabs .nav-link {
    border: 0;
}

.nav-tabs a.nav-link {
    color: #11a1b4;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    border-top: #2fb5c7 5px solid;
    border-left: #dee2e6 1px solid;
    border-right: #dee2e6 1px solid;
}

/*form*/
.form-group label {
    min-width: 115px !important;
    justify-content: flex-end;
    text-align: right;
}

.form-check label {
    min-width: auto !important;
}

input[type=date], input[type=datetime-local], input[type=month], input[type=time], select, input[type=select] {
    min-width: 172px;
}

.form-check label, .form-group label {
    margin-bottom: 0;
}

label.no-w, .no-w {
    min-width: auto !important;
}

.big-wh label {
    min-width: 160px !important;
}

.form-control:disabled, .form-control[readonly] {
    opacity: .8 !important;
}

.form-control:disabled, .form-control[readonly] {
    background: #f1f1f1 !important;
    border-color: #f1f1f1 !important;
}

.model .tab-pane label {
    min-width: auto !important;
}

.model .tab-pane .form-control {
    width: 100% !important;
}

.card-body .card .card-header, .modal-body .card .card-header, .tab-pane .card .card-header {
    padding: .5rem .75rem;
}

.card-body .card .card-title, .modal-body .card .card-title, .tab-pane .card .card-title {
    font-size: 18px;
}

hr.separator-dashed {
    border-top: 1px dashed #ebecec;
    margin: 15px 0;
}

.bg-info {
    background-color: #17a2b8 !important;
}

.input-group > .datetimepicker-input {
    width: 152px !important;
}

.input-group {
    width: auto;
    display: inline-flex;
}

.card .card, .modal-body .card, .tab-content .card {
    border: 1px solid #dae8e5;
    box-shadow: 0px 4px 8px 0 rgba(69, 65, 78, .1);
    margin-bottom: 15px;
}

p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 0;
    word-break: break-word;
}

.bg-gy {
    background: #99aec3;
}

.bg-lightbule {
    background: #eef9f6;
}

/*頁籤*/
.nav-pills .nav-link {
    padding: 8px 15px;
}

.nav-pills.nav-pills-no-bd li {
    margin-left: 15px !important;
}

.rmain, .rmain2 {
    border-left: 1px dashed #ced8e5;
    padding-bottom: 1em;
}

    .rmain .form-control, .rmain3 .form-control {
        min-width: 100% !important;
    }

    .rmain label, .rmain3 label {
        min-width: auto !important;
    }

    .rmain .card-header {
        padding: 5px 8px;
    }

    .rmain .card-title {
        font-size: 16px;
    }

    .rmain .card .card {
        border: 1px solid #dae8e5;
        box-shadow: 0px 4px 8px 0 rgba(69, 65, 78, .1);
    }

.rmain3 .card-body {
    padding: .5rem;
    background-color: #fff;
}

.rmain3 .card-header {
    padding: 5px 10px;
}

.rmain3 .card-title {
    font-size: 18px;
}

/*datetime*/
.input-group-text {
    color: #fff;
    background-color: #97a8b9;
    border: 0px;
    padding: .175rem .55rem;
}

.ymd .form-control {
    width: 120px !important;
}

.clock .form-control {
    width: 80px !important;
}

/*首頁*/
.stamp-md {
    min-width: 4rem;
    height: 4rem;
    line-height: 4rem;
    font-size: 20px;
}

.text-muted {
    font-size: 15px;
}

/*行事曆*/
.calendar {
    width: 100%;
    min-height: 350px;
    background: #fff;
}

    .calendar .title {
        border-bottom: 0;
        vertical-align: middle;
    }

        .calendar .title h2 {
            font-size: 20px;
            display: inline-block;
            margin: 0 10px;
            color: #5d5d5d;
        }

        .calendar .title .prev, .calendar .title .next {
            color: #a8a8a8;
            font-size: 22px;
        }

            .calendar .title .prev:hover, .calendar .title .next:hover {
                font-size: 24px;
                color: #848484;
            }

    .calendar table {
        width: 100%;
        background: #fff;
    }

    .calendar .body th {
        color: #fff;
        background-color: #979797;
    }

    .calendar .body td {
        border: 1px solid #dfdfdf;
        position: relative;
        vertical-align: middle;
    }

    .calendar td .btn {
        font-size: 14px;
        padding: 0 8px;
    }

        .calendar td .btn:not(:last-child) {
            margin: 2px;
        }

.allinfo th {
    width: 12.5%;
    text-align: center;
}

.allinfo2 th {
    text-align: center;
}

.allinfo td {
    width: 6.25%;
    font-size: 13px !important;
    padding: 3px !important;
    vertical-align: top !important;
    text-align: center;
}

.allinfo2 td {
    font-size: 13px !important;
    padding: 3px !important;
    vertical-align: top !important;
    text-align: left;
}

.allinfo th label, .allinfo2 th label {
    color: #fff !important;
}

.calendar .today {
    background-color: #fffbdc;
}

.calendar .ctime {
    vertical-align: middle !important;
    text-align: center;
    font-weight: bold;
}

.btn-icon {
    font-size: .9375rem;
    height: 1.8rem;
    min-width: 1.8rem;
    width: 1.8rem;
    padding: 0;
}


/*Add By Hong Start*/
.text-left label {
    text-align: left !important;
}

textarea {
    resize: none;
}

div[id*='UpdatePanel']{
    display: contents;
}
/*Add By Hong End*/
