:root {
    /*主色輔色 改色*/
    --main-color: #FE4D03;
    --sub-color: #246E7A;
    --sub2-color: #DFDFDF;

    /*勿動*/
    --white-color: #fff;
    --black-color: #1B1B1B;
}

/*--特別class，通用--*/
body {
    letter-spacing: 0.1vw;
}

.f-color {
    color: var(--main-color);
}

.date-en {
    /* font-family: 'Frank Ruhl Libre','Oswald', sans-serif; */
    font-family: 'Fox Bebas', sans-serif;
}

.video-container {
    position: relative;
    padding-bottom: 51.4%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;

}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



.mbr-parallax-background-fixed::before {
    content: '';
    position: fixed;
    z-index: -1;
    height: 100%;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: url(../../images/main-bg.png) top center no-repeat;
    background-size: cover;
}

@media (max-width: 768px) {
    .mbr-parallax-background-fixed::before {
        position: fixed;
        top: 0;
        left: 0;
        content: '';
        height: 100%;
        width: 100%;
        background: url(../../images/main-bg-mob.png) top center no-repeat;
        background-size: cover;
        z-index: -1;
    }
}


/* nav ---------- */
.navbar {
    background-color: #ffffff;
}

.nav-item a {
    color: var(--black-color);
    font-size: 1rem;
    line-height: 1rem;
    letter-spacing: 1px;
}

.nav-item a:hover {
    color: var(--sub2-color);
}

.btn-ticket {
    background-color: var(--main-color);
    color: var(--white-color);
    border: solid 2px var(--main-color);
    border-radius: 2rem;
    padding: 0.75rem 1rem !important;
}

.btn-ticket:hover,
nav .btn-ticket:focus {
    background-color: var(--main-color);
    color: var(--white-color);
    border: solid 2px var(--main-color);
}

nav .nav-link {
    margin-top: 0;
    margin-bottom: 0;
}

nav .mainlogo {
    display: flex;
    align-items: center;
}

nav .mainlogo img {
    max-width: 160px;
    text-align: left;
    padding-right: 5px;
}

nav .mainlogo img.school {
    max-width: 180px;
}

@media (max-width: 768px) {
    nav .navbar-collapse {
        display: flex;
    }

    nav .navbar-collapse .navbar-nav {
        width: 100%;
    }

    nav .nav-item {
        justify-content: center;
    }

    .nav-item a {
        font-size: 1rem;
        line-height: 1rem;
        padding: 1.25rem 0;
    }

    .nav-item a .sm-txt,
    .nav-item p .sm-txt {
        font-size: 13px;
    }

    .navbar-toggler,
    .navbar-toggler:focus,
    .navbar-toggler:active {
        padding: 2px;
        border: 0px;
    }

    .navbar img {
        width: 130px;
    }

    nav .mainlogo img.school {
        max-width: 130px;
    }

    nav .mainlogo img {
        max-width: 90px;
        height: auto;
    }

}


/* main ---------- */
#main {
    position: relative;
}

.main-speakers {
    position: absolute;
    bottom: 0;
    right: 5%;
}

@media (max-width: 768px) {
    #main {
        position: relative;
        padding-bottom: 9rem;
    }

    .main-speakers {
        right: 0%;
    }
}



/* slogan ---------- */
#slogan {
    background: var(--main-color);
    color: var(--white-color);
}


/* suitable2 ---------- */
#suitable2 {
    background-color: #EFEFEF;
}

#suitable2 h5 {
    color: var(--main-color);
    font-weight: bold;
}

/* hlight ---------- */
#hlight {
    background: url(../../images/hlight.png), #3d6c6ee1;
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
}


/* 課綱／議程[華麗式] */
#agenda7 {
    background: #c6d1cfbf;
}

#agenda7 .date-en {
    font-family: 'Oswald', sans-serif;
}

#agenda7 h4 {
    font-size: 22px;
}

#agenda7 h4 .time {
    font-size: 16px;
}


#agenda7 .speaker_info img {
    width: 150px;
    margin-right: 1rem;
}

#agenda7 .speaker_info a {
    overflow: hidden;
}

