html{
    overflow-x: hidden;
}
.container{
    padding: 16px;
}

/*主檔卡片-共用樣式*/
.EventInfo {
    border-style: none;
    padding: 10px;
    margin: 0px;
    box-sizing: border-box; /* 確保 padding 和 border 包含在元素寬度內 */
    text-align: center;
}

.DataLinkArea {
    justify-content: center;
    align-items: center;
    max-width: 1840px;
}


/*[預設]*/
.CardBox, .CardBox_AlreadyFull, .CardBox_WillBeFullSoon, .CardBox_HasEnded, .CardBox_NotStartedYet {
    background-color: #fff;
    margin: 5px;
    line-height: 25px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 30px;
    height: 335px;
    box-shadow: 0 4px 4px rgb(0 0 0 / 25%);
    transition: .2s ease-in-out;
    position: relative;
    padding-inline: 32px;
    padding-top: 60px;
    padding-bottom: 16px;
    max-width: 443px;
    box-sizing: content-box;
    width: auto !important;
}

@media screen and (max-width: 1305px) and (min-width: 991px){
    .CardBox, .CardBox_AlreadyFull, .CardBox_WillBeFullSoon, .CardBox_HasEnded, .CardBox_NotStartedYet{
        height: 435px;
    }
}

@media screen and (max-width: 342px){
    .CardBox, .CardBox_AlreadyFull, .CardBox_WillBeFullSoon, .CardBox_HasEnded, .CardBox_NotStartedYet{
        height: 400px;
    }
}

.CardBox .Desc, .CardBox_AlreadyFull .Desc, .CardBox_WillBeFullSoon .Desc, .CardBox_HasEnded .Desc, .CardBox_NotStartedYet .Desc{
    width: 100%;
}
.CardBox:hover{
    transform: translateY(-5px);
}
.CardBox:before{
    content:"可預約";
    padding-left: 90px;
    color:#73FFC2;
    font-weight:bolder;
    background:#44326D;
    display: flex;
    width: 100%;
    height: 70px;
    border-radius: 30px 30px 0 0;
    position:absolute;
    top:0;
    align-items:center;
    background-image:url('./img/check_icon.png');
    background-repeat: no-repeat;
    background-position: 38px 50%;
    background-size: 35px;
    font-size: 1.4rem;
}

@media screen and (max-width:375px){
    .CardBox:before{
        height: 60px;
        background-size: 30px;
        font-size: 1.3rem;
    }
}


    .CardBox > div {
        margin: 0;
        padding: 0;
    }

    .CardBox a {
        margin: 0;
        padding: 0;
    }
.CardBox_Content{
    padding:8px 0;
}

.CardBox_Content div:first-of-type{
    margin-bottom:10px;
    text-align:left;
    padding: 8px 8px;
}
.CardBox_Content div{
    padding: 0 8px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
}
.CardBox_Content div .Note1{
    width: 100%;
    background-color: #eeeeee;
    color: #a7a7a7;
    padding: 8px;
    margin-top: 8px;
    border-radius: 8px;
}
.CardBox_Content{
    padding:8px 0;
}
.CardBox .CardBox_Content .Info,.CardBox_AlreadyFull .CardBox_Content .Info, .CardBox_WillBeFullSoon .CardBox_Content .Info, .CardBox_HasEnded .CardBox_Content .Info, .CardBox_NotStartedYet .CardBox_Content .Info {
    width: 100%;
    background-color: #eeeeee;
    color: #000000;
    padding: 8px;
    margin-top: 8px;
    border-radius: 8px;
    font-weight: bold;
}
/*[已額滿]*/
.CardBox_AlreadyFull {
    background-color: #fff;
    margin: 5px;
    line-height: 25px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 30px;
    box-shadow: 0 4px 4px rgb(0 0 0 / 25%);
    transition: .2s ease-in-out;
    position:relative;
    max-width:443px;
}
.CardBox_AlreadyFull:hover{
    transform: translateY(-5px);
}
.CardBox_AlreadyFull:before{
    content:"已額滿";
    padding-left:90px;
    color:#E29AFF;
    font-weight:bolder;
    background:#44326D;
    display: flex;
    width: 100%;
    height: 70px;
    border-radius: 30px 30px 0 0;
    position:absolute;
    top:0;
    align-items:center;
    background-image:url('./img/full_icon.png');
    background-repeat: no-repeat;
    background-position: 38px 50%;
    background-size: 35px;
    font-size: 1.5rem;
}
.CardBox_AlreadyFull div .Note1{
    width: 100%;
    background-color: #eeeeee;
    color: #a7a7a7;
    padding: 8px;
    margin-top: 8px;
    border-radius: 8px;
}
@media screen and (max-width:375px){
    .CardBox_AlreadyFull:before{
        height: 60px;
        background-size: 30px;
        font-size: 1.3rem;
    }
}

    .CardBox_AlreadyFull > div {
        margin: 0;
        padding: 0;
    }

    .CardBox_AlreadyFull a {
        margin: 0;
        padding: 0;
    }
    
