html {
    font-size: 18px !important;
}

body {
    font-family: 'roboto', 'Microsoft JhengHei';
    color: #333;
}

a {
    color: #384199;
    text-decoration: none;
}

a:hover {
    color: #dc455f;
}

@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;
}

#header.scroll .navbar {
    padding-top: .25rem;
    padding-bottom: .25rem;
}


@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: #384199;
}

@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: #384199;
    border: 2px solid #384199;
    font-size: 1.25rem;
    line-height: 1.5;
}

.btn-navdropdown:hover {
    color: #384199;
    background-color: #d9ddf2;
    border: 2px solid #384199;
}

.btn-navdropdown:focus {
    box-shadow: 0 0 0 1px #384199;
}

/* 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: #384199;
    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: #384199;
    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: #384199;
    border: 1px solid #384199;
    font-size: 1.25rem;
    line-height: 1;
}

.share-icon.fb:hover {
    color: #fff;
    background-color: #384199;
    border: 1px solid #384199;
}

.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 !important;
}

.ls-2 {
    letter-spacing: 2px !important;
}

.ls-3 {
    letter-spacing: 3px !important;
}

.ls-4 {
    letter-spacing: 4px !important;
}

.ls-5 {
    letter-spacing: 5px !important;
}

/* 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: #dc455f;
}


/* color */
.text-default-blue {
    color: #384199 !important;
}

.text-pink {
    color: #dc455f !important;
}

.text-666 {
    color: #666 !important;
}

/* bg image */

.bg-cover {
    background-size: cover;
    background-position: center;
}

.bg-center {
    background-position: center;
}

.bg-white-square {
    background-image: url('../images/square.png');
    background-size: .8rem
}

/* background color */
.bg-default-blue {
    background-color: #384199;
}

.bg-default-light-blue {
    background-color: #d9ddf2;
}

.bg-black-70 {
    background-color: rgba(0, 0, 0, .5);
}

.bg-pink {
    background-color: #dc455f;
}

.bg-grey {
    background-color: #EFEFEF;
}

.bg-light {
    background-color: #f6f6f6;
}

.bg-FBF0E2 {
    background-color: #FBF0E2;
}


/* btn */

.btn-default-blue {
    color: #fff;
    background-color: #384199;
    border-color: #384199;
}

.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-100p {
    padding-top: 100%;
}

.pt-75p {
    padding-top: 75%;
}

.pt-70p {
    padding-top: 70%;
}

.pt-65p {
    padding-top: 65%;
}

.pt-60p {
    padding-top: 60%;
}

.pt-55p {
    padding-top: 55%;
}

.pt-50p {
    padding-top: 50%;
}

.pt-40p {
    padding-top: 40%;
}

/* others */
@media (min-width: 992px) {
    .container-lg-none {
        max-width: auto;
    }
}

.lh-100 {
    line-height: 1 !important;
}

.lh-140 {
    line-height: 1.4 !important;
}

.fs-14px {
    font-size: 14px !important;
}

.fs-12px {
    font-size: 12px !important;
}

/* back-top */
#back-top {
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 999;
    display: none;
}

#back-top a {
    width: 50px;
    height: 50px;
    line-height: 47px;
    display: block;
    text-align: center;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: none;
    text-decoration: none;
    color: #343e90;
    border-radius: 50%;
    border: 3px solid #e3e3e3;
    background: #fff;
    font-weight: bold;
    /* transition */
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    transition: 0.2s;
}

#back-top a:hover {
    color: #343e90;
    border: 3px solid #343e90 !important;
}

a.hover-shadow:hover {
    display: block;
    margin-top: -1px;
    margin-bottom: 1px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 1px 5px !important;
}

hr {
    opacity: .15;
}

.cursor-pointer {
    cursor: pointer;
}

.content p {
    line-height: 160%;
    margin-bottom: 25px;
    text-align: justify;
}

.content h1 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #384199;
}

.content h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 25px;
    color: #384199;
}