* {
    margin: 0;
}

:root {
    --tab-width: 150px;
}

.contents {
    margin-top: 60px;
    width: 100%;
    color: #30302F;
}

.content_wrap {
    background-color: #F8F8F8;
    margin: 0;
    width: 100%;
    height: auto;
    padding-bottom: 4%;
    padding-top: 4%;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: row;
}

.banner_container {
    width: 100%;
    height: auto;
    margin: 0px auto;
    overflow: hidden;
    position: relative;
}

.bannerimg {
    background-blend-mode: multiply;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 10% 30%;
    max-width: 100%;
    height: 500px;
    z-index: 0;
    display: flex;
    align-items: center;
}

.faq .bannerimg {
    background-image: url("../images/tech_support/faq_header_bg.jpg");
    background-color: rgba(196, 196, 196, 0.7);
}

.tutorial .bannerimg {
    background-image: url("../images/tech_support/tutorial_header.jpg");
    background-color: rgba(0, 0, 0, 0);
    background-blend-mode: normal;
    background-position: 10% 60%;
}

.sources .bannerimg {
    background-image: url("../images/tech_support/resources_header.jpg");
    background-color: rgba(0, 0, 0, 0);
    background-blend-mode: normal;
    background-position: 10% 60%;
}

.FAQ_header {
    width: 100%;
    z-index: 1;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: #fff;
}

.FAQ_header h1 {
    font-weight: 400;
    line-height: 1.2;
    padding: 12px 5%;
}

.FAQ_header p {
    padding: 12px 5%;
    line-height: 1.7;
}

.FAQ_header .link_wrap {
    display: flex;
    justify-content: center;
    column-gap: 24px;
}

.FAQ_header .link_wrap>a {
    color: #fff;
}

.FAQ_header .link_wrap>a:hover {
    text-decoration: underline;
}

.filter_wrap {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.filter_inner_wrap {
    width: 50%;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
}

.tutorial .filter_inner_wrap {
    width: 40%;
}

.hidden {
    display: none;
}

.no-result {
    text-align: center;
}

/*reset select*/
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: transparent;
    border: none;
    padding: 0 1em 0 0;
    margin: 0;
    width: 100%;
    font-family: inherit;
    font-size: inherit;
    cursor: inherit;
    line-height: inherit;
    color: #30302F;
}

select::-ms-expand {
    display: none;
}

select {
    outline: none;
}

/*custom select*/
:root {
    --select-border: #777;
    --select-focus: #666;
    --select-arrow: var(--select-border);
}

select.option {
    cursor: pointer;
    font-size: 16px;
    line-height: 1.1;
    padding: 15px 40px 15px 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    width: 100%;
    text-overflow: ellipsis;
}

.contents .filter {
    margin: 0 10px;
    width: 33.3%;
    display: grid;
    grid-template-areas: "select";
    align-items: center;
    position: relative;
}

.tutorial .contents .filter {
    width: 50%;
}

select,
.contents .filter:after {
    grid-area: select;
}

.contents .filter::after {
    content: "";
    width: 0.8em;
    height: 0.5em;
    background: url("../images/tech_support/select_arrow.svg") no-repeat;
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    cursor: pointer;
}

select:focus+.focus {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 2px solid var(--select-focus);
    border-radius: 5px;
    cursor: pointer;
}

/*Articles*/
.article_wrap {
    margin: 0;
    width: 100%;
    height: auto;
    padding-bottom: 64px;
    padding-top: 56px;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    flex-direction: column;
}

.FilterContainer {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 1fr 1fr;
    width: 50%;
    background: #F8F8F8;
}

.item_wrap {
    text-align: left;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0);
    transition: all 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item_wrap:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.item_wrap .content {
    display: inline-block;
    text-align: left;
    padding: 20px;
    line-height: 1.7;
}

.link {
    color: #0097E0;
    padding: 20px;
    align-self: flex-end;
    font-weight: 300;
    font-size: 16px;
    font-family: inherit;
}

.link:hover {
    text-decoration: underline;
}

