﻿.banner {
    background-color: #4A61C2;
}

    .banner img {
        margin: 0 auto 20px;
        display: block;
        width: 1200px;
        height: 300px;
    }

.content-title {
    font-family: MicrosoftYaHei-Bold;
    font-size: 18px;
    color: #262626;
    letter-spacing: 0;
    text-align: center;
    margin: 0 0 5px;
}

.content-sub-title {
    font-family: MicrosoftYaHei;
    font-size: 12px;
    color: #999999;
    letter-spacing: 0;
    text-align: center;
    margin: 0 0 20px;
}
/* 赛事列表 */
.events {
    width: 1200px;
    margin: 0 auto 40px;
}

.event {
    width: 1200px;
    border: 1px solid #E6E6E6;
    margin: 0 0 20px;
    position: relative;
}

    .event .main {
        display: flex;
        padding: 21px 40px;
    }

    .event .img-box {
        width: 320px;
        height: 200px;
        margin: 0 40px 0 0;
        overflow: hidden;
    }

        .event .img-box img {
            display: block;
            min-width: 100%;
            min-height: 100%;
            transform: translate(-50%,-50%);
            position: relative;
            top: 50%;
            left: 50%;
        }

    .event .content {
        width: 760px;
    }

    .event .title {
        font-family: MicrosoftYaHei-Bold;
        font-size: 18px;
        color: #262626;
        letter-spacing: 0;
        text-align: justify;
        margin: 0 0 19px;
        height: 24px;
        overflow: hidden;
        text-overflow: ellipsis;
        cursor: pointer;
    }

        .event .title:hover {
            color: #4A61C2;
        }

    .event .desc {
        font-family: MicrosoftYaHei;
        font-size: 14px;
        color: #666666;
        letter-spacing: 0;
        text-align: justify;
        height: 76px;
        line-height: 19px;
        margin: 0 0 44px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
    }

.apply-time,
.event-time {
    font-family: MicrosoftYaHei;
    font-size: 12px;
    color: #666666;
    letter-spacing: 0;
    height: 19px;
}

    .apply-time span {
        color: #4a61c2;
    }

    .event-time span {
        color: #f7358d;
    }

.event .status {
    font-family: MicrosoftYaHei-Bold;
    font-size: 14px;
    color: #FFFFFF;
    letter-spacing: 0;
    text-align: center;
    background: #4A61C2;
    width: 120px;
    height: 40px;
    line-height: 40px;
    position: absolute;
    top: 0;
    right: 0;
}

    .event .status.disabled {
        background: #999999;
    }

.event .tags {
    position: absolute;
    right: 40px;
    bottom: 15px;
    display: flex;
}

.event .tag {
    font-family: MicrosoftYaHei;
    font-size: 12px;
    color: #4A61C2;
    letter-spacing: 0;
    text-align: center;
    background: #FFFFFF;
    border: 1px solid #4A61C2;
    height: 20px;
    line-height: 20px;
    border-radius: 20px;
    padding: 0 18px;
    margin: 0 0 0 10px;
}
/* 分页器 */
#bkPage {
    margin: 0 auto 40px;
}

/* 详情 */
.event-title {
    font-family: MicrosoftYaHei-Bold;
    font-size: 20px;
    color: #FFFFFF;
    letter-spacing: 0;
    background: #4A61C2;
    height: 80px;
    line-height: 80px;
    text-align: center;
    margin: 0 0 10px;
}

.tags {
    text-align: center;
    margin: 0 0 40px;
}

.tag {
    font-family: MicrosoftYaHei;
    font-size: 12px;
    color: #4A61C2;
    letter-spacing: 0;
    text-align: center;
    background: #FFFFFF;
    border: 1px solid #4A61C2;
    height: 20px;
    line-height: 20px;
    border-radius: 20px;
    padding: 0 18px;
    margin: 0 0 0 10px;
    display: inline-block;
}
/*  */
.box {
    padding: 20px 40px;
    width: 1160px;
    border: 1px solid #E6E6E6;
    margin: 0 auto 40px;
}

    .box img {
        display: block;
        width: 1160px;
    }

    .box .title {
        font-family: MicrosoftYaHei-Bold;
        font-size: 18px;
        color: #262626;
        letter-spacing: 0;
        text-align: justify;
        margin: 19px 0 19px;
    }

    .box .sub-title {
        font-family: MicrosoftYaHei-Bold;
        font-size: 16px;
        color: #262626;
        letter-spacing: 0;
        text-align: justify;
        line-height: 19px;
        margin: 19px 0 0;
    }

    .box .desc {
        font-family: MicrosoftYaHei;
        font-size: 14px;
        color: #666666;
        letter-spacing: 0;
        text-align: justify;
        line-height: 19px;
    }

    .qrcode {
        
        width: 160px;
        height: 160px;
        padding: 20px;
        opacity: 0.8;
        border: 1px solid #dcdee2;
        background-color: #fff;
    }
    .qrcode:hover {
        opacity: 1;
    }
    .qrcode canvas {
        width: 100%;
    }
.qrcode-btn {
    position: fixed;
    top: 150px;
    right: 50px;
    width:100px;
    height:100px;
    cursor: pointer;
    opacity:0.5;
    background-image: url('/Images/apply-img.png');
    background-size:cover;
}
.qrcode-btn.disabled {
    background-image: url('/Images/apply-unable-img.png');
}
.qrcode-btn:hover {
    opacity:1;
}
