p {
    display: block;
    padding: 20px 0;
}

.container {
    width: 80%;
    max-width: 1200px;
}

.tip {
    color: #aaaaaa;
}

.wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.wrap .dir {
    position: absolute;
    top: 100px;
    z-index: 1;
    font-size: 60px;
    cursor: pointer;
    color: rgba(204, 204, 204, 0.2);
}

.wrap .dir:hover {
    color: rgba(204, 204, 204, 1);
}

.wrap .dir:first-child {
    left: 30px;
}

.wrap .dir:last-child {
    right: 30px;
}

.wrap_content {
    position: relative;
    left: 0;
    -webkit-transition: left ease 0.5s 0s;
    -moz-transition: left ease 0.5s 0s;
    -ms-transition: left ease 0.5s 0s;
    -o-transition: left ease 0.5s 0s;
    transition: left ease 0.5s 0s;
}

.wrap_content > div {
    float: left;
    width: 100%;
    /*min-height: 300px;*/
}

.wrap_content img {
    width: 100%;
    height: 100%;
}

.content {
    display: inline-block;
    width: 100%;
    padding: 0;
    border: none;
    line-height: 30px;
    font-size: 15px;
    background: transparent;
    box-shadow: none;
}
.back_home {
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 34px;
}

.back_home * {
    color: #333 !important;
}


.template_body{
    display: inline-block;
    margin: 24px;
    padding: 10px 10px 2px 10px;
    border: 1px solid #ececec;
    background: #ffffff;
}

.template {
    display: inline-block;
    width: 290px;
    height: 400px;
    font-size: 20px;
    background: #ffffff;
    box-shadow: 0 1px 10px rgba(0, 0, 0, .15);
}

.template div {
    width: 100%;
}

.template .top {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.template .top img {
    width: 100%;
    height: 100%;
    transition: transform ease 0.5s 0s;
}

.template .top:hover img,
.template .top:focus img {
    transform: scale(1.1);
}

.template .img_cover {
    position: absolute;
    bottom: 0;
    display: block;
    height: 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    -webkit-transition: height .2s ease 0s;
    -moz-transition: height .2s ease 0s;
    -ms-transition: height .2s ease 0s;
    -o-transition: height .2s ease 0s;
    transition: height .2s ease 0s;
}

.template .top:hover .img_cover,
.template .top:focus .img_cover,
.template .img_cover:hover {
    height: 400px;
}

@media (max-width: 480px) {
    .template {
        width: 220px;
        height: 300px;
    }

    .template .top {
        height: 300px;
    }

    .template .top:hover .img_cover,
    .template .top:focus .img_cover,
    .template .img_cover:hover {
        height: 300px;
    }
}

.template .img_cover button,
.template .img_cover a{
    display: block;
    width: 200px;
    margin: auto;
    font-size: 16px;
    color: #ffffff;
}

.template .img_cover button:first-child {
    margin-top: 110px;
}

.template .img_cover button:last-child {
    margin-top: 50px;
}

.template .img_cover a{
    margin-top: 180px;
}

.template .mid {
    height: 80px;
    padding: 10px;
    border-top: 1px solid #dddddd;
}

.template .bottom {
    height: 50px;
    padding: 10px;
    border-top: 1px solid #dddddd;
}

.template .bottom label {
    margin: 0 15px;
    cursor: pointer;
    color: #aaaaaa;
}

.template .bottom label:hover {
    color: #31a5d8;
}

.template .bottom label.selected {
    color: #e96c43;
}

.link_preview,
.link_now {
    display: block;
    width: 200px;
    margin: auto;
    padding: 10px 20px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 2px;
    font-size: 20px;
    text-align: center;
    color: #ffffff;
}

.link_now {
    border: 1px solid #27a4de;
    background: #27a4de;
}

.link_now:hover {
    background: #2394c8;
}

.link_now:active {
    background: #1a6f96;
}

.link_now.over,
.link_now.over:hover,
.link_now.over:active {
    cursor: not-allowed;
    border: 1px solid #cccccc;
    background: #cccccc;
}

.link_preview {
    border: 1px solid #27a4de;
    background-color: transparent;
    color: #27a4de !important;
}

.link_preview:hover {
    background: rgb(255, 255, 255);
}

.link_preview:active {
    background: rgb(255, 255, 255);
}

.block {
    display: inline-block;
    width: 320px;
    height: 450px;
    margin: 30px 20px;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .block {
        margin: 30px 0;
    }
}

@media (max-width: 768px) {
    .block {
        width: 250px;
    }
}

.block_img {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .15);
}

.template_img1 {
    background-image: url(mid_autumn1.jpg);
}

.template_img2 {
    background-image: url(mid_autumn2.jpg);
}

.template_img3 {
    background-image: url(mid_autumn3.jpg);
}

@media (max-width: 768px) {
    .block_img {
        height: 300px;
    }
}

.tip_pc, .tip_mobile {
    display: none;
}

@media (min-width: 769px) {
    .tip_pc {
        display: block;
    }
}

@media (max-width: 768px) {
    .tip_mobile {
        display: block;
    }
}

@media (max-width: 1280px) {
    .template_body {
    display: inline-block;
    margin: 12px;
    padding: 10px 10px 2px 10px;
    border: 1px solid #ececec;
    background: #fff;
}
}