@charset "UTF-8";

/* 框架樣式 */
.wrapcontent {
    margin: 0 auto;
    padding: 0 0;
    width: 100%;
}

main {
    padding: 0;
    width: 100%;
    height: 100%;
}

/* user-teacher 頁面*/
.top_banner {
    height: 400px;
    display: flex;
    background: url('../images/s_top_banner.png') no-repeat top 20px center;
    background-size: cover;
    justify-content: center;
    align-items: center;
}

.top-heading {
    opacity: 1;
    width: 100%;
    align-items: center;
    justify-content: center;

}

.top_heading h2 {
    font-size: 5rem;
    color: #FFFFFF;
    text-align: left;
}

.top_heading h4 {
    font-size: 1.6rem;
    color: #FFFFFF;
    text-align: center;
}


/* 教學資源*/
.Study_RSRC {
    display: block;
    padding: 100px 0 50px 0;
    margin: 0 auto;
    background: #F5F4ED;
}

.Study_RSRC .heading {
    padding: 0;
    margin: 30px auto 30px 100px;
}

.Study_RSRC .heading h3 {
    font-size: 5rem;
    display: block;
    background: url('../images/title_liane.png') no-repeat left 350px bottom 20px;
    line-height: 100%;
}

.Study_RSRC .heading h4 {
    font-size: 2.5rem;
    padding: 0 0 0 10px;
    display: block;
    color: #828282;
    font-weight: 300px;
}

.Study_RSRC .websites_item {
    max-width: 580px;
    width: 100%;
    height: auto;
    margin: 0 2% 5% 2%;
    display: inline-block;

}

.Study_RSRC article {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1280px;
    margin: 0 auto;
}

.websites_item img {
    width: 580px;
    height: 370px;
    border-radius: 0 0 60px 0;
    object-fit: cover;
}

.websites_item .item_content {
    display: block;
    padding: 10px 0;
}

.websites_item .item_content h2 {
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    margin: 10px auto;
    justify-content: space-between;
    font-weight: 700;
}

.websites_item .item_content p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    word-break: break-word;
    white-space: normal;
}

.websites_item .item_content h2 button {
    background: #72C9F3;
    padding: 8px 20px;
    border-radius: 100px;
    color: #fff;
    /* margin-left:49%; */
    font-size: 1rem;
    cursor: pointer;
}

.websites_item .item_content h2 button:hover {
    background-color: #00a0e9;
}

/* 公告訊息 Latest */
.Latest {
    background: url('../images/Latest_bg.png') no-repeat center center;
    display: block;
    background-size: cover;
    /* height: 100vh; */
    padding: 150px 0 0 0;
}

.Latest .material {
    background: #ffffffa9;
    border-radius: 0 100px 0 0;
    display: block;
    width: 80%;
    /* height: 100vh; */
    padding: 60px 0 40px 10%;
}

.Latest .material .list {
    margin: 50px 50px 50px 0;
}

.Latest .material .list ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    flex-direction: row;
}

.Latest .material .list ul li {
    background: #fff;
    color: #000;
    border-bottom: 1px solid #828282;
    display: inline-block;
    width: 300px;
    padding: 20px 20px;
    margin: 15px 8% 15px 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.5rem;
    background: #fff url('../images/icon_right_arrow.svg') no-repeat center right 10px;
    background-size: 8%;
}

.Latest .material .list ul a:hover li {
    cursor: pointer;
    display: inline-block;
    background: #54C3F1 url('../images/icon_right_arrow.svg') no-repeat center right 10px;
    background-size: 8%;

}

.Latest .heading {
    padding: 0;
    margin: 50px auto 50px 60px;
}

.Latest .heading h3 {
    font-size: 5rem;
    display: block;
    background: url('../images/title_liane.png') no-repeat left 300px center;
    line-height: 100%;
}

.Latest .heading h4 {
    font-size: 2.5rem;
    padding: 0 0 0 10px;
    display: block;
    color: #828282;
    font-weight: 300;
}

/* 廣告輪播 */
.events {
    width: 100%;
    height: 70vh;
    display: flex;
    /* background-color: #486b55;  */
    /* align-items: center;
    justify-content: center; */
    overflow: hidden;
    position: relative;
    padding: 150px 50px;

}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    transition: opacity 1s ease-in-out;
    opacity: 0;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 60%;
    height: 400px;
    object-fit: cover;
    border-radius: 100px 0 0 0;
}

.content {
    width: 60%;
    min-height: 280px;
    background-color: #F2F1E6;
    display: flow-root;
    padding: 32px;
    margin-left: -150px;
}

.content h2 {
    font-size: 2rem;
    font-weight: lighter;
}

.content p {
    margin: 20px 0;
    font-weight: 500;
    line-height: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    box-sizing: border-box;
}

.content button {
    text-transform: uppercase;
    color: #000;
    padding: 20px 30px;
    display: inline-block;
    letter-spacing: 2px;
    cursor: pointer;
    top: -5px;
    right: -5px;
    text-indent: -9999px;
    position: absolute;
    background: url('../images/events_next.svg') no-repeat center right 10px;
    background-size: 60%;
}

.content button:hover {
    text-transform: uppercase;
    color: #000;
    padding: 20px 30px;
    display: inline-block;
    letter-spacing: 2px;
    cursor: pointer;
    top: -5px;
    right: -5px;
    text-indent: -9999px;
    position: absolute;
    background: url('../images/events_next_hv.svg') no-repeat center right 10px;
    background-size: 60%;
}

