/* 此文件全部为全局组件样式, 如, 标签tag, 时间轴time-axis等等 */
/* 原生元素修改 */
input[type=text]:focus {
  border-color: #66afe9;
  outline: 0;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(102 175 233 / 60%);
}

.position-r {
  position: relative;
}

.position-a {
  position: absolute;
}

/* 页面尾部增加高度 */
.tail-high {
  height: 70px;
  width: 100%;
}

.form-inline-right .form-group {
  margin-right: 15px;
}

/* 上下居中 */
.centering {
  /* position: relative; */
  /* top: 50%; */
  /* transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%); */
}

/* 漏出一部分的折叠收起块 */
.leak-collapse {
  padding: 0 10px;
  overflow: hidden;
}

.leak-collapse.collapse {
  display: block !important;
}

/* 主色调 */
.text-theme {
  color: #ED1D35;
}

.text-link {
  color: #ED1D35;
}

.text-link:hover,
.text-link:active {
  color: #ED1D35;
  opacity: .8;
  border-bottom: 1px solid #ED1D35;
  cursor: pointer;
}

.back-theme {
  background-color: #ED1D35;
}

/* 白面板 */
.panel-wrapper {
  padding: 0 20px 20px;
  background-color: #FFFFFF;
}

/* 面板上下间隙 */
.panel-wrapper.interval {
  margin-bottom: 10px;
}

/* 面板使用内间距 */
.panel-wrapper.padding {
  padding: 20px;
}

/* 标题头 */
.panel-hader {
  width: 100%;
  overflow: hidden;
  padding: 15px 0;
  line-height: 1;
}

.panel-hader .title {
  padding-left: 15px;
  padding-right: 20px;
  position: relative;
  font-size: 16px;
  font-weight: bold;
  color: #000000;
  margin: 10px 0 0 0;
  float: left;
}

.panel-hader .panel-attach {
  float: right;
  overflow: hidden;
}

.panel-hader .title::after {
  position: absolute;
  top: 1px;
  left: 0;
  content: '';
  width: 5px;
  height: 15px;
  background: #ED1D35;
}

.panel-hader.hader-border-bottom {
  border-bottom: 1px solid #EAEAEA;
  margin-bottom: 10px;
}

/* tag标签 */
.tag-pills {
  width: 100%;
  overflow: hidden;
}

.tag-pills li {
  position: relative;
  padding: 5px 15px;
  float: left;
  border: 1px solid #DDDDDD;
  border-radius: 4px;
  background: #FFFFFF;
  cursor: pointer;
  margin-right: 10px;
}

.tag-pills .tag-active {
  background: rgba(237, 29, 53, 0.1);
  border: 1px solid #ED1D35;
  color: #ED1D35;
}

.tag-pills .tag-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  background-image: url(../../views/images/xuanzhong.png);
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}

/* 时间轴 */
.time-shaft-bar {
  border-left: 4px solid #ECECEC;
  padding-left: 15px;
}

.time-shaft-bar li {
  position: relative;
  color: #999999;
  padding-top: 15px;
}

.time-shaft-bar li::after {
  position: absolute;
  left: -26px;
  top: 15px;
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #ECECEC;
  border: 2px solid #ffffff;
}

.time-shaft-bar .time-shaft-header {
  font-size: 14px;
  line-height: 1;
}

.time-shaft-bar .time-shaft-header h1 {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
  color: #000000;
}

.time-shaft-bar .time-shaft-content {
  background: #F9F9F9;
  padding: 10px;
  margin-top: 17px;
}

.time-shaft-bar .shaft-newest {
  color: #000000 !important;
}

.time-shaft-bar .shaft-newest::after {
  background-color: #ED1D35 !important;
}

/* 模态框——提示小型模态框 */
.modal-hint .modal-dialog {
  width: 170px;
}

.modal-hint .modal-content {
  padding: 25px;
  text-align: center;
}

.modal-hint .modal-icon {
  width: 50px;
  height: 50px;
}

/* list */
.list-item-active {
  border: 2px solid #ED1D35 !important;
}

/* 页面布局 */
.layout-page {
  width: 100%;
  height: 100vh;
  position: relative;
  margin-top: calc(-70px + -30px);
  padding-top: calc(70px + 30px);
  overflow-y: auto;

}
.layout-page .layout-page-header {
  width: 100%;
  height: 92px;
  background: #FFFFFF;
  box-shadow: 0px 2px 11px 0px rgba(0,0,0,0.06);
  border-radius: 2px;
}
.layout-page .layout-page-content {
  background: #FFFFFF;
  box-shadow: 0px 2px 11px 0px rgba(0,0,0,0.06);
  border-radius: 8px;
  min-height: 200px;
  height: auto;
  width: 100%;
  padding-top: 40px;
  padding-bottom: 100px;
  margin: 0;
}
.layout-page .layout-page-footer{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 62px;
  line-height: 62px;
  background: #FFFFFF;
  padding: 0 10px;
  box-shadow: 1px -4px 12px #ccc;
}
.layout-page .layout-page-footer.btn-right {
  text-align: right;
}
.layout-page .layout-page-footer.btn-center {
  text-align: center;
}
.move-cursor {
  cursor: pointer;
}