html {
    font-size: 18px !important;
}

body {
    font-family: Microsoft JhengHei;
    color: #333;
}

a {
    text-decoration: none;
}

@font-face {
    font-family: Facebook;
    src: url(./font-family/FACEBOLF.OTF);
}

.font-Facebook {
    font-family: Facebook, Microsoft JhengHei;
}

/* header */

#header {
    background-color: #fff;
    box-shadow: 0 1px 3px 0px rgba(0, 0, 0, .4);
    letter-spacing: 1px;
}

#header.scroll {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1200;
}

#header .navbar {
    transition: .15s;
    padding-top: .5rem;
    padding-bottom: .5rem;
}

@media only screen and (min-width: 992px) {
    #header .navbar {
        padding-top: .5rem;
        padding-bottom: .5rem;
    }

    #header.scroll .navbar {
        padding-top: .25rem;
        padding-bottom: .25rem;
    }
}

#header .nav-item {
    position: relative;
    border-top: 1px solid #a0aade;
}

#header .nav-link {
    color: #333;
    font-weight: bold;
}

#header .nav-link:hover {
    color: #1a1a1a;
}

@media only screen and (min-width: 992px) {

    #header .nav-item {
        border-top: 0;
    }

    #header .navbar-nav .nav-item::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%) scaleX(0);
        -webkit-transform: translateX(-50%) scaleX(0);
        transform-origin: 50% 50%;
        -webkit-transform-origin: 50% 50%;
        width: 100%;
        height: 2px;
        background-color: #263473;
        transition: transform 250ms;
        -webkit-transition: transform 250ms;
    }

    #header .navbar-nav .nav-item:hover::after,
    #header .navbar-nav .nav-item.active::after {
        transform: translateX(-50%) scaleX(1);
        -webkit-transform: translateX(-50%) scaleX(1);
    }
}

#header .dropdown-item.active,
#header .dropdown-item:active {
    background-color: #2F408C;
}

@media only screen and (max-width: 991.98px) {
    #header .dropdown-menu {
        padding-top: 0;
        border: 0;
    }
}

#header .btn-default-blue,
#header .btn-default-blue:hover {
    border: 0;
    padding: .5rem 1rem;
}

.btn-navdropdown {
    color: #2F408C;
    border: 2px solid #2F408C;
    font-size: 1.25rem;
    line-height: 1.5;
}

.btn-navdropdown:hover {
    color: #2F408C;
    background-color: #d9ddf2;
    border: 2px solid #2F408C;
}

.btn-navdropdown:focus {
    box-shadow: 0 0 0 1px #2F408C;
}

/* education leftbar */
.edu-leftbar-menu .edu-leftbar-item:first-child {
    border-top: 1px solid #C9C9C9;
}

.edu-leftbar-menu .edu-leftbar-item {
    display: block;
    padding: .75rem 1.5rem .75rem 3rem;
    color: #2F408C;
    border-bottom: 1px solid #C9C9C9;
    text-decoration: none;
    transition: .15s;
}

.edu-leftbar-menu .edu-leftbar-item.active,
.edu-leftbar-menu .edu-leftbar-item:hover {
    background-color: #2F408C;
    color: #fff;
}

.edu-leftbar-menu .edu-leftbar-item.minor {
    padding: .75rem 1.5rem .75rem 3.5rem;
}

.edu-leftbar-menu .edu-leftbar-item.minor.active,
.edu-leftbar-menu .edu-leftbar-item.minor:hover {
    background-color: #394eac;
    color: #fff;
}

/* left angle */
.edu-leftbar-menu .edu-leftbar-item .left-angle {
    position: relative;
    transition: .15s;
}

.edu-leftbar-menu .edu-leftbar-item .left-angle::after {
    content: '';
    position: absolute;
    left: -.5rem;
    top: 50%;
    transform: translate(-100%, -50%);
    -webkit-transform: translateX(-100%, -50%);
    transform-origin: 50% 50%;
    border-top: .35rem solid transparent;
    border-right: 0;
    border-bottom: .35rem solid transparent;
    border-left: .5rem solid transparent;
}