/*[即將額滿]*/
.CardBox_WillBeFullSoon {
    background-color: #fff;
    margin: 5px;
    line-height: 25px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 30px;
    box-shadow: 0 4px 4px rgb(0 0 0 / 25%);
    transition: .2s ease-in-out;
    position:relative;
    max-width:443px;
}
.CardBox_WillBeFullSoon:hover{
    transform: translateY(-5px);
}
.CardBox_WillBeFullSoon:before{
    content:"快要額滿";
    padding-left:90px;
    color:#FFF39A;
    font-weight:bolder;
    background:#44326D;
    display: flex;
    width: 100%;
    height: 70px;
    border-radius: 30px 30px 0 0;
    position:absolute;
    top:0;
    align-items:center;
    background-image:url('./img/fullsoon_icon.png');
    background-repeat: no-repeat;
    background-position: 38px 50%;
    background-size: 35px;
    font-size: 1.5rem;
}
.CardBox_WillBeFullSoon div .Note1{
    width: 100%;
    background-color: #eeeeee;
    color: #a7a7a7;
    padding: 8px;
    margin-top: 8px;
    border-radius: 8px;
}
@media screen and (max-width:375px){
    .CardBox_WillBeFullSoon:before{
        height: 60px;
        background-size: 30px;
        font-size: 1.3rem;
    }
}
.CardBox_WillBeFullSoon > div {
    margin: 0;
    padding: 0;
}

.CardBox_WillBeFullSoon a {
    margin: 0;
    padding: 0;
}

/*[尚未開始]*/
.CardBox_NotStartedYet {
    background-color: #fff;
    margin: 5px;
    line-height: 25px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 30px;
    box-shadow: 0 4px 4px rgb(0 0 0 / 25%);
    transition: .2s ease-in-out;
    position:relative;
    max-width:443px;
}
.CardBox_NotStartedYet:hover{
    transform: translateY(-5px);
}
.CardBox_NotStartedYet:before{
    content:"尚未開始";
    padding-left:90px;
    color:#FFF;
    font-weight:bolder;
    background:#858585;
    display: flex;
    width: 100%;
    height: 70px;
    border-radius: 30px 30px 0 0;
    position:absolute;
    top:0;
    align-items:center;
    background-image:url('./img/notstart_icon.png');
    background-repeat: no-repeat;
    background-position: 38px 50%;
    background-size: 35px;
    font-size: 1.5rem;
}
.CardBox_NotStartedYet div .Note1{
    width: 100%;
    background-color: #eeeeee;
    color: #a7a7a7;
    padding: 8px;
    margin-top: 8px;
    border-radius: 8px;
}
@media screen and (max-width:375px){
    .CardBox_NotStartedYet:before{
        height: 60px;
        background-size: 30px;
        font-size: 1.3rem;
    }
}

    .CardBox_NotStartedYet > div {
        margin: 0;
        padding: 0;
    }

    .CardBox_NotStartedYet a {
        margin: 0;
        padding: 0;
    }

/*[已經結束]*/
.CardBox_HasEnded {
    margin: 0px;
    line-height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 30px;
    background-color:#EFEFEF; 
    cursor: not-allowed;
    box-shadow: 0 4px 4px rgb(0 0 0 / 25%);
    transition: .2s ease-in-out;
    position:relative;
    max-width:443px;
}
.CardBox_HasEnded:before{
    content:"已經結束";
    padding-left:90px;
    color:#FFB0B2;
    font-weight:bolder;
    background:#858585;
    display: flex;
    width: 100%;
    height: 70px;
    border-radius: 30px 30px 0 0;
    position:absolute;
    top:0;
    align-items:center;
    background-image:url('./img/end_icon.png');
    background-repeat: no-repeat;
    background-position: 38px 50%;
    background-size: 35px;
    font-size: 1.5rem;
}
.CardBox_HasEnded div .Note1{
    width: 100%;
    background-color: #eeeeee;
    color: #a7a7a7;
    padding: 8px;
    margin-top: 8px;
    border-radius: 8px;
}
@media screen and (max-width:375px){
    .CardBox_HasEnded:before{
        height: 60px;
        background-size: 30px;
        font-size: 1.3rem;
    }
    .CardBox_Content div{
        padding-right: 10px;
    }
}
.CardBox_HasEnded:hover{
    transform: translateY(-5px);
}

    .CardBox_HasEnded > div {
        margin: 0;
        padding: 0;
    }

    .CardBox_HasEnded a {
        margin: 0;
        padding: 0;
    }


