/*meiyi*/

:root {
  --blue: #007bff;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --primary: #007bff;
  --secondary: #6c757d;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block; }

body {
  margin: 0;
  font-family: "Poppins",'Noto Sans TC', Arial, sans-serif,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #f9f9ff;
}

[tabindex="-1"]:focus {
  outline: 0 !important; }

hr {
  margin-bottom: 0.5rem;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
  overflow: visible; }

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 1.5rem; }

p {
  margin-top: 0;
  margin-bottom: 0.5rem; }

abbr[title],
abbr[data-original-title] {
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  cursor: help;
  border-bottom: 0;
  text-decoration-skip-ink: none; }

address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit; }

ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1rem; }

ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0; }

dt {
  font-weight: 700; }

dd {
  margin-bottom: .5rem;
  margin-left: 0; }

blockquote {
  margin: 0 0 1rem; }

b,
strong {
  font-weight: bolder; }

small {
  font-size: 80%; }

sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline; }

sub {
  bottom: -.25em; }

sup {
  top: -.5em; }

a {
  color: black;
  text-decoration: none;
  background-color: transparent; }
  a:hover, a:focus{
    color: #da8d0b;
    text-decoration: none; }

a:not([href]):not([tabindex]) {
  color: inherit;
  text-decoration: none; }
  a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
    color: inherit;
    text-decoration: none; }
  a:not([href]):not([tabindex]):focus {
    outline: 0; }

pre,
code,
kbd,
samp {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1em; }

pre {
  margin-top: 0;
  margin-bottom: 1rem;
  overflow: auto; }

figure {
  margin: 0 0 1rem; }

img {
  vertical-align: middle;
  border-style: none; }

svg {
  overflow: hidden;
  vertical-align: middle; }

table {
  border-collapse: collapse; }

caption {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #6c757d;
  text-align: left;
  caption-side: bottom; }

th {
  text-align: inherit; }

label {
  display: inline-block;
  margin-bottom: 0.5rem; }

button {
  border-radius: 0; }

button:focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color; }

input,
button,
select,
optgroup,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit; }

button,
input {
  overflow: visible; }

button,
select {
  text-transform: none; }

select {
  word-wrap: normal; }

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; }

button:not(:disabled),
[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled) {
  cursor: pointer; }

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  padding: 0;
  border-style: none; }

input[type="radio"],
input[type="checkbox"] {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0; }

input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
  -webkit-appearance: listbox; }

textarea {
  overflow: auto;
  resize: vertical; }

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0; }

legend {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin-bottom: .5rem;
  font-size: 1.5rem;
  line-height: inherit;
  color: inherit;
  white-space: normal; }

progress {
  vertical-align: baseline; }

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto; }

[type="search"] {
  outline-offset: -2px;
  -webkit-appearance: none; }

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button; }

output {
  display: inline-block; }

summary {
  display: list-item;
  cursor: pointer; }

template {
  display: none; }

[hidden] {
  display: none !important; }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-bottom: 1.5rem;
  font-weight: 500;
  line-height: 1.2; }

h1, .h1 {
  font-size: 2.5rem; }

h2, .h2 {
  font-size: 2rem; }

h3, .h3 {
  font-size: 1.75rem; }

h4, .h4 {
  font-size: 1.5rem; }

h5, .h5 {
  font-size: 1.25rem; }

h6, .h6 {
  font-size: 1rem; }

.lead {
  font-size: 1.25rem;
  font-weight: 300; }

.display-1 {
  font-size: 6rem;
  font-weight: 300;
  line-height: 1.2; }

.display-2 {
  font-size: 5.5rem;
  font-weight: 300;
  line-height: 1.2; }

.display-3 {
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 1.2; }

.display-4 {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2; }

hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1); }
.pl-2rem{
  padding-left:2rem;
}
#ftco-navbar{
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 9999;
  -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);

}
.navbar-expand-lg .navbar-nav .nav-link {
  font-size: 16px;
  padding-top: .7rem;
  padding-bottom: .7rem;
  padding-left: 20px;
  padding-right: 20px;
  color: rgba(0,0,0,.5);
}
.navbar-dark .navbar-nav .nav-link.active{
  color:black;
}
.navbar-nav > .nav-item > .nav-link span {
  position: relative;
  display: block;
  padding-bottom: 2px;
  font-weight: 500;
}
.navbar-nav > .nav-item > .nav-link span:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: rgb(230, 167, 65) !important;
  color:rgb(230, 167, 65) !important;
  visibility: visible;
  -webkit-transform: scaleX(0);
  -moz-transform: scaleX(0);
  -ms-transform: scaleX(0);
  -o-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  -ms-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}
