@charset "utf-8";

html,
body {
  height: 100%;
  background-color: #fff;
}

.page-wrapper {
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch; /* 解决在IOS上滚动惯性失效的问题 */
}

/* grey background*/

.d-grey-background {
  background: rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

* {
  -webkit-tap-highlight-color: transparent; /* 解决btn加上cursor:pointer点击出现蓝色背景的问题 */
}

/* ----- header start----- */

.d-header {
  height: 70px;
  background: #ffffff;
  padding: 20px 0;
  border-bottom: 1px solid #e4e4e4;
  border-top: 1px solid #e4e4e4;
}
.container {
  padding: 0 20px;
  max-width: 1020px;
  margin: 0 auto;
}
.d-header .logo {
  height: 30px;
}
.d-header .banner {
  overflow: hidden;
}
.d-header .banner li {
  float: left;
  height: 38px;
}

.d-header .title {
  line-height: 34px;
  font-size: 20px;
  margin-left: 24px;
  color: #e46d19;
}
@media only screen and (max-width: 560px) {
  .d-header {
    display: none;
  }
  body {
    font-size: 16px;
  }
}

/* ----- footer start ------*/
.d-footer {
  background-color: #434343;
  color: #898989;
  width: 100%;
  height: 70px;
  line-height: 70px;
  text-align: center;
  overflow: hidden;
}

.d-footer-copyright {
  margin: 0 auto;
  padding: 0 40px;
}

@media only screen and (max-width: 560px) {
  .d-footer {
    font-size: 12px;
  }
}

/* ---- markdown start ------ */
.markdown p {
  margin: 0 0 8px;
  line-height: 2;
  color: rgba(0, 0, 0, 0.65);
}

.main-container {
  position: relative;
}
.main-container .markdown h2 {
  font-size: 18px;
  font-family: 'Microsoft Yahei', sans-serif;
  line-height: 1.5;
  margin: 42px 0 18px;
  padding: 6px 16px;
  border-left: 3px solid #e46d19;
  color: #333;
}
.policy-toc {
  min-height: 192px;
  border-radius: 6px;
  background-color: #fbfbfb;
  padding: 32px 32px 16px;
  margin-bottom: 16px;
}
.markdown .policy-toc ul {
  overflow: hidden;
  margin: 0;
}
.markdown .policy-toc li {
  line-height: 1.5;
  margin-bottom: 16px;
  width: 50%;
  padding-right: 10px;
  float: left;
  list-style: none;
}

#toc-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #f0f0f0;
  padding: 8px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  font-size: 16px;
  cursor: pointer;
}

@media only screen and (max-width: 560px) {
  .page-wrapper:after {
    content: '';
    display: block;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  .toc-visible {
    /*  overflow: hidden; */
  }
  .toc-visible:after {
    opacity: 1;
    visibility: visible;
  }
  .policy-toc {
    position: fixed;
    z-index: 2;
    top: 0;
    bottom: 0;
    right: -280px;
    width: 280px;
    padding: 16px 16px 0;
    margin: 0;
    border-radius: 0;
    background: #fff;
    overflow: auto;
    transition: right 0.3s ease;
  }
  .toc-visible .policy-toc {
    right: 0;
  }
  #toc-btn {
    display: block;
  }
  .markdown .policy-toc li {
    float: none;
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.35;
  }
  .markdown {
    font-size: 16px;
  }
}
p {
  margin: 0;
  padding: 0;
}
.sdk-source-container {
}
.sdk-source-item {
  padding: 20px 10px;
}
.sdk-source-item-line {
  font-size: 0;
}
.sdk-source-item-line .label {
  display: inline-block;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}
.sdk-source-item-line .content {
  display: inline-block;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}
.sdk-source-item-line .content a {
  word-break: break-all;
}
.effective-box {
  padding-bottom: 15px;
}
#article .effective-box p {
  margin: 0;
  padding: 0 0 5px 0;
  font-size: 14px;
  line-height: 21px;
  color: #777;
}
