﻿@import url(https://fonts.googleapis.com/earlyaccess/cwtexming.css);
@import url(//fonts.googleapis.com/css?family=Kristi|Libre+Caslon+Text|Playfair+Display&display=swap);
* {
    margin :0; padding:0;
    }
html, body, form {
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    font-size: 16px;
    /*  background-image: url(../images/bg.png);
    background-position: left top;
    background-repeat: repeat-x;*/
    background-color: #f8f8f8;
    font-family: "微軟正黑體", "新細明體",Helvetica, 'cwTeXMing', 'Open Sans', sans-serif, Helvetica, Arial;
    /*font-family: Helvetica, 'cwTeXMing', Arial, "微軟正黑體", "新細明體", 'Open Sans', sans-serif, Helvetica, Arial;*/
    line-height: 2rem;
    letter-spacing: 0.035em;
    color: #515151
}

/*page-loader*/
.page-loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(../images/loading.gif) center no-repeat #fff;  
}

a {
    -webkit-transition: 300ms;
    -moz-transition: 300ms;
    -o-transition: 300ms;
    transition: 300ms;
  }
ul {
      list-style:none;
}
.clearfix:before, .clearfix:after, .row:before, .row:after {
	content: '\0020';
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}
.row:after, .clearfix:after {
	clear: both;
}
.row, .clearfix {
	zoom: 1;
}
.clear_b {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}
img {
	border: 0px currentColor; border-image: none;
}

/*error msg ==================================================*/
    .msg {
        margin:1em auto;
        color: #C00;
    }
.request:before {
    content: "*";
    color: #dc2727
}
    .psmsg {       
        color: #c80f0f;
    }
    *:focus {
    outline: none;
}
.text_center {
    text-align: center;
}
.text_left {
    text-align: left;
}
.flo_left{
    float :left;
}
.flo_right{
    float :right;
}
em {
    font-size: 0.875rem;
    color: #fd9b6b
}
.img-responsive {
    width: 100%;
    height: auto;
}
/*版面配置==================================================*/
.main {
    position: absolute ;
    /*border-top: 5px #eac6b6 solid;*/
    border-top: 5px #fcb7bd solid;
    width: 100%;
    margin: 0;
    padding: 0;
   
}
.container {
    position: relative;
    width: 100%; 
    margin: 0 auto;
    padding: 0 0 30px 0 ;
    /*  height: 100%;*/
  /*  min-height: 800px;*/
     background-color: #fff;
 /* min-height:100vh;*/
    /*word-break: break-all;*/
  overflow :hidden ;
}

.page_content {  
   /* clear: both;*/
    max-width: 1200px;
    padding:15px;
    margin:  0 auto;
    overflow: hidden;
    width: 100%;
}
/*---------------page_title-------------------------------*/
.page_title {
    font-family: "微軟正黑體", Microsoft JhengHei, "新細明體", PMingLiU, 'Open Sans', sans-serif, Helvetica, Arial;
    /* font-size: 36px;*/
    display: block;
    text-align: center;
    font-size: 30px;
    position: relative;
    margin: 15px auto 0 ;
    font-weight: bold;
    padding: 2px 0;
    line-height: 1.8em;
    color: #257596;
}
    .page_title:before,
    .page_title:after {
        content: "";
        position: absolute;
        top: 50%;
        background: #3f90aa;
        width: 10%;
        height: 1px;
    }
    .page_title:before {
            left: 30%;
     }
     .page_title:after {
            right: 30%;
        }
@media(max-width:1160px) {
    /*.page_title {     
        margin: 0 auto 1rem;   
        font-weight: 200;     
    }     */
}

@media(max-width:640px) {
    .page_title {
        font-size: 24px;      
    }
        .page_title span:before {
            left: 15%;
        }
        .page_title span:after {
            right: 15%;
        }
    }

@media(max-width:540px) {
    .page_title {
        font-size: 24px;
    }
        .page_title:before,
        .page_title:after {           
            width: 8%;          
        }  
}

@media(max-width:375px) { 
        .page_title:before,
        .page_title:after {
            width: 3%;
        }
}
@media(max-width:240px) {
   /* .page_title:before,
    .page_title:after {
        width:0;
    }*/
    .page_title:before {
        display :none;      
    }

    .page_title:after {
        display: none;
    }
}

/*門診表格*/
.fck .table_opd tr:first-child td:first-child {
    width: 10rem;
}
/*表格抬頭週一...*/
.fck .table_opd tr:first-child td, .fck .table_opd tr:nth-child(2) td {
    background-color: #e49090;
    color: #fff;
}

.fck .table_opd tr td {
    width: auto;    
}
.fck .table_opd tr td a:hover {
   color:#ce8343
}
.fck .table_opd tr:first-child {
    background-color: #257596;
}
/*even偶數列, 基數:nth-child(odd)*/
.fck .table_opd tr:nth-child(even) {
    background-color: #f2eeee;
}

/*團隊介紹類別-------------------------------------------------------------------------------*/
.dr_type {
    position: relative;
    font-size: 26px;
    letter-spacing: 3px;
    color: #fc6b6c;
    line-height: 1.3em;
    display: block;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
    .dr_type::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 1px;
        background: #59986c;
        width: 3em;
    }
   /* 團隊介紹中的我要掛號*/
.fck .btn_teambook {
    color: #fff !important;
    text-decoration: none;
}
.team_hr {
    border :0 ;
    padding-top:1px;
    background :linear-gradient( to right, transparent, #d0d0d5, transparent); 
}

/*首頁門診表*/
.fck h5 {
    font-size: 19px;
    font-weight: bold;
    color: #59473f;
}
/*.dr_type {
    position: relative;
    font-size: 24px;
    color: #6B9847;
    line-height: 1.3em;
    display: block;
    padding-bottom: 10 px;
    margin-bottom: 10 px;
}*/
/*---------------------------------------------服務項目------------------------*/
.service_title {
    margin: 1rem 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: #f56b6b;
    font-weight: 300;
    position: relative;
    padding: 0;
}
    .service_title:after {
        content: "";
        display: block;
        height: 2px;
        background-image: linear-gradient(to right, #FF7365 0%, transparent); /* 自訂的顏色 */
    }



/*------------------------------------------------page--------------------------*/
.page_left {
    clear: both;
    width: 50%;
    max-width: 600px;
    margin: 0;
    padding: 0;
    /* width: calc(100%-500px);*/
    /* min-height:550px;*/
    float: left;
    overflow: hidden;
    /* background-color: #cecece;
    border: 1px solid #ccc;*/
    z-index: 1;
    /*   padding:0px ;*/
}

    .about_pic {
        width:100%;
        max-width :1170px;
        text-align: center;
        margin-bottom:1rem;
    }
        .about_pic img {
            width: 100%;
            height: auto;
            text-align: center;
            max-width: 1000px;
        }
    .about_txt {
        /* font-family: "微軟正黑體", "新細明體",  'cwTeXMing', Arial, 'Open Sans',Helvetica, sans-serif, Helvetica, Arial;*/
      /*  padding: 15px;
        width: 100%;
        margin-bottom :50px;*/
    }

    .page_right {
        width: 50%;
        max-width: 800px;
        /*width: calc(100%-740px);*/
        float: left;
        overflow: hidden;
        /* background-color: #eac6b6;*/
        /* padding: 20px;*/
    }


    @media(max-width:540px) {
        .page_left {
            clear: both;
            float: left;
            width: 100%;
            padding: 0 16px;
            margin: 0;
            height: auto;
        }

        .page_right {
            clear: both;
            float: left;
            width: 100%;
            padding: 0 16px;
            margin: 0;
            height: auto;
        }
    }

/*醫師照片==================================================================*/
.dr_div {
   /* 970px*/
    margin:50px auto;
    max-width :970px;
    padding :0;
}


.dr_img {
    width: 25%;
    float: left;
}

@media(max-width:768px) { /*1欄*/
    .dr_img {
        width: 350px;
        float: none;
        text-align: center;
        margin: 0 auto;
    }
}

@media(max-width:640px) { /*1欄*/
    .dr_img {
        width: 300px;
    }
}

@media(max-width:360px) { /*1欄*/
    .dr_img {
        width: 95%;
    }
}
/*照片大小*/
.dr_img img {
    width: 100%;
    max-width :220px;
   /* height:auto;*/
    max-height :280px;
}

@media(max-width:768px) {
    .dr_img img {
        width: 70%;
        margin: 0 auto;
    }
}

.dr_img h2 {
    display: block;
    text-align: center;
    font-size: 22px;
    font-family: "微軟正黑體", Microsoft JhengHei, "新細明體", PMingLiU, 'Open Sans', sans-serif, Helvetica, Arial;
    font-weight: bold;
}

@media(max-width:480px) {
    .dr_img h2 {
        display: block;
        text-align: center;
        font-size: 20px;
    }
}

.dr_img p {
    line-height: 2em;
    font-size: 16px;
    color:#f56b6b
}

@media(max-width:768px) {
    .dr_img p {
        font-size: 15px;
        line-height: 1.6em;
    }
}


.dr_content {
    width: 72%;
    float: left;
    margin-left: 3%;
}

@media(max-width:768px) {
    .dr_content {
        width: 100%;
        float: none;
        margin-left: 0;
        margin-top: 2em;
    }
}

#myfooter {
   /* position :relative ;*/
    clear: both;
    width: 100%;
    /* max-width :1440px;*/
    margin: 0 auto;
    height: 80px;
    text-align: center;
    color: #cecece;
    background-color: #515151;
}

        #myfooter a {
            color: #fff;
        }

        #myfooter p {
            padding: 20px;
        }