@media screen and (max-width:1080px) and (min-width:991px){
    .CardBox:before, .CardBox_AlreadyFull:before, .CardBox_WillBeFullSoon:before,
    .CardBox_NotStartedYet:before, .CardBox_HasEnded:before{
        /* height: 60px; */
        background-size: 30px;
        font-size: 1.3rem;
        background-position: 20px 50%;
        padding-left: 60px;
    }
}

@media screen and (max-width:425px){
    .CardBox, .CardBox_AlreadyFull, .CardBox_WillBeFullSoon,
    .CardBox_NotStartedYet, .CardBox_HasEnded{
        padding:32px;
        padding-top: 64px;
    }
}

/*以下五個 個別群組樣式 區段，編號從01到05*/
/*其中的 C_Poseidon、B_IronMan、A_KSTeam，需與 MK在後台的設定一致*/

/*主檔卡片-個別群組樣式-01.CardBox*/


/*主檔卡片-個別群組樣式-02.標題*/

/*主檔卡片-個別群組樣式-03.副標題*/




/*主檔卡片-個別群組樣式-04.登錄數量資訊*/



/*主檔卡片-個別群組樣式-05.登錄數量狀態*/
.C_Poseidon .CardBox .RegAlert {
    color: #FF0000;
}

.B_IronMan .CardBox .RegAlert {
    color: #FF0000;
}

.A_KSTeam .CardBox .RegAlert {
    color: #FF0000;
}

/*主檔卡片-個別群組樣式-06.卡片內容與圖片並排樣式*/
.C_Poseidon .CardBox, 
.C_Poseidon .CardBox_AlreadyFull, 
.C_Poseidon .CardBox_WillBeFullSoon, 
.C_Poseidon .CardBox_NotStartedYet, 
.C_Poseidon .CardBox_HasEnded {
    background-image: url(A_KSTeam.png);
    background-size: 100px;/*網址 height 參數最好以圖片高度再加40 => 140*/
    background-repeat: no-repeat;
    background-position: 5% center;/*左側圖樣式*/
    /*background-position: 95% center;*//*右側圖樣式*/
}

.C_Poseidon .CardBox_Content {
    padding-left: 120px;/*左側圖樣式*/
    /*padding-right: 120px;*//*右側圖樣式*/
}

.B_IronMan .CardBox, 
.B_IronMan .CardBox_AlreadyFull, 
.B_IronMan .CardBox_WillBeFullSoon, 
.B_IronMan .CardBox_NotStartedYet, 
.B_IronMan .CardBox_HasEnded {
    background-image: url(A_KSTeam.png);
    background-size: 100px;/*網址 height 參數最好以圖片高度再加40 => 140*/
    background-repeat: no-repeat;
    background-position: 5% center;/*左側圖樣式*/
    /*background-position: 95% center;*//*右側圖樣式*/
}

.B_IronMan .CardBox_Content {
    padding-left: 120px;/*左側圖樣式*/
    /*padding-right: 120px;*//*右側圖樣式*/
}

.A_KSTeam .CardBox, 
.A_KSTeam .CardBox_AlreadyFull, 
.A_KSTeam .CardBox_WillBeFullSoon, 
.A_KSTeam .CardBox_NotStartedYet, 
.A_KSTeam .CardBox_HasEnded {
    background-image: url(A_KSTeam.png);
    background-size: 100px;/*網址 height 參數最好以圖片高度再加40 => 140*/
    background-repeat: no-repeat;
    background-position: 5% center;/*左側圖樣式*/
    /*background-position: 95% center;*//*右側圖樣式*/
}

.A_KSTeam .CardBox_Content {
    padding-left: 120px;/*左側圖樣式*/
    /*padding-right: 120px;*//*右側圖樣式*/
}

.RegAlert{
    display: none;
}   