.layui-layout{
    min-width: 1200px;
}
.site-banner {
    position: relative;
    height: 780px;
    text-align: center;
    overflow: hidden;
    background-color: #ffffff;
    /*top: -60px;*/

}
.site-banner-bg{
    background: url(./imgs/banner-bg.png) no-repeat top center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    /*background-size: 100% 100%;*/
}
.site-banner-bg, .site-banner-main {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
/*比赛名称*/
.index-race-title{
    position: absolute;
    top: 7rem;
    right:35rem;
}
.index-race-num{
    position: relative;
    font-size: 5rem;
    font-weight: 600;
    color: #202428;
}
.index-race-name{
    font-size: 3.5rem;
    position: relative;
    left: 25rem;
    font-weight: 500;
    color: #202428;
    width: 592px;
    word-break: break-word;
    text-align: left;
}
/*报名按钮*/
.index-race-baoming{
    position: absolute;
    top: 36rem;
    right:10rem;
}
.design-self{
    font-size: 1.5rem;
    font-weight: 400;
    background-color: #d9925b;
}
.design-self a{
    color: #ffffff;
}
.index-race-nav{
    position: relative;
    top: 42rem;
}
.design-nav{
    margin: 0 8rem;
}
.design-nav-selected{
    background: url(./imgs/index-selected.png) no-repeat center center !important;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color: #ffffff !important;
}
.design-nav{
    background: url(./imgs/index-unselect.png) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 116px;
    font-size: 1.2rem;
    font-weight: 500;
    color: #d9925b;
}
.design-nav{
    font-size: 1.2rem;
    font-weight: 500;
    color: #d9925b;
}
.design-nav:hover{
    color: #d9925b;
}
.site-message {
    position: relative;
    height: 600px;
    text-align: center;
    overflow: hidden;
    background-color: #ffffff;
    /*top: -60px;*/
}
/*消息动态*/
.site-subject {
    position: relative;
    min-height: 600px;
    text-align: center;
    /*overflow: hidden;*/
    background-color: #ffffff;
    /*top: -60px;*/
}
.index-title{
    position: relative;
    top: 4rem;
    height: 80px;
    background: url(./imgs/index-title.png) no-repeat center center !important;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    font-size: 2rem;
    line-height: 80px;
}
.index-title-name{
    position: relative;
    top: 4rem;
    height: 80px;
    /*background: url(./imgs/index-title.png) no-repeat center center !important;*/
    /*-webkit-background-size: cover;*/
    /*-moz-background-size: cover;*/
    /*-o-background-size: cover;*/
    /*background-size: cover;*/
    font-size: 2rem;
    line-height: 80px;
}
.site-subject-main{
    position: relative;
    margin: 0 auto;
    top: 6rem;
    width: 900px;
    /*text-align: left;*/
    padding-bottom: 122px;
    display: flex;
    justify-content: center;
    flex-wrap:wrap;
}
.site-subject-main-info{
    position: relative;
    margin: 0 auto;
    top: 6rem;
    width: 900px;
    text-align: initial;
    padding-bottom: 122px;
}
.subject-item{
    width: 420px;
    height: 150px;
    border: 1px solid #cccccc;
    margin:5px 10px;
    display:flex;
    flex-direction: row;
    justify-content: start;
    border-radius: 10px;
    box-shadow: 5px 5px 5px #888888;
    cursor: pointer;
}
.subject-item-left{
    width: 120px;
    height: 150px;
    background-size: 60% 50%;
}
.line-design{
    background: url(./imgs/line-design.png) no-repeat center center;
    background-size: 60% 50%;
}
.video-design{
    background: url(./imgs/video-design.png) no-repeat center center;
    background-size: 60% 50%;
}
.doc-design{
    background: url(./imgs/doc-design.png) no-repeat center center;
    background-size: 60% 50%;
}
.subject-item-right{
    width: calc(100% - 120px);
    /*display: flex;*/
    /*flex-direction: column;*/
}
.subject-item-right-top{
    width: 100%;
    height: 40px;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: 400;
    text-align: left;
    overflow: hidden;
}
.subject-item-right-down{
    width: 95%;
    height: calc(100% - 50px);
}
.subject-item-right-down{
    margin: 5px;
    font-size: 0.9rem;
    font-weight: 200;
    text-align: left;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    text-overflow: ellipsis;
    overflow: hidden;
}

/*顶部*/
.layui-layout-right .layui-nav-item{
    margin-right: 20px;
}
.layui-layout-right .layui-nav-item button{
    font-size: 14px;
    font-weight: 400;
    background-color: #d9925b;
}
.design-self-div{
    background-color: unset !important;
    font-size: 17px !important;
}
@media screen and (max-width: 768px){
    .layui-layout{
        min-width: 100%;
    }
    .layui-hide-xs{
        display:unset !important;
    }
    .layui-layout-right .layui-nav-item {
        margin-right: 5px;
    }
    .layui-nav{
        padding: 0;
    }
    .layui-btn{
        padding: 0 10px
    }

    .site-banner-bg{
        background: url(./imgs/banner-bg.png) no-repeat top left;
    }
    .index-race-title {
        position: absolute;
        top: 8rem;
        right: 0rem;
    }
    .index-race-name {
        font-size: 1.8rem;
        position: relative;
        left: 1rem;
        font-weight: 500;
        color: #ffffff;
        width: 100%;
        word-break: break-word;
        text-align: left;
    }

    .site-banner{
        height: 350px;
    }

    .index-race-baoming {
        position: absolute;
        top: 14rem;
        right: 3rem;
    }
    .design-self {
        font-size: 1rem;
        font-weight: 400;
        background-color: #d9925b;
    }
    .index-race-nav {
        position: relative;
        top: 18rem;
    }
    .design-nav {
        font-size: 1rem;
        font-weight: 500;
        color: #d9925b;
    }
    .design-nav {
        margin: 0 1rem;
    }
    .design-nav {
        background: url(./imgs/index-unselect.png) no-repeat center center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        width: 85px;
        font-size: 1rem;
        font-weight: 500;
        color: #d9925b;
    }
    .index-title {
        position: relative;
        top: 0rem;
        height: 80px;
        background: url(./imgs/index-title.png) no-repeat center center !important;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        font-size: 2rem;
        line-height: 80px;
    }
    .site-bottom-main{
        width: 100%;
        padding-left:10px;
        padding-right:10px;
    }
    .site-footer{
        font-size: 0.6rem;
    }
    .site-subject {
        position: relative;
         min-height: 0px;
        text-align: center;
        /* overflow: hidden; */
        background-color: #ffffff;
        /* top: -60px; */
    }
    .site-subject-main {
        position: relative;
        margin: 0 auto;
        top: 0rem;
        width: 95%;
        /* text-align: left; */
        padding-bottom: 0px;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    .index-title-name {
        position: relative;
        top: 0rem;
        height: auto;
        /* background: url(./imgs/index-title.png) no-repeat center center !important; */
        /* -webkit-background-size: cover; */
        /* -moz-background-size: cover; */
        /* -o-background-size: cover; */
        /* background-size: cover; */
        font-size: 1.8rem;
        line-height: 53px;
    }
    .site-subject-main-info {
        position: relative;
        margin: 0 auto;
        top: 0rem;
        width: 95%;
        text-align: initial;
        padding-bottom: 122px;
    }
    .link-me{
        display: none;
    }
}
