/* 横屏 */
@media (orientation: landscape) {
}

/*竖屏*/
@media (orientation: portrait) {
    #orientation {
        transform: rotate(0deg);
    }
}

/* 取消默认点击的背景色 */
* {
    box-sizing: border-box;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* 禁用iPhone中Safari的字号自动调整 */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    /* 解决IOS默认滑动很卡的情况 */
    -webkit-overflow-scrolling: touch;
}

/* 禁止缩放表单 */
input[type="submit"],
input[type="reset"],
input[type="button"],
input {
    resize: none;
    border: none;
    -webkit-appearance: none;
    outline: none;
    border-radius: 0;
}

/* 取消链接高亮  */
body,
div,
ul,
li,
ol,
h1,
h2,
h3,
h4,
h5,
h6,
input,
textarea,
select,
p,
dl,
dt,
dd,
a,
img,
button,
form,
table,
th,
tr,
td,
tbody,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* 设置HTML5元素为块 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

/* 图片自适应 */
img {
    width: 100%;
    height: auto;
    width: auto \9;
    /* ie8 */
    display: block;
    -ms-interpolation-mode: bicubic;
    /*为了照顾ie图片缩放失真*/
}

/* 初始化 */
body,
div,
ul,
li,
ol,
h1,
h2,
h3,
h4,
h5,
h6,
input,
textarea,
select,
p,
dl,
dt,
dd,
a,
img,
button,
form,
table,
th,
tr,
td,
tbody,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    margin: 0;
    padding: 0;
}

body {
    font-size: 0.24rem !important;
    font-family: 'PingFangSC-Regular', 'Microsoft YaHei', '宋体', Tahoma, Arial, sans-serif !important;
    color: #555;
    background-color: #fff;
    height: 100%;
}

html {
    height: 100%;
    -webkit-tap-highlight-color: transparent;
}

em,
i {
    font-style: normal;
}

ul,
li {
    list-style-type: none;
}

/*strong {
    font-weight: normal;
}*/

textarea {
    outline: none;
    resize: none;
}

a {
    text-decoration: none;
    color: #1a1a1a;
    font-family: 'Microsoft YaHei', Tahoma, Arial, sans-serif;
}

a:hover {
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-family: 'Microsoft YaHei';
}

img {
    border: none;
}

@font-face {
    font-family: "PingFangSC-Regular";
    src: url('/frontend/font/PingFang SC Regular.ttf');
}

@font-face {
    font-family: 'iconfont';
    src: url('/frontend/font/iconfont.eot');
    src: url('/frontend/font/iconfont.eot?#iefix') format('embedded-opentype'), url('/frontend/font/iconfont.woff') format('woff'), url('/frontend/font/iconfont.ttf') format('truetype'), url('/frontend/font/iconfont.svg#iconfont') format('svg');
}

/* 高德地图logo */
.amap-logo, .amap-copyright {
    display: none !important;
}
.amap-touch-toolbar .amap-zoomcontrol{
    bottom:0;
}
/*--end--*/

.iconfont {
    font-family: "iconfont" !important;
    font-size: 0.24rem;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
}

.ellipsis-1 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}

.ellipsis-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    word-break: break-all;
}

.tap {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.page {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    display: none;
    position: relative;
}

.page.active {
    display: block;
}
.hide{
    display:none;
}
/* toast 提示 */
.weui-toast {
    display: block;
    text-align: center;
    position: absolute;
    width: 3rem;
    height: 1rem;
    font-size: 0.35rem;
    left: 70%;
    top: 50%;
    margin: -0.5rem -1.5rem;
    z-index: 1000;
}