html,
body {
  height: 100%;
  margin: 0;
  overflow-x: hidden;
}

/* Footer 開始 */

.footer-area {
  background-color: #2590D8;
  background: -moz-linear-gradient(135deg, #0a0103 66%, #2590D8 100%);
  background: -webkit-linear-gradient(135deg, #0a0103 66%, #2590D8 100%);
  background: linear-gradient(135deg, #0a0103 66%, #2590D8 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0a0103', endColorstr='#2590D8', GradientType=1);
  padding: 3.125em 0;
}

#course_intro_btn,
#course_explore_btn {
  background: #2590d8;
  box-shadow: 0 5px 0 #145784;
}

.bottom-menu {
  border-left: 0.0625em solid rgba(255, 255, 255, 0.2);
  /*padding-left: 1.25em;*/
}

.bottom-menus {
  border-left: 0.0625em solid rgba(255, 255, 255, 0.2);
  padding-left: 0.5em;
}

@media screen and (max-width: 48em) {
  .bottom-menu {
    display: none;
  }
}

.bottom-menu li:first-child a {
  padding-top: 1.5em;
  color: #fff;
  font-size: 1em;
}

.bottom-menu a {
  line-height: 2em;
  color: #ccc;
  font-size: 0.8125em;
}

.bottom-menu li {
  list-style: none;
}

.footer-social p {
  float: left;
  padding-left: 0.4375em;
  font-size: 0.75em;
  line-height: 1.625em;
  margin-bottom: 0.5em;
}

.footer-menu {
  margin-top: 1.25em;
}

.bottom-menu a {
  clear: both;
}

.bottom-menu a:hover {
  color: #ffe34c;
  text-decoration: none;
}

.footer-social img {
  padding-right: 0.4375em;
}

.footer-social p {
  color: #ffe34c;
}

.footer-bottom {
  padding-top: 5em;
}

.footer-text {
  color: #8a90ff;
  font-size: 0.75em !important;
}

/* Footer 結束 */

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

#header_user_name {
  display: inline-flex;
}

#header_user_name div {
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#header_user_pic {
  width: 20px;
  height: 20px;
}

.reset {
  color: red !important;
  font-weight: bold !important;
}

#course-search-input {
  margin-left: 20px;
  border: solid 1px #E4E4E4;
  border-radius: 5px;
  background-color: #fff;
}

#course-search-input input {
  border: 0;
  box-shadow: none;
}

#course-search-input button {
  margin: 2px 0 0 0;
  background: none;
  box-shadow: none;
  border: 0;
  color: #666666;
  padding: 0 8px 0 10px;
  border-left: solid 1px #ccc;
}

#course-search-input button:hover {
  border: 0;
  box-shadow: none;
  border-left: solid 1px #ccc;
}

footer ul li {
  padding: 0px !important;
}

/* Notification */
.hide {
  display: none;
}

.popover-content {
  font-size: 13px;
  padding: 0px 20px 10px 0px;
  height: 300px;
  overflow-y: scroll;
  width: 300px;
}

.popover-footer {
  margin: 0;
  padding: 0px;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  /* background-color: #F7F7F7; */
  /* border-top: 1px solid #EBEBEB; */
}

.popover-footer>a.btn-block {
  background-color: #F7F7F7;
  font-size: 15px;
}

.popover-footer>a.btn-mark-all-read {
  margin-top: 8px;
}

.notifications-info {
  text-align: justify;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  max-height: 39px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #6195a4;
  font-family: 'Arial', 'Microsoft JhengHei', sans-serif !important;
}

.notifications-info:hover {
  color: #3e2372;
}

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

.message img {
  float: left;
  margin-right: 10px;
}

.font-12 {
  font-size: 12px;
}

.message {
  position: relative;
  cursor: pointer;
}

.message .dots {
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background: #df5d4f;
  position: absolute;
  right: -15px;
  top: 5px;
}

.head {
  text-align: center !important;
}

.read {
  color: #3e2372;
}

.popover-heading {
  text-align: center;
}

.notification {
  display: block;
}

.notification-m {
  display: none;
}

.survey-m {
  display: none;
}

@media screen and (max-width: 922px) {
  .notification {
    display: none;
  }

  .notification-m {
    display: block;
  }

  .survey-m {
    display: block;
  }

  #course_intro_btn,
  #course_explore_btn {
    background: #2590d8;
    box-shadow: none;
    color: #FFF;
  }
}

#carouselSlides {
  margin-top: -30px !important;
}

.genric-btn.circle {
  border-radius: 1.25em;
}

