.cover {
    position: relative;
    margin-top: 66px;
    width: 70%;
    height: auto;
    margin-left: 15%;
    margin-right: 15%;
    margin-bottom: 10px;
}

.img-cover {
    object-fit: cover;
}

.cover-image {
    width: 100%;
    height: auto;
    z-index: 1;
}

.cover-title {
    position: absolute;
    top: 76%;
    width: 100%;
    height: 20%;
    z-index: 2;
    text-align: center;
    color: black;
    font-family: 微軟正黑體;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 5px;
}

.cover-hr {
    border: 0;
    border-top: 2px solid black;
    margin: 5px 35% 0 35%;
}

.path {
    padding: 0 10%;
    color: rgba(25, 25, 25, 0.8);
    font-family: 微軟正黑體;
    font-size: 0.5rem;
    margin-bottom: 60px;
}

.path-text {
    color: rgba(25, 25, 25, 0.8);
    font-family: 微軟正黑體;
    font-size: 0.5rem;
}

.contents {
    height: auto;
    margin-bottom: 5%;
}

.event-article {
    margin-bottom: 20px;
    padding: 0 10%;
}

.event-title {
    font-family: 微軟正黑體;
    font-weight: bold;
    color: #1c4a7b;
    font-size: 1rem;
    margin-bottom: 15px;
}

.event-date {
    text-align:right;
}

.calendar-img {
    max-height: 16px;
    width: auto;
}

.event-content {
    font-family: 微軟正黑體;
    font-size: 1rem;
    margin-bottom: 25px;
}

.content {
    margin: 0 10% 50px 10%;
    width: 80%;
    height: auto;
    padding: 5%;
    border-radius: 20px;
    box-shadow: 1px 1px 7px rgba(51, 51, 51, 0.22);
}

#carouselExampleIndicators {
    background-color: #fcfcfc;
}

.carousel-indicators li {
    background-color: black !important;
}

.last-and-next-news {
    font-family: 微軟正黑體;
    font-size: 12px;
}

.carousel-item-setting {
    height: auto;
}

@media (max-width: 575px) {
    .fixed-top {
        position: relative;
    }

    .cover {
        margin-top: 0px;
    }
}

@media (min-width: 768px) {
    .cover-hr {
        margin: 5px 30% 0 30%;
    }

    .cover-title {
        font-size: 40px;
    }

    .path {
        font-size: 1rem;
    }
    
    .path-text {
        font-size: 1rem;
    }

    .event-title {
        font-size: 1.5rem;
    }

    .carousel-item-setting {
        height: 296px;
    }
}

@media (min-width: 992px) {
    .cover-title {
        font-size: 50px;
    }
}

@media (min-width: 1024px) {
    .cover-hr {
        margin: 5px 33% 0 33%;
    }
}

@media (min-width: 1440px) {
    .cover-hr {
        margin: 5px 35% 0 35%;
    }
}