  /* tabnews_typ4 *
-------------------------- */
.tabnews_type4 {
  background: linear-gradient(
    180deg,
    rgba(var(--color-primary-h), var(--color-primary-s), var(--color-primary-l), 0.2) 6.67%,
    rgba(255, 255, 255, 0.8) 79.58%,
    #ffffff 100%
  );
  padding: 50px 0;
}
.tabnews_type4 .tabnews_main {
  display: flex;
}
.tabnews_type4 h3 {
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 29px;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}
.tabnews_type4 .nav .nav-link {
  font-size: 1.25rem;
  text-align: center;
  letter-spacing: 0.1em;
  color: #1f1f1f;
  padding: 0 0 10px;
  margin: 1rem 0;
  position: relative;
  width: 150px;
}
.tabnews_type4 .nav .nav-link.active, .tabnews_type4 .nav .nav-link:hover, .tabnews_type4 .nav .nav-link:focus {
  position: relative;
  background-color: transparent;
  color: var(--color-primary);
  font-weight: 700;
}
.tabnews_type4 .nav .nav-link.active::after, .tabnews_type4 .nav .nav-link:hover::after, .tabnews_type4 .nav .nav-link:focus::after {
  content: "";
  width: 80%;
  height: 4px;
  background-color: var(--color-primary);
  transform: translateY(-50%);
  position: absolute;
  bottom: -6px;
  right: 0;
}
.tabnews_type4 .nav .nav-link span:hover:after, .tabnews_type4 .nav .nav-link span:focus:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 100%;
  height: 1.5rem;
  border-radius: 0.375rem;
  background-color: #eacc0b;
  transform: translateY(-50%);
  z-index: -1;
}
.tabnews_type4 .tab-content {
  padding: 10px 30px 20px 30px;
  background-color: #fff;
  box-shadow: 0px 67px 20px -48px rgba(0, 0, 0, 0.07);
  border-radius: 20px;
}
.tabnews_type4 .tab-content ul li {
  border-bottom: 1px dotted #ccc;
  padding: 20px 0;
}
.tabnews_type4 .tab-content ul li:last-child {
  border-bottom: none;
}
.tabnews_type4 .tab-content ul li.graphic a {
  padding-left: 0;
}
.tabnews_type4 .tab-content ul li.graphic a::before {
  display: none;
}
.tabnews_type4 .tab-content ul li.graphic a .article h4 {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  color: #2B2B2B;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tabnews_type4 .tab-content ul li.graphic a p {
  margin-bottom: 10px;
  color: #2B2B2B;
  letter-spacing: 0.1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-height: 25px;
}
.tabnews_type4 .tab-content ul li.graphic a .date .day {
  font-family: Roboto, sans-serif;
  letter-spacing: 0;
}
.tabnews_type4 .tab-content ul li a {
  position: relative;
}
.tabnews_type4 .tab-content ul li a::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 100%;
  background-color: #D9D9D9;
  border-radius: 50px;
  left: 0;
}
.tabnews_type4 .tab-content ul li a h4 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #2B2B2B;
  font-size: 1.5rem;
  font-weight: 700;
}
.tabnews_type4 .tab-content ul li a  {
  padding-left: 1.5rem;
  color: #2B2B2B;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 1;
}
.tabnews_type4 .tab-content ul li a .date {
  margin-bottom: 0;
}
.tabnews_type4 .tab-content ul li a .svgimg {
  position: relative;
}
.tabnews_type4 .tab-content ul li a .svgimg .i1 {
  display: inline-block;
  width: 36px;
  height: 36px;
  background-color: var(--color-primary);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  animation-name: ai1;
  animation-duration: 0.5s;
  position: relative;
  right: 0;
}
.tabnews_type4 .tab-content ul li a .svgimg .i2 {
  content: " ";
  width: 10px;
  height: 3px;
  animation-name: ai2;
  animation-duration: 0.5s;
  background-color: #fff;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
  position: absolute;
  top: 16px;
  right: 14px;
}
.tabnews_type4 .tab-content ul li a .svgimg .i3 {
  content: " ";
  width: 10px;
  height: 16px;
  background: url(/Content/components/Type2/MultiTab/type4/images/polygon.svg) no-repeat;
  animation-name: ai3;
  animation-duration: 0.5s;
  position: absolute;
  top: 11px;
  right: 8px;
}
.tabnews_type4 .tab-content ul li a:hover::before {
  background-color: var(--color-secondary);
}
.tabnews_type4 .tab-content ul li a:hover .svgimg .i1 {
  width: 44px;
  height: 44px;
  animation-name: ai1h;
  animation-duration: 0.5s;
}
.tabnews_type4 .tab-content ul li a:hover .svgimg .i2 {
  content: " ";
  width: 16px;
  height: 3px;
  top: 20px;
  right: 16px;
  animation-name: ai2h;
  animation-duration: 0.5s;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
}
.tabnews_type4 .tab-content ul li a:hover .svgimg .i3 {
  content: " ";
  width: 10px;
  height: 16px;
  top: 15px;
  right: 8px;
  animation-name: ai3h;
  animation-duration: 0.5s;
}
.tabnews_type4 .tab-content ul li a:hover h4 {
  color: var(--color-primary) !important;
}
    .tabnews_type4 .read_more {
        font-weight: 500;
        font-size: 1.2rem;
        letter-spacing: 1px;
        display: inline-block;
        text-decoration: none;
        color: #565656;
        transition: 0.5s;
        display: flex;
        justify-content: flex-end;
    }
