[v-cloak] {
  display: none !important;
}

body {
  margin: 0;
  padding: 0;
  font-family: "微软雅黑", Consolas;
  color: #333;
}

.json_tools_outer {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding-left: 20px;
  padding-right: 20px;
  background-color: #eeeeee;
  font-size: 26px;
  font-weight: bold;
  border-bottom: 1px solid #ddd;
}

.empty_div {
  font-family: '微软雅黑', serif;
  display: flex;
  font-size: 14px;
  align-items: center;
  font-weight: normal;

  select {
    border: 1px solid #eee;
    border-radius: 8px;
    width: 100px;
    height: 26px;
    outline: none;
    padding-left: 10px;
    padding-right: 10px;
    color: #333;
  }

}


.json_outer {
  height: calc(100% - 60px);
  width: 100%;
  background-color: #f3f3f3;
  display: flex;
}

.json_outer .json_input_outer {
  width: 0;
  flex: 2;
  border-right: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  color: #333;
  font-size: 14px;
}

.json_input_outer>.left_title {
  height: 36px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10px;
}

.json_outer .json_input_outer textarea {
  font-family: Consolas, serif;
  width: 100%;
  height: 100%;
  border: none;
  color: #333;
  resize: none;
  margin: 0;
  padding: 10px;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 120%;
  outline: none;
}

.json_outer .right_div {
  width: 0;
  flex: 5;
  overflow-y: auto;
  padding: 10px;
}

.item {
  margin-bottom: 10px;
  display: flex;
  user-select: none;
}

.item::before {
  content: " ";
  display: block;
  width: 4px;
  background-color: #42b061;
  border-radius: 8px;
}

.item .title {
  width: 30px;
  flex: none;
  color: #42b061;
  background-color: #d9f3e1;
  font-size: 14px;
  overflow: hidden;
  writing-mode: vertical-rl;
  border-radius: 0px 8px 8px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "微软雅黑", 'Consolas', Courier, monospace;
}

.item .item_content {
  display: flex;
  flex-direction: column;
  flex: auto;
}

.item_detail_title {
  padding-left: 10px;
  margin-top: 10px;
  margin-bottom: 6px;
  color: #333;
  font-family: "微软雅黑", 'Consolas', Courier, monospace;
  font-size: 12px;
}

.item_detail_title:nth-child(1) {
  margin-top: 0;
}

.item .item_detail {
  width: 100%;
  padding-left: 10px;
  box-sizing: border-box;
  display: flex;
}

.item_detail textarea {
  font-family: Consolas, Cochin, Georgia, Times, 'Times New Roman', serif;
  width: 100%;
  height: 40px;
  border: 1px solid #DDD;
  color: #333;
  font-size: 14px;
  border-radius: 8px;
  resize: none;
  margin: 0;
  padding: 8px;
  box-sizing: border-box;
  outline: none;
}

.item_detail textarea.big {
  height: 260px;
}

.item_detail textarea.small {
  height: 80px;
}

.right_btn {
  width: 80px;
  flex: none;
  margin-left: 10px;
  background-color: #ffffff;
  border: 1px solid #42b061;
  color: #42b061;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;

}

.right_btn:hover {
  background-color: #d9f3e1;
  border: 1px solid #42b061;
  color: #42b061;
}

.item_detail .showdiv {
  user-select: text;
  font-family: Consolas, Cochin, Georgia, Times, 'Times New Roman', serif;
  width: 100%;
  height: 100%;
  border: 1px solid #DDD;
  color: #333;
  font-size: 14px;
  border-radius: 8px;
  margin: 0;
  padding: 0;
  padding: 8px;
  box-sizing: border-box;
  background-color: white;
  line-height: 150%;
  word-break: break-all;
  word-wrap: break-word;
}

.type_key {
  padding-left: 10px;
  box-sizing: border-box;
  font-size: 16px;
  color: #333;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.type_key_item {
  display: flex;
  margin-top: 8px;
  border-radius: 8px;
  overflow: hidden;
}

.type_key_item .left_div {
  flex: auto;
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #DDD;
  font-family: Consolas, Cochin, Georgia, Times, 'Times New Roman', serif;

}

.left_div .type {
  background-color: #42b061;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  width: 80px;
  color: white;
  flex: none;
}


.left_div .key {
  font-family: Consolas;
  /* 按字符截断换行 支持IE和chrome，FF不支持*/
  word-break: break-all;
  /* 按英文单词整体截断换行 以上三个浏览器均支持 */
  word-wrap: break-word;
  line-height: 22px;
  padding-left: 10px;
  width: 0;
  font-size: 14px;
  flex: auto;
  background-color: white;
  padding: 6px;
  color: #333;
  user-select: text;
}

.input_outer {
  width: 100%;
  height: 40px;
  border: 1px solid #DDD;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 10px;
}

.input_outer input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
  padding: 0 10px;
  font-size: 16px;
  box-sizing: border-box;
  color: #333;
  font-weight: bold;
  font-family: Consolas, Cochin, Georgia, Times, 'Times New Roman', serif;
}


::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 8px;
  /*高宽分别对应横竖滚动条的尺寸*/
  height: 10px;
}

::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 2px;
  background: #999;
}

::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  background: #ddd;
}