﻿/* 禁用iPhone中Safari的字号自动调整 */

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    height: 100%;
    font-family: "Microsoft YaHei", Helvetica, Arial, sans-serif;
    font-size: 100px;
}

body,
div,
dl,
dt,
dd,
menu,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
input,
button,
textarea,
p,
th,
td,
hr {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-font-smoothing: antialiased;
}

body {
    height: 100%;
    font-size: 0.28rem;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    margin: 0 auto;
    min-width: 320px;
    color: #666;
    background-color: #fff;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /*-webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;*/
}

    *:not(input, select, textArea) {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }

textarea, input, button {
    font-size: 0.28rem;
    font-family: "Microsoft YaHei", Helvetica, Arial, sans-serif;
}

figcaption,
figure,
footer,
header,
nav,
section,
summary {
    display: block;
    margin: 0;
    padding: 0;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

    video::-webkit-media-controls {
        display: none !important;
        /*隐藏默认播放器工具栏*/
    }

a {
    color: #666;
    background: transparent;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    /*设置的tap A标签的时候出现的黑色高亮*/
}

    a:active {
        outline: 0;
        background: none;
    }

    a:visited {
        text-decoration: none
    }

:focus {
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -moz-tap-highlight-color: rgba(0, 0, 0, 0);
    tap-highlight-color: rgba(0, 0, 0, 0)
}

em,
i,
var,
address {
    font-style: normal;
}

textarea {
    overflow: auto;
    resize: none;
    vertical-align: top;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    font-size: 100%;
}


/* 图片自适应 */

img {
    max-width: 100%;
    height: auto;
    width: auto\9;
    /* ie8 */
    -ms-interpolation-mode: bicubic;
    /*为了照顾ie图片缩放失真*/
    vertical-align: top;
}


/*自定义下拉菜单*/

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-border-radius: 0;
    background: url("../images/select.png") no-repeat right 0.1rem center/0.2rem auto;
    padding: 0 0.3rem 0 0.1rem;
}

/*谷歌记住密码后的默认样式*/
input:-webkit-autofill {
    -webkit-text-fill-color: #fff !important;
    transition: background-color 10000s ease-in-out 0s;
}

/*隐藏input数字框上下小箭头*/

input[type="date"]::-webkit-inner-spin-button {
    visibility: hidden !important;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
    border: none;
    background: transparent;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
}


/*隐藏清除按钮*/

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

button:active,
input[type="submit"]:active,
input[type="button"]:active {
    opacity: 0.8;
}

::-webkit-input-placeholder {
    /* WebKit browsers */
    color: #ccc;
}

:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #ccc;
}

::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #ccc;
}

:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    color: #ccc;
}

/*=====适配=====*/

@media only screen and (min-width: 320px) {
    html {
        font-size: 42.66666666666667px;
    }
}

@media only screen and (min-width: 360px) {
    html {
        font-size: 48px;
    }
}

@media only screen and (min-width: 375px) {
    html {
        font-size: 50px;
    }
}

@media only screen and (min-width: 400px) {
    html {
        font-size: 53.333333333333336px;
    }
}

@media only screen and (min-width: 414px) {
    html {
        font-size: 55.2px;
    }
}

@media only screen and (min-width: 480px) {
    html {
        font-size: 64px;
    }
}

@media only screen and (min-width: 540px) {
    html {
        font-size: 72px;
    }
}

@media only screen and (min-width: 600px) {
    html {
        font-size: 80px;
    }
}

@media only screen and (min-width: 640px) {
    html {
        font-size: 85.33333333333334px;
    }
}

@media only screen and (min-width: 720px) {
    html {
        font-size: 96px;
    }
}

@media only screen and (min-width: 750px) {
    html {
        font-size: 100px;
    }
}

@media only screen and (min-width: 800px) {
    html {
        font-size: 106.66666666666667px;
    }
}

