
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    text-size-adjust: none;
    max-height: 999999px
}


:focus {
    outline: 0
}

img {
    width: 100%;
    vertical-align: middle
}

body{
    overflow-x: hidden;
}


.clearboth {
    clear: both
}

.breakMob {
    display: none
}

.wrapper {
    width: 100%;
    color: #323232;
    font-weight: 500;
}



/* -----------Color------------ */
.Bright{
    color: #0664C4;
    font-weight: 700;
}


.header {
    width: 100%;
    position: fixed;
    top: 0;
    padding: 20px;
    height: 80px;
    z-index: 100;
    background-image: url("../images/header/header_bg.png");
    background-repeat: no-repeat;
    background-position: right;
    background-color: white;
    z-index: 9999999;
}



.header .yuantaLogo a {
    display: inline-block;
    width: 198px;
    height: 40px;
    background-image: url("../images/header/HeaderLogo.svg");
    background-size: 100% auto;
    background-repeat: no-repeat;
}



/* ----------Body---------- */


.Section{
    max-width: 1440px;
    padding: 120px;
    margin: 0 auto;
}

/* -------Element1-------- */

.Element1{
    width: 100%;
    position: relative;
    background-color: #FFFCF3;
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* -------Element2-------- */

.Element2{
    background-color: #F2D381;
    background-image: url(../images/side/element2-bg.png);
    background-position:top center;
    background-repeat: repeat-y;   
    background-size: 100% auto;
    position: relative;
}

/* -------Element3-------- */

.Element3{
    position: relative;
    background-color: #0664C4;
    padding-bottom: 80px;
}

/* -------Element4-------- */

.Element4{
    background-color: #F5E5BB;
    position: relative;
    background-image: url(../images/side/element4-bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


/* ------Element-RWD------ */

@media (max-width: 1439px) {
    .Section{
        padding: 64px 32px;
    }
    .ElementCoinBlock{
        display: none;
    }
}

@media (max-width: 1024px) {
    .Item{
        flex-direction: column;
    }
}

@media (max-width: 767px) {

    .Element1::before {
        top: 80%;
    }

    .Element1::after{
        top: 5%;
    }

    .Element2{
        background-image: url(../images/side/element2-bg_m.png);
    }

    .Section{
        padding: 60px 20px;
    }

    .Element4{
        background-image: url(../images/side/element4-bg_m.png);
    }
}

/* -----------Footer--------- */

.footer {
    width: 100%;
    background-color: #007fe0;
    height: auto;
    padding: 10px 0
}
.footer a {
    color: #fff
}

.footerCont {
    color: white;
    margin: 0 auto;
	text-align: center;
}

.copyright {
    width: 100%;
    text-align: center;
    padding: 8px 0;
}

.contWrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}
@media screen and (max-width: 1439px) {
    .contWrapper{
        flex-direction: column;
    }
}
.goTop {
    display: none;
    position: fixed;
    z-index: 11;
    right: 62px;
    bottom: 32px;
    opacity: .7;
    width: 56px;
    height: 56px;
    cursor: pointer;
    background-image: url("../images/side/goTop.svg");
    background-size: 100% auto;
    background-repeat: no-repeat
}





@media screen and (max-width: 1023px) {
    .header {
        height:72px
    }
}

@media screen and (max-width: 767px) {
  
    .breakMob {
        display: block
    }

    .header {
        padding: 16px;
        height: 58px
    }

    .header .yuantaLogo a {
        width: 160px;
    }

    
    .footer {
        height: auto;
        margin-bottom: 69px;

    }



    .footerCont .copyright,.footerCont .contact {
        float: none;
        display: block;
        max-width: 100%;
        text-align: left;
        padding: 8px 24px;
    }

    .goTop {
        width: 54px;
        height: 54px;
        bottom: 96px;
        right: 14px;
    }
}

.compony{
    font-size: 14px;
    padding: 8px 24px;
}


/* ----popup---- */

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow: hidden;
}

.popup {
    width: 600px;
    max-height: 66.7vh;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 100;
    animation: slide-in 0.5s ease-out;
    overflow-y: auto; 
}



.popup h2 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}