.go-feature-btn {
  border: 0.0625em solid #3F4391;
}

.genric-btn {
  display: inline-block;
  outline: none;
  line-height: 2.5em;
  padding: 0 1em;
  font-size: .6em;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.popover {
  max-width: 600px;
}

.notification-counts-zero {
  background: #e7dcdb;
}

.notification-counts-display {
  background: #df5d4f;
}

#course_search {
  display: block;
}

.navbar-light .navbar-nav .nav-link {
  color: #2590D8 !important;
}

@media screen and (max-width: 1024px) {
  .bg-white {
    height: auto !important;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  #course_search {
    display: none;
  }
}

@media (max-width: 992px) {
  .navbar-collapse.show {
    background: #2590d8;
    color: #FFF;
  }

  #course_intro_btn,
  #course_explore_btn {
    color: #FFF;
  }

  .btn-close {
    font-size: 16px;
    height: 44px;
    width: 44px;
    background-color: #000;
    border-color: #000;
  }

  .navbar-expand-lg .navbar-nav .dropdown-menu {
    background-color: #2590d8;
  }

  .navbar-light .navbar-nav .nav-link {
    color: #fff !important;
  }
}

@media screen and (max-width: 992px) {
  .mobile_content {
    margin-top: 10px;
    padding: 10px;
  }

  #course_search {
    display: none;
  }

  #carouselSlides {
    margin-top: 30px !important;
  }

}

.manage-codebank {
  display: none;
}

/* 20240819 */
.bg-white {
  border-bottom: 1px solid #94d6fd !important;
}



.genric-btn.white-border {
  color: #fff;
  background: #df5d4f;
  border: 0.0625em solid #fff;
}

.genric-btn.white-border:hover {
  color: #df5d4f;
  background: #fff;
  border: 0.0625em solid #df5d4f;
}

#course-search-input button {
  margin: 4px 0 0 0 !important;
}

.newslisthr {
  border-bottom: 0.0625em solid #eee;
  border-top: none !important;
  margin-bottom: 1.25em;
  opacity: 0.2;
}

a:hover {
  color: #f6bd19 !important;
}

footer ul li a {
  color: #fff;
}

footer ul li a:hover {
  color: #f6bd19;
}


.socialbox {
  padding-top: 0%;
  padding-bottom: 5px;
  font-size: 24px;
  display: inline;
  vertical-align: middle
}

.socialbox a {
  color: #FFFFFF !important;
}

#logos a {
  font-size: 20px;
  color: #FFFFFF !important;
  padding-bottom: 10px;
  display: inline-block;
}

.dropdown-item>i.fas {
  color: #02b3e4;
}

.padding-left-view {
  padding-left: 10px;
}

.toBottom {
  position: absolute;
  bottom: 0px;
}

.mb-20 {
  margin-bottom: 20px;
}

.bg-black-child {
  background-color: rgba(34, 179, 189, 1);
  position: absolute;
  bottom: 0;
  right: 0;
  text-align: center;
  width: 8em;
  height: 30px;
  color: #111;
  font-size: 1em;
  font-weight: 600;
  line-height: 2em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.bg-black {
  background-color: rgba(34, 179, 189, 1);
  position: absolute;
  bottom: 0;
  right: 0px;
  text-align: left;
  width: 8em;
  height: 30px;
  transform: skewX(-20deg);
  -ms-transform: skewX(-20deg);
  -webkit-transform: skewX(-20deg);
  transform-origin: 0 0;
}

.card-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  min-height: 72px;
}

.col-md-2 .card-title {
  min-height: auto;
}

.toBottoms {
  position: relative;
  bottom: 0px;
}

.slick-slide img {
  display: block;
  border-bottom: 1px solid #eee;
  height: 146px;
}

@media screen and (max-width: 1024px) {
  .slick-slide img {
    border-bottom: 0px solid #eee;
    height: auto;
  }
}

.imgbox .resizer {
  width: 100%;
  height: 170px;
  padding-bottom: 0;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #eee;
}

.banner {
  content: url("/images/banner.png");
  max-width: 1140px;
  margin: 0 auto;
}

.carousel-banner {
  max-width: 1140px;
  height: 410px;
  object-fit: cover;
}

.carousel-banner-size {
  max-width: 1140px;
  height: 410px;
  margin: 0 auto;
}


@media screen and ((max-width: 991px)) {

  .carousel-banner,
  .carousel-banner-size {
    max-width: 975px;
    height: 350px;
  }
}