@media only screen and (min-width: 960px) {
    html {
        font-size: 128px;
    }
}

@media only screen and (min-width: 1080px) {
    html {
        font-size: 144px;
    }
}

.hide {
    display: none;
}
/*ueditor_iframe里面的样式*/

iframe {
    position: absolute;
    right: 0%;
    border: 0;
    background: #fff;
}
/*vote*/
.vote_area {
    display: block;
}

.vote_iframe {
    height: 100%;
    width: 100% !important;
    *width: 96% !important;
}


/*qqmusic*/
.qqmusic_iframe {
    width: 100% !important;
    height: 75px;
}


/*audio*/
.audio_iframe {
    width: 100% !important;
    height: 75px;
}

/*video*/
.video_iframe {
    background-color: #000000;
    width: 100% !important;
    *width: 96% !important;
    position: static;
}

blockquote {
    margin: 0;
    padding-left: 10px;
    border-left: 3px solid #DBDBDB;
}

.blackfont {
    font-family: "宋体";
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.left {
    float: left;
}

.right {
    float: right;
}

.btn {
    width: 90%;
    background: #F53252;
    line-height: 16px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    color: #fff;
    box-shadow: 0 0 0 transparent;
    border: 0 !important;
}

    .btn.brown {
        background: #40210f;
    }

    .btn.gray {
        background: #e8e8e8;
        color: #000;
    }

    .btn.enabled {
        background: #ccc;
        color: #8d8d8d;
        pointer-events: none;
    }

    .btn.orange {
        background: #f75b08;
    }

    .btn.mini {
        width: 38%;
        height: 43px;
        font-size: 13px;
    }

    .btn.save {
        width: 50px;
        height: 23px;
        font-size: 13px;
        line-height: 0px;
        float: right;
        display: inline-table;
    }

.exception {
    width: 95%;
    height: auto;
    font-size: 12px;
    padding: 10px;
    border: 1px solid #000;
    margin: 20px auto;
}

    .exception .exception_log {
        display: block;
        color: #f00;
    }

.alpha {
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #000;
    opacity: 0.3;
    z-index: 8888;
}

.clear {
    clear: both;
    _clear: both
}

.noover {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tofocus {
    position: absolute;
    left: -1px;
    width: 1px;
    height: 1px;
    padding: 0;
}

.text_center {
    text-align: center;
}

.text-gradient {
    display: inline-block;
    color: #fff;
    background-image: -webkit-gradient(linear, 0 0, 0 bottom, from(rgb(255, 255, 255)), to(rgba(255, 255, 255, 0.28)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

input[type="radio"] + label::before, input[type="checkbox"] + label::before {
    content: "\a0";
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    width: 14px;
    height: 14px;
    margin-right: 5px;
    border-radius: 50%;
    border: 1px solid #CECECE;
    margin-top: -2px;
}

input[type="radio"]:checked + label::before, input[type="checkbox"]:checked + label::before {
    background-color: #F53252;
    border: 1px solid #F53252;
    background-clip: content-box;
    padding: 2px;
}

input[type="radio"], input[type="checkbox"] {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}

.layermbtn {
    color: #F53252 !important;
}

    .layermbtn span:first-child {
        color: #757575 !important;
    }

.layermcont {
    padding: 30px !important;
    font-size: 16px !important;
}

.layermbox0 .layermchild {
    min-width: 70% !important;
    margin-top: -60px !important;
}


.child-view {
    position: absolute;
    z-index: 100000000001;
    height: 100%;
    width: 100%;
    transition: all .5s cubic-bezier(.55,0,.1,1);
}

.slide-left-enter, .slide-right-leave-active {
    opacity: 0;
    -webkit-transform: translate(50px, 0);
    transform: translate(50px, 0);
}

.slide-left-leave-active, .slide-right-enter {
    opacity: 0;
    -webkit-transform: translate(-50px, 0);
    transform: translate(-50px, 0);
}
