@import "global_setting.css";

/* main page */
.video-js {
  overflow: hidden;
  border-radius: 8px;
}

.knowledge_banner {
  background-image: url(../../../i/knowledge/knowledge-bg.svg);
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  height: 60vh;
  max-height: 500px;
  min-height: 350px;

  border-top: 0.5px solid var(--gray-200);
}

.knowledge_search {
  height: 60vh;
  max-height: 500px;
  min-height: 350px;
  display: flex;
  align-items: center;
}

.knowledge_search-bar {
  width: 364px;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 24px 0px 16px 0px;
  padding: 8px 24px;
  gap: 12px;

  background-color: var(--primary-50);
  border-radius: 50px;
}

.knowledge_search-bar img {
  height: 20px;
  margin-right: 8px;
  padding-left: 12px;
}

.knowledge_search-bar .search_btn:hover {
  cursor: pointer;
}

.knowledge_search-bar input {
  width: 100%;
  border: none;
  background-color: var(--primary-50);
}

.knowledge_search-bar input:focus {
  background-color: var(--primary-50);
  border: none;
  box-shadow: none;
}

.knowledge_search--inner {
  margin-bottom: 10%;
}

.knowledge_search--inner h6 {
  color: var(--primary-600);
}

.knowledge_search-keyword a {
  color: var(--primary-600);
}

.knowledge_search-keyword a:hover {
  color: var(--primary-500);
}

.knowledge_tablist {
  margin: -36px 0px 48px 0px;
  padding: 0px 48px;

  background: #FFF;
  box-shadow: 0px 10px 25px rgba(64, 93, 162, 0.25);
  border-radius: 4px;
}

.knowledge_tablist--tabs {
  display: flex;
  gap: 10px;
}

.knowledge_tablist--item-active p,
.knowledge_tablist--item p {
  margin: 12px 16px;
}

.knowledge_tablist--underline-active,
.knowledge_tablist--underline {
  border-bottom: 3px solid var(--primary-600);
  border-radius: 5px 5px 0px 0px;
}

.knowledge_tablist--item-active p {
  color: var(--gray-800);
}

.knowledge_tablist--item p {
  color: var(--gray-500);
}

.knowledge_tablist--underline {
  opacity: 0%;
}

.knowledge_tablist--item:hover p {
  color: var(--gray-800);
}

.knowledge_tablist--item:hover .knowledge_tablist--underline {
  opacity: 100%;
}

.m_knowledge_category-filter{
  margin-bottom: 16px;
}

.knowledge_category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.knowledge_category--item {
  display: flex;
  gap: 16px;
}

.knowledge_category--item .subtitle2 {
  color: var(--gray-800);
}

.knowledge_category--button-active,
.knowledge_category--button {
  padding: 4px 16px;
  box-shadow: 0px 0px 10px rgba(64, 93, 162, 0.08);
  border-radius: 50px;
}

.knowledge_category--button-active {
  color: #FFF;
  background-color: var(--primary-600);
}

.knowledge_category--button {
  color: var(--primary-600);
  background-color: #FFF;
}

.knowledge_category--button-active:hover p {
  color: #FFF;
}

.knowledge_category--button:hover {
  color: #FFF;
  background-color: var(--primary-600);
}

.knowledge_card-item {
  padding-bottom: 88px !important;
}

@media screen and (max-width:768px) {
  .knowledge_search-bar {
    width: auto;
    padding: 4px 24px;
  }

  .m_knowledge_search-bar-wrap {
    margin-top: -36px;
    padding: 24px 24px;
    background-color: #FFF;
  }
  .knowledge_category--item{
    display: flex;
    gap: 8px;
  }
  .knowledge_category--button-active, .knowledge_category--button{
    padding: 4px 12px;
    font-size: 12px !important;
  }
}

/* knowledge global component */
.card-wrap,
.card-article-wrap {
  width: 95% !important;
}

.knowledge-section {
  max-width: 890px;
}

.knowledge-section--warp {
  margin: 48px 0px;
}

.knowledge-title h6 {
  color: var(--gray-800);
  font-weight: bold;
}

.knowledge-title span.subtitle {
  color: #3a5dae;
  font-size: 18px;
}

.knowledge-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-600);
}

.knowledge-info--inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.knowledge-info--item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.knowledge-info--item a {
  color: var(--gray-600);
  text-decoration-line: underline;
}

.knowledge-info--item a:hover {
  opacity: 80%;
}

.knowledge-info--item img {
  height: 26px;
  width: 26px;
}

.rwd-flex-end {
  justify-content: flex-end;
}

.knowledge-visual {
  overflow: hidden;
  border-radius: 8px;
  margin: 24px 0px;
}

.knowledge-visual img {
  width: 100%;
}

.knowledge-content {
  margin: 48px 0px 72px 0px;
}

.knowledge-content .body1,
.knowledge-content .body2 {
  color: var(--gray-800);
}

.knowledge-content .subtitle1,
.knowledge-content .subtitle2 {
  color: var(--primary-600);
  margin: 24px 0px;
}

.knowledge-content img {
  width: 100%;
  height: 100%;
}

.knowledge-content--source {
  display: flex;
  margin: 24px 0px;
  gap: 4px;
}

.knowledge-content--source p,
.knowledge-content--source a {
  color: var(--gray-600);
}

.knowledge-content--source a:hover {
  opacity: 80%;
}

.knowledge_dual-section {
  display: flex;
}

.knowledge_dual-section--left {
  width: 70%;
}

.knowledge-dual-section--right {
  width: 30%;
  margin-left: 64px;
}

