/* Page Banner */

#Page_Banner {
    background-image: url(../images/course/banner.jpg);
    height: 500px;
}

#Page_Banner img {
    display: none;
}

h1 {
    font-size: 20px;
    margin: 10px 10px 5px;
}


/* section-1 */

#section-1 {
    padding: 30px 0;
    border-bottom: unset;
}

#section-1 .row {
    background-color: #f2f2f2;
    border-radius: 10px;
    padding: 8px 0;
}

#section-1 select {
    width: 200px;
}

#section-1 .right {
    text-align: right;
}

/* 活動資訊區塊 */

#section-2 {
    padding-top: 30px;
    padding-bottom: 50px;
}
#section-2 h2 a {
    color: #cc0000;
    border: 1px solid #cc0000;
    border-radius: 30px;
    font-size: 13px;
    font-weight: bold;
    padding: 3px 5px 3px 10px;
    position: relative;
    top: -8px;
}
#section-2 h2 a:hover {
    background-color: #cc0000;
    color: #ffffff;
}
#section-2 img {
    margin-bottom: 10px;
}
#section-2 div.type {
    background-color: #ff6666;
    padding: 1px 1px 1px 20px;
}
#section-2 div.type p {
    color: #ffffff;
    margin: 0;
    padding: 4px 0px 4px 10px;
}
#section-2 div.type2 {
    background-color: #199ED8;
}
#section-2 div.type3 {
    background-color: #999999;
}
#section-2 div.type span {
    display: block;
    float: right;
    background-color: #ffffff;
    color: #ff6666;
    padding: 4px 10px;
    margin-top: -4px;
    font-weight: bold;
}
#section-2 div.type span:hover {
    background-color: #ffe8e8;
    color: #000000;
}
#section-2 div.type2 span {
    color: #199ED8;
}
#section-2 div.type2 span:hover {
    background-color: #66ffff;
}
#section-2 div.type3 span {
    color: #999999;
}
#section-2 div.type3 span:hover {
    background-color: #cccccc;
}
#section-2 p {
    font-size: 14px;
    padding: 5px 10px;
    margin: 0;
}
#section-2 p.time {
    color: #000000;
}
#section-2 p.title {
    color: #666666;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 30px;
    height: 100px;
}
#section-2 .center {
    margin-top: 30px;
}
#section-2 .btn {
    font-family: 'Arial Normal', Arial;
    font-size: 13px;
    border-width: 1px;
}
#section-2 .btn:hover {
    background-color: #ff6666;
    border-color: #ff6666;
}
@media only screen and (max-width: 768px) {
    #section-2 p.title {
        height: unset;
    }
}


@media only screen and (max-width: 1200px) {}

@media only screen and (max-width: 978px) {
    #section-1 .right {
        text-align: left;
    }
}

@media only screen and (max-width: 768px) {
    #Page_Banner {
        background-image: unset;
        height: unset;
        padding: 0;
    }
    #Page_Banner img {
        display: unset;
    }
    #section-1 .right {
        text-align: left;
    }
    section div.row>div {
        margin-bottom: 0px;
    }
}

/* 佔位圖文 */
/* Placeholder styles */
.placeholder {
    opacity: 0.7;
    animation: pulse 1.5s infinite;
}
.img-placeholder {
    background: #e0e0e0;
    height: 150px;
    margin-bottom: 10px;
}
.type-placeholder, .time-placeholder, .title-placeholder {
    background: #e0e0e0;
    height: 20px;
    margin: 5px 0;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}
.title-placeholder {
    width: 90%;
}

/* Skeleton loading effect */
@keyframes pulse {
    0% {
        background-color: #e0e0e0;
    }
    50% {
        background-color: #f0f0f0;
    }
    100% {
        background-color: #e0e0e0;
    }
}