.ad-ypa-popup-cust{
    display: none;
    font-family: PingFangTC;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    width: 342px;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1200;
}
.ad-ypa-popup-cust .ypa-popup-close-btn {
    width: 35px;
    height: 35px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.11);
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -15px;
    right: -10px;
    cursor: pointer;
}
.ypa-popup-close-btn .ypa-popup-close-icon {
    font-size: 14px;
    font-style: normal !important;
    color: #9aa3a8;
}
.ad-ypa-popup-cust .ypa-popup-wrap {
    background-color: #f9f9f9;
    padding: 20px 17px 14px 18px;
    cursor: pointer;
    border-radius: 3px;
    box-shadow: 0 2px 4px 0 rgba(176, 174, 174, 0.5);
}
.ypa-popup-wrap .ypa-popup-con {

}
.ypa-popup-con .ypa-popup-title {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.28px;
    line-height: normal !important;
    color: #434343;
    margin: 0 0 5px;
}
.ypa-popup-con .ypa-popup-desc {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.25px;
    line-height: normal !important;
    color: #434343;
    margin: 0 0 10px;
}
.ypa-popup-wrap .ypa-popup-footer::after {
    content: "sponsored";
    float: right;
    margin-right: 0;
    margin-top: -14px;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: normal;
    color: #aaaaaa;
}
.ypa-popup-footer .ypa-popup-btn {
    width: 146px;
    height: 25px;
    border-radius: 3px;
    border: solid 1px rgb(234, 32, 32);
    font-size: 14px;
    font-weight: normal;
    letter-spacing: normal;
    color: rgb(234, 32, 32);
    line-height: 25px;
    display: block;
    text-align: center;
}

/* button circle */
.ypa-popup-button {
    width: 116px;
    position: fixed;
    z-index: 1200;
    bottom: -40px;
    right: 20px;
}
.ypa-popup-button-circle {
    cursor: pointer;
    width: 100%;
    height:0;
    padding-bottom: 100%;
    border-radius: 50%;
    /*border:5px solid #cfdcec;*/
    overflow:hidden;
    background: #4679BD; 
    box-shadow: 0 0 18px #50DFFB;
}
.ypa-popup-button-circle:hover {
    background:#30588e;
}
.ypa-popup-button-circle .ypa-popup-button-con {
    display:block;
    float:left;
    width:100%;
    padding-top:50%;
    padding-bottom:50%;
    line-height:1em;
    margin-top:-2.7em;
    text-align:center;
    color:#e2eaf3;
    font-family:Verdana;
    /*font-size:1.2em;*/
    font-size:16px;
    font-weight:bold;
    text-decoration:none;
}
.ypa-popup-button-circle .ypa-popup-button-con p {
    color: #e2eaf3 ;
    white-space: nowrap;
    line-height: 1.7em;
    margin: 0;
}
/*.ypa-popup-button-circle .ypa-popup-button-con p:first-child {
    font-weight:300;
    color: rgba(239,239,240,0.8);
}*/
.ypa-popup-button-circle .ypa-popup-button-con p:nth-child(2) {
    overflow: hidden;
}
.ypa-popup-button-close-btn {
    width: 25px;
    height: 25px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.6);
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -1px;
    right: 5px;
    cursor: pointer;
}
.ypa-popup-button-search-close-icon {
    font-size: 14px;
    font-style: normal !important;
    color: #9aa3a8;
}

