/* 微軟正黑體保留
@font-face {
	font-family: '微軟正黑體修正';
	unicode-range: U+7db0, U+78A7, U+7B75;
	font-style: normal;
	font-weight: 900;
	src: local(MS Gothic);
}

@font-face {
	font-family: '微軟正黑體修正';
	unicode-range: U+7db0, U+78A7, U+7B75;
	font-style: normal;
	font-weight: normal;
	src: local(微軟正黑體);
}

body, h1, h2, h3, h4, h5, h6, p {
	font-family: "Open Sans", "微軟正黑體修正", "微軟正黑體", "Microsoft JhengHei", sans-serif!important;
} 
*/

* {
    letter-spacing: .5px;
    line-height: 1.5;
}

body, h1, h2, h3, h4, h5, h6, p, small {
    font-family: 'Source Sans Pro', 'Noto Sans TC', sans-serif !important;
}

body, p {
    font-weight: 400;
    font-size: 16px;
}

p {
    color: #222;
}

img {
    max-width: 100%;
    height: auto;
}

.animate, .btn, ul.side-nav a, .nav-main-collapse .nav-main ul li .dropdown-menu li a {
    -webkit-transition: 0.3s ease;
    -ms-transition: 0.3s ease;
    transition: 0.3s ease;
    -moz-transition: 0.3s ease;
    -o-transition: 0.3s ease;
}

/* title text */

.main-title-h1 {
    font-size: 30px;
}

.main-title-h2 {
    font-size: 25px;
}

.main-title-h3 {
    font-size: 21px;
}

/* list */

.list-2th, .list-3th, .list-4th, .list-5th, .list-6th {
    display: inline-block;
    vertical-align: top;
}

/* bg */

.dark-box * {
    color: #fff !important;
}