@media screen and ((max-width: 767px)) {

  .carousel-banner,
  .carousel-banner-size {
    max-width: 750px;
    height: auto;
  }
}

@media screen and (min-width: 767px) {
  .banner-buttons {
    position: absolute;
    top: 85%;
    left: 52%;
    transform: translate(-0%, -50%);
    -ms-transform: translate(-0%, -50%);
  }
}

@media screen and (max-width: 766px) {
  .banner {
    content: url("/images/mobile-banner.png");
  }

  .banner-buttons {
    position: absolute;
    margin-left: 9%;
    margin-top: 70%;
  }
}

.carousel-indicators li {
  width: 50px;
  height: 6px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background-color: #000;
  border-radius: 50%;
  top: calc(50% - 25px);
}

.carousel-control-prev {
  left: 1%;
}

.carousel-control-next {
  right: 1%;
}

.wishlist_text {
  margin-top: 30px;
}

.wishlist_content {
  font-size: 22px;
}

.wishlist_title {
  font-size: 26px;
  font-weight: bold;
}

.wishlist_img {
  border-radius: 10px;
  width: 80%;
  margin-left: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.m-15px-tb {
  border-right: 1px solid #CCC;
}

.m-15px-tb:last-child {
  border-right: 0px solid #CCC;
}

.blue-bg {
  background: url("/images/book.png");
  border-radius: 30px;
  box-shadow: 0px 3px 10px 0px rgba(38, 59, 94, 0.1);
}

.m-15px-tab {
  text-align: center;
  max-width: 80% !important;
}

.m-15px-tab span,
.m-15px-tab svg {
  color: #000;
  font-weight: 700;
  font-size: 1.2em;
  display: inline-block;
}

.box-image .course-link:before {
  content: '';
  background: #0652DD;
  height: 100%;
  width: 90%;
  margin-left: 5%;
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  transition: all .2s ease;
  display: block;
  border-radius: 4px;
}

.recom-image .course-link:before {
  content: '';
  background: #0652DD;
  height: 100%;
  width: 100%;
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  transition: all .2s ease;
  display: block;
  border-radius: 4px;
}

.owl-carousel .owl-stage {
  display: flex;
}

.recom-image {
  display: flex;
  flex: 1 0 auto;
  height: 100%;
}

/* .box-image:hover .course-link:before,
.recom-image:hover .course-link:before {
  opacity: 0.66;
} */

.box-image .box-links {
  width: 75%;
  margin-left: 15%;
  padding: 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  transform: translateX(-50%) translateY(0%);
  position: absolute;
  top: 50%;
  left: 50%;
  transition: all .5s;
  z-index: 0;
  font-size: 0.9em;
  color: #FFF;
}

.recom-image .box-links {
  width: 90%;
  margin-left: 5%;
  padding: 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  transform: translateX(-50%) translateY(0%);
  position: absolute;
  top: 50%;
  left: 50%;
  transition: all .5s;
  z-index: 1;
  font-size: 0.9em;
  color: #FFF;
}

.box-image .box-links .desps,
.recom-image .box-links .desps {
  margin-top: 15px;
  padding-bottom: 0.4375em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  max-height: 12em;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  text-align: justify;
}

.box-image .box-links .titles,
.recom-image .box-links .titles {
  text-align: center;
  font-size: 1.2em !important;
}

.box-image .box-links .titles a,
.recom-image .box-links .titles a {
  color: #FFF !important;
}

.box-image .box-links .titles a:hover,
.recom-image .box-links .titles a:hover {
  color: #efba1d !important
}

.box-image .box-links .users a,
.recom-image .box-links .users a {
  color: #FFF !important;
}

.box-image .box-links .users a:hover,
.recoom-image .box-links .users a:hover {
  color: #efba1d !important
}

.box-image:hover .box-links,
.recom-image:hover .box-links {
  opacity: 1;
  transform: translateX(-50%) translateY(-50%);
  z-index: 1;
}


.box1 {
  background-color: #94d6fd;
}

.box2 {
  background: url("/images/bg_song.png") no-repeat;
  background-size: 100% 100%;
}

.box3 {
  padding: 4em 0;
}

.owl-theme .owl-nav {
  margin-top: 1em !important;
  font-size: 1.5em;
  z-index: 9999 !important;
}

@media screen and (max-width:1024px) {
  #carouselExampleSlidesOnly {
    margin-top: 30px !important;
  }

  .box2 {
    margin-bottom: 20px;
    background: #94d6fd;
    display: block;
  }
}

.line20 {
  line-height: 1.9em;
}

.w-200 {
  width: 200% !important;
}

