@keyframes slideBanner {
    0%   {opacity: 0; transform: scale(1);}
    50%  {opacity: 1; transform: scale(1.05);}
    100% {opacity: 1; transform: scale(1.05);}
}

.banner img{
    width: 100%;
	animation-name: slideBanner;
	animation-delay: 0s;
    animation-duration: 8s;
    animation-iteration-count:1;
	animation-fill-mode:forwards;
}

.em_box{
    padding-bottom: 50px;
    background: #FEFAEF;
}

/* 營養哲學 */
.nutri_box{
    padding-bottom: 150px; 
    top: 0px; 
    text-align: center; 
    background: url('../themes/DST_TCM/assets/image/article_share/bg_yellowbg1.png') no-repeat; 
    background-position: bottom; 
    background-size: cover;
}

.nutri_box h2{
    color: #fff; 
    font-size: 36px; 
    text-align: center; 
    padding: 50px 0px;
}


/* 中医理论 */
.theory_box{
    margin-top: -130px; 
    position: relative; 
    /* z-index: -1; */
    top: 0px; 
    text-align: center; 
    background-image: url('../themes/DST_TCM/assets/image/article_share/bg_whitebg1.png'); 
    background-position: top; 
    background-size: cover; 
    padding-top: 50px;
    transform: skewY(-3deg);
}
.theory_box h2{
    color: #FF9700; 
    font-size: 36px; 
    text-align: center; 
    font-weight: bold; 
    padding: 50px 0px;
    transform: skewY(3deg);
}
.theory_main{
    margin-bottom: 50px;
    transform: skewY(3deg);
}

/* 體適能分享 */
.fitness_box{
    position: relative; 
    top: 0px; 
    text-align: center; 
    background-image: url('../themes/DST_TCM/assets/image/article_share/bg_yellowbg1.png'); 
    background-position: top; 
    background-size: cover; 
    padding-top: 50px;
	padding-bottom: 50px;
    transform: skewY(-3deg);
}
.fitness_box h2{
    color: #fff; 
    font-size: 36px; 
    text-align: center; 
    font-weight: bold; 
    padding: 50px 0px;
    transform: skewY(3deg);
}
.fitness_main{
    margin-bottom: 50px;
    transform: skewY(3deg);
}

.form_top {
    margin-top: -100px;
}

/* nav */
.nutri_main .nav-tabs, 
.theory_main .nav-tabs,
.fitness_main .nav-tabs{
    border-bottom: 0;
    justify-content: center;
}
.nutri_main .nav-item, 
.theory_main .nav-item,
.fitness_main .nav-item{
    display: inline-block;
    margin-left: -5px;
}
.nutri_main .nav-link, 
.theory_main .nav-link,
.fitness_main .nav-link{
    display: inline-block; 
    background-color: #fff; 
    font-weight: bold; 
    padding: 10px 30px;
    transform: skewX(-20deg); 
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin: 0 1.5px;
    font-size: 20px;
}
.nutri_main .nav-link a, 
.theory_main .nav-link a,
.fitness_main .nav-link a{
    color: black;
    display: block;
    transform: skewX(20deg);
}
.nav-tabs .nav-item.show .nav-link, 
.nav-tabs .nav-link.active{
    background-color: #ffcd00;
    border-color: #ffcd00;
}
.nav-tabs .nav-item.show .nav-link a, 
.nav-tabs .nav-link.active a{
    color: #fff; 
}

/* tab_content */
.tab-content{
    width: 86%;
    margin: 50px auto;
}
.content_list{
    margin: 10px 0; 
    padding: 0; 
}