.content span {
    text-transform: uppercase;
    color: #fff;
    padding: 10px 30px;
    display: inline-block;
    letter-spacing: 2px;
    cursor: pointer;
    top: 315px;
    right: 25px;
    position: absolute;
    background: #AD9E64;
    border-radius: 50px;
}

@media (max-width: 1536px) {
    .events {
        height: 88vh;
    }
}

@media (max-width:1366px) {

    .events {
        padding: 100px 50px;
        height: 100vh;
    }
}

@media screen and (max-width: 1280px) {
    .Study_RSRC .websites_item {
        max-width: 460px;
        width: 100%;
    }

    .websites_item img {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 1025px) {
    .top_banner {
        background: url(../images/m_s_top_banner.png) no-repeat center center;
        background-size: cover;
        justify-content: center;
        height: 100vh;
        width: 100%;
        padding: 50px 20px;
    }

    .top_heading h2 {
        font-size: 3rem;
    }

    .top_heading h3 {
        font-size: 3rem;
        color: #fff;
    }

    .top_heading h4 {
        font-size: 1.2rem;
        color: #fff;
        text-align: left;
        /* padding: 0 0 0 6px;
        word-break: keep-all; */
    }


    /* 教學資源 Study_RSRC*/
    .Study_RSRC {}

    .Study_RSRC .heading {
        margin: 30px auto 30px 50px;
    }

    .Study_RSRC .heading h3 {
        font-size: 3rem;
    }

    .Study_RSRC .heading h4 {
        font-size: 1.2rem;
        padding: 0 0 0 6px;
    }

    .Study_RSRC article {
        margin: 0 5%;
    }

    .Study_RSRC .websites_item {
        max-width: 330px;
        width: 100%;
        padding: 0 0 20px 0;
        height: auto;
    }

    .Study_RSRC article {
        display: flex;
        justify-content: center;
        /* align-items: center; */
    }

    .websites_item img {
        width: 100%;
        object-fit: cover;
    }

    .websites_item .item_content {
        display: block;
        padding: 10px 0;
    }

    .websites_item .item_content h2 {
        font-size: 1.6rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .websites_item .item_content p {
        -webkit-line-clamp: 4;
    }

    .websites_item .item_content h2 button {
        padding: 8px 20px;
        color: #fff;
        font-size: 1rem;
        cursor: pointer;
    }

    /*  */
    .events {
        height: 500px;
        padding: 50px 20px;
        margin: 100px auto;
    }

    .container {
        width: 100%;
        margin: 0 40px;
    }

    .content {
        width: 90%;
    }

    .content span {
        /* right: 430px */
    }

    /* 相關網站Ourwebsites*/
    .Ourwebsites .heading {
        margin: 0 auto 40px 40px;
        background: url('../images/title_liane.png') no-repeat left 150px bottom 20px;
    }

    .Ourwebsites .heading h3 {
        font-size: 3rem;
    }

    .Ourwebsites .heading h4 {
        font-size: 1.2rem;
        padding: 0 0 0 6px;

    }

    /* 公告訊息 Latest */
    .Latest {
        background: url('../images/Latest_bg_m.png') no-repeat center center;
        display: block;
        background-size: cover;
        height: 100vh;
        min-height: 828px;
        padding: 100px 0;
        margin: 0 auto;
        clear: both;
        position: relative;
        z-index: 9;
        /* top: 20px; */
    }

    .Latest .material {
        background: transparent;
        display: block;
        width: 80%;
        padding: 0 20px;
        margin: 0 auto;
        clear: both;
    }

    .Latest .material .list {
        margin: 50px auto;
    }
   .Latest .material .list ul{display: block;}

    .Latest .material .list ul li {
        display: block;
        width: 100%;
        margin: 15px auto;
        font-weight: 700;
        font-size: 1.2rem;

    }

    .Latest .heading {
        margin: 0 auto;
    }

    .Latest .heading h3 {
        font-size: 3rem;
        color: #fff;
        background: url('../images/title_liane_w.png') no-repeat left 300px center;
    }

    .Latest .heading h4 {
        font-size: 1.2rem;
        padding: 0 0 0 6px;
        color: #fff;
        word-break: keep-all;
    }

}

@media (max-width: 767.98px) {
    .websites_item .item_content h2 button {
        align-items: center;
        justify-content: space-between;

    }

    .top-heading {
        text-align: left;
    }

    .item_list {
        width: 300px;
        margin: 2% 2%;
    }

    /* 相關網站 */
    .Study_RSRC article {
        display: grid;
        margin: 0 auto;
    }

    .Study_RSRC .websites_item {
        margin: 20px auto;

    }

    /* */
    .events {
        height: 82vh;
        padding: 50px 20px;
        margin: 100px auto;
    }

    .container {
        flex-direction: column;
        width: 100%;
        margin: 0 20px;
    }

    .slide {
        display: block;
    }

    .slide img {
        width: 100%;
        height: 350px;
    }

    .content {
        width: 90%;
        position: absolute;
        right: 5%;
        top: 280px;
        min-height: 240px;
        padding: 20px 20px;
    }

    .content button {
        top: 185px;
        right: 5px;
    }

    .content h2 {
        font-size: 1.4rem;
        font-weight: 700;
    }

    .content span {
        top: 210px;
        right: 50%;
    }

    .content button:hover {
        top: 185px;
        right: 5px;
    }

}

@media (max-width: 375px) {
    .events {
        height: 100vh;
    }

}

@media (max-width:1366px) {
    .Latest .material {
        padding: 60px 0 40px 0;
    }

}