.tabnews_type4 .read_more i {
  padding-left: 10px;
}
.tabnews_type4 .read_more:hover {
  color: var(--color-primary);
}

    /*.tabnews_type4 .tab-content ul li a .article h4,
    .tabnews_type4 .tab-content ul li a .article .line2-ellipsis,
    .tabnews_type4 .tab-content ul li a .date{
        padding-left: 1rem;
    }*/


    @keyframes ai1h {
        from {
    width: 36px;
    height: 36px;
    right: 0;
  }
  to {
    width: 44px;
    height: 44px;
  }
}
@keyframes ai2h {
  from {
    width: 10px;
    height: 3px;
    top: 16px;
    right: 14px;
  }
  to {
    width: 16px;
    height: 3px;
    top: 20px;
    right: 16px;
  }
}
@keyframes ai3h {
  from {
    top: 11px;
    right: 8px;
  }
  to {
    top: 15px;
    right: 8px;
  }
}
@media only screen and (max-width: 1024px) {
  .tabnews_type4 .tabnews_main {
    display: block;
  }
  .tabnews_type4 .tabnews_main .nav-pills {
    flex-direction: initial !important;
    flex-wrap: nowrap !important;
  }
  .tabnews_type4 .tabnews_main .nav-pills h3,
  .tabnews_type4 .tabnews_main .nav-pills button {
    margin: 0 !important;
  }
  .tabnews_type4 .tabnews_main .nav .nav-link.active::after,
  .tabnews_type4 .tabnews_main .nav .nav-link:hover::after,
  .tabnews_type4 .tabnews_main .nav .nav-link:focus::after {
    width: 100%;
  }
}
@media only screen and (max-width: 768px) {
  .tabnews_type4 .tabnews_main h3 {
    display: none;
  }
  .tabnews_type4 .tabnews_main .nav .nav-link {
    letter-spacing: 0;
  }
}
@media only screen and (max-width: 576px) {
  .tabnews_type4 .tab-content ul li a {
    display: block !important;
  }
  .tabnews_type4 .tab-content ul li.graphic a .article h4,
  .tabnews_type4 .tab-content ul li.graphic a .article p,
  .tabnews_type4 .tab-content ul li.graphic a .article p.date {
    padding-left: 0;
  }
  .tabnews_type4 .tab-content ul li.graphic a p {
    padding-left: 0;
  }
  .tabnews_type4 .nav .nav-link {
    width: auto;
  }
  .tabnews_type4 img {
    width: 100%;
  }
}
