@media only screen and (min-width: 320px) {
    html {
        font-size: 17px !important;
    }
}

@media only screen and (min-width: 350px) {
    html {
        font-size: 20px !important;
    }
}

@media only screen and (min-width: 400px) {
    html {
        font-size: 22px !important;
    }
}


@media only screen and (min-width: 800px) {
    html {
        font-size: 18px !important;
    }
}

@media only screen and (min-width: 1600px) {
    html {
        font-size: 20px !important;
    }
}

/* 公用 */
/* 背景颜色 */
.body_background {
    background-color: #eee;
}

.white_background {
    background-color: #fff;
}

/* 主要宽度 */
.general_wide {
    width: 100%;
    padding: 0 .75rem;
}

/* 字体颜色 */


.zt_red {
    color: #f2415c;
}

.zt_light_grey {
    color: #8590A6;
}

.zt_grey {
    color: #50535a;
}

.zt_black {
    color: #414141;
}

.zt_blue {
    color: #0d79db;
}

/* 背景颜色 */
.ty_grey {
    background-color: #999999;
}

.ty_blue_grey {
    background-color: #f0f1f6;
}

/* 渐变 */
.gradual_left_bottom {
    background: -webkit-linear-gradient(left bottom, #f2415c, #f6633c);
    background-color: #f2415c;
}

.gradual_red_jb {
    background: -webkit-linear-gradient(left bottom, #b90610, #f0050f);
    background-color: #f0050f;
}

.gradual_blue_jb {
    background: -webkit-linear-gradient(left bottom, #6795f5, #66b8f7);
    background-color: #6795f5;
}

/* 模糊 */
.vague {
    filter: blur(16px);
    -webkit-filter: blur(16px);
}

/* 旋转 */
.rotate_180 {
    transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);
    -o-transform: rotate(-180deg);
}

.rotate_45 {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}

/*-------------------------------------------------------------------------------------- */

/*通用*/

html {
    font-size: 20px;
}

body,
div,
ul,
ol,
li,
dl,
dt,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
form,
span,
input,
textarea,
p,
a {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, Tahoma, Arial, STHeiti, SimSun, Heiti, sans-serif;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
}

body {
    background-color: #fff;
    width: 100%;
}



html,
body,
div {
    margin: 0;
}

input {
    -webkit-appearance: none;
    appearance: none;
}

ul {
    list-style: none;
}

img,
a img {
    vertical-align: middle;
    border: none;
    margin: 0;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

i,
em {
    font-style: normal;
}

input,
button,
select,
textarea {
    outline: none
}

a,
button,
input,
label,
div {
    -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
}

/*防漂浮，撑开父类*/

.ty_Cancel_float:after {
    content: "";
    display: block;
    clear: both;
}

.ty_pr {
    position: relative;
}

.ty_pa {
    position: absolute;
}

.ty_w_100 {
    width: 100%;
}

.ty_h_100 {
    height: 100%;
}

.ty_ta_c {
    text-align: center;
}

.ty_ta_l {
    text-align: left;
}

.ty_ta_r {
    text-align: right;
}

.ty_ta_j {
    text-align: justify;
}

.ty_o_hidden {
    overflow: hidden;
}

.ty_o_auto {
    overflow: auto;
}

.ty_d_ib {
    display: inline-block;
}

.ty_d_n {
    display: none !important;
}

.ty_cu {
    cursor: pointer;
}

/*位置  */

.ty_zi_3 {
    z-index: 3;
}

/*动画时间*/

.ty_animation_time {
    transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
}

/* 文本居中 */

.ty_text_center {
    display: inline-block;
    vertical-align: middle;
}

/*单行文字剪切*/

.ty_restricted_single {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/*多行文字剪切  */

.ty_comment_inner {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/*a标签覆盖链接*/

.ty_lbli_tz {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    opacity: 0;
}

/*相对位置居中*/

.ty_absolute_center {
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

/* 垂直居中 */
.ty_absolute_middle {
    transform: translate(0%, -50%);
    -webkit-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
}

/*背景图片剧中自适应展示*/

.ty_avatar_universal {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: 1;
}

.ty_fw_b {
    font-weight: bold;
}

.ty_lh_54 {
    line-height: 54rpx;
    text-align: justify;
}

/* 隐藏元素 */
.ty_conceal {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* flex布局 */
/* 可换行 */

.ty_khh {
    flex-wrap: wrap;
}

/* 等分空间 */

.ty_fkj {
    flex-grow: 1;
}

/* 禁止缩小 */

.ty_xsx {
    flex-shrink: 0;
}

/*左右*/

.ty_about_array {
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
}

/*右*/

.ty_right_array {
    display: flex;
    display: -webkit-flex;
    justify-content: flex-end;
}

/*右倒叙*/

.ty_right_flash {
    display: flex;
    display: -webkit-flex;
    flex-direction: row-reverse;
}

/*左*/

.ty_left_array {
    display: flex;
    display: -webkit-flex;
}

/*左倒叙*/

.ty_left_flash {
    display: flex;
    display: -webkit-flex;
    justify-content: flex-end;
    flex-direction: row-reverse;
}

/*中*/

.ty_middle_array {
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    align-items: center;
}

/*上下*/

.ty_updown_array {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
}

/*上下顶  */

.ty_updown_arraytop {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    justify-content: space-between;
}

/*居中*/

.ty_middle_array {
    display: flex;
    display: -webkit-flex;
    justify-content: center;
}

/* 居中-居上-居下 */

.ty_jz {
    align-items: center;
    align-content: center;
}

.ty_js {
    align-items: flex-start;
    align-content: flex-start;
}

.ty_jx {
    align-items: flex-end;
    align-content: flex-end;
}