@media screen and (max-width:768px) {
    .ad-ypa-popup-cust {
        width: 181px;
        right: 16px;
        bottom: 53px;
    }
    .ad-ypa-popup-cust .ypa-popup-wrap {
        padding: 29px 11px 14px 15px;
    }
    .ypa-popup-wrap .ypa-popup-con::before {
      content: "sponsored";
      float: left;
      font-size: 12px;
      font-weight: normal;
      letter-spacing: normal;
      color: #aaaaaa;
      margin-top: -20px;
    }
    .ypa-popup-con .ypa-popup-title {
        font-size: 15px;
        letter-spacing: 0.21px;
        margin: 0 0 6px;
    }
    .ypa-popup-con .ypa-popup-desc {
        font-size: 12px;
        letter-spacing: 0.17px;
        margin: 0 0 8px;
    }
    .ypa-popup-wrap .ypa-popup-footer {
        text-align: center;
    }
    .ypa-popup-wrap .ypa-popup-footer::after{
        content: '';
        margin-right: auto;
        margin-top: auto;
        float: none;
    }
    .ad-popup-footer .ypa-popup-btn {
        margin: 0 auto;
        width: 100%;
    }

    /* button circle */
    .ypa-popup-button {
        width: 92px;
        right: 16px;
    }
    .ypa-popup-button-circle {
        border: 3px solid #cfdcec;
        box-shadow: 0 0 10px #059DFB;
    }
    .ypa-popup-button-circle .ypa-popup-button-con {
        margin-top: -2.4em;
        font-size: 1em;
    }
    .ypa-popup-button-circle .ypa-popup-button-con p {
        line-height: 1.5em;
    }
    .ypa-popup-button-close-btn {
        top: -6px;
    }
}


.ad-ypa-art-cust {
    margin: 0 0 16px;
    background-repeat: no-repeat;
    padding: 0;
    box-sizing: inherit;
    text-align: center;
    -webkit-box-direction: normal;
}
.ad-ypa-art-cust .ypa-art-wrap {
    font-size:16px;
    line-height: 18px;
    cursor: pointer;
    border-radius: 4px;
    background-color: #fff;
    color: rgba(0,0,0,.87);
    border-color: #fff;
    display: block;
    max-width: 100%;
    outline: none;
    text-decoration: none;
    transition-property: box-shadow,opacity,-webkit-box-shadow;
    overflow-wrap: break-word;
    position: relative;
    white-space: normal;
    transition: box-shadow .28s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .28s cubic-bezier(.4,0,.2,1);
    will-change: box-shadow;
    -webkit-box-shadow: 0 0 6px 2px rgba(0,0,0,.2);
    box-shadow: 0 0 6px 2px rgba(0,0,0,.2);
    border-radius: 4px;
}
.ypa-art-wrap .ypa-art-title{
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    color: #403d3d;
    background-color: #fff;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    font-size: 1.2em;
    font-weight: 500;
    letter-spacing: .0125em;
    line-height: 2em;
    word-break: break-all;
    padding: 10px 10px 2px;
}
.ypa-art-wrap .ypa-art-con{
    color: rgba(0,0,0,.6);
    text-align: left;
    width: 100%;
    padding: 0 10px 10px;
    font-size: .6em;
    font-weight: 400;
    line-height: 1.4em;
    letter-spacing: .0071428571em;
}
.ypa-art-wrap .ypa-art-con p{
    margin:0;
    line-height: 2em;
}
.ypa-art-wrap .ypa-art-desc{
    max-height: 230px;
    overflow: hidden;
    position: relative;
    white-space: pre-line;
    border-radius: 5px;
    background-color: #f6f6f6;
    padding: 10px;
    text-align: left;
    margin-top: 5px;
}
.ypa-art-wrap .ypa-art-footer {
    background-color: #fff;
    padding: 0 10px 10px;
    font-size: 12px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ypa-art-wrap .ypa-art-footer .ypa-art-btn, .ypa-art-wrap .ypa-art-footer .ypa-art-sponsored {
    border-radius: 4px;
    background: #fff;
    color: #1976d2;
    text-align: center;
    border: 1px solid #1976d2;
    width: 45%;
    line-height: 28px;
    font-size: 12px;
    display: block;
    cursor: pointer;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;   
}
.ypa-art-wrap .ypa-art-footer .ypa-art-btn{
    font-weight: 600;
    border: 2px solid #1976d2;
}


/*.ad-ypa-art-cust .ypa-art-wrap2 {
    opacity: 0.6;
    transition: opacity 0.5s;
}
.ad-ypa-art-cust .ypa-art-wrap2:hover{
    opacity: 1;
}*/
.ad-ypa-art-cust .ypa-art-wrap2 {
    background-color: #f9f9f9;
    padding: 17px 11px 17px 14px;
    font-family: PingFangTC;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    cursor: pointer;
}
.ypa-art-wrap2 .ypa-art-con {
    text-align: center;
}
.ypa-art-wrap2 .ypa-art-title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.25px;
    line-height: normal !important;
    color: #434343;
    margin-bottom: 5px !important;
}
.ypa-art-wrap2 .ypa-art-desc {
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.21px;
    line-height: normal !important;
    color: #434343;
    margin-bottom: 15px !important;
}
.ypa-art-wrap2 .ypa-art-btn {
    width: 304px;
    height: 40px;
    border-radius: 3px;
    border: solid 1px #ff8512;
    font-size: 16px;
    font-weight: normal;
    letter-spacing: normal;
    color: #ff8512;
    line-height: 40px;
    display: block;
    margin: 0 auto;
}
.ypa-art-wrap2 .ypa-art-footer {
    text-align: center;
}
.ypa-art-wrap2 .ypa-art-footer::after {
    content: "sponsored";
    float: right;
    margin-right: 5%;
    margin-top: -18px;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: normal;
    color: #aaaaaa;
}


