﻿@charset "utf-8";
/* Responsive overrides for School of International Education site */

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  min-width: 0 !important;
  max-width: 100%;
  overflow-x: hidden;
}

.w1200,
.newx_box,
.mp4_list,
.td_box,
.pic_yqlink,
.end_box,
.list_main,
.imain,
.this_name,
.zylylist_box,
.icontent {
  width: 100% !important;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

/* PC: spread 5 top-level nav items across full row; hide + */
@media screen and (min-width: 993px) {
  .i-nav {
    width: 100%;
    max-width: 1200px;
    height: 50px;
    padding: 0;
    box-sizing: border-box;
    overflow: visible;
  }

  .nav {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    height: 50px;
    line-height: 50px;
    padding: 0 !important;
    white-space: nowrap;
    text-align: center;
  }

  .nav .nLi {
    float: none !important;
    display: block;
    flex: 1 1 0;
    margin: 0 !important;
    position: relative;
  }

  .nav .nLi h3 {
    float: none !important;
    display: block;
    width: 100% !important;
  }

  .nav .nLi h3 a {
    display: block;
    padding: 0 8px !important;
    font-size: 16px;
    white-space: nowrap;
    text-align: center;
  }

  .nav .sub {
    width: 100%;
    left: 0 !important;
    white-space: normal;
  }

  .nav-plus {
    display: none !important;
  }

  /* Blue category block + sidebar / content gap */
  .this_map > .w1200 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative;
  }

  .this_mapname {
    box-sizing: content-box;
    float: left;
    width: 220px;
    height: 54px;
    padding: 20px 0;
    position: absolute;
    top: -46px;
    left: 0;
    background: #1656a4;
  }

  .this_dqwz {
    float: right;
    width: 940px;
    max-width: calc(100% - 240px);
  }

  .list_main {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .list_main_left {
    float: left;
    width: 220px;
  }

  .list_main_right {
    float: right;
    width: 940px;
    max-width: calc(100% - 260px); /* 220 sidebar + 40px gap */
    padding: 20px 0;
  }

  /* Info list: restore original item height (content-box: 70px + 25px*2) */
  .ilistfy li {
    box-sizing: content-box;
    height: 70px;
    padding: 25px 0;
    overflow: hidden;
  }

  .ilistfy li span {
    width: 70px;
    height: 70px;
  }

  .ilistfy li a {
    display: block;
    width: calc(100% - 90px);
    float: right;
  }

  .ilistfy li h2 {
    font-size: 18px;
    line-height: 40px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ilistfy li p {
    font-size: 14px;
    line-height: 30px;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Study in SDFMU: 3 items in one row */
  .mp4_list {
    width: 100% !important;
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  .mp4_list ul {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .mp4_list ul > div {
    display: none;
  }

  .mp4_list li {
    float: none !important;
    flex: 1 1 0;
    width: auto !important;
    max-width: none;
    height: auto !important;
    margin: 0 !important;
  }

  .mp4_list li a {
    display: block;
    width: 100%;
  }

  .mp4_list li img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Links: 4 items in one row */
  .td_box {
    width: 100% !important;
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  .td_box .bd ul.picList,
  .td_box .bd ul {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .td_box .bd ul li {
    float: none !important;
    flex: 1 1 0;
    width: auto !important;
    margin: 0 !important;
  }

  .td_box .bd ul li .pic {
    width: 100% !important;
    height: auto !important;
  }

  .td_box .bd ul li .pic a {
    display: block;
    width: 100%;
  }

  .td_box .bd ul li .pic img {
    width: 100%;
    height: auto;
    display: block;
  }
}

.icontent {
  width: 100% !important;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
}

.logo img {
  max-width: 100%;
  height: auto;
  display: block;
}

.nr-info img,
.v_news_content img,
.c-content img,
#vsb_content img {
  max-width: 100% !important;
  height: auto !important;
}

.nr-info table,
.v_news_content table,
#vsb_content table,
.c-content table {
  max-width: 100% !important;
  width: 100% !important;
  overflow-x: auto;
  display: block;
}

.nr-info iframe,
.v_news_content iframe,
#vsb_content iframe,
.nr-info video,
.v_news_content video {
  max-width: 100% !important;
}

/* + only for mobile submenu; hide on PC by default */
.nav-plus {
  display: none !important;
}

/* Mobile menu button */
.nav-toggle {
  display: none;
  position: absolute;
  right: 15px;
  top: 18px;
  z-index: 10001;
  width: 44px;
  height: 40px;
  padding: 0;
  border: 1px solid #1656a4;
  background: #1656a4;
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: 0.25s;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9998;
}

.nav-mask.is-open {
  display: block;
}

/* ========== <= 1200px ========== */
@media screen and (max-width: 1200px) {
  .header {
    height: auto;
    min-height: 110px;
  }

  .top_bg {
    padding-bottom: 10px;
  }

  .logo {
    padding-top: 12px;
    max-width: 70%;
  }

  .i-search {
    position: static;
    float: none !important;
    width: auto;
    margin: 10px 0 0;
    overflow: visible;
  }

  .i-nav {
    position: static;
    width: 100%;
    height: auto;
    margin: 10px auto 0;
  }

  .newx_box_left {
    width: 58%;
  }

  .newx_box_right {
    width: 40%;
  }

  .tw_txt {
    width: calc(100% - 140px);
  }

  .date_list li a {
    width: calc(100% - 75px);
  }

  .pic-list {
    width: 100% !important;
  }

  .pic-list ul {
    width: 100% !important;
  }

  .end_left {
    width: 65%;
  }

  .end_right {
    width: 32%;
  }
}

/* ========== <= 992px ========== */
@media screen and (max-width: 992px) {
  .header {
    min-height: 90px;
  }

  .nav-toggle {
    display: block;
  }

  .i-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85%;
    height: 100%;
    margin: 0;
    background: #fff;
    z-index: 10000;
    overflow-y: auto;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
    padding: 60px 0 30px;
  }

  .i-nav.is-open {
    display: block;
  }

  .nav {
    padding: 0;
    height: auto;
    line-height: normal;
  }

  .nav .nLi {
    float: none;
    display: block;
    margin: 0;
    border-bottom: 1px solid #eee;
  }

  .nav .nLi h3 {
    float: none;
    display: block;
    position: relative;
    width: 100%;
  }

  .nav .nLi h3 a {
    padding: 14px 48px 14px 20px;
    font-size: 16px;
    background: none !important;
    color: #333;
  }

  .nav .on h3 a,
  .nav .nLi h3 a:hover {
    color: #1656a4;
    background: #f5f7fb !important;
  }

  .nav .has-sub .nav-plus {
    display: block !important;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #1656a4;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    z-index: 2;
  }

  .nav .nLi.is-open > h3 .nav-plus {
    color: #1656a4;
  }

  .nav .sub {
    position: static !important;
    display: none !important;
    width: 100%;
    left: auto !important;
    top: auto !important;
    background: #f7f7f7;
    opacity: 1 !important;
    line-height: 40px;
  }

  .nav .nLi.is-open .sub {
    display: block !important;
  }

  .nav .sub a {
    padding: 0 20px 0 32px;
    color: #555;
    text-align: left;
  }

  .ibanner .prev,
  .ibanner .next {
    width: 45px;
    height: 80px;
    margin-top: -28px;
    background-size: auto !important;
    background-repeat: no-repeat !important;
    transform: scale(0.7);
    -webkit-transform: scale(0.7);
  }

  .ibanner .prev {
    left: 4px;
    background-position: -120px 5px !important;
    transform-origin: left center;
    -webkit-transform-origin: left center;
  }

  .ibanner .next {
    right: 4px;
    left: auto;
    background-position: -2px 5px !important;
    transform-origin: right center;
    -webkit-transform-origin: right center;
  }

  .ibanner .hd {
    right: 50%;
    transform: translateX(50%);
    bottom: 16px;
  }

  .newx_box_left,
  .newx_box_right {
    float: none;
    width: 100%;
  }

  .newx_box_right {
    margin-top: 30px;
  }

  .i_zxsp_box {
    height: auto;
    padding: 30px 15px;
  }

  .mp4_list li {
    width: 100%;
    float: none;
    margin: 0 0 20px;
    height: auto;
  }

  .mp4_list li i {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .td_box {
    margin: 20px auto;
  }

  .td_box .hd .prev,
  .td_box .hd .next {
    display: none;
  }

  .td_box .bd ul li {
    float: none;
    margin: 0 0 15px;
    width: 100%;
  }

  .td_box .bd ul li .pic {
    width: 100%;
    height: auto;
  }

  .list_banner {
    height: 200px;
    background-size: cover !important;
    background-position: center !important;
  }

  .this_map {
    height: auto;
    min-height: 48px;
  }

  .this_mapname {
    position: static;
    float: none;
    width: 100%;
    height: auto;
    padding: 12px 0;
  }

  .this_dqwz {
    float: none;
    width: 100%;
    text-align: left;
    height: auto;
    line-height: 1.6;
    padding: 10px 0;
  }

  .this_dqwz h2 {
    float: none;
    display: block;
    margin-bottom: 6px;
  }

  .list_main_left,
  .list_main_right {
    float: none;
    width: 100%;
  }

  .list_main_left {
    margin-bottom: 20px;
  }

  .list_sub {
    min-height: 0;
    background-image: none;
  }

  .pic-list li {
    width: 48%;
    margin-right: 4%;
    margin-bottom: 20px;
  }

  .pic-list li:nth-child(2n) {
    margin-right: 0;
  }

  .pic-list li img {
    width: 100%;
    height: auto;
  }

  .c-content {
    padding: 0 5px;
    margin: 15px auto 30px;
  }

  .c-content .c-title {
    font-size: 22px;
    line-height: 1.4;
  }

  .c-content .other-s {
    line-height: 1.6;
    padding: 8px 10px;
    text-align: left;
  }

  .footer {
    height: auto;
  }

  .end_left,
  .end_right {
    float: none;
    width: 100%;
  }

  .end_right {
    margin-top: 20px;
  }

  .erweima {
    text-align: center;
  }

  .erweima li {
    display: inline-block;
    float: none;
  }

  #browser-modal .browser-content {
    width: 92%;
    margin-top: 40px;
    padding: 20px 10px 40px;
  }

  #browser-modal .browser-content .browser-list {
    width: 100%;
    height: auto;
  }

  #browser-modal .browser-content .browser-item {
    width: 50%;
  }
}

/* ========== <= 768px ========== */
@media screen and (max-width: 768px) {
  .header {
    padding-bottom: 8px;
  }

  .logo {
    max-width: calc(100% - 70px);
    padding-top: 14px;
  }

  .i-search {
    display: none;
  }

  .newx_box {
    margin: 20px auto;
  }

  .newx_box_left_t,
  .newx_box_right_t {
    background-size: contain;
    margin-bottom: 16px;
  }

  .newx_box_left li {
    height: auto;
    padding-bottom: 16px;
    margin-bottom: 16px;
    overflow: hidden;
  }

  .tw_img {
    float: none;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }

  .tw_img img {
    width: 100%;
    height: auto;
  }

  .tw_txt {
    float: none;
    width: 100%;
    height: auto;
  }

  .tw_txt h2 {
    font-size: 16px;
    white-space: normal;
  }

  .date_list li {
    height: auto;
    min-height: 63px;
    margin-bottom: 12px;
  }

  .date_list li a {
    position: static;
    float: none;
    width: auto;
    margin-left: 75px;
    height: auto;
    padding: 0 0 0 10px;
  }

  .i_zxsp_title {
    width: 100%;
    max-width: 320px;
  }

  .i_zxsp_title h2 {
    font-size: 20px;
  }

  .i_zxsp_title span {
    font-size: 16px;
  }

  .i_zxsp_title .t_line_l,
  .i_zxsp_title .t_line_r {
    width: 48px;
  }

  .list_banner {
    height: 140px;
  }

  .ilistfy li {
    height: auto;
    padding: 16px 0;
    overflow: hidden;
  }

  .ilistfy li span {
    width: 60px;
    height: 60px;
  }

  .ilistfy li span i {
    font-size: 24px;
  }

  .ilistfy li a {
    width: calc(100% - 75px);
  }

  .ilistfy li h2 {
    font-size: 16px;
    line-height: 1.4;
    white-space: normal;
  }

  .ilistfy li p {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .pic-list li {
    width: 100%;
    margin-right: 0;
  }

  .c-content .c-title {
    font-size: 18px;
  }

  .c-content .nr-info p {
    font-size: 15px;
    line-height: 1.8;
    text-indent: 0;
  }

  .wz_fj p,
  .wz_fj a {
    font-size: 14px;
    word-break: break-all;
  }

  .pb_sys_common .p_pages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }

  .copright p {
    font-size: 12px;
    line-height: 1.7;
    word-break: break-word;
  }
}

/* ========== <= 480px ========== */
@media screen and (max-width: 480px) {
  .w1200,
  .newx_box,
  .mp4_list,
  .td_box,
  .list_main,
  .end_box,
  .icontent {
    padding-left: 10px;
    padding-right: 10px;
  }

  .nav-toggle {
    right: 10px;
    top: 12px;
    width: 40px;
    height: 36px;
  }

  .this_mapname h1 {
    font-size: 22px;
  }

  .this_dqwz h2 {
    font-size: 16px;
  }

  .erweima li {
    width: 110px;
    margin: 0 6px;
  }
}