﻿/* globel
************************************* */
* {
    position: relative;
    color: #383b3a;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    font-family: "Microsoft JhengHei", "微軟正黑體", Arial, Helvetica, sans-serif;
    background: #f6f6f6;
    line-height: 1;
}

a,
p,
div,
strong,
span,
ul,
li,
label,
em,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Microsoft JhengHei", "微軟正黑體", Arial, Helvetica, sans-serif;
    word-wrap: break-word;
}

a {
    display: block;
}

a,
a:hover,
a:focus {
    text-decoration: none;

}

ul,
li {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 表單樣式
************************************* */
label {
    margin: 0;
    font-size: 1em;
}

input[type="text"],
input[type="password"],
textarea {
    margin: 0 3px 0 0;

    border: 1px solid #ccc;
    border-radius: 2px;
    padding: 7px 14px;
    line-height: normal;
    font-size: 0.97rem;
}

select {
    padding: 7px 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url(../images/arr_select.png) right center no-repeat #ffffff;
    font-size: 0.97rem;
    border: 1px solid #ccc;
    border-radius: 2px;
    line-height: normal;
}

input.textfield_S,
select.select_S {
    width: 100px;
}

input.textfield_M {
    width: 182px;
}

input.textfield_L,
select.select_L {
    width: 300px;
}

input.textfield_XL {
    width: 500px;
}

.course-search-cont {
    float: left;
    width: 75%;
    padding: 9px 25px;
}

/*input:focus,
select:focus {
    outline: none;
}

input[type="radio"] {
    display:none;
}

input[type="radio"] + label span {
    display:inline-block;
    width: 18px;
    height: 18px;
    margin: -2px 10px 0 0;
    vertical-align: middle;
    background: url(../images/radio_sheet.png) left top no-repeat;
    cursor: pointer;
}

input[type="radio"]:checked + label span {
    background:url(../images/radio_sheet.png) -18px top no-repeat;
}*/


/* 通用
**************************************/
.clearfix:after {
    content: "";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.Container,
.container {
    width: 100%;
    margin: 0 auto;
}

a:hover {
    opacity: 0.8;
}

/* #sb-site {
    margin-top: 152px;
} */

/* Header
**************************************/
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    -moz-box-shadow: 0px 0px 10px 0px #242424;
    -o-box-shadow: 0px 0px 10px 0px #242424;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.1);
}

.header h1 {
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
}

/*topNav*/
.top-nav {
    background: #358f8c;
    float: left;
    width: 100%;
}

a.long-nav {
    width: auto !important;
    padding: 5px 8px !important;
}

.top-nav-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: block;
}

nav.topnav {
    float: right;
}

nav.topnav a {
    color: #fff;
    font-size: 0.95em;
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    padding: 5px 0;
    float: left;
    vertical-align: middle;
    width: 95px;
    height: 32px;
    line-height: 21px;
    text-align: center;
}

nav.topnav a:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.4);
}

nav.topnav a.font-size,
nav.topnav a.icon-nav {
    width: 45px;
}

nav.topnav a.icon-nav {
    padding: 4px 0;
}

nav.topnav a.font-size.active {
    background: #0d6664;
}

.icon-nav img {
    width: 20px;
    height: auto;
    aspect-ratio: auto 20 / 19;
    display: block;
    margin: 0 auto;
    padding-top: 1px;
}

nav.header-right-nav {
    float: right;
    width: 110px;
}

nav.header-right-nav a {
    float: left;
    width: 86px;
    font-size: 0.85rem;
    background: url(../images/rightnavi-1.png) center 8px no-repeat #f7788c;
    color: #fff;
    padding: 50px 15px 6px 15px;
    text-align: center;
    height: 90px;
    border-right: 1px solid #fff;
    line-height: 16px;
}

nav.header-right-nav a.right-nav-i2 {
    background: url(../images/rightnavi-2.png) center 13px no-repeat #f7788c;
    background-size: 32%;
}

nav.header-right-nav a.right-nav-i3 {
    background: url(../images/rightnavi-3.png) center 13px no-repeat #f7788c;
}

