﻿
.news-main{
  padding: 20px;
  border: 2px solid #DFE1E2;
  overflow: hidden;
}
.tabs {
  position: relative;
}
.tabs > input {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
}
.tabs-nav{
  float: left;
  width: 208px;
  margin-right: 12px;
}

.tabs-nav::after {
  content: "";
  display: table;
  clear: both;
}
.tabs-nav--center .tabs-nav {
  text-align: center;
}


.tabs-nav label {
  user-select: none;
  display: block;
  width: 208px;
  height: 60px;
  background: #F1F2F3;
  color: rgba(0, 0, 0, 0.85);
  cursor: pointer;
  margin-bottom: 12px;
  font-size:20px;
  color: #000;
  letter-spacing: 0;
  font-weight: 600;
line-height: 60px;
text-align: center;
  
}
.tabs-nav label.current{
  background: #E22B18;
  color: #fff;
}



.tabs-nav--center label {
  display: inline-block;
  float: none;
}
.tabs-nav-extra {
  float: right;
  line-height: 27px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
}
.tabs-content .tab-panel {
  display: none;
  overflow: hidden;
}
.tabs-card .tabs-nav {
  height: 48px;
  line-height: 48px;
}
.tabs-card label {
  border-radius: 8px 8px 0 0;
}
.tabs-default label {

  position: relative;
}
.tabs-vertical {
  display: flex;
}
.tabs-vertical label {
  width: 208px;
  line-height: 60px;
  text-align: center;
  float: none;
  display: block;
  background: #F2F2F2;
  color: rgba(0,0,0,0.85);
}
.tabs-vertical label + label {
  margin-top: 12px;
}
.tabs-default label::before {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  border-bottom: 4px solid #c50001;
}
.tabs-card .tabs-content {
  background: #fef8f3;
  border-radius: 0 0 8px 8px;
}

.tabs > input:nth-of-type(1):checked ~ .tabs-nav label:nth-of-type(1),
.tabs > input:nth-of-type(2):checked ~ .tabs-nav label:nth-of-type(2),
.tabs > input:nth-of-type(3):checked ~ .tabs-nav label:nth-of-type(3),
.tabs > input:nth-of-type(4):checked ~ .tabs-nav label:nth-of-type(4),
.tabs > input:nth-of-type(5):checked ~ .tabs-nav label:nth-of-type(5),
.tabs > input:nth-of-type(6):checked ~ .tabs-nav label:nth-of-type(6),
.tabs > input:nth-of-type(7):checked ~ .tabs-nav label:nth-of-type(7),
.tabs > input:nth-of-type(8):checked ~ .tabs-nav label:nth-of-type(8) {
  color: #c50001;
  font-weight: bold;
}
.tabs-card > input:nth-of-type(1):checked ~ .tabs-nav label:nth-of-type(1),
.tabs-card > input:nth-of-type(2):checked ~ .tabs-nav label:nth-of-type(2),
.tabs-card > input:nth-of-type(3):checked ~ .tabs-nav label:nth-of-type(3),
.tabs-card > input:nth-of-type(4):checked ~ .tabs-nav label:nth-of-type(4),
.tabs-card > input:nth-of-type(5):checked ~ .tabs-nav label:nth-of-type(5) {
  background: #fef8f3;
}
.tabs-vertical> input:nth-of-type(1):checked ~ .tabs-nav label:nth-of-type(1),
.tabs-vertical> input:nth-of-type(2):checked ~ .tabs-nav label:nth-of-type(2),
.tabs-vertical> input:nth-of-type(3):checked ~ .tabs-nav label:nth-of-type(3),
.tabs-vertical> input:nth-of-type(4):checked ~ .tabs-nav label:nth-of-type(4),
.tabs-vertical> input:nth-of-type(5):checked ~ .tabs-nav label:nth-of-type(5),
.tabs-vertical> input:nth-of-type(6):checked ~ .tabs-nav label:nth-of-type(6){
  background: rgba(197,0,1,0.10);
  border-left: 4px solid #c50001;
}
.tabs-default
  > input:nth-of-type(1):checked
  ~ .tabs-nav
  label:nth-of-type(1)::before,
.tabs-default
  > input:nth-of-type(2):checked
  ~ .tabs-nav
  label:nth-of-type(2)::before,
.tabs-default
  > input:nth-of-type(3):checked
  ~ .tabs-nav
  label:nth-of-type(3)::before,
.tabs-default
  > input:nth-of-type(4):checked
  ~ .tabs-nav
  label:nth-of-type(4)::before,
.tabs-default
  > input:nth-of-type(5):checked
  ~ .tabs-nav
  label:nth-of-type(5)::before {
  transition: all 0.2s linear;
  right: 0;
}

.tabs > input:nth-of-type(1):checked ~ .tabs-content .tab-panel:nth-of-type(1),
.tabs > input:nth-of-type(2):checked ~ .tabs-content .tab-panel:nth-of-type(2),
.tabs > input:nth-of-type(3):checked ~ .tabs-content .tab-panel:nth-of-type(3),
.tabs > input:nth-of-type(4):checked ~ .tabs-content .tab-panel:nth-of-type(4),
.tabs > input:nth-of-type(5):checked ~ .tabs-content .tab-panel:nth-of-type(5),
.tabs > input:nth-of-type(6):checked ~ .tabs-content .tab-panel:nth-of-type(6),
.tabs > input:nth-of-type(7):checked ~ .tabs-content .tab-panel:nth-of-type(7),
.tabs > input:nth-of-type(8):checked ~ .tabs-content .tab-panel:nth-of-type(8) {
  display: block;
}
