@charset "UTF-8";
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

em {
  font-style: normal;
}

a {
  text-decoration: none;
  /* 去除下划线 */
  color: inherit;
  /* 继承父元素的颜色 */
  cursor: pointer;
  /* 修改鼠标指针样式 */
  font-size: 16px;
}

ul {
  list-style: none;
}

input {
  border: none;
  outline: none;
  background: transparent;
}

button {
  border: none;
  outline: none;
  background: transparent;
}

@media screen and (max-width: 1024px) {
  html,
  body {
    width: 100%;
    height: 100%;
    background-color: #f6eddf;
  }
  .classify_box {
    width: 100%;
    padding: 0.2rem;
    background: url("../../img/5.jpg") center top no-repeat;
    margin: 0 auto;
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  .classify_box > .classify_box_item {
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    cursor: pointer;
    height: 100%;
  }
  .video_box {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 0.2rem;
  }
  .video_box .video_item {
    display: block;
    width: 45%;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 0.2rem;
  }
  .video_box .video_item:hover {
    color: #68381e;
  }
  .video_box .video_item:nth-child(5n) {
    margin-right: 0;
  }
  .video_box .video_item > .video_item_img {
    width: 100%;
  }
  .video_box .video_item > .video_item_img > img {
    width: 100%;
    height: 100%;
  }
  .video_box .video_item > .video_item_content {
    height: 100%;
    background-color: #e8cfa6;
    overflow: hidden;
  }
  .video_box .video_item > .video_item_content > .video_item_title {
    padding: 0 10px;
    margin-top: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
  }
  .video_box .video_item > .video_item_content > .video_item_title > .dian {
    width: 6px;
    height: 6px;
    background-color: #68381e;
    margin-right: 10px;
    border-radius: 50%;
  }
  .video_box .video_item > .video_item_content > .video_item_title > .title {
    width: 200px;
    white-space: nowrap;
    /* 不换行 */
    overflow: hidden;
    /* 隐藏超出部分 */
    text-overflow: ellipsis;
    /* 显示省略号 */
  }
  .video_box .video_item > .video_item_content > .video_item_label {
    padding: 0 10px;
    font-size: 12px;
    color: #68381e;
    margin-top: 10px;
    font-weight: bold;
  }
  .video_box .video_item > .video_item_content > .video_item_line {
    width: 100%;
    height: 1px;
    background-color: #d8ad8d;
    margin-top: 15px;
    margin-bottom: 10px;
  }
  .video_box .video_item > .video_item_content > .video_item_timeprice {
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .video_box .video_item > .video_item_content > .video_item_timeprice > .video_item_yearday {
    display: flex;
    align-items: center;
    font-size: 12px;
  }
  .video_box .video_item > .video_item_content > .video_item_timeprice > .video_item_yearday > img {
    margin-right: 10px;
  }
  .video_box .video_item > .video_item_content > .video_item_timeprice > .video_item_price {
    width: 40px;
    height: 20px;
    font-size: 12px;
    background-color: #cf330c;
    color: #fff;
    line-height: 20px;
    text-align: center;
  }
  .table_djnum {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
  }
  .table_djnum > .left_jt {
    padding: 9px;
    background: #e8cfa6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 10px;
    cursor: pointer;
  }
  .table_djnum > .left_jt:hover {
    background-color: #68381e;
    transition: 0.2s;
    color: #fff;
  }
  .table_djnum > .num:hover {
    background-color: #68381e;
    color: #fff;
    transition: 0.2s;
  }
  .table_djnum > .num {
    width: 32px;
  }
  .table_djnum > .current {
    background-color: #68381e;
    color: #fff;
  }
  .table_djnum > .current:hover {
    background-color: #68381e;
    transition: 0.2s;
  }
}

@media screen and (min-width: 1025px) {
  html,
  body {
    width: 100%;
    height: 100%;
    background: url("../../img/8.jpg") no-repeat center top;
  }
  .classify_box {
    max-width: 1300px;
    height: 70px;
    background: url("../../img/5.jpg") center top no-repeat;
    margin: 0 auto;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  .classify_box > .classify_box_item {
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    cursor: pointer;
    height: 100%;
  }
  .classify_box > .classify_box_item:hover > .classify_box_item2 {
    display: flex;
  }
  .classify_box > .classify_box_item:hover::before {
    content: '';
    position: absolute;
    right: -37px;
    top: 50%;
    transform: translateY(-50%);
    width: 57px;
    height: 30px;
    background-image: url("../../img/6.png");
    background-size: contain;
    background-repeat: no-repeat;
  }
  .classify_box > .classify_box_item:first-child::before {
    content: '';
    position: absolute;
    right: -37px;
    top: 50%;
    transform: translateY(-50%);
    width: 57px;
    height: 30px;
    background-image: url("../../img/6.png");
    background-size: contain;
    background-repeat: no-repeat;
  }
  .classify_box > .classify_box_item > .classify_box_item2 {
    display: none;
    position: absolute;
    bottom: -87px;
    flex-direction: column;
    width: 100%;
    background-color: #68381e;
    text-align: center;
    overflow: hidden;
  }
  .classify_box > .classify_box_item > .classify_box_item2 > a {
    padding: 10px;
  }
  .video_box {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 0;
    list-style: none;
    grid-auto-rows: 305px;
  }
  .video_box .video_item {
    display: block;
    width: 236px;
    height: 285px;
    border-radius: 5px;
    overflow: hidden;
    margin-right: 30px;
    margin-top: 30px;
  }
  .video_box .video_item:hover {
    color: #68381e;
  }
  .video_box .video_item:nth-child(5n) {
    margin-right: 0;
  }
  .video_box .video_item > .video_item_img {
    width: 100%;
    height: 175px;
  }
  .video_box .video_item > .video_item_img > img {
    width: 100%;
    height: 100%;
  }
  .video_box .video_item > .video_item_content {
    height: 100%;
    background-color: #e8cfa6;
    overflow: hidden;
  }
  .video_box .video_item > .video_item_content > .video_item_title {
    padding: 0 10px;
    margin-top: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
  }
  .video_box .video_item > .video_item_content > .video_item_title > .dian {
    width: 6px;
    height: 6px;
    background-color: #68381e;
    margin-right: 10px;
    border-radius: 50%;
  }
  .video_box .video_item > .video_item_content > .video_item_title > .title {
    width: 200px;
    white-space: nowrap;
    /* 不换行 */
    overflow: hidden;
    /* 隐藏超出部分 */
    text-overflow: ellipsis;
    /* 显示省略号 */
  }
  .video_box .video_item > .video_item_content > .video_item_label {
    padding: 0 10px;
    font-size: 12px;
    color: #68381e;
    margin-top: 10px;
    font-weight: bold;
  }
  .video_box .video_item > .video_item_content > .video_item_line {
    width: 100%;
    height: 1px;
    background-color: #d8ad8d;
    margin-top: 15px;
    margin-bottom: 10px;
  }
  .video_box .video_item > .video_item_content > .video_item_timeprice {
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .video_box .video_item > .video_item_content > .video_item_timeprice > .video_item_yearday {
    display: flex;
    align-items: center;
    font-size: 12px;
  }
  .video_box .video_item > .video_item_content > .video_item_timeprice > .video_item_yearday > img {
    margin-right: 10px;
  }
  .video_box .video_item > .video_item_content > .video_item_timeprice > .video_item_price {
    width: 40px;
    height: 20px;
    font-size: 12px;
    background-color: #cf330c;
    color: #fff;
    line-height: 20px;
    text-align: center;
  }
  .table_djnum {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
  }
  .table_djnum > .left_jt {
    padding: 9px;
    background: #e8cfa6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 10px;
    cursor: pointer;
  }
  .table_djnum > .left_jt:hover {
    background-color: #68381e;
    transition: 0.2s;
    color: #fff;
  }
  .table_djnum > .num:hover {
    background-color: #68381e;
    color: #fff;
    transition: 0.2s;
  }
  .table_djnum > .num {
    width: 32px;
  }
  .table_djnum > .current {
    background-color: #68381e;
    color: #fff;
  }
  .table_djnum > .current:hover {
    background-color: #68381e;
    transition: 0.2s;
  }
}