.layout {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.layout.dark {
    background-color: rgba(0, 25, 102, 0.5);
}

.bg-primary-one {
    background-image: linear-gradient(to top, #643c94 0%, #264299 100%);
}

.bg-primary-two {}

/* btn */

.btn {
    line-height: 44px;
    box-shadow: 0 5px 17px rgba(0, 0, 0, 0.15) !important;
    padding: 0 30px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
}

.btn:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important;
}

.btn-white {
    color: #222 !important;
}

.btn-white:hover {
    color: #743e94 !important;
    background-color: #f2f2f2;
}

.btn-primary-one {
    background-image: linear-gradient(135deg, #643c94 0%, #264299 100%);
    color: #fff;
}

.btn-primary-one:hover {
    color: #fff;
}

.btn-primary-two {}

@media (min-width: 768px) {}

@media (min-width: 992px) {}

@media (min-width: 1365px) {}

/*--------------------------------
start. index*/

/*--------------------------------
start. header*/

.custom-nav {
    padding: 6px 0;
}

.custom-nav .navbar-brand.brand-logo img {
    height: 70px;
}

.navbar-brand {
    padding: 0;
}

.nav-main-collapse .nav-main ul li {
    position: relative;
}

.nav-main-collapse .nav-main ul li a {
    font-size: 16px;
    color: #fff;
    padding: 15px 20px;
}

.sticky-header .nav-main-collapse .nav-main ul li a {
    color: #333;
}

.sticky-header .nav-main-collapse .nav-main ul li:hover>a {
    color: #743e94;
}

.custom-nav .nav-main ul li a::before, .custom-nav .nav-main ul li a::after {
    position: absolute;
    content: '';
    width: 12px;
    height: 2px;
    background-color: #fff;
    left: 50%;
    bottom: -7px;
    opacity: 0;
    -webkit-transition: all .3s ease-out 0s;
    -moz-transition: all .3s ease-out 0s;
    -o-transition: all .3s ease-out 0s;
    transition: all .3s ease-out 0s;
}

.sticky-header.custom-nav .nav-main>ul>li>a::before, .sticky-header.custom-nav .nav-main>ul>li>a::after {
    background-color: #743e94;
}

.custom-nav .nav-main ul li a::after {
    left: auto;
    right: 50%;
}

.custom-nav .nav-main ul li.active a::before, .custom-nav .nav-main ul li.active a::after, .custom-nav .nav-main ul li:hover a::before, .custom-nav .nav-main ul li:hover a::after {
    opacity: 1;
}

.nav-main-collapse .nav-main ul li:hover .dropdown-menu {
    display: block;
    top: calc(100% + 10px);
    border-color: #eee;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.nav-main-collapse .nav-main ul li .dropdown-menu li a {
    color: #000;
    font-size: 15px;
    font-weight: 300;
    display: block;
    padding: 10px 16px;
    border-bottom: 1px solid #ddd;
}

.nav-main-collapse .nav-main ul li .dropdown-menu li a:hover {
    color: #743e94;
    padding-left: 20px;
}

.nav-main-collapse .nav-main ul li .dropdown-menu li:last-child a {
    border-bottom: 0;
}

.navbar-toggler {
    color: #264299;
}

.sp-menu {
    position: absolute;
    top: 100%;
    width: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.sp-menu .card {
    border: 0;
    border-radius: 0;
}

.sp-menu .card-header {
    border-bottom: 1px solid #e5e5e5;
}

.sp-menu .card-header a {
    color: #222;
}

.sp-menu .card-header .btn-arrowdown {
    border: 0;
    width: 48px;
    height: 48px;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 18px;
    background: #e9e9e9;
}

.sp-menu .card-body {
    padding: 10px 25px;
}

.sp-dropdown-menu li a {
    color: #555;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.sp-dropdown-menu li:last-child a {
    border-bottom: 0;
}

/* search */

.search-box {
    position: relative;
}

.search-box button {
    border: 0;
    padding: 0;
    width: 40px;
    height: 40px;
    display: inline-block;
    line-height: 40px;
    text-align: center;
    background: transparent;
}

.search-box .dropdown-toggle {
    color: #fff;
}

.sticky-header .search-box .dropdown-toggle  {
    color: #333;
}

.search-box .dropdown-toggle::after {
    content: none;
}

.search-box .dropdown-menu {
    padding: 13px;
    width: 280px;
}

.search-box .dropdown-menu input {
    border-radius: 4px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 300;
    color: #000;
    background: #f3f3f3;
    box-shadow: inset -1px 1px 3px rgba(0, 0, 0, 0.2);
    height: 40px;
    width: 100%;
    padding: .375rem .75rem;
}

.search-box .dropdown-menu button[type=submit] {
    position: absolute;
    top: 13px;
    right: 13px;
    font-size: 20px;
    color: #fff;
    background: #4a3f96;
    border-radius: 0 4px 4px 0;
}

/* end search */

/*end. header
--------------------------------*/

/*--------------------------------
start. container*/

/* banner */

.home-bg.waves-bg {
    padding: 0;
}

.index-slider .swiper-slide {
    height: 75vh;
    background-size: cover;
    background-position: center;
}

.index-slider .heading {
    font-size: 50px;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 20px;
}

.index-slider .para-sec {
    font-size: 18px;
    color: #fff;
    margin-bottom: 35px;
}

.hero-waves {
    height: 120px;
    position: absolute;
    bottom: -20px;
    width: 100%;
}

.index-slider .swiper-button-next:after, .index-slider .swiper-button-prev:after {
    font-size: 30px;
}

.index-slider .swiper-container-horizontal>.swiper-pagination-bullets, .index-slider .swiper-pagination-custom, .index-slider .swiper-pagination-fraction {
    bottom: 100px;
}

.index-slider .swiper-pagination-bullet {
    width: 11px;
    height: 11px;
    background: #fff;
}

.index-slider .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 6px;
}

.swiper-slide-active .content-fadeInUp {
    animation-duration: 1s;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    opacity: 0;
    animation-name: owl-content-fadeInUp;
    -webkit-animation-name: owl-content-fadeInUp;
}

@keyframes owl-content-fadeInUp {
    from {
        transform: translate3d(0, 40px, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@-webkit-keyframes owl-content-fadeInUp {
    from {
        transform: translate3d(0, 40px, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

/* end banner */

.cms-box {
    padding: 60px 0;
}

.cms-box .text-content {
    padding: 0 40px;
    position: relative;
}

.cms-box .text-content .title-box {
    margin-bottom: 40px;
}

.cms-box .text-content .title-box .title {
    font-size: 26px;
    letter-spacing: 3px;
    margin-bottom: 0;
}

.cms-box .text-content .title-box .en-title {
    color: #264299;
    font-weight: 300;
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

/*end. container
--------------------------------*/

/*--------------------------------
start. footer*/

.footer {
    padding-top: 220px;
}

.footer-dark .container {
    z-index: 2;
    position: relative;
}

.footer::after {
    background: url(../images/waves2.svg) top no-repeat;
}

.footer-dark * {
    color: #fff;
}

.footer-logo {
    height: 70px;
}

#footer img.footer-logo {
    margin-bottom: 10px;
}

#footer address i {
    font-size: 17px;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    color: rgb(255 255 255 / 0.8);
    margin: 0;
    vertical-align: middle;
}

.social-icon i {
    margin-left: 1px;
    margin-top: 7px;
    color: #643c94;
}

.footer .footer-social .social-icon.facebook:hover {
    background-color: #3B5998;
}

.footer .footer-social .social-icon.facebook:hover i {
    color: #fff;
}

.footer .footer-social .social-icon.instagram:hover {
    background-color: #916454;
}

.footer .footer-social .social-icon.instagram:hover i {
    color: #fff;
}

.copyright-box p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
    color: #fff !important;
}

.copyright-box p a {
    color: #fff !important;
}

.back_top {
    border-color: #314198;
}

.back_top i {
    color: #314198;
}

/*end. footer
--------------------------------*/

/*end. index
--------------------------------*/

/*--------------------------------
start. in*/

.page-header {
    padding: 120px 0 80px;
    position: relative;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-weight: 400;
    font-size: 26px;
    color: #fff;
}

.page-header .desc {
    font-size: 14px;
    font-weight: 300;
    color: #fff;
}

.page-header .breadcrumb, .page-header .breadcrumb a {
    font-size: 14px;
    font-weight: 300;
    background-color: transparent;
}

.page-header .breadcrumb>li {
    position: relative;
    color: #fff;
}

.page-header .breadcrumb>li a {
    color: #fff;
}

.page-header .breadcrumb li.active {
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.page-header .breadcrumb>li+li {
    margin-left: 22px;
}

.page-header .breadcrumb>li+li:before {
    position: absolute;
    left: -20px;
    padding: 0 7px;
    content: "•";
}

.side-nav {
    position: relative;
    margin-bottom: 40px;
}

.side-nav::before {
    content: '';
    width: 100%;
    height: 3px;
    top: 0;
    left: 0;
    background-image: linear-gradient(135deg, #793f94 30%, #123392 100%);
}

ul.side-nav .list-group-item {
    border: 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
    border-radius: 0;
    padding: 0;
}

ul.side-nav .list-group-item:last-child {
    border-bottom: 0;
}

ul.side-nav>li>a {
    padding: 18px 30px 18px 0;
    display: block;
}

ul.side-nav a {
    font-size: 16px;
    font-weight: 400;
    color: #000;
}

ul.side-nav a:hover {
    color: #743e94;
}

ul.side-nav>li>a>i {
    position: absolute;
    right: 0;
    font-size: 16px;
    top: 23px;
    color: #743e94;
}

.inner-content {
    padding: 80px 0;
}

.page-link {
    border: 0;
    padding: 0;
    font-size: 18px;
    border-radius: 0 20px 0 20px !important;
    margin: 0 1px;
    width: 48px;
    height: 48px;
    text-align: center;
    line-height: 48px;
    color: #333;
    font-weight: 800;
}

.page-item.active .page-link {
    background-color: #264299;
    border-color: #264299;
}

/* contact */

.appointment-form hgroup .title {
    font-size: 28px;
    color: #394097;
    letter-spacing: 2px;
}

.appointment-form hgroup .desc {
    font-size: 16px;
    font-weight: 300;
    color: #666;
    letter-spacing: 1px;
}

.appointment-form .form-control {
    border-radius: 0;
    border: 1px solid transparent;
    font-size: 16px;
    font-weight: 300;
    color: #000;
    background: #f3f3f3;
    box-shadow: inset -1px 1px 3px rgba(0, 0, 0, 0.2);
}

.appointment-form .form-control:focus {
    border-color: #394097;
}

.appointment-form .form-control:not(textarea) {
    height: 47px;
}

.form-control::-webkit-input-placeholder {
    color: #555;
    opacity: 1
}

.form-control::-moz-placeholder {
    color: #555;
    opacity: 1
}

.form-control:-ms-input-placeholder {
    color: #555;
    opacity: 1
}

.form-control::-ms-input-placeholder {
    color: #555;
    opacity: 1
}

.form-control::placeholder {
    color: #555;
    opacity: 1
}

/* radio & checkbox */

.radio, .checkbox {
    display: inline-block;
    margin: 0 15px 3px 0;
    padding-left: 36px;
    font-size: 16px;
    line-height: 34px;
    color: #404040;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.radio input, .checkbox input {
    position: absolute;
    margin-top: -60px !important;
}

.radio i, .checkbox i {
    position: absolute;
    top: 5px;
    left: 0;
    display: block;
    width: 24px;
    height: 24px;
    outline: none;
    border-width: 2px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.3);
}

.radio i {
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    border-radius: 50% !important;
}

.radio input+i:after, .checkbox input+i:after {
    position: absolute;
    opacity: 0;
    transition: opacity 0.1s;
    -o-transition: opacity 0.1s;
    -ms-transition: opacity 0.1s;
    -moz-transition: opacity 0.1s;
    -webkit-transition: opacity 0.1s;
}

.radio input+i:after {
    content: '';
    top: 7px;
    left: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.checkbox input+i:after {
    content: '\f00c';
    top: 2px;
    left: 3px;
    width: 15px;
    height: 15px;
    font: normal 14px/16px FontAwesome;
    text-align: center;
}

.radio input:checked+i, .checkbox input:checked+i {
    background-color: #394097;
}

.radio input:checked+i:after, .checkbox input:checked+i:after {
    opacity: 1;
    color: #fff;
}

.radio input+i:after {
    background-color: rgba(0, 0, 0, 8);
}

section.dark .radio input+i:after {
    background-color: rgba(255, 255, 255, 8);
}

.checkbox input+i:after {
    color: rgba(0, 0, 0, 8);
}

/* news */

.news-box .title-box .title {
    font-size: 20px;
}

.news-box .title-box .info {
    font-size: 0;
    color: #007bff;
    font-weight: 300;
    margin: 20px 0;
    font-style: italic;
}

.news-box .title-box .info li {
    position: relative;
    margin-right: 25px;
    font-size: 14px;
}

.news-box .title-box .info li::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 3px;
    width: 1px;
    height: 16px;
    background: #007bff;
}

.news-box .title-box .info li:last-child::after {
    content: none;
}

@media (max-width: 1199px) {
    .index-slider .heading {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .index-slider .para-sec {
        font-size: 16px;
    }
    .cms-box .text-content {
        padding: 0;
    }
    /* search */
    .nav-main-collapse .nav-main ul li a {
        padding: 15px;
    }
    /* end search */
}

@media (max-width: 992px) {}

@media (max-width: 991px) {
    .navbar-collapse {
        display: none;
    }
    p {
        text-align: left;
    }
    .footer-social {
        text-align: left;
    }
    .footer {
        padding-top: 100px;
    }
    .btn {
        height: 44px !important;
    }
    .news-box .title-box .title {
        font-size: 17px;
    }
    /* search */
    .sp-menu {
        box-shadow: none;
    }
    .navbar>.container, .navbar>.container-fluid {
        justify-content: center;
    }
    .navbar-toggler {
        font-size: 21px;
        margin-right: 9px;
    }
    .search-box .dropdown-toggle {
        color: #264299;
        font-size: 19px;
    }
    /* end search */
}

@media (max-width: 768px) {}

@media (max-width: 767px) {
    /*g-recaptcha*/
    .g-recaptcha {
        transform: scale(0.82);
        -webkit-transform: scale(0.82);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
    .page-header .breadcrumb {
        padding: 20px 0 0;
    }
    .inner-content {
        padding: 50px 0;
    }
    .page-header h1 {
        font-size: 22px;
    }
    .appointment-form hgroup .title {
        font-size: 22px;
    }
    .cms-box {
        padding: 30px 0;
    }
    .cms-box .text-content {
        padding: 30px 0;
    }
}

@media (max-width: 575px) {
    .index-slider .heading {
        font-size: 24px;
    }
}

@media (max-width: 425px) {
    .custom-nav .navbar-brand.brand-logo img {
        height: 48px;
    }
}

/* search */
@media (max-width: 352px) {
    .custom-nav .navbar-brand.brand-logo img {
        height: 42px;
    }
}
/* end search */

/*end. in
--------------------------------*/