/* 
綠 #8fe7d9 
亮藍 #24cce2
亮藍-2 #0a49a9;
亮藍-3 #0c5ed8;
字藍綠 #1f6b8c
黃 #ffe9a5 */



body {
  color: #333;
  padding: 0;
}

p {
  color: #333;
}

.gotop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  display: block;
  background-color: #ffffff;
  border-radius: 50%;
  opacity: 0.6;
  z-index: 999;
  transition: all 0.3s ease;
  font-size: 2rem;
  box-shadow: 0 0 8px;
}



/* kv */
.corp-kv {
  width: 100%;
  padding: 40px 0 0;
  background-image: url(../img/bg_corp_head.jpg);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
  background-position: top right;
  position: relative;
}
@media(min-width:1366px){
  .corp-kv {
    background-position: top center;
    background-size: 100%;
  }
}
@media(min-width:992px){
  .corp-kv {
    padding: 120px 0 0;
  }
}
.corp-kv .kv-title {
  font-size: 5rem;
  text-align: center;
  color: #1f6b8c;
  margin: 30px 0 20px;
}
.corp-kv-cover {
  margin-top: -30px;
  
}
.corp-kv-bg {
  background: #fff;
  margin-top: 100px;
  padding-bottom: 4%;
}
.corp-kv-logo {
  padding: 6px;
  background: #fff;
  box-shadow: 1px 1px 5px rgb(108, 131, 130);
  text-align: center;
}
.corp-kv-logo img {
  width: 100%;
  max-width: 500px;
}

.corp-tag-group {
  margin: 2% 0;
}
.corp-tag-group span {
  display: inline-block;
  background: #327e80;
  color: #fff;
  padding: 4px 10px;
  margin: 2px 5px;
  border-radius: 3px;
}

.corp-kv-titlebox {
  padding: 0 0 20px;
  border-bottom: 3px dotted #8fe7d9;
}
.corp-kv-titlebox .top {
  margin-top: 40px;
}
.corp-kv-titlebox .sub {
  font-size: 24px;
  margin: 0 0 10px;
}
.social-group {
}
.social-group a {
  color: #333;
}
.social-group a:hover {
  color: #24cce2;
}
.social-group li {
  padding: 10px;
  display: inline-block;
  font-size: 30px;
}
.social-group i, .social-group svg {
}
.corp-kv-info {}

.corp-kv-info-title {
  text-align: center;
  margin: 1rem 0;
}

.corp-kv-info ul li {
  font-size: 16px;
}
.corp-kv-wonderimg {
  margin-top: 3%;
  text-align: center;
}
.corp-kv-wonderimg img {
  width: 100%;
}
/* 競賽主題文章 */

