/* 套版常用設定 */
:root {
	--font-default: 'Outfit', "Noto Sans TC", '微軟正黑體', 'Microsoft JhengHei', '文泉驛正黑', 'WenQuanYi Zen Hei', '儷黑 Pro', 'LiHei Pro', '微软雅黑', 'メイリオ', '맑은 고딕', "Helvetica Neue", Helvetica, Arial, sans-serif;
	--font-heading: 'Outfit', "Noto Sans TC", '微軟正黑體', 'Microsoft JhengHei', '文泉驛正黑', 'WenQuanYi Zen Hei', '儷黑 Pro', 'LiHei Pro', '微软雅黑', 'メイリオ', '맑은 고딕', "Helvetica Neue", Helvetica, Arial, sans-serif;
	--font-secondary: 'Manrope', "Noto Sans TC", '微軟正黑體', 'Microsoft JhengHei', '文泉驛正黑', 'WenQuanYi Zen Hei', '儷黑 Pro', 'LiHei Pro', '微软雅黑', 'メイリオ', '맑은 고딕', "Helvetica Neue", Helvetica, Arial, sans-serif;
    --color-primary: #275174;
    --color-secondary: #3f9ba7;
    --bg-gradient-secondary-rev: linear-gradient(90deg, var(--dark-secondary) 40%, var(--color-secondary) 100%);
}

body {
    font-size: 1rem;
}

img {
    max-width: 100%;
    height: auto !important;
}
a:hover,
.btn-link:hover {
    color: var(--primary);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.cke_editable ol,
.cke_editable ul,
.backend-editor-body ol,
.backend-editor-body ul,
.editor ol,
.editor ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}
.cke_editable ol > li,
.backend-editor-body ol > li,
.editor ol > li,
.cke_editable ul > li,
.backend-editor-body ul > li,
.editor ul > li {
    list-style-type: unset;
}
.cke_editable ol,
.backend-editor-body ol,
.editor ol {
    list-style: decimal;
}
.cke_editable ol[type="1"],
.backend-editor-body ol[type="1"],
.editor ol[type="1"] {
    list-style: decimal;
}
.cke_editable ol[type="a"],
.backend-editor-body ol[type="a"],
.editor ol[type="a"] {
    list-style: lower-alpha;
}
.cke_editable ol[type="A"],
.backend-editor-body ol[type="A"],
.editor ol[type="A"] {
    list-style: upper-alpha;
}
.cke_editable ol[type="i"],
.backend-editor-body ol[type="i"],
.editor ol[type="i"] {
    list-style: lower-roman;
}
.cke_editable ol[type="I"],
.backend-editor-body ol[type="I"],
.editor ol[type="I"] {
    list-style: upper-roman;
}
.cke_editable ul,
.backend-editor-body ul,
.editor ul {
    list-style-type: disc;
}

.cke_editable .list-unstyled,
.editor .list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}

.embed-responsive {
    position: relative;
    display: block;
    height: auto;
    padding: 0;
    overflow: hidden;
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

body div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
    background: #111111;
}
body div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):focus-visible{
    box-shadow:0 0 0 3px rgba(17,17,17,.5)
}

.txt-c1 {
    color: var(--color-primary);
}
.txt-c2 {
    color: var(--color-secondary);
}
.bg-c1 {
    background: var(--color-primary);
}
.bg-c2 {
    background: var(--color-secondary);
}
nav.navbar.validnavs.navbar-fixed .logo,
nav.navbar.validnavs .navbar-collapse.collapse img {
    width: 180px;
}
footer .logo {
    width: 240px;
}
.footer-contact-list li a {
    display: flex;
}
.footer-contact-list li a i {
    display: block;
    width: 1em;
    text-align: center;
    margin-right: 0.75em;
    line-height: 28px;
}
.footer-shape .item:first-child img,
.footer-shape .item:nth-child(2) img {
    height: 100% !important;
}