.owl-theme .owl-nav [class*=owl-] {
  margin: 0 0.5em 0 2em;
}

.text-center {
  text-align: center !important;
}

@media screen and (max-width:1024px) {
  .course-block {
    padding-top: 3em;
  }
}

.card-body .card-title {
  padding-bottom: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  min-height: 2.5em;
  max-height: 2.5em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-align: justify;
  margin: -5px auto 5px auto;
}

.toBottomc {
  position: absolute;
  right: 0;

}

.course-link .card .btn-primary {
  background-color: #007bff;
  color: #fff;
  border-color: #fff !important;
  margin: -10px auto -5px;
}

.btn-primary:not(:disabled):hover {
  background-color: #ffb606;
  color: #fff !important;
  border-color: #fff !important;
}


.w-100s {
  width: 100%;
  margin: 0 0 0 5%;
  clear: both;
  position: relative;
  Z-INDEX: 10;
}

.newCourse .card-body{
  padding:  1.25rem 1.25rem  0 1.25rem !important;
}

.font-larger {
  font-size: 18px;
}

.course-block h4{
  font-size: 26px;
}

.media-body p{
  font-size: 18px;
}

.blue-bg a{
  font-size: 18px;
}

.footer-menu h6{
  font-size: 18px;
}

footer ul li a {
  font-size: 16px;
}

footer ul li {
  line-height: 24px;
}

.footer-social .footer-text{
  font-size: 14px !important;
}

.box-image .box-links .titles, .recom-image .box-links .titles{
  font-size: 20px !important;
  padding-bottom: 0.4375em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  max-height: 1.5em;
  min-height: 1.5em;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-align: justify;
}

.box-links .desps, .box-links .users{
  font-size: 16px;
  margin: 15px auto;
}

.pagination li{
  font-size: 18px;
}

/* .form-control {
  padding: .375rem .45rem;
} */

#course_selector .mb-20 {
  margin-left: -20px;
}

#course_selector .mb-20:first-child {
  margin-left: 0px;
}

@media screen and (max-width: 1024px) {
  #course_selector .mb-20 {
    margin-left: 0px;
  }
}

/* 網站公告 */
.newslist a {
  color: #111;
  width: 100%;
}

.newslist a:hover {
  color: #ffe34c;
}

.newsdate, .newtxt {
  float: left;
}

.newslisthr {
  border-bottom: 3px #111 dotted !important;
}

.particl_colors {
  position: relative;
}

.particl_colors span {
  position: absolute;
  border-radius: 50%;
  width: 20px;
  height: 20px;
}

.particl_colors span:nth-child(1) {
  background-color: rgba(248, 178, 107, 0.4);
  -webkit-animation: blink-1 15s 1s infinite both !important;
  -moz-animation: blink-1 15s 1s infinite both !important;
  -o-animation: blink-1 15s 1s infinite both !important;
  -ms-animation: blink-1 15s 1s infinite both !important;
  animation: blink-1 15s 1s infinite both !important;
}

.particl_colors span:nth-child(2) {
  left: 45%;
  margin-top: 13%;
  width: 18px;
  height: 18px;
  background-color: rgba(253, 79, 254, 0.3);
  -webkit-animation: blink-1 15s 1.5s infinite both !important;
  -moz-animation: blink-1 15s 1.5s infinite both !important;
  -o-animation: blink-1 15s 1.5s infinite both !important;
  -ms-animation: blink-1 15s 1.5s infinite both !important;
  animation: blink-1 15s 1.5s infinite both !important;
}

.particl_colors span:nth-child(3) {
  background-color: rgba(79, 254, 248, 0.38);
  right: 35%;
  margin-top: 22%;
  width: 18px;
  height: 18px;
  -webkit-animation: blink-1 15s 2s infinite both !important;
  -moz-animation: blink-1 15s 2s infinite both !important;
  -o-animation: blink-1 15s 2s infinite both !important;
  -ms-animation: blink-1 15s 2s infinite both !important;
  animation: blink-1 15s 2s infinite both !important;
}

.particl_colors span:nth-child(4) {
  background-color: rgba(79, 254, 248, 0.17);
  right: 28%;
  margin-top: 0;
  width: 14px;
  height: 14px;
  -webkit-animation: blink-1 15s 2.5s infinite both !important;
  -moz-animation: blink-1 15s 2.5s infinite both !important;
  -o-animation: blink-1 15s 2.5s infinite both !important;
  -ms-animation: blink-1 15s 2.5s infinite both !important;
  animation: blink-1 15s 2.5s infinite both !important;
}

