* {
        text-rendering: geometricprecision;
}
.TabList .HeaderWrap li a {
        display: block;
        white-space: nowrap;
}
.TabList .HeaderWrap li span {
        display: block;
        white-space: nowrap;
}
.TabList {
        margin-bottom: 10px;
        position: relative;
        padding-bottom: 10px;
}
.TabList .cate-link{
        position: absolute;
        right: 0px;
        top: 5px;
        font-size: 13px;
        color: #dc3545;
        display: none;
}
.TabList .HeaderTitle {
        height: 36px;
        width: 28%;
        float: left;
        background: #871724;
        margin-bottom: 30px;
}
.TabList .HeaderTitle span {
           font-size: 14px !important;
    flex: none !important;
    display: inline-block;
    background: #871724;
    height: 36px;
    line-height: 36px;
    padding: 0 15px 0 40px;
    position: relative;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}
.TabList .HeaderTitle span:before{
    content: "\f055";
    font-family: FontAwesome;
    font-style: normal;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    font-size: 18px;
    position: absolute;
    top: 0;
    left: 15px;
}
 .TabList .HeaderWrap {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
  }

  .TabList .HeaderWrap li {
    display: flex;
    margin-bottom: 10px; 
    margin: 0;
  }

  .TabList .HeaderWrap li:first-child {
    order: -1;
    margin-right: auto !important;
    background: #e74c3c;
    position: relative;
    padding-left: 25px;
  }

.TabList .HeaderWrap li:first-child a:before {
    content: "\f02d";
    font-family: FontAwesome;
    position: absolute;
    left: 10px;
}

 .TabList .NormalTab:last-child {
    order: 1; 
    margin-left: auto;
    margin: 0;
  }
.TabList .NormalTab {
    margin-left: auto;
  }