/*側線上預約-----------------------------------------------------------------------*/
.right_side_menu {
    position: fixed;
    top: 150px;
    right: 8px;
    display: inline-block;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 2px;
    font-size: 12px;
    z-index: 9999;
    text-align: center;
    background-color:rgb(255 255 255 / 0.90);
    border: 1px #f56b6b solid;
    width: 80px;
}
@media screen and (max-width: 1160px) {
    .right_side_menu {
        /* display :none;*/
        border-radius: 5px;
        top: 30%;
        right: 0px;
        width: 60px;
    }
}
@media screen and (max-width: 767px) {
    .right_side_menu {
        /* display :none;*/
        border-radius: 5px;
        top: 18%;
        right:0;
        width: 56px;
    }
}
/*側鈕不顯示*/
@media screen and (max-width:640px) {
    .right_side_menu {
         display :none;      
    }
}

.right_side_menu ul {
    list-style: none;
    list-style-type: none;
}
 /*   .right_side_menu ul li:first-child img  {
      width:80px
    }*/

    .right_side_menu ul li {
        display: block;
        padding: 5px 0;
        border-bottom: 1px #5b5757 dotted;
        padding: 10px 0;
    }
        .right_side_menu ul li a i {
            font-size: 22px;
            width: 40px;
            height: 40px;
            -moz-border-radius: 50%;
            -webkit-border-radius: 50%;
            border-radius: 50%;
         /*   background-color: #f56b6b;*/
            line-height: 40px;
            text-align: center;
            margin-bottom: 5px;
            color: #fff;
        }

        .right_side_menu ul li a i {
            background-color: #f56b6b;
        }      
        .right_side_menu ul li a span {
            line-height: 1.5em;
            display: block;
            color: #333;         
        }
        .right_side_menu ul li a:hover {
            text-decoration: none;          
        }
        .right_side_menu ul li:last-child {
            border: none;
        }
        .right_side_menu ul li a:hover i {
            background-color: #118dbc;
        }      
        .right_side_menu ul li a:hover i {
            -moz-transition: background 250ms;
            -o-transition: background 250ms;
            -webkit-transition: background 250ms;
        }

    /*toTop==============================================================================*/
