/*基本頁面文字設定*/
* {
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.clear {
    margin: 0px;
    padding: 0px;
    clear: both;
}

img {
    border: 0px;
}

html {
    width: 100%;
    height: 100%;
}

html, body {
    font-family: '微軟正黑體', 'Microsoft JhengHei', sans-serif;
    color: #555;
    font-size: 16px;
    line-height: 1.5;
    height: 100%;
    border: none;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    letter-spacing:1px;
}

a {
    color: #0c8800;
    text-decoration: none;
}

    a:hover {
        color: #555;
        text-decoration: none;
    }

.custombtn {
    border-radius: 0px;
    background-color: #0c8800;
    border: 1px solid #0c8800;
    text-shadow: none;
    color: #fff;
}

a.btn.disabled, fieldset:disabled a.btn {
    pointer-events: none;
    color: #fff;
}

.navbar-brand img.logo {
    width: 300px;
    height: auto;
}
@media only screen and (max-width: 480px) {
    .navbar-brand img.logo {
    width: 240px;
    height: auto;
}
}

    .jumbotron {
        border-radius: 0;
        margin-left: -15px;
        margin-right: -15px;
    }

    .bg-cover {
        background-image: url(/_images/IMG_1184.jpg);
        min-height: 600px;
        /*min-height: 400px;*/
    }

    .bg-cover {
        background-size: cover;
        color: white;
        background-position: center 30%;
        position: relative;
        z-index: -2;
    }

    @media only screen and (max-width: 768px) {
        .bg-cover {
            min-height: 300px;
            background-position: center 30%;
        }
    }

    @media only screen and (max-width: 480px) {
        .bg-cover {
            min-height: 200px;
        }
    }

    /* Go to Top
-------------------------------------------------------------- */
    .scrollToTop {
        width: 46px;
        height: 46px;
        background-color: rgba(140, 198, 63, 0.54);
        border-radius: 50%;
        position: fixed;
        right: 15px;
        bottom: -100px;
        display: none;
        overflow: hidden;
        text-align: center;
        text-decoration: none;
        transition: all .45s ease,opacity .25s ease-in-out;
        cursor: pointer;
        z-index: 999;
    }

        .scrollToTop i:before {
            color: #fff;
            line-height: 42px;
            font-size: 28px;
            font-weight: 700;
        }

        .scrollToTop:hover {
            background: rgba(140, 198, 63, 1);
        }

        .scrollToTop.active {
            bottom: 30px;
        }


    /* Navbar
-------------------------------------------------------------- */
    .navbar-toggler {
        border: 0;
        padding: .25rem 0;
    }

        .navbar-toggler:focus {
            outline: none;
        }

    .dropdown-toggle::after {
        border: 0;
    }

    .navbar-light .navbar-nav .nav-link {
        color: rgba(0,0,0,1);
    }

        .navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
            color: rgba(140, 198, 63, 1);
        }

    @media only screen and (max-width: 768px) {
        .navbar-collapse {
            border-top: 1px solid #ccc;
            margin-top: 10px;
        }

        .dropdown-menu {
            border: 0;
        }

    }

    @media (min-width: 1200px) {
        .navbar .dropdown-menu {
            padding: 10px 10px;
            margin-left: -34px;
        }

        .navbar .rd-menu {
            position: absolute;
            text-align: left;
            display: block;
            top: 100%;
            transform: translate3d(0,30px,0) scale(.7);
            visibility: hidden;
            opacity: 0;
            z-index: 15;
        }

        .nav-item:hover > .rd-menu, .nav-item:focus > .rd-menu {
            opacity: 1;
            visibility: visible;
            transform: translate3d(0,0,0);
        }

        .dropdown-menu {
            position: absolute;
            padding: 30px;
            margin-left: -30px;
            width: 100%;
            background: #fff;
            z-index: 5;
        }

        .dropdown-menu {
            position: absolute;
            text-align: center;
            display: block;
            top: 100%;
            transform: translate3d(0,30px,0) scale(.7);
            visibility: hidden;
            opacity: 0;
            z-index: 15;
        }

        .dropdown-item {
            text-align: center;
            padding: 0.25rem 0;
        }
    }

    .dropdown-item {
        padding: 0.25rem 0;
    }

        .dropdown-item.active, .dropdown-item:active {
            color: #fff;
            text-decoration: none;
            background-color: rgba(140, 198, 63, 1);
            border-radius: 0;
        }

        .dropdown-item:hover {
            color: #fff;
            text-decoration: none;
            background-color: rgba(140, 198, 63, 1);
            border-radius: 0;
        }

    /* Content
-------------------------------------------------------------- */
    .pagecontent {
        padding: 70px 15px 40px 15px;
        height: 100%;
    }

    .content-header {
        padding-bottom: 9px;
        margin: 20px 0 20px;
    }

        .content-header h3 {
            color: #000;
            font-weight: bold;
        }

        .content-header hr {
            width: 100px;
            display: inline-block;
            border-bottom: 3px solid #8BC34A;
            border-top: none;
            margin-bottom: 0;
        }

    /* Footer
-------------------------------------------------------------- */

    footer p {
        font-size: 14px;
    }



    /* Latest News
-------------------------------------------------------------- */

    .card {
        position: relative;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        min-width: 0;
        word-wrap: break-word;
        background-color: #fff;
        background-clip: border-box;
        border: 1px solid rgba(0,0,0,.125);
        border-radius: .25rem;
    }

    .card {
        background-color: transparent;
        border: none;
    }

    .card-wrapper {
        height: 1%;
    }

    .card-img {
        width: 100%;
        border-radius: calc(.25rem - 1px);
    }

        .card-img img {
            width: 100%;
        }

    .card-img-top {
        width: 100%;
        height: 15vw;
        object-fit: cover;
    }

    @media only screen and (max-width: 1366px) {
        .card-img-top {
            width: 100%;
            height: 17vw;
            object-fit: cover;
        }
    }

    @media only screen and (max-width: 1024px) {
        .card-img-top {
            width: 100%;
            height: 18vw;
            object-fit: cover;
        }
    }

    @media only screen and (max-width: 576px) {
        .card-img-top {
            width: 100%;
            height: auto;
            object-fit: cover;
        }
    }

    .card .card-wrapper .card-box {
        padding: 1rem;
    }

    .display-5 {
        font-size: 1rem;
    }

    .mbr-title {
        font-family: '微軟正黑體', 'Microsoft JhengHei', sans-serif;
        line-height: 1.5;
        color: #1d7fe1;
    }

    .mbr-bold {
        font-weight: 700;
    }

    .mbr-card-text {
        font-size: 0.8rem;
    }