.no_answer {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.f30 {
    font-size: 1.3em;
    line-height: 1.7;
}

.link_wrap {
    display: flex;
    flex-direction: row;
}

.myBtn {
    background: #fff;
    border: #fff;
    cursor: pointer;
}

/* video tutorial */
.wrap {
    box-sizing: border-box;
}

.FilterContainer.tutorial {
    display: flex;
    flex-direction: column;
    grid-gap: 48px;
    width: 80%;
    max-width: 1200px;
    background: #F8F8F8;
    color: #30302F;
}

.video_wrap {
    height: 100%;
    max-height: 600px;
    text-align: left;
    display: flex;
    column-gap: 24px;
}

.video_wrap>.main_content {
    display: flex;
    flex-direction: column;
    justify-content: start;
    width: 100%;
}

.video_wrap .main_content h2 {
    font-size: 30px;
    color: #595959;
    width: 100%;
    font-weight: 500;
    line-height: 1.5;
}

.video_wrap .main_content .wrap>h3 {
    display: inline-block;
    color: #595959;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.5;
}

.video_wrap .main_content>.wrap>a {
    font-size: 16px;
    color: #0097e0;
    display: inline-block;
    margin: 0 0px 8px 8px;
}

.video_wrap .main_content>.wrap>a:nth-child(2) {
    margin-left: 16px;
}

.video_wrap .main_content>.wrap>a:hover {
    text-decoration: underline;
}

.video_wrap .video_wrap_inner {
    display: block;
    width: 100%;
}

.video_wrap .video-modal {
    display: inline-block;
    width: calc(100% - 400px);
    background: #30302F;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0);
    transition: all 0.3s;
}

.video_wrap .video-modal:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.video_wrap .video-modal-content {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}

.video_wrap iframe {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.panel {
    float: right;
    max-height: 100%;
}

.video_wrap .video_list {
    width: 380px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0);
    box-sizing: border-box;
    overflow: hidden;
    transition: all 0.3s;
}

.video_wrap .video_list>.wrap {
    height: 100%;
    overflow-y: auto;
}

.video_wrap .video_list:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}


/* 修改側邊滾輪 */
.video_wrap .video_list>.wrap::-webkit-scrollbar {
    width: 10px;
}

.video_wrap .video_list>.wrap::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0);
    border-radius: 10px;
}

.video_wrap .video_list>.wrap::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transition: all 0.3s;
}

.video_wrap .video_list>.wrap::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* 修改側邊滾輪 end */

.video_wrap .video_list h3 {
    font-weight: 400;
    color: #595959;
    line-height: 1;
    padding: 12px;
    margin: 12px 12px 8px 12px;
}

.video_wrap .video_list_btn {
    display: grid;
    grid-template-columns: 3fr 4fr;
    column-gap: 8px;
    padding: 12px;
    margin: 4px 12px;
    border-radius: 5px;
    color: #595959;
    transition: all 0.5s;
}

.video_wrap .video_list_btn:last-child {
    margin-bottom: 12px;
}

.video_wrap .video_list_btn:hover {
    text-decoration: none;
    background: #F4F4F4;
}

.video_wrap .video_list_btn .wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video_wrap .video_list_btn .wrap span {
    display: inline-block;
    width: 100%;
    margin-bottom: 8px;
    line-height: 1.5;
}

.video_wrap .video_list_btn img {
    border-radius: 5px;
    align-self: center;
}

