.rel {
    position: relative;
}

.abs {
    position: absolute;
}

/*行内元素，内联元素对齐方式*/
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}
.pointer {
    cursor: pointer;
}
/*定义布局为盒模型 */
.flex {
    display: -webkit-box;
    /* 老版本语法: Safari, iOS, Android browser, older WebKit browsers. */
    display: -moz-box;
    /* 老版本语法: Firefox (buggy) */
    display: -ms-flexbox;
    /* 混合版本语法: IE 10 */
    display: -webkit-flex;
    /* 新版本语法: Chrome 21+ */
    display: flex;
    /* 新版本语法: Opera 12.1, Firefox 22+ */
}
/*盒模型垂直布局*/
.flex-v {
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}
/*子元素占据剩余的空间*/
.flex-1 {
    -webkit-flex: 1;
    /* Chrome */
    -ms-flex: 1;
    /* IE 10 */
    flex: 1;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */
    -webkit-box-flex: 1;
    /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-flex: 1;
    /* OLD - Firefox 19- */
}
/*子元素垂直居中*/
.flex-align-center {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
/*子元素水平居中*/
.flex-pack-center {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}
/*子元素两端对齐*/
.flex-pack-justify {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

/* 容器类 */
.controller-full,
.controller {
    clear: both;
}

.controller-full:after,
.controller:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.controller-full {
    display: block;
    width: 100%;
    padding-left: 0.1rem;
    padding-right: 0.1rem;
    box-sizing: border-box;
}

.controller {
    display: block;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

@media screen and (min-width: 1px) and (max-width: 1290px) {
    .controller {
        padding-left: 0.66rem;
        padding-right: 0.66rem;
    }
}

@media screen and (min-width: 1291px) and (max-width: 1550px) {

    .controller {
        padding-left: 0.66rem;
        padding-right: 0.66rem;
    }
}
