body {
    font-family: "微軟正黑體", "Microsoft JhengHei", "Arial", "Helvetica", "sans-serif";
}

a {
    text-decoration: none;
}

li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

hr {
    border-style: inset;
    /* This is already default styling */
    border-width: 1px;
}

.mytable td {
    padding: 0.4rem;
}

.topbar {
    background-color: #205696;
}

.topbar-auto {
    height: 38px;
    margin: 0px auto 0px auto;
}

.topbar-menu {
    float: right;
    height: 18px;
    padding: 8px 0 4px 10px;
    font-family: "微軟正黑體", "Microsoft JhengHei", "Arial", "Helvetica", "sans-serif";
    font-size: 17x;
    color: #695e50;
}

.topbar li {
    display: inline-block;
    padding-right: 5px;
}

.topbar-menu ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    display: inline;
}

.topbar-menu a {
    font-family: "微軟正黑體", "Microsoft JhengHei", "Arial", "Helvetica", "sans-serif";
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

.cslas-heading-link {
    background: url(../../images/index/mainLogo2.gif) no-repeat;
    background-size: cover;
    color: transparent;
    display: block;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.is-visually-hidden {
    border: 0 !important;
    color: transparent;
    height: 1px !important;
    left: -999999px !important;
    position: absolute !important;
    width: 1px !important;
}

.cslas-heading-txt {
    font-size: 1.25em;
}

@media screen and (min-width: 50em) {
    .cslas-heading-link {
        height: 100%;
        width: 100%;
    }
}

@media screen and (max-width: 446px) {
    .cslas-heading-link {
        /* background: url(../../images/logo.png) no-repeat;*/
        background-position: center bottom;
        background-size: 100% auto;
        height: 100%;
    }
    .cslas-heading {
        height: 60px;
        width: 180px;
    }
}

@media screen and (min-width: 447px) {
    .cslas-heading-link {
        /*background: url(../../images/logo.png) no-repeat;*/
        background-position: center bottom;
        background-size: 100% auto;
        height: 100%;
    }
    .cslas-heading {
        height: 60px;
        width: 180px;
    }
}

@media screen and (max-width: 576px) {
    .is-visually-hidden {
        border: 0 !important;
        color: #000;
        height: 50px !important;
        left: 0 !important;
        position: relative !important;
        width: 220px !important;
    }
}

@media screen and (min-width: 601px) {
    .cslas-heading-link {
        /*background: url(../../images/logo.png) no-repeat;*/
        background-position: center bottom;
        background-size: 100% auto;
        height: 100%;
    }
    .cslas-heading {
        margin-right: 20px;
        height: 100px;
        width: 300px;
    }
}

@media screen and (min-width: 800px) {
    .cslas-heading-link {
        background: url(../../images/index/mainLogo2.gif) no-repeat;
        background-size: 100% auto;
        background-position: center center;
        margin: 0;
    }
    .cslas-heading {
        background-position: center bottom;
        height: 110px;
        width: 400px;
    }
}

#welcomemessage {
    font-family: "微軟正黑體", "Microsoft JhengHei", "Arial", "Helvetica", "sans-serif";
    font-size: 14px;
    color: #ffffff;
}

.wrapper {
    float: left;
    width: 100%;
    overflow: hidden;
}

.menu a {
    display: block;
    position: relative;
    text-decoration: none;
    -webkit-transition: padding .2s, font-size .2s;
    transition: padding .2s, font-size .2s;
    white-space: nowrap;
    color: #000000;
    /*padding: 0px;*/
}

.menu-group a:before {
    background: #0f1a6f;
    bottom: -6px;
}

.menu a:before {
    content: '';
    height: 4px;
    left: 0;
    margin: auto;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    -webkit-transition: width .45s, opacity .1s;
    transition: width .45s, opacity .1s;
    width: 0%;
}

@media (min-width:768px) {
    .menu a:hover:before,
    .menu a:focus:before {
        opacity: 1;
        text-decoration: none;
        width: 100%
    }
}

.header {
    width: 1340px;
    height: 130px;
    margin: 0px auto 0px auto;
}

.header-wrap {
    width: 100%;
    height: 85px;
    margin: 0 auto;
    display: block;
    overflow: hidden;
}

.header-wrap .right {
    width: 100%;
    height: 40px;
    display: block;
    float: left;
}

.right {
    text-align: right;
}

.header-wrap .right ul.navi {
    width: 100%;
    display: block;
    float: left;
}

ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

@media only screen and (min-width: 37.5625em) {
    .menu-group {
        background: #fff;
        font-size: .9em;
    }
}

@media only screen and (min-width: 43.75em) {
    .menu-group {
        font-size: 1.15em;
    }
}

@media only screen and (min-width: 50em) {
    .menu-group {
        font-size: 1.2em;
    }
}

@media only screen and (min-width: 56em) {
    .menu-group {
        font-size: 1.3em;
    }
}

@media only screen and (min-width: 64em) {
    .menu-group {
        font-size: 1.6em;
    }
}

.menu-group {
    -webkit-transition: top .2s;
    transition: top .2s;
    width: 100%;
    z-index: 2;
    font-family: "微軟正黑體", "Microsoft JhengHei";
}

.mydropdown-item {
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px;
    color: #000000;
    font-family: "微軟正黑體", "Microsoft JhengHei";
    font-size: 1.05em;
}

.bg-gray {
    background-color: #ededed;
}

.bg-white {
    background-color: #FFFFFF;
}

.news-auto {
    width: 1330px;
    margin: 35px auto 40px auto;
}

.latest-news {
    margin: 0px auto 0px auto;
}

.lastest-course-content {
    /*padding-left:75px;*/
}

.latest-news-head {
    text-align: center;
    margin-bottom: 0px;
    margin-top: 10px;
    font-family: "微軟正黑體", "Microsoft JhengHei", "Arial", "Helvetica", "sans-serif";
    /*font-size: 2em;*/
    font-size: 21px;
    color: #000088;
    /*color: #000000;*/
}

.lastest-news-content {
    margin-top: 10px;
}

.news-title {
    height: 85px;
    text-align: center;
    font-size: 0.85em;
    font-family: "微軟正黑體", "Microsoft JhengHei", "Arial", "Helvetica", "sans-serif";
}

.news-card>p {
    padding: 5px;
}

/*首頁new的底圖*/

.news-content {
    background-color: #fff;
    /*border-top: 20px solid #32489a;*/
    padding: 5px;
    margin-right: 0px;
    text-align: left;
}

/*註開完成*/

.member-content {
    width: 1000px;
    position: absolute;
    /*絕對位置*/
    left: 50%;
    /*從左邊開始算，右推 50% (一半) 的位置*/
    margin-left: -500px;
    /*寬度的一半*/
    background-color: #E0FFFF;
    border-top: 20px solid #32489a;
    padding: 5px;
}

.news-txt {
    font-size: 1em;
    line-height: 30px;
    height: 125px;
    overflow: hidden;
}

.news-item-wrapper>p {
    margin-top: 60px;
}

.news-item-files {
    margin-top: 60px;
}

.news-item-txt {
    word-break: break-all;
}

.text-nowrap {
    white-space: nowrap;
}

.course-wrapper {
    float: left;
    width: 100%;
    background-color: #ffffff;
}

.course-auto {
    width: 1340px;
    margin: 35px auto 40px auto;
}

.latest-course {
    margin: 0px auto 0px auto;
}

.latest-course-head {
    text-align: center;
    margin-bottom: 0px;
    margin-top: 10px;
    font-family: 微軟正黑體, "Microsoft JhengHei", Arial, Helvetica, sans-serif;
    font-size: 21px;
    color: #7b1919;
}

/*首頁課底色*/

.course-content {
    /*background-color: #eae0e0;*/
    background-color: #FFDDAA;
    border-top: 10px solid #7b1919;
    padding: 15px;
}

.course-content-place {
    height: 75px;
}

/*首頁課標*/

.course-title {
    height: 85px;
    text-align: center;
    font-size: 20px;
    font-family: "微軟正黑體", "Microsoft JhengHei", "Arial", "Helvetica", "sans-serif";
    overflow: hidden;
    text-overflow: ellipsis;
    /*color:#7b1919;*/
    color: #8B0000;
}

.course>p {
    padding: 15px;
}

.course-content {
    margin-right: 0px;
    padding-left: 10px;
}

.course-txt {
    font-size: 14px;
    line-height: 24px;
    height: 245px;
    overflow: hidden;
}

.course-list-wrapper {
    border-bottom: 1px solid #d0d0d0;
}

.course-list-item {
    font-size: 14px;
    color: #000000;
}

.course-list-wrapper a {
    text-decoration: none;
}

.course-list-classno {
    margin-bottom: 5px;
}

.classno {
    font-size: 16px;
    color: #e41515;
}

.course-classno {
    font-size: 16px;
    color: #e41515;
}

.course-list-name {
    /* font-size: 1.1em;*/
    font-size: 18px;
    color: #550000;
    margin: 5px auto 10px auto;
}

.course-list-time {
    font-size: 16px;
    color: #000000;
    margin: 5px auto 5px auto;
}

.course-item-wrapper {
    margin: 0 auto;
}

.course-list-membertype {
    font-size: 16px;
    color: #000000;
    margin: 5px auto 30px auto;
}

.others-wrapper {
    float: left;
    width: 100%;
    background-color: #ffffff;
}

.others-auto {
    width: 1340px;
    margin: 35px auto 40px auto;
}

.others-left {
    float: left;
    width: 350px;
}

.others-right {
    float: left;
    max-width: 900px;
}

.topic-wrapper {
    margin: 5px auto;
}

.topic-head {
    height: 25px;
    font-family: "微軟正黑體", "Microsoft JhengHei", "Arial", "Helvetica", "sans-serif";
    font-size: 20px;
    color: #8f3931;
}

.topic-wrapper .topic-list li {
    display: list-item;
    text-align: -webkit-match-parent;
}

.topic-txt {
    font-size: 16px;
    line-height: 36px;
}

.ad-movie-wrapper {
    margin-top: 40px;
    margin-left: 30px;
}

.ad-movie {
    float: left;
    margin-right: 5px;
}

.ad-movie-item {
    width: 400px;
    height: 250px;
}

.news-card {
    padding: 3px;
    margin-bottom: 10px;
}

.sponsor-wrapper {
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #ffffff;
}

.sponsor-auto {
    width: 1340px;
    margin: 35px auto 40px auto;
}

.sponsor {
    float: left;
    width: 100%;
}

.sponsor-card {
    margin-right: 25px;
}

.sponsor-auto2 {
    margin: 0px auto 40px 90px;
}

.sponsor-card2 {
    float: left;
    margin: 5px auto 5px 0;
}

.content-left {
    margin: 5px 0px 0px 0px;
}

.content-left2 {
    float: left;
    width: 830px;
    margin: 5px;
    padding: 20px;
}

.content-left3 {
    float: left;
    width: 1300px;
    margin: 5px;
    padding: 20px;
}

.content-mid4 {
    float: left;
    width: 500px;
    margin: 50px;
    padding: 20px;
}

.content-mid {
    margin: 20px 0 0 0;
}

.content-wrapper {
    margin: 30px auto 50px;
    background-color: #ffffff;
}

.content-wrapper4 {
    max-width: 800px;
    height: 100%;
}

.wrapper-auto {
    margin: 150px auto 0px auto;
}

.content-auto {
    width: 1340px;
    margin: 35px auto 40px auto;
}

.content-auto4 {
    width: 1340px;
    margin: 200px auto 40px auto;
}

.content-txt {
    font-size: 16px;
    line-height: 30px;
}

.subfunc-wrapper {
    padding: 5px;
    margin-top: 10px;
    margin-right: 30px;
    background-color: #f1f1f1;
}

.subfunc-head {
    margin: 20px auto 20px auto;
    text-align: center;
}

.subfunc-head h2 {
    font-size: 2em;
}

.subfunc-list {
    margin: 20px auto 20px auto;
    text-align: center;
}

.gallery-wrapper {
    background-color: #eaeaea;
    margin: 0 auto 0 auto;
    padding-top: 50px;
    padding-bottom: 50px;
}

.gallery-wrapper img {
    /*width: 100%;
  height: 100%;
  max-width: 200px;
  max-height: 180px;
  margin-top: 20px;*/
    border: 1px solid #000000;
}

.img-item {
    height: 200px;
    align: center;
}

.gallery-card {
    margin: 2px;
    height: 220px;
    background-color: #ffffff;
}

.gallery-content {
    margin: 20px auto 20px auto;
    background-color: #000000;
    padding: 1px;
}

.footer-wrapper {
    background-color: #205696;
    color: #ffffff;
    padding-top: 30px;
    padding-bottom: 30px;
}

.footer-wrapper a {
    color: #ffffff;
    text-decoration: none;
}

.footer-auto {
    margin: 10px auto 0 auto;
}

.site-map>h1 {
    font-family: "微軟正黑體", "Microsoft JhengHei", "Arial", "Helvetica", "sans-serif";
    font-size: 26px;
    color: #ffffff;
    font-weight: normal;
}

.site-map li {
    margin-bottom: 13px;
}

.contact li {
    margin-bottom: 13px;
}

.site-map>h1 {
    font-family: "微軟正黑體", "Microsoft JhengHei", "Arial", "Helvetica", "sans-serif";
    font-size: 2em;
    color: #ffffff;
    font-weight: bold;
}

.contact>h1 {
    font-family: "微軟正黑體", "Microsoft JhengHei", "Arial", "Helvetica", "sans-serif";
    font-size: 2em;
    color: #ffffff;
    font-weight: bold;
}

.footer__outro {
    margin-top: 30px;
    padding-top: 4px;
    margin-right: auto;
    margin-left: auto;
}

.banner {
    margin-top: 166px;
    background-color: #000000;
}

.banner_btn {
    -webkit-appearance: none;
    background: transparent;
    border: 2px solid;
    border-radius: 10px;
    cursor: pointer;
    display: inline-block;
    font-size: 1em;
    font-weight: bold;
    line-height: normal;
    padding: 1em;
    text-align: center;
    text-decoration: none !important;
    -webkit-transition: background .2s;
    transition: background .2s;
    text-transform: uppercase;
}

.bannermask-left a {
    color: #ffffff;
    margin-top: 30px;
}

.bannermask-left {
    background: rgba(0, 0, 0, 0.625);
    position: absolute;
    right: 50%;
    bottom: 0%;
    left: 0%;
    z-index: 10;
    top: 0px;
    padding-top: 100px;
    padding-bottom: 50px;
    color: #fff;
    text-align: center;
}

@media (max-width:576px) {
    .bannermask-left {
        background: rgba(0, 0, 0, 0.625);
        position: absolute;
        right: 0%;
        bottom: 0px;
        left: 0%;
        z-index: 10;
        padding-top: 170px;
        padding-bottom: 50px;
        color: #fff;
        text-align: center;
    }
}

@media only screen and (max-width:800px) {
    .banner {
        margin-top: 100px;
        background-color: #000000;
    }
}

.carousel-inner {
    max-height: 400px !important;
    text-align: center;
    vertical-align: middle;
    overflow: hidden;
}

.carousel-inner img {
    /*width: 100%;*/
    height: 100%;
    text-align: center;
    vertical-align: middle;
    min-width: 100%;
     !important
}

.function-head-wrapper {
    height: 85px;
    margin-top: 160px;
    background-color: #87a9c7;
}

.function-head {
    color: #ffffff;
    padding-top: 20px;
    padding-bottom: 40px;
    font-size: 1vw;
}

.function-head-sp {
    color: #ffffff;
    padding-top: 20px;
    padding-bottom: 40px;
    font-size: 1vw;
}

.cslastitle {
    font-size: 1.25em;
    color: #8a1a1a;
}

.w-33 {
    width: 33.3333%;
}

.text-right {
    text-align: right;
}

.bottom-line {
    margin-bottom: 15px;
    padding: 5px;
    border-bottom: 1px dashed #d0d0d0;
}

.news-list-wrapper {
    margin-bottom: 15px;
    padding: 5px;
    border-bottom: 1px solid #d0d0d0;
}

.news-list-time {
    margin-right: 15px;
}

.news-list-title {
    margin-right: 0px;
}

.icon-facebook {
    color: #3c5e92;
}

.icon-line {
    color: #4db94c;
}

.icon-twitter {
    color: #2c97cc;
}

.txt-break {
    word-break: break-all;
}

.gallery-container {
    padding: 5px;
    margin: 5px auto 5px auto;
}

.gallery-title-wrapper {
    height: 85px;
    font-size: 1.25em;
}

.gallery-title {
    margin: 10px auto 10px auto;
}

.td_body {
    font-size: 16px;
    /*line-height: 30px;*/
    color: #003662;
    background: #EFF3FF;
    vertical-align: middle;
}

.td_head {
    font-size: 18px;
    background-color: #add3f3;
    text-align: center;
    font-weight: bold;
}

.td_head_side {
    font-size: 16px;
    color: #000000;
    background: #c0d5ee;
    text-align: right;
    line-height: normal;
    vertical-align: middle;
    padding: 1px;
}

.signin-wrapper {
    margin-top: 160px;
    margin-bottom: 50px;
}

.signin-wrapper form input[type=text],
.signin-wrapper form input[type=password] {
    max-width: 250px;
    margin-right: 10px
}

.inquiry-wrapper {
    margin-top: 0px;
    margin-bottom: 50px;
}

.inquiry-wrapper form input[type=text],
.signin-wrapper form input[type=password] {
    max-width: 280px;
    margin-right: 10px
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*input { border: 1px solid #92989b; vertical-align: middle; }*/

input {
    border: 1px solid #92989b;
    vertical-align: middle;
}

/*input {
  border-radius: 3px;
  /*padding: 5px;*/

vertical-align: middle;
border: 1px solid #92989b;
}

*/ input,
select {
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border: 1px solid #969696;
}

label input .navbar {
    font-size: 20px;
}

/*課程列表的課程名稱連結*/

.linkstyle-1 {
    font-size: 18px;
    color: #8B0000;
}

.linkstyle-1 a {
    font-size: 18px;
    color: #FF00FF;
    text-decoration: none;
}

.linkstyle-1 a:hover {
    font-size: 18px;
    color: #FF00FF;
    text-decoration: underline;
}

/*首頁課程詳細內容*/

.linkstyle-index-lesson {
    font-size: 14px;
    color: #550000;
}

.linkstyle-index-lesson a {
    font-size: 14px;
    color: #FF9966;
    text-decoration: none;
}

.linkstyle-index-lesson a:hover {
    font-size: 14px;
    color: #FF9966;
    text-decoration: underline;
}

/*廠商專區*/

.linkstyle-index-sponsor {
    font-size: 14px;
    color: #6C6C6C;
}

.linkstyle-index-sponsor a {
    font-size: 14px;
    color: #6C6C6C;
    text-decoration: none;
}

.linkstyle-index-sponsor a:hover {
    font-size: 14px;
    color: #6C6C6C;
    text-decoration: underline;
}

/*首頁消息詳細內容*/

.linkstyle-index-new {
    font-size: 14px;
    color: #0033BB;
}

.linkstyle-index-new a {
    font-size: 14px;
    color: #0033BB;
    text-decoration: none;
}

.linkstyle-index-new a:hover {
    font-size: 14px;
    color: #0033BB;
    text-decoration: underline;
}

/*首頁專題文章*/

.linkstyle-index-topic {
    font-size: 18px;
    color: #0033BB;
}

.linkstyle-index-topic a {
    font-size: 18px;
    color: #0033BB;
    text-decoration: none;
}

.linkstyle-index-topic a:hover {
    font-size: 18px;
    color: #0033BB;
    text-decoration: underline;
}

.signin fieldset {
    margin-bottom: 16px;
}

.EdgeButton--primary {
    background-color: #1376b3;
    border: 1px solid #1376b3;
    color: #fff;
}

.EdgeButton,
.EdgeButton:visited {
    border-radius: 40px;
    box-shadow: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    line-height: 16px;
    padding: 6px 16px;
    position: relative;
    text-align: center;
    white-space: nowrap;
}

.publish-wrapper {
    margin-bottom: 5px;
}

.btn-readmore2 {
    background-color: #7b1919;
    border: 1px solid #7b1919;
}

.publish-img {
    background-color: #fff;
    padding: 0.25rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    max-width: 150px;
    width: 100%;
}

.publish-order-wrapper {
    margin-top: 160px;
    margin-bottom: 100px;
}

.publish-order-wrapper form input[type=text],
.publish-order-wrapper form input[type=password] {
    max-width: 200px;
    margin-right: 10px
}

.cslas-list-item h3 {
    color: #9d1313;
    font-size: 24px;
}

.err {
    color: red;
}





/* 文章內容：圖片、影片、iframe 都不要超出容器 */
.news-item-txt img,
.news-item-txt video,
.news-item-txt iframe {
  max-width: 100% !important;  /* 超過容器就縮到 100% */
  height: auto !important;      /* 等比例縮放 */
  display: block;               /* 避免 baseline 空隙 */
  margin: 0 auto;               /* 置中（可按需求移除） */
}

/* 如果 CKEditor 內文有表格，避免撐破版面 */
.news-item-txt {
  overflow-wrap: break-word;
}
.news-item-txt table {
  width: 100%;
  table-layout: auto;
}
.news-item-txt pre, .news-item-txt code {
  white-space: pre-wrap;        /* 長字串也會換行 */
}

/* 讓 YouTube 這類 iframe 比例正確（支援 aspect-ratio 的瀏覽器） */
.news-item-txt iframe {
  width: 100% !important;
  aspect-ratio: 16 / 9;         /* 常見影片比例 */
}
