@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');


:root {
    --standard-color: #FF735D;
    --xs-space: .5rem;
    --s-space: .75rem;
    --r-space: 1rem;
    --L-space: 1.25rem
}

* {
    box-sizing: border-box;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

ol {
    list-style: none;
    padding: 0;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
    color: #000;
    display: inline-block;
}




/*---------------------------*/


body {
    background: #c4c4c4;
    line-height: 1.5;
    font-family: 'Noto Sans TC', 'Noto Sans', sans-serif;
}

h1 {
    color: white;

}

h2,
h3,
h4 {
    margin: 0;
}

header {
    display: flex;
    position: fixed;
    top: 0;
    z-index: 999;
    width: 100%;
    background: var(--standard-color);
    min-width: 320px;
    max-width: 500px;
    padding: var(--L-space);
    justify-content: space-between;
    align-items: stretch;
}

html {
    scroll-behavior: smooth;
}

#mainMenu {
    position: fixed;
    bottom: 0px;
    z-index: 999;
    height: auto;
    box-sizing: border-box;
    width: 100%;
    min-width: 320px;
    max-width: 500px;

}

#mainMenu a.navLink {
    color: rgb(255, 255, 255);
    padding: var(--s-space) 0;
    text-align: center;
}


.navImg {
    margin-bottom: 5px;
    display: block;
}

#mainMenu .navImg img {
    margin: 0 auto;
}



.navLink {
    flex: 1;
    text-align: center;
}

.mainMenuWrap {
    background-color: #505050;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    /* border-radius: 9999px; */
    margin: 0 auto;
}

h1.mainTit {
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.2em;
    display: flex;
    flex-flow: column;
    height: 100%;
}

h1.mainTit span.sub {
    font-size: 12px;
    line-height: 1.2em;
}

h1.certData {
    margin: 0 var(--s-space) 0 var(--s-space);
    padding-top: var(--s-space);
    text-align: center;
}

h2.certData {
    text-align: center;
    margin: 0 var(--s-space) var(--s-space) var(--s-space);
    color: white;
}

.lan a,
.lan a:link {
    border: 1px #fff solid;
    /* padding: 6px 8px; */
    align-content: center;
    margin: 1px 0;
    color: #fff;
    height: 100%;
    display: block;
    min-width: 4.5rem;
    box-sizing: border-box;
    text-align: center;
}


.lan a:hover {
    color: var(--standard-color);
    background-color: white;
    color: var(--standard-color);

}

.title,
.highLight {
    color: var(--standard-color);
}

.alertWrapPos,
#mainWrap {
    width: 100%;
    min-width: 320px;
    max-width: 500px;

}

.alertWrapPos {
    position: fixed;
    height: 100vh;
    z-index: 999;
    top: 0;
    left: auto;
    display: none;
}

#mainWrap {
    background: var(--standard-color);
    /* padding: 2rem 0; */
    margin: 0 auto;
    position: relative;
}

.mainImage {
    width: 70%;
    min-width: 250px;
    margin: 4rem auto 0 auto;
    display: block;
    padding-top: 3rem;
}

.basicInf {
    width: 92%;
    min-width: 300px;
    margin: 0 auto;
    background: white;
    border-radius: 1.5rem;
    box-shadow: #0000002b 0 0 5px 2px;
    padding: 1.5rem;
    position: relative;
    z-index: 99;
}

.statistics {
    display: flex;
    font-size: .8rem;
    margin: var(--s-space) 0;
}

.basicInf .item {
    color: #827775;
}

.inf {
    margin-left: var(--r-space);
}

.infCon {
    display: grid;
    grid-template-columns: max-content 1fr;
    margin-bottom: .3rem;
    padding-top: 7px;

}

.productDetail .infCon {
    border-left: 2px var(--standard-color) solid;
    padding-left: 8px;
    margin-left: .2rem;
}

.upstreamWrap .infCon,
.midstreamWrap .infCon {
    padding-bottom: 1em;
}

.downstreamWrap {
    margin-bottom: 1em;
}

.basicInf .infCon {
    margin-top: .5rem;
}

.infCon.detail {
    border-top: 1px var(--standard-color) solid;
    border-bottom: 1px var(--standard-color) solid;
    padding: .5rem 0;
}

.infCon+.title+.infCon {
    margin-top: .3rem;
}

.carbonData {
    display: flex;
    align-items: flex-end;

}

.materialData {
    margin-right: var(--r-space);
    display: flex;
    align-items: end;
}

.carbonData,
.materialData {
    flex-wrap: wrap;
}

.dataWrap {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
}

.data {
    display: inline-block;
    margin:.25rem .5rem 0 0;
    font-family: Oswald;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1em;
}

.photoWrap {
    margin-top: -2rem;
}




.productInfWrap {
    background: white;
    border-radius: 1.2rem 1.2rem 0 0;
    margin-top: -2rem;
    padding: 0 1.5rem 1.5rem 1.5rem;
    position: relative;
    z-index: 99;
}

.productInfTit {
    display: block;
    width: 8em;
    margin: 0 auto var(--r-space) auto;
    padding: .2rem 0 .5rem 0;
    background: var(--standard-color);
    color: white;
    font-weight: bold;
    text-align: center;
    border-radius: 0 0 1.2rem 1.2rem;
    font-size: 1.5rem;

}