.edu-leftbar-menu .edu-leftbar-item.active .left-angle::after,
.edu-leftbar-menu .edu-leftbar-item:hover .left-angle::after {
    border-left-color: #fff;
}

/* share icon */
.share-icon {
    display: flex;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    color: #333;
    border: 1px solid #333;
    transition: .15s;
}

.share-icon:not(:last-child) {
    margin-right: .5rem;
}

.share-icon>* {
    margin: auto;
}

.share-icon.fb {
    color: #2F408C;
    border: 1px solid #2F408C;
    font-size: 1.25rem;
    line-height: 1;
}

.share-icon.fb:hover {
    color: #fff;
    background-color: #2F408C;
    border: 1px solid #2F408C;
}

.share-icon.twitter {
    color: #00ACEE;
    border: 1px solid #00ACEE;
}

.share-icon.twitter:hover {
    color: #fff;
    background-color: #00ACEE;
    border: 1px solid #00ACEE;
}

.share-icon.line {
    color: #1DDD25;
    border: 1px solid #1DDD25;
}

.share-icon.line:hover {
    color: #fff;
    background-color: #1DDD25;
    border: 1px solid #1DDD25;
}

/* text */
.fw-bold {
    font-weight: bold;
}

/* letter-spacing */
.ls-1 {
    letter-spacing: 1px;
}

/* border */
.border-3 {
    border-width: 3px !important;
}

.border-5 {
    border-width: 5px !important;
}

.border-5 {
    border-width: 5px !important;
}

.border-default-yellow {
    border-color: #E0AC2A !important;
}

.border-pink {
    border-color: #DA3661 !important;
}

/* color */
.text-default-blue {
    color: #2F408C;
}

.text-pink {
    color: #DA3661;
}

/* bg image */

.bg-cover {
    background-size: cover;
}

.bg-center {
    background-position: center;
}

.bg-white-square {
    background-image: url('../images/square.png');
    background-size: .8rem
}

/* background color */
.bg-default-blue {
    background-color: #2F408C;
}

.bg-default-light-blue {
    background-color: #d9ddf2;
}

.bg-black-70 {
    background-color: rgba(0, 0, 0, .5);
}

.bg-pink {
    background-color: #DA3661;
}

.bg-grey {
    background-color: #EFEFEF;
}

.bg-FBF0E2 {
    background-color: #FBF0E2;
}

/* btn */

.btn-default-blue {
    color: #fff;
    background-color: #2F408C;
    border-color: #2F408C;
}

.btn-default-blue:hover {
    color: #fff;
    background-color: #263473;
    border-color: #263473;
}

.btn-default-blue:focus {
    box-shadow: 0 0 0 .15rem rgba(47, 64, 140, .25);
}

/* dropdown */
.dropdown-item.minor {
    padding: .15rem 1.5rem .15rem 1.75rem;
    font-size: .85rem;
}

.dropdown-item.minor+.dropdown-item:not(.minor) {
    margin-top: .1rem;
}

/* height */
.h-1px {
    height: 1px;
}

.h-175px {
    height: 175px;
}

@media (min-width: 768px) {
    .h-md-230px {
        height: 230px;
    }
}

/* width */
.w-1d75rem {
    width: 1.75rem;
}

/* margin */
.mr-n1px {
    margin-left: -1px;
}

.ml-1px {
    margin-left: 1px;
}

/* padding */
.pt-1px {
    padding-top: 1px;
}

.pt-67p {
    padding-top: 67%;
}

/* others */
@media (min-width: 992px) {
    .container-lg-none {
        max-width: auto;
    }
}

.card-header {
    background-color: rgba(0, 134, 255, 0.05);
}

.lh-140 {
    line-height: 1.4;
}

.lh-150 {
    line-height: 1.5;
}

.content h2 {
    font-size: 24px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.content h3 {
    font-size: 21px;
    margin-top: 21px;
    margin-bottom: 21px;
}

.pt-50p {
    padding-top: 50%;
}

.pt-60p {
    padding-top: 60%;
}

.pt-75p {
    padding-top: 75%;
}