@font-face {
    font-family: Fjalla One;
    src: local("Fjalla One") , url('../fonts/FjallaOne-Regular.woff') format('woff');
}

/* 日文網站用字體 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');

:lang(jp) * {
    font-family: 'Noto Sans JP', sans-serif;
}

:lang(ar){
	direction:rtl;
}

    .material-symbols-outlined {
        font-family: 'Material Symbols Outlined'!important;
    }
    body {
        scroll-behavior: smooth;
        background-color: #202329;
    }
	
	main {
        background-image: url(../imgs/background/main_white_bg.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
        background-position: center top;
        margin-top: 85px;
    }
	/* 解決捲動時背景異常問題 */
    main:before {
        content: ' ';
        position: fixed;
        z-index: -1;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
		/*background: url(../imgs/background/main_white_bg.jpg) center 0 no-repeat;*/
		background-image: inherit;
        background-size: cover;
    }
    ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    p {
        margin: 0;
        font-size: 16px;
        line-height: 1.75rem;
    }
    a {
        text-decoration: none;
    }
    h1,h2,h3,h4 {
        font-weight: bold;
        margin: 0;
        padding: 0;
    }
    * {
        outline: none;
    }
    .bg-cover {
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }
	.dark_bg {
        background-image: url(../imgs/background/main_blue_bg.jpg);
    }
	.hidden {
	  display: none !important;
	}

    /* 內頁title start */
    .head_title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 2rem 0;
    }
    .head_title h1 {
        font-family: 'Fjalla One', sans-serif;
        text-transform: uppercase;
        line-height: 50px;
        color: #202329;
        margin-bottom: -5px;
    }
    @media screen and (max-width:991px) {
        .head_title h1 {
            font-size: 36px;
        }
    }
    @media screen and (max-width: 767px) {
        .head_title {
            flex-direction: column;
            align-items: center;
            margin-bottom: 0;
        }
        .head_title h1 {
            width: 100%;
            text-align: center;
            margin-bottom: 2rem;
        }
        .head_title .d-flex {
            margin: 0 auto 2rem;
            width: 100%;
        }
    }
    /* 內頁title end */


    /* 麵包屑 start */
    .breadcrumbs {
        margin-bottom: 2rem;
    }
    .breadcrumbs p {
        color: #202329;
        font-size: 13px;
        display: flex;
        align-items: center;
    }
    .breadcrumbs img {
        filter: invert(9%) sepia(10%) saturate(1108%) hue-rotate(181deg) brightness(95%) contrast(88%);
        height: 12px;
        margin: 0 3px;
    }
    .breadcrumbs a {
        color: #202329;
    }
    .breadcrumbs a:hover {
        color: #00bbff;
        text-decoration: underline;
    }
    .whitecrumbs p, .whitecrumbs a {
        color: #fff;
    }
    .whitecrumbs img {
        filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(29deg) brightness(100%) contrast(106%);
    }
    :lang(ar) .breadcrumbs img {
        transform:rotate(180deg);
    }
    @media screen and (max-width:991px) {
        .breadcrumbs {
            margin-bottom: 1rem;
        }
    }
    /* 麵包屑 end */


    /* 下拉選單 start */
    .dropdown_box .btn-secondary {
        background-color: #fff;
        border-radius: unset;
        border: 3px solid #202329;
        min-width: 240px;
        height: 48px;
        text-align: left;
        display: flex;
        align-items: center;
        padding: 0 14px;
    }
    .dropdown_box .btn-secondary img {
        filter: invert(9%) sepia(10%) saturate(1108%) hue-rotate(181deg) brightness(95%) contrast(88%);
        height: 30px;
    }
    .dropdown_box .btn-secondary:focus {
        box-shadow: none;
        background-color: #fff;
    }
    .dropdown_box .btn-secondary p {
        color: #303239;
        font-size: 16px;
        flex-grow: 1;
        font-weight: bold;
    }
    .dropdown_box .btn-secondary span {
        color: #303239;
        font-size: 30px;
        margin-right: -6px;
    }
    .dropdown_box .dropdown-menu {
        box-shadow: 0 3px 6px 0 rgba(0,0,0,0.2);
        font-size: 16px;
        transform: translate(0px, 50px)!important;
        border-radius: 0;
        border: none;
        width: auto;
        min-width: 100%;
        overflow-y: scroll;
        max-height: 300px;
    }
    .dropdown_box .dropdown-menu li {
        background-color: unset;
        border-radius: unset;
        padding: 0;
        color: #202329;
    }
    .dropdown_box .dropdown-menu span {
        width: 100%;
        display: block;
        padding: 0.5rem 1rem;
        cursor: pointer;
        color: #202329;
    }
    .dropdown_box .dropdown-menu span:hover {
        border-radius: 0;
        background-color: #e4e4e4;
    }
    :lang(ar) .dropdown_box .btn-secondary {
        text-align: right;
    }
    @media screen and (max-width: 767px) {
        .dropdown_box {
            width: 100%!important;
        }
        .dropdown_box .btn-secondary {
            width: 100%!important;
            min-width: unset;
        }
        .head_title .dropdown_box {
            margin: 0 0 2rem;
        }
    }
    /* 下拉選單 end */


    /* 搜尋input start */
    .d-flex {
        background-color: #fff;
        border: 3px solid #202329;
        height: 48px;
        margin-bottom: -1px;
        width: 240px;
    }
    .d-flex input {
        background-color: unset;
        border: unset;
        border-radius: 0;
        margin: 0!important;
        padding: 0 1rem;
    }
    .form-control:focus {
        box-shadow: none!important;
    }
    .btn:focus {
        box-shadow: none!important;
    }
    .d-flex button {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #00bbff;
        border: unset;
        border-radius: 0;
        padding: 0;
        transition: 0.3s;
    }
    .d-flex button:hover {
        background-color: #00bbff;
    }
    .d-flex button img {
        filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(29deg) brightness(100%) contrast(106%);
        height: 32px;
        padding: 0 6px;
    }
    .d-flex .hvr-bubble-left:before {
        border-color: transparent #00bbff transparent transparent;
    }
    :lang(ar) .d-flex button {
        transform:rotate(180deg);
    }
    :lang(ar) .d-flex button img {
        transform:rotate(180deg);
    }
    /* 搜尋input start */


    /* more button start */
    .more_button {
        display: flex;
        justify-content: center;
        margin-top: 4rem;
    }
    .more_button span {
        color: #fff;
        font-size: 20px;
        margin-left: 4px;
        font-weight: 600;
    }
    .more_button button:hover span {
        transform: rotate(360deg);
        transition: 0.8s;
    }
    :lang(ar) .more_button span {
        margin-left: 0;
        margin-right: 4px;
    }
    /* more button start */


    /* 通用按鈕 start */
    .conv_btn {
        display: flex;
        align-items: center;
        background-color: #202329;
        border: unset;
        color: #fff;
        font-size: 16px;
        font-weight: bold;
        padding: 8px 20px;
        border-radius: 4px;
        text-align: center;
        min-height: 48px;
    }
    .conv_btn .reload_img {
        filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(29deg) brightness(100%) contrast(106%);
        height: 24px;
        margin-left: 4px;
    }
    .conv_btn:hover {
        background-color: #00bbff;
        border: unset;
        color: #fff;
        transition: 0.3s;
    }
    .conv_btn:hover img {
        transform: rotate(360deg);
        transition: 0.8s;
    }
    :lang(ar) .conv_btn .reload_img {
        margin-left: 0;
        margin-right: 4px;
    }
    /* 通用按鈕 end */


    /* 新聞日期 start */
    .news_date {
        color: #00bbff;
        margin-bottom: 10px;
        font-size: 13px;
        font-weight: bold;
        text-transform: uppercase;
    }
    /* 新聞日期 end */
    
@media screen and (max-width:991px) {
}
@media screen and (max-width: 767px) {
    main {
        margin-top: 70px;
    }
}