#toTop {
    display: none;
    text-decoration: none;
    position: fixed;
    bottom: 80px;
    right: 6%;
    overflow: hidden;
    width: 48px;
    height: 48px;
    border: none;
    text-indent: 100%;
    background-image: url('../images/totop.png');
    z-index: 9999;
}

    .delay_1 {
        animation-delay: .25s;
    }

    .delay_2 {
        animation-delay: .5s;
    }

    .delay_3 {
        animation-delay: .75s;
    }

    .delay_4 {
        animation-delay: 1s;
    }

    .delay_5 {
        animation-delay: 1.5s;
    }

    .delay_6 {
        animation-delay: 1.75s;
    }

    .img-responsive, .img-fluid {
        width: 100%;
        height: auto;
    }


    /*表單-------------------------*/
    .form_x {
        color: rgb(102, 102, 102);
        width: 95%;
        margin: 0 auto;
    }
        /*表單的列-------------------------*/
        .form_x .form-group {
            width: 100%;
            overflow: hidden;
            display: block;
        }
        /*m表單的欄----------------------*/
        /* .form_x .form_title {
        width: 6rem;
        float: right;
        padding-top: 8px;
        padding-right: 0;     
    }*/

        .form_x .form_text {
            width: 100%;
            float: left;
            text-align: left;
            padding-left: 30px;
            border: none;
        }

        .form_x .form-control {
            border-top: 1px dashed #fff;
            border-right: 1px dashed #fff;
            border-bottom: 1px dashed #b2adad;
            border-left: 1px dashed #fff;
            border-radius: 0;
            box-shadow: none !important;
        }

    .checkno_pic {
        float: left;
        margin-right: 10px;
    }

    .checkno_input {
        float: left;
    }

    /*聯絡我們*/
    .buyps {
        width: 60%;
        margin: 0 auto;
        border: 1px dashed #82853b;
        border-radius: 10px;
        padding: 1em;
        background-color: #f7f7f7;
    }

    /*聯絡我們限字數提醒*/
    .reasonkeyin {
        font-size: 0.9em;
        background-color: #e0dede;
        padding: 5px;
        color: #515151;
        text-align: center;
        border-radius: 45px;
    }

        .reasonkeyin i {
            padding-right: 5px;
        }

