﻿html, body, form {
    margin: 0;
    padding: 0;
    color: #464646;
    font-size: 18px;
    font-family: Microsoft JhengHei;
    --spacing: 24px;
    letter-spacing: 2px;
    line-height: 1.5;
}

a {
    color: #717070;
    text-decoration: none;
}

div {
    Box-sizing: border-box;
}

html, body, form, #Base {
    /*height: 100%;*/
}

.Clearfix::before,
.Clearfix::after {
    content: " ";
    display: table;
}

.Clearfix::after {
    clear: both;
}

/*自訂class*/
.text-Orange {
    color: #D45832 !important;
}

.Text1 {
    font-size: 1.4rem;
}

.Text2 {
    font-size: 1.2rem;
}

.Text3 {
    font-size: 1rem;
}

.Text4 {
    font-size: 0.9rem;
}

.Text5 {
    font-size: 0.8rem;
}

.Text6 {
    font-size: 0.7rem;
}

/*自訂padding、margin*/
.PaddingTop1 {
    padding-top: var(--spacing);
}

.PaddingTop2 {
    padding-top: calc(var(--spacing) * 2);
}

.PaddingBottom1 {
    padding-bottom: var(--spacing);
}

.PaddingBottom2 {
    padding-bottom: calc(var(--spacing) * 2);
}

.MarginTop {
    margin-top: calc(var(--spacing) / 2);
}

.MarginTop1 {
    margin-top: var(--spacing);
}

.MarginBottom1 {
    margin-bottom: var(--spacing);
}

.MarginTop2 {
    margin-top: calc(var(--spacing) * 2);
}

.MarginBottom2 {
    margin-bottom: calc(var(--spacing) * 2);
}

/*Html Tag*/
textarea {
    resize: none;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0;
}

h1 {
    font-size: 1.4rem;
}

h2 {
    font-size: 1.3rem;
}

h3 {
    font-size: 1.2rem;
}

h4 {
    font-size: 1.1rem;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: 0.9rem;
}

/*輸入框*/
input[type="date"] {
    position: relative;
}

    input[type="date"]::-webkit-calendar-picker-indicator {
        width: 10px;
        color: transparent;
        background: none;
        z-index: 1;
    }

    input[type="date"]:before {
        background: none;
        display: block;
        font-family: 'Material Icons';
        content: 'calendar_month';
        width: 22px;
        height: 37px;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 18px;
        margin: auto 0;
        color: #484848;
        font-size: 1.3rem;
    }

.form-control {
    border-radius: 7px;
}

    .form-control,
    .form-control:focus {
        color: #717070;
    }

/*bootstrap 按鈕改顏色*/
.btn {
    min-width: 100px;
    border-radius: 7px;
}

    .btn.active.focus,
    .btn.active:focus,
    .btn.focus,
    .btn.focus:active,
    .btn:active:focus,
    .btn:focus {
        box-shadow: none !important;
    }

.btn-primary {
    background-color: #0C4280;
    border-color: #0C4280;
    color: #ffffff !important;
    box-shadow: none;
}

.border-primary {
    border-color: #0C4280 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    background-color: #0b5ed7 !important;
    border-color: #0b5ed7 !important;
    color: #ffffff !important;
}

.btn-primary.disabled {
    background-color: #ffbe5a !important;
    border-color: #ffbe5a !important;
}

    .btn-primary.disabled:hover,
    .btn-primary.disabled:focus,
    .btn-primary.disabled:active,
    .btn-primary.disabled.active,
    .btn-primary:disabled,
    .btn-primary[disabled]:hover,
    .btn-primary[disabled]:focus,
    .btn-primary[disabled]:active,
    .btn-primary[disabled].active,
    fieldset[disabled] .btn-primary:hover,
    fieldset[disabled] .btn-primary:focus,
    fieldset[disabled] .btn-primary:active,
    fieldset[disabled] .btn-primary.active {
        background-color: #0b5ed7 !important;
        border-color: #0b5ed7 !important;
        color: #ffffff !important;
    }

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #386a93;
    border-color: #386a93;
}


.BtnBlueSubtle {
    background-color: #30669BE6 !important; /*淺藍*/
    color: #FFF !important;
}

.BtnBlueSoft {
    background-color: #30669BB3 !important; /*淡藍*/
    color: #FFF !important;
}

/*bootstrap 文字改顏色*/
.text-primary {
    color: #0C4280 !important;
}

.modal-footer {
    display: block;
}




/*文章*/
#SlideShowPage .Category {
    font-size: 20px;
    font-weight: 700;
}

#SlideShowPage .Date,
#NoticeDetail .Date,
#NoticePopup .Date {
    font-size: 14px;
    color: #707070CC;
}

#SlideShowPage .Title,
#NoticeDetail .Title,
#NoticePopup .Title {
    font-weight: bold;
    color: #0C4280;
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

#CarPage .ReceivePanel .SendBtn,
#NoticePopup .SendBtn {
    width: 100%;
    margin-top: 24px;
    margin-bottom: 130px;
}