* {
    -webkit-text-size-adjust: none;
}

body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: Arial, Helvetica, 'Microsoft JhengHei', '微軟正黑體', sans-serif;
    color: #333333;
    background: #fff;
}

ul,
li {
    list-style: none;
    margin: 0;
    padding: 0;
}

input[type='radio'] {
    display: none;
}

a:link,
a:visited {
    color: #333333;
    text-decoration: none;
}

a:hover,
a:active {
    color: #b00931;
}

img {
    border: 0px;
}

sup {
    font-size: 0.8em;
}

.clear {
    clear: both;
}

.clearfix:after {
    display: table;
    clear: both;
    content: ' ';
}

.view_desktop {
    display: block !important;
}

.view_mob {
    display: none !important;
}


/**/

#container {}


/**/

#content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 0 40px;
}

.banner_wrapper{
    text-align: center;
    position: relative;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0px;
}
.banner_wrapper:lang(en){
    max-width: 860px;
}
.banner_wrapper::before{
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    content: '';
    background-image: url('../images/p1.png');
    position: absolute;
    left: 0px;
    top: 50%;    
    transform: translateY(-50%);
    width: 120px;
    height: 125px;
}
.banner_wrapper::after{
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    content: '';
    background-image: url('../images/p2.png');
    width: 116px;
    height: 119px;
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
}

.header{
    font-size: 40px;

    font-weight: bold;
}
.subheader{
    font-size: 50px;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover{
    border-color: transparent !important;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
    border-color: transparent !important;
    background-color: transparent !important;
}
.nav-item{
    width: 20%;
    background-color: #fff;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border-radius: 10px 10px 0px 0px;
}


.nav-item a.nav-link{
    padding: 15px 0px ;
}

.nav-item:lang(en){
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 0px;
}
#north_tp-tab.nav-item{
    border: #bf3a3a 2px solid;
}
#st_sk-tab.nav-item{
    border: #e8b73c 2px solid;
}
#tw_kc-tab.nav-item{
    border: #249e90 2px solid;
}
#tm_yl-tab.nav-item{
    border: #82CEF0 2px solid;
}
#island-tab.nav-item{
    border: #F39D60 2px solid;
}


#north_tp-tab.nav-item a{
    color: #bf3a3a;
}
#st_sk-tab.nav-item a{
    color: #e8b73c;
}
#tw_kc-tab.nav-item a{
    color: #249e90;
}
#tm_yl-tab.nav-item a{
    color: #82CEF0;
}
#island-tab.nav-item a{
    color: #F39D60;
}

.nav-item.active a{
    color: #fff !important;
}

.nav-item a{
    display: block;
    width: 100%;

}
.nav-item a:lang(en){

    font-size: 14px;
    padding: 1rem 0.3rem;
}

#north_tp-tab.nav-item.active{
    background-color: #bf3a3a;
}
#st_sk-tab.nav-item.active{
    background-color: #e8b73c;
}
#tw_kc-tab.nav-item.active{
    background-color: #249e90;
}
#tm_yl-tab.nav-item.active{
    background-color: #82CEF0;
}
#island-tab.nav-item.active{
    background-color: #F39D60;
}


#north_tp .tab-header{
    background-color: #bf3a3a;
}
#st_sk .tab-header{
    background-color: #e8b73c;
}
#tw_kc .tab-header{
    background-color: #249e90;
}
#tm_yl .tab-header{
    background-color: #82CEF0;
}
#island .tab-header{
    background-color: #F39D60;
}

.tab-header{
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    text-align: center;
}

