.standard-main, .science-main, .programmer-main {
  background-color: #f1f1f1;
  margin: 0 auto;
  box-shadow: 0px 0px 15px #4d4d4d;
}

ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

li {
  float: left;
  text-align: center;
  cursor: pointer;
}

li img {
  height: 14px;
}

.title {
  padding: 5px 0;
  height: 30px;
  line-height: 30px;
}

.result {
  height: 140px;
  text-align: right;
  width: 100%;
}

.res_out {
  width: 335px;
  margin: 0 5px;
  height: 48px;
  overflow: hidden;
}

.second {
  font-size: 42px;
  font-weight: bold;
  overflow-y: auto;
  white-space: nowrap;
  text-align: right;
}

.pre {
  color: #A7A7A7;
  padding: 0 20px;
  font-size: 16px;
  height: 24px;
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 99;
}

.pre .pre_left {
  width: 16px;
  text-align: center;
  line-height: 20px;
  height: 24px;
  position: absolute;
  z-index: 101;
  left: 0;
  top: 0;
  font-weight: 600;
  cursor: pointer;
  background: #f1f1f1;
}

.pre .pre_right {
  width: 16px;
  text-align: center;
  line-height: 20px;
  height: 24px;
  position: absolute;
  z-index: 101;
  right: 0;
  top: 0;
  font-weight: 600;
  cursor: pointer;
  background: #f1f1f1;
}

.pre .pre_content {
  text-align: right;
  height: 24px;
  line-height: 24px;
  white-space: nowrap;
  overflow-y: auto;
  overflow-x: hidden;
}

.pre_left:hover, .pre_right:hover {
  color: #1853d1;
  background: #9b9b9b;
}

/*计算器类型*/

.type {
  height: auto;
  text-align: left;
  font-weight: bold;
  margin: 10px 0 20px 10px;
  font-size: 22px;
}

/*类型选择侧边栏*/

.type-bar {
  display: none;
  height: 90px;
  width: 100px;
  position: absolute;
  top: 110px;
  background-color: #E6E6E6;
}

.type-bar li {
  float: left;
  width: 100px;
  text-align: center;
  line-height: 30px;
}

.active {
  background-color: #CFCFCF;
}

/*数字加粗*/

.number {
  font-weight: bold;
  border: 1px solid #fff !important;
  background: #fff !important;
}

.number:hover {
  border: 1px solid #f1f1f1 !important;
  background: #c6c6c6 !important;
}

.operator:hover {
  border: 1px solid #f1f1f1 !important;
  background: #82bceb !important;
  color: #fff;
}

.letter {
  font-size: 16px;
}

/*共用部分结束*/

/*计算器标准版界面开始*/

.standard-main {
  width: 345px;
  height: 460px;
}

#std-num-symbol {
  height: 270px;
  font-size: 20px;
}

#std-num-symbol li {
  line-height: 48px;
  width: 80px;
  margin: 5px 0 0 5px;
  background: #dedede;
  border: 1px solid #dedede;
}

#std-num-symbol li:hover {
  background: #c6c6c6;
  border: 1px solid #f1f1f1;
}

/*标准界面结束*/