/*團隊介紹*/
#page-rwd04 {
    padding:  0;
}

.rwd-content03 {
    text-align: center;
    background-color: #f2f0f0;
    overflow: hidden;
}
.content03-up i {
    font-size: 80px;
    color: #f56b6b;
}
    .rwd-content03 h1 {
        font-size: 34px;
        padding-bottom: 100px;
        font-weight: 600;
    }

.content03-in h2 {
    font-size: 22px;
    padding-top: 15px;
    padding-bottom: 22px;
    margin-bottom: 0px;
    color: #353535;
    margin-top: 0px;
}

.content03-in p {
    font-size: 14px;
    color: #9e9d9d;
    line-height: 26px;
    padding: 0px 50px;
}
/*.content03-up img {
    width: 70px;
}*/

@media screen and (min-width:1024px) {
    div.col-md-4.col-md-offset-1.content03-in {
        margin-left: 17%;
        padding-top: 70px;
    }

    div.col-md-4.col-md-offset-2.content03-in {
        margin-left: 0%;
        padding-top: 70px;
    }

    .content03-up {
        padding-bottom: 75px;
    }
}

@media screen and (max-width:768px) {
    .content03-in {
        padding-bottom: 65px;
    }

    .col-md-4.col-md-offset-1.content03-in.col-sm-6 {
        padding-bottom: 95px;
    }
}

@media screen and (max-width:600px) {
    .rwd-content03 h1 {
        font-size: 30px;
        padding-bottom: 40px;
        line-height: 40px;
        margin-top: 0px;
    }
    .content03-in p {
        display: none;
    }
    .content03-in h2 {
        font-size: 18px;
        letter-spacing: 2px;
        line-height: 26px;
    }
    .content03-in {
        padding-bottom: 28px;
    }
    .col-md-4.col-md-offset-1.content03-in.col-sm-6 {
        padding-bottom: 30px;
    }
    #page-rwd04 {
        padding-bottom: 70px;
    }
    .content03-in {
        padding-bottom: 0px;
    }
}
/*--------------團隊介紹---------------------*/
.int_about_box {
    clear: both;
    display: block;
    width: 100%;
    text-align: center;
}

.title_row3 {
    display: block;
    text-align: center;
    overflow: hidden;
    margin: 70px 0 50px 0;
}

.int_about_row {
    display: block;
    margin: 50px 0;
}

.int_about_left {
    float: left;
    width: 49%;
    margin-left: 1%;
}

.int_about_right {
    float: left;
    width: 49%;
    margin-right: 1%;
}

    .int_about_left img, .int_about_right img {
        width: 100%;
        height: auto;
    }

.int_about_text_1, .int_about_text_2 {
    text-align: left;
    margin-right: 3%;
    margin-bottom: 0.5em;
}

.int_about_text_2 {
    display: none;
}

.int_about_text_3 {
    text-align: left;
    margin-left: 3%;
}

    .int_about_text_1 h3 span, .int_about_text_2 h3 span, .int_about_text_3 h3 span {
        font-size: 30px;
        line-height: 1.5em;
    }

    .int_about_text_1 p, .int_about_text_2 p, .int_about_text_3 p {
        font-size: 16px;
        line-height: 1.8em;
        color: #666;
    }

@media(max-width:1280px) {
    .int_about_row {
        display: block;
        margin: 30px 0;
        overflow: hidden;
    }
}

@media(max-width:1160px) {
    .int_about_text_1 h3 span, .int_about_text_2 h3 span, .int_about_text_3 h3 span {
        font-size: 26px;
    }
}

@media(max-width:900px) {
    .int_about_left, .int_about_right {
        float: left;
        width: 48%;
        margin-left: 1%;
        margin-right: 1%;
    }

    .int_about_text_1 {
        display: none;
    }

    .int_about_text_2, .int_about_text_3 {
        display: block;
        margin: 0 2%;
    }
}

@media(max-width:640px) {
    .int_about_left, .int_about_right {
        float: none;
        width: 86%;
        margin: 0 7%;
    }

    .int_about_text_1 {
        display: none;
    }

    .int_about_text_2, .int_about_text_3 {
        display: block;
        margin: 0 0 2em 0;
    }
}

@media(max-width:480px) {
    .int_about_left, .int_about_right {
        float: none;
        width: 90%;
        margin: 0 5%;
    }

    .int_about_text_1 h3 span, .int_about_text_2 h3 span, .int_about_text_3 h3 span {
        font-size: 20px;
    }

    .int_about_text_1 p, .int_about_text_2 p, .int_about_text_3 p {
        font-size: 15px;
        line-height: 1.5em;
    }
}

@media(max-width:414px) {
    .int_about_left, .int_about_right {
        float: none;
        width: 96%;
        margin: 0 2%;
    }
}

