/*
Theme Name: PBCMS Black WP
Theme URI: https://example.com/
Author: Codex
Description: WordPress conversion of the PbootCMS/PBCMS black company website template.
Version: 2.0.1-clean
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: pbcms-black
*/

body.pbcms-wap {
  min-width: 0;
  padding-bottom: 58px;
}

body.pbcms-wap img {
  max-width: 100%;
}

body.pbcms-wap header {
  position: relative;
  z-index: 20;
}

body.pbcms-wap .logo h1,
body.pbcms-wap .logo h1 a {
  display: block;
  margin: 0;
  line-height: 0;
}

body.pbcms-wap .logo img {
  max-height: 42px;
  width: auto;
}

body.pbcms-wap .side-nav .author img {
  max-height: 54px;
  width: auto;
}

body.pbcms-wap .side-nav-panel {
  margin: 0;
  padding: 0;
}

body.pbcms-wap .side-nav-panel li a {
  display: block;
  padding-left: 44px;
}

body.pbcms-wap .slide-content img,
body.pbcms-wap .solution-item img,
body.pbcms-wap .cases-img img,
body.pbcms-wap .news-images img {
  width: 100%;
  height: auto;
}

body.pbcms-wap .navbar-bottom {
  z-index: 50;
}

body.pbcms-wap.admin-bar .side-nav {
  padding-top: 46px;
}

body.pbcms-wap .footer-copyright a {
  color: inherit;
}

/* Keep the first/current PB homepage slide visible even before the animation helper settles. */
.slide .swiper-slide:first-child .ani,
.slide .swiper-slide-active .ani,
.slide .swiper-slide-duplicate-active .ani {
  visibility: visible !important;
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
}

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

body.page {
  display: block;
  padding-top: 0;
  padding-left: 0;
  margin: 0;
  text-align: left;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-logo h1 img {
  max-height: 62px;
  width: auto;
}

.header-nav ul,
.footer-nav ul,
.subnav ul,
.cases ul,
.service ul,
.news ul,
.solution-slide ul {
  list-style: none;
}

.header-nav .sub {
  display: none;
}

.header-nav li:hover > .sub {
  display: block;
}

.header-nav #nav > li.on > h3 > a {
  color: #fff !important;
  background: #00a0ea;
  border-bottom-color: #00a0ea !important;
}

.header-nav #nav > li.on > h3 > a:hover {
  color: #fff !important;
}

.footer-safe .footer-w3c-icon {
  display: inline-block;
  width: 32px;
  margin-right: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 48px;
  color: #fff;
  vertical-align: middle;
}

.footer-safe a:hover .footer-w3c-icon {
  color: #00a0ea;
}

.footer-safe ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  white-space: nowrap;
}

.footer-safe .footer-code-icon {
  display: inline-block;
  width: 42px;
  margin-right: 10px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 26px;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: 0;
  color: #fff;
  vertical-align: middle;
  background: none !important;
  border: 0 !important;
  text-indent: 0 !important;
}

.footer-safe a:hover .footer-code-icon {
  color: #00a0ea;
}

.product-item ul li.product-active .product-item-icon {
  background-image: url(static/pc/images/product_icon_02.svg);
}

.about-media {
  position: absolute;
  top: 180px;
  right: 0;
  z-index: 2;
  width: 640px;
  height: 360px;
  object-fit: cover;
  box-shadow: 0 5px 20px rgba(0,0,0,.5);
}

.process ul li:not(:last-child)::after {
  background-image: url(static/pc/images/process_arrow.svg);
}

.main-title > p:empty {
  display: none;
}

.message ul li.code img {
  min-width: 92px;
  background: #f7fbfd;
  border: 1px solid #dcdcdc;
  box-sizing: border-box;
  cursor: pointer;
}

.message ul li.code .captcha-image {
  display: block;
  float: right;
  width: 104px;
  height: 40px;
}

.message ul li.code .captcha-image img {
  display: block;
  float: none;
  width: 100%;
  min-width: 0;
  height: 40px;
}

.wp-caption,
.aligncenter {
  max-width: 100%;
}

