/* 公用样式 start*/
html,body {
  width: 100%;
}
html.gray{
  -webkit-filter: grayscale(100%); /* Chrome, Safari, Opera */
  filter: grayscale(100%);
}

body {
  font-size: 14px;
}

body,ol,ul,h1,h2,h3,h4,h5,h6,p,th,td,dl,dd,form,fieldset,legend,input,textarea,select {
  margin: 0;
  padding: 0
}

div {
  box-sizing: border-box;
}

a,a:hover {
  text-decoration: none;
  color: #555;
}

img {
  max-width: 100%;
}

b {
  display: block;
}

.float_box:after {
  content: '';
  clear: both;
  display: block;
}

/*包含以下五种的链接*/
a {
  text-decoration: none;
}

/*正常的未被访问过的链接*/
a:link {
  text-decoration: none;
}

/*已经访问过的链接*/
a:visited {
  text-decoration: none;
}

/*鼠标划过(停留)的链接*/
a:hover {
  text-decoration: none;
}

/* 正在点击的链接，鼠标在元素上按下还没有松开*/
a:active {
  text-decoration: none;
}

/* 获得焦点的时候 鼠标松开时显示的颜色*/
a:focus {
  text-decoration: none;
}

.text-blue {
  color: #4895fb;
}

.text-yellow {
  color: #FFC107;
}

.text-orange {
  color: #FF5722;
}

.text-red {
  color: #ea2e2d;
}

/* 公用样式 end*/

/* 导航栏 start*/
.navbox {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #f2f2f2;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  background-color: #fff;
  height: 40px;
}

.navbox .navtxt {
  width: 32%;
  text-align: center;
  padding: 5px 0;
  color: #999999;
  font-size: 16px;
}

.navbox .navactive {
  color: #016eff;
  border-bottom: 2px solid #016eff;
}

/* 导航栏 end*/
.container {
  width: 95%;
  margin: 0 auto;
  height: calc(100vh - 80px);
  overflow: scroll;
  margin-top: 50px;
}
.web_bot{
  height: 40px;
  font-size: 14px;
  text-align: center;
  line-height: 30px;
}

/* 首页事件列表 start*/
.mqtt_list {
  position: relative;
  background-color: #f8f8f8;
  margin-bottom: 10px;
}

.mqtt_list .index_event_main {
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  border-radius: 10px;
  padding: 10px 0;
}

.mqtt_list .index_event_main .left {
  display: flex;
  align-items: center;
  max-width: 90%;
}

.mqtt_list .index_event_main .left .event_icon {
  width: 60px;
}

.mqtt_list .index_event_main .left .event_con {
  display: flex;
  flex-direction: column;
  margin-bottom: 7px;
}

.mqtt_list .index_event_main .left .event_con .title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}

.mqtt_list .index_event_main .left .event_con .btntxt {
  display: flex;
  white-space: nowrap;
}

.mqtt_list .index_event_main .left .event_con .btntxt .eq_classfiy {
  /*border-right: 1px solid #e9e9e9;*/
  margin-right: 20px;
}

.mqtt_list .index_event_main .left .event_con .btntxt .eq_time {
}

.mqtt_list .index_event_main .more {
  height: inherit;
  width: 20px;
  /* margin: 10px 0; */
  position: absolute;
  right: 10px;
  top: 20px;
}

/* 首页事件列表 end*/
/* 首页事件列表展开 start*/
.index_event_list {
  border: 1px solid #b9b9b9;
  margin-top: 5px;
  border-radius: 5px;
}

.index_event_list .header {
  color: #4c4c4c;
  font-size: 14px;
  clear: both;
  border-bottom: 1px solid #b9b9b9;
}

.index_event_list .header div {
  text-align: center;
  float: left;
  padding: 7px 0;
}

.index_event_list .header div:nth-of-type(1) {
  width: 30%;
}

.index_event_list .header div:nth-of-type(2) {
  width: 30%;
  border-left: 1px solid #b9b9b9;
  border-right: 1px solid #b9b9b9;
}

.index_event_list .header div:nth-of-type(3) {
  width: 40%;
}

.index_event_list .body {
  clear: both;
}

