﻿@charset "UTF-8";
@import url(notosanssc.css);

/* Common */
:root {
    --mainGreen: #11d1b5;
    --whiteGray: #f4f4f4;
    --lightGray: #ededed;
    --darkGray: #646464;
    --lightText: #646464;
    --darkText: #323232;
    --disabledColor: #EBEBE4;

    --fs-xs: 12px;
    --fs-sm: 14px;
    --fs-md: 16px;
    --fs-lg: 18px;
    --fs-xl: 20px;
    --fs-xxl: 22px;
    --fs-xxxl: 24px;
}


html {
	/* your css to create a cover image */
	/* padding: env(safe-area-inset); */
}

html, body {
	font-size: var(--fs-md);
    /* 這一行造成滑動不順申滿 */
	/* overflow-x: hidden; */
	/* 這一行會影響Fit Cover */
	font-family: 'Noto Sans TC', 'Noto Sans SC', '微軟正黑體', sans-serif;
	color: var(--darkText);
}

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
}

* {
    line-height: 1.5em;
}

*, *:before, *:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

/*
a {
	text-decoration: none;
	color: inherit;
}
*/

a:hover, a:focus {
	text-decoration: none;
}

img {
	max-width: 100%;
}

div {
    overflow: hidden;
}

span {
    white-space: nowrap;
}

/* 這是給搜尋引擎看的，樣式是另外設定 */
h1, h2, h3, h4, h5, h6{
	font-size: unset;
	font-weight: bold;
	margin-top: 0.25em;
	margin-bottom: 0.25em;
}

h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child{
	/*margin-top: 0;*/ /*正確行為是只有在整頁的最上方才會自動設為0*/
}

p{
	margin-top: 0.25em;
	margin-bottom: 0.25em;
}

:first-child {
	/*margin-top: 0;*/ /*正確行為是只有在整頁的最上方才會自動設為0*/
}