#agenda7 .speaker_info a:hover img,
#agenda7 .speaker_info a:focus img {
    transform: scale(1.15, 1.15);
    transition: all .5s ease;
}

#agenda7 .speaker_info .btn-info {
    margin: 0;
    background-color: #000;
    display: inline-block;
    color: var(--white-color);
    font-size: .75rem;
    padding: 0 4px;
}

#agenda7 .speaker_info .info-w {
    font-size: .85rem;
    font-weight: 300;
    background: #e4e4e4;
}

#agenda7 h6 span.hashtag {
    padding: 3px 10px;
    background-color: #f2f2f2;
    border: 1px solid #1e1e1e;
    color: #1e1e1e;
    /* border-radius: 100px; */
}

#agenda7 .time {
    font-weight: 300;
    font-size: 1.5rem;
}

#agenda7 .sub-title {
    background-color: var(--sub-color);
    color: #fff;
    padding: 0.2rem 1.2rem 0.2rem 0.8rem;
    border-radius: 0px 50px 50px 0px;
    display: inline-block;
    font-weight: 500;
}

#agenda7 .title {
    color: var(--black-color);
    padding: 6px 0px;
    margin-top: 1rem;
    line-height: 40px;
    font-weight: 700;
    font-size: 24px;
}



#agenda7 .sub-title.color2 {
    background-color: var(--main-color);
    padding: 5px 15px 5px 5px;
    color: #fff;
}

#agenda7 .title.color2 {
    color: var(--white-color);
    padding: 6px 8px;
    margin-top: 1rem;
    background: linear-gradient(to right, #4bcaf4, #2B48B3, transparent);
}

#agenda7 .speaker_info h4 {
    display: table;
    margin-bottom: 5px;
    background-color: var(--sub-color);
    color: var(--white-color);
    padding: 0 20px 0 5px;
}

#agenda7 .speaker_info h4.color2 {
    background-color: var(--main-color);
}

#agenda7 .speaker_info p {
    margin-bottom: 5px;
    border-top: 1.5px solid black;
    padding-top: 5px;
}

#agenda7 .speaker_info .btn-info {
    margin: 0;
    background-color: #000;
    display: inline-block;
    color: var(--white-color);
    font-size: .75rem;
    padding: 0 4px;
}

#agenda7 .title-sm {
    display: inline-flex;
    color: #858585;
    font-size: .85rem;
    font-weight: 500;
}

#agenda7 .hlight-carousel img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

#agenda7 .hlight-carousel {
    position: relative;
}

#agenda7 .owl-theme .owl-nav {
    position: absolute;
    bottom: 67.1px;
    right: 0;
}

#agenda7 .owl-theme.owl2 .owl-nav {
    bottom: 46.78px;
}

#agenda7 .hlight-carousel .item {
    background: #e4e4e4;
}

#agenda7 .hlight-carousel .item p {
    font-size: .85rem;
    width: 100%;
    padding: 3px;
}

@media (max-width: 992px) {
    #agenda7 h4 {
        font-size: 1.2rem;
    }

    #agenda7 .d-flex .box {
        margin-top: 8px;
    }

    #agenda7 .d-flex .box2 {
        flex-basis: 100%;
        margin-top: 8px;
        order: 2;
    }

    #agenda7 .hlight-carousel .item p {
        font-size: .85rem;
        width: 100%;
        padding: 3px 3px;
    }

    #agenda7 .owl-theme .owl-nav,
    #agenda7 .owl-theme.owl2 .owl-nav {
        bottom: 87.56px;
    }

    #agenda7 .owl-theme.owl3 .owl-nav {
        bottom: 107.95px;
    }
}


/* 課程資訊－一般B */
#infomation3 {
    background: #EFEDE5;
    position: relative;
    color: var(--black-color);
}

#infomation3 .pattern01 {
    position: absolute;
    top: -10%;
    right: 0;
    width: 5%;
}

#infomation3 .pattern02 {
    position: absolute;
    bottom: -10%;
    left: 0;
    width: 5%;
}

#infomation3 .co-qa {
    color: var(--main-color);
}

