/* @@index */
.tools-banner {
  width: 100%;
  height: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: url(../images/banner/tools.png) center center / 100% 100% no-repeat;
}
.tools-banner h1 {
  color: #333;
  font-size: 0.3rem;
  text-align: center;
  font-weight: normal;
}
.tools-banner .hot-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.tools-banner .hot-tools > div {
  width: calc(33.3% - 0.3rem);
  display: flex;
  align-items: flex-start;
  padding: 0.2rem;
  margin-top: 0.3rem;
  border: 2px solid #fff;
  background-image: linear-gradient(0deg, #fafafa 0%, #edf1f7 100%);
  box-shadow: 0px 5px 13px 0px rgba(174, 206, 241, 0.33);
}
.tools-banner .hot-tools > div img {
  width: 0.48rem;
  margin-right: 0.1rem;
}
.tools-banner .hot-tools > div a {
  color: #333;
  font-weight: bold;
  font-size: 0.18rem;
  line-height: 0.24rem;
}
.tools-banner .hot-tools > div p {
  color: #333;
  font-size: 0.14rem;
  line-height: 0.24rem;
  margin-top: 3px;
}
.tools {
  margin-top: 0.5rem;
}
.tools .tool-title {
  color: #000;
  font-weight: bold;
  font-size: 0.24rem;
  text-align: left;
}
.tools .tool-title + p {
  color: #333;
  font-size: 0.14rem;
  line-height: 0.24rem;
  margin-top: 7px;
}
.tools .tool-list {
  display: flex;
  flex-wrap: wrap;
}
.tools .tool-list > div {
  width: calc(33.3% - 0.15rem);
  border: 1px solid #ccc;
  margin: 0.2rem 0.2rem 0 0;
  padding: 0.12rem 0.2rem;
}
.tools .tool-list > div:nth-child(3n + 3) {
  margin-right: 0;
}
.tools .tool-list > div a {
  color: #222;
  font-size: 0.14rem;
  line-height: 0.24rem;
}
.tools .tool-list > div a:hover {
  color: #f76900;
}
.tools .tool-list > div .hot {
  display: inline-block;
  color: #fff;
  font-weight: bold;
  font-size: 9px;
  padding: 3px;
  margin-left: 8px;
  vertical-align: text-bottom;
  background-color: #ff611a;
}
.tools .tool-list > div p {
  font-size: 0.14rem;
  line-height: 0.22rem;
  color: #666;
  margin-top: 0.1rem;
}
@media screen and (max-width: 1200px) {
  .tools-banner {
    width: 1200px;
  }
}
/* 共有 */
.font-box {
  color: #666;
  font-size: 0.16rem;
}
.font-box h1 {
  color: #333;
  text-align: center;
}
.font-box h2 {
  color: #333;
  text-align: left;
}
.display {
  display: none;
}
.tool-p {
  font-size: 0.24rem;
  text-align: center;
  margin-top: 0.2rem;
}
/* 文本框 */
.input {
  width: 100%;
  height: 0.46rem;
  color: #666;
  font-size: 0.16rem;
  box-sizing: border-box;
  padding-left: 0.23rem;
  outline: 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}
/* 按钮 */
.button-box {
  text-align: center;
  margin-top: 0.46rem;
}
.button {
  display: inline-block;
  color: #fff;
  font-size: 0.18rem;
  background-color: #f76900;
  padding: 0.17rem 0.5rem;
}
/* notice */
.notice {
  line-height: 0.25rem;
  margin-top: 0.2rem;
}
.notice ul,
.notice ol {
  padding-left: 0.2rem;
}
.notice li {
  margin-bottom: 0.1rem;
}
.notice li ::marker {
  color: #333;
}
.notice h3 {
  margin: 0.2rem 0;
}
/* 每个页面的控制情况 */
.nonebtn {
  background-color: #aaa !important;
  cursor: not-allowed;
  position: relative;
  z-index: 1;
}
/* 动画--旋转--加载 */
@keyframes rotatebtn {
  0% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(72deg);
  }
  40% {
    transform: rotate(144deg);
  }
  60% {
    transform: rotate(216deg);
  }
  80% {
    transform: rotate(288deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.nonebtn::after {
  width: 100%;
  height: 100%;
  display: block;
  content: "";
  background: url("../images/icon/loading.png") center center / 0.5rem 0.5rem no-repeat;
  position: absolute;
  left: 0;
  top: 0;
  animation: rotatebtn 3s linear infinite;
}
/* tools推荐其他工具 */
.tool-nav-a {
  display: flex;
  flex-wrap: wrap;
}
.tool-nav-a > a {
  width: calc(25% - 15px);
  font-size: 0.18rem;
  text-align: center;
  background-color: #fff;
  padding: 0.18rem 0;
  margin: 20px 20px 0 0;
}
.tool-nav-a > a:nth-child(4n + 4) {
  margin-right: 0;
}
.tool-nav-a > a:hover {
  color: #fff;
  background-color: #f76900;
}
.tool-nav-a .active {
  color: #fff;
  background-color: #f76900;
}
/* Generate CSR */
.generate {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 0.35rem;
}
.generate > div {
  width: 47%;
  margin-bottom: 0.3rem;
}
.generate p {
  margin-bottom: 0.1rem;
}
/* 复选框 */
.checkbox {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* generate chain都在用的下载文件 */
.down-file {
  display: flex;
  justify-content: space-between;
  margin-top: 0.2rem;
}
/* 下载按钮 */
.download {
  background-color: #f76900;
  flex-shrink: 0;
  color: #fff;
  padding: 0.12rem 0.16rem;
}
.csr-file {
  width: 100%;
  height: 490px;
  color: #666;
  font-size: 0.16rem;
  line-height: 0.25rem;
  font-family: monospace;
  resize: none;
  padding: 0.2rem 0.25rem;
  margin: 0.2rem 0;
  box-sizing: border-box;
  border: 1px solid #ccc;
}
/* CSR Decoder */
.decoder-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  font-size: 0.18rem;
}
.decoder-head span {
  font-size: 0.24rem;
}
.decoder-head p {
  color: #333;
  font-weight: bold;
}
.decoder-head select {
  width: 2.1rem;
  height: 0.4rem;
  border: 0;
  border-bottom: 1px solid #ccc;
}
.decoder-p {
  line-height: 0.22rem;
  margin-top: 0.18rem;
}
/* 手机端的搜索 */
.decoder-head-select {
  display: none;
}
/* decoder converter的上传文件 */
.decoder-file {
  display: none;
}
.decoder-file-inner {
  width: 100%;
  height: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.2rem;
  border: 1px solid #ccc;
}
.file-name {
  line-height: 0.2rem;
  margin-left: 10px;
}
.decoder-file-button {
  position: relative;
}
.decoder-file-button input {
  width: 1.9rem;
  height: 0.5rem;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 15;
  cursor: pointer;
}
.decoder-file-button div {
  width: 1.9rem;
  height: 0.5rem;
  font-size: 0.18rem;
  line-height: 0.5rem;
  text-align: center;
  border: 1px solid #ccc;
  cursor: pointer;
}
/* decoder whois converter的表格 */
.decoder-table {
  color: #333;
  margin-top: 0.2rem;
}
.decoder-table td {
  /* width: 25%; */
  line-height: 0.22rem;
  vertical-align: middle;
  padding: 0.11rem 0.19rem;
  border: 1px solid #ccc;
}
/* SSL Converter */
.converter-box {
  margin-top: 0.3rem;
}
.converter-box > p {
  color: #333;
  font-weight: bold;
  font-size: 0.24rem;
}
.converter-formats > div {
  float: left;
  margin-right: 1rem;
}
.converter-formats > div:last-child {
  margin-right: 0;
}
/* 密码 */
.converter-password {
  width: 6.5rem;
  height: 0.4rem;
  position: relative;
  margin-top: 0.2rem;
}
.converter-input {
  width: 6.5rem;
  height: 0.4rem;
  color: #666;
  font-size: 0.16rem;
  background-color: #f7f7fc;
  box-sizing: border-box;
  padding: 5px 0;
  border: 0;
  outline: 0;
  border-bottom: 1px solid #ccc;
}
.converter-password > i {
  width: 0.29rem;
  height: 0.21rem;
  background-image: url("../images/icon/keyboard.png");
  position: absolute;
  right: 0;
  top: 5px;
}
.converter-password .focus {
  background-image: url("../images/icon/keyboard-focus.png");
}
.converter-password .msg-pass {
  position: absolute;
  top: 0;
  right: -1rem;
  color: #f00;
  line-height: 0.4rem;
  display: none;
}
/* 公共：搜索框，放在此是后面的页面都有搜索 */
.search {
  display: flex;
  justify-content: center;
  margin: 0.3rem 0;
}
/* 输入框 */
.search-input {
  width: 7rem;
  height: 0.55rem;
  color: #666;
  font-size: 0.16rem;
  box-sizing: border-box;
  padding-left: 0.23rem;
  outline: 0;
  border: 1px solid #ccc;
}
/* 按钮 */
.search .button {
  display: inline-block;
  width: 2.18rem;
  height: 0.55rem;
  color: #fff;
  line-height: 0.55rem;
  text-align: center;
  background-color: #f76900;
  padding: 0;
}
/* 固定小方块 */
.search .port {
  width: 1.4rem;
  color: #666;
  text-align: center;
  line-height: 0.55rem;
  background-color: #fff;
  border: 1px solid #ccc;
  margin: 0 0.1rem;
}
/* select框的宽 */
.search .select {
  width: 1.4rem;
  margin: 0 0.1rem;
}
/* SSL Checker */
/* 查询到的数据 */
.checker-box {
  font-size: 0.16rem;
  margin: 0.5rem auto;
  display: none;
}
.checker-box > p {
  color: #333;
  font-size: 0.24rem;
  font-weight: bold;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
}
/* checker、log-detail的表格 */
.checker-table {
  color: #333;
  margin-top: 0.22rem;
}
.checker-table td {
  padding: 0.1rem 0;
}
.checker-table tr:last-child > td {
  padding-bottom: 0;
}
.checker-table td:first-child {
  width: 2.24rem;
  text-align: right;
  padding-right: 0.25rem;
  border-right: 1px solid #000;
}
.checker-table td:last-child {
  padding-left: 0.25rem;
}
.checker-table p {
  line-height: 0.25rem;
}
.checker-table .checker-table-key {
  word-break: break-word;
  line-height: 0.22rem;
  background-color: #f5f5f5;
  padding: 0.2rem 0.35rem;
}
/* Check CT Log */
/* 固定第一列，左右滑动的表格，利用position: sticky; */
.log {
  width: 100%;
  overflow-x: auto;
}
.log-table {
  min-width: 900px;
}
.log-table td:first-child {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 2;
}
.log-tbody td:first-child {
  background-color: #fff;
}
.log-thead td {
  line-height: 0.24rem;
  background-color: #f7f7fc;
  vertical-align: middle;
  word-break: break-word;
  padding: 0.1rem 0.15rem;
}
.log-tbody td {
  line-height: 0.24rem;
  vertical-align: middle;
  padding: 0.1rem 0.15rem;
  border-bottom: 1px solid #ccc;
}
.log-tbody a {
  color: #f76900;
}
.log-table td:last-child {
  text-align: right;
}
/* log detail */
/* 面包屑导航 */
.crumbs {
  font-size: 0.18rem;
  padding: 0.2rem 0;
}
.crumbs span {
  color: #f76900;
}
.crumbs a:hover {
  color: #f76900;
}
/* 与之前的checker类似，少了display:none */
.log-detail-box {
  font-size: 0.16rem;
  margin: 0.5rem auto;
}
.log-detail-box > p {
  color: #333;
  font-weight: bold;
  font-size: 0.24rem;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
}
/* 域名部分的展示 */
.log-detail-domain {
  width: 90%;
  margin-left: 5%;
  line-height: 0.26rem;
}
.log-detail-domain ul {
  color: #333;
  padding: 0.2rem;
  border-bottom: 1px solid #ccc;
}
.log-detail-domain p {
  margin-top: 0.2rem;
}
/* DNS Lookup */
.dns {
  overflow: visible !important;
}
/* 下拉框+复选框的容器 */
.select-checkbox {
  width: 200px;
  height: 0.55rem;
  position: relative;
  background-color: #fff;
  border: 1px solid #ccc;
  margin-right: 0.2rem;
}
.select-div {
  width: 200px;
  height: 0.55rem;
  line-height: 0.55rem;
  padding: 0 10px;
  /* border-left: 1px solid #e6e6e6; */
  display: flex;
  justify-content: space-between;
}
.select-arrow i {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: url("../images/icon/select-arrow.png") center center no-repeat;
}
.select-box {
  width: 200px;
  max-height: 200px;
  position: absolute;
  left: 0;
  top: 0.55rem;
  font-size: 14px;
  background-color: #fff;
  overflow-y: auto;
  border: 1px solid #858585;
  border-radius: 10px;
  z-index: 10;
  padding: 5px 0;
  display: none;
}
.select-li {
  height: 25px;
  line-height: 25px;
  padding: 0 10px;
}
.select-li.select-li-child {
  padding-left: 28px;
}
.select-box input {
  width: 14px !important;
  height: 14px !important;
  vertical-align: top;
  margin-right: 5px;
  margin-top: 5px;
}
/* 错误提示 */
.errorTip {
  color: #f00;
  text-align: center;
  font-size: 0.16rem;
  margin-top: 0.2rem;
}
.dns-result {
  display: flex;
  justify-content: space-between;
}
.dns-res {
  width: 30%;
}
.dns-table {
  width: 100%;
  border: 1px solid #ccc;
  color: #111;
}
.dns-table td:first-child {
  padding-left: 10px;
  min-width: 83px;
}
.dns-table td:last-child {
  min-width: 38px;
}
.dns-thead td {
  height: 50px;
  vertical-align: middle;
}
.dns-tbody > tr.title {
  background-color: #f4f5f9;
  cursor: pointer;
}
.dns-tbody > tr.title .arrow {
  width: 10px;
  height: 6px;
  display: inline-block;
  background: url("../images/icon/row.png") center center / 100% 100% no-repeat;
  transition: all 500ms;
}
.dns-tbody > tr.title .arrow.rotate {
  transform: rotate(180deg);
  transition: all 500ms;
}
.dns-tbody > tr td {
  height: 40px;
  vertical-align: middle;
  border-top: 1px solid #ccc;
  font-size: 12px;
}
.dns-tbody > tr td p {
  margin: 8px 0;
  word-break: break-all;
}
.dns-tbody > tr td .tab-true {
  display: inline-block;
  width: 17px;
  height: 17px;
  background: url("../images/icon/dns-true.png") center center / 100% 100% no-repeat;
}
.dns-tbody > tr td .tab-false {
  display: inline-block;
  width: 17px;
  height: 17px;
  background: url("../images/icon/dns-false.png") center center / 100% 100% no-repeat;
}
.dns-map {
  width: 68%;
}
.dns-map > p {
  font-size: 0.3rem;
  color: #111;
  text-align: center;
  margin-bottom: 20px;
}
#chartdiv {
  width: 100%;
  height: 500px;
}
/* 地图示例 */
.dns-legend {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  color: #111;
}
.dns-circle {
  display: flex;
  align-items: center;
  font-size: 12px;
  margin-right: 40px;
}
.dns-circle:last-child {
  margin-right: 0;
}
.dns-circle span {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-right: 10px;
}
.dns-location span {
  background-color: #1374e0;
}
.dns-correct span {
  background-color: #00b700;
}
.dns-error span {
  background-color: #e95513;
}
/* whois */
.whois-h4 {
  margin: 0.3rem 0 0.1rem;
}
.whois-info {
  line-height: 0.22rem;
}
@media screen and (max-width: 640px) {
  /* index */
  .tool > p {
    line-height: 0.26rem;
  }
  .tool-box {
    justify-content: space-between;
  }
  .tool-box > a {
    width: 48%;
    height: 2.54rem;
    line-height: 0.26rem;
    margin-right: 0;
  }
  /* 共有 */
  .font-box {
    font-size: 0.2rem;
  }
  .tool-p {
    font-size: 0.3rem;
  }
  /* 文本框 */
  .input {
    width: 100%;
    height: 0.6rem;
    font-size: 0.2rem;
  }
  /* 按钮 */
  .button {
    font-size: 0.24rem;
    padding: 0.17rem 0.5rem;
  }
  /* notice */
  .notice {
    line-height: 0.26rem;
  }
  .notice ul,
  .notice ol {
    padding-left: 0.25rem;
  }
  /* tools推荐其他工具 */
  .tool-nav-a {
    justify-content: space-between;
  }
  .tool-nav-a > a {
    width: 48%;
    font-size: 0.24rem;
    margin-right: 0;
  }
  .tool-nav-a > a:nth-child(4n + 4) {
    margin-right: 0;
  }
  /* Generate CSR */
  .generate > div {
    width: 100%;
  }
  /* generate chain都在用的下载文件 */
  .down-file {
    flex-wrap: wrap;
  }
  .down-file > p {
    width: 100%;
  }
  /* 下载按钮 */
  .download {
    padding: 0.15rem 0.26rem;
    margin-top: 0.2rem;
  }
  .csr-file {
    font-size: 0.2rem;
    line-height: 0.26rem;
  }
  /* CSR Decoder */
  .decoder-head {
    display: none;
  }
  .decoder-p {
    line-height: 0.26rem;
  }
  /* 手机端的搜索 */
  .decoder-head-select {
    width: 2.5rem;
    display: block;
    margin-top: 0.2rem;
  }
  /* decoder whois converter的表格 */
  .decoder-table td {
    line-height: 0.26rem;
  }
  /* SSL Converter */
  /* 密码 */
  .converter-password {
    width: 6rem;
  }
  .converter-input {
    width: 6rem;
    font-size: 0.2rem;
  }
  .converter-password > i {
    right: 5px;
  }
  /* 公共：搜索框，放在此是后面的页面都有搜索 */
  .search {
    flex-wrap: wrap;
  }
  /* 输入框 */
  .search-input {
    width: 100%;
    font-size: 0.2rem;
    margin-bottom: 0.2rem;
  }
  /* SSL Checker */
  /* 查询到的数据 */
  .checker-box {
    font-size: 0.2rem;
  }
  /* checker、log-detail的表格 */
  .checker-table td {
    word-break: break-word;
    line-height: 0.26rem;
  }
  .checker-table td:first-child {
    padding-right: 0.1rem;
  }
  .checker-table td:last-child {
    padding-left: 0.1rem;
  }
  .checker-table p {
    line-height: 0.26rem;
  }
  .checker-table .checker-table-key {
    padding: 0.15rem;
  }
  /* Check CT Log */
  /* 固定第一列，左右滑动的表格，利用position: sticky; */
  .log-thead td {
    line-height: 0.26rem;
  }
  .log-tbody td {
    line-height: 0.26rem;
  }
  /* log detail */
  /* 与之前的checker类似，少了display:none */
  .log-detail-box {
    font-size: 0.2rem;
  }
  .log-detail-box > p {
    font-size: 0.3rem;
  }
  /* DNS Lookup */
  .dns {
    overflow: visible !important;
  }
  /* 下拉框+复选框的容器 */
  .select-checkbox {
    margin-bottom: 10px;
  }
  /* 错误提示 */
  .errorTip {
    font-size: 0.2rem;
  }
  .dns-result {
    flex-wrap: wrap;
  }
  .dns-res {
    width: 100%;
    margin-bottom: 0.3rem;
  }
  .dns-table td:first-child {
    min-width: 100px;
  }
  .dns-map {
    width: 100%;
  }
  .dns-map {
    margin-bottom: 0;
  }
  #chartdiv {
    width: 100%;
    height: 300px;
  }
  /* 地图示例 */
  .dns-legend {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .dns-circle {
    font-size: 0.2rem;
  }
  /* whois */
  .whois-info {
    line-height: 0.26rem;
  }
}