.knowledge_apply-block {
  padding: 32px 24px 16px 24px;
  color: var(--gray-800);
  border: 0.5px solid var(--gray-100);
  box-shadow: 0px 4px 10px rgba(64, 93, 162, 0.08);
  border-radius: 4px;
}

.knowledge_apply-block--price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-right: 24px;
}

.knowledge_apply-block--price-discount {
  text-decoration-line: line-through;
  color: #FF6868;
}

.knowledge_apply-block--button {
  width: 100%;
  padding: 8px;
  text-align: center;
  border-width: 0;
  color: #FFF;
  background-color: var(--primary-600);
  border-radius: 4px;
}

.knowledge_apply-block--button:hover {
  background-color: var(--primary-500);
}

.knowledge_apply-block--caption {
  margin: 8px 0px;
  color: var(--gray-500);
}

.knowledge_state-success {
  overflow: hidden;
  display: flex;
  justify-content: space-between;

  margin: 24px 0px -24px 0px;

  color: #FFF;
  background-color: var(--primary-500);
  border-radius: 8px;
}

.knowledge_state-success--left {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 24px;
}

.knowledge_state-success--right {
  width: 44px;
  height: 44px;

  display: flex;
  justify-content: center;
  align-items: center;

  background-color: var(--primary-600);
}

.knowledge_state-success--right:hover {
  background-color: var(--primary-700);
}

.knowledge_state-success--button {
  padding: 2px 8px;
  color: #FFF;
  border: 1px solid #FFF;
  border-radius: 4px;
}

.knowledge_state-success--button:hover {
  color: var(--primary-800);
  border: 1px solid var(--primary-800);
}

.knowledge_state-none {
  height: 60vh;
  min-height: 150px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  color: var(--gray-800);
}

/* article listed item */
.knowledge_other{
  width: 80%;
}

.knowledge_other--item{
  margin-top: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--gray-500);
}

.knowledge_other--item:last-child{
  border-bottom: 0px;
}

.knowledge_other--title{
  margin-bottom: 10px;
  color: var(--gray-800);
}

.knowledge_other---descript{
  margin-bottom: 12px;
  color: var(--gray-500);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.knowledge_other---link{
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--gray-500);
}

.knowledge_other---link a{
  color: var(--gray-500);
}

.knowledge_other---link a:hover{
  opacity: 80%;
}

/* knowledge global component --RWD */
@media screen and (max-width: 990px) {

  .knowledge_dual-section--left {
    width: 100%;
  }

  .knowledge-dual-section--right {
    display: none;
  }
}

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

  .knowledge-section--warp,
  .knowledge_dual-section {
    margin: 24px 12px;
  }

  .knowledge-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .knowledge-info--inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .knowledge_state-success {
    margin-bottom: 24px;
  }

  .rwd-flex-end {
    justify-content: flex-start;
  }

}

/* event */

.knowledge-event-visual {
  overflow: hidden;
  margin: 48px 0px;
  filter: drop-shadow(0px 4px 10px rgba(34, 29, 86, 0.06));
  border-radius: 8px;
}

.knowledge-event-visual img {
  width: 100%;
}

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

  .knowledge-event-visual {
    margin: 24px 0px;
  }

}

/* series */
.knowledge-series-block {
  margin: 48px 0px 24px 0px;
}

.knowledge-series-visual {
  overflow: hidden;
  margin-bottom: 48px;
  border-radius: 8px;
}

.knowledge-series-visual img {
  width: 100%;
}

@media screen and (max-width:768px) {
  .knowledge-series-block {
    margin-top: 24px;
  }
}

/* series playlist */

.knowledge_playlist--title .subtitle2 {
  color: var(--primary-600);
}

.knowledge_playlist--title .body2 {
  color: var(--gray-600);
}

.knowledge_playlist .card {
  margin: 0;
  border-radius: 0px;
}

.knowledge_playlist .card-header {
  background-color: var(--primary-50);
}

.knowledge_playlist button {
  width: 100%;
  background-color: var(--primary-50);
  border: none;
}

.knowledge_playlist .card-header--text {
  color: var(--gray-800);
}

.knowledge_playlist--item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.knowledge_playlist--item-left {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 20px;
}

.knowledge_playlist--item-right {
  text-align: right;
  white-space: nowrap;
}

.knowledge_playlist--item-right:hover {
  opacity: 80%;
}

.knowledge_playlist--item-state img {
  height: 16px;
}

.knowledge_playlist--item-state-free {
  padding: 2px 8px;

  color: var(--primary-600);
  border: 1px solid var(--primary-600);
  border-radius: 4px;

  white-space: nowrap;
}

.knowledge_playlist--item-title {
  color: var(--gray-800);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.knowledge_playlist--item-time {
  color: var(--gray-600);
}

.knowledge_playlist--item-right a {
  color: var(--primary-600);
  text-decoration: underline;
}

@media screen and (max-width: 768px){
  .knowledge_playlist--item-time{
    display: none;
  }
}

/* bottom apply block */
.m_knowledge_apply-block--margin,
.m_knowledge_apply-block {
  display: none;
}

@media screen and (max-width: 990px) {
  .l_footer-wrap {
    display: none;
  }

  .m_knowledge_apply-block--margin {
    display: block;
    width: 100%;
    height: 88px;
  }

  .m_knowledge_apply-block {
    width: 100%;
    position: fixed;
    bottom: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 16px 8px 16px;

    background-color: #FFF;
    box-shadow: 0px -4px 10px rgba(64, 93, 162, 0.08);
  }

  .m_knowledge_apply-block--inner {
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .m_knowledge_apply-block--inner form {
    width: 50%;
  }
}