.tab-header>div{
    margin-top: 5px;
    padding: 15px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab-header>div>span:first-child{
    display: inline-block;
    vertical-align: middle;
    line-height: 0;
}
.tab-header>div>span:last-child{
    display: inline-block;
    vertical-align: middle;
    line-height: 1.2;
    max-width: 250px;
}

.tab-header>div>span:first-child{
    padding-right: 15px;
}

.nav-item .nav-link {
    padding: 0rem;
}

.medicine-cols{
    flex:2;
    border-top: 2px #fff solid;
    border-bottom: 2px #fff solid;
}
.address-cols{
    flex:4;
    border: 2px #fff solid;
    border-bottom: 2px #fff solid;
}


.tab-district{
    font-weight: bold;
    color: #414040;
    font-size: 14px;
    background-color: #d9d9d9;
    display: flex;
    padding: 13px 0px;
}


.tab-district>div:first-child{
    flex:2;
    padding-left: 20px;  
}
.tab-district>div:nth-child(2){
    flex:4;
}
.tab-district>div:last-child{
    flex:2;
}

.tab-items{
    display: flex;
    background-color: #eeeeee;
    border-top: 1px #fff solid;
}
.tab-item{
    color: #414040;
    font-size: 14px;
    background-color: #eeeeee;
    text-align: center;
    padding: 13px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.tab-name{
    flex:2;
}
.tab-address{
    padding-left: 20px;
    text-align: left;
    flex:4;
    border-bottom: 0px;
    position: relative;
}
.tab-address::before{
    content: '';
    height: 100%;
    width: 1px;
    background-color: #fff;
    position: absolute;
    top: 0px;
    left: 0px;
}
.tab-address::after{
    content: '';
    height: 100%;
    width: 1px;
    background-color: #fff;
    position: absolute;
    top: 0px;
    right: 0px;
}
.tab-tel{
    flex:2;
}

.mobile_chose{
    display: none;
}
.header:lang(en) br{
    display: none;
}

@media screen and (max-width: 768px){
    .banner_wrapper::before{
        width: 90px;
        height: 125px;
    }
    .banner_wrapper::after{
        width: 86px;
        height: 119px;
    }
    .header {
        font-size: 30px;
    }
    .header:lang(en) br{
        display: block;
    }
    .subheader {
        font-size: 40px;
    }

    .banner_wrapper:lang(en)::before{
        top: 60%;
    }
    .banner_wrapper:lang(en)::after{
        top: 60%;
    }
    .banner_wrapper img{
        width: 100%;
    }
    .tab-header>div>span:first-child{
        display: block;
        padding-right: 0px;
        padding-bottom: 5px;
    }
    .tab-header>div>span:last-child{
        display: block;
        font-size: 16px;
        max-width: 100%;
    }
    .tab-header>div{
        display: block;
        margin-top: 0px;
    }
    .view_desktop {
        display: none !important;
    }

    .view_mob {
        display: block !important;
    }
    .nav{
        display: block;
        position: absolute;
        width: 100%;
        z-index: 2;
        top: 100%;
    }
    .nav-item{
        width: 100%;
        border-radius: 0px;
    }
    .nav-item:first-child{
        width: 100%;
        border-radius: 0px;
    }
    .nav-item:last-child{
        width: 100%;
        border-radius: 0px 0px 10px 10px;
        box-shadow: 0px 3px 6px 0px rgb(0 0 0 / 20%);
    }

    .mobile_chose{
        width: 100%;
        color: #fff;
        text-align: left;
        font-size: 20px;
        font-weight: bold;
        border-radius: 10px 10px 0px 0px;
        padding: 20px 15px;
        margin-bottom: 5px;
        background-color: #bf3a3a;
        position: relative;
        z-index: 3;
        display: block;
    }
    .mobile_chose img{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 15px;
    }
    .mobile_chose.active img{
        transform: translateY(-50%) rotate(180deg);
    }

    .dropdown_wrapper{
        position: relative;
        width: 95%;
        margin: 0 auto;
    }

    .nav-item{
        border: #d9d9d9 2px solid !important;
        padding: 0px;
    }
    .nav-item.hide{
        display: none;
    }

    .nav-item a{
        color: #333333 !important;
    }
    .nav-item .nav-link{
        padding: 10px 0px;
    }


    .tab-content{
        position: relative;
        width: 95%;
        margin: 0 auto;
    }

    .nav-tabs{
        display: none;
    }
    .nav-tabs.active{
        display: block;
    }

    .mobile_chose[data-chose="North_TP"]{
        background-color: #bf3a3a !important;
    }
    .mobile_chose[data-chose="ST_SK"]{
        background-color: #e8b73c !important;
    }
    .mobile_chose[data-chose="TW_KC"]{
        background-color: #249e90 !important;
    }
    .mobile_chose[data-chose="TM_YL"]{
        background-color: #82CEF0 !important;
    }
    .mobile_chose[data-chose="Islands"]{
        background-color: #F39D60 !important;
    }


}