html, body {
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

.menu-toggle,
.mobile-nav-panel,
.mobile-nav-mask,
.mobile-quick {
  display: none;
}

.page-links a {
  display: inline-block;
  margin: 0 4px 6px 0;
  padding: 6px 12px;
  border: 1px solid #d7d7d7;
  color: #2b4991;
  background: #fff;
}

.page-links a:hover {
  color: #fff;
  background: #2b4991;
}

.article-content img {
  max-width: 100%;
  height: auto;
}

.article-related {
  float: left;
  width: 100%;
  margin-top: 24px;
}

.search-panel {
  margin-bottom: 18px;
  padding: 12px 16px;
  background: #f5f7fb;
  border: 1px solid #d8dfec;
}

.search-panel form {
  display: flex;
  gap: 10px;
}

.search-panel .input_title {
  flex: 1;
  min-width: 0;
  padding: 0 10px;
  border: 1px solid #cfd7e6;
  background: #fff;
}

.search-panel-btn,
.liuyan-submit {
  cursor: pointer;
}

.search-panel-btn {
  min-width: 92px;
  padding: 0 18px;
  background: #2b4991;
  color: #fff;
}

.liuyan-tip {
  float: left;
  width: 100%;
  margin-top: 16px;
  color: #8a6d3b;
  background: #fcf8e3;
  border: 1px solid #faebcc;
  padding: 10px 12px;
  box-sizing: border-box;
}

.f_link a {
  margin-right: 12px;
}

@media (max-width: 1200px) {
  .main,
  .imain,
  .menu {
    width: 100%;
    max-width: 980px;
  }

  .wrap {
    width: calc(100% - 2px);
  }

  .title_i {
    width: calc(100% + 14px);
  }
}

@media (max-width: 1024px) {
  body {
    font-size: 14px;
  }

  .header {
    min-width: 0;
    height: auto;
    padding-top: 16px;
  }

  .main,
  .imain,
  .wrap {
    width: 100%;
    max-width: none;
  }

  .wrap {
    box-sizing: border-box;
    padding-bottom: 24px;
  }

  .menu {
    width: calc(100% - 24px);
    background-size: 100% 100%;
  }

  .menu li {
    width: 11.11%;
  }

  .banner {
    margin-top: -80px;
  }

  #slides {
    height: 420px;
  }

  .row,
  .row2,
  .product,
  .case {
    width: 100%;
    height: auto;
    box-sizing: border-box;
  }

  .row,
  .row2 {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 24px;
  }

  .news,
  .newslist,
  .contact,
  .enrollment,
  .inotice {
    width: calc(50% - 12px);
    margin: 0;
    box-sizing: border-box;
  }

  .newslist {
    height: auto;
    background-size: cover;
  }

  .newslist ul {
    width: auto;
  }

  .contact_t,
  .contactmain,
  .fyLeft .contactmain {
    width: 100%;
    box-sizing: border-box;
  }

  .product {
    padding: 84px 24px 0;
  }

  .partFourM {
    margin-left: 0;
    width: calc(50% - 16px);
  }

  .partFourCon,
  .partFourCon li {
    width: 100%;
  }

  .partFourCon li img {
    width: 100%;
    height: auto;
  }

  .pro {
    width: calc(50% - 16px);
    padding-top: 84px;
  }

  .pro li {
    width: calc(50% - 22px);
  }

  .protxt {
    width: 100%;
  }

  .case ul {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: auto;
    padding: 85px 24px 0;
  }

  .case ul li {
    width: calc(50% - 8px);
    margin-right: 0;
  }

  .case ul li p,
  .proname a {
    width: 100%;
    box-sizing: border-box;
  }

  .fyLeft,
  .fyRight,
  .mainRightMain,
  .news_list,
  .news_list li,
  .news_list li a {
    width: 100%;
    box-sizing: border-box;
  }

  .fyLeft,
  .fyRight {
    padding: 24px;
  }

  .fyRight {
    padding-top: 0;
  }

  .mainRightMain,
  .newsview {
    min-height: 0;
  }

  .news_line {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .fixed,
  .menu,
  .tel {
    display: none;
  }

  .header {
    padding: 0;
  }

  .header .main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    box-sizing: border-box;
  }

  .logo {
    width: calc(100% - 60px);
    height: auto;
  }

  .logo img {
    max-height: 48px;
  }

  .menu-toggle {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: #2b4991;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: #fff;
    display: block;
  }

  .mobile-nav-panel {
    position: fixed;
    top: 0;
    right: -320px;
    z-index: 100001;
    width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 18px rgba(0, 0, 0, 0.18);
    transition: right .25s ease;
    overflow-y: auto;
  }

  .mobile-nav-panel.active {
    right: 0;
    display: block;
  }

  .mobile-nav-mask.active {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 100000;
  }

  .mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #2b4991;
    color: #fff;
  }

  .mobile-nav-close {
    color: #fff;
    font-size: 26px;
    line-height: 1;
  }

  .mobile-search-form {
    display: flex;
    gap: 8px;
    padding: 16px;
    border-bottom: 1px solid #eee;
  }

  .mobile-search-form input {
    flex: 1;
    min-width: 0;
    height: 38px;
    border: 1px solid #d7d7d7;
    padding: 0 12px;
  }

  .mobile-search-form button {
    width: 72px;
    background: #f88718;
    color: #fff;
  }

  .mobile-nav-list {
    padding: 0 16px 24px;
  }

  .mobile-nav-list li {
    border-bottom: 1px solid #efefef;
  }

  .mobile-nav-list a {
    display: block;
    padding: 12px 0;
    color: #2b4991;
    font-size: 15px;
  }

  .banner {
    margin-top: 0;
  }

  #slides {
    height: 220px;
  }

  .notice {
    height: auto;
    line-height: normal;
  }

  .notice .main {
    padding: 12px 16px;
    box-sizing: border-box;
  }

  .noticecon,
  .search {
    width: 100%;
    padding: 0;
  }

  .noticecon {
    margin-bottom: 10px;
  }

  .noticecon marquee {
    width: calc(100% - 84px);
  }

  .search {
    height: auto;
  }

  .search .text {
    width: calc(100% - 70px);
  }

  .row,
  .row2 {
    display: block;
    padding: 16px;
  }

  .news,
  .newslist,
  .contact,
  .enrollment,
  .inotice,
  .partFourM,
  .pro {
    width: 100%;
  }

  .newslist,
  .contact,
  .enrollment,
  .inotice {
    margin-top: 20px;
  }

  .title_i {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    margin-bottom: 16px;
    background: #2b4991;
    border-radius: 4px;
    line-height: 48px;
    height: 48px;
  }

  .title_i .fl {
    padding-left: 20px;
  }

  .title_i .fr {
    padding-right: 20px;
  }

  .product,
  .case {
    padding: 0 16px;
    box-sizing: border-box;
  }

  .partFourM,
  .pro {
    padding-top: 0;
  }

  .partFourM {
    height: auto;
  }

  #l,
  #r {
    display: none;
  }

  .partFourCon {
    height: auto;
  }

  .partFourCon li {
    position: relative;
  }

  .partFourCon li p {
    width: calc(100% - 24px);
    padding: 0 12px;
  }

  .pro {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .pro li,
  .case ul li {
    width: calc(50% - 6px);
    margin: 0;
  }

  .case ul {
    padding: 0 0 16px;
  }

  .fyLeft,
  .fyRight {
    float: none;
    padding: 16px;
  }

  .fyLeft {
    padding-bottom: 0;
  }

  .fyRight .title .fr {
    float: none;
    display: block;
    margin-top: 6px;
  }

  .news_list li a {
    height: auto;
    min-height: 32px;
    padding: 8px 0;
  }

  .news_list li .fl,
  .newsul li a .fl {
    width: calc(100% - 92px);
  }

  .news_list li .fr,
  .newsul li a .fr {
    width: 80px;
    text-align: right;
  }

  .padding25 {
    padding: 0;
  }

  .search-panel {
    padding: 12px;
  }

  .search-panel form {
    flex-direction: column;
  }

  .search-panel-btn {
    width: 100%;
    height: 38px;
  }

  .bookp,
  .message,
  .message li,
  .message li.contentb,
  .message li p.message_title,
  .message li p.message_content,
  .message li.yzm {
    width: 100%;
    padding-left: 0;
    box-sizing: border-box;
  }

  .message {
    padding-left: 0;
  }

  .message li {
    height: auto;
    margin-bottom: 12px;
  }

  .message li input,
  .message li.contentb textarea {
    width: 100%;
    box-sizing: border-box;
  }

  .message li.contentb {
    height: auto;
  }

  .message li.contentb textarea {
    height: 140px;
  }

  .message li p.message_title {
    text-align: left;
    margin-bottom: 6px;
  }

  .message li p.message_sub {
    width: 100%;
    text-align: left;
  }

  .newsview {
    width: 100%;
    margin: 20px 0;
  }

  .main_r_nav,
  .returnlist {
    width: 100%;
    float: left;
  }

  .returnlist {
    margin: 16px 0 0;
  }

  .foot_x {
    padding-bottom: 64px;
  }

  .mobile-quick {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    background: #304e96;
  }

  .mobile-quick a {
    flex: 1;
    color: #fff;
    text-align: center;
    padding: 10px 4px;
    font-size: 13px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .mobile-quick a:last-child {
    border-right: 0;
  }
}