.productClassTabs {
    display: flex;
    line-height: 1em;
    border-bottom: 1px var(--standard-color) solid;
    padding-bottom: .5rem;
}

.productClass+.productClass {
    border-left: 1px #635755 solid;
    margin-left: var(--r-space);
    padding-left: var(--r-space);
}

.productClass:hover,
.productClass.in {
    color: var(--standard-color);
}

.productClassCons {
    display: flex;
    width: 100%;
    align-items: flex-start;
}

.tab-content-inner {
    transition: margin-left 0.5s ease;
}

.tab-content-outer {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.products {
    max-width: 100%;
    flex: 100% 0 0;
}

.product+.product {
    margin-top: var(--r-space);
}


.productName,
.productModel {
    line-height: 1.1em;

}

.productPhoto {
    margin-top: var(--r-space);
    background: #EBEBEB;

}

.productDetailTit {
    color: var(--standard-color);
    line-height: .5em;
    margin-top: -2px;
    font-weight: 600;
}

.productDetailTit::before {
    content: " ";
    display: inline-block;
    width: .5rem;
    height: .5rem;
    border-radius: .5rem;
    background-color: #FF735D;
    margin: 0 .2rem .2rem 0;
}

.productDetail {
    padding: var(--r-space) 0;
    position: relative;
}

.certifications {
    display: grid;
    grid-template-columns: repeat(3, 31%);
    justify-content: space-between;
    /* margin: var(--r-space) 0; */
    grid-gap: var(--r-space);
}

p.icon,
a.icon {
    background: #EDEBEB;
    border-radius: .85rem;
    /* color: #000; */
    text-align: center;
    padding: calc(var(--r-space)/2);
    margin: 4.5% 0;
    max-width: 150px;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-flow: column;
    justify-content: center;
    height: 100%;
    width: 100%;
    font-size: .85rem;
}

p.icon {
    color: #b2b2b2;
}

a.icon:link {
    color: #000;
}

a.icon:active,
a.icon[href]:hover {
    background: var(--standard-color);
    color: #fff;
}

p.icon:before,
a.icon:before {
    width: 50%;
    display: block;
    margin: 0 auto;
}

.achievementsWrapOutter {
    width: 100%;
    position: relative;
    margin-top: var(--r-space);
    overflow-x: scroll;
}

.achievementsWrap {
    display: flex;
    width: 100%;
}

.achievement {
    min-width: 0%;
    height: auto;
    display: block;
}

.achievement+.achievement {
    margin-left: 1rem;
}

.alertWrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    z-index: 999;
    align-items: center;
    max-width: 100vw;
    max-height: 100vh;
    background-color: #ff735d6a;
}

.trackTit {
    font-weight: bold;
    margin-bottom: var(--s-space);
    padding-bottom: var(--s-space);
    border-bottom: #000 solid 1px;
    padding-right: var(--L-space);
}


.trackData,
.reportData {
    background: #fff;
    border-radius: var(--r-space);
    margin: var(--L-space);
    padding: var(--L-space);
    box-shadow: #0000002b 0 0 5px 2px;
    position: relative;
    display: none;
}

.reportData {
    width: 250px;
}

.reportData ol li {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--xs-space);
}


.trackingCon {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    overflow-y: auto;
    height: auto;
    min-width: 300px;
    min-height: 300px;
    max-width: calc(65vw - var(--L-space)*2);
    max-height: calc(65vh - var(--L-space)*2);
}


.pn {
    margin-bottom: var(--xs-space);
    margin-right: var(--s-space);
    letter-spacing: .5px;
    cursor: pointer;
}

.pn::before {
    content: "■";
    color: var(--standard-color);
    font-size: .5rem;
    line-height: .5rem;
    vertical-align: middle;
    display: inline-block;
    margin-right: 3px;
}

.closeBtn::after {
    content: "×";
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(25%) translateY(-25%);
    z-index: 9999;
    background: #fff;
    padding: var(--s-space);
    border-radius: calc(var(--r-space) + .5em);
    display: inline-block;
    width: auto;
    box-sizing: border-box;
    line-height: 1em;
    font-size: 1.5rem;
    box-shadow: #0000002b 0 0 5px 2px;
}


.trackNum,
.closeBtn {
    cursor: pointer;
}

.reportData.show,
.trackData.show {
    display: block;

}

.pinky {
    background: #28c76f3b;
    padding: 0 3px;
    border-radius: 4px;
    margin-right: 5px;
}

.qualified {
    background: #28c76f;
    padding: 0 3px;
    color: #fff;
    border-radius: 4px;
}

footer {
    background: white;
    display: flex;
    padding: var(--r-space) var(--r-space) 92px var(--r-space);
    flex-wrap: wrap;
}

.logo {
    max-width: 150px;
    margin-right: var(--s-space);
    margin-bottom: var(--s-space);
    margin-top: var(--xs-space);
}

hr {
    width: 100%;
}


@media screen and (max-width:400px) {

    :root {
        --r-space: .75rem;
    }

    .productInfWrap {
        padding: 0 1rem 1rem 1em;
    }

    .certifications p.icon,
    .certifications a.icon {
        font-size: 14px;
    }
    
    p.icon,
    a.icon {
        aspect-ratio: inherit;
    }
}