#tab-demo {
    width: 60%;
    height: 100%;
    /* position: absolute; */
    left: 50%;
    /* transform: translate(-50%); */
    margin: auto;
}

#tab-demo>ul {
    display: block;
    margin: 0;
    list-style: none;
}

.tab-title {
    list-style: none;
}

#tab-demo>ul>li {
    display: inline-block;
    vertical-align: top;
    font-family: '微軟正黑體';
    margin: 0 -1px -1px 0;
    height: 35px;
    line-height: 35px;
    background: #BCBCBC;
    padding: 0 30px;
    list-style: none;
    box-sizing: border-box;
    border-radius: 5px 5px 0 0;
}

#tab-demo>ul>li {
    color: #000;
    cursor: pointer;
}

#tab-demo li.active {
    border-bottom: 1px solid olivedrab;
    background: olivedrab;
}

#tab-demo .tab-inner {
    clear: both;
    color: #000;
    border-top: 1px #BCBCBC solid;
}

.tab-inner {
    padding: 30px;
    display: none;
}

.tab-inner-active {
    display: block;
}

.recent_news .wrap iframe{
    width: 100%;
    height: 50vh;
}

@media screen and (max-width: 1200px) {
    #tab-demo {
        width: 600px;
    }
    .recent_news .wrap iframe{
        height: 30vh;
    }
}

@media screen and (max-width: 1024px) {
    #tab-demo {
        width: 60vw;
    }
}

@media screen and (max-width: 768px) {
    #tab-demo {
        width: 90vw;
        margin-top: 50px;
    }
    #tab-demo .wrap p {
        font-size: 12pt;
    }
    .tab-inner {
        padding:20px 10px 0 10px;
    }
    .recent_news .wrap iframe{
        height: 40vh;
    }
}

@media screen and (max-width: 600px) {
    .recent_news .wrap iframe{
        height: 30vh;
    }
    #tab-demo>ul>li{
        padding: 0 20px;
    }
    /* .tab-inner {
        padding:20px 20px 0 20px;
    } */
    #tab-demo {
        margin-top: 30px;
    }
}

@media screen and (max-width: 375px) {
    #tab-demo>ul>li{
        padding: 0 10px;
        font-size: 12px;
    }
    #tab-demo .wrap p{
        font-size: 0.9em;
    }
    .recent_news .wrap iframe{
        height: 20vh;
    }
    .tab-inner {
        padding:20px 10px 0 10px;
    }
    #tab-demo {
        margin-top: unset;
    }
}