.particl_colors span:nth-child(5) {
  background-color: rgba(79, 254, 248, 0.39);
  right: 0;
  margin-top: 15%;
  width: 25px;
  height: 25px;
  -webkit-animation: blink-1 15s 3s infinite both !important;
  -moz-animation: blink-1 15s 3s infinite both !important;
  -o-animation: blink-1 15s 3s infinite both !important;
  -ms-animation: blink-1 15s 3s infinite both !important;
  animation: blink-1 15s 3s infinite both !important;
}

.particl_colors span:nth-child(6) {
  background-color: rgba(248, 178, 107, 0.38);
  right: -10%;
  margin-top: 45%;
  width: 10px;
  height: 10px;
  -webkit-animation: blink-1 15s 3.5s infinite both !important;
  -moz-animation: blink-1 15s 3.5s infinite both !important;
  -o-animation: blink-1 15s 3.5s infinite both !important;
  -ms-animation: blink-1 15s 3.5s infinite both !important;
  animation: blink-1 15s 3.5s infinite both !important;
}

.particl_colors span:nth-child(7) {
  background-color: rgba(248, 107, 107, 0.59);
  left: 20%;
  margin-top: 20%;
  width: 19px;
  height: 19px;
  -webkit-animation: blink-1 15s 4s infinite both !important;
  -moz-animation: blink-1 15s 4s infinite both !important;
  -o-animation: blink-1 15s 4s infinite both !important;
  -ms-animation: blink-1 15s 4s infinite both !important;
  animation: blink-1 15s 4s infinite both !important;
}

.particl_colors span:nth-child(8) {
  background-color: rgba(253, 79, 254, 0.22);
  left: 28%;
  margin-top: 35%;
  width: 19px;
  height: 19px;
  -webkit-animation: blink-1 15s 4.5s infinite both !important;
  -moz-animation: blink-1 15s 4.5s infinite both !important;
  -o-animation: blink-1 15s 4.5s infinite both !important;
  -ms-animation: blink-1 15s 4.5s infinite both !important;
  animation: blink-1 15s 4.5s infinite both !important;
}

.particl_colors span:nth-child(9) {
  background-color: rgba(79, 254, 248, 0.34);
  left: -10%;
  margin-top: 45%;
  width: 25px;
  height: 25px;
  -webkit-animation: blink-1 15s 5s infinite both !important;
  -moz-animation: blink-1 15s 5s infinite both !important;
  -o-animation: blink-1 15s 5s infinite both !important;
  -ms-animation: blink-1 15s 5s infinite both !important;
  animation: blink-1 15s 5s infinite both !important;
}

@-webkit-keyframes blink-1 {
  0%, 50%, 100% {
    opacity: 1;
  }
  25%, 75% {
    opacity: 0;
  }
}

@-moz-keyframes blink-1 {
  0%, 50%, 100% {
    opacity: 1;
  }
  25%, 75% {
    opacity: 0;
  }
}

@keyframes blink-1 {
  0%, 50%, 100% {
    opacity: 1;
  }
  25%, 75% {
    opacity: 0;
  }
}

@-webkit-keyframes circleRipple {
  from {
    -webkit-transform: scale(0);
    opacity: 1;
  }
  to {
    -webkit-transform: scale(2);
    opacity: 0;
  }
}

@-moz-keyframes circleRipple {
  from {
    -webkit-transform: scale(0);
    opacity: 1;
  }
  to {
    -webkit-transform: scale(2);
    opacity: 0;
  }
}

.time-from {
  width: 80px;
  margin-right: 10px;
  padding-right: 0.8em;
  border: none;
  border-right: 1px solid #ccc;
  background-color: #f8f8f8;
  text-align: center;
  float: left;
}

.time-from .day {
  color: #111;
  font-size: 38px;
  font-weight: 300;
  line-height: 30px;
  margin: auto;
  color: #2F80ED;
}

.time-from .month {
  color: #111;
  text-transform: none;
  font-weight: 500;
  font-size: 12px;
}

#newslist strong {
  color: #111;
  font-weight: 900 !important;
  font-size: 1.5em;
}

#newslists strong {
  color: #111;
  font-weight: 700 !important;
  font-size: 20px;
}

#newslists .time-from .day {
  font-size: 30px;
  font-weight: 300;
  line-height: 30px;
  margin: auto;
  color: #2F80ED;
}

@media screen and (max-width: 480px) {
  .row {
    flex-direction: column-reverse;
  }
}

.vcenter{
  display: flex;
  align-items: center;
}