/*--*/
.header-nav-inner,
.top-nav-inner,
.Container {
    max-width: 90%;
    max-width: 1440px;
}

/*主選單*/
.header-nav-wrapper {
    float: left;
    width: 100%;
    height: 90px;
    background: #fff;
    position: relative;
}

.header-nav-inner {
    display: block;
    margin: 0 auto;
}

.header-logo {
    background: url(../images/logo.svg) center center no-repeat;
    font-size: 0;
    width: 20%;
    height: 68px;
    float: left;
    margin: 11px 0;
}

nav.header-right-nav {
    float: right;
    width: 180px;
}

.header-main-nav {
    text-align: center;
    margin: 0;
    width: 60%;
    float: left;
}

nav.header-right-nav a:last-child {
    border-right: 0;
}

.right-nav-i2 {
    background: url(../images/rightnavi-2.png) center 6px no-repeat #f7788c;
}

.header-main-nav>ul {
    width: 100%;
}

.header-main-nav>ul>li {
    /* width: 15%; */
    height: 119px;
    /* line-height: 90px; */
    display: inline-block;
    vertical-align: top;
    margin: 0 -4px 0 0;
    /*padding: 61px 3% 0 3%;*/
    padding: 0 3%;
    font-weight: bold;
    position: relative;
}

.header-main-nav>ul>li .header-main-nav-hit {
    color: #333333;
    font-size: 1.09em;
    display: block;
    width: 100%;
    font-weight: bold;
    padding: 61px 0 0 0;
}

.main-nav1 {
    background: url(../images/navi-1.png) center 10px no-repeat;
}

.main-nav2 {
    background: url(../images/navi-2.png) center 10px no-repeat;
}

.main-nav3 {
    background: url(../images/navi-3.png) center 10px no-repeat;
}

.main-nav4 {
    background: url(../images/navi-4.png) center 10px no-repeat;
}

.main-nav5 {
    background: url(../images/navi-5.png) center 10px no-repeat;
}

.main-nav6 {
    background: url(../images/navi-13.png) center 12px no-repeat;
}

/*子選單*/
.header-sub-nav {
    width: 180px;
    position: absolute;
    background: #fff;
    background-size: 100%;
    left: 50%;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    display: none;
    top: 90px;
    transform: translateX(-50%);
}

.header-main-nav-open>a {
    color: #0096c9 !important;
    opacity: 1;
}

.header-sub-nav-inner {
    width: 100%;
    margin: 0 auto;
    text-align: left;
    overflow: hidden;
    border-top: 1px solid #99cfe1;
}

.header-sub-nav-list {
    float: left;
    border-left: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    line-height: initial;
    background: #edfaff;
}

.header-sub-nav-list>li {
    float: left;
    width: 100%;
    margin: 0;
    padding: 13px 0;
    text-align: center;
    border-bottom: 1px solid #99cfe1;
}

.header-sub-nav-list>li>a {
    color: #333;
    font-size: 1.1rem;
    font-weight: bold;
    display: block;
}

/*漢堡選單*/
.hamburger {
    width: 33px;
    cursor: pointer;
    position: absolute;
    z-index: 9;
    right: 25px;
    top: 22px;
    display: none;
}