.item-flex li i,
.about-card li i {
    color: var(--color-secondary);
}
.about-style-two .experience {
    background: var(--bg-gradient-secondary-rev);
}
.testimonial-swiper-nav {
    position: relative;
	display: flex;
	width: 200px;
	justify-content: space-between;
	align-items: center;
}

.testimonial-swiper-nav > div {
	height: 40px;
	width: 40px;
	background: var(--color-primary);
	z-index: 9;
	position: relative;
	border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-swiper-nav > div::after {
	content: "";
	font-family: "Font Awesome 5 Pro";
	text-align: center;
	color: var(--white);
}

.testimonial-swiper-nav .testimonial-button-next::after {
	content: "\f105";
}

.testimonial-swiper-nav .testimonial-button-prev::after {
	content: "\f104";
}

.testimonial-swiper-nav .testimonial-pagination {
	background: transparent;
	position: absolute;
	line-height: 40px;
	color: var(--color-primary);
	font-size: 24px;
	width: auto;
	font-weight: 600;
	left: 50%;
	transform: translateX(-50%);
	top: 0;
}


.partner-button-next,
.partner-button-prev,
.lector-button-next,
.lector-button-prev {
	height: 40px;
	width: 40px;
	background: var(--color-primary);
	z-index: 20;
	position: absolute;
	border-radius: 50%;
    top: 50%;
    margin-top: -20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.partner-button-next.swiper-button-disabled,
.partner-button-prev.swiper-button-disabled,
.lector-button-next.swiper-button-disabled,
.lector-button-prev.swiper-button-disabled {
    display: none;
}

.partner-button-prev {
    left: -50px;
}
.partner-button-next {
    right: -50px;
}
.lector-button-prev {
    left: -80px;
}
.lector-button-next {
    right: -80px;
}
.partner-button-next::after,
.partner-button-prev::after,
.lector-button-next::after,
.lector-button-prev::after {
	content: "";
	font-family: "Font Awesome 5 Pro";
	text-align: center;
	color: var(--white);
}

.partner-button-next::after,
.lector-button-next::after {
	content: "\f105";
}

.partner-button-prev::after,
.lector-button-prev::after {
	content: "\f104";
}
.owner-info img {
    width: 230px;
}
.fun-fact .icon {
    margin-bottom: 0.5em;
}
.list-item {
    padding-left: 30px !important;
}
.blog-style-one .tags {
    margin-right: -5px;
}
.custom-tags .badge {
    color: #fff !important;
    font-size: 0.8rem;
    background: var(--color-secondary);
    margin-right: 5px;
}
.custom-tags a.badge:hover {
    color: #fff;
    background: var(--color-primary);
}
.custom-tags a.badge:active,
.custom-tags.c2 a.badge:active {
    color: #fff;
    background: var(--dark);
}
.custom-tags.c2 .badge {
    background: var(--color-primary);
}
.custom-tags.c2 a.badge:hover {
    background: var(--color-secondary);
}
.custom-tags.c3 .badge {
    background: #888;
}
.custom-tags.c3 a.badge:hover {
    background: #666;
}
.custom-tags.c4 .badge {
    background: #db001f;
}
.custom-tags.c4 a.badge:hover {
    background: #870214;
}
.pagination .page-link:hover,
.pagination .page-link:focus {
    color: var(--color-primary);
}
.pagination .page-link:focus {
    box-shadow: 0 0 0 .25rem rgba(63, 155, 167, .25);
}
.pagination li.page-item.active a {
    color: #fff;
}
.gallery-style-four-carousel .swiper-pagination span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--color-primary);
}
ul.check-list.fr-1 {
    grid-template-columns: 1fr;
}
.service-item-box {
    background: #f5f5f5;
    padding: 2em;
}
.service-item-box .more {
    display: inline-block;
    border-bottom: 1px solid;
    position: relative;
}
.service-item-box .more::after {
    content: "\f178";
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    position: absolute;
    left: 100%;
    margin-left: 1em;
    color: var(--color-secondary);
    transition: 0.3s;
}
.service-item-box .more:hover,
.service-item-box .more:hover::after {
    color: var(--color-primary);
}
.service-item-box .more:hover::after {
    margin-left: 1.5em;
}
.social .a2a_default_style {
    display: inline-block;
    vertical-align: middle;
}