.index_event_list .body .event_item {
  clear: both;
  display: block;
  border-bottom: 1px solid #b9b9b9;
}

.index_event_list .body .event_item:last-child {
  border: none;
}

.index_event_list .body .event_item:after {
}

.index_event_list .body .event_item div {
  float: left;
  text-align: center;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.index_event_list .body .event_item div:nth-of-type(1) {
  width: 30%;
  font-size: 14px;
}

.index_event_list .body .event_item div:nth-of-type(2) {
  width: 30%;
  font-size: 14px;
  border-right: 1px solid #b9b9b9;
  border-left: 1px solid #b9b9b9;
}

.index_event_list .body .event_item div:nth-of-type(3) {
  width: 40%;
  font-size: 14px;
  text-align: left;
  padding-left: 8px;
  padding-right: 8px;
  text-align: justify;
  font-size: 12px;
}

/* 首页事件列表展开 end*/
.cur_event_title {
  font-size: 21px;
  font-weight: 600;
  margin: 10px 2%;
}

.map {
  width: 100%;
  height: 370px;
  background-color: #9bcffa;
  position: relative;
}
@media (min-height:800px)  {
  .map {
    height: 55vh;
  }
}

#map_container {
  height: 370px;
  position: relative;
}
@media (min-height:800px)  {
  #map_container {
    height: 55vh;
  }
}
/* 地图标注 start*/
.logobox {
  right: 20px;
  bottom: 10px;
  position: absolute;
  display: flex;
  z-index: 9999;
}

.logobox .tips {
  width: 210px;
  position: absolute;
  bottom: 7px;
  left: -231px;
}

.logobox .tips .tipsdetail {
  display: flex;
  flex-wrap: wrap;
  height: inherit;
  background-color: #3e94fd59;
  border-radius: 10px;
  padding: 5px;
  position: relative;
}

.logobox .tips .tipsdetail::after {
  content: '';
  position: absolute;
  border-left: 10px solid #3e94fd59;
  border-top: 6px solid #016fff00;
  border-bottom: 6px solid #016fff00;
  right: -10px;
  bottom: 10px;
}

.logobox .tips .limgbox {
  display: flex;
  align-items: center;
  width: 50%;
  font-size: 12px;
  color: white;
  height: inherit;
  margin: 5px 0;
}

.logobox .tips .limgbox>img {
  width: 17px;
  margin: 0 5px;
}

.residue_times {
  margin-top: 5px;
  padding: 6px 10px;
  text-align: center;
  background-color: #0c88e8;
  border-radius: 20px;
  color: #ffff;
  font-size: 10px;
}

.residue_times img {
  width: 19px;
  vertical-align: bottom;
  margin-right: 2px;
}

.residue_times span {
  background: #e52626;
  margin: 0 5px;
  padding: 0 5px;
  border-radius: 5px;
}

/*两个小按钮*/
.logobox .clickbox {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 10px;
  overflow: hidden;
}

.logobox .clickbox .lclick {
  display: flex;
  flex-direction: column;
  font-size: 10px;
  justify-content: center;
  align-items: center;
  background-color: #ffffffa8;
  padding: 5px;
  color: #006eff;
  text-decoration: none;
  font-weight: 300;
}
.logobox .clickbox>a:after{
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  margin-top: 9px;
  background-color: #d1e2f9;
}

.logobox .clickbox .lclick>img {
  width: 22px;
  margin-bottom: 5px;
}

.logobox .clickbox .lclick>p {
}

/* 地图标注 end */
/* 当前事件 start*/
.warning_site{

  position: absolute;

  top: 7px;

  left: 3%;

  color: #fff;

  background-color: #006eff80;

  padding: 0 7px;

  border-radius: 2px;

  z-index: 999;

  display: inline-block;
}
.local_warning {
  position: absolute;
  top: 33px;
  left: 3%;
  width: 94%;
  background-color: #fff;
  padding: 12px 7px 5px 7px;
  border-radius: 7px;
  z-index: 999;
  display: flex;
  justify-content: space-between;
}