.hamburger .line {
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 40px;
    background-color: #fff;
    margin: 7px 0;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.hamburger.active .line:nth-child(1) {
    transform: translateY(11px) rotate(43deg);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
}

/* fat footer
**************************************/
.fat-footer {
    background: #0096c9;
    width: 100%;
    /* padding: 40px 0; */
    float: left;
    width: 100%;
    z-index: 9;
}

.fat-footer-sw {
    width: 100%;
    text-align: center;
    padding: 15px 0;
}

.fat-footer-sw a {
    display: inline-block;
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    position: relative;
}

.fat-footer-sw .open-arr,
.fat-footer-sw .close-arr {
    fill: #fff;
    width: 8px;
    height: 5px;
    margin: 5px 0 0 0;
    display: inline-block;
    vertical-align: top;
}

.fat-footer-inner {
    width: 75%;
    margin: 0 auto;
    overflow: hidden;
}

.fat-footer-content {
    width: 17%;
    line-height: 20px;
    vertical-align: top;
    display: inline-block;
    margin: 0 1%;
}

.fat-footer-content .title {
    font-weight: bold;
    font-size: 1em;
    margin: 0 auto 15px auto;
    padding: 10px 3%;
    display: block;
    background: #1fa3d0;
    width: 95%;
    text-align: center;
}

.fat-footer-content .title a {
    color: #fff;
}

.fat-footer-content ul {
    width: 90%;
    display: none;
    margin: 0 auto 45px auto;
    padding: 0;
}

.fat-footer-content ul li {
    margin: 0 0 10px 0;
    display: inline-block;
    width: 100%;
}

.fat-footer-content ul li a {
    background: url(../images/fat_footer_bullet.png) 0 center no-repeat;
    padding-left: 10px;
    font-weight: bold;
    color: #fff;
    font-size: 0.96em;
}

/* footer
**************************************/
.footer {
    background: #ffffff;
    font-size: 0.95em;
    color: #fff;
    /*border-top: 1px solid #cecece;*/
    float: left;
    width: 100%;
}

.footer a,
.footer p {
    color: #fff;
}

.footer-inner {
    width: 74%;
    margin: 0 auto;
    overflow: hidden;
}

.footer-inner ul {
    padding: 0;
    margin: 0;
    text-align: center;
}

.footer-menu ul li {
    display: inline-block;
    color: #fff;
}

.footer-contact-info {
    margin: 0;
    padding: 15px 0;
    line-height: 26px;
    float: left;
    width: 50%;
}

.footer-contact-info img {
    width: 240px;
    display: block;
    margin: 0 0 9px 0;
}

.footer-right {
    float: right;
}

.footer-img {
    width: 100%;
    padding: 15px 0 0 0;
    float: left;
    text-align: right;
}

.footer-img a {
    display: inline-block;
    width: 130px;
}

.footer-img a img {
    display: block;
    width: 130px;
    height: auto;
    aspect-ratio: auto 130 / 43;
}

.footer-info {
    margin: 0;
    padding: 0;
    line-height: 26px;
    text-align: right;
    float: right;
    width: 100%;
}

.footer-menu {
    padding: 9px 0;
    width: 100%;
    float: left;
    background: #414040;
}


/* RWD Nav
**************************************/

/*Search*/
.rwd-search {
    width: 100%;
    margin: 15px 0;
}

.rwd-search .textfield {
    width: 90%;
    display: block;
    margin: 0 auto;
    text-align: left;
    border: none;
    padding: 8px 2%;
}

.rwd-search-btn {
    width: 90%;
    margin: 10px auto 0 auto;
    overflow: hidden;
}

.rwd-search .btn {
    padding: 7px 10px;
    background: #ffa404;
    color: #fff;
    display: block;
    float: left;
    font-weight: bold;
    border: 0;
    font-size: 1rem;
    width: 47%;
    text-align: center;
}

.rwd-search .adv-search {
    float: right;
}

.rwd-nav-btn {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    /* margin: 0 -10px; */
}

.rwd-nav-btn a {
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    padding: 10px 20px;
    border: 1px solid #555;
    color: #fff;
    line-height: 1.4;
    margin: 5px;
}

/*選單*/

.rwd-nav-row {
    font-size: 1.2em;
    border-bottom: 1px solid #444;
}

.rwd-nav-row:first-child {
    border-top: 1px solid #444;
}

.rwd-nav-row>a {
    color: #fff;
    display: block;
    width: 90%;
    padding: 15px 0;
    margin: 0 auto;
    background: url(../images/rwd_subnav_open.png) right center no-repeat;
}

.rwd-nav-row>.rwd-subnav-close {
    background: url(../images/rwd_subnav_close.png) right center no-repeat;
}

.rwd-nav-arr {
    color: #fff;
    display: block;
    width: 90%;
    padding: 15px 0;
    margin: 0 auto;
    background: url(../images/rwd_subnav_open.png) right center no-repeat;
}

.rwd-nav-close {
    background: url(../images/rwd_subnav_close.png) right center no-repeat;
}

.rwd-subnav {
    background: #424242;
    display: none;
}

.rwd-subnav>li {
    border-bottom: 1px solid #555;
}

.rwd-subnav>li>a {
    color: #fff;
    display: block;
    width: 90%;
    padding: 15px 0;
    margin: 0 auto;
}

.rwd-thirdnav {
    background: #565656;
    display: none;
}

.rwd-thirdnav>li {
    border-bottom: 1px solid #696969;
    position: relative;
}

.rwd-thirdnav>li>a {
    color: #fff;
    display: block;
    width: 90%;
    padding: 15px 0 15px 20px;
    margin: 0 auto;
    position: relative;
}

.rwd-thirdnav>li>a::before {
    content: "";
    display: block;
    position: absolute;
    width: 5px;
    height: 5px;
    left: 7px;
    top: 22px;
    background-color: #fff;
}

/*msic*/
.rwd-msic {
    float: left;
    width: 100%;
    text-align: center;
    padding: 25px 0;
}

.rwd-msic ul li {
    width: 80%;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    border: 1px solid #444;
    margin: 0 2% 15px 2%;
}

.rwd-msic ul li a {
    color: #fff;
    display: block;
    padding: 10px 0;
    width: 80%;
    margin: 0 auto;
}

.rwd-country {
    padding: 15px;
}

.rwd-country label {
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.rwd-country select {
    width: 100%;
}

/* Back to Top
**************************************/
.back_top {
    position: fixed;
    bottom: 30px;
    right: 45px;
    z-index: 99999;
}

.back_top a {
    display: block;
    width: 55px;
    height: 55px;
    font-size: 0;
    background: rgb(0, 150, 201);
    border-radius: 100%;
    position: relative;
    text-align: center;
}

.topArr {
    font-size: 1.25rem;
    color: white;
    line-height: 55px;
    transition: transform .2s ease-out;
}

.back_top>a:hover>.topArr {
    transform: translateY(-4px);
}


/* Header 社群
**************************************/
.top-nav .social-drop {
    position: absolute;
    top: 32px;
    cursor: pointer;
    z-index: 999;
    right: 45px;
    width: 45px;
    box-shadow: 0 0 7px rgba(0, 0, 0, .2);
}

.top-nav .social-drop a {
    height: 45px;
    width: 45px;
    padding: 0;
    border: none !important;
}


img {
    border-style: none;
    display: block;
}



/* 搜尋下拉
**************************************/

.header-searchbar {
    width: 100%;
    background: #fff;
    position: absolute;
    left: 0;
    padding: 30px 0;
    display: none;
    top: 32px;
    z-index: 999;
}

.header-searchbar-inner {
    width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.hide {
    display: none;
}

.header-searchbar .header-search {
    width: 420px;
    float: left;
    margin: 0 10px 0 0;
    background-color: #ededed;
    border: none;
    border-radius: 2px;
    padding: 9.5px 14px;
}

.header-search-btn,
.header-advsearch-btn {
    background: #38b0e2;
    color: #fff;
    padding: 10px 25px;
    height: 40px;
    margin: 0 10px 0 0;
    cursor: pointer;
    float: left;
    font-size: 0.95rem;
    font-weight: bold;
    border-radius: 2px;
}

.header-advsearch-btn {
    background: #3c8cd0;
}

.header-search-btn:hover,
.header-advsearch-btn:hover {
    opacity: 0.8;
}

.header-search-hot {
    font-size: 0.94em;
    margin: 10px 0 0 2px;
    float: left;
    width: 100%;
    text-align: left;
}

.header-search-hot a {
    color: #666;
    margin-right: 8px;
    text-decoration: underline;
    display: inline-block;
}

.header-searchbar-close {
    background: url(../images/close_icon.png) center center no-repeat #ededed;
    display: block;
    width: 45px;
    height: 45px;
    position: absolute;
    right: 0;
    top: -3px;
    font-size: 0;
    border-radius: 100%;
}

.familyedu-site-wrap {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    display: none;
}

.familyedu-site-close {
    position: absolute;
    right: 25px;
    top: 25px;
    width: 22px;
    height: 22px;
    background: url("../images/familyedu-site-close.png") 0 0 no-repeat;
    background-size: 100%;
    display: block;
    font-size: 0;
}

.familyedu-site {
    position: absolute;
    z-index: 9;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: url("../images/familyedu-site-pic.png") 5% 90% no-repeat #fff;
    background-size: 28%;
    width: 88%;
    max-width: 720px;
    padding: 40px 25px;
    border-radius: 10px;
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.3);
    -o-box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.3);
}

.familyedu-site-title {
    font-size: 2.063rem;
    font-weight: bold;
    width: 179px;
    line-height: 1.2;
    float: left;
    margin: 10px 10px;
    color: #0a3761;
}

.familyedu-site ul {
    float: right;
    width: 65%;
    margin: 0;
}

.familyedu-site ul li {
    float: left;
    width: 50%;
    margin: 15px 0;
    padding: 0 20px 0 10px;
}

.familyedu-site ul li::before {
    content: "\f3c5";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    color: #2196F3;
    top: 2px;
    left: -9px;
}

.familyedu-site ul li a {
    font-size: 1.1rem;
    font-weight: bold;
}

.familyedu-site .btn {
    width: 100%;
    float: left;
    text-align: center;
    padding-top: 40px;
}

.familyedu-site .btn a {
    background: #33b17e;
    display: inline-block;
    text-align: center;
    margin: 0 auto;
    padding: 15px 25px;
    color: #fff;
    border-radius: 150px;
    min-width: 150px;
}


/* 標籤顏色
**********************************************/

.tag-color-blue {
    background: #007bff;
}

.tag-color-indigo {
    background: #6610f2;
}

.tag-color-purple {
    background: #6f42c1;
}

.tag-color-pink {
    background: #e83e8c;
}

.tag-color-drak-red {
    background: #8e1728;
}

.tag-color-red {
    background: #dc3545;
}

.tag-color-orange {
    background: #f29a0a;
}

.tag-color-yellow {
    background: #ffc107;
}

.tag-color-green {
    background: #28a745;
}

.tag-color-teal {
    background: #20c997;
}

.tag-color-drak-cyan {
    background: #187095;
}

.tag-color-cyan {
    background: #17a2b8;
}

.tag-color-white {
    background: #fff;
}

.tag-color-block {
    background: #000;
}

.tag-color-gray {
    background: #6c757d;
}

.tag-color-gray-dark {
    background: #343a40;
}


/* 標籤顏色 end
**********************************************/



/********無障礙start********/
a.sr-only {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 99;
    width: 1px;
    height: 1px;
    white-space: nowrap;
    overflow: hidden;
    color: #000;
}

    a.sr-only:focus {
        width: auto;
        height: auto;
        padding: 6px;
        background-color: #fff;
    }

.acc-key a:focus {
    outline: 2px solid #337ab7 !important;
}

input:focus {
    outline: 2px solid #337ab7 !important;
}

a:focus {
    outline: 2px solid #337ab7 !important;
}

li:focus {
    border: 2px solid #337ab7 !important;
}

img:focus {
    border: 2px solid #337ab7 !important;
}

.header .acc-key {
    position: absolute;
    left: 13px;
    z-index: 99;
}

.crumb .acc-key {
    position: absolute;
    left: 13px;
    z-index: 99;
    width: auto;
    border-right: none;
}

.footer .acc-key {
    position: absolute;
    left: 13px;
    z-index: 99;
}

.page-side .acc-key {
    text-align: left;
    font-size: 0.9em;
    margin: 0 0 4px 0;
}

.page-main .acc-key {
    text-align: left;
    font-size: 0.9em;
    margin: 0 0 4px 0;
}

/********無障礙end********/