.navbar-nav > .nav-item .nav-link.activespan span:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  -ms-transform: scaleX(1);
  transform: scaleX(1);
}
.navbar-nav > .nav-item > a:hover {
  color: #da8d0b !important;
}
section#home{
  background: -webkit-linear-gradient(top,rgba(255,255,255,1),rgba(84, 81, 230, 0.32)),url(../img/CGU.jpg) center bottom no-repeat;  /*background-image: linear-gradient(to top, #354674  0%, #0a1533  100%, #6b8cce 100%,  #282465 100%);*/
  padding: 0;
  height: 100vh;
  min-height: 100vh;
  color: white;
}
.masthead{
  padding-top: calc(4rem);
}
#home .intro{
  margin: auto;
  text-align: center;
  position: relative;
  z-index: 1;
  color: #1b1a1a;
  background-color: white;
  padding: 20px 15px;
  border-radius: 10px;
  max-width: 500px;
}
.container{
  width: 100%;
  margin: 0;
  padding: 0;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
.scroll{
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  z-index: 1;
  text-align: center;
}
.arrow,
.arrow:before{
  position: absolute;
  left: 50%;
}
.arrow{
  width: 40px;
  height: 40px;
  margin: -50px 0 0 -20px;
  -webkit-transform: rotate(45deg);
  border-left: none;
  border-top: none;
  border-right: 2px #fff solid;
  border-bottom: 2px #fff solid;
}
  
.arrow:before{
  content: '';
  width: 20px;
  height: 20px;
  top: 50%;
  margin: -10px 0 0 -10px;
  border-left: none;
  border-top: none;
  border-right: 1px #fff solid;
  border-bottom: 1px #fff solid;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-name: arrow;
}

@keyframes arrow{
  0%{opacity: 1;}
  100%{
    opacity: 0;
    transform: translate(-10px, -10px);}
}
@-webkit-keyframes arrow{
  0%{opacity: 1;}
  100%{
    opacity: 0;
    transform: translate(-10px, -10px);}
}


.mouse-icon{
  color:white;
}

.mouse-icon:hover{
  color: white;
}

#to-top{
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: rgba(0, 0, 0, 0.25);
  width: 40px;
  height: 40px;
  display: none;
  text-decoration: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 100%;
  z-index: 4;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#to-top>i, #to-top>svg{
  font-size: 20px;
  color: #fff;
  margin: 0;
  position: relative;
  left: 11px;
  top: 10px;
}

footer{
  text-align: center;
  padding: 1em 0;
  font-size: 14px;
  background: #0a1533;
  color:#fff;
}
.footer-img{
  width: auto;
	height: auto;
  max-width: 42px;
  padding-right: 5px;

}
.user-img{
  max-width: 8rem;
  border-radius: 15px;
}
.about-info>li>span:first-child{
  font-weight: 600;
  color: rgb(222, 153, 40);
  min-width: 90px;
}
ul.about-info li {
  list-style: none;
  margin-bottom: 10px;
  color: #212121;
  text-align: left;
}
.p-t{
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.introduct{
  box-shadow: 0px 5px 20px 0px rgba(69, 67, 96, 0.22);
  border-radius: 15px;
}
.introduct-text{
  padding: 20px;
  word-wrap:break-word;
}
.research>.row>div>i{
  color: #de9928;
}
.select-tabs a.nav-link{
  margin-right: 20px;
  background-color: #ecd38578;
  margin-bottom: 8px;
  border-radius: 0.5rem;
}
.nav-tabs .nav-link.active{
  background-color: #f7d470cf;
  box-shadow: 5px 4px 3px 0px rgb(208, 208, 214);
  -webkit-box-shadow: 5px 4px 3px 0px rgb(208, 208, 214);
  -moz-box-shadow: 5px 4px 3px 0px rgb(208, 208, 214);
  border-color:transparent;
}
.select-tabs tr>td{
  padding: 0.5rem 1rem;
  border-top: 1px solid #d9dfe6;
}
.select-tabs tr:hover{
  background-color: #fcda7963;
}
.tab-content{
  background-color: white;border: 1px solid rgba(0,0,0,.125);
  border-radius: .25rem;
}

.course{
  margin: auto; 
  text-align: center;
  /*display: inline-flex;*/
  width: 100%;
  padding: 25px 0;
  
}


/*Course*/
.course-tr{
  flex: 0 0 18%;
  max-width: 18%;
  border-right: 1px solid #adadad;
}
.course-th{
  font-size: 16px;
  background-color: #ecd38578;
  border-top: 1px solid #adadad;
  border-bottom: 1px solid #adadad;
  height: 45px;
  line-height: 45px;
}
.course-td{
  height:80px;
  border-bottom: 1px solid #adadad;
  white-space: pre-wrap;
  display: table;
  width: 100%;
}
.course-td>div{
  display: table-cell;
  vertical-align: middle;
}
.course-title{
  max-width: 80px !important;
  border-left: 1px solid #adadad;
}
.td-2{
  height: 160px;
}
.td-3{
  height:240px;
}
/*end course*/
.cours-link{
  height: 9rem;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center; 
}
.cours-link>p{
  display: table-cell;
  vertical-align: middle;
}
.cours-link>span.year{
  color: #FFF;
  background: #344f98;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  font-size: 14px;
  opacity: 1;
  display: inline-block;
  padding: 3px 10px;
  position: absolute;
  top: 0;
  left: 20px;
}
.more-button{
  color: #FFF;
  font-size: 14px;
  display: block;
  background: #e0a13a;
  border-radius: 100%;
  height: 30px;
  line-height: 30px;
  text-align: center;
  position: absolute;
  bottom: 11px;
  right: 20px;
  width: 30px;
}
.video-link, .cours-link{
  margin: 0px 10px 20px 10px;;
  box-shadow: 0px 5px 10px 0px rgba(69, 67, 96, 0.22);
  border-radius: 15px;
  text-align: center;
  padding:10px;
  color: #de9928;
  transform: translateY(0);
  transition: all 0.3s ease-in-out;  
}
.video-link:hover,.cours-link:hover{
  color: #31416e;
  -webkit-transform: translateY(-8px);
  transform: translateY(-8px);
  transition: all 0.3s ease-in-out;
}
.video-link>p{
  padding:0;
  color:black;
}
.web-link{
  box-shadow: 0px 5px 20px 0px rgba(69, 67, 96, 0.22);
  border-radius: 7px;
  padding:0;
  color:black;
}
.web-link>li{
  padding: .75rem 1.25rem;
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.125);
  width:100%;
  list-style:none;
}
.web-link>li:first-child {
  border-top-left-radius: .25rem;
  border-top-right-radius: .25rem;
}
.web-link>li:last-child {
  margin-bottom: 0;
  border-bottom-right-radius: .25rem;
  border-bottom-left-radius: .25rem;
}
.name-link{
  margin-bottom: 1rem;
  padding-left: 1.1rem;
}
.list-group-item-action{
  color: #000000;
}
.dropdown-menu .list-group-item-action {
  background-color: #f5f4f1;
}
button:not(:disabled), [type="button"]:not(:disabled){
  color: #495057;
}
.link-list{
  box-sizing: border-box;
  flex-direction: column;
  justify-content: flex-start;
  align-content: flex-start;
}
.name-link:before {
  content: "";
  width: 9px;
  height: 25px;
  display: block;
  left: -14px;
  top: 24px;
  position: relative;
  background-color: #ffaf2f;
  border-radius: 25px;
}
.list-group-item:hover{
  background-color: #fcda7963;
  color: black;
}
.dropdown-toggle::after{
  float: right;
  top: 9px;
  position: inherit;
}
/*滑鼠過去*/
.dropdown:hover .dropdown-menu {
  display: contents;
}
.dropdown-menu.show {
  display: contents;
}