/* Close按鈕樣式 */
.close-btn {
    position: absolute;
    background: transparent;
    box-shadow: none;
    border: none;
    font-size:40px;
    cursor: pointer;
    color: #333;
    right: 0;
    top: -18px;
    margin-top: 6px;
    justify-content: flex-end;
}
.close-btn:hover{
    background: none;
}

.Rate{
    position: relative;
}

.Ratespan{
    font-size: 20px;
    font-weight: 700
}

.Rate img{
    position: absolute;
    width: 94px;
    height: auto;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.Rate h1{
    font-size: 60px;
    padding: 40px;
    border: 2px solid #E8AD4F;
    border-radius: 10px;
    background-color: white;
    font-weight: 700;
}

.OverBody,.OverBody2{
    position: relative;
    margin: 0 auto;
    width: 90%;
    display: flex;
    flex-direction: column;
    background-color: #FFF3EB;
    padding: 64px 24px 24px 24px;
    border-right: 24px solid #CEAE5E;
    border-left: 24px solid #CEAE5E;
}

.OverBody2{
    padding: 64px 12px 24px 12px;
}




@keyframes slide-in {
    0% {
        transform: translate(-50%, -20%);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}
@media (max-width: 1023px) {
    .popup{
        width: 60%;
    }

    .Rate h1{
        font-size: 48px;
    }
}
@media (max-width: 767px) {
    .popup{
        width: 90%;
    }

    .OverBody,.OverBody2{
        border-right: 16px solid #CEAE5E;
        border-left: 16px solid #CEAE5E;
    }
}

@media (max-width: 767px) {
    .Rate h1{
        padding: 24px 16px;
    }
}


/* --------------- Tooltip ---------------*/
.tooltip-trigger {
    position: relative;
    cursor: pointer;
}

.tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 6px 8px;
    border-radius: 4px;
    white-space: nowrap;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
    font-size: 20px;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}


.tooltip-trigger.active .tooltip {
    visibility: visible;
    opacity: 1;
}

#openPopupLink{
    text-decoration: underline;
}

/* --------------tab--------------- */
.tab-wrapper {
    width: 100%;
    margin: 0 auto;
    font-family: Arial, sans-serif;
  }
  
  .tab-wrapper input[type="radio"] {
    display: none;
  }
  
  .tabs {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-bottom: 48px;
  }
  
  .tab-label {
    width: 360px;
    text-align: center;
    padding: 12px 0;
    cursor: pointer;
    color: #737373;
    font-size: 28px;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
  }
  
  .tab-label::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0%;
    width: 100%;
    height: 4px;
    background-color: transparent;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
  
  .tab-label:hover {
    color: #737373;
  }
  .tab-label:hover::after {
    background-color: #737373;
    transform: scaleX(1);
  }
  
  #tab1:checked ~ .tabs label[for="tab1"],
  #tab2:checked ~ .tabs label[for="tab2"], 
  #tab3:checked ~ .tabs label[for="tab3"] {
    color: #EB6100;
    font-weight: 700;
  }
  
  #tab1:checked ~ .tabs label[for="tab1"]::after,
  #tab2:checked ~ .tabs label[for="tab2"]::after,
  #tab3:checked ~ .tabs label[for="tab3"]::after {
    background-color: #EB6100;
    transform: scaleX(1);
  }
  
  .tab-content {
    display: none;
  }
  
  #tab1:checked ~ .panel1,
  #tab2:checked ~ .panel2,
  #tab3:checked ~ .panel3 {
    display: block;
  }
  
  
  .StockItem {
    padding: 4px 0;
    border-bottom: 1px solid #eee;
  }
  
  
  .StockName {
    color: #555;
  }
  
@media (max-width: 767px) {

    .tabs{
        gap: 8px;
    }

    .tab-label{
        font-size: 20px;
    }

    .tooltip{
        font-size: 14px;
    }
}

.innerList {
    list-style-type: disc;      
    padding-left: 40px;         
    margin: 1em 0;              
  }
  
  .innerList li {
    list-style: initial;        
    margin: initial;
    padding: initial;
    font-size: initial;
    color: initial;
  }
  