﻿* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    overflow: hidden;
}

@font-face {
    font-family: 'HelveticaLTStd-Blk';
    src: url('../../fonts/HelveticaLTStd-Blk.otf') format('opentype');
}

@font-face {
    font-family: 'HelveticaLTStd-Roman';
    src: url('../../fonts/HelveticaLTStd-Roman.otf') format('opentype');
}

.cus-font1 {
    font-family: 'HelveticaLTStd-Roman';
}

@font-face {
    font-family: 'SourceHanSansCN-ExtraLight';
    src: url('../../fonts/SourceHanSansCN-ExtraLight.otf') format('opentype');
}

.cus-font2 {
    font-family: 'SourceHanSansCN-ExtraLight';
}

@font-face {
    font-family: 'SourceHanSansCN-Light';
    src: url('../../fonts/SourceHanSansCN-Light.otf') format('opentype');
}

.wrap {
    min-width: 320px;
    max-width: 640px;
    margin: auto;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.tran {
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.tranX {
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.tranY {
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.rel {
    position: relative;
}

.abs {
    position: absolute;
}

.fixed {
    position: fixed;
}

.w-img {
    width: 100%;
    vertical-align: middle;
    -webkit-user-select: none;
}

.cus-none {
    border: none;
    background: none;
    outline: none;
    border-radius: 0;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(255,255,255,0); /*选中时的阴影*/
}

.cus-btn {
    border: 1px solid red;
}

.cus-item {
    border: 1px solid red;
}

.cus-border {
    border: 1px solid red;
}


.cus-font {
    font-size: 100%;
}

@media only screen and (min-width: 321px) {
    .cus-font {
        font-size: 16px !important;
    }
}

@media only screen and (min-width: 376px) {
    .cus-font {
        font-size: 20px !important;
    }
}

@media only screen and (min-width: 641px) {
    .cus-font {
        font-size: 25px !important;
    }
}


.color-red {
    color: #ff0000;
}

.color1 {
    color: #797878;
}

.color2 {
    color: #5FB878;
}

.color3 {
    color: #FF5722;
}

.color4 {
    color: #009688;
}
