/* base */
* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  box-sizing: border-box;
}

img {
  width: 100%;
  height: 100%;
  display: block;
}
a {
  color: inherit;
}

.cursor-pointer {
  cursor: pointer;
}

/* layout */
.h-full {
  height: 100%;
}
.h-50{
  height: 50%;
}
.w-full {
  width: 100%;
}
.w-1200 {
  width: 1200px;
  margin: 0 auto;
}
.min-w-1200{
  min-width: 1200px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  box-sizing: border-box;
  margin-left: -10px;
  margin-right: -10px;
}

.col {
  padding-right: 10px;
  padding-left: 10px;
  display: block;
  min-height: 1px;
}
.col-8 {
  max-width: 33.3333333333%;
  flex: 0 0 33.3333333333%;
}
.col-10 {
  max-width: 41.666666666%;
  flex: 0 0 41.666666666%;
}
.col-12 {
  max-width: 50%;
  flex: 0 0 50%;
}
.col-14 {
  max-width: 58.33333333333334%;
  flex: 0 0 58.33333333333334%;
}
.col-16 {
  max-width: 66.6666666667%;
  flex: 0 0 66.6666666667%;
}

.col-24 {
  max-width: 100%;
  flex: 0 0 100%;
}
.mr-2 {
  margin-right: 0.5rem;
}
.mr-4 {
  margin-right: 1rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}

.px-2{
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-4 {
  padding: 1rem;
}
.pr-0 {
  padding-right: 0!important;
}
.pl-0 {
  padding-left: 0!important;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* position */
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}

.block{
  display: block;
}

/* color */
.bg-red {
  background-color: #c70400;
}

.text-white {
  color: #fff;
}
.text-blue{
  color: #409EFF;
}
.text-red{
  color: #c70400;
}

/* text */
.text-center {
  text-align: center;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.ell-1 {
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-all;
  white-space: nowrap;
}

.ell-2 {
  word-break: break-all;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* flex */
.flex {
  display: flex;
}
.flex-1 {
  flex: 1;
}
.flex-column {
  flex-direction: column;
}
.flex-wrap{
  flex-wrap: wrap;
}
.justify-end {
  justify-content: flex-end;
}
.justify-between {
  justify-content: space-between;
}
.align-center {
  align-items: center;
}

/* tabs */
.tabs-container {
  border: 1px solid #ccc;
}
.tabs-container .tab-header {
  border-bottom: 1px solid #ccc;
}
.tabs-container .tab-header .list {
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
}
.tabs-container .tab-header .list .item {
  /* flex: 1; */
  text-align: center;
  font-size: 18px;
  line-height: 48px;
  position: relative;
  cursor: pointer;
}
.tabs-container .tab-header .list .item:hover {
  color: #c70400;
}
.tabs-container .tab-header .list .item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50%;
  width: 1px;
  background: #ccc;
}
.tabs-container .tab-content {
  height: calc(100% - 48px);
  display: none;
}
.tabs-container .tab-content.active {
  display: block;
}