.ypa-art-wrap3, .ypa-art-wrap4{
    width: 100%;
    padding: 0px;
    cursor: pointer;
}
.ypa-art-wrap3:after, .ypa-art-wrap4:after {
    content: "sponsored";
    float: right;
    font-size: 13px !important;
    font-family: arial,inherit;
    font-weight: 100;
    line-height: 13px;
    color: #999;
    text-transform: lowercase;
}
.ypa-art-wrap3 .ypa-art-con, .ypa-art-wrap4 .ypa-art-con{
    padding-top: 20px;
    padding-bottom: 20px;
}
.ypa-art-wrap3 .ypa-art-intro, .ypa-art-wrap4 .ypa-art-intro {
    font-size: 18px;
    width: 100%;
}
.ypa-art-wrap3 .ypa-art-intro {
    margin-bottom: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd;
}
.ypa-art-intro .ypa-art-title {
    text-align:left;
    color: #333;
    font-weight: 700;
    line-height: 1.4em;
    font-size: 20px;
    margin-bottom: 5px;
}
.ypa-art-intro .ypa-art-desc {
    text-align:left;
    color: #4f4f4f;
    font-weight: 300;
}
.ypa-art-intro .ypa-art-btn {
    border-radius: 6px;
    text-align: center;
    background: #000;
    color: #fff;
    height: 42px;
    line-height: 42px;
    font-size: 16px;
    font-weight: bold;
    display: block;
    cursor: pointer;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    background: rgb(27, 111, 170);
}
.ypa-art-wrap3 .ypa-art-intro .ypa-art-btn {
    width: 260px;
    margin: 0 auto;
    margin-bottom: -45px;
}
.ypa-art-wrap4 .ypa-art-intro .ypa-art-btn {
    margin: 0;
}


.ypa-style2 {
    background-color: #fff7f0 !important;
}
.ypa-style3 {
    background-color: #faf1ef !important;
}
.ypa-style2 .ypa-art-btn, .ypa-style2 .ypa-popup-btn {
    border: solid 1px #a58c78 !important;
    color: #a58c78 !important;
}
.ypa-style3 .ypa-art-btn, .ypa-style3 .ypa-popup-btn {
    border: solid 1px #577199 !important;
    color: #577199 !important;
}

@media only screen and (max-width: 768px) {
    .ad-ypa-art-cust .ypa-art-wrap2 {
        padding: 12px 11px 13px 14px;
    }
    .ypa-art-wrap2 .ypa-art-content {
        text-align: left;
    }
    .ypa-art-wrap2 .ypa-art-title {
        font-size: 17px;
        letter-spacing: 0.24px;
    }
    .ypa-art-wrap2 .ypa-art-desc {
        font-size: 14px;
        letter-spacing: 0.19px;
    }
    .ypa-art-wrap2 .ypa-art-desc {
        margin-bottom: 2px !important;
    }
    .ypa-art-wrap2 .ypa-art-btn {
        width: 150px;
    }
}