#infomation3 .btn-sold .sold01 {
    background: linear-gradient(to right bottom, #ff7a42, #FE4D03);
    padding: 1.5rem;
    border-radius: 3px;
    color: var(--black-color);
}

.shine-button::before {
    content: '';
    width: 80px;
    height: 300%;
    border: none;
    position: absolute;
    left: 0%;
    top: 50%;
    transform: translateY(-50%) rotate(35deg);
    background: #ff7a42;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #ffa05c 50%, rgba(255, 255, 255, 0) 100%);
    animation: shine 3s infinite;
}

#infomation3 .btn-sold .hotsold {
    background: linear-gradient(to right bottom, #4d4d4d, #2C2C2C);
    padding: 1.5rem;
    margin-top: 0;
    border-radius: 3px;
    color: white;
}

#infomation3 .btn-sold .sold-normal {
    background: linear-gradient(to right bottom, #3e9aaa, #58A6B3);
    padding: 1.5rem;
    border-radius: 3px;
    color: var(--black-color);
}

#infomation3 .btn-sold .sold-normal:hover,
#infomation3 .btn-sold .sold-normal:focus,
#infomation3 .btn-sold .hotsold:hover,
#infomation3 .btn-sold .hotsold:focus,
#infomation3 .btn-sold .sold01:hover,
#infomation3 .btn-sold .sold01:focus {
    background: linear-gradient(to right bottom, #002858, #0C1628);
    transition: .5s;
    color: #fff;
}

#infomation3 .btn-sold .sold-out {
    background: var(--white-color);
    padding: 1.5rem;
    border-radius: 3px;
    color: var(--black-color);
    position: relative;
    filter: opacity(0.5);
}

#infomation3 .btn-sold .sold-out::before {
    content: 'SOLD OUT';
    position: absolute;
    top: calc(50% - 18px);
    left: calc(50% - 50px);
    padding: 6px 12px;
    background-color: #EC5650;
    color: var(--white-color);
    transform: rotate(-20deg);
}

#infomation3 .btn-ticket {
    background-color: var(--black-color);
    color: var(--white-color);
    border: solid 2px var(--black-color);
    border-radius: 2rem;
    padding: .8rem 3.5rem !important;
}

#infomation3 .btn-ticket:hover,
#infomation2 .btn-ticket:focus {
    background-color: var(--main-color);
    color: var(--white-color);
    border: solid 2px var(--main-color);
}

@media (max-width: 768px) {
    #infomation3 .pattern01 {
        width: 11%;
    }

    #infomation3 .pattern02 {
        bottom: -5%;
        width: 11%;
    }
}




#qna {
    background: #c6d1cfbf;
}


/* -----#photoss----- */
#photoss {
    background-color: #EFEDE5;
    padding-bottom: 4rem;
    padding-top: 0rem;
}

#photoss .owl-carousel .owl-item img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

#photoss .d-flex {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

#photoss h4 {
    margin: 0;
    position: relative;
    display: inline-block;
    z-index: 2;
}

#photoss .h6 {
    font-weight: 300;
    line-height: 30px;
    margin-bottom: 0;
}

#photoss h4:after {
    content: "";
    width: 100%;
    height: 25px;
    display: block;
    position: absolute;
    top: -2px;
    left: 8px;
    background-color: var(--main-color);
    z-index: -1;
}

#photoss .sd {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    font-size: 10px;
    border-radius: 50px;
    background: var(--black-color);
    color: var(--main-color);
    margin-left: 1rem;
}

#photoss .sd:hover,
#photoss .sd:focus {
    transform: scale(1.2, 1.2);
    transition: all .5s ease;
}

/* aabar ---------- */
#aabar{
    position: fixed;
    bottom: 1rem;
    width: 100%;
    z-index: 100;
    /* background: var(--main-color); */
    /* padding: .15rem; */
}
#aabar a{
    font-size: 1.3rem;
    letter-spacing: 2px;
    font-weight: 700;
}

/*footer改色 ---------- */

#footer {
    position: absolute;
    width: 100%;
    background-color: #2C2C2C;
    color: var(--white-color);
}

#footer .scrolltop {
    background: var(--sub-color);
    color: var(--white-color);
    opacity: .9;
}