.video_wrap .video_list_btn .wrap span:first-child {
    /* 超過2行的文字會被隱藏 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
    -ms-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.video_wrap .video_list_btn .wrap span:nth-child(2) {
    color: #999;
    margin: 0;
}

.selected {
    background: #F4F4F4;
}

/* resources page */
.sources h2 {
    text-align: center;
    margin: 0 auto;
    margin-bottom: 45px;
    max-width: 90%;
}

.sources .content_wrap {
    display: block;
    padding-bottom: 4%;
    padding-top: 4%;
}

/* tabs */

.events>section {
    max-width: 1300px;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
}

.tabs {
    display: flex;
    flex-direction: column;
    width: calc(var(--tab-width));
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.tabs>li {
    transition-duration: .25s;
    display: table-cell;
    list-style: none;
    text-align: center;
    padding: 16px 20px 20px 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    letter-spacing: 0.06em;
    color: #595959;
    border-radius: 50px 0 0 50px;
}

.tabs>li>p {
    line-height: 1;
    display: inline;
    position: relative;
}

.tabs>li.active p::before {
    content: "";
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: -2px;
    left: 0;
    background-color: #007ED4;
    transition: all 0.3s;
}

.tabs>li:before {
    z-index: -1;
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: all 0.3s;
}

.tabs>li.active {
    font-weight: 600;
}

.tabs>li:hover {
    color: #007ED4;
}

.tabs>li:hover img {
    filter: grayscale(0);
}

.tabs>li.active:before {
    transition-duration: .5s;
    background-color: white;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.tab__content {
    background-color: white;
    position: relative;
    width: calc(100% - var(--tab-width));
    min-height: 400px;
}

.tab__content>li {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    list-style: none;
}

.tab__content .no_pd {
    padding: 0;
    padding-bottom: 3em;
}

.tab__content .contents.no_mg {
    margin: 0 auto;
}

/* tabs  end*/

/* tabs contents */

.tab__content>li .content__wrapper {
    text-align: center;
    border-radius: 5px;
    width: 100%;
    padding: 24px;
    background-color: white;
    display: grid;
    grid-template-columns: calc(33.3% - 11px) calc(33.3% - 11px) calc(33.3% - 11px);
    grid-template-rows: auto;
    column-gap: 16px;
    row-gap: 24px;
    align-items: center;
    box-sizing: border-box;
}

.content__wrapper h3 {
    padding-bottom: 8px;
    border-bottom: 1px solid #595959;
    margin-bottom: 24px;
}

.content__wrapper a {
    color: #30302F;
}

.event_content {
    display: grid;
    grid-template-columns: 120px calc(100% - 136px);
    grid-template-rows: repeat(3, min-content);
    justify-items: start;
    column-gap: 16px;
    row-gap: 8px;
    padding: 12px;
    border-radius: 5px;
    text-align: left;
    color: #595959;
    line-height: 1.5;
    transition: all 0.3s;
}

.event_content:hover {
    background: #F9F9F9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.event_logo_wrap {
    grid-column: 1 / 2;
    grid-row: 1 / 4;
    padding: 12px;
    border-radius: 5px;
    height: 80px;
    width: 96px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

a.attend:hover .event_logo_wrap,
.event_content:hover .event_logo_wrap {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.event_logo_wrap>img {
    width: auto;
    max-width: 100%;
    max-height: 65px;
}

.event_content>* {
    align-self: center;
}

.event_content h4 {
    line-height: 1.4;
}

a.attend {
    position: relative;
    border-radius: 5px;
    transition: all 0.3s;
}

a.attend:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.attend .event_content {
    background-color: #F9F9F9;
    z-index: 2;
}

.attend .event_content:hover {
    box-shadow: none;
}

.attend .booth_number {
    display: flex;
    column-gap: 16px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    background-color: #007ED4;
    color: #fff;
    padding: 12px 16px;
    font-size: 20px;
    border-radius: 0 0 5px 5px;
}

.attend .booth_number>p>span {
    font-weight: 500;
}

.attend .booth_number>img {
    width: 80px;
}


/* tabs contents end */

/* documents */
.documents.content_wrap {
    background-color: #fff;
}

.documents>section {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

.splide__slide {
    display: flex;
    justify-content: center;
}

.splide__arrow {
    background: #fff;
    height: 2.5em;
    width: 2.5em;
}

.splide__arrow svg {
    fill: rgb(72, 72, 72);
    height: 1.5em;
    width: 1.5em;
}

.splide__arrow--prev {
    left: 0em;
}

.splide__arrow--next {
    right: 0em;
}

.splide__pagination {
    display: none;
}

.media.content_wrap {
    background-color: #fff;
    padding: 24px 0 120px 0;
}

.media>section {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.media>.splide_media img {
    height: 50px;
}

.media>.splide_media .splide__arrow--prev,
.media>.splide_media .splide__arrow--next {
    display: none;
}

/*RWD*/
@media only screen and (max-width: 1440px) {
    .filter_inner_wrap {
        width: 60%;
    }

    .tutorial .filter_inner_wrap {
        width: 60%;
    }

    .FilterContainer {
        width: 60%;
    }

    .tab__content>li .content__wrapper {
        grid-template-columns: calc(50% - 12px) calc(50% - 12px);
        column-gap: 24px;
    }

    .event_content {
        grid-template-columns: 150px calc(100% - 166px);
    }

    .event_logo_wrap {
        width: 126px;
        height: 60px;
    }

    .event_logo_wrap>img {
        max-height: 60px;
    }
}

@media only screen and (max-width: 1366px) {
    .video_wrap {
        max-height: 520px;
    }

    .events>section {
        max-width: 1024px;
    }

    .documents>section {
        max-width: 1024px;
    }
}

@media only screen and (max-width: 1024px) {
    .filter_inner_wrap {
        width: 80%;
    }

    .tutorial .filter_inner_wrap {
        width: 80%;
    }

    .FilterContainer {
        width: 80%;
    }

    .video_wrap {
        max-height: none;
        flex-direction: column;
        row-gap: 24px;
        margin: 24px 0;
    }

    .video_wrap .video-modal {
        width: 100%;
    }

    .panel {
        width: 100%;
        margin-top: 12px;
    }

    .video_wrap .video_list {
        width: 100%;
        max-height: 400px;
    }

    .video_wrap .video_list_btn {
        grid-template-columns: 100px auto;
    }

    .video_wrap .video_list_btn .wrap span:first-child {
        -webkit-line-clamp: 1;
        -moz-line-clamp: 1;
        -ms-line-clamp: 1;
        line-clamp: 1;
    }

    .events>section {
        max-width: 80%;
    }

    .splide__arrow--prev {
        left: -4em;
    }

    .splide__arrow--next {
        right: -4em;
    }

    .tab__content>li .content__wrapper {
        grid-template-columns: 100%;
    }

    .documents>section {
        max-width: 80%;
    }
}

@media only screen and (max-width: 768px) {
    .tutorial .bannerimg {
        background-position: 50% 60%;
    }

    .FilterContainer.tutorial {
        width: 90%;
    }

    .filter_inner_wrap {
        width: 60%;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .contents .filter {
        width: 100%;
    }

    .FilterContainer {
        width: 90%;
    }

    .video_wrap .main_content .wrap>h3 {
        width: 100%;
    }

    .video_wrap .main_content>.wrap>a:nth-child(2) {
        margin-left: 0;
    }

    .sources h2 {
        margin-bottom: 24px;
    }

    .events>section {
        max-width: 90%;
    }

    .documents>section {
        max-width: 90%;
    }

    .splide__arrow--prev {
        left: 0em;
    }

    .splide__arrow--next {
        right: 0em;
    }

    .tab__content>li .content__wrapper {
        padding: 24px 12px;
    }

    .event_content {
        grid-template-columns: 100px calc(100% - 116px);
    }

    .event_logo_wrap {
        width: 76px;
    }

    .attend .booth_number>img {
        width: 70px;
    }
}

@media only screen and (max-width: 600px) {
    .tutorial .contents .filter {
        width: 100%;
    }

    .events>section {
        flex-direction: column;
    }

    .tab__content {
        width: 100%;
    }

    .tabs {
        flex-direction: row;
    }

    .tabs>li {
        border-radius: 10px 10px 0 0;
    }

}

@media only screen and (max-width: 500px) {
    .FilterContainer {
        grid-template-columns: 1fr;
    }

    .filter_inner_wrap {
        width: 80%;
    }
}

@media only screen and (max-width: 375px) {
    .filter_inner_wrap {
        width: 90%;
    }
}