.detail-desc img,
.about img,
.page-content img {
  height: auto;
}

.page-numbers.current {
  cursor: default;
}

.no-results {
  padding: 45px 0;
  text-align: center;
  color: #777;
}

.search-no-results {
  display: block;
  width: 100%;
  list-style: none;
}

.case-gallery-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  background: #f5f5f5;
  color: #888;
}

.pbcms-contact-form input,
.pbcms-contact-form textarea {
  box-sizing: border-box;
  width: 100%;
}

.footer-copyright-txt span,
.footer-copyright-txt a {
  margin-right: 10px;
}

.mobile-menu-toggle {
  display: none;
}

@media (max-width: 767px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  header,
  footer,
  .focus,
  .footer-safe,
  .honor,
  .banner,
  .main,
  .slide,
  .swiper-slide,
  .product,
  .service,
  .solution,
  .cases,
  .number,
  .about,
  .news {
    min-width: 0;
  }

  .container {
    width: auto;
    min-width: 0;
    max-width: none;
    padding-left: 15px;
    padding-right: 15px;
  }

  header {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    height: auto;
    background: #242a37;
  }

  .header-top,
  .header-bottom {
    height: auto;
  }

  .header-top .container,
  .footer-nav .container {
    display: block;
  }

  .header-bottom .container {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  .header-logo,
  .header-logo h1,
  .header-logo h2 {
    float: none;
    height: auto;
  }

  .header-logo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 8px 0 6px;
  }

  .header-logo h1 img,
  .header-logo img {
    height: 38px;
  }

  .header-logo h2 {
    width: 100%;
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 20px;
  }

  .header-search {
    float: none;
    width: 100%;
    height: auto;
    margin: 0 0 8px;
    clear: both;
  }

  .header-search form {
    float: none;
    width: 100%;
  }

  .header-search input,
  .header-search input:hover,
  .header-search input:focus {
    width: 100%;
    height: 38px;
  }

  .header-search button {
    width: 42px;
    height: 38px;
  }

  .header-search ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0 14px;
    float: none;
    margin: 6px 0 0;
  }

  .header-search ul li {
    float: none;
    padding-right: 0;
  }

  .header-search ul li a {
    line-height: 24px;
  }

  .header-nav {
    display: none;
    grid-column: 1 / -1;
    float: none;
    width: 100%;
    height: auto;
    line-height: normal;
    border-top: 1px solid rgba(255,255,255,.08);
  }

  .header-nav.is-open {
    display: block;
  }

  .header-nav #nav {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .header-nav .nLi,
  #nav > li {
    display: block;
    float: none;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .header-nav .nLi h3 {
    display: block;
    float: none;
    height: auto;
    margin: 0;
  }

  .header-nav .nLi h3 a {
    display: block;
    padding: 0 12px;
    font-size: 14px;
    line-height: 42px;
  }

  .header-nav .sub {
    left: 0;
    width: 100%;
  }

  .header-mobile {
    grid-column: 2;
    float: none;
    width: 100% !important;
    min-width: 0;
    height: auto;
    clear: none;
  }

  .header-mobile p {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    float: none;
    width: 100%;
    margin: 0;
    font-size: 0;
    line-height: 44px;
    white-space: nowrap;
  }

  .header-mobile p span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: none;
    padding: 0 12px;
    margin-left: 0;
    min-width: 154px;
    width: 154px;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 15px;
    line-height: 44px;
    overflow: visible;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    grid-column: 1;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 44px;
    color: #fff;
    background: #00a0ea;
    cursor: pointer;
  }

  .mobile-menu-toggle i {
    margin-right: 8px;
    font-size: 16px;
  }

  .mobile-menu-toggle span {
    font-size: 14px;
    line-height: 44px;
  }

  .slide,
  .swiper-slide {
    width: 100%;
    height: 430px;
  }

  .slide {
    height: auto !important;
    min-height: 530px !important;
    overflow: visible;
    background: #242a37;
  }

  .swiper-container,
  .swiper-wrapper,
  .swiper-slide {
    min-width: 0;
    height: 430px !important;
    min-height: 430px !important;
  }

  .swiper-slide .container {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 100%;
    margin: 0;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  .slide-text {
    display: none !important;
  }

  .swiper-slide .ani {
    visibility: visible !important;
    opacity: 1 !important;
  }

  .swiper-slide .ani img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .swiper-slide .slide-text h1,
  .slide-text h1 {
    max-height: none !important;
    max-width: 330px;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 26px !important;
    line-height: 1.25 !important;
    letter-spacing: 0;
    white-space: normal;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .swiper-slide .slide-text p,
  .slide-text p {
    max-height: none !important;
    max-width: 330px;
    margin: 12px auto 22px !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    letter-spacing: 0 !important;
    white-space: normal;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  @media (max-width: 360px) {
    .swiper-slide .slide-text h1,
    .slide-text h1,
    .swiper-slide .slide-text p,
    .slide-text p {
      max-width: 300px;
    }

    .swiper-slide .slide-text h1,
    .slide-text h1 {
      font-size: 24px !important;
    }

    .swiper-slide .slide-text p,
    .slide-text p {
      font-size: 12px !important;
    }
  }

  .slide-nav {
    position: static;
    height: auto;
    overflow-x: auto;
    background: rgba(36,42,55,.92);
    -webkit-overflow-scrolling: touch;
  }

  .slide-nav .container {
    padding-left: 0;
    padding-right: 0;
  }

  .slide-nav ul {
    display: flex;
    width: 166.666667%;
    min-width: 0;
  }

  .slide-nav li {
    float: none;
    flex: 0 0 20%;
    width: 20%;
    min-width: 0;
    height: 100px;
  }

  .slide-nav li dl {
    float: none;
    padding: 18px 12px;
  }

  .slide-nav li dl dt {
    font-size: 16px;
  }

  .banner {
    height: 300px;
  }

  .banner img {
    height: 300px;
  }

  .banner .banner-title {
    padding: 70px 0 20px;
  }

  .banner .banner-title h2,
  .banner .banner-title > p {
    width: 100%;
  }

  .banner .banner-title h2 {
    font-size: 32px;
    line-height: 42px;
    letter-spacing: 0;
  }

  .subnav,
  .bread-crumb {
    min-width: 0;
  }

  .subnav {
    height: auto;
    overflow-x: auto;
  }

  .subnav ul {
    display: flex;
    width: max-content;
    height: auto;
  }

  .subnav ul li a {
    padding: 0 26px;
    line-height: 52px;
  }

  .bread-crumb {
    height: auto;
    min-height: 52px;
    line-height: 52px;
  }

  .main-bg {
    padding: 26px 15px;
  }

  .product-item ul,
  .service-list ul,
  .cases-item .bd ul,
  .news-item .bd ul,
  .footer-safe ul {
    width: 100%;
  }

  .product-item {
    height: auto;
  }

  .product-item ul li,
  .service-list li,
  .cases-item .bd ul li,
  .news-item-left,
  .news-item-right,
  .news-item-right li {
    float: none;
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .product-item ul li,
  .product-item ul li.product-active {
    width: 100%;
    height: auto;
    min-height: 430px;
    margin-bottom: 18px;
  }

  .product-item-link {
    height: 100%;
  }

  .service-item {
    height: auto;
  }

  .service-item li {
    width: 50%;
    min-height: 88px;
  }

  .cases-item .bd,
  .news-item .bd {
    height: auto;
  }

  .cases-item .bd ul li {
    height: auto;
    margin-bottom: 24px;
    background-size: 100% auto;
  }

  .cases-images,
  .cases-text h3 {
    width: 100%;
    height: auto;
  }

  .number ul li {
    width: 50%;
    margin-bottom: 20px;
  }

  .about,
  .about .about-bg {
    height: auto;
    min-height: 0;
  }

  .about .about-desc {
    width: 100%;
  }

  .about video,
  .about-media {
    position: static;
    width: 100%;
    height: auto;
    margin: 20px 0 0;
  }

  .contact ul,
  .message ul {
    width: 100%;
  }

  .contact ul li,
  .message ul li,
  .message ul li:nth-of-type(2),
  .message ul li.textarea,
  .message ul li.code {
    float: none;
    width: 100%;
    box-sizing: border-box;
  }

  .message ul li {
    height: auto;
    margin-right: 0;
    margin-bottom: 16px;
  }

  .message ul li:not(.textarea):not(.submit):not(.code) {
    display: flex;
    min-height: 42px;
    line-height: 40px;
    overflow: hidden;
  }

  .message ul li label {
    float: none;
    flex: 0 0 70px;
    width: 70px;
    min-height: 40px;
    line-height: 40px;
  }

  .message ul li input:focus {
    width: auto;
  }

  .message ul li input[type=text],
  .message ul li.textarea textarea {
    display: block;
    float: none;
    width: 100%;
    box-sizing: border-box;
  }

  .message ul li:not(.textarea):not(.submit):not(.code) input[type=text] {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    height: 40px;
    padding: 0 10px;
  }

  .message ul li.textarea {
    height: 200px;
  }

  .message ul li.textarea .textarea-tit {
    height: 40px;
    padding-left: 12px;
    line-height: 40px;
    box-sizing: border-box;
  }

  .message ul li.textarea textarea {
    height: 158px;
    padding: 12px;
  }

  .message ul li.code {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    grid-template-rows: 40px auto;
    align-items: center;
    overflow: visible;
  }

  .message ul li.code label {
    grid-column: 1;
    grid-row: 1;
    width: 70px;
  }

  .message ul li.code input[type=text] {
    grid-column: 2;
    grid-row: 1;
    width: 100% !important;
  }

  .message ul li.code img {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    float: none;
    width: 92px;
    max-width: 92px;
    height: 40px;
    margin-top: 8px;
    margin-left: 0;
  }

  .message ul li.code .captcha-image {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    float: none;
    width: 104px;
    height: 40px;
    margin-top: 8px;
  }

  .message ul li.code .captcha-image img {
    width: 100% !important;
    min-width: 0;
    height: 40px;
    margin-top: 0;
  }

  .message ul li.submit {
    height: auto;
    margin-top: 10px;
  }

  .sitemap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 14px;
  }

  .sitemap dl {
    float: none;
    width: 100%;
    padding: 0;
    min-width: 0;
    line-height: 1.6;
  }

  .sitemap dl dt {
    height: auto;
    min-height: 24px;
    padding-left: 10px;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 24px;
    white-space: normal;
  }

  .sitemap dl dt a {
    display: inline-block;
    font-size: 18px;
    line-height: 24px;
    white-space: normal;
  }

  .sitemap dl dd {
    line-height: 34px;
  }

  .sitemap dl dd a {
    display: block;
    padding-left: 12px;
    white-space: normal;
    word-break: keep-all;
  }

  @media (max-width: 360px) {
    .sitemap {
      grid-template-columns: 1fr;
    }
  }

  .focus {
    height: auto;
  }

  .focus .focus-item {
    height: auto;
    padding: 36px 0;
  }

  .footer-safe ul li {
    width: 50%;
    height: auto;
    margin: 8px 0;
  }

  .footer-nav-left,
  .footer-nav-right,
  .footer-contact,
  .footer-copyright-txt,
  .footer-copyright-links {
    float: none;
    width: 100%;
  }

  .footer-nav-right {
    margin-top: 24px;
    padding-top: 24px;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.1);
  }

  .footer-nav-left dl {
    width: 50%;
  }

  .contact-text,
  .qr-code {
    width: 100%;
    height: auto;
  }

  .footer-links {
    padding-left: 0;
  }

  .footer-links span {
    position: static;
    display: block;
    margin-bottom: 8px;
  }

  .footer-copyright {
    height: auto;
  }

  .footer-copyright-links ul {
    float: none;
    text-align: left;
  }

  .back-top a {
    right: 16px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    font-size: 30px;
    line-height: 40px;
  }

  #alertbox {
    left: 5%;
    width: 90%;
    height: auto;
    min-height: 260px;
    margin-left: 0;
    background-size: cover;
  }
}
