body {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

.videoWrap {
    position: relative;
    display: grid;
    place-items: center;
    height: 25rem;
}
.pageBanner {
    overflow: hidden;
}
.fixedWrap{
    
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 99;
}
#topBtn {
    display: none;
    position:relative;
    border: none;
    outline: none;
    background-color: #007cbc;
    color: white;
    cursor: pointer;
}

#topBtn:hover {
    background-color: #125170;
}
#contactBtn {
    /* display: none; */
    position:relative;
    border: none;
    outline: none;
    background-color: #f3a629;
    color: white;
    cursor: pointer;
}

#contactBtn:hover {
    background-color: #af771c;
}

video {
    /* Make video to at least 100% wide and tall */
    min-width: 100%;
    min-height: 100%;

    /* Setting width & height to auto prevents the browser from stretching or squishing the video */
    width: auto;
    height: auto;

    /* Center the video */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom_content img {
    max-width: 100% !important;
    height: auto !important;
}
.custom_content p {
    letter-spacing: 0.1rem;
    line-height: 2;
}

.text-brand1 {
    color: #852032;
}

.bg-brand1 {
    background-color: #852032;
}
.bg-brand-gradient {
    background-image: -webkit-linear-gradient(330deg, #ffe8cc 0%, #d2ffee 100%);
    background-image: -o-linear-gradient(330deg, #ffe8cc 0%, #d2ffee 100%);
    background-image: linear-gradient(120deg, #ffe8cc 0%, #d2ffee 100%);
}

.border-brand1 {
    border-color: #852032 !important;
}

.btn-outline-brand1 {
    --bs-btn-color: #852032;
    --bs-btn-border-color: #852032;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #852032;
    --bs-btn-hover-border-color: #852032;
    --bs-btn-focus-shadow-rgb: 13,110,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #852032;
    --bs-btn-active-border-color: #852032;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #852032;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #852032;
    --bs-gradient: none;
}

/* 輪播圖 */
.myBanner {
    max-height: 75vh;
}

.btn-brand1 {
    background-color: #852032;
    color: white;
    margin: 0.25rem 0.125rem;
}
.btn-brand1:hover {
    background-color: #852032;
    color: white;
}

.logo {
    height: 2.5rem;
}

.option:checked {
    color: #ffffff;
}
select option {
    color: #555555;
}

.nav_icon {
    max-width: 1.5rem;
}
.nav-link {
    font-weight: bold;
}
.lang .nav-link,
.lang .nav-link:hover {
    color: #ffffff !important;
}
.nav-link:hover {
    /* color: #852032 !important; */
    color: #ffffff !important;
    background-color: #852033b5;
}
.rounded_custom1 {
    border-radius: 1rem;
}
.mask {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.card_img {
    background-size: cover!important;
    background-position: center!important;
    width: 100%;
    height: 100%;
    transition: transform 0.2s;
}
.card:hover .card_img {
    transform: scale(1.3);
}
.news_title {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    /* white-space: nowrap; */
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.news_text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 1.3rem; /* fallback */
    -webkit-line-clamp: 3; /* number of lines to show */
    -webkit-box-orient: vertical;
}
.course_icon {
    max-width: 4rem;
}
.course01_step {
    height: 6rem;
}
.swiper-wrapper {
    height: auto;
}
.swiper-button-next,
.swiper-button-prev {
    color: #852032;
}
:root {
    --swiper-theme-color: #852032;
}

.swiper {
    height: auto;
}

.paginate svg {
    max-width: 2rem;
}
.paginate a {
    color: #419f8f;
    text-decoration: none;
}
.dropdown-item:focus {
    color: #f39100;
    background: transparent;
}

section:nth-child(odd) {
    background-color: #efefefef;
}

/* appField */
#appField h3 {
    background-color: rgba(0, 0, 0, 0.7);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.appField_cover {
    height: 12rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    -webkit-transition: all 0.5s;
}
.appField_top {
    -webkit-filter: grayscale(1);
}

#appField a:hover > .appField_top {
    -webkit-filter: grayscale(0);
}

.g-font01 {
    font-family: "Noto Sans TC", sans-serif;
}
.g-font02 {
    font-family: "Noto Serif TC", serif;
}

.paginate > nav > div:first-child,
.paginate > nav > div:nth-child(2) > div:first-child {
    display: none;
}
.custom_scroll::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #f5f5f5;
}

.custom_scroll::-webkit-scrollbar {
    width: 12px;
    background-color: #f5f5f5;
}

.footer_logo {
    max-width: 12rem;
}

.w-md-75 {
    width: 75%;
}

.google_f1 {
    font-size: 3.3rem;
    font-family: 'Alfa Slab One', cursive;
    font-family: 'Noto Sans TC', sans-serif;
}
/* 品質 */
.q_title{
    font-size: 10rem;
    z-index: 99;
    text-shadow: 1px 1px 2px black;
}
.q3{
    background: #ededed;
}

#awn-popup-wrapper .awn-popup-body.awn-popup-confirm{
    position: absolute;
    bottom: 0;
}

@media screen and (max-width: 1400px) {
    .teacher_cover {
        height: 12rem;
    }
}
@media screen and (max-width: 1200px) {
    .teacher_cover {
        height: 10rem;
    }
}
@media screen and (max-width: 992px) {
    .teacher_cover {
        height: 7rem;
    }
    .w-md-75 {
        width: 100%;
    }
    .q_title{
        font-size: 5rem;
    }
    
}
@media screen and (max-width: 768px) {
    .teacher_cover {
        height: 12rem;
    }
    .q_title{
        font-size: 3rem;
    }
}
@media screen and (max-width: 576px) {
    .teacher_cover {
        height: 10rem;
    }
    .videoWrap {
        height: 13rem;
    }
    
}
@media screen and (max-width: 480px) {
    .teacher_cover {
        height: 8rem;
    }
    .course_list {
        font-size: 1rem;
    }
}