.blog-area-blockquote {
	position: relative;
	z-index: 1;
	border: none;
	font-size: 22px;
	margin-top: 30px;
	margin-bottom: 30px;
	color: #c3d2ff;
	font-weight: 400;
	background: var(--dark);
	padding: 80px 50px;
	font-style: italic;
	line-height: 1.7;
}

.blog-area-blockquote::after {
	position: absolute;
	right: 50px;
	content: "\f10d";
	font-family: "Font Awesome 5 Pro";
	color: var(--white);
	bottom: -25px;
	font-weight: 100;
	opacity: 0.1;
	font-size: 120px;
	font-style: normal;
	line-height: 1;
}

.blog-area-blockquote cite {
	display: block;
	margin-top: 15px;
	color: #999999;
	font-weight: 600;
	font-style: normal;
}

.blog-area-blockquote p {
	margin: 0;
	position: relative;
	z-index: 1;
	line-height: 34px;
	font-size: 16px;
	font-style: italic;
	font-weight: 600;
	color: #c3d2ff;
}

.course-desc {
    display: flex;
    line-height: 1.4;
    margin-bottom: 0.35em;
}
a.course-desc {
    color: inherit;
    font-weight: 400;
}
.project-info ul li i,
.course-desc i {
    color: var(--color-secondary);
    display: inline-block;
    width: 1em;
    flex-shrink: 0;
    text-align: center;
    margin-right: 0.5em;
    line-height: inherit;
}
.project-info ul li .desc {
    font-weight: 400;
    position: relative;
    display: block;
    font-family: var(--font-default);
    font-size: 16px;
    color: var(--color-paragraph);
}
.bt-style1 {
    display: block;
    padding: 13px 40px;
    border-radius: 5px;
    font-size: 16px;
    color: var(--white);
    border: none;
    background: var(--color-primary);
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-align: center;
}
.bt-style1.disabled {
    background: #888;
}
.bt-style1.disabled.status4 {
    background: #db001f;
}
.bt-style1:hover {
    color: #fff;
}
.bt-style1::after {
	position: absolute;
	top: inherit;
	right: inherit;
	bottom: inherit;
	left: -5%;
	content: "";
	height: 150px;
	width: 115%;
	z-index: -1;
	background-color: var(--dark);
	-webkit-transition: all 0.25s ease-in-out;
	transition: all 0.25s ease-in-out;
	-webkit-transform: translateY(-45%) skew(25deg) scale(0);
	transform: translateY(-45%) skew(25deg) scale(0);
}
.bt-style1:hover::after {
	-webkit-transform: translateY(-45%) skew(25deg) scale(1.2);
	transform: translateY(-45%) skew(25deg) scale(1.2);
}
.form-control:focus {
    border-color: var(--color-secondary);
}
.form-control.is-invalid:focus, .was-validated .form-control:invalid:focus {
    box-shadow: none;
}
.bt-link {
    color: var(--color-secondary);
}
.bt-link:hover {
    color: var(--color-primary);
}
.form-check .form-check-input {
    min-height: 0;
}
.custom-form .form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}
.custom-form .form-check-input:focus {
    box-shadow: 0 0 0 .25rem rgba(39, 81, 116, .25);
}
.contact-form-style-one .form-control[readonly] {
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}
.contact-form-style-one .form-control.is-invalid {
    border-color: #dc3545;
}
.comments-area .comments-form .nice-select,
.contact-form-style-one .nice-select {
    height: auto;
    line-height: 1.5;
}
.comments-area .comments-form .nice-select .current,
.contact-form-style-one .nice-select .current {
    display: block;
}
.display-toggle {
    display: none;
}
.display-toggle.show {
    display: block;
}
.services-list-widget a::after {
    content: '\f061';
}

