body {
  /* background: #f3f6fd; */
  font-size: 15px;
  font-family: "微软雅黑", "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  cursor: default;
}

input::-ms-clear {
  display: none;
}

.content {
  padding: 0 0 15px;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.hide {
  display: none !important;
}

.main-width {
  /* width: 1170px; */
  min-width: 680px;
  /* max-width: 1170px; */
  margin: 0 auto;
}

.clearFix:after {
  content: "\20";
  display: block;
  height: 0;
  clear: both;
}

/* 计算器框架通用样式 */

.content .title {
  width: 100%;
  height: 33px;
  font-size: 24px;
  font-weight: 400;
  color: #333333;
  line-height: 33px;
  margin: 16px 0;
}

.form_box {
  /* height: 262px; */
  background: #ffffff;
  border-radius: 9px;
}

.form_title {
  height: 18px;
  font-size: 14px;
  font-weight: 500;
  color: #333333;
  line-height: 18px;
  padding: 18px;
  border-bottom: 1px solid #eeeeee;
}

.layui-form {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 14px;
}

.law_detail_btn {
  color: #ddd;
  cursor: pointer;
}

.law_detail_btn i {
  margin-right: 3px;
}

.clear_money_btn {
  margin-right: 17px;
  color: #ddd;
  font-size: 17px;
  cursor: pointer;
}

.money_format {
  padding: 5px 10px;
  background: #f6f6f6;
  border-radius: 4px;
  margin-top: 10px;
  position: relative;
}

.money_format i {
  display: inline-block;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 6px solid #f6f6f6;
  position: absolute;
  top: -6px;
  left: 14px;
}

.layui-form-item.common-btn-box {
  width: 100%;
  flex-basis: 100%;
  margin-bottom: 8px;
  margin-top: 16px;
}

.result_box {
  display: block !important;
  min-height: 166px;
  background: #ffffff;
  border-radius: 9px;
  margin-top: 28px;
  overflow: hidden;
}

.result_title {
  height: 18px;
  font-size: 14px;
  font-weight: 500;
  color: #333333;
  line-height: 18px;
  padding: 18px;
  border-bottom: 1px solid #eeeeee;
}

/*************** layui ***************/

.layui-layer .layui-layer-title {
  background-color: #ffffff;
  border-radius: 4px 4px 0 0;
}

.layui-layer .layui-layer-content {
  border-bottom: 1px solid #eeeeee;
}

.layui-form-item {
  width: 40%;
  clear: none;
  margin-bottom: 24px;
  padding-right: 60px;
}

.layui-form-select dl {
  max-height: none;
}

.layui-input-block {
  margin-left: 80px;
}

.layui-form-label {
  color: #999;
  text-align: left;
  width: auto;
}

.layui-input {
  border-radius: 5px;
}

.common-unit-box .layui-input {
  padding-right: 35px;
}

.layui-form-select dl {
  /* max-height: none; */
  max-height: 360px;
  background: #ffffff;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  border: none;
}

.layui-form-select dl dd.layui-this {
  background-color: #1d66e8;
  color: #1677ff;
  background: rgba(22, 119, 255, 0.1);
}

.common-unit {
  position: absolute;
  top: 8px;
  right: -25px;
}

.common-unit.law_detail_btn {
  right: -55px;
}

.common-unit .clear_input_btn {
  margin-right: 17px;
  color: #ddd;
  font-size: 17px;
  cursor: pointer;
}

.layui-btn {
  border-radius: 5px;
  height: 36px;
  line-height: 36px;
  background-color: #1677ff;
}

.layui-btn-primary {
  background-color: #fff;
  border: 1px solid #e6e6e6;
}

.common-btn-box {
  text-align: center;
  padding-left: 15px;
}

.layui-elem-field {
  border-color: #e1eaf6;
  margin: 25px 15px;
}

.layui-elem-field legend {
  margin: 0 auto;
  color: #c5d5e9;
  font-size: 15px;
}

.layui-form-radio *,
.layui-form-radio > i {
  font-size: 15px;
}

.content .layui-layer-dialog {
  border: 0px;
  background: #ffffff;
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

.common-date-box .layui-input {
  padding-right: 38px;
  background: url("/static/Public/images/calc_tool/05.png") no-repeat right #fff;
  background-size: auto 18px;
}

.date_input {
  cursor: pointer;
}

.layui-layer-btn a {
  font-size: 14px;
  border-radius: 3px;
  height: 30px;
  line-height: 30px;
}

.layui-layer-btn .layui-layer-btn0 {
  border-color: #1d66e8 !important;
  background-color: #1d66e8 !important;
}

/*************** result ***************/

.result_info {
  margin: 9px 24px;
  background: #ffffff;
  border-radius: 8px;
}

.result_nodata {
  color: #999;
  font-size: 14px;
  line-height: 92px;
  text-align: center;
}

.result_nodata i {
  font-size: 14px;
  margin-right: 10px;
}

.result_list {
  overflow: hidden;
}

.result_list li {
  float: left;
  width: 30%;
  font-size: 14px;
}

.result_list li > div {
  padding: 15px 0;
}

.result_list li > div > span {
  color: #999;
}

.result_list li > div > font {
  margin-left: 15px;
}

.result_list li div.cal_name {
  padding: 11px 24px;
  font-size: 14px;
  background-color: #fafafa;
  border-radius: 3px 3px 0px 0px;
}

.result_list li div.cal_name span {
  color: #333333;
}

.result_list li.detail_li {
  width: 100%;
  background: #ffffff;
  border-radius: 3px;
  border: 1px solid #eeeeee;
  box-sizing: border-box;
  margin-top: 6px;
  overflow: hidden;
}

.result_list .show_detail_btn {
  color: #1d66e8;
  cursor: pointer;
}

.result_list .show_detail_btn i {
  font-size: 12px;
  margin-left: 3px;
}

.result_list li .detial_box {
  padding: 0;
  border-top: 1px solid #eeeeee;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.detail_info {
  padding: 16px 24px;
  line-height: 22px;
}

.detail_info > p {
  font-weight: bold;
}

.detail_info > div {
  border-bottom: 1px dashed #e1eaf6;
  padding-bottom: 10px;
}

.detail_info > div span {
  color: #999;
}

.detail_info .detail_tit {
  height: 22px;
  font-size: 14px;
  font-weight: 500;
  color: #666666;
  line-height: 22px;
  margin-bottom: 8px;
}

.detail_info .lrp {
  font-size: 14px;
  font-weight: 500;
  margin: 8px;
}

.detail_info .detail_step {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-bottom: 0px;
  overflow: hidden;
  padding: 12px 18px;
}

.detail_info .detail_step:first-child {
  border-radius: 4px 4px 0px 0px;
}

.detail_info > div p {
  word-break: break-all;
  text-align: right;
  display: inline-block;
}

.detail_info .detail_result {
  border: 1px solid #eeeeee;
  padding: 12px 18px;
  overflow: hidden;
  font-weight: 400;
}

.detail_info .detail_result span:first-child {
  color: #999;
}

.detail_info .detail_result span:last-child {
  color: #333;
  font-size: 17px;
  font-weight: bold;
}

.result_btn {
  text-align: center;
  font-size: 0px;
  margin: 32px 0;
}

.result_btn > span {
  display: inline-block;
  font-size: 14px;
  cursor: pointer;
  color: #1d66e8;
  width: 92px;
  height: 32px;
  line-height: 32px;
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid #1677ff;
}

.result_btn > span i {
  margin-right: 5px;
}

.result_btn .advice_btn {
  color: #fb4b62;
  border: 0px;
  border-right: 0;
}

.detail_result {
  text-align: right;
}

.copy_text {
  position: fixed;
  left: 0;
  top: 0;
  z-index: -100;
  display: none;
}

/*************** dialog ***************/

.layui-layer-shade {
  opacity: 0 !important;
}

.layui-layer.layui-layer-dialog {
  border-radius: 4px;
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.15);
}

/* .law_detail_box {
  max-height: calc(100vh / 3);
} */

.advice_box {
  margin: 15px 15px 0;
}

.advice_box textarea {
  height: 160px;
  font-size: 14px;
  resize: none;
  border: 0px;
}

.legal-detail-open .layui-layer-content{
  max-height: calc(66vh - 43px - 12px);
}

/*************** scroll ***************/

/* ::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 5px;
} */

.layui-input,
.layui-select {
  height: 36px;
}

.layui-form-label {
  padding: 8px 15px 8px 0px;
}

/* layui-input */

.layui-input.fs12::placeholder {
  font-size: 12px;
  font-weight: 400;
  color: #757575;
}
.layui-input.fs12::-webkit-input-placeholder {
  font-size: 12px;
  font-weight: 400;
  color: #757575;
} /* WebKit, Blink, Edge */
.layui-input.fs12:-moz-placeholder {
  font-size: 12px;
  font-weight: 400;
  color: #757575;
} /* Mozilla Firefox 4 to 18 */
.layui-input.fs12::-moz-placeholder {
  font-size: 12px;
  font-weight: 400;
  color: #757575;
} /* Mozilla Firefox 19+ */
.layui-input.fs12:-ms-input-placeholder {
  font-size: 12px;
  font-weight: 400;
  color: #757575;
} /* Internet Explorer 10-11 */
.layui-input.fs12::-ms-input-placeholder {
  font-size: 12px;
  font-weight: 400;
  color: #757575;
} /* Microsoft Edge */

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-track {
  border-radius: 10px;
  background: rgba(255, 255, 255, 1);
}
.clearfix:after {
  content: ''; /*设置内容为空*/
  height: 0; /*高度为0*/
  line-height: 0; /*行高为0*/
  display: block; /*将文本转为块级元素*/
  visibility: hidden; /*将元素隐藏*/
  clear: both; /*清除浮动*/
}
.clearfix {
  zoom: 1; /*为了兼容IE*/
}