hr{
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

select {
    width: 95px;
    background-color: #fff;
    border: 1px solid #ccc;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    padding: 4px 6px;
    color: #555;
    border-radius: 4px;
}

/*
select ~ select {
    margin-left: 4px;
}
*/
.workDropBar > *{
    margin: 0 2px;
}

input, textarea {
    font-size: var(--fs-sm);
    border: 1px solid var(--lightGray);
    border-radius: 4px;
    padding: 0 4px;
	box-sizing: content-box;
}

textarea {
    min-height: 40px;
}

button, input[type="button"], input[type="reset"], input[type="submit"], .blueButton, .whiteButton, .orangeButton {
    margin-left: 0.5em;
    margin-right: 0.5em;
}

input[type="radio"] {
    margin-left: 0.5em;
    margin-right: 0.25em;
}

button, input[type="button"], input[type="reset"], input[type="submit"], *[onclick]:hover {
    cursor: pointer;
}

input:focus, textarea:focus {
    outline: none;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: rgba(0, 0, 0, 0.3);
    opacity: 1; /* Firefox */
}
::-ms-input-placeholder { /* Microsoft Edge */
    color: rgba(0, 0, 0, 0.3);
}

.context-4l {
    font-size: var(--fs-xxxl);
}
.context-3l {
    font-size: var(--fs-xxl);
}
.context-2l {
    font-size: var(--fs-xl);
}
.context-1l {
	font-size: var(--fs-lg);
}
.context {
	font-size: var(--fs-md);
}
.context-1s {
    font-size: var(--fs-sm);
}
.context-2s {
    font-size: var(--fs-xs);
}

.gap-32, .pa-16 {
    padding: 16px;
}

.gap-32 > *, .cma-16 > *, .ma-16 {
    margin: 16px;
}

.cma-16 {
    margin: -16px;
}

.gap-16, .pa-8{
    padding: 8px;
}

.gap-16 > *, .cma-8 > *, .ma-8 {
    margin: 8px;
}

.cma-8 {
    margin: -8px;
}

.gap-8, .pa-4 {
    padding: 4px;
}

.gap-8 > *, .cma-4 > *, .ma-4 {
    margin: 4px;
}

.cma-4 {
    margin: -4px;
}

.gap-4, .pa-2 {
    padding: 2px;
}

.gap-4 > *, .cma-2, .ma-2 {
    margin: 2px;
}

.cma-2 {
    margin: -2px;
}

.mapInfoTitle {
    margin-top: 16px;
    font-size: var(--fs-lg);
    font-weight: normal;
}

.banner {
    max-width: 1500px;
    padding: 0px 2vw;
    margin: 64px auto;
}

.bannerNew {
    display: flex;
    width: 100vw;
    max-width: 1500px;
    padding: 64px 2vw;
    margin: 0 auto;
}

.bannerItemContainer{
    width: 0;
    height: 0;
    overflow: no-display;
}

.bannerItem{
    position: absolute;
}

.bannerLine {
    stroke-width: 2;
}

.bannerTextWrapper {
    border: 3px solid white;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.bannerText1 {
    display: none;
    text-align: center;
}

.bannerText2 {
    text-align: center;
}

.bannerCircleSelected {
    animation: borderBlink 1s infinite;
    filter: drop-shadow(2px 4px 6px black);
}
.bannerTextChanged {
    animation: textBump 0.6s ease-in;
}

.pageSection {
    max-width: 1500px;
    padding: 0px 2vw;
    margin: auto;
    min-height: calc(100vh - 300px);
    margin-top: 16px;
    margin-bottom: 16px;
}

.minMarginTop {
	line-height: 1em;
	margin-top: 0.5em;
	margin-bottom: 0;
}

.minMarginCenter {
	line-height: 1.5em;
	margin-top: 0;
	margin-bottom: 0;
}

.minMarginBottom {
	line-height: 1em;
	margin-top: 0;
	margin-bottom: 0.5em;
}

.flexHr {
    width: 100%;
    border-top: 1px solid;
}

.flexVr {
    height: 100%;
    border-left: 1px solid;
}

.centerBox {
	display: flex;
	align-content: center;
	align-items: center;
	justify-content: center;
}

.betweenBox {
    display: flex;
    align-content: space-between;
    justify-content: space-between;
}

.aroundBox {
    display: flex;
    align-content: space-around;
    justify-content: space-around;
}

.flexCol {
	display: flex;
	flex-direction: column;
}

.flexRow {
	display: flex;
	flex-direction: row;
	flex-shrink: 0; /* For Safari Fix */
}

.flexAllStart {
	align-content: flex-start;
	align-items: flex-start;
	justify-content: flex-start;
}

.flexAllCenter {
	align-content: center;
	align-items: center;
	justify-content: center;
}

.flexAllEnd {
	align-content: flex-end;
	align-items: flex-end;
	justify-content: flex-end;
}

.flexAllStretch {
	align-content: stretch;
	align-items: stretch;
	align-items: stretch;
}

.headerContainer {
	display: flex;
	flex-wrap: wrap;
	min-height: 40px;
	padding: 0 2vw;
	justify-content: space-between;
	align-items: center;
}

.scaleImg {
	transform: scale(1, 1);
	transition: all 0.2s ease-out;
}

.scaleImg:hover {
	transform: scale(1.1, 1.1);
}


.searchBar {
	height: 26px;
	width: 210px;
	/*max-width: 200px;
    width: 100%;*/
	border-radius: 20px;
	padding: 0 36px 0 10px;
	border-style: solid;
	border-width: 1px;
}

.searchBtn {
    height: 28px;
    line-height: 28px;
    padding-left: 5px;
    padding-right: 5px;
    color: #000;
    background-color: #cccdcd;
    border-radius: 5px;
    border: 1px solid #fff;
    text-align: center;
 }

.searchEngineBtn {
    height: 26px;
    width: 34px;
    background-image: url(../../images/searchBarBtn.png);
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    border: none;
    margin: 0 !important;
}

.cardContainer {
    margin: -16px;
    width: auto !important; /* 為了要把width 100%清除掉*/
    flex-wrap: wrap;
    justify-content: space-around;
}

.cardContainer > .myCard{
	margin: 16px;
}

.myCard {
	display: flex; /* From bootstrap */
	flex-flow: column; /* From bootstrap */
	flex-grow: 1;
	overflow: hidden;
	margin: 0px;
	padding: 0px;
	font-size: var(--fs-sm);
	border-radius: 5px;
	border-width: 0;
}
.myCardManage {
    position: absolute;
    white-space: nowrap;
}

.myCard .myCardContent {
    padding: 16px;
}

.singleLine {
    white-space: nowrap;
    overflow: hidden;
}

.virtualCard {
    padding: 0px !important;
    height: 0px !important;
    min-height: 0px !important;
}

.serviceCard {
    /*org width 270px*/
    flex: 1 1 250px;
    min-width: 250px;
    max-width: 300px;
    min-height: 305px;
}

.serviceCard1 {
    /*org width 190px*/
    flex: 1 1 170px;
    min-width: 170px;
    max-width: 220px;
    min-height: 210px;
}

.horGap ~ .horGap {
	margin-left: 20px; /* 只有後面元件會生效 */
}

.verGap ~ .verGap {
	margin-top: 20px; /* 只有後面元件會生效 */
}

.section {
	margin: 32px 0;
	text-align: center;
	align-items: center;
}

/* Response Area */
.rspGap {
    margin: 8px 0.5vw;
}

.tradeMethodGap {
    margin-left: 4px;
}

.rspGapDetailMain {
}

/* l1 area : 0~600px */
@media (max-width: 600px) {
    .rsp-wrap-l1 {
        flex-wrap: wrap !important;
    }
    .rsp-wrap-l2 {
        flex-wrap: nowrap !important;
    }
    .rsp-wrap-l3 {
        flex-wrap: nowrap !important;
    }
    .rsp-wrap-gel2 {
        flex-wrap: nowrap !important;
    }
    .rsp-wrap-lel2 {
        flex-wrap: wrap !important;
    }

    .rsp-flow-l1 {
        flex-flow: column !important;
    }
    .rsp-flow-l2 {
        flex-flow: row !important;
    }
    .rsp-flow-l3 {
        flex-flow: row !important;
    }
    .rsp-flow-gel2 {
        flex-flow: row !important;
    }
    .rsp-flow-lel2 {
        flex-flow: column !important;
    }

    .rsp-show-l1 {
        display: flex !important;
    }
    .rsp-show-l2 {
        display: none !important;
    }
    .rsp-show-l3 {
        display: none !important;
    }
    .rsp-show-gel2 {
        display: none !important;
    }
    .rsp-show-lel2 {
        display: flex !important;
    }

    /* Customized Area*/
    .rspGap {
        width: 100%;
    }

    .filterAsideMenu {
        position: absolute;
        right: calc(100%);
        top: 50px;
        overflow: auto;
        height: calc(650px);
        transition: 0.5s;
        z-index: 1;
        overflow: visible;
    }
}

/* l2 area : 601~1000px*/
@media (min-width: 601px) and (max-width: 1000px) {
    .rsp-wrap-l1 {
        flex-wrap: nowrap !important;
    }
    .rsp-wrap-l2 {
        flex-wrap: wrap !important;
    }
    .rsp-wrap-l3 {
        flex-wrap: nowrap !important;
    }
    .rsp-wrap-gel2 {
        flex-wrap: wrap !important;
    }
    .rsp-wrap-lel2 {
        flex-wrap: wrap !important;
    }

    .rsp-flow-l1 {
        flex-flow: row !important;
    }
    .rsp-flow-l2 {
        flex-flow: column !important;
    }
    .rsp-flow-l3 {
        flex-flow: row !important;
    }
    .rsp-flow-gel2 {
        flex-flow: column !important;
    }
    .rsp-flow-lel2 {
        flex-flow: column !important;
    }

    .rsp-show-l1 {
        display: none !important;
    }
    .rsp-show-l2 {
        display: flex !important;
    }
    .rsp-show-l3 {
        display: none !important;
    }
    .rsp-show-gel2 {
        display: flex !important;
    }
    .rsp-show-lel2 {
        display: flex !important;
    }

    /* Customized Area*/
    .rspGapDetailMain {
        width: 16px;
        margin: 8px 0.5vw;
    }

    .filterAsideMenu {
        position: absolute;
        right: calc(100%);
        top: 50px;
        overflow: auto;
        height: calc(650px);
        transition: 0.5s;
        z-index: 1;
        overflow: visible;
    }
}

/* l3 area : 1001 ~ ?*/
@media (min-width: 1001px) {
    .bannerNew {
        font-size: 0.96vw;
        height: 46vw;
    }
    .bannerText1 {
        font-size: 2.8vw;
    }

    .bannerText2 {
        font-size: 2.8vw;
    }

    .rsp-wrap-l1 {
        flex-wrap: nowrap !important;
    }
    .rsp-wrap-l2 {
        flex-wrap: nowrap !important;
    }
    .rsp-wrap-l3 {
        flex-wrap: wrap !important;
    }
    .rsp-wrap-gel2 {
        flex-wrap: wrap !important;
    }
    .rsp-wrap-lel2 {
        flex-wrap: nowrap !important;
    }

    .rsp-flow-l1 {
        flex-flow: row !important;
    }
    .rsp-flow-l2 {
        flex-flow: row !important;
    }
    .rsp-flow-l3 {
        flex-flow: column !important;
    }
    .rsp-flow-gel2 {
        flex-flow: column !important;
    }
    .rsp-flow-lel2 {
        flex-flow: row !important;
    }

    .rsp-show-l1 {
        display: none !important;
    }
    .rsp-show-l2 {
        display: none !important;
    }
    .rsp-show-l3 {
        display: flex !important;
    }
    .rsp-show-gel2 {
        display: flex !important;
    }
    .rsp-show-lel2 {
        display: none !important;
    }

    /* Customized Area*/
    .rspGapDetailMain {
        width: 16px;
        margin: 8px 0.5vw;
    }
}

/* l3 area : 1005 ~ ?*/
@media (min-width: 1501px) {
    .bannerNew {
        font-size: 14.4px;
        height: 690px;
    }
    .bannerText1 {
        font-size: 42px;
    }
    .bannerText2 {
        font-size: 42px;
    }
}

.sideMenuField {
	margin: 12px 0;
}

.sideMenuCol1 {
	width: 35%;
	justify-content: flex-end;
	padding-right: 4px;
	text-align: right;
}

.sideMenuCol2 {
	width: 65%;
	justify-content: flex-start;
}

.myRadioCon {
	position: relative;
	display: inline-block;
}

.myRadioCon input {
	appearance: none; /*清楚默认样式*/
	-webkit-appearance: none;
	opacity: 0;
	outline: none;
	/* 注意不能设置为display:none*/
	width: 20px;
}

.modalContainer, .blurModalContainer {
	display: flex;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
}

.modalContainer {
	background-color: rgba(0, 0, 0, 0.60);
}

.modalPopupSmall {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0px 40px 0 rgba(0, 0, 0, 0.2), 0 0px 40px 0 rgba(0, 0, 0, 0.2);
    min-width: 350px;
    max-width: 90%;
}

.modalPopupLarge {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0px 40px 0 rgba(0, 0, 0, 0.2), 0 0px 40px 0 rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 600px;
    max-height: 90%;
}

.faqPopupIEYI {
    position: relative;
    width: 90%;
    height: 90%;
    max-width: 600px;
    max-height: 600px;
    background: #ffb0b0;
    padding: 32px;
    overflow: visible;
}

.htmlContainer *{
    white-space: pre-wrap;
}

.approvalHtmlContainer {
    border: solid 1px var(--lightGray);
}

table * {
    white-space: normal;
    word-break: break-word;
}

.informationPopupIEYI {
    position: relative;
    width: 90%;
    height: 90%;
    max-width: 600px;
    max-height: 600px;
    background: #ffd67b;
    padding: 32px;
    overflow: visible;
}

.forgetPassPopup {
    width: 600px;
    padding: 60px;
    color: white;
    background: #4e4a9b;
}

.btnForgetSend {
    width: 55px;
    line-height: 26px;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    border: 1px solid #fff;
}

.formControl {
    width: 100%;
    max-width: 180px;
}

.formActionField {
    margin-top: 16px;
}

.popupFormField {
    border-top: 1px solid var(--lightGray);
    border-bottom: none;
    border-left: none;
    border-right: none;
    padding: 8px 16px;
    align-items: center;
}

.popupContents{
    width: 90%;
    max-width: 500px;
    min-height: 30%;
    max-height: 90%;
}

.popupForm {
    flex: 1 1 60%;
    align-items: stretch;
    background-color: white;
    border: 0px solid var(--lightText);
    font-size: var(--fs-sm);
    height: 100%;
}

.popupHeaderWrap {
    justify-content: flex-end;
    align-items: center;
    border-radius: 5px 5px 0 0;
}

.popupHeaderTitle {
    margin: 0 auto;
    line-height: 1em;
    padding: 16px;
}

.popupHeaderClose {
    position: absolute;
    right: -16px;
    top: -16px;
}

.popupContentWrap {
    align-items: center;
    overflow: auto;
    padding: 16px;
}

.popupCloseButton {
    float: right;
    font-size: 20px;
    font-weight: bold;
    line-height: 20px;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .2;
}

.popupForm .fieldName {
    width: 20%;
    max-width: 100px;
    margin-right: 12px;
}

.searchEngine{
    width: 80%;
}

.searchEngine .fieldName {
    width: 30%;
    max-width: 150px;
    margin-right: 12px;
}

.popupForm .text-danger {
    margin-left: 16px;
}

.blurPopupHeaderWrap {
    color: white;
    font-size: var(--fs-lg);
    min-height: 40px;
}

.blurPopupHeaderTitle {
    margin: 0 auto;
}
.blurPopupHeaderClose {
    padding: 4px;
    width: 30px;
}

.iframe {
    border: none;
}

.image-upload-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    margin-right: 4px;
}

.image-upload-wrapper > input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.image-upload-wrapper > .image-upload-btn {
    padding: 0;
    border-radius: 5px;
    border: 1px solid rgba(223,223,223,0.8);
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.image-upload-wrapper > .image-delete-btn {
    position: absolute;
    z-index: 1;
    transform: translate(35px, -58px);
}


footer {
    color: white;
    text-align: center;
    padding: 24px 2vw !important;
    display: flex;
    flex-flow: column;
    background-image: url(../../images/footer_back.png);
    background-size: calc(60% + 200px);
    background-position: right bottom;
    background-repeat: no-repeat;
}

footer hr {
    border: 2px solid white;
    width: 100%;
    max-width: 120px;
}

.loadingAnimWrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.loadingAnim {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 60px;
    height: 60px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* IEYI */
.newsGrid{
    border: white solid 1px;
    padding: 8px;
    border-radius: 5px;
}

.newsGrid ~ .newsGrid{
    margin-left: 4px;
}

.magicLine {
    color: white;
    border-bottom: 3px solid #fdbe00;
    width: max-content;
    margin-bottom: 20px;
    padding: 2px 10px;
}

.worksTag {
    padding: 2px 10px;
    margin-bottom: 20px;
}

.worksTagSelected {
    color: white;
    border-bottom: 3px solid #fdbe00;
    padding: 2px 10px;
    margin-bottom: 20px;
}

.infoField1{
    flex: 1 1 120px;
    word-break: break-all;
}

.infoField2 {
    flex: 1 1 120px;
    word-break: break-all;
}

.infoField3 {
    flex: 1 1 500px;
    word-break: break-all;
}

.infoField4 {
    flex: 1 1 120px;
    word-break: break-all;
}

.infoField5 {
    flex: 0 1 90px;
}

.contestField1 {
    flex: 0 1 330px;
    word-break: break-all;
}

.contestField2 {
    flex: 1 1 1000px;
    word-break: break-all;
}

.contestField3 {
    flex: 1 1 500px;
    min-height: 84px;
}

.faqField1 {
    flex: 0 1 330px;
    word-break: break-all;
}

.faqField2 {
    flex: 1 1 1000px;
    word-break: break-all;
}

.faqField3 {
    flex: 1 1 500px;
    word-break: break-all;
}

.workField1 {
    flex: 0 1 330px;
    word-break: break-all;
}

.workField2 {
    flex: 1 1 1000px;
    word-break: break-all;
}

.boundaryImage{
    max-width: unset;
}

.segmentGrid{
    padding: 64px 5%;
}

.segmentGrid, .indexHeader{
    max-width: 1500px;
    margin: 0 auto;
}

.indexHeader a{
    color: white;
}

/* 針對性愈高，優先權就愈高，這樣才不會被bootstrap覆蓋*/
.loginInput{
    background-repeat: no-repeat;
    background-color: transparent;
    border:  none;
    padding: 4px 4px 4px 26px;
    height: 14px;
}

.menuText{
    padding-left: 8px;
    padding-right: 8px;
    color: white;
}

.turnPage{
    display: flex;
    height: 26px;
}


.btnTurnPage{
    margin-left: 16px;
}

.activeImg {
    width: 245px;
    height: 140px;
    margin: 5px;
    border: 1px solid white;
    object-fit: cover;
    border-radius: 4px;
}

[class^='signup-'] {
}

.signupContent {
    font-size: 16px;
    max-width: 1500px;
    padding: 0px 60px;
    margin: auto;
    min-height: calc(100vh - 300px);
    margin-top: 16px;
    margin-bottom: 16px;
}

.signupTitle {
    font-weight: bold;
    font-size: 16px;
}

.signupContent .flexCol1 {
    flex: 1 1 50%;
}

.signupContent .flexCol2 {
    flex: 1 1 100%;
}

.signupContent .fileUploadCol2 {
    margin-left: 20px;
}

.signupSaveWrapper {
    width: 100%;
    justify-content: flex-end;
    margin-bottom: 40px;
}

.btnPrevious {
    position: absolute;
    width: 55px;
    text-align: center;
    color: #000;
    cursor: pointer;
    background-color: #fff;
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    border: 2px solid #ccc;
}

.declareContent {
    border: 6px solid #11d1b5;
    border-radius: 15px;
    height: 400px;
    overflow: auto;
}

.workStepItem {
}

.workMemberField {
    width: 300px;
    display: inline-flex;
    box-sizing:border-box;
    padding: 0;
    margin: 2px 8px;
}

.indexAnchor {
    position: absolute;
    transform: translate(0, -140px); /*修正前往連結時的位置差*/
}

.requiredField {
}
.requiredField::before{
    content: "*";
    color: red;
    position: absolute;
    transform: translate(-10px, 0);
}

.disableAll, .disableAll > * {
    color: lightgray !important;
    pointer-events: none;
}