.custom-table {
    line-height: 1.5;
}
.custom-table th {
    white-space: nowrap;
}
.custom-table tbody tr th,
.custom-table tbody tr td {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
}
.btn {
    border-radius: 5px;
}
.btn.btn-primary {
    color: #fff;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn.btn-secondary {
    background: var(--bs-secondary);
}
.btn.btn-sm {
    padding: 0.5em 1em !important;
}
.btn.btn-theme.disabled {
    background: #aaa;
}
.btn.btn-theme.disabled::after {
    display: none;
}
.default-feature-item a {
    background: #e4ecf1;
}
.services-style-two .info.pt-30 {
    padding-top: 30px;
}
.payinfo-table {
    max-width: 480px;
    margin: 0 auto;
}
.payinfo-table th {
    width: 40%;
}
.banner-style-one h2,
.banner-style-one .h2 {
    font-size: 60px;
}

@media (min-width: 768px) {
}
@media (min-width: 992px) {
    .about-style-two .experience {
        bottom: -150px;
    }
}
@media (min-width: 1200px) {
    .about-style-one .about-card {
        display: none;
    }
}
@media (min-width: 1400px) {
    .about-style-two .experience {
        left: -150px;
        bottom: 50px;
    }
}

@media only screen and (max-width: 1400px) {
    .lector-button-prev {
        left: -50px;
    }
    .lector-button-next {
        right: -50px;
    }
    .partner-carousel-wrap,
    .lector-carousel-wrap {
        margin-left: 30px;
        margin-right: 30px;
    }
}
@media only screen and (max-width: 1200px) {
}
@media only screen and (max-width: 1023px) {
    .wrapper {
        padding-top: 138px;
    }
    .top-bar-area {
        position: fixed;
        z-index: 200;
        top: 0;
        left: 0;
        right: 0;
    }
    nav.navbar.validnavs.navbar-fixed {
        position: fixed !important;
        z-index: 200;
        top: 50px;
        left: 0;
        right: 0;
        box-shadow: 0 0 10px rgba(17,17,17,.5) !important;
    }
}
@media only screen and (max-width: 991px) {

    .custom-table.rwd-lg-down thead {
        display: none;
    }
    .custom-table.rwd-lg-down tbody tr,
    .custom-table.rwd-lg-down tbody td {
        display: block;
    }
    .custom-table.rwd-lg-down tbody tr {
        border-bottom: var(--bs-border-width) solid var(--bs-table-border-color);
        padding: 1em 0;
    }
    .custom-table.rwd-lg-down tbody td {
        border-bottom: 0;
        padding: 0.25em 0;
        display: flex;
    }
    .custom-table.rwd-lg-down tbody td::before {
        content: attr(data-title)'：';
        color: #999;
        flex-shrink: 0;
    }
}

@media only screen and (max-width: 767px) {
    .wrapper {
        padding-top: 88px;
    }
    nav.navbar.validnavs.navbar-fixed {
        top: 0;
    }
    .partner-carousel-wrap {
        margin-top: 50px;
        padding-top: 10px;
    }
    .lector-carousel-wrap {
        padding-top: 60px;
    }

    .partner-button-next,
    .lector-button-next,
    .partner-button-prev,
    .lector-button-prev {
        top: 0;
        transform: none;
        margin-top: 0;
    }
    .partner-button-prev,
    .lector-button-prev {
        left: 50%;
        margin-left: -50px;
    }
    .partner-button-next,
    .lector-button-next {
        right: 50%;
        margin-right: -50px;
    }
    .custom-table.rwd-md-down thead {
        display: none;
    }
    .custom-table.rwd-md-down tbody tr,
    .custom-table.rwd-md-down tbody td {
        display: block;
    }
    .custom-table.rwd-md-down tbody tr {
        border-bottom: 1px solid #ccc;
        padding: 1em 0;
    }
    .custom-table.rwd-md-down tbody td {
        border-bottom: 0;
        padding: 0.25em 0;
        display: flex;
    }
    .custom-table.rwd-md-down tbody td::before {
        content: attr(data-title)'：';
        color: #999;
        flex-shrink: 0;
    }
}