.list_box{
    /* background-image: url('../image/article_share/img_doc_background.png');  */
    margin: 0 10px; 
    background-size: cover; 
    background-position: bottom;
}
.list_box a{
    color: unset;
}
.list_img,
.list_img img{
    width: 100%;
}
.list_title{
    padding: 20px 30px 50px; 
    /* font-weight: bold;  */
    text-align: left; 
    height: 140px;
    background: linear-gradient(315deg, transparent 20px, #FFFFFF 0);
    /* background: #fff; */
}
.list_title h4{
    font-size: 20px; 
}
.list_title p{
    font-size: 16px;
}


.form_box {
    padding: 0 0 0px !important; 
    margin-bottom: 0px !important; 
}

/* .list_title::before{
    content: '';
    position: absolute;
    bottom: 0;
    right: 10px;
    width: 29px;
    height: 29px;
    background: linear-gradient(315deg, transparent 50%, #F7F7F7 0);
} */

.no_content{
    width: 100%;
    text-align: center;
    font-size: 20px;
}


@media(max-width:1190px){
    .em_box {
        padding-bottom: 10px;
    }
    /* 营养哲学 */
    .nutri_box {
        padding-bottom: 150px;
        top: 0px;
        text-align: center;
        background: url(../themes/DST_TCM/assets/image/article_share/bg_yellowbg1_m.png) no-repeat;
        background-position: unset;
        background-size: 100% 100%;
    }
    .nutri_box h2{
        padding: 50px 0 30px;
        font-size: 26px;
    }
    
    /* 中医理论 */
    .theory_box{
        background: url(../themes/DST_TCM/assets/image//article_share/bg_whitebg1_m.png) no-repeat;
        background-size: 100% 100%;
        padding-top: 20px;
    }
    .theory_box h2{
        padding: 50px 0 30px;
        font-size: 26px;
    }
    
    /* 體適能分享 */
    .fitness_box{
        background: url(../themes/DST_TCM/assets/image/article_share/bg_yellowbg1_m.png) no-repeat;
        background-size: 100% 100%;
        padding-top: 20px;
    }
    .fitness_box h2{
        padding: 50px 0 0px;
        font-size: 26px;
    }
	
	.fitness_main {
		margin-bottom: 80px;
	}
    
    .nav_m{
        width: 90%;
        margin: 0 auto;
        background: #fff;
        padding: 10px 20px;
        border-radius: 5px;
        font-size: 20px;
        position: relative;
    }
    .nav_m .nav_m_box{
        width: 100%;
        appearance:none;   
        -moz-appearance:none;   
        -webkit-appearance:none; 
    }
    .nav_m .icon_down{
        position: absolute;
        right: 20px;
        top: 10px;
    }

    .tab-content {
        margin: 30px auto;
    }
    .list_title{
        font-size: 20px;
        height: auto;
        padding: 20px 20px;
    }
    .page_main{
        margin-bottom: 50px;
    }
}

.page_box{
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
.page_box ul{
    list-style: none;
}
.page_box ul li{
    display: inline-block;
}

.page_link{
    width: 40px;
    height: 40px;
    line-height: 40px;
    color: #000;
    background: #FFFFFF;
    border: none;
}
.page_link:hover{
    background: #e4e4e4;
    color: #333333;
}

.page_item.active .page_link{
    background: #A7A7A7;
    color: #FFFFFF;
}

.prev_box{
    margin-right: 50px;
}
.next_box{
    margin-left: 50px;
}

/* 禁用樣式 */
.disabled{
    pointer-events: none;
}
.disabled a{
    color: #ccc;
}

@media(max-width:1200px){
    .page_box_m{
        width: 90%;
        margin: 0 auto;
        background: #fff;
        border-radius: 5px;
    }
    .page_item_box{
        width: 28%;
        display: inline-block;
        position: relative;
    }
    .page_item_m{
        width: 100%;
        padding: 10px 20px;
        appearance:none;   
        -moz-appearance:none;   
        -webkit-appearance:none;
    }
    .page_item_box .arrow_down_{
        position: absolute;
        right: 15px;
        top: 7px;
        pointer-events: none;
    }
    .prev_box{
        margin-right: 0;
    }
    .next_box{
        margin-left: 0;
    }
}
body{
    background: #FEFAEF;
}

.banner img{
    width: 100%;
    /* clip-path: polygon( 0% 0%, 100% 0%, 100% 87%,0% 100%); */
}

.em_box .active{
    animation-name: slideBanner;
	animation-delay: 0s;
    animation-duration: 8s;
    animation-iteration-count:1;
	animation-fill-mode:forwards;
}
@keyframes slideBanner {
    0%   {opacity: 0; transform: scale(1);}
    50%  {opacity: 1; transform: scale(1.05);}
    100% {opacity: 1; transform: scale(1.05);}
}

/* 二師會診 */
.consultation_box{
    background-color:#fefaef;
    display: block;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 170px;
    margin-bottom: -120px;
}
.consultation_box h2{
    width: 30%;
    margin:auto;
    font-style: normal;
    background: #999999;
    line-height: 50px;
    letter-spacing: 2px;
    font-size: 36px;
    text-align: center;
    margin-bottom: 30px;
    background: #FD9800 !important;
    list-style:none;
    position: relative;
    top: 60px;
    transform: skew(-20deg);
    -webkit-transform: skew(-20deg);
    transform: skew(-20deg);
}
.consultation_box h2 span {
    height: 60px;
    line-height: 63px;
    display: block;
    color: white;
    -webkit-transform: skew(20deg);
    -moz-transform: skew(20deg);
    -o-transform: skew(20deg);
}

.consultation_main{
    width: 90%;
    margin: 0 auto;
}
.consultation_main ul{
    padding-inline-end: 0;
    padding-inline-start: 0;
    list-style: none;
    border: 2px solid #EF9B25;
    padding-top: 40px;
    padding-bottom: 60px;
}
.consultation_main li{
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
    list-style:none;
}

.consultation_main ul li{
    display: inline-block;
}

.consultation_main ul .li_width{
    display: inline-block;
    width: 32%;
    margin-left: 4px;
}

.consultation_main ul .li_height{
    height: 210px;
    width: 1px;
    border-left: 2px solid #FD9800;
    display: inline-block;
    position: relative;
    top: 18px;
}

.consultation_main .consultation_img{
    width: 100%;
    display: block;
    background: #FFF9F1;
}
.consultation_main .consultation_img img{
    width: 50%;
}
.consultation_content{
    margin-top: 20px;
}
.consultation_content p{
    margin-bottom: 0;
}

/* form */
.form_box{
    width: 100%;
    margin: 0 auto;
    padding: 0 0 50px;
    margin-bottom: -200px;
    -webkit-transform: skewY(-3deg);
    -moz-transform: skewY(-3deg);
    -o-transform: skewY(-3deg);
}


/* 4步驟 */
.step_four{
    width: 100%;
    background: #FFF9F1;
    -webkit-transform: skewY(-3deg);
    margin-bottom: -80px;
}


/* 常見問題 */
.questions_box{
    width: 100%;
    margin: 0 auto;
    background: url(../themes/DST_TCM/assets/image/back/bg_pro4.png) no-repeat;
    background-size: 100% 100%;
    padding: 100px 0 50px;
}

.questions_box h2{
    font-size: 36px;
    color: #FFFDF9;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 20px;
}
.questions_body{
    width: 90%;
    margin: 0 auto;
    padding: 20px 60px;
    margin-bottom: 30px;
}
.card{
    margin-bottom: 3px;
}
.card-header{
    padding: 7px 20px;
}
.btn-link{
    color: #1c1c1c;
    font-size: 20px;
}
.btn-link span{
    display: inline-block;
    width: 92%;
    white-space: normal;
    vertical-align: sub;
}

.btn-link i {
    float: right;
    font-size: 30px;
    color: #888888;
}
.card-body{
    font-size: 18px;
    margin: 0;
    padding: 20px 33px;
}
.card-body table{
    width: 80%;
    border-collapse: unset;
}
.card-body table tr:nth-child(1){
    text-align: center;
}
.card-body table tr:nth-child(1) .td_2{
    background: #ff9500;
    color: #fff;
}
.card-body table tr:nth-child(1) .td_3{
    background: #5a5a5a;
    color: #fff;
}
.card-body table td{
    padding: 10px 15px;
}
.card-body .td_1{
    width: 15%;
    text-align: center;
    vertical-align: middle;
    background: #D6D8DE;
}
.card-body .td_2,
.card-body .td_3{
    width: 40%;
}
.collapse table td ul{
    list-style-type: none;
    padding-inline-start: 0;
    margin-bottom: 0;
}
.card-body .td_2{
    background: #fce1bb;
}
.card-body .td_3{
    background: #D6D8DE;
}


.btn-link:hover, span[aria-expanded="true"]{
    text-decoration: none;
    color: #FD9800;
}
@media(max-width: 1679px){
    .form_box{
        margin-bottom: -130px;
    }
}
@media(max-width: 1530px){
    .block {
        margin-top: 5px;
    }
    .form_box{
        margin-bottom: -100px;
    }
}
@media(max-width: 1396px){
    .form_box{
        margin-bottom: -125px;
    }
}

@media(max-width: 1200px){
    /* 二師 */
    .consultation_box{
        padding-bottom: 135px;
    }
    .consultation_box h2{
        width: 55%;
    }
    .consultation_main ul {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .consultation_main ul .li_width{
        width: 100%;
        margin-left: 0;
        padding-top: 40px;
        padding-bottom: 35px;
    }
    .consultation_main .consultation_img{
        width: 49%;
        display: inline-block;
    }
    .consultation_content{
        width: 50%;
        display: inline-block;
        text-align: left;
        vertical-align: middle;
    }

    .consultation_main ul .li_height {
        height: auto;
        width: 80%;
        border-top: 2px solid #FD9800;
        display: block;
        margin: 0 auto;
        top: 0;
    }

    /* form */
    .form_box{
        margin-bottom: -60px;
    }

    /* 4步驟 */
    .step_four{
        -webkit-transform: none;
    }
    .step_title, .step_body{
        -webkit-transform: none;
    }

    /* 常見問題 */
    .questions_box{
        padding: 65px 0 65px;
        background: url(../themes/DST_TCM/assets/image/back/bg_3_m.png) no-repeat;
        background-size: 100% 100%;
    }
    .card-body{
        font-size: 16px;
        padding: 20px 20px;
    }
    .card-body table{
        width: 100%;
    }
    .btn-link span{
        text-indent: -37px;
        padding-left: 37px;
    }

    .card-body table td{
        padding: 10px 5px;
    }
    .card-body .td_2 li,
    .card-body .td_3 li{
        text-indent: -8px;
        padding-left: 8px;
    }

    .footer {
        height: auto;
    }

}

@media(max-width: 920px){
    .consultation_main .consultation_img {
        width: 40%;
    }
    .consultation_main .consultation_img img{
        width: 75%;
    }
    .consultation_content{
        padding-left: 5%;
    }
    .questions_box{
        padding: 45px 0 50px;
    }
    .questions_box h2 {
        margin-bottom: 20px;
    }
    
}

@media(max-width: 768px){
    .questions_box {
        background: url(../themes/DST_TCM/assets/image/back/bg_3_m.png) no-repeat;
        background-size: 100% 100%;
    }

}

@media(max-width: 414px){
    .consultation_box h2 {
        width: 78%;
        font-size: 26px;
    }
    .consultation_box h2 span{
        height: 50px;
        line-height: 52px;
    }
    .consultation_main{
        width: 94%;
    }
    .consultation_main ul{
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .consultation_main li{
        margin-bottom: 0;
    }
    .consultation_main .consultation_img {
        width: 25%;
    }
    .consultation_main .consultation_img img {
        width: 100%;
    }
    .consultation_content{
        width: 60%;
        padding-left: 3%;
        font-size: 16px;
        padding-bottom: 15px;
    }
    .consultation_main ul .li_width {
        padding-top: 20px;
        padding-bottom: 25px;
    }
    .consultation_main ul .li_height{
        width: 75%;
    }

    /* 二師 */
    .step_title{
        padding-top: 50px;
    }
    .step_title h2 {
        font-size: 26px;
    }
    .step_title p{
        font-size: 16px;
    }
    .step_body {
        padding: 45px 0 80px;
    }
    .step_body_width {
        width: 48%;
        padding: 10px 20px;
    }
    .step_body_width p{
        font-size: 16px;
    }
    .step_body_width img {
        width: 100%;
    }

    /* 常見問題 */
    .questions_box {
        padding: 45px 0 30px;
    }
    .questions_body {
        padding: 20px 0;
        margin-bottom: 0;
    }
    .btn-link {
        font-size: 16px;
    }
    
    .card-header {
        padding: 10px 0px;
    }
}