.TabList ul.HeaderWrap {
        /* margin-bottom: 5px; */
        border-top: 2px solid #e74c3c;
        display: inline-flex;
        flex-wrap: wrap;
        padding: 0;
        margin: 0;
        list-style: none;
        width: 100%;
        float: right;
        height: 36px;
        justify-content: flex-end;
}
.TabList .HeaderWrap .NormalTab img {
        display: none;
}
.TabList .HeaderWrap .ActiveTab, .NormalTab {
        cursor: pointer;
        transition: all 0.8s ease 0.2s;
        height: 36px;
}
.TabList .HeaderWrap .ActiveTab{
        font-size: 12px;
        font-weight: 600;
        /* color: #ffffff; */
        display: inline-block;
        line-height: 36px;
}
.TabList .HeaderWrap li:hover .text{
      color: #e74c3c !important;
}
.TabList .HeaderWrap .ActiveTab img{
        display: none;
}
.TabList .HeaderWrap .NormalTab:hover {
        font-size: 14px;
        font-weight: 600;
        color: #871724;
        display: inline-block;
}
.TabList .HeaderWrap .NormalTab:hover .text {
        color: #e74c3c !important;
}
.TabList .HeaderWrap li:first-child:hover .text{
      color: #fff !important;
}
.TabList .HeaderWrap .ActiveTab .text {
        /* color: #ffffff; */
        padding: 0 6px;
        font-size: 14px;
        font-weight: 600;
        line-height: 36px;
        display: inline-block;
        text-transform: uppercase;
}
.TabList .HeaderWrap li:first-child .text {
        color: #fff !important;
}
.TabList .HeaderWrap .NormalTab .text {
        color: #255094;
        padding: 0 6px;
        font-size: 14px;
        font-weight: 600;
        line-height: 36px;
        display: inline-block;
        text-transform: uppercase;
}
.TabList .Wrap {
        /* border: 1px solid #ddd; */
        /* padding: 5px 0 0; */
        text-align: justify;
}
.TabList .Wrap .Container {
        display: grid;
        list-style: outside none none;
        margin: 0;
        padding: 0;
        text-align: center;
        grid-column: 1;
        grid-template-columns: 1fr 1fr;
        grid-row-gap: 20px;
        grid-column-gap: 20px;
        width: 100%;
}
.TabList .Wrap .Container .Item {
        display: inline-block;
        vertical-align: top;
        text-align: left;
}
.TabList .Wrap .Container .Item a{
        width: 100%;
        font-size: 15px;
        font-weight: 400;
        line-height: 1.4;
        display: grid;
        grid-template-areas:
                'main right-1'
                'main right-2'
                'main right-3';
        grid-column-gap: 20px;
        grid-template-columns: auto 1fr;
}
.TabList .Wrap .Container .Item .item_title{
        grid-area: right-2;
}
.TabList .Wrap .Container .Item:nth-child(1){
        grid-row-start: 1;
        grid-row-end: 5;
}
.TabList .Wrap .Container .Item:nth-child(1) a{
        width: 100%;
        font-size: 15px;
        font-weight: 400;
        line-height: 1.4;
        display: grid;
        grid-template-areas:
                'main'
                'right-1'
                'right-2'
                'right-3';
        grid-row-gap: 10px;
        grid-template-columns: auto 1fr;
        grid-column-gap: 0;
}
.TabList .Wrap .Container .Item:nth-child(1) .item_title{
        color: #383838;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.4;
        text-align: left;
}
.TabList .Wrap .Container .Item:nth-child(1) a img{
        width: 100%;
        height: 250px;
}
.TabList .Wrap .Container .Item:nth-child(1) p{
        display: block;
        font-style: normal;
        font-weight: 400;
        font-size: 15px;
        color: #41464b;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        padding-bottom: 0;
        display: -webkit-box;
}
.TabList .Wrap .Container .Item:hover .image {
        /* border: 1px solid #1990e9; */
}
.TabList .Wrap .Container .Item .image {
        height: 75px;
        width: 105px;
        object-fit: cover;
        margin: auto;
        display: block;
        grid-area: main;
}
.TabList .Wrap .Container .Item p {
        color: #424242;
        display: none;
        text-align: justify;
        grid-area: right-3;
}
.TabList .Wrap .Container .Item h2 {
        color: #424242;
        font: 10pt arial;
        text-align: justify;
}
.TabList .Wrap .Container .Item:hover h2 {
        color: #166ad3;
}
.TabList .TabListPage {
        padding: 0 10px 10px;
        text-align: right;
}
.TabList .TabListPage .CurrentPage {
        color: #333333;
        font: bold 10pt arial;
        margin-right: 5px;
}
.TabList .TabListPage .ButtonPage {
        color: #555555;
        font: 10pt arial;
        margin-right: 5px;
}
.TabList .cate-link {
        position: absolute;
        right: 10px;
        top: 15px;
        margin-bottom: 0;
        font-size: 14px;
        color: #8f8f8f;
        display: block;
        max-height: 44px;
        overflow: hidden;
        font-weight: 400;
        display: none;
}
@media only screen and (min-width: 769px) and (max-width: 1023px){
        .TabList .Wrap .Container .Item:nth-child(1){
                position: static;
                height: unset;
                padding: 0;
        }
        div.TabList .Wrap .Container .Item {
                clear: both;
                padding: 0;
                text-align: justify;
                font-size: 14px;
                width: calc(100% / 2 - 8px) !important;
        }
        .TabList .Wrap .Container .Item:nth-child(1) a{
                display: block;
        }
        div.TabArticleControl .Container .Item a{
                display: block;
        }
        div.TabList .Wrap .Container .Item p{
                display: none !important;
        }
        div.TabList .Wrap .Container .Item:nth-child(1) a .item_title{
                font-size: 15px;
        }
}
@media only screen and (max-width: 768px) {
  .TabList .HeaderTitle {
    width: auto;
    margin-bottom: auto !important;
  }
  .TabList .Wrap .Container .Item:nth-child(1) {
    position: static;
    max-height: unset;
    padding: 0;
  }
  ul.TabList .Wrap .Container {
    padding: 0;
  }
  .TabList {
    max-width: 100%;
  }
  .TabList ul.HeaderWrap {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    overflow-y: hidden;
    border-bottom: 2px solid #eee;
    list-style: none;
    width: 100%;
    float: none !important;
    justify-content: flex-start;
  }
  .TabList .Wrap .Container {
    padding: 0 !important;
  }
  div.TabArticleControl .Container .Item a {
    display: block;
  }
 .TabList .Wrap .Container .Item:nth-child(1) a img{
                min-height: 45vw;
   width: 100% !important;
        }
  div.TabList .cate-link {
    position: absolute;
    bottom: 5px;
    font-size: 13px;
    color: #dc3545;
    top: unset;
  }
  .TabList .Wrap .Container .Item {
    min-height: auto;
    /* margin-bottom: 12px; */
  }
  .TabList .Wrap .Container .Item:nth-child(2) .image {
    margin-bottom: 0;
  }
}