.local_warning .lw_left {
  display: inline-block;
  font-size: 12px;
  vertical-align: top;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.local_warning .lw_left div:nth-of-type(1):before {
  content: '';
  width: 12px;
  height: 12px;
  background-color: #297af3;
  display: inline-block;
  border-radius: 6px;
  box-sizing: border-box;
  border: 2px solid #e7e7e7;
  margin-right: 5px;
}

.local_warning .lw_left div:nth-of-type(3):before {
  content: '';
  width: 12px;
  height: 12px;
  background-color: #f72c2c;
  display: inline-block;
  border-radius: 6px;
  box-sizing: border-box;
  border: 2px solid #e7e7e7;
  margin-right: 5px;
}

.local_warning .lw_left div:nth-of-type(1) {
}

.local_warning .lw_left div:nth-of-type(2) {
  padding-left: 10px;
  color: #777;
  font-size: 10px;
  flex-grow: 1;
  border-left: 1px dashed #c3c0c0;
  margin-left: 5px;
  display: flex;
  align-items: center;
}

.local_warning .lw_right {
  display: inline-block;
  text-align: right;
  float: right;
}

.local_warning .lw_right .lw_item {
  display: inline-block;
  margin-left: 1px;
  font-size: 16px;
  text-align: center;
  background-color: #413b93;
  color: #fff;
  width: 60px;
  height: 50px;
  vertical-align: top;
  border-radius: 5px;
  padding-top: 3px;
}

.local_warning .lw_right .lw_item .blue {
  color: #3385ff;
}

.local_warning .lw_right .lw_item .yellow {
  color: #ffc107;
}

.local_warning .lw_right .lw_item .orange {
  color: #fa8722;
}

.local_warning .lw_right .lw_item .red {
  color: #ea2e2d;
}

.local_warning .lw_right .lw_warn_color {
  background-color: unset;
  padding-top: 0;
}

.local_warning .lw_right .lw_warn_color img {
  width: 60px;
  height: 50px;
}

.local_warning .lw_right .lw_warn_time {
  background-color: #e92e2d;
}

.local_warning .lw_right p {
  margin-top: 4px;
  font-size: 10px;
}

/* 当前事件 end*/
/* 事件列表 start */
.event_list {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  max-height: calc(100vh - 350px);
  /* min-height: calc(45vh); */
  background-color: white;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
  position: fixed;
  transition: all .4s;
  z-index: 999;
}
@media (min-height:800px)  {
  .event_list{
    height: 45vh;
  }
}
.slide_low {
  max-height: calc(100vh - 370px);
}
@media (min-height:800px)  {
  .slide_low{
    height: 50vh;
  }
}
.event_list .slide_bar {
  width: 60px;
  height: 6px;
  display: block;
  background-color: #ececec;
  margin: 10px auto 15px auto;
  border-radius: 5px;
}

.event_list .report, .event_list .warning {
  width: 98%;
  margin: 10px auto 10px auto;
  overflow: scroll;
  max-height: calc(100vh - 420px);
}
@media (min-height:800px)  {
  .event_list .report, .event_list .warning{
    max-height: calc(60vh - 40px);
  }
}
.event_list.slide_low .report, .event_list.slide_low .warning {
  height: calc(100vh - 440px);
}
@media (min-height:800px)  {
  .event_list.slide_low .report, .event_list.slide_low .warning {
    height: calc(45vh - 77px);
  }
}
.event_list .event_item {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  position: relative;
}

.event_list .event_item>.left {
  width: 103px;
  display: flex;
  padding-left: 23px;
}

.event_list .event_item .left .event_time{
  margin-top: 0px;
}
.event_list .event_item .left .event_time div {
  font-size: 12px;
  color: #999999;
}
.event_list .event_item .left .event_time div:nth-of-type(1){
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin-bottom: 6px;
}
.event_list .event_item .right {
  width: calc(100% - 117px);
  display: flex;
  flex-direction: column;
}
.event_list .event_item .right .txt3{
  display: flex;
  justify-content: space-between;
  font-size: 16px;
}
.event_list .event_item .right .txt3 b{
  font-weight: 500;
  width: calc(100% - 27px);
}
.event_list .event_item .right .event_title {
  font-size: 16px;
}

.event_list .event_item .right .event_icon {
  width: 12px;
  margin: 10px 0;
  position: relative;
  right: 7px;
  top: -5px;
}

.event_list .event_item .right .event_icon:before {
  content: '';
  width: 2px;
  height: 10px;
  background-color: #016eff;
  display: block;
  transform: rotate(45deg);
  position: absolute;
  right: 4px;
}

.event_list .event_item .right .event_icon:after {
  content: '';
  width: 2px;
  height: 10px;
  background-color: #016eff;
  display: block;
  transform: rotate(-45deg);
  position: absolute;
}

.warning .event_icon:before,.warning .event_icon:after {
  background-color: #8e8e8e !important;
}

.transform.event_icon:before {
  transform: rotate(-45deg) !important;
}

.transform.event_icon:after {
  transform: rotate(-135deg) !important;
}

.event_list .event_item .right .content {
  background-color: #fef5f6;
  border-radius: 10px;
  padding: 10px;
  padding-right: 0;
  margin-top: 10px;
}

.event_list .event_item .right .content .conline {
  display: flex;
  align-items: start;
  margin: 5px 0;
}
.event_list .event_item .right .content .conline .left{

  width: 76px;

  display: flex;

  align-items: center;
}
.event_list .event_item .right .content .conline .left img {
  width: 15px;
  height: 15px;
  margin: 0 1px;
  vertical-align: middle;
  bottom: -1px;
  position: relative;
}

.event_list .event_item .right .content .conline .left span {
  font-size: 12px;
  color: #666666;
}
.event_list .event_item .right .content .conline .right {
  font-size: 12px;
  color: #1f1f1f;
  font-weight: 700;
  width: calc(100% - 76px);
}
/*竖线样式*/
.event_list .event_item .span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid #fff;
  top: 3px;
  background-color: #fff;
  width: 16px;
  height: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.event_list .event_item .span:after{
  display:inline-block;
  content: '';
  background-color: #fff;
  width: 8px !important;
  height: 8px !important;
  border: 1px solid #ea2e2d;
  border-radius: 50%;
}
.event_list .event_item .span.choose{
  border: 1px solid #ea2e2d;
}
.event_list .event_item .span.choose:after{
  background-color: #ea2e2d;
}
.event_list .event_item .line {
  position: absolute;
  background-color: #adcefa;
  left: 7.5px !important;
  top: 18px !important;
  width: 1px !important;
  height: 100% !important;
}

.event_list .event_item:last-child .line {
  display: none;
}

.event_list .warning .event_item .line {
  background-color: #ffc2c1;
}

/* 事件列表 end */
/* 区域预警列表 start*/
.city_warning_title {
  font-size: 21px;
  font-weight: 600;
  padding: 10px 15px;
}

.city_warning_list {
  display: flex;
  flex-direction: column;
  padding: 10px 15px;
}

.city_item {
  background-color: #f2f2f2;
  border-radius: 10px;
  margin: 5px 0;
}

.city_item .top {
  padding: 8px 15px;
  display: flex;
  justify-content: space-between;
  background-color: #adadad;
  color: white;
  border-radius: 10px 10px 0 0;
  align-items: baseline;
  font-weight: 300;
}

.city_item .top.blue {
  background-color: #4895fb;
}

.city_item .top.yellow {
  background-color: #FFC107;
}

.city_item .top.orange {
  background-color: #FF5722;
}

.city_item .top.red {
  background-color: #ea2e2d;
}

.city_item .top .city {
  font-size: 16px;
}

.city_item .top .level {
  font-size: 14px;
}

.city_item .info {
  padding: 20px 0;
  display: flex;
  justify-content: center;
}

.city_item .lbox {
  display: flex;
  flex-direction: column;
  width: 33%;
  justify-content: center;
  align-items: center;
}

.city_item .lbox:nth-of-type(2) div:nth-of-type(1) {
  color: #ea2e2d;
}

.city_item .lbox div:nth-of-type(1) {
  color: #000000;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.city_item .lbox div:nth-of-type(2) {
  font-size: 12px;
  font-weight: 300;
  color: #666666;
}

/* 区域预警列表 end*/