.corp-topic {
  background-image: url(../img/bg_corp.jpg);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: top center;
  background-size: cover;
  position: relative;
}
.corp-title {
  position: relative;
  display: inline-block;
}
.corp-title::after {
  content: '';
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#162e8c+0,162e8c+50,24cce2+50,24cce2+50,24cce2+100 */
  background: #162e8c; /* Old browsers */
  background: -moz-linear-gradient(left,  #162e8c 0%, #162e8c 50%, #14ceff 50%, #14ceff 50%, #14ceff 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left,  #162e8c 0%,#162e8c 50%,#14ceff 50%,#14ceff 50%,#14ceff 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right,  #162e8c 0%,#162e8c 50%,#14ceff 50%,#14ceff 50%,#14ceff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#162e8c', endColorstr='#14ceff',GradientType=1 ); /* IE6-9 */
  width: 100%;
  height: 4px;
  display: inline-block;
}

.corp-head {
  line-height: 1;
  vertical-align: middle;
  display: flex;
  align-items: center;
  margin: 3rem 0;
}
.corp-head::before {
  content: '';
  background: url('../img/deco-head.png') no-repeat;
  background-size: 100%;
  height: 30px;
  width: 40px;
  display: inline-block;
  margin-right: .5rem;
}
.corp-head.v2::before {
  content: '';
  background: url('../img/deco-head2.png') no-repeat;
  background-size: 100%;
}
.corp-topic-card {
  background-color: #fff;
  padding: 20px 20px 10px;
  margin-bottom: 3%;
  box-shadow: 1px 1px 5px #555;
  border-radius: 3px;
}
.card-title {
  font-size: 24px;
  line-height: 1.3;
    height: 94px;
    overflow: hidden;
    /* text-overflow: ellipsis;
    white-space: nowrap; */
    font-family: "Open Sans",微軟正黑體, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.card-foot {
  color: #aaa;
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}
.topic-avatar {
  width: 7%;
  max-width: 50px;
  border: .5px solid #ddd;
  border-radius: 50%;
  overflow: hidden;
  line-height: 1;
}
.topic-avatar img {
  width: 100%;
}
.topic-name {}
.topic-publish {}
.topic-view {}


.btn-corp-more {
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#8fe7d9+0,24cce2+100 */
  background: #8fe7d9; /* Old browsers */
  background: -moz-linear-gradient(left,  #8fe7d9 0%, #24cce2 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left,  #8fe7d9 0%,#24cce2 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right,  #8fe7d9 0%,#24cce2 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8fe7d9', endColorstr='#24cce2',GradientType=1 ); /* IE6-9 */
  padding: 10px 30px;
  color: #fff;
  text-shadow: 0px 0px 2px #00535e;
  font-size: 20px;
  transition: .5s ease;
}
.btn-corp-more:focus, .btn-corp-more:hover {
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#24cce2+0,24cce2+100 */
  background: #24cce2; /* Old browsers */
  background: -moz-linear-gradient(left,  #24cce2 0%, #8fe7d9 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left,  #24cce2 0%,#8fe7d9 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right,  #24cce2 0%,#8fe7d9 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#24cce2', endColorstr='#8fe7d9',GradientType=1 ); /* IE6-9 */
  color: #fff;
}


/* 鐵人館學習資源 */

.corp-dojo {
  background-color: #cef4ff;
}

/* Webinar */
.corp-webinar {}
.corp-webinar-box-group {}
.corp-webinar-box-cover {
  padding: 10px 15px;
}
.corp-webinar-box {
  padding: 15px 15px 20px;
  background-color: #fff;
  box-shadow: 0 0 5px #aaa;
  border-radius: 5px;
  transition: .3s ease;
  transform: translateY(0px);
}
.corp-webinar-box:hover {
  transform: translateY(-3px);
}
.corp-webinar-video {}
.corp-webinar-video img,.corp-webinar-video video {
  width: 100%;
}
.corp-webinar-txt {}
.corp-webinar-txt .card-title {
  text-overflow: ellipsis;
  white-space: nowrap;
  height: unset;
}
.corp-webinar-txt .txt {
  overflow: hidden;
  height: 76px;
}

/* 微課程 */
.course-group {
  float: left;
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.course-box-cover {}
.course-box {
  max-width: 360px;
  display: block;
  background-color: #ffe9a5;
  background:no-repeat 100% 0 / 60px 60px, linear-gradient(45deg, transparent 10%, #ffe9a5 0%);
  filter: drop-shadow(0px 0px 5px #80600055);
  padding: 15px 15px 30px;
  margin: 2rem auto;
  border-radius: 3px;
  border-bottom-left-radius: 0px;
  transition: .3s ease;
  transform: translateY(0px);
  position: relative;
}
.course-box:hover {
  transform: translateY(-3px);
}
.course-box::before {
  content: '';
  background: rgba(255, 61, 61, 0.5);
  height: 40px;
  width: 100px;
  display: block;
  margin: -30px auto 0;
  transform: rotate(2deg);
}
.course-box-cover:nth-child(odd) .course-box::before {
  background: hsla(187, 77%, 51%, 0.5);
}
.course-box::after {
  content: '';
  width: 0;
  height: 0;
  border-top: 40px solid #eecd6a;
  border-right: 30px solid #eecd6a;
  border-bottom: 30px solid transparent;
  border-left: 40px solid transparent;
  position: absolute;
  left: 0;
  bottom: 0;
}
.course-box a {}
.course-number {
  color: #555;
  margin: 1rem 0;
  line-height: 1;
}
.course-number span {
  font-size: 3rem;
}
.course-tags {}

.crourse-head {
  font-size: 24px;
  line-height: 1.3;
    height: 94px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 1rem 0;
}
.course-txt {
    overflow: hidden;
    font-size: 16px;
    line-height: 1.4;
    height: 112px;
    text-overflow: ellipsis;
    /* white-space: nowrap; */
    margin: 1rem 0 3rem;
}
.course-btn {
  color: #0a49a9;
}
.course-btn:hover {
  color: #0c5ed8;
}

/* 下載資源 */
.corp-download {
  padding-bottom: 3%;
}

.download-box-group {}
.download-box-cover {
  padding-bottom: 3%;
}
.download-box {
  background-color: #fff;
  box-shadow: 0 0 3px #555;
  padding: 0 0 10px;
}
.download-img {
  background-color: #fff;
}
.download-img img {
  width: 100%;
}
.download-txt {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 10px;
  font-size: 24px;
  line-height: 1.5;
  height: 97px;
  overflow: hidden;
}
.download-txt h5 {
  line-height: 1.5;
}
/* .btn-down {
  display: block;
  background-color: #ffe9a5;
  box-shadow: 0px 0px 10px #fff, 0px 0px 20px #fff;
  border-radius: 10px;
  width: 100%;
  height: 50px;
  line-height: 50px;
  text-align: center;
}
.btn-down:hover {
 background-color: #eecd6a;
} */



/* 相關連結 */

.corp-linknet {
  padding-bottom: 3%;
}
.corp-head {}
.linknet-box-group {}
.linknet-box-cover {}
.linknet-box {
  display: flex;
  align-items: center;
}
.linknet-box i {
  font-size: 3rem;
  display: inline-block;
  margin-right: 1rem;
}
.linknet-box a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  height: unset;
  margin: 1rem 0;
  display: block;
}


/* 主題贊助合作夥伴 他的組別最新的五則文章 */
.corp-article {
  background-image: url(../img/bg_corp2.jpg);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: top center;
  background-size: cover;
  position: relative;
}
.corp-article .group-badge__img {
  width: 40px;
}
.corp-article-cover {}
.article-box-group {}
.article-box-group .ir-lists {
  min-height: 250px;
}
.article-box-group .ir-list {
  background-color: #fff;
  margin-bottom: 1%;
  box-shadow: 4px 4px 0 #7fd2c3;
  border-radius: 5px;
  border: .5px solid #ffff59;
  position: relative;
}



/* 台積電版 */
.tsmc-kv .corp-kv-bg {
  /* padding-bottom: 8%; */
}
.corp-kv-info a {
  color: #31708f;
}

.corp-kv-info a:hover {
  color: #24cce2;
}
.info__icon {
  padding: 2% 0;
  margin-bottom: 0.8rem;
  min-width: 40%;
}
.btn-info-job {
  font-size: 20px;
  border: 3px solid #1f6b8c;
  color: #1f6b8c;
  width: 100%;
  max-width: 400px;
  margin: 2% auto;
  padding: 15px;
  display: block;
}
.btn-info-job:hover {
 color: #ffffff;
 background-color: #1f6b8c;
}