/*time*/

.timeline {
  width: 100%;
  position: relative;
  padding: 1rem 1.5rem;
}

.timeline-item {
  padding: 3em 2em 0.5em 2em;
  position: relative;
  color: rgba(0, 0, 0, 0.7);
  border-left: 2px solid rgba(0, 0, 0, 0.3);
}
.timeline-item p {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.timeline-item::before {
  content: attr(date-is);
  position: absolute;
  left: 1em;
  font-weight: bold;
  top: 0.5em;
  display: block;
  font-weight: 700;
  font-size: 1.2rem;
}
.timeline-item::after {
  display: block;
  top: 0.7em;
  position: absolute;
  left: -9px;
  border-radius: 8px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f0b1";
  background: #f9f9ff;
  color: #e6a741;
}
.timeline-item:last-child {
  -o-border-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 60%, transparent) 1 100%;
     border-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.3) 60%, transparent) 1 100%;
     border-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 60%, transparent) 1 100%;
}
/*end time*/

.grade{
  padding-bottom: 20px;
}
.grade>h4{
  margin-bottom: 0;
}
.userImg,.userImgIn{
  display: inline-block;
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 10px;
}
.userImgIn{
  border-radius: 50%;
  overflow: hidden;
}
.members_img{
  width: 100%;
}


@media(max-width:1024px){
  .nav-tabs .nav-link{
    width:100%;
  }
  .course-title {
    position: sticky;
    z-index: 2;
    background: #f9f9ff;
    left: 0px;
  }
  .course-tr {
    float: left;
    width: 130px;
    flex: none;
    max-width: none;
  }
}
@media (max-width: 992px){
  .user-img{
    width:30%;
  }
}
@media(max-width:768px){    
  .select-tabs tr>td{
    padding: 0.4rem 0.5rem 0.4rem;
  }
  .coursename-en{
    font-size: 0.8rem;
    line-height: 0.8rem;
  }
}
@media(max-width:576px){
  .video-link{
    margin: 10px;
  }
}
@media(max-width:425px){  
  /* 
  .course{
    width: 97%;
    overflow: hidden;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }*/
}
@media(max-width:375px){    
  .about-info>li>span:first-child{
    min-width: 85px;
  }
}
@media(max-height:736px){
  .scroll{
    bottom: 0;
  }
}
@media(max-height:620px){
  section#home {
    height: 110vh;
    min-height: 110vh;
  }
  .scroll {
    bottom: -65px;
  }
}
@media(max-height:567px){
  section#home {
    height: 110vh;
    min-height: 110vh;
    padding: 300px 0;
  }
  .scroll {
    display: none;
  }
  #home .intro {
    top: 1.5rem;
  }
}