/* 台风 */
/**
 * @FileName: variable
 * @Author: wenq
 * @Explain: 变量
 * @Time: 2014-12-29
 */
/* ------ 字体变量 ------ */
/* 宋体 */
/* 微软雅黑 */
/**
 * @FileName: transform scale
 * 
 * @Author: wenq
 *
 * @Explain: 2D缩放
 */
/*
.scale(@x,@args)when(@args=one){
	-webkit-transform: scale(@x);
	-moz-transform: scale(@x);
	-ms-transform: scale(@x);
	-o-transform: scale(@x);
	transform: scale(@x);
};
.scale(@x,@y,@args)when(@args=two){
	-webkit-transform: scale(@x,@y);
	-moz-transform: scale(@x,@y);
	-ms-transform: scale(@x,@y);
	-o-transform: scale(@x,@y);
	transform: scale(@x,@y);
};
*/
/**
 * FileName: mixin
 * @Author: wenq
 * @Explain: 混合使用
 */
/**
 * @FileName: transition
 * 
 * @Author: wenq
 *
 * @Explain: 过渡效果
 */
/* --- @transition
 ------------------------------------------------------------------------------ */
/* 图片信息单元 */
.u-img {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  text-align: center;
  width: 155px;
  height: 100px;
  overflow: hidden;
}
.u-img span {
  position: relative;
  margin-top: -30px;
  height: 30px;
  line-height: 30px;
  overflow: hidden;
  display: block;
  background: url(/static/images/bg-alpha/black_50.png);
  color: #fff;
}
.u-img img {
  width: 100%;
  height: 100%;
  -webkit-transform: scale(1, 1);
  -moz-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  -o-transform: scale(1, 1);
  transform: scale(1, 1);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.u-img:hover img {
  -webkit-transform: scale(1.1, 1.1);
  -moz-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
  -o-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
}
.u-img2 {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  text-align: center;
  width: 155px;
  overflow: hidden;
}
.u-img2 span {
  height: 30px;
  line-height: 30px;
  overflow: hidden;
  display: block;
}
.u-img2 img {
  width: 100%;
  height: 100px;
  -webkit-transform: scale(1, 1);
  -moz-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  -o-transform: scale(1, 1);
  transform: scale(1, 1);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.u-img2:hover img {
  -webkit-transform: scale(1.1, 1.1);
  -moz-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
  -o-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
}
/* 台风信息面板 */
.m-typhooninfo {
	width:250px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  background: white;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 5px;
  position: absolute;
  top: 10px;
  left: 10px;
}
.m-typhooninfo-hd {
  background: #2E6DD7;
  text-align: center;
  padding: 10px;
}
.m-typhooninfo-bd {
  padding: 5px;
}
.m-typhooninfo-bd table {
  width: 100%;
}
.m-typhooninfo-bd td {
  padding: 5px 10px;
}
/* 按钮 */
.menu {
  padding-right: 10px;
  vertical-align: top;
  position: relative;
}
.menu:hover .menu-list {
  display: block;
}
.menu:hover .menu-title i {
  border-bottom: 5px solid white;
  border-top: none;
}
.menu-title {
  color: white;
  cursor: pointer;
}
.menu-title span,
.menu-title i {
  display: inline-block;
  vertical-align: middle;
}
.menu-title span {
  font-size: 16px;
  font-weight: bold;
}
.menu-title i {
  font: 0/0 arial;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid white;
  border-bottom: none;
}
.menu-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 70px;
  z-index: 1000;
  width: 80px;
  max-height: 300px;
  overflow: auto;
  text-align: center;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}
.menu-list li {
  line-height: 22px;
  color: #333;
  cursor: pointer;
}
.menu-list li:hover {
  background: #aac6f4;
}
/* icon */
.ico-20-search {
  background: url(/static/images/ico-20-search.png) center center no-repeat;
}
/* 搜索栏 */
.m-mapsearch {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  font-size: 14px;
  background: white;
  border: 1px solid #ccc\9;
  /* ie8 以下 */
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);
}
.m-mapsearch label,
.m-mapsearch button {
  vertical-align: top;
}
.m-mapsearch label {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}
.m-mapsearch button {
  margin: 0;
  cursor: pointer;
  padding: 5px;
  height: 180px;
  line-height: 170px;
  border: 0;
  border-left: 1px solid #ccc;
  background-color: #dfdfdf;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#dfdfdf));
  background-image: -webkit-linear-gradient(top, #ffffff, #dfdfdf);
  background-image: -moz-linear-gradient(top, #ffffff, #dfdfdf);
  background-image: -o-linear-gradient(top, #ffffff, #dfdfdf);
  background-image: -ms-linear-gradient(top, #ffffff, #dfdfdf);
  background-image: linear-gradient(top, #ffffff, #dfdfdf);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffffff, endColorstr=#ffdfdfdf, GradientType=0);
}
.m-mapsearch button:hover {
  background-color: #ffffff;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#dfdfdf), to(#ffffff));
  background-image: -webkit-linear-gradient(top, #dfdfdf, #ffffff);
  background-image: -moz-linear-gradient(top, #dfdfdf, #ffffff);
  background-image: -o-linear-gradient(top, #dfdfdf, #ffffff);
  background-image: -ms-linear-gradient(top, #dfdfdf, #ffffff);
  background-image: linear-gradient(top, #dfdfdf, #ffffff);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffdfdfdf, endColorstr=#ffffffff, GradientType=0);
}
.m-mapsearch button i {
  vertical-align: top;
}
.m-mapsearch input,
.m-mapsearch .tips {
  line-height: 170px;
  padding: 5px 10px;
}
.m-mapsearch .tips {
  position: absolute;
  color: #666;
  top: 0;
  left: 0;
}
.m-mapsearch input {
  border: 0;
  background: none;
  outline: none;
  width: 180px;
}
.m-mapsearch ul {
  display: none;
  position: absolute;
  top: 181px;
  left: -1px;
  border: 1px solid #a5a5a5;
  background: white;
}
.m-mapsearch li {
  padding: 5px 10px;
  width: 180px;
  line-height: 18px;
  cursor: pointer;
}
.m-mapsearch li b {
  font-size: 13px;
  margin-right: 10px;
}
.m-mapsearch li span {
  color: #999;
}
.m-mapsearch li:hover {
  background: #f2f2f2;
}
/* 弹出框 */
.m-map-loadpop {
  padding: 5px 10px 5px 5px;
}
.m-map-minpop {
  line-height: 26px;
  padding: 0 5px;
  overflow: hidden;
  white-space: nowrap;
}
.m-map-minpop .img-weather {
  height: 36px;
  width: 36px;
  margin-top: -5px;
  margin-bottom: -5px;
  vertical-align: middle!important;
}
.m-map-minpop .img-warn {
  height: 24px;
  width: 24px;
  vertical-align: middle!important;
}
.m-map-maxpop {
  width: 300px;
  overflow: hidden;
}
.m-map-maxpop .site {
  padding: 10px;
  border-bottom: 1px solid #ccc;
}
.m-map-maxpop .actual {
  overflow: hidden;
  _zoom: 1;
}
.m-map-maxpop .actual .img {
  width: 60%;
  text-align: center;
  float: left;
}
.m-map-maxpop .actual img {
  height: 90px;
  width: 90px;
}
.m-map-maxpop .actual .temp {
  font-size: 30px;
  font-weight: bold;
  font-family: "\5FAE\8F6F\96C5\9ED1";
}
.m-map-maxpop .actual .temp sup {
  font-size: 14px;
  font-weight: normal;
}
.m-map-maxpop .aqi-pm {
  padding: 15px 0;
  text-align: center;
  border-bottom: 1px dotted #d5e3fa;
}
/* icon */
.ico-20-location {
  background: url(/static/images/ico-20-location.png) center center no-repeat;
}
.ico-20-loading {
  background: url(/static/images/020.gif) center center no-repeat;
}
/* map */
.m-map {
  height: 510px;
  position: relative;
}
.m-map2 {
  height: 100%;
  width: 100%;
  position: absolute;
}
/* 地图容器 */
.m-map-bd {
  height: 100%;
  z-index: 0;
  position: relative;
}
/* 工具栏 */
.m-maptools {
  border: 1px solid #ccc\9;
  /* ie8 以下 */
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);
  background: white;
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 10px;
  border-radius: 3px;
}
.m-maptools .line {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  width: 1px;
  background: #e2e2e2;
  margin-left: 5px;
  margin-right: 5px;
  height: 12px;
  vertical-align: middle;
}
.m-maptools-layers .btn:hover {
  color: #333;
}
.m-maptools-layers .dropdown-menu i {
  background-position: 20px center;
}
.m-maptools-ningbo,
.m-maptools-user,
.m-maptools-link {
  vertical-align: middle;
  cursor: pointer;
}
.m-maptools-ningbo:hover,
.m-maptools-user:hover,
.m-maptools-link:hover {
  text-decoration: none;
}
/* ico*/
.ico-48-tv {
  background-position: center -230px;
}
.ico-48-xlwb {
  background-position: center -92px;
}
.ico-48-txwb {
  background-position: center -138px;
}
.ico-48-weixin {
  background-position: center -184px;
}
.ico-48-phone {
  background-position: center -46px;
}
.ico-48-massge {
  background-position: center 0px;
}
/* 布局 */
.g-in {
  width: 1000px;
  margin: 0 auto;
}
.g-left {
  width: 667px;
  float: left;
}
.g-right {
  margin-left: 682px;
}
/*台风防御指南*/
.tffy {
  height: 170px;
}
/* 信息发布渠道 */
.qudao {
  height: 170px;
  overflow: hidden;
}
.qudao a {
  width: 33.3%;
  margin-top: 10px;
  text-align: center;
  float: left;
}
.qudao a i {
  background-image: url(/static/images/ico-fbqd-01.png);
  background-repeat: no-repeat;
  vertical-align: top;
}
.qudao a span {
  height: 22px;
  line-height: 22px;
  overflow: hidden;
  text-align: center;
  display: block;
}
.qudao a:hover {
  color: #2a81bf;
  text-decoration: none;
}
.qudao a:hover .ico-48-tv {
  background-position: center -550px;
}
.qudao a:hover .ico-48-xlwb {
  background-position: center -389px;
}
.qudao a:hover .ico-48-txwb {
  background-position: center -443px;
}
.qudao a:hover .ico-48-weixin {
  background-position: center -496px;
}
.qudao a:hover .ico-48-phone {
  background-position: center -334px;
}
.qudao a:hover .ico-48-massge {
  background-position: center -279px;
}
/* 文字链接 */
.m-list {
  padding: 15px;
  overflow: hidden;
}
.m-list li {
  width: 50%;
  overflow: hidden;
  float: left;
}
.m-list li a {
  background: url(/static/images/item-bg.gif) no-repeat left center;
  padding-left: 10px;
  padding-right: 10px;
  height: 28px;
  line-height: 28px;
  overflow: hidden;
  display: block;
}
/* 图片链接 */
.banners {
  white-space: nowrap;
  overflow: hidden;
  font-size: 0;
}
.banners a {
  display: inline-block;
  margin-right: 15px;
}
.banners a img {
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.banners a:hover img {
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}
/* 科普 */
.imgs {
  padding-left: 15px;
  padding-top: 10px;
  white-space: nowrap;
  overflow: hidden;
  font-size: 0;
  /* 防止空格 */
  *zoom: 1;
}
.imgs .u-img2 {
  font-size: 13px;
  white-space: normal;
  width: 145px;
  margin-right: 20px;
}
.imgs .u-img2 img {
  height: 100px;
}
.map_norain {
    position: absolute;
    top: 200px;
    left: 270px;
}
